From: "Barak A. Pearlmutter" <barak@cs.nuim.ie>
To: 5594@debbugs.gnu.org
Subject: bug#5594: 23.1; calling rmail-cease-edit sets rmail-buffer to nil
Date: Thu, 18 Feb 2010 01:46:18 +0000 [thread overview]
Message-ID: <E1NhvT8-0004Bx-Ux@golconda.cs.nuim.ie> (raw)
I use rmail with mailcrypt. After transitioning to Emacs 23,
mc-rmail-decrypt-message would bomb with an error after replacing the
text, and would therefore not set the labels appropriately.
Tracked the problem down to a call to (rmail-cease-edit) just before
some (rmail-*-label) calls. The label manipulation was failing. It
turned out that immediately before the (rmail-cease-edit) call, the
variable rmail-buffer was set correctly, and immediately after it was
not. This caused the label manipulation to bomb:
Wrong type argument: stringp, nil
There is a workaround to the problem in mailcrypt
http://github.com/barak/mailcrypt/commit/d2c046cd100dbdfd427e0f31eec1fd39fc5a0da6
but the underlying issue seems like something that probably broke in
the transition to rmail/mbox from rmail/babyl, so I thought I'd bring
it to your attention.
--Barak.
--
Barak A. Pearlmutter <barak@cs.nuim.ie>
Hamilton Institute & Dept Comp Sci, NUI Maynooth, Co. Kildare, Ireland
http://www.bcl.hamilton.ie/~barak/
----------------------------------------------------------------
In GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.12.12)
of 2009-10-19 on debian-build.int-office-er.priv, modified by Debian
configured using `configure '--build=i486-linux-gnu' '--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS=''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_IE@euro
value of $XMODIFIERS: nil
locale-coding-system: iso-latin-9-unix
default-enable-multibyte-characters: t
next reply other threads:[~2010-02-18 1:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-18 1:46 Barak A. Pearlmutter [this message]
2010-02-19 8:57 ` bug#5594: 23.1; calling rmail-cease-edit sets rmail-buffer to nil Glenn Morris
2010-02-22 13:42 ` Barak A. Pearlmutter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1NhvT8-0004Bx-Ux@golconda.cs.nuim.ie \
--to=barak@cs.nuim.ie \
--cc=5594@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.