From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Welsh Duggan Newsgroups: gmane.emacs.devel Subject: Re: Links in WoMan buffer should not call `man' Date: Tue, 05 Sep 2006 00:31:25 -0400 Message-ID: <878xkzvsrm.fsf@cs.cmu.edu> References: <874pvy0wik.fsf@jurta.org> <87zmdhzusd.fsf@jurta.org> <878xkzz1i0.fsf@jurta.org> <87hcznvv8m.fsf@cs.cmu.edu> <87d5abvuzk.fsf@cs.cmu.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1157430701 20742 80.91.229.2 (5 Sep 2006 04:31:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 5 Sep 2006 04:31:41 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 05 06:31:40 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GKSb1-0006wc-TM for ged-emacs-devel@m.gmane.org; Tue, 05 Sep 2006 06:31:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GKSb1-0007K8-9h for ged-emacs-devel@m.gmane.org; Tue, 05 Sep 2006 00:31:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GKSar-0007J2-1e for emacs-devel@gnu.org; Tue, 05 Sep 2006 00:31:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GKSao-0007Eu-Qb for emacs-devel@gnu.org; Tue, 05 Sep 2006 00:31:23 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GKSao-0007EM-Im for emacs-devel@gnu.org; Tue, 05 Sep 2006 00:31:22 -0400 Original-Received: from [199.232.41.67] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GKSlT-0007UU-AT; Tue, 05 Sep 2006 00:42:23 -0400 Original-Received: from [205.201.10.244] (helo=maru) by mx20.gnu.org with esmtp (Exim 4.52) id 1GKSan-0006sk-57; Tue, 05 Sep 2006 00:31:21 -0400 Original-Received: from md5i by maru with local (Exim 4.63) (envelope-from ) id 1GKSas-0007Kv-Rx; Tue, 05 Sep 2006 00:31:26 -0400 Original-To: Juri Linkov In-Reply-To: <87d5abvuzk.fsf@cs.cmu.edu> (Michael Welsh Duggan's message of "Mon, 04 Sep 2006 23:43:27 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:59348 Archived-At: Michael Welsh Duggan writes: > Michael Welsh Duggan writes: > >> Juri Linkov 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. > > I take my original statement back. The character I removed was not a > hyphen as I expected, but rather a soft-hyphen (U+00AD). On the other > hand, the fact that removing this character fixed the problem might > narrow down the problem a bit more. I will now look into this a bit > more deeply. Some time later, I am realizing that string_match_1 is using current_buffer's case table. Since the string being matched against might have nothing to do with the current buffer, this seems incorrect. Is this a red herring? -- Michael Welsh Duggan (md5i@cs.cmu.edu)