From: Michael Welsh Duggan <md5i@cs.cmu.edu>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: Links in WoMan buffer should not call `man'
Date: Mon, 04 Sep 2006 23:38:01 -0400 [thread overview]
Message-ID: <87hcznvv8m.fsf@cs.cmu.edu> (raw)
In-Reply-To: <878xkzz1i0.fsf@jurta.org> (Juri Linkov's message of "Tue, 05 Sep 2006 01:54:36 +0300")
Juri Linkov <juri@jurta.org> 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
(md5i@cs.cmu.edu)
next prev parent reply other threads:[~2006-09-05 3:38 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-25 19:52 Links in WoMan buffer should not call `man' Reiner Steib
2006-08-25 22:14 ` Chong Yidong
2006-08-26 11:36 ` Reiner Steib
2006-08-28 15:42 ` Chong Yidong
2006-08-27 20:12 ` Juri Linkov
2006-08-27 22:28 ` Eli Zaretskii
2006-08-28 22:09 ` Richard Stallman
2006-08-30 10:45 ` Eli Zaretskii
2006-08-30 22:48 ` Juri Linkov
2006-09-02 23:57 ` Juri Linkov
2006-09-04 9:50 ` Richard Stallman
2006-09-04 22:54 ` Juri Linkov
2006-09-05 3:38 ` Michael Welsh Duggan [this message]
2006-09-05 3:43 ` Michael Welsh Duggan
2006-09-05 4:31 ` Michael Welsh Duggan
2006-09-05 5:38 ` Michael Welsh Duggan
2006-09-05 20:56 ` Chong Yidong
2006-09-06 19:06 ` Richard Stallman
2006-09-07 21:15 ` Richard Stallman
2006-09-06 8:49 ` Richard Stallman
2006-09-06 8:49 ` Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87hcznvv8m.fsf@cs.cmu.edu \
--to=md5i@cs.cmu.edu \
--cc=emacs-devel@gnu.org \
--cc=rms@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.