Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

~ from default value not expanded #2206

Closed
NilsIrl opened this issue Mar 25, 2020 · 0 comments · Fixed by #2210
Closed

~ from default value not expanded #2206

NilsIrl opened this issue Mar 25, 2020 · 0 comments · Fixed by #2210
Labels
bug:confirmed A NeoMutt developer can repeat this issue has:bisect Git bisect performed

Comments

@NilsIrl
Copy link

@NilsIrl NilsIrl commented Mar 25, 2020

Expected Behaviour

By default, folder should be equal to ~/Mail, i.e. a directory Mail in the user's home directory.

Actual Behaviour

folder now is equal to the directory ~/Mail starting at the user's current directory.

Steps to Reproduce

Do not set folder in .muttrc

How often does this happen?

  • Always

When did it start to happen?

  • When I upgraded
    Which version did you use to use?

6112fb2 (#2137)

Extra Info

  • My email is local and synced using mbsync (isync)

For the moment, a fix is to add the following line to .muttrc:

set folder = ~/Mail

which in theory just sets the same value as the default value, but this time, the tilde actually gets expanded.

@gahr (I discussed this with him on IRC, and he has been able to reproduce it)

@flatcap flatcap added bug:confirmed A NeoMutt developer can repeat this issue has:bisect Git bisect performed labels Mar 25, 2020
flatcap added a commit that referenced this issue Mar 26, 2020
Config variables that contain filesystem paths, should have `~` expanded
before saving.  For `DT_PATH`, this is done automatically.

Restore `reset_tilde()` so that `DT_MAILBOX` get their initial values correct.

Fixes: #2206
flatcap added a commit that referenced this issue Mar 26, 2020
Config variables that contain filesystem paths, should have `~` expanded
before saving.  For `DT_PATH`, this is done automatically.

Restore `reset_tilde()` so that `DT_MAILBOX` get their initial values correct.

Fixes: #2206
jindraj pushed a commit to jindraj/neomutt that referenced this issue Mar 26, 2020
Config variables that contain filesystem paths, should have `~` expanded
before saving.  For `DT_PATH`, this is done automatically.

Restore `reset_tilde()` so that `DT_MAILBOX` get their initial values correct.

Fixes: neomutt#2206
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug:confirmed A NeoMutt developer can repeat this issue has:bisect Git bisect performed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants