From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Barak A. Pearlmutter" Newsgroups: gmane.emacs.bugs Subject: bug#5594: 23.1; calling rmail-cease-edit sets rmail-buffer to nil Date: Thu, 18 Feb 2010 01:46:18 +0000 Message-ID: NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1266557866 12643 80.91.229.12 (19 Feb 2010 05:37:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Feb 2010 05:37:46 +0000 (UTC) To: 5594@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 19 06:37:43 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NiLYc-00005q-KM for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Feb 2010 06:37:43 +0100 Original-Received: from localhost ([127.0.0.1]:53742 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NiLYc-0003tA-5O for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Feb 2010 00:37:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nhw2V-0007a5-Pz for bug-gnu-emacs@gnu.org; Wed, 17 Feb 2010 21:22:51 -0500 Original-Received: from [140.186.70.92] (port=50165 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nhw2U-0007ZX-Hs for bug-gnu-emacs@gnu.org; Wed, 17 Feb 2010 21:22:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nhw2T-00005X-NB for bug-gnu-emacs@gnu.org; Wed, 17 Feb 2010 21:22:50 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43612) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nhw2T-00005N-DJ for bug-gnu-emacs@gnu.org; Wed, 17 Feb 2010 21:22:49 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NhvoA-0004rs-GE; Wed, 17 Feb 2010 21:08:02 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: "Barak A. Pearlmutter" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 Feb 2010 02:08:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: report 5594 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.126645884218691 (code B ref -1); Thu, 18 Feb 2010 02:08:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 Feb 2010 02:07:22 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NhvnS-0004rM-U0 for submit@debbugs.gnu.org; Wed, 17 Feb 2010 21:07:22 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NhvTM-0004d4-JP for submit@debbugs.gnu.org; Wed, 17 Feb 2010 20:46:33 -0500 Original-Received: from mx10.gnu.org ([199.232.76.166]:52226) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NhvTJ-0004d5-1f for submit@debbugs.gnu.org; Wed, 17 Feb 2010 20:46:29 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NhvTH-0003hP-3I for submit@debbugs.gnu.org; Wed, 17 Feb 2010 20:46:28 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:45701) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NhvTG-0003hH-Th for submit@debbugs.gnu.org; Wed, 17 Feb 2010 20:46:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NhvTG-0003c4-BV for bug-gnu-emacs@gnu.org; Wed, 17 Feb 2010 20:46:26 -0500 Original-Received: from [140.186.70.92] (port=36716 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NhvTE-0003bh-OZ for bug-gnu-emacs@gnu.org; Wed, 17 Feb 2010 20:46:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NhvTD-0003hy-Lo for bug-gnu-emacs@gnu.org; Wed, 17 Feb 2010 20:46:24 -0500 Original-Received: from mail.cs.may.ie ([149.157.246.225]:45962) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NhvTD-0003hO-EZ for bug-gnu-emacs@gnu.org; Wed, 17 Feb 2010 20:46:23 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by mail.cs.may.ie (8.13.4/8.13.4/Debian-3sarge1) with ESMTP id o1I1kKpP018460; Thu, 18 Feb 2010 01:46:20 GMT X-Virus-Scanned: Debian amavisd-new at cs.nuim.ie Original-Received: from mail.cs.may.ie ([127.0.0.1]) by localhost (mail.cs.may.ie [127.0.0.1]) (amavisd-new, port 10024) with LMTP id fNb1KKHQtaHf; Thu, 18 Feb 2010 01:46:19 +0000 (GMT) Original-Received: from golconda.cs.nuim.ie (golconda.cs.nuim.ie [149.157.245.66]) by mail.cs.may.ie (8.13.4/8.13.4/Debian-3sarge1) with ESMTP id o1I1kI3O018454 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Thu, 18 Feb 2010 01:46:19 GMT Original-Received: from barak by golconda.cs.nuim.ie with local (Exim 4.69) (envelope-from ) id 1NhvT8-0004Bx-Ux; Thu, 18 Feb 2010 01:46:18 +0000 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Wed, 17 Feb 2010 21:07:17 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 17 Feb 2010 21:08:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Fri, 19 Feb 2010 00:37:11 -0500 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:35188 Archived-At: 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 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