From unknown Mon Jun 23 04:08:22 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#7650 <7650@debbugs.gnu.org> To: bug#7650 <7650@debbugs.gnu.org> Subject: Status: Subject: 23.2; [PATCH] re-builder.el: "Case sensitive" menu won't be updated properly. Reply-To: bug#7650 <7650@debbugs.gnu.org> Date: Mon, 23 Jun 2025 11:08:22 +0000 retitle 7650 Subject: 23.2; [PATCH] re-builder.el: "Case sensitive" menu wo= n't be updated properly. reassign 7650 emacs submitter 7650 Keitaro Miyazaki severity 7650 normal tag 7650 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 16 00:05:51 2010 Received: (at submit) by debbugs.gnu.org; 16 Dec 2010 05:05:51 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PT62I-0005Nz-Ti for submit@debbugs.gnu.org; Thu, 16 Dec 2010 00:05:51 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PT62H-0005No-8U for submit@debbugs.gnu.org; Thu, 16 Dec 2010 00:05:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PT68M-000150-5M for submit@debbugs.gnu.org; Thu, 16 Dec 2010 00:12:07 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:32941) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PT68M-00014w-2n for submit@debbugs.gnu.org; Thu, 16 Dec 2010 00:12:06 -0500 Received: from [140.186.70.92] (port=50667 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PT68K-00026t-W1 for bug-gnu-emacs@gnu.org; Thu, 16 Dec 2010 00:12:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PT68J-00014a-TE for bug-gnu-emacs@gnu.org; Thu, 16 Dec 2010 00:12:04 -0500 Received: from mail-iw0-f169.google.com ([209.85.214.169]:44252) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PT68J-00014Q-NO for bug-gnu-emacs@gnu.org; Thu, 16 Dec 2010 00:12:03 -0500 Received: by iwn40 with SMTP id 40so3198078iwn.0 for ; Wed, 15 Dec 2010 21:12:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=54xeH+Lj+n+k9nwB+mf1D3PjzGLGMXwsExNcV3zbf4Q=; b=tHCoTEns/yzSaZbIS+3E0tXG6dunhkXfvJvwUzWTf1fN1/2t0VBl7YP/fAvtAzduKK KxIH61iDrkLoeVIO3bJcMXPddmdxmgU0hvoiW70gzzEP08ueUnhKrts27gcjTmFzi/k4 P1kjK0x0LNnMJVcrn/ctAfQpZqZ+KDyQj4nX4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=fsvuMHktE+znp0YARGFaTPSiD/YCJh6Pa9eddcVWqbjQxqj1CgZA1t1kt/LO4a4I0z oHsrOdS/q1kLs0W5Ym7fhiIXlecMSxX6Mq4nRxkmPxJd3NLTfc4Mw/lb35ESDEk23WkC FX/gUf+B6OVUn2TPnlMyOc5azHb3jga5CSsos= MIME-Version: 1.0 Received: by 10.231.31.67 with SMTP id x3mr5817890ibc.11.1292476321647; Wed, 15 Dec 2010 21:12:01 -0800 (PST) Received: by 10.231.172.199 with HTTP; Wed, 15 Dec 2010 21:12:01 -0800 (PST) Date: Thu, 16 Dec 2010 14:12:01 +0900 Message-ID: Subject: Subject: 23.2; [PATCH] re-builder.el: "Case sensitive" menu won't be updated properly. From: Keitaro Miyazaki To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Spam-Score: -4.7 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.8 (----) I found that the check mark of a menu item "Case sensiteve" of "Re-Builder" menu won't be updated properly, even if I choose that menu. This patch may fix this problem. --- lisp/emacs-lisp/re-builder.el.orig 2010-04-04 07:26:09.000000000 +0900 +++ lisp/emacs-lisp/re-builder.el 2010-12-16 13:22:52.000000000 +0900 @@ -247,7 +247,7 @@ Except for Lisp syntax this is the same :help "Quit the RE Builder mode")) (define-key menu-map [rt] '(menu-item "Case sensitive" reb-toggle-case - :button (:toggle . case-fold-search) + :button (:toggle . (with-current-buffer reb-target-buffer case-fold-search)) :help "Toggle case sensitivity of searches for RE Builder target buffer")) (define-key menu-map [rb] '(menu-item "Change target buffer..." reb-change-target-buffer Best regards, In GNU Emacs 23.2.1 (x86_64-apple-darwin10.5.0, NS apple-appkit-1038.35) of 2010-11-29 on mac Windowing system distributor `Apple', version 10.3.1038 configured using `configure '--with-ns'' Important settings: value of $LC_ALL: ja_JP.UTF-8 value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ja_JP.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: RE Builder Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x r e - b u M-x r e o p p o r t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. 200 matches (limit reached) [3 times] Making completion list... Load-path shadows: None found. Features: (shadow sort mail-extr message ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils emacsbug help-mode view re-builder japan-util tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win easymenu tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process ns multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 21 21:56:26 2011 Received: (at 7650) by debbugs.gnu.org; 22 Jan 2011 02:56:26 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PgTeL-0002GI-Gp for submit@debbugs.gnu.org; Fri, 21 Jan 2011 21:56:25 -0500 Received: from vm-emlprdomr-05.its.yale.edu ([130.132.50.146]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PgTeJ-0002G7-HS for 7650@debbugs.gnu.org; Fri, 21 Jan 2011 21:56:23 -0500 Received: from furball (dhcp128036014126.central.yale.edu [128.36.14.126]) (authenticated bits=0) by vm-emlprdomr-05.its.yale.edu (8.14.4/8.14.4) with ESMTP id p0M34Idh002071 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 21 Jan 2011 22:04:18 -0500 Received: by furball (Postfix, from userid 1000) id CC317160DD3; Fri, 21 Jan 2011 22:04:17 -0500 (EST) From: Chong Yidong To: Keitaro Miyazaki Subject: Re: bug#7650: Subject: 23.2; [PATCH] re-builder.el: "Case sensitive" menu won't be updated properly. References: Date: Fri, 21 Jan 2011 22:04:17 -0500 In-Reply-To: (Keitaro Miyazaki's message of "Thu, 16 Dec 2010 14:12:01 +0900") Message-ID: <87mxmtbpvy.fsf@stupidchicken.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.71 on 130.132.50.146 X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 7650 Cc: 7650@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) Keitaro Miyazaki writes: > I found that the check mark of a menu item "Case sensiteve" > of "Re-Builder" menu won't be updated properly, even if > I choose that menu. > > This patch may fix this problem. Thanks, but I could not reproduce the bug. Could you provide an exact step-by-step recipe that demonstrates the problem? From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 22 03:31:54 2011 Received: (at 7650) by debbugs.gnu.org; 22 Jan 2011 08:31:55 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PgYt0-0000vy-8f for submit@debbugs.gnu.org; Sat, 22 Jan 2011 03:31:54 -0500 Received: from mail-ey0-f172.google.com ([209.85.215.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PgYsy-0000vh-0O for 7650@debbugs.gnu.org; Sat, 22 Jan 2011 03:31:52 -0500 Received: by eyd10 with SMTP id 10so1409914eyd.3 for <7650@debbugs.gnu.org>; Sat, 22 Jan 2011 00:39:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=J2F1WoEpvzUjx7O5LOrbk5azWXN1yUfS+viHImNgSxg=; b=HNSBXy5Rr3jnAxs3orbGL1k9YXSEvV/nGuUz69HpjDMGSDSaGHcwoz6rz/lbnBthRL o8u7MnAtWSssFQ47t/Q3uk7aMWTgfx9CDaqh4CTJJQtycYf3/0Zcb2eAy02++m/S70ot MEVQIg0Y2CInTBsoiQDJDocmNRQUmSM02mm4E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=r65oxL70xCq3eJ3ieb3ILlB4ZHmUm8VytF1el6vIdk5RkkOsGszvciiE8AbNCuKc+6 87gbSGwbrzfXPy3fdpR+/xr3/XukApWE/PhN4CyKvUG/3qmqjj9lZHrYLdHF7KCh+W7v LSEbj6f/snt9VL8rNL4ZtJ4ZOsEJ2sPB8vXdw= Received: by 10.213.108.210 with SMTP id g18mr1071854ebp.97.1295685587465; Sat, 22 Jan 2011 00:39:47 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.20.148 with HTTP; Sat, 22 Jan 2011 00:39:26 -0800 (PST) In-Reply-To: <87mxmtbpvy.fsf@stupidchicken.com> References: <87mxmtbpvy.fsf@stupidchicken.com> From: Lennart Borgman Date: Sat, 22 Jan 2011 09:39:26 +0100 Message-ID: Subject: Re: bug#7650: Subject: 23.2; [PATCH] re-builder.el: "Case sensitive" menu won't be updated properly. To: Chong Yidong Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 7650 Cc: 7650@debbugs.gnu.org, Keitaro Miyazaki X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) On Sat, Jan 22, 2011 at 4:04 AM, Chong Yidong wrote= : > Keitaro Miyazaki writes: > >> I found that the check mark of a menu item "Case sensiteve" >> of "Re-Builder" menu won't be updated properly, even if >> I choose that menu. >> >> This patch may fix this problem. > > Thanks, but I could not reproduce the bug. =C2=A0Could you provide an exa= ct > step-by-step recipe that demonstrates the problem? I might be worth do know that I have a heavily rewritten re-builder (with better integration with isearch and rx). I have not had time to finish all details, but I hope I can do that really soon. From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 22 15:45:30 2011 Received: (at 7650) by debbugs.gnu.org; 22 Jan 2011 20:45:30 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PgkKv-0004aV-BK for submit@debbugs.gnu.org; Sat, 22 Jan 2011 15:45:30 -0500 Received: from vm-emlprdomr-04.its.yale.edu ([130.132.50.145]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PgkKt-0004aJ-Ab for 7650@debbugs.gnu.org; Sat, 22 Jan 2011 15:45:27 -0500 Received: from furball (c-71-192-165-84.hsd1.ct.comcast.net [71.192.165.84]) (authenticated bits=0) by vm-emlprdomr-04.its.yale.edu (8.14.4/8.14.4) with ESMTP id p0MKrO2G016146 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 22 Jan 2011 15:53:24 -0500 Received: by furball (Postfix, from userid 1000) id 78C5E1611FB; Sat, 22 Jan 2011 15:53:23 -0500 (EST) From: Chong Yidong To: Keitaro Miyazaki Subject: Re: bug#7650: Subject: 23.2; [PATCH] re-builder.el: "Case sensitive" menu won't be updated properly. References: <87mxmtbpvy.fsf@stupidchicken.com> Date: Sat, 22 Jan 2011 15:53:23 -0500 In-Reply-To: (Keitaro Miyazaki's message of "Sat, 22 Jan 2011 21:03:27 +0900") Message-ID: <87d3noy81o.fsf@stupidchicken.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.71 on 130.132.50.145 X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 7650 Cc: 7650@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) Keitaro Miyazaki writes: >> Thanks, but I could not reproduce the bug. Could you provide an exact >> step-by-step recipe that demonstrates the problem? > > Below is the procedure to reproduce the problem: Thanks, now I see it. I've commited your patch. From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 22 15:45:41 2011 Received: (at control) by debbugs.gnu.org; 22 Jan 2011 20:45:41 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PgkL6-0004aq-Cx for submit@debbugs.gnu.org; Sat, 22 Jan 2011 15:45:40 -0500 Received: from vm-emlprdomr-06.its.yale.edu ([130.132.50.147]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PgkL5-0004ag-0r for control@debbugs.gnu.org; Sat, 22 Jan 2011 15:45:39 -0500 Received: from furball (c-71-192-165-84.hsd1.ct.comcast.net [71.192.165.84]) (authenticated bits=0) by vm-emlprdomr-06.its.yale.edu (8.14.4/8.14.4) with ESMTP id p0MKrZfp030878 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 22 Jan 2011 15:53:36 -0500 Received: by furball (Postfix, from userid 1000) id 1CA581611FB; Sat, 22 Jan 2011 15:53:35 -0500 (EST) From: Chong Yidong To: control@debbugs.gnu.org Subject: close 7650 Date: Sat, 22 Jan 2011 15:53:34 -0500 Message-ID: <87k4hwpsmp.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.71 on 130.132.50.147 X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) close 7650 thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 23 02:00:26 2011 Received: (at 7650) by debbugs.gnu.org; 23 Jan 2011 07:00:27 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pgtw2-0003RL-0K for submit@debbugs.gnu.org; Sun, 23 Jan 2011 02:00:26 -0500 Received: from mail-iy0-f172.google.com ([209.85.210.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pgtvz-0003R7-BB for 7650@debbugs.gnu.org; Sun, 23 Jan 2011 02:00:24 -0500 Received: by iyi42 with SMTP id 42so3149584iyi.3 for <7650@debbugs.gnu.org>; Sat, 22 Jan 2011 23:08:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=5seJZ6lB/owAuYg74W5OUmVmFfHxFcOyO0jAxtCm4HA=; b=hN5DWR1Y8qp9Eoqv+cL7RcxsrtH3JRReucWmYZCtVfApDyrDrG6Kx0sh2CjFLypGes tcG1N9fW2u1sStUqwLv5cZnNjExk0ScOsFDFbt6Z833zG9BAbdg4K8U06R1PPxEEiUC8 CEMVPgyElJ2UaItwPzq+5XgjG1x5dpeG3bkP4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=kwiDa0HmvAn9xiqx1oeMGxALe+5YxxqsL1XXPELrtKJHqpOhfLdCQZMBsm2gXeJcZz +PpBjgtm9+AELCVhm8tpG07dDNrGy6NeeiAUjIRYbsNQ9DRKG+9rUIEEdoJPz5wGVpPt gUEGEsnyacGyvx1mqxgyoVnKV0N5JVXPC1weI= MIME-Version: 1.0 Received: by 10.231.30.70 with SMTP id t6mr3061193ibc.165.1295766501440; Sat, 22 Jan 2011 23:08:21 -0800 (PST) Received: by 10.231.160.211 with HTTP; Sat, 22 Jan 2011 23:08:21 -0800 (PST) In-Reply-To: <87d3noy81o.fsf@stupidchicken.com> References: <87mxmtbpvy.fsf@stupidchicken.com> <87d3noy81o.fsf@stupidchicken.com> Date: Sun, 23 Jan 2011 16:08:21 +0900 Message-ID: Subject: Re: bug#7650: Subject: 23.2; [PATCH] re-builder.el: "Case sensitive" menu won't be updated properly. From: Keitaro Miyazaki To: Chong Yidong Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: 7650 Cc: 7650@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.7 (---) On Sun, Jan 23, 2011 at 5:53 AM, Chong Yidong wrote: > Thanks, now I see it. I've commited your patch. I tried your commit, though it seems that the menu "Case sensitive" still won't be updated properly. I think that a check mark on the menu should be TURNED ON at step 6 of my step-by-step procedure, because this menu should tell the status of a variable `case-fold-search' in `reb-target-buffer' (in my example, the buffer "*scratch*" is set to this variable) to user. Could you try my patch again? --- emacs/lisp/emacs-lisp/re-builder.el.orig 2011-01-23 15:44:02.000000000 +0900 +++ emacs/lisp/emacs-lisp/re-builder.el 2011-01-23 15:46:41.000000000 +0900 @@ -243,7 +243,7 @@ Except for Lisp syntax this is the same :help "Quit the RE Builder mode")) (define-key menu-map [rt] '(menu-item "Case sensitive" reb-toggle-case - :button (:toggle . (null case-fold-search)) + :button (:toggle . (with-current-buffer reb-target-buffer case-fold-search)) :help "Toggle case sensitivity of searches for RE Builder target buffer")) (define-key menu-map [rb] '(menu-item "Change target buffer..." reb-change-target-buffer Best regards, Keitaro -- This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your report will be posted to the bug-gnu-emacs@gnu.org mailing list and the gnu.emacs.bug news group, and at http://debbugs.gnu.org. Please describe exactly what actions triggered the bug and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file /Users/kay/Work/emacs-current/emacs/nextstep/Emacs.app/Contents/Resources/etc/DEBUG. In GNU Emacs 24.0.50.2 (x86_64-apple-darwin10.6.0, NS apple-appkit-1038.35) of 2011-01-23 on mac Windowing system distributor `Apple', version 10.3.1038 configured using `configure '--with-ns'' Important settings: value of $LC_ALL: ja_JP.UTF-8 value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ja_JP.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: RE Builder Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x b * s c r a t c h * A b C d M-x r e - b u a b c d M-x r e p o r t - e m a c s - b u g Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. 195 matches [2 times] 11 matches 1 match [3 times] No matches 1 match Making completion list... Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader emacsbug help-mode easymenu view re-builder japan-util tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process ns multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 23 15:50:43 2011 Received: (at 7650) by debbugs.gnu.org; 23 Jan 2011 20:50:43 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ph6tX-0007Z3-7K for submit@debbugs.gnu.org; Sun, 23 Jan 2011 15:50:43 -0500 Received: from vm-emlprdomr-04.its.yale.edu ([130.132.50.145]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ph6tW-0007Ys-1C for 7650@debbugs.gnu.org; Sun, 23 Jan 2011 15:50:42 -0500 Received: from furball (162.254.218.209.transedge.com [209.218.254.162]) (authenticated bits=0) by vm-emlprdomr-04.its.yale.edu (8.14.4/8.14.4) with ESMTP id p0NKwf4G005127 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 23 Jan 2011 15:58:42 -0500 Received: by furball (Postfix, from userid 1000) id 919B816075F; Sun, 23 Jan 2011 15:58:39 -0500 (EST) From: Chong Yidong To: Keitaro Miyazaki Subject: Re: bug#7650: Subject: 23.2; [PATCH] re-builder.el: "Case sensitive" menu won't be updated properly. References: <87mxmtbpvy.fsf@stupidchicken.com> <87d3noy81o.fsf@stupidchicken.com> Date: Sun, 23 Jan 2011 15:58:39 -0500 In-Reply-To: (Keitaro Miyazaki's message of "Sun, 23 Jan 2011 16:08:21 +0900") Message-ID: <87hbcz72ww.fsf@stupidchicken.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.71 on 130.132.50.145 X-Spam-Score: -2.4 (--) X-Debbugs-Envelope-To: 7650 Cc: 7650@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.4 (--) Keitaro Miyazaki writes: > I tried your commit, though it seems that the menu > "Case sensitive" still won't be updated properly. It's on the emacs-23 branch, not on the trunk yet. From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 23 23:24:39 2011 Received: (at 7650) by debbugs.gnu.org; 24 Jan 2011 04:24:39 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PhDyo-0002yd-Lc for submit@debbugs.gnu.org; Sun, 23 Jan 2011 23:24:39 -0500 Received: from mail-iw0-f172.google.com ([209.85.214.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PhDym-0002yQ-4c for 7650@debbugs.gnu.org; Sun, 23 Jan 2011 23:24:37 -0500 Received: by iwn40 with SMTP id 40so3797260iwn.3 for <7650@debbugs.gnu.org>; Sun, 23 Jan 2011 20:32:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=BR/Bq7rfF1Iv1uGjGY1adEnj4999Gg84IAXDlhUVJk8=; b=ep7aQCYXwLRWTjMF2eWQLO7VTmwgCaMGmOo6xyHqXzBTtmhCSNITscjrKtWVBT/mU5 LpOKBn6AIEOyD6giOjYmfcRgxrFEIIMTCtj1eDTUqNqE78KZWy1OCD7miPphOHsmb1Go Mfy9b1Zaf+vvEIe+xJPb/uCwW4v583gn5Xt40= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=UJwipun4L2/zgDgJbVtXsLKORNVmPvpPaX13jflgQwg9zRrto8698C+VVgQcL+1STl i/zoy0TWrq5bGk00EhpRImY1wpJmjie5DKmXDVEdelxXqrWRCGPJJOQZekBhZ0Rbxzss 5I9OnunnN1ErOmYBmkMRcsT4GPaK6FztkPMwc= MIME-Version: 1.0 Received: by 10.231.208.83 with SMTP id gb19mr4145930ibb.40.1295843556634; Sun, 23 Jan 2011 20:32:36 -0800 (PST) Received: by 10.231.160.211 with HTTP; Sun, 23 Jan 2011 20:32:36 -0800 (PST) In-Reply-To: <87hbcz72ww.fsf@stupidchicken.com> References: <87mxmtbpvy.fsf@stupidchicken.com> <87d3noy81o.fsf@stupidchicken.com> <87hbcz72ww.fsf@stupidchicken.com> Date: Mon, 24 Jan 2011 13:32:36 +0900 Message-ID: Subject: Re: bug#7650: Subject: 23.2; [PATCH] re-builder.el: "Case sensitive" menu won't be updated properly. From: Keitaro Miyazaki To: Chong Yidong Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -3.7 (---) X-Debbugs-Envelope-To: 7650 Cc: 7650@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.7 (---) On Mon, Jan 24, 2011 at 5:58 AM, Chong Yidong wrote: > It's on the emacs-23 branch, not on the trunk yet. Sorry for my misunderstanding. I tried emacs-23 branch, and the patch seems to be working fine. Best regards, Keitaro --text follows this line-- This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your report will be posted to the bug-gnu-emacs@gnu.org mailing list and the gnu.emacs.bug news group, and at http://debbugs.gnu.org. Please describe exactly what actions triggered the bug and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file /Users/kay/Work/emacs-current/emacs-23/nextstep/Emacs.app/Contents/Resources/etc/DEBUG. In GNU Emacs 23.2.92.1 (x86_64-apple-darwin10.6.0, NS apple-appkit-1038.35) of 2011-01-24 on mac Windowing system distributor `Apple', version 10.3.1038 configured using `configure '--with-ns'' Important settings: value of $LC_ALL: ja_JP.UTF-8 value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ja_JP.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: RE Builder Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x b * s c r a t c h * A b C d M-x r e - b u a b c d M-x r e p o r t - e m a c s - b u g Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. 195 matches [2 times] 11 matches 1 match [3 times] No matches 1 match Load-path shadows: None found. Features: (shadow sort mail-extr message ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils emacsbug re-builder japan-util tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win easymenu tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process ns multi-tty emacs) From unknown Mon Jun 23 04:08:22 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 21 Feb 2011 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator