all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#5686: M-x man thinks the "/O" of "I/O" is a clickable file path
       [not found] <iq9awsi0.fsf@jidanni2.jidanni.org>
@ 2010-03-05 19:11 ` jidanni
  2010-03-05 20:20   ` Stefan Monnier
  0 siblings, 1 reply; 3+ messages in thread
From: jidanni @ 2010-03-05 19:11 UTC (permalink / raw
  To: 5686

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".







^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#5686: M-x man thinks the "/O" of "I/O" is a clickable file path
  2010-03-05 19:11 ` bug#5686: M-x man thinks the "/O" of "I/O" is a clickable file path jidanni
@ 2010-03-05 20:20   ` Stefan Monnier
  2010-03-06  1:20     ` Stefan Monnier
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Monnier @ 2010-03-05 20:20 UTC (permalink / raw
  To: jidanni; +Cc: 5686

> 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.")
 







^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#5686: M-x man thinks the "/O" of "I/O" is a clickable file path
  2010-03-05 20:20   ` Stefan Monnier
@ 2010-03-06  1:20     ` Stefan Monnier
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2010-03-06  1:20 UTC (permalink / raw
  To: jidanni

>> 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






^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-03-06  1:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <iq9awsi0.fsf@jidanni2.jidanni.org>
2010-03-05 19:11 ` bug#5686: M-x man thinks the "/O" of "I/O" is a clickable file path jidanni
2010-03-05 20:20   ` Stefan Monnier
2010-03-06  1:20     ` Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.