[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: |
Thu, 15 Apr 2004 12:00:11 +0800 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) |
John Sullivan <address@hidden> writes:
> I did reproduce it with the latest dev sources and emacs -q
> --no-site-file. With only emacs-wiki.el, planner-el and
> planner-gnus.el loaded, it behaved the same way.
I'm so so sorry about this stubborn bug... <sheepish grin>
Could you try this planner-gnus-browse-url? It cheats a little bit,
but it might behave now.
(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)))
(gnus-fetch-group group)
(or (gnus-summary-goto-article article)
(when (fboundp 'gnus-summary-insert-cached-articles)
(gnus-summary-insert-cached-articles)
(gnus-summary-goto-article article))
(message "Message could not be found."))
t)))
> Interesting note though---at first, I forgot to load planner-gnus. It
> did not try to browse-url in that case. It just opened a new buffer
> with the name being the id of the linked message.
That's because gnus:// URLs weren't added to the regexp. After loading
planner-gnus, you have to close and reopen the plan page. Sorry!
--
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] Re: Planner trying to open links with web browser, (continued)
- [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
- [emacs-wiki-discuss] Re: emacs-wiki-index/planner-index, Sacha Chua, 2004/04/17
- [emacs-wiki-discuss] Re: planner--dev--1.0--patch-31 bug w/ "P" status and planner-carry-tasks-forward, Sacha Chua, 2004/04/17
- Re: [emacs-wiki-discuss] Re: Planner trying to open links with web browser, John Sullivan, 2004/04/14
- Re: [emacs-wiki-discuss] Re: Planner trying to open links with web browser, John Sullivan, 2004/04/14
- [emacs-wiki-discuss] Re: Planner trying to open links with web browser,
Sacha Chua <=
- [emacs-wiki-discuss] Striped Tables (from Ephrem), Sandra Jean Chua, 2004/04/15