[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#7650: Subject: 23.2; [PATCH] re-builder.el: "Case sensitive" menu wo
From: |
Keitaro Miyazaki |
Subject: |
bug#7650: Subject: 23.2; [PATCH] re-builder.el: "Case sensitive" menu won't be updated properly. |
Date: |
Thu, 16 Dec 2010 14:12:01 +0900 |
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 <tab> <return> <menu-bar> <reb-mode>
<rt> <help-echo> M-x r e o p <backspace> <backspace>
p o <tab> r t <tab> <return>
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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#7650: Subject: 23.2; [PATCH] re-builder.el: "Case sensitive" menu won't be updated properly.,
Keitaro Miyazaki <=