[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[emacs-wiki-discuss] Re: Planner trying to open links with web browser
From: |
Sacha Chua |
Subject: |
[emacs-wiki-discuss] Re: Planner trying to open links with web browser |
Date: |
Mon, 12 Apr 2004 14:12:13 +0800 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) |
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>
--
Sacha Chua <address@hidden> - Ateneo CS faculty geekette
interests: emacs, gnu/linux, making computer science education fun
http://sacha.free.net.ph/ - PGP Key ID: 0xE7FDF77C
- [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 <=
- Re: [emacs-wiki-discuss] Re: Planner trying to open links with web browser, John Sullivan, 2004/04/12
- 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