Bug#991873: neomutt: Input fields are left when backspacing in position 0

2021-08-04 Thread Richard Russon
Hi Markus,

set abort_backspace = no

will stop this new feature.  It was introduced to make the input field
work more like vim's.

> clear the To: field using backspace (or ^U)

As you've discovered, many Readline commands are supported, for
navigation, text clearing, etc:

https://neomutt.org/guide/gettingstarted#4-%C2%A0editing-input-fields

Cheers,
Rich / FlatCap


signature.asc
Description: PGP signature


Bug#991873: neomutt: Input fields are left when backspacing in position 0

2021-08-04 Thread Markus Demleitner
Package: neomutt
Version: 20201127+dfsg.1-1.2
Severity: normal

Dear Maintainer,

Since upgrading to bullseye neomutt, hitting backspace on an empty
input line sends off the input for me.  For an example of where
this is obnoxious, try:

(a) reply to a mail

(b) clear the To: field using backspace (or ^U), and then hit backspace
once again

The effect for me is that mutt proceeds to requesting the Subject line.
The original recipient (i.e., the address I just backspaced away) is
retained by neomutt.

I'm sort-of doubting my system because nobody else has reported this so
far and the misbehaviour has (for me) been consistent in testing since I
upgraded to it, but I can't really imagine how anything (inputrc?) might
cause this behaviour.

And yeah, using ^U mitigates the problem in this concrete scenario, but
there is quite a bit of confusion caused in other contexts, too.

-- Package-specific info:
NeoMutt 20201127
Copyright (C) 1996-2020 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 5.13.4-dirty (x86_64)
ncurses: ncurses 6.2.20201114 (compiled with 6.2.20201114)
libidn: 1.33 (compiled with 1.33)
GPGME: 1.14.0-unknown
GnuTLS: 3.7.1
libnotmuch: 5.3.0
storage: tokyocabinet

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

Compilation CFLAGS: -g -O2 
-ffile-prefix-map=/build/neomutt-8uPELd/neomutt-20201127+dfsg.1=. 
-fstack-protector-strong -Wformat -Werror=format-security -std=c99 
-D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D__EXTENSIONS__ -D_FILE_OFFSET_BITS=64 
-I/usr/include -I/usr/include/lua5.4 -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:
  +autocrypt +bkgdset +color +curs_set +fcntl -flock -fmemopen +futimens 
  +getaddrinfo +gnutls +gpgme +gss +hcache -homespool +idn +inotify 
  -locales_hack +lua +meta +mixmaster +nls +notmuch -openssl +pgp +regex +sasl 
  +smime +sqlite +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://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: 

-- System Information:
Debian Release: 11.0
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: i386 (x86_64)

Kernel: Linux 5.13.4-dirty (SMP w/4 CPU threads)
Kernel taint flags: TAINT_USER, TAINT_OOT_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)

Versions of packages neomutt depends on:
ii  libc6 2.31-13
ii  libgnutls30   3.7.1-5
ii  libgpg-error0 1.38-2
ii  libgpgme111.14.0-1+b2
ii  libgssapi-krb5-2  1.18.3-6
ii  libidn11  1.33-3
ii  liblua5.4-0   5.4.2-2
ii  libncursesw6  6.2+20201114-2
ii  libnotmuch5   0.31.4-2
ii  libsasl2-22.1.27+dfsg-2.1
ii  libsqlite3-0  3.34.1-3
ii  libtinfo6 6.2+20201114-2
ii  libtokyocabinet9  1.4.48-13
ii  sensible-utils0.0.14

Versions of packages neomutt recommends:
ii  libsasl2-modules  2.1.27+dfsg-2.1
ii  locales   2.31-13
ii  mime-support  3.66

Versions of packages neomutt suggests:
ii  aspell 0.60.8-3
ii  ca-certificates20210119
ii  exim4-daemon-light [mail-transport-agent]  4.94.2-7
ii  gnupg  2.2.27-2
ii  ispell 3.4.02-2
pn  mixmaster  
ii  openssl1.1.1k-1
ii  urlview0.9-21

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

-- debconf-show failed