emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding transient to Emacs core


From: Stefan Monnier
Subject: Re: Adding transient to Emacs core
Date: Mon, 26 Apr 2021 13:52:49 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> If the package does not support use display-buffer according to the
> design of display-buffer, I maintain it will have a negative impact if
> adopted in the core and one is constrained to use it (instead of
> keeping it optional)

In my experience, among the packages that have to display something (as
opposed to your usual major-mode which only provides commands to
navigate and edit text), very few correctly deal with all possible
`display-buffer-alist` customizations.  The vast majority assumes
a single-frame setup and break in random way in less
conventional situations.

So if transient.el misbehaves in some of those cases, it's in pretty
good company.

In the transient.el API the only thing that could inherently cause
problem, AFAICT is the fact that it relies on being able to
display a "sizeable" amount of information to the user, but it's hard to
imagine a comparable feature that doesn't make similar assumptions, and
it's hard to imagine a situation where there's really no way to make
it work.

So any problem it might suffer should be a mere "implementation issue"
that can be fixed without impacting the packages which rely on it.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]