* why are M-( and M-) bound in esc-map?
@ 2008-03-21 22:04 Drew Adams
0 siblings, 0 replies; only message in thread
From: Drew Adams @ 2008-03-21 22:04 UTC (permalink / raw)
To: 'Emacs-Devel'
I was surprised to find by accident that M-( and M-) are bound in `esc-map',
which means they are in effect pretty much everywhere, including the minibuffer.
Is this a good idea? Shouldn't `insert-parentheses' and
`move-past-close-and-reindent' be bound only for programming modes for which
they actually make sense? It can be surprising to get an error "Unbalanced
parentheses" 18, 5795" or some such if you accidentally hit M-) in the
minibuffer or a text file.
This seems like a bug to me, but it is apparently of long date.
Now, someone will surely reply that these can be useful in text mode too, for
parenthetical remarks. Maybe. Does anyone really write that way?
I'm thinking that a scan-error such as "Containing expression ends prematurely"
or "Unbalanced parentheses" will be more trouble to many users than this feature
is worth, except in programming buffers. This is the kind of thing that can
frighten users unnecessarily.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-03-21 22:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-21 22:04 why are M-( and M-) bound in esc-map? Drew Adams
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.