unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Baptiste Demoulin <bat.demoulin@gmail.com>
To: notmuch@notmuchmail.org
Subject: Re: Dealing with spaces in mail folders
Date: Wed, 04 Oct 2017 17:58:49 +0200	[thread overview]
Message-ID: <87bmlmc3ba.fsf@laptop.suse> (raw)
In-Reply-To: <m28tgrszz0.fsf@guru.guru-group.fi>

Hello Tomi,

In fact this was an attempt to escape the space (else, notmuch looks for
Touslesmessages).

I finally found the solution, looking at the help for notmuch-fcc-dirs :

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

Putting the folder name inside double quotes does the trick !!

Good lesson: next time I'll read the manual before asking :)

bests,

baptiste


Tomi Ollila <tomi.ollila@iki.fi> writes:

> On Wed, Oct 04 2017, Baptiste Demoulin wrote:
>
>> 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@gmail.com" . "gmail/[Gmail]/.Tous\  les\  messages")
>
> double space ... why not "gmail/[Gmail]/.Tous\ les\ messages" ... ?
>
> (although it looks interesting if this was the cause but anyway looks suspicious...)
>
> Tomi
>
>>
>> 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
>> _______________________________________________
>> notmuch mailing list
>> notmuch@notmuchmail.org
>> https://notmuchmail.org/mailman/listinfo/notmuch
> _______________________________________________
> notmuch mailing list
> notmuch@notmuchmail.org
> https://notmuchmail.org/mailman/listinfo/notmuch

      reply	other threads:[~2017-10-04 15:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-04 12:34 Dealing with spaces in mail folders Baptiste Demoulin
2017-10-04 15:18 ` Tomi Ollila
2017-10-04 15:58   ` Baptiste Demoulin [this message]

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=87bmlmc3ba.fsf@laptop.suse \
    --to=bat.demoulin@gmail.com \
    --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).