[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[emacs-wiki-discuss] Re: muse-visit-link-default bugs + fixes
From: |
Michael Olson |
Subject: |
[emacs-wiki-discuss] Re: muse-visit-link-default bugs + fixes |
Date: |
Wed, 30 Nov 2005 20:35:09 -0500 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jim Ottaway <address@hidden> writes:
> I have found two more bugs in muse-visit-link-default, one the
> result of an earlier change that I suggested.
>
> The first is that an anchor with no link doesn't work correctly. I
> have made it so that the current page is taken for the link if one has
> a link such as '#link'. I am not completely certain of the
> correctness of this: can it be assumed that muse-visit-link is only
> called from a muse page?
It's a safe enough assumption. The bug should now be fixed. Thanks
for the patch!
> The second is that finding the buffer on the basis of the page name
> doesn't work: if one has a non-muse buffer with the same name as the
> link, that buffer would be chosen, even if there is a buffer that
> contains the page [that has, for example, been renamed uniquely to
> something like 'test<notes>']. So, I have made it so that the buffer
> list is searched for muse-mode and for the page name.
That's a feature :^) . Someone wanted the ability to visit links to
temporary buffers as the result of a migration script.
2005-12-01 01:32:29 GMT Michael Olson <address@hidden> patch-282
Summary:
muse-mode: Handle case where we visit an anchor-only link.
Revision:
muse--main--1.0--patch-282
* lisp/muse-mode.el (muse-visit-link-default): Handle case where the link
consists of only an anchor. Thanks to Jim Ottaway for the patch.
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDjlNP+1Ho2POo0xkRAqC/AJ4tdbzsnoQzPRdhfIe7ao0v4z/TaACfZAJt
kYj33l8/9PcFOtrvVtSZjN0=
=FXvm
-----END PGP SIGNATURE-----