GNU bug report logs -
#18400
24.3.93; superword-mode and isearch
Previous Next
Reported by: Lars Ljung <lars <at> matholka.se>
Date: Wed, 3 Sep 2014 20:42:02 UTC
Severity: minor
Found in version 24.3.93
Done: Stefan Monnier <monnier <at> iro.umontreal.ca>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
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
This bug report was last modified 10 years and 321 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.