all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "João Távora" <joaotavora@gmail.com>
To: Noam Postavsky <npostavs@gmail.com>
Cc: Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>,
	Robert Girault <rfrancoisgirault@gmail.com>
Subject: Re: on adding a function call to a s-exp
Date: Tue, 12 Jun 2018 15:40:41 +0100	[thread overview]
Message-ID: <CALDnm53Lp+_cu-_gXKaFfeuRus_=YikF0HqhA+paavPOUBXUtg@mail.gmail.com> (raw)
In-Reply-To: <CAM-tV-_hiozYbkP4Vwuk1Hqf7873RjeH9O3X_wVFAaGOsZBtzw@mail.gmail.com>

On Mon, Jun 11, 2018 at 2:30 AM, Noam Postavsky <npostavs@gmail.com> wrote:

> 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.
>
> Noam, are you taking about `(' or `M-('? I was referring to the former,
when combined with a "M-x electric-pair-mode".
I would be surprised it doesn't work like that in 24.4 (can't check now
though, my build segfauls for some reason).

-- 
João Távora


  reply	other threads:[~2018-06-12 14:40 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-09 22:05 on adding a function call to a s-exp Robert Girault
2018-06-10  2:38 ` Noam Postavsky
2018-06-10  4:46   ` João Távora
     [not found]   ` <mailman.1619.1528606007.1292.help-gnu-emacs@gnu.org>
2018-06-11  1:04     ` Robert Girault
2018-06-11  1:30       ` Noam Postavsky
2018-06-12 14:40         ` João Távora [this message]
2018-06-12 21:34           ` Noam Postavsky
     [not found]       ` <mailman.1644.1528680649.1292.help-gnu-emacs@gnu.org>
2018-06-11 14:29         ` Robert Girault
2018-06-12 14:24       ` João Távora
     [not found]       ` <mailman.1739.1528813488.1292.help-gnu-emacs@gnu.org>
2018-06-13 21:06         ` Robert Girault
2018-06-10 21:28 ` Xavier Maillard
     [not found] ` <mailman.1614.1528598292.1292.help-gnu-emacs@gnu.org>
2018-06-11  0:59   ` Robert Girault
2018-06-11  1:21     ` Michael Heerdegen
2018-06-11  1:26       ` Michael Heerdegen
2018-06-11  2:18       ` Michael Heerdegen
     [not found]     ` <mailman.1642.1528680086.1292.help-gnu-emacs@gnu.org>
2018-06-11 14:35       ` Robert Girault
2018-06-12 14:34         ` João Távora
2018-06-12 15:14           ` Óscar Fuentes
2018-06-12 16:17             ` Drew Adams
2018-06-12 16:26               ` João Távora
2018-06-13  7:11               ` Andreas Röhler
2018-06-13 10:44               ` João Távora
2018-06-13 14:39                 ` Drew Adams
2018-06-13 15:31                   ` João Távora
2018-06-13 16:03                     ` Drew Adams
2018-06-13 16:01                 ` Andreas Röhler
2018-06-13 16:17                   ` João Távora
     [not found]                   ` <mailman.1823.1528906669.1292.help-gnu-emacs@gnu.org>
2018-06-13 16:48                     ` Emanuel Berg
2018-06-13 17:32                       ` João Távora
2018-06-13 18:23                       ` Drew Adams
     [not found]                       ` <mailman.1848.1528914250.1292.help-gnu-emacs@gnu.org>
2018-06-13 19:18                         ` Emanuel Berg
2018-06-12 16:24             ` João Távora
2018-06-12 17:00               ` Eric Abrahamsen
2018-06-12 17:04               ` Óscar Fuentes
2018-06-12 17:07                 ` Eric Abrahamsen
2018-06-12 17:19                   ` João Távora
2018-06-12 17:26                     ` Eric Abrahamsen
2018-06-12 17:16                 ` João Távora
     [not found]             ` <mailman.1747.1528820272.1292.help-gnu-emacs@gnu.org>
2018-06-13 21:09               ` Robert Girault
     [not found]         ` <mailman.1740.1528814086.1292.help-gnu-emacs@gnu.org>
2018-06-13 21:02           ` Robert Girault
2018-06-13 21:32             ` João Távora
     [not found] ` <mailman.1637.1528666199.1292.help-gnu-emacs@gnu.org>
2018-06-11  1:05   ` Robert Girault

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CALDnm53Lp+_cu-_gXKaFfeuRus_=YikF0HqhA+paavPOUBXUtg@mail.gmail.com' \
    --to=joaotavora@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=npostavs@gmail.com \
    --cc=rfrancoisgirault@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.