Package: neomutt
Version: 20180323+dfsg.1-1
Severity: wishlist
Tags: patch

neomutt actually reads ~/.mutt/muttrc, if it cannot find e.g.
~/.neomutt/neomuttrc, which makes transition rather seamless. Thanks
for that.

Unfortunately, it only reads /etc/neomuttrc, and consequently never
looks into /etc/Muttrc.d. However, packages like notmuch-mutt only
drop their hooks/configs into that directory, not also into
/etc/neomuttrc.d.

Obviously one could now go on a spree to get all those packages to
drop a file into both directories, but we could also simply
pre-initialise the config space with /etc/Muttrc.d, if mutt is
installed.

A trivial way to do this is:

cat <<_eof >/etc/Muttrc.d/000integrate-Muttrcd.rc
source `test -x /usr/lib/mutt/source-muttrc.d && \
  echo '/usr/lib/mutt/source-muttrc.d|' || echo /dev/null`
_eof

and a better way might be to insert those two lines at the top of
/etc/neomuttrc. Any incompatible or problematic settings could then
be undone just underneath.

Thanks for your consideration.

-- Package-specific info:
NeoMutt 20180323
Copyright (C) 1996-2016 Michael R. Elkins and others.
NeoMutt comes with ABSOLUTELY NO WARRANTY; for details type 'neomutt -vv'.
NeoMutt is free software, and you are welcome to redistribute it
under certain conditions; type 'neomutt -vv' for details.

System: Linux 4.15.0-1-amd64 (x86_64)
ncurses: ncurses 6.1.20180127 (compiled with 6.1)
libidn: 1.33 (compiled with 1.33)
hcache backends: tokyocabinet

Compiler:
Using built-in specs.
COLLECT_GCC=cc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 7.3.0-12' 
--with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs 
--enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr 
--with-gcc-major-version-only --program-suffix=-7 
--program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id 
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix 
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu 
--enable-libstdcxx-debug --enable-libstdcxx-time=yes 
--with-default-libstdcxx-abi=new --enable-gnu-unique-object 
--disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie 
--with-system-zlib --with-target-system-zlib --enable-objc-gc=auto 
--enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 
--with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic 
--enable-offload-targets=nvptx-none --without-cuda-driver 
--enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu 
--target=x86_64-linux-gnu
Thread model: posix
gcc version 7.3.0 (Debian 7.3.0-12) 

Configure options: --build=x86_64-linux-gnu --prefix=/usr 
{--includedir=${prefix}/include} {--mandir=${prefix}/share/man} 
{--infodir=${prefix}/share/info} --sysconfdir=/etc --localstatedir=/var 
--disable-silent-rules {--libdir=${prefix}/lib/x86_64-linux-gnu} 
{--libexecdir=${prefix}/lib/x86_64-linux-gnu} --disable-maintainer-mode 
--disable-dependency-tracking --mandir=/usr/share/man --libexecdir=/usr/lib 
--with-mailpath=/var/mail --enable-fcntl --gpgme --lua --notmuch --with-ui 
--gnutls --gss --idn --mixmaster --sasl --tokyocabinet

Compilation CFLAGS: -g -O2 
-fdebug-prefix-map=/build/neomutt-yaZ5cS/neomutt-20180323+dfsg.1=. 
-fstack-protector-strong -Wformat -Werror=format-security -std=c99 
-D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D__EXTENSIONS__ -I/usr/include 
-I/usr/include/lua5.3  -DNCURSES_WIDECHAR -isystem /usr/include/mit-krb5

Default options:
  +attach_headers_color +compose_to_sender +compress +cond_date +debug 
  +encrypt_to_self +forgotten_attachments +forwref +ifdef +imap +index_color 
  +initials +limit_current_thread +multiple_fcc +nested_if +new_mail +nntp +pop 
  +progress +quasi_delete +regcomp +reply_with_xorig +sensible_browser +sidebar 
  +skip_quoted +smtp +status_color +timeout +tls_sni +trash 

Compile options:
  +bkgdset +color +curs_set +fcntl -flock -fmemopen +futimens +getaddrinfo 
  +gnutls +gpgme +gss +hcache -homespool +idn -locales_hack +lua +meta 
  +mixmaster +nls +notmuch -openssl +pgp +sasl +smime +start_color 
  +sun_attachment +typeahead 
MAILPATH="/var/mail"
MIXMASTER="mixmaster"
PKGDATADIR="/usr/share/neomutt"
SENDMAIL="/usr/sbin/sendmail"
SYSCONFDIR="/etc"

To learn more about NeoMutt, visit: https://www.neomutt.org
If you find a bug in NeoMutt, please raise an issue at:
    https://github.com/neomutt/neomutt/issues
or send an email to: <neomutt-de...@neomutt.org>


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_NZ, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8), LANGUAGE=en_NZ:en 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages neomutt depends on:
ii  libc6             2.27-2
ii  libcom-err2       1.44.0-1
ii  libgnutls30       3.5.18-1
ii  libgpgme11        1.10.0-2
ii  libgssapi-krb5-2  1.16-2
ii  libidn11          1.33-2.1
ii  libk5crypto3      1.16-2
ii  libkrb5-3         1.16-2
ii  liblua5.3-0       5.3.3-1
ii  libncursesw5      6.1-1
ii  libnotmuch5       0.26-1+b2
ii  libsasl2-2        2.1.27~101-g0780600+dfsg-3
ii  libtinfo5         6.1-1
ii  libtokyocabinet9  1.4.48-11+b1

Versions of packages neomutt recommends:
ii  libsasl2-modules  2.1.27~101-g0780600+dfsg-3
ii  locales           2.27-2
ii  mime-support      3.60

Versions of packages neomutt suggests:
ii  ca-certificates                 20170717
ii  gnupg                           2.2.5-1
ii  ispell                          3.4.00-6
pn  mixmaster                       <none>
ii  openssl                         1.1.0g-2
ii  postfix [mail-transport-agent]  3.3.0-1
ii  urlview                         0.9-20+b1

Versions of packages neomutt is related to:
ii  neomutt  20180323+dfsg.1-1

-- debconf-show failed


-- 
 .''`.   martin f. krafft <madduck@d.o> @martinkrafft
: :'  :  proud Debian developer
`. `'`   http://people.debian.org/~madduck
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital GPG signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)

Reply via email to