Package: mutt
Version: 2.2.13-1
Severity: normal
X-Debbugs-Cc: lym...@gmail.com

Dear Maintainer,

Using mutt with emacs as editor is my choice for the last decades. But
now, I experienced some problems:

1 - emacs started to complain after editing a message and closing it
with C-x C-c. The message was: "no server editing buffer exist". All I
had to do was to save the buffer (C-x C-s) and kill it (C-c k), so I got
the standart screen before sendind the e-mail.

2 - looking for solutions, I found something about emacs server and gave
it a try (is this necessary or not? if not, how to get this fixed this
way?). First I changed my editor variable in .muttrc from

set editor="emacs %s -f post-mode"

to

set editor = "emacsclient -a ' ' -t -n"

Then added the following lines to .emacs:

;; ~/.emacs - Server Configuration
;; Enable server mode for daemon functionality
(require 'server)

;; Start the server only if we are in daemon mode.
;; This is the safest, most correct way.
(when (daemonp)
  (server-mode))

Enabled emacs.service in systemctl:

systemctl --user enable emacs.service

Rebooted to simulate real use in the future. When I try to compose or
answer an email I get the following from emacs (even if it is the first
thing I do):

The current server still has clients; delete them? (yes or no)

If I answer no, emacs opens regularly and I can edit and close the
client (learned that it must be done with C-x #, no C-x C-c). If the
answer is yes it closes emacs, go back to mutt screen saying "Aborted
unmodified message."

I'm clueless here, but I can provide any further information to fix
this. Running emacs 30.1 here, installed by emacs-gtk package from stock
Debian 13.

Best, Alexandre

-- Package-specific info:
Mutt 2.2.13 (2024-03-09)
Copyright (C) 1996-2023 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: Linux 6.12.38+deb13-amd64 (x86_64)
ncurses: ncurses 6.5.20250216 (compiled with 6.5)
libidn2: 2.3.8 (compiled with 2.3.7)
hcache backend: tokyocabinet 1.4.48

Compiler:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-linux-gnu/14/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 14.1.0-5' 
--with-bugurl=file:///usr/share/doc/gcc-14/README.Bugs 
--enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2,rust --prefix=/usr 
--with-gcc-major-version-only --program-suffix=-14 
--program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id 
--libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix 
--libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu 
--enable-libstdcxx-debug --enable-libstdcxx-time=yes 
--with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace 
--enable-gnu-unique-object --disable-vtable-verify --enable-plugin 
--enable-default-pie --with-system-zlib --enable-libphobos-checking=release 
--with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch 
--disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 
--with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic 
--enable-offload-targets=nvptx-none=/build/reproducible-path/gcc-14-14.1.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/reproducible-path/gcc-14-14.1.0/debian/tmp-gcn/usr
 --enable-offload-defaulted --without-cuda-driver --enable-checking=release 
--build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu 
--with-build-config=bootstrap-lto-lean --enable-link-serialization=3
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 14.1.0 (Debian 14.1.0-5) 

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-option-checking --disable-silent-rules 
'--libdir=${prefix}/lib/x86_64-linux-gnu' --runstatedir=/run 
--disable-maintainer-mode --disable-dependency-tracking 
--with-mailpath=/var/mail --enable-compressed --enable-debug --enable-fcntl 
--enable-hcache --enable-gpgme --enable-imap --enable-smtp --enable-pop 
--enable-sidebar --enable-dotlock --disable-fmemopen --with-curses 
--with-gnutls --with-gss --with-idn2 --with-mixmaster --with-gsasl 
--without-gdbm --without-bdb --without-qdbm --with-tokyocabinet 
build_alias=x86_64-linux-gnu 'CFLAGS=-g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/mutt-2.2.13=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 
'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'

Compilation CFLAGS: -Wall -pedantic -Wno-long-long -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/mutt-2.2.13=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection

Compile options:
-DOMAIN
+DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  +USE_FCNTL  -USE_FLOCK   
+USE_POP  +USE_IMAP  +USE_SMTP  
-USE_SSL_OPENSSL  +USE_SSL_GNUTLS  -USE_SASL  +USE_GSASL  +USE_GSS  
+HAVE_GETADDRINFO  
+HAVE_REGCOMP  -USE_GNU_REGEX  
+HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET  
+HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM  +HAVE_FUTIMENS  
+CRYPT_BACKEND_CLASSIC_PGP  +CRYPT_BACKEND_CLASSIC_SMIME  +CRYPT_BACKEND_GPGME  
-EXACT_ADDRESS  -SUN_ATTACHMENT  
+ENABLE_NLS  -LOCALES_HACK  +HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET  
+HAVE_LANGINFO_YESEXPR  
+HAVE_ICONV  +ICONV_NONTRANS  -HAVE_LIBIDN  +HAVE_LIBIDN2  +HAVE_GETSID  
+USE_HCACHE  
+USE_SIDEBAR  +USE_COMPRESSED  +USE_INOTIFY  
-ISPELL
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/usr/share/mutt"
SYSCONFDIR="/etc"
EXECSHELL="/bin/sh"
MIXMASTER="mixmaster"

To contact the developers, please mail to <mutt-...@mutt.org>.
To report a bug, please contact the Mutt maintainers via gitlab:
    https://gitlab.com/muttmua/mutt/issues


-- System Information:
Debian Release: 13.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.38+deb13-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages mutt depends on:
ii  libc6                2.41-12
ii  libgnutls30t64       3.8.9-3
ii  libgpg-error0        1.51-4
ii  libgpgme11t64        1.24.2-3
ii  libgsasl18           2.2.2-1.1
ii  libgssapi-krb5-2     1.21.3-5
ii  libidn2-0            2.3.8-2
ii  libncursesw6         6.5+20250216-2
ii  libtinfo6            6.5+20250216-2
ii  libtokyocabinet9t64  1.4.48-15.1+b1
ii  zlib1g               1:1.3.dfsg+really1.3.1-1+b1

Versions of packages mutt recommends:
ii  locales         2.41-12
ii  mailcap         3.74
ii  sensible-utils  0.0.25

Versions of packages mutt suggests:
ii  aspell                            0.60.8.1-4
ii  ca-certificates                   20250419
ii  gnupg                             2.4.7-21
ii  ispell                            3.4.06-1
ii  msmtp-mta [mail-transport-agent]  1.8.28-3
ii  openssl                           3.5.1-1
pn  urlview                           <none>

Versions of packages mutt is related to:
ii  mutt  2.2.13-1

-- no debconf information

Reply via email to