[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[emacs-wiki-discuss] Re: muse: possible bug visiting urls with anchors
From: |
Michael Olson |
Subject: |
[emacs-wiki-discuss] Re: muse: possible bug visiting urls with anchors |
Date: |
Mon, 21 Nov 2005 16:44:08 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Jim Ottaway <address@hidden> writes:
> I spotted this when using the `pos' url which uses a '#' character
> to separate the file-name and the file position, but it applies to
> any url that may use such an anchor.
>
> It looks to me that such urls will never be visited correctly: the
> link and anchor are split by muse-visit-link before they are used by
> muse-visit-link-default, so muse-browse-url will never get the full
> url.
Thanks for the patch!
2005-11-21 21:11:14 GMT Michael Olson <address@hidden> patch-278
Summary:
Don't split anchors in URLs.
Revision:
muse--main--1.0--patch-278
* lisp/muse-mode.el (muse-visit-link-default): Install patch from Jim
Ottaway. Remove ANCHOR parameter. Compute the anchor ourselves. Make
sure that we handle URLs before trying to split the anchor.
(muse-visit-link): Don't compute the anchor. Let the callee do that.
modified files:
ChangeLog lisp/muse-mode.el
--
Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/
Interests: manga, Debian, XHTML, wiki, Emacs Lisp
/` |\ | | | IRC: mwolson on freenode.net: #hcoop, #muse, #PurdueLUG
|_] | \| |_| Jabber: mwolson_at_hcoop.net