Bug#882715: neomutt: can I has an alternative for /usr/bin/mutt ?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#882715: neomutt: can I has an alternative for /usr/bin/mutt ?

Adam Borowski-3
Package: neomutt
Version: 20171027-1
Severity: wishlist

Hi!
You made us used to all the goodness in neomutt in stretch, making the
vanilla mutt vs neomutt choice obvious.  Yet, it breaks muscle memory:

[~]$ mutt
-bash: mutt: command not found

Obviously, one can make aliases, but that's tedious to repeat for every box.

Thus, could you please use alternatives to manage /usr/bin/mutt ?


Meow!
-- Package-specific info:
Configured with: ../src/configure -v --with-pkgversion='Debian 7.2.0-16'
--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

^ This comes as a single unwrapped huge line, breaking reportbug.

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' '--with-mailpath=/var/mail'
'--enable-compressed' '--enable-debug' '--enable-fcntl' '--enable-hcache'
'--enable-gpgme' '--enable-lua' '--enable-imap' '--enable-smtp'
'--enable-pop' '--enable-sidebar' '--enable-nntp' '--enable-notmuch'
'--disable-fmemopen' '--with-curses' '--with-gnutls' '--with-gss'
'--with-idn' '--with-mixmaster' '--with-sasl' '--without-gdbm'
'--without-bdb' '--without-qdbm' '--with-tokyocabinet'
'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2
-fdebug-prefix-map=/build/neomutt-20171027=.  -fstack-protector-strong
-Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now'
'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'

^ This too.

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

Kernel: Linux 4.14.2+ (SMP w/6 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages neomutt depends on:
ii  libassuan0        2.4.4-1
ii  libc6             2.25-2
ii  libcomerr2        1.43.7-1
ii  libgnutls30       3.5.16-1
ii  libgpg-error0     1.27-5
ii  libgpgme11        1.9.0-6
ii  libgssapi-krb5-2  1.15.2-2
ii  libidn11          1.33-2
ii  libk5crypto3      1.15.2-2
ii  libkrb5-3         1.15.2-2
ii  liblua5.2-0       5.2.4-1.1+b2
ii  libncursesw5      6.0+20170902-1
ii  libnotmuch5       0.25.2-1
ii  libsasl2-2        2.1.27~101-g0780600+dfsg-3
ii  libtinfo5         6.0+20170902-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.25-2
ii  mime-support      3.60

Versions of packages neomutt suggests:
ii  aspell                                     0.60.7~20110707-4
ii  ca-certificates                            20170717
ii  exim4-daemon-light [mail-transport-agent]  4.89-11
ii  gnupg                                      2.2.2-1
pn  mixmaster                                  <none>
ii  openssl                                    1.1.0g-2
pn  urlview                                    <none>

Versions of packages neomutt is related to:
ii  neomutt  20171027-1

-- no debconf information

Reply | Threaded
Open this post in threaded view
|

Bug#882715: neomutt: can I has an alternative for /usr/bin/mutt ?

Josh Triplett-9
Package: neomutt
Version: 20171027+dfsg.1-1
Followup-For: Bug #882715

I'd like this as well, not just for command-line muscle memory but for
scripts built around mutt.

- Josh Triplett

Reply | Threaded
Open this post in threaded view
|

Bug#882715: neomutt: can I has an alternative for /usr/bin/mutt ?

Andreas Henriksson-3
Control: tag -1 + patch

Hi,

Please see attached patches for both neomutt and mutt to implement
this. Review welcome. If you lack time, I'm happy to help out with
a NMU. If so please just say, so we can skip the waiting.

Note for mutt: I did not revert the previous commit[1] that ripped out
alternatives, for the following reasons:
 - the debian/changelog entry should not be reverted
 - the old alternatives where for different files
 - given we divert different files now, we likely still want
   to keep the prerm remove-all call until upgrading from 1.6
   is considered unsupported (which I leave up to you to
   determine when that is).
Also, as noted in the top comment of the mutt debdiff the lintian
override for desktop file should most likely be reintroduced again.

Note for neomutt maintainers: This might also be a good time to
get #894688 fixed. And the patch also as a bonus could probably
be considered to fix #888260 which you might want to close.

CCing people who showed interest on the bug report. Help with
(additional) testing would be welcome.

Regards,
Andreas Henriksson

[1]: https://salsa.debian.org/mutt-team/mutt/commit/fd1a5ea0e9653473632af8ef8ae3bcc87c8b3161

mutt-alternatives.debdiff (5K) Download Attachment
neomutt-alternatives.debdiff (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Bug#882715: ping wrt mutt alternatives

Adam Borowski-3
In reply to this post by Adam Borowski-3
> Thus, could you please use alternatives to manage /usr/bin/mutt ?

Andreas:
> patches


So... I just got bitten by this again.  Ping?


--
⢀⣴⠾⠻⢶⣦⠀ Have you heard of the Amber Road?  For thousands of years, the
⣾⠁⢰⠒⠀⣿⡁ Romans and co valued amber, hauled through the Europe over the
⢿⡄⠘⠷⠚⠋⠀ mountains and along the Vistula, from Gdańsk.  To where it came
⠈⠳⣄⠀⠀⠀⠀ together with silk (judging by today's amber stalls).

Reply | Threaded
Open this post in threaded view
|

Bug#882715: ping wrt mutt alternatives

Jonathan Dowland
+1 from me; this is really necessary to ease the pain of this transition.

Clearly this is now too late for buster which is a real shame since this is
where the (really neo)mutt → mutt|neomutt transition will bite for most users.

There are lots of other tools that hard code "mutt" (e.g.: bts in devscripts,
and I think reportbug), so much so that attempting to use just the neomutt
package and not have mutt co-installed is painful (and local aliases, or
bash functions etc will not resolve those cases; although a symlink in ~/bin
or something in $PATH does).

I've given up attempting to have mutt and neomutt coinstalled and using the
same configurations happily, there's too much variation. Which also means
that my previously-working muttrc stuff for the really-neomutt mutt package
will break horribly when pkg:mutt becomes not-neomutt when those systems
are upgraded.

Argh!