On Fri, Oct 25, 2013 at 04:03:10PM -0000, Mutt wrote:
#3207: Conform to XDG Base Directory Specification
--------------------------+----------------------
Reporter: wraichia | Owner: mutt-dev
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: mutt | Version:
Resolution: | Keywords:
--------------------------+----------------------
Comment (by muffins):
http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
Here is a patch to tell mutt to look in the usual locations according to
the XDG spec for `muttrc`. The checks happen after checking `$HOME` and
`$HOME/.mutt` for backward compatibility.
I'd been wondering if we shouldn't add support for this as well,
but since it was associated with the freedesktop.org (GUI)
project, I wasn't sure it was applicable to Mutt.
I looked into what policy Debian and Fedora have, and Debian does
encourage all upstream software to adopt the XDG [1].
Debian/Ubuntu has a libxdg-basedir package that is much more
involved, and perhaps overkill (the attached patch is very
simple).
[1] https://wiki.debian.org/UpstreamGuide#User_home_directories
So I think this patch should be applied.
--
PGP key 4096R/4054DBFA DD1E A7F4 7860 2D5E 7BDE 459E DB99 9B42 4054 DBFA