Re: [BUG] Devices with spaces in names

Subject: Re: [BUG] Devices with spaces in names

Date: Sat, 28 Sep 2024 18:14:53 +0800

To: Nicolas Graves, notmuch@notmuchmail.org

Cc:

From: Pengji Zhang


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
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: