Dealing with spaces in mail folders

Baptiste Demoulin bat.demoulin at gmail.com
Wed Oct 4 05:34:03 PDT 2017


Hello folks,

this is my first mail on this list, and I've been using notmuch as my
principal mail client with Emacs for around 1 week.

For my Gmail account, I rely mostly on the general 'Tous les Messages'
('All mails') folder. Thus, I have set notmuch-fcc-dirs with the
following value:

("bat.demoulin at gmail.com" . "gmail/[Gmail]/.Tous\  les\  messages")

However, sending mails with my Gmail account result in the following
error message in *Notmuch errors*:

insert --folder\=gmail/\[Gmail\]/.Tous les messages
exit status: 1
stdout:
Error: unexpected query string: les messages

What is the correct way to deal with spaces in folder names in this case
? Thanks a lot !!

baptiste


More information about the notmuch mailing list