physiculus <[email protected]> writes: > xuqi <[email protected]> writes: > > hello, > yes the prefix is correct. > nnir-notmuch-remove-prefix is a variable defined in `nnir.el'. > Its value is "/home/held/Maildirnm/" > >> >> I didn't look closely. But for example if you haven't customized the >> variable `nnir-notmuch-remove-prefix', it defaults to "$HOME/Mail", if >> your Maildir is not ~/Mail (Gnus advices against using ~/Mail for >> maildir, iirc), the processed results may point Gnus to a wrong >> location. >> >> Perhaps you can paste your nnmaildir config in your .gnus.el to the >> list, or point to me where to find it if you have done so. And the value >> of your `nnir-notmuch-remove-prefix', you can find that by pressing C-h >> v RET nnir-notmuch-remove-prefix RET. >> >> Then you can go to your *scratch* buffer -- sorry if it shows in bold >> when you read this, but the buffer name has asterisks -- and input the >> following, parentheses included: >> >> (nnir-run-notmuch "Hock" "nnmaildir:Lokal") > this gives ? > Debugger entered--Lisp error: (wrong-type-argument listp "Hock")
This should be (nnir-run-notmuch '((query . "Hock")) "nnmaildir:Lokal") You'll probably want to run (switch-to-buffer nnir-tmp-buffer) afterwards, I don't think it will display the results by default. Eric _______________________________________________ info-gnus-english mailing list [email protected] https://lists.gnu.org/mailman/listinfo/info-gnus-english
