unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Pengji Zhang <me@pengjiz.com>
To: Nicolas Graves <ngraves@ngraves.fr>, notmuch@notmuchmail.org
Subject: Re: [BUG] Devices with spaces in names
Date: Sat, 28 Sep 2024 18:14:53 +0800	[thread overview]
Message-ID: <87msjs84pu.fsf@pengjiz.com> (raw)
In-Reply-To: <87v7yh9ipl.fsf@ngraves.fr>

Hi!

Nicolas Graves <ngraves@ngraves.fr> writes:

> Hi! 
> 
> Thanks for notmuch. 
> 
> I have a device which for some reason have a space in its name. 
> It's the default installation, I surely don't remember setting 
> such a name myself. 
> 
> This creates some issues with notmuch, which seems to inject 
> this variable without quoting it for some mv and rm commands (in 
> french): 
> 
> ```
> rm: impossible de supprimer 
> '/home/graves/.local/var/lib/mail/accounts/neleves/sent/cur/1657705346.2877_20663.Precision': 
> Aucun fichier ou dossier de ce nom
> rm: impossible de supprimer '3571,U=449:2,S': Aucun fichier ou 
> dossier de ce nom
> ``` 
> 
> My device name is "Precision 3571" in this case. I can reproduce 
> the bug for each invocation of "notmuch new". 

I cannot reproduce this in my local environment. Could it be 
something in your pre-new/post-new hooks?

If not, then could you share a recipe to reproduce this issue?

Thanks!

Pengji

  reply	other threads:[~2024-09-28 10:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-27 16:15 [BUG] Devices with spaces in names Nicolas Graves
2024-09-28 10:14 ` Pengji Zhang [this message]
2024-09-28 18:49   ` Nicolas Graves
2024-09-28 20:30     ` Nicolas Graves

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=87msjs84pu.fsf@pengjiz.com \
    --to=me@pengjiz.com \
    --cc=ngraves@ngraves.fr \
    --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).