Re: [PATCH 2/4] insert: strip trailing / in folder path

2017-08-19 Thread David Bremner
Yuri Volchkov writes: > > This is just for consistency reasons. Fixing my problem required the > same piece of code, which was used here. Duplicating is not nice, so I > made a function around this code. That's why it feels atomic change > to me. > > I think, explanation

Re: [PATCH 2/4] insert: strip trailing / in folder path

2017-08-19 Thread Yuri Volchkov
David Bremner writes: > Yuri Volchkov writes: > >> I have faced a problem, that messages sent by emacs could not be shown >> or found later. The "notmuch show id:" says "no such file or >> directory". >> >> The reason of this behavior is the following

Re: [PATCH 2/4] insert: strip trailing / in folder path

2017-08-18 Thread David Bremner
Yuri Volchkov writes: > I have faced a problem, that messages sent by emacs could not be shown > or found later. The "notmuch show id:" says "no such file or > directory". > > The reason of this behavior is the following chain of events: > 1) While sending a message,

[PATCH 2/4] insert: strip trailing / in folder path

2017-08-12 Thread Yuri Volchkov
I have faced a problem, that messages sent by emacs could not be shown or found later. The "notmuch show id:" says "no such file or directory". The reason of this behavior is the following chain of events: 1) While sending a message, emacs calls notmuch insert --folder=maildir/Sent/ <