GNU bug report logs -
#2282
23.0.90; rmail -- rmail-summary splits frame into three parts...
Previous Next
Reported by: ams <at> gnu.org
Date: Wed, 11 Feb 2009 11:25:04 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 2282 in the body.
You can then email your comments to 2282 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#2282
; Package
emacs
.
(Wed, 11 Feb 2009 11:25:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
ams <at> gnu.org
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Wed, 11 Feb 2009 11:25:04 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
When one does a M-x rmail, and then invokes rmail-summary, the frame
is split into three parts:
+-----------+----------+
| | |
| *scratch* | rmail |
| | |
+-----------+----------+
| rmail-summary |
| |
+----------------------+
In GNU Emacs 23.0.90.1 (i686-pc-linux-gnu, GTK+ Version 2.12.11)
of 2009-02-11 on beryx
Windowing system distributor `The X.Org Foundation', version 11.0.10402000
configured using `configure 'PATH=/home/ams/l/bin:/usr/local/bin:/usr/bin:/bin:/usr/games' 'PKG_CONFIG_PATH=/home/ams/l/lib/pkgconfig''
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: C
value of $XMODIFIERS: nil
locale-coding-system: nil
default-enable-multibyte-characters: t
Major mode: RMAIL Summary
Minor modes in effect:
tooltip-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-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:
M-x r m a i l <return> y n d d d h M-x r e p o <tab>
r t <tab> <return>
Recent messages:
Getting mail from the remote server ...
Counting new messages...done (5)
Saving file /home/ams/RMAIL...
Wrote /home/ams/RMAIL
5 new messages read
Added to /home/ams/RMAIL.inbox:sysadmin <at> kreditor
Added to /home/ams/RMAIL.inbox:ams <at> kreditor
No following nondeleted message
Computing summary lines...done
Making completion list...
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#2282
; Package
emacs
.
(Wed, 11 Feb 2009 20:40:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Eli Zaretskii <eliz <at> gnu.org>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Wed, 11 Feb 2009 20:40:04 GMT)
Full text and
rfc822 format available.
Message #10 received at 2282 <at> emacsbugs.donarmstrong.com (full text, mbox):
> From: "Alfred M\. Szmidt" <ams <at> gnu.org>
> Date: Wed, 11 Feb 2009 12:17:58 +0100
> Cc:
>
> When one does a M-x rmail, and then invokes rmail-summary, the frame
> is split into three parts:
>
> +-----------+----------+
> | | |
> | *scratch* | rmail |
> | | |
> +-----------+----------+
> | rmail-summary |
> | |
> +----------------------+
Does this happen with "emacs -Q"? cause it never happened to me.
Or perhaps you started Rmail from this window configuration:
+-----------+----------+
| |
| *scratch* |
| |
+-----------+----------+
| rmail |
| |
+----------------------+
in the first place??
bug reassigned from package `emacs' to `emacs,rmail'.
Request was from
Juanma Barranquero <lekktu <at> gmail.com>
to
control <at> emacsbugs.donarmstrong.com
.
(Thu, 12 Feb 2009 10:35:04 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, Rmail Maintainers <bug-gnu-emacs <at> gnu.org>
:
bug#2282
; Package
emacs,rmail
.
(Thu, 12 Feb 2009 11:35:05 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
ams <at> gnu.org
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>, Rmail Maintainers <bug-gnu-emacs <at> gnu.org>
.
(Thu, 12 Feb 2009 11:35:05 GMT)
Full text and
rfc822 format available.
Message #17 received at 2282 <at> emacsbugs.donarmstrong.com (full text, mbox):
> When one does a M-x rmail, and then invokes rmail-summary, the frame
> is split into three parts:
>
> +-----------+----------+
> | | |
> | *scratch* | rmail |
> | | |
> +-----------+----------+
> | rmail-summary |
> | |
> +----------------------+
Does this happen with "emacs -Q"? cause it never happened to me.
Even with -Q.
Or perhaps you started Rmail from this window configuration:
+-----------+----------+
| |
| *scratch* |
| |
+-----------+----------+
| rmail |
| |
+----------------------+
in the first place??
No, initial window configuration looks like this:
+----------------------+
| |
| *scratch* |
| |
| |
| |
| |
+----------------------+
But if rmail would split into three frames, based on the window
configuration you mentioned, then I would consider it a bug as well.
Atleast, it was not the behaviour of rmail before the mbox merge.
Tags added: moreinfo, unreproducible
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> emacsbugs.donarmstrong.com
.
(Tue, 17 Feb 2009 18:00:03 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, Rmail Maintainers <bug-gnu-emacs <at> gnu.org>
:
bug#2282
; Package
emacs,rmail
.
(Fri, 27 Feb 2009 08:50:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
ams <at> gnu.org
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>, Rmail Maintainers <bug-gnu-emacs <at> gnu.org>
.
(Fri, 27 Feb 2009 08:50:03 GMT)
Full text and
rfc822 format available.
Message #24 received at 2282 <at> emacsbugs.donarmstrong.com (full text, mbox):
I have narrowed the problem down a bit, it seems to only happen when I
hook a external monitor to my laptop.
If I am on my laptop without a external monitor, everything works as
expected. If I hook the external monitor, it gets the behaviour I
mentioned (three windows).
How can I go about debugging this? I am guessing it has to do with
emacs' sframe splitting code where it calculates the size somehow, and
that gets messed up so it fails to split the frame correctly.
Tags set to:
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> emacsbugs.donarmstrong.com
.
(Fri, 27 Feb 2009 18:20:03 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, Rmail Maintainers <bug-gnu-emacs <at> gnu.org>
:
bug#2282
; Package
emacs,rmail
.
(Tue, 10 Nov 2009 02:15:04 GMT)
Full text and
rfc822 format available.
Message #29 received at 2282 <at> emacsbugs.donarmstrong.com (full text, mbox):
(Replying to old bug)
The behaviour described in the original report happens if you make the
Emacs frame wider than `split-width-threshold'. Setting that variable
to nil will prevent it.
I don't know what to do about this. There are lots of pop-to-buffers
in rmailsum.el, and any of them could cause such behaviour.
See the confusion in bug#1806.
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, Rmail Maintainers <bug-gnu-emacs <at> gnu.org>
:
bug#2282
; Package
emacs,rmail
.
(Tue, 10 Nov 2009 08:00:05 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Juri Linkov <juri <at> jurta.org>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>, Rmail Maintainers <bug-gnu-emacs <at> gnu.org>
.
(Tue, 10 Nov 2009 08:00:06 GMT)
Full text and
rfc822 format available.
Message #34 received at 2282 <at> emacsbugs.donarmstrong.com (full text, mbox):
> The behaviour described in the original report happens if you make the
> Emacs frame wider than `split-width-threshold'. Setting that variable
> to nil will prevent it.
>
> I don't know what to do about this. There are lots of pop-to-buffers
> in rmailsum.el, and any of them could cause such behaviour.
>
> See the confusion in bug#1806.
With the current CVS after `M-x rmail-summary' I see
+---------------+---------------+
| | |
| RMAIL-summary | RMAIL |
| | |
+---------------+---------------+
| |
| RMAIL-summary |
| |
+-------------------------------+
I think for RMAIL both following layouts make equal sense
on a wide frame:
+---------------+---------------+
| | |
| RMAIL-summary | RMAIL |
| | |
| | |
| | |
| | |
| | |
+---------------+---------------+
and
+-------------------------------+
| |
| RMAIL-summary |
| |
+-------------------------------+
| |
| RMAIL |
| |
+-------------------------------+
The question is what options are necessary to be able to configure RMAIL
window layouts? Maybe like `gnus-buffer-configuration' in Gnus?
--
Juri Linkov
http://www.jurta.org/emacs/
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, Rmail Maintainers <bug-gnu-emacs <at> gnu.org>
:
bug#2282
; Package
emacs,rmail
.
(Tue, 10 Nov 2009 18:00:07 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Stefan Monnier <monnier <at> IRO.UMontreal.CA>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>, Rmail Maintainers <bug-gnu-emacs <at> gnu.org>
.
(Tue, 10 Nov 2009 18:00:07 GMT)
Full text and
rfc822 format available.
Message #39 received at 2282 <at> emacsbugs.donarmstrong.com (full text, mbox):
> With the current CVS after `M-x rmail-summary' I see
> +---------------+---------------+
> | | |
> | RMAIL-summary | RMAIL |
> | | |
> +---------------+---------------+
> | |
> | RMAIL-summary |
> | |
> +-------------------------------+
This is a bug, please someone fix it.
Stefan
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, Rmail Maintainers <bug-gnu-emacs <at> gnu.org>
:
bug#2282
; Package
emacs,rmail
.
(Wed, 11 Nov 2009 17:30:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
ams <at> gnu.org
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>, Rmail Maintainers <bug-gnu-emacs <at> gnu.org>
.
(Wed, 11 Nov 2009 17:30:04 GMT)
Full text and
rfc822 format available.
Message #44 received at 2282 <at> emacsbugs.donarmstrong.com (full text, mbox):
Thanks for doing a follow up on this bug.
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, Rmail Maintainers <bug-gnu-emacs <at> gnu.org>
:
bug#2282
; Package
emacs,rmail
.
(Thu, 12 Nov 2009 07:30:10 GMT)
Full text and
rfc822 format available.
Message #47 received at 2282 <at> emacsbugs.donarmstrong.com (full text, mbox):
"Alfred M. Szmidt" wrote:
> Thanks for doing a follow up on this bug.
Could you confirm your problem goes away after:
(setq split-width-threshold nil)
I'm tempted to just replace all pop-to-buffers in rmail*.el with
(defun rmail-pop-to-buffer (buffer-or-name &optional other-window norecord)
(let (split-width-threshold)
(pop-to-buffer buffer-or-name other-window norecord)))
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, Rmail Maintainers <bug-gnu-emacs <at> gnu.org>
:
bug#2282
; Package
emacs,rmail
.
(Thu, 12 Nov 2009 08:25:05 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
martin rudalics <rudalics <at> gmx.at>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>, Rmail Maintainers <bug-gnu-emacs <at> gnu.org>
.
(Thu, 12 Nov 2009 08:25:06 GMT)
Full text and
rfc822 format available.
Message #52 received at 2282 <at> emacsbugs.donarmstrong.com (full text, mbox):
> I'm tempted to just replace all pop-to-buffers in rmail*.el with
>
> (defun rmail-pop-to-buffer (buffer-or-name &optional other-window norecord)
> (let (split-width-threshold)
> (pop-to-buffer buffer-or-name other-window norecord)))
I suppose the following code in `rmail-new-summary' is responsible for
the behavior described earlier.
(if (and (one-window-p)
pop-up-windows
(not pop-up-frames))
;; If there is just one window, put the summary on the top.
(progn
(split-window (selected-window) rmail-summary-window-size)
(select-window (next-window (frame-first-window)))
(pop-to-buffer rmail-summary-buffer)
;; If pop-to-buffer did not use that window, delete that
;; window. (This can happen if it uses another frame.)
(if (not (eq rmail-summary-buffer
(window-buffer (frame-first-window))))
(delete-other-windows)))
(pop-to-buffer rmail-summary-buffer))
What is that code supposed to do what a simple `pop-to-buffer' cannot
accomplish? If it's to display the summary on top of the frame, then
splitting horizontally obviously won't make sense here.
martin
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, Rmail Maintainers <bug-gnu-emacs <at> gnu.org>
:
bug#2282
; Package
emacs,rmail
.
(Thu, 12 Nov 2009 15:50:05 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Stefan Monnier <monnier <at> iro.umontreal.ca>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>, Rmail Maintainers <bug-gnu-emacs <at> gnu.org>
.
(Thu, 12 Nov 2009 15:50:05 GMT)
Full text and
rfc822 format available.
Message #57 received at 2282 <at> emacsbugs.donarmstrong.com (full text, mbox):
> I'm tempted to just replace all pop-to-buffers in rmail*.el with
> (defun rmail-pop-to-buffer (buffer-or-name &optional other-window norecord)
> (let (split-width-threshold)
> (pop-to-buffer buffer-or-name other-window norecord)))
No, please don't: the problem is in pop-to-buffer which should never
create 3 windows out of 1.
Stefan
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, Rmail Maintainers <bug-gnu-emacs <at> gnu.org>
:
bug#2282
; Package
emacs,rmail
.
(Thu, 12 Nov 2009 15:50:07 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Stefan Monnier <monnier <at> iro.umontreal.ca>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>, Rmail Maintainers <bug-gnu-emacs <at> gnu.org>
.
(Thu, 12 Nov 2009 15:50:07 GMT)
Full text and
rfc822 format available.
Message #62 received at 2282 <at> emacsbugs.donarmstrong.com (full text, mbox):
>> I'm tempted to just replace all pop-to-buffers in rmail*.el with
>>
>> (defun rmail-pop-to-buffer (buffer-or-name &optional other-window norecord)
>> (let (split-width-threshold)
>> (pop-to-buffer buffer-or-name other-window norecord)))
> I suppose the following code in `rmail-new-summary' is responsible for
> the behavior described earlier.
> (if (and (one-window-p)
> pop-up-windows
> (not pop-up-frames))
> ;; If there is just one window, put the summary on the top.
> (progn
> (split-window (selected-window) rmail-summary-window-size)
> (select-window (next-window (frame-first-window)))
> (pop-to-buffer rmail-summary-buffer)
> ;; If pop-to-buffer did not use that window, delete that
> ;; window. (This can happen if it uses another frame.)
> (if (not (eq rmail-summary-buffer
> (window-buffer (frame-first-window))))
> (delete-other-windows)))
> (pop-to-buffer rmail-summary-buffer))
> What is that code supposed to do what a simple `pop-to-buffer' cannot
> accomplish? If it's to display the summary on top of the frame, then
> splitting horizontally obviously won't make sense here.
Hmm... maybe I misunderstood and the problem may indeed not be in
pop-to-buffer, in the end.
Stefan
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, Rmail Maintainers <bug-gnu-emacs <at> gnu.org>
:
bug#2282
; Package
emacs,rmail
.
(Thu, 12 Nov 2009 17:50:06 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
martin rudalics <rudalics <at> gmx.at>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>, Rmail Maintainers <bug-gnu-emacs <at> gnu.org>
.
(Thu, 12 Nov 2009 17:50:06 GMT)
Full text and
rfc822 format available.
Message #67 received at 2282 <at> emacsbugs.donarmstrong.com (full text, mbox):
> No, please don't: the problem is in pop-to-buffer which should never
> create 3 windows out of 1.
Well, we _could_ implement that ;-)
martin
Reply sent
to
Glenn Morris <rgm <at> gnu.org>
:
You have taken responsibility.
(Wed, 02 Dec 2009 03:15:06 GMT)
Full text and
rfc822 format available.
Notification sent
to
ams <at> gnu.org
:
bug acknowledged by developer.
(Wed, 02 Dec 2009 03:15:06 GMT)
Full text and
rfc822 format available.
Message #72 received at 2282-done <at> emacsbugs.donarmstrong.com (full text, mbox):
* mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
(rmail-select-summary): Use rmail-pop-to-buffer.
* mail/rmailsum.el: Replace all pop-to-buffer calls with
rmail-pop-to-buffer, to prevent horizontal splits.
bug archived.
Request was from
Debbugs Internal Request <bug-gnu-emacs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 30 Dec 2009 12:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 15 years and 178 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.