From: Arun Isaac <arunisaac@systemreboot.net>
To: notmuch@notmuchmail.org
Subject: Re: notmuch-emacs: Fcc to top-level directory given by database.path
Date: Sat, 23 Sep 2017 20:22:28 +0530 [thread overview]
Message-ID: <09e68393.AEEAQ2wzaJcAAAAAAAAAAAPvrI0AAAACwQwAAAAAAAW9WABZxnU0@mailjet.com> (raw)
In-Reply-To: <87fubd7ibl.fsf@tethera.net>
Mark Walters <markwalters1009@gmail.com> writes:
> Alternatively, does just using / as the folder work?
notmuch complains about absolute paths if / is used as the folder. Look
at function `notmuch-maildir-add-notmuch-insert-style-fcc-header' in
notmuch-maildir-fcc.el.
David Bremner <david@tethera.net> writes:
> Do you happen to know if it calls with an empty string as the folder
> name? It would be consistent with searching for that to insert at the
> top level.
Setting notmuch-fcc-dirs to "\"\"" fails, if that's what you are asking.
I also tried "." as the folder. This works, but if I search using
`notmuch search --output=files ...', the filename is of the form
"database.path/./cur/some.mail.file". This is not so clean.
> In any case I've noted your feature request/bug-report. It doesn't sound
> terribly difficult to change, but it will need someone motivated to
> think about all of the related details like updating the test suite and
> changing docstrings.
I can contribute this patch. Shall I make it such that if the folder
part of `notmuch-fcc-dirs' is an empty string, then `notmuch insert' is
called without a `--folder=' argument?
next prev parent reply other threads:[~2017-09-23 15:01 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-23 9:37 notmuch-emacs: Fcc to top-level directory given by database.path Arun Isaac
2017-09-23 11:41 ` David Bremner
2017-09-23 12:08 ` Mark Walters
2017-09-23 14:52 ` Arun Isaac [this message]
2017-09-24 12:14 ` David Bremner
2017-09-25 15:25 ` Tomi Ollila
2017-09-30 6:24 ` Mark Walters
2017-10-01 19:06 ` Arun Isaac
2017-10-02 6:48 ` Mark Walters
2017-10-02 16:03 ` Jani Nikula
2017-09-30 9:03 ` Jani Nikula
2017-10-02 16:29 ` Jani Nikula
2017-10-04 9:30 ` Arun Isaac
2018-06-06 14:04 ` David Bremner
2018-06-19 9:06 ` Arun Isaac
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=09e68393.AEEAQ2wzaJcAAAAAAAAAAAPvrI0AAAACwQwAAAAAAAW9WABZxnU0@mailjet.com \
--to=arunisaac@systemreboot.net \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.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).