GNU bug report logs - #2000
23.0.60; Rmail mode totally broken

Previous Next

Package: emacs;

Reported by: jpff <jpff <at> codemist.co.uk>

Date: Fri, 23 Jan 2009 10:15:03 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 2000 in the body.
You can then email your comments to 2000 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2000; Package emacs. (Fri, 23 Jan 2009 10:15:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to jpff <jpff <at> codemist.co.uk>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Fri, 23 Jan 2009 10:15:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: jpff <jpff <at> codemist.co.uk>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.60; Rmail mode totally broken
Date: Fri, 23 Jan 2009 10:05:26 +0000
This morning after updating from the CVS I cannot read any RMAIL file

File mode specification error: (wrong-type-argument stringp nil)

I am seeing messages about writing to /tmp/rmailXXX that I have not
seen before.  This happens on a number of RMAIL files I have, large or
small.



In GNU Emacs 23.0.60.10 (i686-pc-linux-gnu, GTK+ Version 2.12.0)
 of 2009-01-23 on cardew
Windowing system distributor `The X.Org Foundation', version 11.0.70200000
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_GB.UTF-8
  value of $XMODIFIERS: @im=local
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  eldoc-mode: t
  auto-image-file-mode: t
  show-paren-mode: t
  display-time-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<help-echo> <help-echo> C-x C-f R M A <tab> <return> 
y q C-x C-b <down> <down> <down> <down> <down> <return> 
<down> <down> C-v C-v C-v C-v C-v C-v M-x r m a i l 
- m o d e <return> q C-x 1 <escape> > <down-mouse-1> 
<mouse-1> <prior> <prior> <prior> <prior> <prior> <prior> 
<prior> <prior> <prior> <prior> <prior> <prior> <prior> 
<prior> <prior> <prior> <escape> < C-s d e l e t e 
d C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s 
C-s C-s C-s C-s , C-s C-s C-s C-s C-s <mouse-1> <mouse-1> 
<mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1> 
<mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1> 
<mouse-1> <mouse-1> <down-mouse-1> <mouse-1> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <left> <escape> SPC <escape> < C-x C-x 
C-x C-x M-x w r SPC r <return> R R 1 <return> M-x t 
o g g l e <tab> r e <tab> <return> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <right> C-x C-x C-x C-x C-w C-x C-w R 
R 2 <return> C-x k <return> C-x C-f R R 1 <return> 
q C-x C-f R R 2 <return> q M-m C-g C-x k <return> C-x 
C-f J u n k y <return> C-x k <return> M-m C-g C-x k 
<return> M-x e m a c s - b <tab> C-c C-c M-x r e p 
<tab> o <tab> r <tab> <return>

Recent messages:
Parsing /home/jpff/.mailrc... done
Quit
Wrote /tmp/rmail11248XPA
Writing messages to /tmp/rmail11248kZG...done
Replacing BABYL format with mbox format...
Entering debugger...
Quit
call-interactively: Symbol's function definition is void: elisp-compile-defun
Quit
Making completion list... [2 times]

==John ffitch




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2000; Package emacs. (Fri, 23 Jan 2009 14:35:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to jpff <jpff <at> cs.bath.ac.uk>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Fri, 23 Jan 2009 14:35:03 GMT) Full text and rfc822 format available.

Message #10 received at 2000 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: jpff <jpff <at> cs.bath.ac.uk>
To: 2000 <at> debbugs.gnu.org
Subject: A backtrace
Date: Fri, 23 Jan 2009 14:29:29 +0000
I managed to capture a backtrace

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  rmail-perm-variables()
  rmail-convert-babyl-to-mbox()
  rmail-convert-file-maybe()
  rmail-mode()
  set-auto-mode-0(rmail-mode nil)
  byte-code("ŸÅ‰ƒ/
  set-auto-mode()
  normal-mode(t)
  after-find-file(nil t)
  find-file-noselect-1(#<buffer Junky> "~/Junky" nil nil "~/Junky" (3933916 2050))
  find-file-noselect("~/Junky" nil nil t)
  find-file("~/Junky" t)
  call-interactively(find-file nil nil)

Not sure why it is converting from babyl format anyway, but it is
getting it wrong!
==John ffitch




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2000; Package emacs. (Fri, 23 Jan 2009 15:10:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Chong Yidong <cyd <at> stupidchicken.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Fri, 23 Jan 2009 15:10:04 GMT) Full text and rfc822 format available.

Message #15 received at 2000 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: jpff <jpff <at> cs.bath.ac.uk>
Cc: 2000 <at> debbugs.gnu.org
Subject: Re: 23.0.60; Rmail mode totally broken
Date: Fri, 23 Jan 2009 10:04:22 -0500
> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>   rmail-perm-variables()
>   rmail-convert-babyl-to-mbox()

I haven't been able to reproduce this bug.

Could you visit lisp/mail/rmail.el, evaluate the buffer, then trigger
the Lisp backtrace again?  This will give a more informative backtrace.

Thanks.




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2000; Package emacs. (Fri, 23 Jan 2009 15:20:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Chong Yidong <cyd <at> stupidchicken.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Fri, 23 Jan 2009 15:20:03 GMT) Full text and rfc822 format available.

Message #20 received at 2000 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: jpff <jpff <at> codemist.co.uk>
Cc: 2000 <at> debbugs.gnu.org
Subject: Re: 23.0.60; Rmail mode totally broken
Date: Fri, 23 Jan 2009 10:11:16 -0500
Ah, I can reproduce it now.  I've checked a fix into CVS.

> I am seeing messages about writing to /tmp/rmailXXX that I have not
> seen before.  This happens on a number of RMAIL files I have, large or
> small.

We just switched rmail to the new rmail-mbox code, which stores RMAIL
files in mbox format, rather than babyl.




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2000; Package emacs. (Fri, 23 Jan 2009 18:15:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to jpff <jpff <at> codemist.co.uk>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Fri, 23 Jan 2009 18:15:02 GMT) Full text and rfc822 format available.

Message #25 received at 2000 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: jpff <jpff <at> codemist.co.uk>
To: 2000 <at> debbugs.gnu.org
Subject: rmail mode still broken
Date: Fri, 23 Jan 2009 18:09:04 +0000
loaded a small RMAIL file and as it did not display labels I thought I
would try the headers (command h)

Debugger entered--Lisp error: (search-failed ",,")
  search-forward(",,")
  rmail-make-summary-line-1(1)
  rmail-make-summary-line(1)
  rmail-new-summary("All" (rmail-summary) nil)
  rmail-summary()
  call-interactively(rmail-summary nil nil)

So that makes rmail unusable for my world.  I have 18000 messages in
one file and keywords and header is important
==John ffitch





Wrote /tmp/rmail3878pag
Writing messages to /tmp/rmail3878xgZ...done
Replacing BABYL format with mbox format...
Counting messages...done
Replacing BABYL format with mbox format...done
Counting messages...done
Loading mail-extr...done
No following nondeleted message
Computing summary lines...
Entering debugger...




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2000; Package emacs. (Fri, 23 Jan 2009 19:35:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Chong Yidong <cyd <at> stupidchicken.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Fri, 23 Jan 2009 19:35:03 GMT) Full text and rfc822 format available.

Message #30 received at 2000 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: jpff <jpff <at> codemist.co.uk>
Cc: 2000 <at> debbugs.gnu.org
Subject: Re: 23.0.60; Rmail mode totally broken
Date: Fri, 23 Jan 2009 14:25:26 -0500
root <root <at> codemist.co.uk> writes:

> I tried your fixed rmail and it does not crash.  However it does not
> provide the label functionality either -- no labels on bottom line,
> and I suspect that that means that setting labels etc is not complete.
>
> I have lots of mail-handling code that uses labels for organisation,
> spam filters and so forth.  Will this rmail-mbox be truly backward
> compatableor do I have to recode it all?  Seems like a shame to me to
> lose a format that I have used for so many years.

I just fixed a couple of bugs in the label handling.  I do see labels
displayed on the mode-line, and the functionality explained in the
section on Labels in the manual now seems to work fine.

What is the nature of this mail-handling code of yours?  Do they make
use of internal Rmail functions, and, if so, what functions are these?




bug reassigned from package `emacs' to `emacs,rmail'. Request was from Juanma Barranquero <lekktu <at> gmail.com> to control <at> emacsbugs.donarmstrong.com. (Sat, 24 Jan 2009 13:10:04 GMT) Full text and rfc822 format available.

Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Wed, 28 Jan 2009 03:00:04 GMT) Full text and rfc822 format available.

Notification sent to jpff <jpff <at> codemist.co.uk>:
bug acknowledged by developer. (Wed, 28 Jan 2009 03:00:04 GMT) Full text and rfc822 format available.

Message #37 received at 2000-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 2000-done <at> debbugs.gnu.org
Subject: Re: bug#2000: 23.0.60; Rmail mode totally broken
Date: Tue, 27 Jan 2009 21:49:20 -0500
Closing this because the specific issue has been addressed. If
necessary, please open new bug(s) with concise, complete descriptions
of any remaining rmail issues.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Wed, 18 Mar 2009 14:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 245 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.