help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: on adding a function call to a s-exp


From: Robert Girault
Subject: Re: on adding a function call to a s-exp
Date: Mon, 11 Jun 2018 11:29:46 -0300

Noam Postavsky <npostavs@gmail.com> writes:

> On 10 June 2018 at 21:04, Robert Girault <rfrancoisgirault@gmail.com> wrote:
>
>>>> In emacs -Q M-( does what you want.
>
>>> Additionally, if the "autopairing/autowrapping" package you are using is
>>> Emacs's built-in M-x electric-pair-mode, it should work exactly as you
>>> explain: "(" leaves the point after the opener and ")" leaves point after
>>> the closer (and both wrap the region, obviously).
>>
>> I do not confirm this.  Try this: emacs -Q
>>
>>   + 1 2 3 C-a C-space C-e M-(
>>
>> it will leave the point at where the | character is in ``(+ 1 2 3|)''.
>> It could a version difference.  I'm running
>>
>>   GNU Emacs 24.3.1 (i386-mingw-nt6.2.9200) of 2013-03-17 on MARVIN
>
> Yes, I see that too up to version 24.5. In Emacs 25.3 and up (I can't
> build 25.1 successfully here) M-( behaves like you want.

Good to know things are evolving in a way I'd approve! :-)


reply via email to

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