all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: sbaugh@catern.com, 67836@debbugs.gnu.org, sbaugh@janestreet.com
Subject: bug#67836: 29.1.90; map-y-or-n-p doesn't terminate when run in a kmacro in batch mode
Date: Sat, 16 Dec 2023 19:24:32 +0200	[thread overview]
Message-ID: <83o7eqkqlr.fsf@gnu.org> (raw)
In-Reply-To: <jwvfs022jl3.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Sat, 16 Dec 2023 11:55:21 -0500)

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: sbaugh@catern.com,  sbaugh@janestreet.com,  67836@debbugs.gnu.org
> Date: Sat, 16 Dec 2023 11:55:21 -0500
> 
> >> There's a tension where fixing such problems at low-level can have
> >> longer term benefits (at the cost of backward incompatibilities), so
> >> I think the best is to start by sending a patch that fixes the problem
> >> at the place you judge to be The Right Place™.
> > There's no disagreement on this level, the disagreement is about
> > where's The Right Place™ ;-)
> 
> But before submitting the bug&patch there's no way to know that.

I think there is: look at how general the original issue is, and
compare that with the range of applications in Emacs that the
proposed solution will affect.  That is what I do, and I don't suppose
you are saying that my judgment is arbitrary.

But I'm okay if that judgment is left to me, I just thought that
understanding my considerations well enough could make the process
more efficient.  If not, so be it.

> It's best if we don't try to second guess what the other one will think
> is best.  Instead, we start by stating what we judge to be best, and
> then we can reconcile differences via discussions.

That is true, but having heard the same arguments from me N times, I
presume one can guess what I will say one the N+1st opportunity.

> > You don't think we should be able to "ding" without signaling an
> > error?
> 
> I think we should, but in practice `ding` should almost never be called
> from "normal" ELisp code.

So you think we should be able to do that in theory but not in
practice? ;-)

> >From that point of view, the fact that `ding` itself signals an error
> when used from a keyboard macro is a bit weird.

That's a feature, I believe.





      reply	other threads:[~2023-12-16 17:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-15 15:38 bug#67836: 29.1.90; map-y-or-n-p doesn't terminate when run in a kmacro in batch mode Spencer Baugh
2023-12-15 15:44 ` Spencer Baugh
2023-12-15 16:18   ` Eli Zaretskii
2023-12-15 22:55     ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-16  8:11       ` Eli Zaretskii
2023-12-16 13:13         ` sbaugh
2023-12-16 13:52           ` Eli Zaretskii
2023-12-16 15:11             ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-16 15:55               ` Eli Zaretskii
2023-12-16 16:55                 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-16 17:24                   ` Eli Zaretskii [this message]

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=83o7eqkqlr.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=67836@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=sbaugh@catern.com \
    --cc=sbaugh@janestreet.com \
    /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.