unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#62451: 29.0.60; nnselect-request-threads assumes gnus-search-use-parsed-queries
@ 2023-03-25 23:16 Sean Whitton
  2023-03-26  0:17 ` Andrew Cohen
  0 siblings, 1 reply; 3+ messages in thread
From: Sean Whitton @ 2023-03-25 23:16 UTC (permalink / raw)
  To: 62451; +Cc: cohen

X-debbugs-cc: cohen@bu.edu

nnselect-request-threads generates a query in Gnus's generic search
language and expects gnus-search-prepare-query to convert it to a raw
query.  But if gnus-search-use-parsed-queries is nil, as it is by
default, then this doesn't happen, and the search engine receives a
query it can't understand.  For example, notmuch receives a query like
"id:<foo> or id:<bar>" when it should receive "id:foo or id:bar".

This breaks the gnus-summary-refer-thread command.

One way to fix it is to add a binding (gnus-search-use-parsed-queries t)
to the let* form in which the call to gnus-search-run-query is made.

-- 
Sean Whitton





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-03-26 18:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-25 23:16 bug#62451: 29.0.60; nnselect-request-threads assumes gnus-search-use-parsed-queries Sean Whitton
2023-03-26  0:17 ` Andrew Cohen
2023-03-26 18:05   ` Sean Whitton

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).