unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* FW: why are M-( and M-) bound in esc-map?
@ 2008-03-30 18:17 Drew Adams
  0 siblings, 0 replies; only message in thread
From: Drew Adams @ 2008-03-30 18:17 UTC (permalink / raw)
  To: emacs-devel

Resending -

----
From: Drew Adams Sent: Friday, March 21, 2008 3:04 PM
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-30 18:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-30 18:17 FW: why are M-( and M-) bound in esc-map? Drew Adams

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).