[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Links in WoMan buffer should not call `man'
From: |
Michael Welsh Duggan |
Subject: |
Re: Links in WoMan buffer should not call `man' |
Date: |
Mon, 04 Sep 2006 23:38:01 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Juri Linkov <address@hidden> writes:
>> the last command typed in the woman's dedicated frame fails with the
>> error
>> signalled by string-match:
>>
>> Man-translate-references: Wrong type argument: arrayp, nil
>>
>> How about debugging it? This sounds like something straightforward
>> to debug.
>
> I narrowed it to the simplest case. This error occurs only when `M-x man'
> is executed in the *Messages* buffer. (The shortest key sequence to
> reproduce it: `C-h e M-x man RET man RET')
I don't know what the correct fix for the underlying problem is (i.e.,
the fact that this doesn't error out in other contexts), but the
problem can be solved by fixing the Man-name-regexp, which is currenly
invalid. The following is a patch for that.
Index: man.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/man.el,v
retrieving revision 1.164
diff -u -p -r1.164 man.el
--- man.el 2 Sep 2006 23:28:55 -0000 1.164
+++ man.el 5 Sep 2006 03:37:31 -0000
@@ -259,7 +259,7 @@ the associated section number."
(defvar Man-cooked-hook nil
"Hook run after removing backspaces but before `Man-mode' processing.")
-(defvar Man-name-regexp "[-a-zA-Z0-9_+][-a-zA-Z0-9_.:+]*"
+(defvar Man-name-regexp "[-a-zA-Z0-9_+][-a-zA-Z0-9_.:+]*"
"Regular expression describing the name of a manpage (without section).")
(defvar Man-section-regexp "[0-9][a-zA-Z0-9+]*\\|[LNln]"
--
Michael Welsh Duggan
(address@hidden)
- Re: Links in WoMan buffer should not call `man', Juri Linkov, 2006/09/02
- Re: Links in WoMan buffer should not call `man', Richard Stallman, 2006/09/04
- Re: Links in WoMan buffer should not call `man', Juri Linkov, 2006/09/04
- Re: Links in WoMan buffer should not call `man',
Michael Welsh Duggan <=
- Re: Links in WoMan buffer should not call `man', Michael Welsh Duggan, 2006/09/04
- Re: Links in WoMan buffer should not call `man', Michael Welsh Duggan, 2006/09/05
- Re: Links in WoMan buffer should not call `man', Michael Welsh Duggan, 2006/09/05
- Re: Links in WoMan buffer should not call `man', Chong Yidong, 2006/09/05
- Re: Links in WoMan buffer should not call `man', Richard Stallman, 2006/09/06
- Re: Links in WoMan buffer should not call `man', Richard Stallman, 2006/09/07
- Re: Links in WoMan buffer should not call `man', Richard Stallman, 2006/09/06
- Re: Links in WoMan buffer should not call `man', Richard Stallman, 2006/09/06