unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Dealing with spaces in mail folders
@ 2017-10-04 12:34 Baptiste Demoulin
  2017-10-04 15:18 ` Tomi Ollila
  0 siblings, 1 reply; 3+ messages in thread
From: Baptiste Demoulin @ 2017-10-04 12:34 UTC (permalink / raw)
  To: notmuch

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")

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Dealing with spaces in mail folders
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Tomi Ollila @ 2017-10-04 15:18 UTC (permalink / raw)
  To: notmuch

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Dealing with spaces in mail folders
  2017-10-04 15:18 ` Tomi Ollila
@ 2017-10-04 15:58   ` Baptiste Demoulin
  0 siblings, 0 replies; 3+ messages in thread
From: Baptiste Demoulin @ 2017-10-04 15:58 UTC (permalink / raw)
  To: notmuch

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-10-04 15:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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).