From: "Göktuğ Kayaalp" <self@gkayaalp.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Potential bug in the logic of rmail-select-summary
Date: Tue, 19 Jan 2021 20:14:17 +0300 [thread overview]
Message-ID: <8735ywyhli.fsf@gkayaalp.com> (raw)
In-Reply-To: <837do97zgi.fsf@gnu.org> (message from Eli Zaretskii on Tue, 19 Jan 2021 16:50:37 +0200)
On 2021-01-19 16:50 +02, Eli Zaretskii <eliz@gnu.org> wrote:
> In what version of Emacs do you see that?
Build of 36d33776c21b3765b8a611f09ae7d86417abee8a, within last few days.
> FWIW, I cannot reproduce this, neither in Emacs 27 nor in Emacs 28.
> Does this happen in "emacs -Q"? (I use Rmail all the time, and I
> always have both the mbox file and its summary displayed, so if this
> would be happening to me, I'd sure have noticed.)
Indeed, I should’ve known better and tested with -Q. I’m sorry about
that.
So apparently the problem was caused by some interaction with the
following bit of config:
display-buffer-alist
'(("\\*Quail Completions" . (display-buffer-in-side-window))
("\\*.*Completions\\*" . (display-buffer-in-side-window . ((side . bottom))))
("\\*Help\\*" . (display-buffer-reuse-window))
("Checkdoc" . (display-buffer-pop-up-window))
("Calendar" . (display-buffer-in-side-window . ((side . bottom))))
("help\\[R\\]" . (display-buffer-pop-up-window))
(".*" . (display-buffer-same-window)))
When I commented out that last line it worked. FWIW, I added the
following advice which seems to help:
(define-advice rmail-show-message
(:around (fn &rest args) inhibit-display-buffer-alist)
(let ((display-buffer-alist nil))
(apply fn args)))
Is this an expected interaction or a bug? AFAIU rmail-pop-to-buffer
could use some form of display-buffer-* to avoid going through
display-buffer-alist.
--
İ. Göktuğ Kayaalp / @cadadr / <https://www.gkayaalp.com/>
pgp: 024C 30DD 597D 142B 49AC 40EB 465C D949 B101 2427
next prev parent reply other threads:[~2021-01-19 17:14 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-19 12:23 Potential bug in the logic of rmail-select-summary Göktuğ Kayaalp
2021-01-19 14:50 ` Eli Zaretskii
2021-01-19 17:14 ` Göktuğ Kayaalp [this message]
2021-01-19 18:33 ` Eli Zaretskii
2021-01-19 19:04 ` martin rudalics
2021-01-20 14:09 ` Göktuğ Kayaalp
2021-01-20 16:51 ` martin rudalics
2021-01-27 23:23 ` Göktuğ Kayaalp
2021-01-28 9:42 ` martin rudalics
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8735ywyhli.fsf@gkayaalp.com \
--to=self@gkayaalp.com \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.