From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Links in WoMan buffer should not call `man' Date: Tue, 05 Sep 2006 16:56:11 -0400 Message-ID: <8764g2xcb8.fsf@stupidchicken.com> References: <874pvy0wik.fsf@jurta.org> <87zmdhzusd.fsf@jurta.org> <878xkzz1i0.fsf@jurta.org> <87hcznvv8m.fsf@cs.cmu.edu> <87d5abvuzk.fsf@cs.cmu.edu> <878xkzvsrm.fsf@cs.cmu.edu> <874pvmx47i.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 1157489701 28680 80.91.229.2 (5 Sep 2006 20:55:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 5 Sep 2006 20:55:01 +0000 (UTC) Cc: Juri Linkov , rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 05 22:54:58 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 1GKhwQ-00047g-RE for ged-emacs-devel@m.gmane.org; Tue, 05 Sep 2006 22:54:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GKhwQ-0004gq-CP for ged-emacs-devel@m.gmane.org; Tue, 05 Sep 2006 16:54:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GKhwC-0004bY-23 for emacs-devel@gnu.org; Tue, 05 Sep 2006 16:54:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GKhwA-0004YU-Hw for emacs-devel@gnu.org; Tue, 05 Sep 2006 16:54:27 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GKhwA-0004Xv-4o for emacs-devel@gnu.org; Tue, 05 Sep 2006 16:54:26 -0400 Original-Received: from [18.19.1.138] (helo=cyd) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GKhw9-0002YX-9p; Tue, 05 Sep 2006 16:54:25 -0400 Original-Received: by cyd (Postfix, from userid 1000) id 829894E2FE; Tue, 5 Sep 2006 16:56:11 -0400 (EDT) Original-To: Michael Welsh Duggan In-Reply-To: <874pvmx47i.fsf@cs.cmu.edu> (Michael Welsh Duggan's message of "Tue\, 05 Sep 2006 01\:38\:57 -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:59391 Archived-At: Michael Welsh Duggan writes: >> 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? > > More data: The *Message* buffer at dump time has a case_canon_table > with three extra slots, all nil. This patch removes the bug, and is probably the correct thing to do. Any objections to my installing it? *** emacs/src/regex.c.~1.211.~ 2006-02-21 14:36:47.000000000 -0500 --- emacs/src/regex.c 2006-09-05 16:53:54.000000000 -0400 *************** *** 2162,2168 **** Lisp_Object eqv_table; ! if (!RE_TRANSLATE_P (translate)) { EXTEND_RANGE_TABLE (work_area, 2); work_area->table[work_area->used++] = (start); --- 2162,2170 ---- Lisp_Object eqv_table; ! if (!RE_TRANSLATE_P (translate) ! || (eqv_table = XCHAR_TABLE (translate)->extras[2], ! NILP (eqv_table))) { EXTEND_RANGE_TABLE (work_area, 2); work_area->table[work_area->used++] = (start); *************** *** 2170,2177 **** return -1; } - eqv_table = XCHAR_TABLE (translate)->extras[2]; - for (; start <= end; start++) { enum case_type this_type; --- 2172,2177 ----