emacs-devel
[Top][All Lists]
Advanced

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

RE: 23.0.60; M-( and M-) should not be bound in ESC map


From: Drew Adams
Subject: RE: 23.0.60; M-( and M-) should not be bound in ESC map
Date: Wed, 9 Apr 2008 15:15:02 -0700

> > This is is not a good idea.  `insert-parentheses' and
> > `move-past-close-and-reindent' should be bound only for programming
> > modes for which they actually make sense.  
> 
> Inserting pairs of parentheses makes sense pretty much everywhere.

Of course inserting parentheses can make sense in many contexts. These bindings
do not, however. It's about the bindings, not about inserting parens: you can
insert parentheses without these bindings.

Accidentally hitting M-( or M-) (not difficult to do) can give you inopportune
error messages. See the bug report.

Balancing parens is important for programming languages that allow nested
parens.
Any miniscule advantage gained by adding such a feature to other contexts (e.g.
ordinary text) is outweighed by the confusing error messages that users will
wonder about.





reply via email to

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