>>> It might be useful to load the uncompiled rmail.el
>>
>> OK, as noted earlier, this made me notice that I had old .elc files
>> lying around; on removing all of those and starting up emacs23, I find
>> that everything works fine

Unfortunately, I seem to be a donkey.  I actually started up emacs 22
- must have found the wrong icon, by habit, in the menu :-(

When I use emacs23 (with no .elc files in site now) I still get the
same problem.

> Please send a lisp backtrace after "M-x toggle-debug-on-error".

<quote>
Debugger entered--Lisp error: (void-variable rmail-highlight-face)
  (identity rmail-highlight-face)
  (or (identity rmail-highlight-face) (if (face-differs-from-default-p ...) 
(quote bold) (quote highlight)))
  (defvar rmime-highlight-face (or (identity rmail-highlight-face) (if ... ... 
...)))
  eval-buffer(#<buffer  *load*> nil "/disk/home/eddy/.sys/elisp/rmime.el" nil 
t)  ; Reading at buffer position 10081
  load-with-code-conversion("/disk/home/eddy/.sys/elisp/rmime.el" 
"/disk/home/eddy/.sys/elisp/rmime.el" t t)
  require(rmime nil t)
  unrmail("/disk/home/eddy/.sys/tmp/rmail124673Jw" 
"/disk/home/eddy/.sys/tmp/rmail12467EU2")
  rmail-convert-babyl-to-mbox()
  rmail-convert-file-maybe()
  rmail-mode()
  set-auto-mode-0(rmail-mode nil)
  byte-code("ŸÅ‰ƒ/...@Æ    !„ÇÈ  \"ˆ‚(ÉÊ       \f\"„(ËÌÅ\"ˆ\nA‰„     
*Ň" [modes mode --dolist-tail-- done keep-mode-if-same nil functionp message 
"Ignoring unknown mode `%s'" t set-auto-mode-0 throw nop] 4)
  set-auto-mode()
  normal-mode(t)
  after-find-file(nil t)
  find-file-noselect-1(#<buffer primary> "~/mail/pending/primary" nil nil 
"/home/eddy/mail/pending/primary" ((24595 . 52947) 19))
  find-file-noselect("~/mail/pending/primary" nil nil t)
  find-file("~/mail/pending/primary" t)
  call-interactively(find-file nil nil)
</quote>

hmm ... seems to implicate rmime a lot.
So I commented out 

<quote>
(add-hook 'rmail-show-message-hook 'rmime-format)
(add-hook 'rmail-edit-mode-hook    'rmime-cancel)
(autoload 'rmime-format "rmime" "" nil)
</quote>

from my config and tried again, getting: <quote>

Debugger entered--Lisp error: (void-variable rmail-highlight-face)
  (identity rmail-highlight-face)
  (or (identity rmail-highlight-face) (if (face-differs-from-default-p ...) 
(quote bold) (quote highlight)))
  (defvar rmime-highlight-face (or (identity rmail-highlight-face) (if ... ... 
...)))
  eval-buffer(#<buffer  *load*> nil "/disk/home/eddy/.sys/elisp/rmime.el" nil 
t)  ; Reading at buffer position 10081
  load-with-code-conversion("/disk/home/eddy/.sys/elisp/rmime.el" 
"/disk/home/eddy/.sys/elisp/rmime.el" t t)
  require(rmime nil t)
  unrmail("/disk/home/eddy/.sys/tmp/rmail12506W5j" 
"/disk/home/eddy/.sys/tmp/rmail12506jDq")
  rmail-convert-babyl-to-mbox()
  rmail-convert-file-maybe()
  rmail-mode()
  set-auto-mode-0(rmail-mode nil)
  byte-code("ŸÅ‰ƒ/...@Æ    !„ÇÈ  \"ˆ‚(ÉÊ       \f\"„(ËÌÅ\"ˆ\nA‰„     
*Ň" [modes mode --dolist-tail-- done keep-mode-if-same nil functionp message 
"Ignoring unknown mode `%s'" t set-auto-mode-0 throw nop] 4)
  set-auto-mode()
  normal-mode(t)
  after-find-file(nil t)
  find-file-noselect-1(#<buffer primary> "~/mail/pending/primary" nil nil 
"/home/eddy/mail/pending/primary" ((24595 . 52947) 19))
  find-file-noselect("~/mail/pending/primary" nil nil t)
  find-file("~/mail/pending/primary" t)
  call-interactively(find-file nil nil)

</quote>

hmm ... still involves lots of rmime - maybe that's built-in these
days.  Moved my copies of metamail.el, rmailmime.el, rmime.el to an
out-of-the-way directory (I think only the last was actually being
used, but hey ... its fellow travellers can go with it).  The loading
of a sample babyl-format file then proceeds with a minor delay but no
hitch.

So bug is still closed, but I closed it for all the wrong reasons !
Actual cause was an out-of-date rmime.el from I-forget-where, not a
problem with .elc files,

        Eddy.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to