GNU bug report logs - #5686
M-x man thinks the "/O" of "I/O" is a clickable file path

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Fri, 5 Mar 2010 19:23:02 UTC

Severity: normal

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

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 5686 in the body.
You can then email your comments to 5686 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 owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5686; Package emacs. (Fri, 05 Mar 2010 19:23:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to jidanni <at> jidanni.org:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 05 Mar 2010 19:23:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: jidanni <at> jidanni.org
To: bug-gnu-emacs <at> gnu.org
Subject: M-x man thinks the "/O" of "I/O" is a clickable file path
Date: Sat, 06 Mar 2010 03:11:00 +0800
M-x man thinks the "/O" of "I/O" is a clickable file path.
$ man mount|grep I/O|sed q
       async  All I/O to the filesystem should be done asynchronously.
C-u C-x = shows
 There are text properties here:
   Man-target-string    "/O"
   button               (t)
   category             Man-xref-normal-file-button

Anyways relative file paths like bla/zla usually aren't useful either
for clicking on on a man page, so perhaps adjust the regexp involved to
not assume that they are to be made clickable.

In emacs -Q -nw the /O of I/O glows blue, so it is much more noticeable
than the underlined form seen in X windows. I wouldn't have noticed if I
didn't use emacs -nw. emacs-version "23.1.93.1".





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5686; Package emacs. (Fri, 05 Mar 2010 20:21:02 GMT) Full text and rfc822 format available.

Message #8 received at 5686 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: jidanni <at> jidanni.org
Cc: 5686 <at> debbugs.gnu.org
Subject: Re: bug#5686: M-x man thinks the "/O" of "I/O" is a clickable file
	path
Date: Fri, 05 Mar 2010 15:20:00 -0500
> M-x man thinks the "/O" of "I/O" is a clickable file path.

Thanks.  I've just installed the patch below which should fix it.


        Stefan


--- lisp/man.el	2010-02-16 14:35:45 +0000
+++ lisp/man.el	2010-03-05 20:15:07 +0000
@@ -283,7 +283,7 @@
   "Regular expression for SYNOPSIS heading (or your equivalent).
 This regexp should not start with a `^' character.")
 
-(defvar Man-files-regexp "FILES"
+(defvar Man-files-regexp "FILES\\>"
   "Regular expression for FILES heading (or your equivalent).
 This regexp should not start with a `^' character.")
 





Reply sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
You have taken responsibility. (Sat, 06 Mar 2010 01:27:03 GMT) Full text and rfc822 format available.

Notification sent to jidanni <at> jidanni.org:
bug acknowledged by developer. (Sat, 06 Mar 2010 01:27:03 GMT) Full text and rfc822 format available.

Message #13 received at 5686-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: jidanni <at> jidanni.org
Subject: Re: bug#5686: M-x man thinks the "/O" of "I/O" is a clickable file
	path
Date: Fri, 05 Mar 2010 20:20:17 -0500
>> M-x man thinks the "/O" of "I/O" is a clickable file path.
> Thanks.  I've just installed the patch below which should fix it.

Forgot to close it, sorry,


        Stefan




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 03 Apr 2010 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 81 days ago.

Previous Next


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