[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [emacs-wiki-discuss] Re: Planner trying to open links with web brows
From: |
John Sullivan |
Subject: |
Re: [emacs-wiki-discuss] Re: Planner trying to open links with web browser |
Date: |
Mon, 12 Apr 2004 08:18:07 -0400 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
Sacha Chua <address@hidden> writes:
> John Sullivan <address@hidden> writes:
>
>> The messages do still exist actually. In the same gnus folder they
>> were in when they were linked. Now, I did mark them with an * to
>> keep them in the article cache. Perhaps this is the problem. It
>> might explain why the more recent tasks work fine, because their
>> messages are not yet past the expiry date..
>
> Okay, I've taken a look at gnus-cache and gotten somewhat confused.
> I'm not sure if there's a way to refer to cached articles by their
> message ID. Please see if the following function works:
>
> (defun planner-gnus-browse-url (url)
> "If this is a Gnus URL, jump to it."
> (when (string-match "^gnus://\\(.+\\)/\\(.+\\)" url)
> (let ((group (match-string 1 url))
> (article (match-string 2 url)))
> (unless (and (fboundp 'gnus-alive-p)
> (gnus-alive-p))
> (gnus-unplugged))
> (switch-to-buffer "*Group*")
> (gnus-group-jump-to-group group)
> (gnus-group-select-group)
> (when (fboundp 'gnus-summary-insert-cached-articles)
> (gnus-summary-insert-cached-articles))
> (gnus-summary-goto-article article))))
>
> but it's a wild stab in the dark as I haven't set up a proper testing
> environment yet... <sheepish grin>
Using the above function, the links to the cached articles now work,
but the links to the uncached articls do not :) The problem is now the
reverse of what it was.
-John
pgpMn3HejLfix.pgp
Description: PGP signature
- [emacs-wiki-discuss] Planner trying to open links with web browser, John Sullivan, 2004/04/10
- Re: [emacs-wiki-discuss] Planner trying to open links with web browser, fouvry+emacs-wiki, 2004/04/11
- [emacs-wiki-discuss] Re: Planner trying to open links with web browser, Sacha Chua, 2004/04/11
- Re: [emacs-wiki-discuss] Planner trying to open links with web browser, John Sullivan, 2004/04/11
- [emacs-wiki-discuss] Re: Planner trying to open links with web browser, Sacha Chua, 2004/04/12
- Re: [emacs-wiki-discuss] Re: Planner trying to open links with web browser,
John Sullivan <=
- Re: [emacs-wiki-discuss] Re: Planner trying to open links with web browser, John Sullivan, 2004/04/13
- [emacs-wiki-discuss] Re: Planner trying to open links with web browser, Sacha Chua, 2004/04/14
- Re: [emacs-wiki-discuss] Re: Planner trying to open links with web browser, Jody Klymak, 2004/04/14
- Re: [emacs-wiki-discuss] Re: Planner trying to open links with web browser, Jody Klymak, 2004/04/14
- [emacs-wiki-discuss] Re: Planner trying to open links with web browser, Sacha Chua, 2004/04/14
- Re: [emacs-wiki-discuss] Re: Planner trying to open links with web browser, Jody Klymak, 2004/04/14
- [emacs-wiki-discuss] Planner - Tasks on hold, ephrem, 2004/04/14
- [emacs-wiki-discuss] Re: Planner - Tasks on hold, Sacha Chua, 2004/04/14
- [emacs-wiki-discuss] planner--dev--1.0--patch-31 bug w/ "P" status and planner-carry-tasks-forward, ephrem, 2004/04/16
- [emacs-wiki-discuss] emacs-wiki-index/planner-index, ephrem, 2004/04/16