[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: matching parentheses
From: |
Tim X |
Subject: |
Re: matching parentheses |
Date: |
Tue, 21 Aug 2007 18:15:14 +1000 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) |
Maarten Bergvelt <bergv@math.uiuc.edu> writes:
> On 2007-08-20, Joel J. Adamson <jadamson@partners.org> wrote:
>> Ralf Angeli <dev.null@caeruleus.net> writes:
>>
>>> * Alain Muls (2007-08-20) writes:
>>>
>>>> How does one insert automatically matching parentheses in emacs when in
>>>> auctex mode?
>>>
>>> (info "(autotype)Inserting Pairs")
>>
>> How automatic do you want it? I press "M-(" and I get () with the
>> point inside the parentheses. Here, I'll do it again: ()
>
> Interesting. I knew about C-c-{ in Auctex but not about M-( in
> general. Why the different mechanisms in very similar cases?
Given that emacs uses a lisp dialect as an extension language and the ()
are so central to lisp syntax, I suspect that making M-( general was
considered a good idea. Only a guess though.
Tim