Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Regression in mail saving behaviour into Maildirs #4740

@andrewferrier

Description

@andrewferrier

NeoMutt Version

NeoMutt 20251211-dirty
System: Linux 6.18.1-arch1-2 (x86_64)
ncurses: ncurses 6.5.20240427 (compiled with 6.5.20240427)

This appears to be a regression from NeoMutt 20250905-dirty, where this problem does NOT occur.

(Note: both of these NeoMutt versions are installed from the official Arch Linux packages).

Expected Behaviour

I'm trying to save emails from my inbox to a Maildir directory (structured with cur/, new/ and tmp/ subdirectories).

On NeoMutt 20250905-dirty, I could:

  1. Highlight an email in my inbox
  2. Hit 's', and type '~/directory' to locate a directory in my filesystem. I then hit twice because I'm unsure which subdirectory I want to put it in, and it pops up a directory listing.
  3. I then highlight the next level of subdirectory, hit <Return>, then the next, then <Return> and so on, until I find the directory I want to put it in. NeoMutt automatically detects that that final subdirectory contains cur/new/tmp, and returns me to the inbox view, prompting "Append messages to /home/me/directory/subdirectory/anothersubdirectory/emails? ([yes]/no/?):
  4. I hit <Return> and the email is saved to that 'emails' subdirectory.

Actual Behaviour

The above behavior works as described in NeoMutt 20250905-dirty. In NeoMutt
NeoMutt 20251211-dirty, when I hit <Return> the first time in step (3), NeoMutt immediately returns to the inbox and offers to save the file, creating the cur/new/tmp dirs automatically if they are missing.

I'm not sure if this is intentional, but it is not helpful, for me at least, because it no longer gives a way to navigate down a (possibly) unknown directory tree to find the relevant Maildir. Instead I have to know the path and type it in in full.

Steps to Reproduce

As above.

How often does this happen?

Always.

When did it start to happen?

NeoVim 20251211-dirty
Exactly the same config in both cases.

Extra Info

Arch Linux
Running in kitty terminal, no tmux/screen
Inbox is a local maildir. Trying to save email in another local maildir

Thanks for all your hard work on this project!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions