From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 68F366DE0C66 for ; Wed, 4 Oct 2017 08:58:54 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.109 X-Spam-Level: X-Spam-Status: No, score=-0.109 tagged_above=-999 required=5 tests=[AWL=0.202, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.211, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v5ckJ48HVX6f for ; Wed, 4 Oct 2017 08:58:53 -0700 (PDT) Received: from mail-wr0-f182.google.com (mail-wr0-f182.google.com [209.85.128.182]) by arlo.cworth.org (Postfix) with ESMTPS id F40526DE0C5F for ; Wed, 4 Oct 2017 08:58:52 -0700 (PDT) Received: by mail-wr0-f182.google.com with SMTP id y44so1278459wry.10 for ; Wed, 04 Oct 2017 08:58:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version; bh=ozrERqC2J3gDv84gB16apjGgRW+bjMhRTIDyTas2BOo=; b=WoDJe7rZG//g5HZ6qmN/N+SsV4523sTP/ufrLyxd7Xv/KJuqcLfj6QcZsMS+x++bYZ TRA7JwqmUN3UQE728mUnR0jt0fH7ix4qWlh4HRxbGfzCCzXR7CUjeEAo1Suc7sI+n20B Y9adEDOaXFTAZk9vyoT72Rklv16UX9OqKePAMiOsvKZECpBxEGkfdFF9XM0YuBmN6Xba NVE+2dERzb0sb65FdM1BilKpkhyUaK2eGYJCip/MtD6LmsT4ZVpdFNMNpZoMRQGpv6kz 77GupsFNbniTW5AkRx/GJKDyiRCsN3xczgsEz8cczWtuGECH+5+ZzNZKr2ivCEF5vhN0 J3Nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version; bh=ozrERqC2J3gDv84gB16apjGgRW+bjMhRTIDyTas2BOo=; b=tyTtaWNyuu9chMQrFTAiTodhtJrpJp9H4hgNEcIp9dDl8eep9dGP6lAl/+NVVS8Nfc Q5OJLXioW542loSlfGRED+bYcZ/7S6S7CIEBRLYdVYBF1BWFeu+aL9lXdWGNqUhpGdM4 vM9wkJ2LZV6CpWDmxC58gVY8k6nKKYII1I+5DqtWsyLjP3DDL8lGJB5qM+nBXNWZwaIr UlicdBU2/B5T/nrglxULy8cmADtQr0uxfdaMCPeNl7eF291OE47T7g3XR7GEB8HZ2BQo laQFD/MLq2wyU4c1K5N0z+yV4Vs6mtjalVX46cyt513v3J2Y6NYRcm5BxFc7xum7SCbZ SgXA== X-Gm-Message-State: AMCzsaUjJS98bRcPVvXcDET23JjD+/6/91rFMoveJMMDeJmAg8aAOB7Q pH9q9zAyNLvFXr0UHlR+w7gxPg== X-Google-Smtp-Source: AOwi7QBhZHySl1F35D/rDupZ3pEVTJimLx9vT6vXzLWh9sC+LaOTqllnKEAmF/lKlZSbtF5X22WZSw== X-Received: by 10.223.197.13 with SMTP id q13mr17164994wrf.272.1507132730556; Wed, 04 Oct 2017 08:58:50 -0700 (PDT) Received: from localhost (dhcp-180-198.ens-lyon.fr. [140.77.180.198]) by smtp.gmail.com with ESMTPSA id 31sm15462869wru.33.2017.10.04.08.58.49 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Oct 2017 08:58:50 -0700 (PDT) From: Baptiste Demoulin To: notmuch@notmuchmail.org Subject: Re: Dealing with spaces in mail folders In-Reply-To: References: <87h8vf6qis.fsf@laptop.suse> Date: Wed, 04 Oct 2017 17:58:49 +0200 Message-ID: <87bmlmc3ba.fsf@laptop.suse> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Oct 2017 15:58:54 -0000 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 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