Comments (9)
@257 Hmm... I'm sorry, I don't see a problem.
Plus, I don't think I've changed any code that might have affected the Query function.
I've just tested mutt-1.5.24, mutt-tip (latest dev) and neomutt-20160320.
I created a small address file 'animals.txt', then
set query_command="grep '%s' ~/animals.txt"
Pressing 'm' (start mail), then 'hor' lists some animals containing 'hor'.
As expected.
Back in the index, pressing 'Q' (start query), 'hor' lists some animals containing 'hor'.
As expected.
What else can you tell me about your problem?
from neomutt.
hmm, Query: interface is used for both 'query external program for addr'
and vfolder-from-query. vfolder-from-query is what i was referring to.
'Q' (query external...) works fine here.
from neomutt.
I can confirm it does not work, need more investigation.
from neomutt.
static int main_change_folder(MUTTMENU *menu, int op, char *buf, size_t bufsz,
int *oldcount, int *index_hint)
{
mutt_expand_path (buf, bufsz);
- set_curbuffy(buf);
+#ifdef USE_SIDEBAR
+ if (sb_set_open_buffy (buf) == NULL)
+ return -1;
+#endif
The code assumes that sidebar has clue about all folders, but this is not true because notmuch folders may be generated on-the-fly. In this case sidebar should be out of game...
from neomutt.
@karelzak what do you think of changing the prompt to qaddr (or whatever) so user can see it's querying for addr or perfoming vfolder-from-query?
from neomutt.
All you need is:
diff --git a/curs_main.c b/curs_main.c
index 6fcdcd6..c2ff15c 100644
--- a/curs_main.c
+++ b/curs_main.c
@@ -598,8 +598,7 @@ static int main_change_folder(MUTTMENU *menu, int op, char *buf, size_t bufsz,
{
mutt_expand_path (buf, bufsz);
#ifdef USE_SIDEBAR
- if (sb_set_open_buffy (buf) == NULL)
- return -1;
+ sb_set_open_buffy (buf);
#endif
if (mx_get_magic (buf) <= 0)
{
from neomutt.
@flatcap see karelzak/mutt-kz@8c824f5
.. not sure how to force github to accept pull requests from another repository if the repository is not directly based on fork. I use "git remote" for neo stuff and it works as expected, unfortunately github is not smart enough for this work flow :-(
from neomutt.
@karelzak Thanks.
I've pushed the change up to NeoMutt.
@257 Please can you try the new version:
git or source zip
Thanks, Rich.
from neomutt.
from neomutt.
Related Issues (20)
- Do we need to handle <stddef.h> specially? HOT 1
- conditional format strings broken in 2024-04-25 HOT 8
- Duplicate gpg keys in key selection menu for message encryption HOT 18
- 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 show-up 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)
- autocrypt breaks command line argument `-e "push foo"` HOT 4
- How to forward an email thread to someone else together with attachments ? HOT 3
- `delete-thread` does not support `tag-prefix` operator
- split outgoing email into batches to work around max number of recipients limit in some SMTP providers (infomaniak) HOT 3
- save-message from GMail over IMAP to local box doesn't delete original HOT 3
- Cannot open an .mbox file with neomutt (although it works with mutt) HOT 4
- neomutt truecolor and kitty
- neomutt does not replace `...` by encrypted subject
- Inline-PGP with junk before recognized incorrectly
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.