Morten Kjeldgaard <mortenkjeldgaard@gmail.com> writes: > > It's tedious to use the notmuch CLI client to search for the mail and > then copy/paste the filename, and edit it to correct the date. It would > be so much easier if it were possible to edit the raw file directly in > Emacs. I can use 'V' to view the raw file, and then 'E' to be allowed to > edit it, but Emacs has no idea of what file it is editing. > > Is there a way to solve this problem? Notmuch of course already knows > the original filename. you can use "c F" to copy the file name of the current message into the the kill ring, then just yank wherever useful (e.g. to visit the file in emacs). After editing you will need to reindex that file. One way would be to use "c i" to copy the message id into the kill ring, then yank it into a shell command like notmuch reindex id:<whatever> If that seems to do what you want, then the steps can be automated within emacs. d _______________________________________________ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-leave@notmuchmail.org