[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Adding transient to Emacs core
From: |
Jonas Bernoulli |
Subject: |
Re: Adding transient to Emacs core |
Date: |
Tue, 27 Apr 2021 17:03:41 +0200 |
martin rudalics <rudalics@gmx.at> writes:
> >> If you say that (pop-up-windows nil) is not a valid customization, I
> >> would strongly disagree with that.
> >
> > I have addressed this by let-binding that variable to t around the call
> > to display-buffer. There's just no way around that because transient's
> > buffer just has to be displayed somewhere other than the selected
> > window.
>
> This would constitute a major bug in `display-buffer' - `pop-up-windows'
> is semi-obsolete ("provided for backward compatibility only"). The
> canonical way to do what you want is to provide an
>
> (inhibit-same-window . t)
>
> action alist entry.
We were already using (inhibit-same-window . t) and indeed if I remove
the let-binding, then things continue to function. I am removing this
unnecessary kludge again.
- Re: Adding transient to Emacs core, (continued)
- Re: Adding transient to Emacs core, Jonas Bernoulli, 2021/04/27
- Re: Adding transient to Emacs core, Philip Kaludercic, 2021/04/27
- Re: Adding transient to Emacs core, Gregory Heytings, 2021/04/27
- Re: Adding transient to Emacs core, Jonas Bernoulli, 2021/04/27
- Re: Adding transient to Emacs core, Gregory Heytings, 2021/04/27
- Re: Adding transient to Emacs core, Jonas Bernoulli, 2021/04/27
- Re: Adding transient to Emacs core, Philip Kaludercic, 2021/04/27
- Re: Adding transient to Emacs core, martin rudalics, 2021/04/27
- Re: Adding transient to Emacs core,
Jonas Bernoulli <=