projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa4c276
)
Fix regexp in IMAP search-string preparation
author
Eric Abrahamsen
<eric@ericabrahamsen.net>
Fri, 18 Dec 2020 03:16:00 +0000
(19:16 -0800)
committer
Eric Abrahamsen
<eric@ericabrahamsen.net>
Fri, 18 Dec 2020 03:16:52 +0000
(19:16 -0800)
* lisp/gnus/gnus-search.el (gnus-search-run-search): This was failing
to catch all of X-GM-RAW.
lisp/gnus/gnus-search.el
patch
|
blob
|
history
diff --git
a/lisp/gnus/gnus-search.el
b/lisp/gnus/gnus-search.el
index 829e0fa3ad19bcfd38efb8b14323b5dc8efc6ecf..16f3a024aa607d35f24565e3eafe9f213c9dfbc8 100644
(file)
--- a/
lisp/gnus/gnus-search.el
+++ b/
lisp/gnus/gnus-search.el
@@
-1071,7
+1071,7
@@
Responsible for handling and, or, and parenthetical expressions.")
;; A bit of backward-compatibility slash convenience: if the
;; query string doesn't start with any known IMAP search
;; keyword, assume it is a "TEXT" search.
- (unless (and (string-match "\\`[
[:word
:]]+" q-string)
+ (unless (and (string-match "\\`[
^ [:blank
:]]+" q-string)
(memql (intern-soft (downcase
(match-string 0 q-string)))
gnus-search-imap-search-keys))