GNU bug report logs - #898
ffap -> emacs-w3m dropping of #anchor

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Fri, 5 Sep 2008 22:10:05 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 898 in the body.
You can then email your comments to 898 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#898; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to jidanni <at> jidanni.org:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: jidanni <at> jidanni.org
To: bug-gnu-emacs <at> gnu.org
Cc: emacs-w3m <at> namazu.org
Subject: Re: ffap -> emacs-w3m dropping of #anchor
Date: Sat, 06 Sep 2008 06:00:01 +0800
>>>>> "KY" == Katsumi Yamaoka <yamaoka <at> jpl.org> writes:

>>>>> In [emacs-w3m : No.10333] jidanni <at> jidanni.org wrote:
>> If I do C-x C-f  http://catless.ncl.ac.uk/Risks/25.29.html#subj13.1
>> I end up at just http://catless.ncl.ac.uk/Risks/25.29.html
>> If I do G or U   http://catless.ncl.ac.uk/Risks/25.29.html#subj13.1
>> I indeed get to that anchor.
>> C-x C-f runs the command find-file-at-point, the rest of my
>> customization is in http://jidanni.org/comp/configuration/

KY> I don't know why `find-file-at-point' strips the #name portion
KY> but it is done in the function `ffap-fixup-url'.  A workaround:

KY> (defadvice ffap-fixup-url (around dont-use-url-normalize-url activate)
KY>   "Don't use `url-normalize-url'."
KY>   (if (fboundp 'url-normalize-url)
KY>       (let ((unu (symbol-function 'url-normalize-url)))
KY> 	(fmakunbound 'url-normalize-url)
KY> 	(unwind-protect
KY> 	    ad-do-it
KY> 	  (fset 'url-normalize-url unu)))
KY>     ad-do-it))

I'll send this to bug-gnu-emacs. They'll fix ffap at the root of the
problem, instead of needing defadvice workarounds.





Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to jidanni <at> jidanni.org:
bug acknowledged by developer. Full text and rfc822 format available.

Message #10 received at 898-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 898-done <at> debbugs.gnu.org
Subject: Re: ffap -> emacs-w3m dropping of #anchor
Date: Thu, 25 Sep 2008 03:46:02 -0400
2008-09-25  Glenn Morris  <rgm <at> gnu.org>

    * ffap.el (ffap-fixup-url): Don't call url-normalize-url.  (Bug#898)




bug archived. Request was from Debbugs Internal Request <don <at> donarmstrong.com> to internal_control <at> emacsbugs.donarmstrong.com. (Thu, 23 Oct 2008 14:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 243 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.