emacs-devel
[Top][All Lists]
Advanced

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

Re: Confused by y-or-n-p


From: Eli Zaretskii
Subject: Re: Confused by y-or-n-p
Date: Tue, 05 Jan 2021 16:48:47 +0200

> Date: Mon, 04 Jan 2021 22:17:51 +0000
> From: Gregory Heytings <ghe@sdf.org>
> cc: emacs-devel@gnu.org
> 
>         I repeatedly explained that the old behavior should remain available. 
> Initially the change explicitly removed the old behavior: "The old [behavior] 
> is no longer available." The latest patch sent yesterday, only promises to 
> "approximate" the old behavior. 
> 
>     That's because the original behavior was deemed buggy. We don't provide 
> compatibility options to get old bugs back. As it turned out, what Alan 
> considered buggy behavior was not necessarily so, therefore he now tries to 
> provide a better backward compatibility.
> 
> It did not "turn out", I explained in detail that the behavior that Alan 
> considered buggy was not at all buggy before he started working on this.

I don't see the relevance of this.  We are talking about the process,
so the details of who said what and when to make the developer aware
that the presumed buggy behavior isn't -- those details aren't
important for the purposes of the current discussions, and not naming
the person(s) who contributed to this doesn't mean their contribution
is not acknowledged.

>     As the bug is still being actively worked on, it is premature ti draw any 
> definitive conclusions from it relevant to the current discussion.
> 
> I do believe it is relevant.
> 
> The general pattern is similar to the y-or-n-p one, in that the code of an UI 
> behavior is removed and replaced by another one.

The UI didn't change at all in the case of minibuffer tracking.  The
commands are still the same commands.  What changed is the behavior of
Emacs in response to these commands.  That _is_ different from the
y-or-n-p case.

> It is also, I think (but it's just a feeling, I did not follow the 
> discussions at that time), similar to the changes in Emacs 27 about which 
> Drew loudly complained and that make Emacs 27 unuseable for him.

We don't really know what makes Emacs 27 unusable for Drew, because we
don't have enough information regarding the problems he faces, and no
one else reported anything similar, so it seems.  So I cannot see how
the issue of Emacs 27's usability for Drew can support any conclusions
yet.

> What could have been done instead is to add some new code next to the 
> existing one to conditionally provide a new behavior, with an easy way for 
> users who prefer / need the old behavior to revert the change. If this had 
> been done with y-or-n-p, this thread would simply not exist. If this had been 
> done with the new minibuffer behavior, the "Stop frames stealing each other's 
> minibuffers" thread would be very different.

Like I said, sometimes changes run so deep that providing options to
get the precise past behavior is not feasible.  E.g., see the example
of the bidi display.



reply via email to

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