Comments (3)
I think it's ok to close this?
from neomutt.
Thanks for the report. I can reproduce this with set query_command="abook --mutt-query '%s'"
Adding additional logging:
diff --git a/alias/dlg_query.c b/alias/dlg_query.c
index e00391f4e..5f92c211d 100644
--- a/alias/dlg_query.c
+++ b/alias/dlg_query.c
@@ -279,6 +279,8 @@ int query_run(const char *s, bool verbose, struct AliasList *al, const struct Co
const char *const c_query_command = cs_subset_string(sub, "query_command");
buf_file_expand_fmt_quote(cmd, c_query_command, s);
+ mutt_debug(LL_DEBUG5, "command: %s\n", buf_string(cmd));
+
pid_t pid = filter_create(buf_string(cmd), NULL, &fp, NULL, EnvList);
if (pid < 0)
{
I can see that the quoting is messed up:
[2024-02-21 10:46:21]<5> query_run() command: abook --mutt-query ''Technik Lux <[email protected]>''
$ abook --mutt-query ''Technik Lux <[email protected]>''
zsh: no such file or directory: [email protected]
But when I remove the quotes:
set query_command="abook --mutt-query %s"
everything seems to work as expected.
from neomutt.
it's ok now, Thx a lot.
from neomutt.
Related Issues (20)
- external filters in format strings are not called HOT 8
- Embedding CFLAGS makes neomutt unreproducible HOT 5
- Periodical crashing with segfault 11 on macOS 12.7.1. HOT 1
- Latest release hangs on startup (macOS 12.7.4) HOT 8
- Newline in attribution no longer properly handled HOT 2
- Compose Menu - top bar not updated after attaching files from file browser HOT 3
- Subject with non-printable characters or new line is shown with `?` HOT 30
- `Today` conditional date broken HOT 4
- Lag on half-down/half-up scrolling on macOS HOT 5
- Do we need to handle <stddef.h> specially? HOT 1
- conditional format strings broken in 2024-04-25 HOT 7
- Duplicate gpg keys in key selection menu for message encryption HOT 17
- segfault while opening a mailbox in from the sidebar HOT 2
- Doubts about paranoic defensive programming style HOT 3
- C dialect HOT 2
- tag-prefix doesn't work in attach HOT 5
- Doubts about some `*const` pointers HOT 5
- How to use the notmuch command <modify-labels> to tag emails with tags containing spaces?
- Is it possible to edit the automatic title when forwarding or replying a message? HOT 1
- Progress for postponing a message with remote (IMAP)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neomutt.