Subject: bug#9585: 24.0.50; Previewing mails triggers an error if Gnus is not running

From: Sven Joachim <[email-masked]>
Date: Fri, 23 Sep 2011 08:40:09 +0200

> Please describe exactly what actions triggered the bug, and
> the precise symptoms of the bug.  If you can, give a recipe
> starting from `emacs -Q':

In `emacs -Q', start composing a message with C-x m.  Fill out the To:
and Subject: fields, and type C-c RET P to preview the mail.  Result is
an error: No buffer named *Group*.  Backtrace follows:

,----
| Debugger entered--Lisp error: (error "No buffer named *Group*")
|   gnus-group-find-parameter("dummy" banner nil)
|   gnus-parameter-banner("dummy")
|   article-strip-banner()
|   apply(article-strip-banner nil)
|   (if interactive (call-interactively (quote article-strip-banner)) (apply (quote article-strip-banner) args))
|   (save-current-buffer (set-buffer gnus-article-buffer) (if interactive (call-interactively (quote article-strip-banner)) (apply (quote article-strip-banner) args)))
|   (with-current-buffer gnus-article-buffer (if interactive (call-interactively (quote article-strip-banner)) (apply (quote article-strip-banner) args)))
|   gnus-article-strip-banner()
|   gnus-treat-article(nil 1 1 "text/plain")
|   gnus-display-mime()
|   gnus-article-prepare-display()
|   mml-preview(nil)
|   call-interactively(mml-preview nil nil)
`----

In GNU Emacs 24.0.50.2 (i486-pc-linux-gnu, GTK+ Version 2.24.6)
 of 2011-09-23 on turtle
Windowing system distributor `The X.Org Foundation', version 11.0.11100000
configured using `configure  '--build=i486-pc-linux-gnu' '--without-gconf' 'build_alias=i486-pc-linux-gnu''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: C
  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: de_DE.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Message

Minor modes in effect:
  mml-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t
  abbrev-mode: t

Recent input:
<help-echo> C-x m C-c <return> P b l a b l a <return> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<tool-bar> <Preview> C-g <help-echo> b l a v <backspace> 
b l a @ e x a m p l e . o r g <tool-bar> <Preview> 
C-g <help-echo> <down> n o n e <tool-bar> <Preview> 
C-x C-s <help-echo> <help-echo> M-x t o g g l e - d 
e b <tab> e r r <tab> <return> <help-echo> <help-echo> 
<tool-bar> <Preview> C-x 0 <help-echo> M-x r e p o 
r t - e m a <tab> <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
gnus-parameter-banner: No buffer named *Group*
Quit [2 times]
gnus-parameter-banner: No buffer named *Group*
Saving file /home/sven/Mail/drafts/*message*-20110923-082631...
Loading vc-git...done
Wrote /home/sven/Mail/drafts/*message*-20110923-082631
Debug on Error enabled globally
Entering debugger...

Load-path shadows:
None found.

Features:
(shadow emacsbug help-mode view debug cus-start cus-load vc-git
mail-extr sort gnus-msg gnus-art mm-uu mml2015 epg-config mm-view
mml-smime smime password-cache dig mailcap nnir gnus-sum macroexp nnoo
gnus-group gnus-undo nnmail mail-source gnus-start gnus-spec gnus-int
gnus-range gnus-win gnus gnus-ems nnheader wid-edit gnus-util message
format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode
mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr
mailabbrev mail-utils gmm-utils mailheader time-date tooltip ediff-hook
vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image
fringe lisp-mode register page menu-bar rfn-eshadow timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese hebrew greek romanian slovak czech european ethiopic
indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
abbrev minibuffer loaddefs button faces cus-face files text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dbusbind
dynamic-setting system-font-setting font-render-setting move-toolbar gtk
x-toolkit x multi-tty emacs)