[Joerg Jaspert] Bug#922536: notmuch-emacs: notmuch breaks on directory removal

Subject: [Joerg Jaspert] Bug#922536: notmuch-emacs: notmuch breaks on directory removal

Date: Sun, 17 Feb 2019 17:03:28 -0400

To: notmuch@notmuchmail.org

Cc:

From: David Bremner


Seems like reasonable complaint. It should be possible to change to the
maildir root, but probably requires shelling out to notmuch config 
get the value.

Package: notmuch-emacs
Version: 0.28-2~bpo9+1
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

Open notmuch "from" a random buffer. Keep the notmuch-hello open.

Remove the directory of that buffer (and the buffer too).

Try refreshing notmuch.

Get greeted by:

"apply: Setting current directory: No such file or directory, 
/the/removed/directory/"

   * What outcome did you expect instead?

Notmuch should change its own buffers to a safe dir that always exists.

-- 
bye, Joerg

_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: