Subject: bug#10238: R in gnus-summary does not pop a frame like F does

From: Stefan Monnier <[email-masked]>
Date: Tue, 06 Dec 2011 16:20:22 -0500

Package: Emacs,gnus
Version: 24.0.92

I have a special-display-* setting like "\\*.*\\*" that makes all
buffers named with *...* to pop up in dedicated frames.
When I follow-up with F in gnus-summary, this is obeyed just fine and
pops up a new frame where I can comfortably edit my message.
But if I use R instead, the message-mode buffer is placed in the main
Gnus frame rather than in its own frame.  I.e. it disregards
special-display-*.

This is new in Emacs-24 and is caused by the `switch-to-buffer' argument
passed to `message-reply' in gnus-summary-reply since revno 103283
(appended below).

        Stefan

PS: BTW, please keep commit logs comments within the usual 80 (or even
72) columns!

------------------------------------------------------------
revno: 103283
author: Gnus developers <[email-masked]>
committer: Katsumi Yamaoka <[email-masked]>
branch nick: trunk
timestamp: Tue 2011-02-15 11:24:37 +0000
message:
  Merge changes made in Gnus trunk.
  
  auth.texi (Help for users): Login collection is "Login" and not "login".
  gnus-sum.el (gnus-propagate-marks): Default to nil.
   (gnus-summary-exit): Kill the correct article buffer on exit from a `C-d' group.
  gnus-start.el (gnus-use-backend-marks): Removed, since it duplicates gnus-propagate-marks.
  gnus-sum.el (gnus-summary-exit-no-update): Restore the group conf before killing the buffers so that a non-full window conf gets handled correctly.
   (gnus-summary-exit): Ditto.
   (gnus-summary-read-group-1): Ditto.
  nntp.el (nntp-retrieve-group-data-early): Reinstate the two-part async code again so that we can debug it properly.
  message.el (message-reply): Take an optional switch-buffer parameter so that Gnus window confs are respected better.
  auth-source.el (auth-source-secrets-search): Use `delete-dups', `append mapcar', and `butlast' instead of `remove-duplicates', `mapcan', and `subseq'.
   (auth-sources, auth-source-backend-parse, auth-source-secrets-search): Login collection is "Login" and not "login".
  gnus-art.el (article-update-date-lapsed): Don't bug out when updating multiple headers.

In GNU Emacs 24.0.92.1 (i686-pc-linux-gnu, GTK+ Version 2.24.8)
 of 2011-12-06 on faina
Windowing system distributor `The X.Org Foundation', version 11.0.11101901
configured using `configure  'CFLAGS=-Wall -Wno-pointer-sign -DUSE_LISP_UNION_TYPE -DSYNC_INPUT -DENABLE_CHECKING -DXASSERTS -DFONTSET_DEBUG -g -O1 -I/usr/include/GNUstep' 'LDFLAGS=-L/home/monnier/src/Xaw3d' 'CPPFLAGS=-I/home/monnier/src/Xaw3d' '--enable-maintainer-mode''

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: fr_CH.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Group

Minor modes in effect:
  diff-auto-refine-mode: t
  gnus-undo-mode: t
  electric-pair-mode: t
  electric-indent-mode: t
  url-handler-mode: t
  global-reveal-mode: t
  reveal-mode: t
  auto-insert-mode: t
  savehist-mode: t
  minibuffer-electric-default-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
" SPC t o SPC b e SPC a SPC r e g u l a r SPC e x p 
r e s s e i o n <backspace> <backspace> <backspace> 
<backspace> i o n , SPC t h e n SPC i t SPC g e t s 
SPC a SPC l o t SPC m o r e SPC i n t e r e s t i n 
g . <right> <up> <left> <right> <up> <left> <right> 
<down> <left> <right> <down> <left> <left> <left> <left> 
<left> <left> <left> <left> <left> <left> <left> <left> 
<left> <left> <left> <left> <left> <left> <left> <left> 
<right> <right> <M-backspace> <M-backspace> C-e <right> 
<up> <left> <right> <up> <left> <right> <down> <left> 
<right> <down> <left> <right> <down> <down> , SPC y 
o u SPC c a n SPC <M-backspace> <backspace> ' l l SPC 
p r o b a b l y SPC h a v e SPC t o SPC d o SPC t h 
e SPC s e a r c h SPC " b y SPC h a n d " SPC w i t 
h o u t SPC u s i n g SPC E m a c s ' s SPC b u i l 
t i n SPC s e a r c h SPC f u n c t i o n a l i t y 
. <return> <up> <up> <up> <up> <up> <left> <right> 
<down> <left> <right> <down> <left> <right> <down> 
<down> <left> <right> <down> <left> <right> <right> 
<right> <return> <return> M-i S t e f a n C-c C-c n 
k q s n <return> k q s <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> M-x r e p o - e m - b u <tab> 
<return>

Recent messages:
Saving file /home/monnier/var/newsrc.eld...
Wrote /home/monnier/var/newsrc.eld
Saving /home/monnier/var/newsrc.eld...done
nnimap read 0k
Expiring articles...done
Saving /home/monnier/var/newsrc.eld...
Saving file /home/monnier/var/newsrc.eld...
Wrote /home/monnier/var/newsrc.eld
Saving /home/monnier/var/newsrc.eld...done
byte-code: Beginning of buffer

Load-path shadows:
/usr/share/emacs23/site-lisp/bbdb/bbdb-com hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-com
/usr/share/emacs23/site-lisp/bbdb/bbdb-ftp hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-ftp
/usr/share/emacs23/site-lisp/bbdb/bbdb-rmail hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-rmail
/usr/share/emacs23/site-lisp/bbdb/bbdb-mhe hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-mhe
/usr/share/emacs23/site-lisp/bbdb/bbdb-gui hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-gui
/usr/share/emacs23/site-lisp/bbdb/bbdb-print hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-print
/usr/share/emacs23/site-lisp/bbdb/bbdb hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb
/usr/share/emacs23/site-lisp/bbdb/bbdb-w3 hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-w3
/usr/share/emacs23/site-lisp/bbdb/bbdb-sc hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-sc
/usr/share/emacs23/site-lisp/bbdb/bbdb-whois hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-whois
/usr/share/emacs23/site-lisp/bbdb/bbdb-snarf hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-snarf
/usr/share/emacs23/site-lisp/bbdb/bbdb-merge hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-merge
/usr/share/emacs23/site-lisp/bbdb/bbdb-vm hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-vm
/usr/share/emacs23/site-lisp/bbdb/bbdb-migrate hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-migrate
/usr/share/emacs23/site-lisp/bbdb/bbdb-gnus hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-gnus
/usr/share/emacs23/site-lisp/bbdb/bbdb-hooks hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-hooks

Features:
(emacsbug woman tutorial help-macro man info-look help-at-pt ehelp
apropos gnus-draft add-log log-view pcvs-util vc-annotate vc ediff-merg
ediff-diff ediff-wind ediff-help ediff-util ediff-mult ediff-init ediff
vc-dispatcher cl-specs xscheme trace testcover scheme unsafep re-builder
shadow inf-lisp ielm comint ring elp edebug cust-print cus-edit
cus-start cus-load vc-bzr filecache find-func browse-url pp mule-util
debug rect executable copyright multi-isearch diff-mode jka-compr
newcomment supercite regi flow-fill sort smiley ansi-color gnus-cite
mail-extr gnus-async gnus-bcklg qp gnus-ml nnfolder nndraft nnmh utf-7
rfc2104 gnutls nnimap parse-time utf7 netrc nnagent nnml network-stream
starttls tls gnus-agent gnus-srvr gnus-score score-mode nnvirtual
gnus-msg gnus-art mm-uu mml2015 epg-config mm-view mml-smime smime dig
mailcap nntp gnus-cache nnir gnus-sum nnoo gnus-group gnus-undo nnmail
mail-source server gnus-start gnus-spec gnus-int gnus-range message
sendmail format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode
mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils
mailheader gnus-win gnus gnus-ems nnheader mail-utils wid-edit noutline
outline easy-mmode flyspell ispell eldoc checkdoc regexp-opt thingatpt
help-mode view prog-mode load-dir electric url-handlers url-parse
auth-source warnings eieio byte-opt bytecomp byte-compile cconv macroexp
assoc gnus-util password-cache url-vars mm-util mail-prsvr reveal
autoinsert uniquify advice help-fns advice-preload time-date savehist
minibuf-eldef disp-table cl cl-loaddefs all-autoloads company-autoloads
debbugs-autoloads eldoc-eval-autoloads epoch-view-autoloads
jgraph-mode-autoloads js2-mode-autoloads lmc-autoloads
load-dir-autoloads markchars-autoloads minimap-autoloads muse-autoloads
info easymenu oauth2-autoloads quarter-plane-autoloads
rainbow-mode-autoloads register-list-autoloads shen-mode-autoloads
sisu-mode-autoloads svg-clock-autoloads undo-tree-autoloads
uni-confusables-autoloads windresize-autoloads package tabulated-list
proof-site proof-autoloads pg-vars bbdb-autoloads agda2 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 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)