all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: rms@gnu.org, Stefan Monnier <monnier@iro.umontreal.ca>
Cc: larsi@gnus.org, schwab@linux-m68k.org, emacs-devel@gnu.org
Subject: RE: master aae9ac2: Avoid an infloop in shr when filling text with :align-to properties
Date: Sat, 24 Aug 2019 16:15:40 -0700 (PDT)	[thread overview]
Message-ID: <6de80d48-a64b-4471-ba6a-1b4b54ba1469@default> (raw)
In-Reply-To: <E1i1ewy-00063N-69@fencepost.gnu.org>

>>> I  was pretty sure I was using the `e' command, but perhaps
>>> muscle memory made me use `M-:' instead?
>> That would be my guess: it happens to me all the time.
> 
> This must be a common mistake.
> Should the debugger rebind M-: to be like e?

If you mean rebind `M-:' to do what `e' does then
no, definitely not, IMO.  Users need to be able to
use _both_ `e' and `M-:' in the debugger buffer,
to get their different behaviors.

> Make it ask for confirmation?

Dunno whether you mean `e' or `M-:' (in debugger),
but I'd again say no.  It's perfectly normal to use
both `M-:' and `e' in the debugger, for different
purposes.  I don't see why either should ask for
confirmation.

When you use `e' we already use a prompt that should
make it clear that `e' is being used (provided you
read the prompt):

  Eval in stack frame:

If we think that's not obvious/clear enough, perhaps
adding some flash (color? ding? mode-line indicator?)
would help.

That might not help if someone uses `M-:' by mistake,
but if a user gets used to expecting it for `e' then
its lack might be noticeable enough.

Another possibility is to change the prompt for `M-:'
when in the debugger, to make it clear that the eval
takes place in the outside-debugger context, not in
the debugger stack frame.  But that introduces a
different prompt for `M-:' depending on the context,
which is maybe not so good.

Do I think this is really a problem that needs
fixing?  No.  But those are suggestions that occur
to me, in case others think it is.







  reply	other threads:[~2019-08-24 23:15 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20190823065141.21832.91029@vcs0.savannah.gnu.org>
     [not found] ` <20190823065143.0C45320E34@vcs0.savannah.gnu.org>
2019-08-23  7:47   ` [Emacs-diffs] master aae9ac2: Avoid an infloop in shr when filling text with :align-to properties Stefan Monnier
2019-08-23  7:59     ` Lars Ingebrigtsen
2019-08-23  8:39   ` Lars Ingebrigtsen
2019-08-23  9:27     ` Andreas Schwab
2019-08-23  9:29       ` Lars Ingebrigtsen
2019-08-23 12:48         ` Andreas Schwab
2019-08-23 18:46           ` Lars Ingebrigtsen
2019-08-23 20:34             ` Stefan Monnier
2019-08-24 22:56               ` Richard Stallman
2019-08-24 23:15                 ` Drew Adams [this message]
2019-08-25  5:41                 ` Lars Ingebrigtsen

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=6de80d48-a64b-4471-ba6a-1b4b54ba1469@default \
    --to=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=rms@gnu.org \
    --cc=schwab@linux-m68k.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.