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: Reiner Steib
Subject: Re: 23.0.60; M-( and M-) should not be bound in ESC map
Date: Thu, 10 Apr 2008 11:20:03 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.2.50 (gnu/linux)

On Thu, Apr 10 2008, David Hansen wrote:
> I have bound `(' to insert pair globally.  I don't know of any case
> where I want non balanced parenthesis (except when writing a mail about
> the use of (non) balanced parenthesis ;).

`case' in shell scripts.  Yes, POSIX also allow ( *.bar ), but old Bourne
shells don't.

  case $foo in *.bar ) baz;; esac

That said, I think the global bindings for M-( and M-) are the right
thing.

Drew Adams wrote:
> It can be surprising to get an error "Unbalanced parentheses" 18,
> 5795" or "Containing expression ends prematurely" or some such if you
> accidentally hit M-) in the minibuffer or a text file. This is the
> kind of thing that can frighten users unnecessarily.

I don't think such an error is very common.  More or less every
unindented key stroke can cause somewhat unexpected results, but these
cause no damage and I think its unlikely to type M-) accidentally: you
need to hit Alt+Shift+Number, at least with US or German keyboard
layout.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




reply via email to

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