Feature Request: Support tilde (~) in vcard_folder option #387
Labels
No Label
IMAP
JMAP
Maildir
Retired
User Experience
User Interface
bsd
bug
contacts
currently worked on
documentation
duplicate
easy
enhancement
help wanted
invalid
linux-gnu
macos
mbox
notmuch
question
security
wishlist
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: meli/meli#387
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Thank you for fixing #349. In a brief test I noticed that using
~
to refer to my home folder is not supported. That was surprising because it does work for theroot_mailbox
option.It would be nice (and more consistent) to have support for tilde expansion in all options that accept a path.
Thank you for reporting this! Indeed the paths are not handled the same way. There's a helper tool to "expand" tildes etc in paths in
melib/src/utils/shellexpand.rs
which is used for mail backend root_mailbox paths but not in vcard folder paths. All user configuration paths should have.expand()
called on them before trying access.