emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#18400: closed (24.3.93; superword-mode and isearch


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#18400: closed (24.3.93; superword-mode and isearch)
Date: Thu, 04 Sep 2014 16:16:01 +0000

Your message dated Thu, 04 Sep 2014 12:14:49 -0400
with message-id <address@hidden>
and subject line Re: bug#18400: 24.3.93; superword-mode and isearch
has caused the debbugs.gnu.org bug report #18400,
regarding 24.3.93; superword-mode and isearch
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
18400: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18400
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 24.3.93; superword-mode and isearch Date: Wed, 03 Sep 2014 22:40:35 +0200 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0
Subword-mode and superword-mode have different behaviour when using
isearch C-s C-w. Subword-mode alters the behaviour of C-s C-w but
superword-mode doesn't.

The patch below should fix this.

=== modified file 'lisp/isearch.el'
--- lisp/isearch.el     2014-03-01 02:48:54 +0000
+++ lisp/isearch.el     2014-09-03 20:30:26 +0000
@@ -1968,7 +1968,8 @@
    (lambda ()
      (if (or (= (char-syntax (or (char-after) 0)) ?w)
              (= (char-syntax (or (char-after (1+ (point))) 0)) ?w))
-        (if (and (boundp 'subword-mode) subword-mode)
+        (if (or (and (boundp 'subword-mode) subword-mode)
+                (and (boundp 'superword-mode) superword-mode))
             (subword-forward 1)
           (forward-word 1))
        (forward-char 1)) (point))))

Kind regards,
Lars Ljung



--- End Message ---
--- Begin Message --- Subject: Re: bug#18400: 24.3.93; superword-mode and isearch Date: Thu, 04 Sep 2014 12:14:49 -0400 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)
> Subword-mode and superword-mode have different behaviour when using
> isearch C-s C-w. Subword-mode alters the behaviour of C-s C-w but
> superword-mode doesn't.
> The patch below should fix this.

Thanks for spotting it.  Installed,


        Stefan


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]