From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.help Subject: Re: on adding a function call to a s-exp Date: Tue, 12 Jun 2018 15:40:41 +0100 Message-ID: References: <864libzkem.fsf@gmail.com> <86tvqa6sly.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1528814384 24000 195.159.176.226 (12 Jun 2018 14:39:44 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 12 Jun 2018 14:39:44 +0000 (UTC) Cc: Help Gnu Emacs mailing list , Robert Girault To: Noam Postavsky Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 12 16:39:40 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fSkSS-0006AY-Cf for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Jun 2018 16:39:40 +0200 Original-Received: from localhost ([::1]:55980 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSkUZ-00011b-8O for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Jun 2018 10:41:51 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49693) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSkTn-0000z0-PY for help-gnu-emacs@gnu.org; Tue, 12 Jun 2018 10:41:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fSkTm-0008Sx-Gi for help-gnu-emacs@gnu.org; Tue, 12 Jun 2018 10:41:03 -0400 Original-Received: from mail-it0-x233.google.com ([2607:f8b0:4001:c0b::233]:54349) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fSkTm-0008Rc-Bi for help-gnu-emacs@gnu.org; Tue, 12 Jun 2018 10:41:02 -0400 Original-Received: by mail-it0-x233.google.com with SMTP id 76-v6so14851386itx.4 for ; Tue, 12 Jun 2018 07:41:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=qPyvsqc2F2AdnbEw14tjJE7giyck7QeobvGg49pyv84=; b=P6x7aSyhBO79VRn4P4W0/bN6emsb7etjTOzzdx21zn55UmkdYazJZyHjy8U/ZoyYD0 1nL1SkL3tCsq9XBppbvZmkmF4ez7u/+9KBKgfcSH0p3gcf97Z9vBM50DR4NJrewSFzaP f6K/NcxWDFmcLaPAVBEdE4TuiO+XXJY2RrktwOuX7GbJzny8xQsTb7MZb9BRL7QyRanQ H7si7zFGki/bg1ZRWxMN7+1BQSJkyYTUZOIA/U8Xuv7BtbqtVSHwyn0rV49tyrSZ98KW JhDgU7ae2A4B+6YkaDEvaytcN8bPddkbriZSFAvTduVd4x2JfW0CtOfa1f5OZ9gFaC8f WEhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=qPyvsqc2F2AdnbEw14tjJE7giyck7QeobvGg49pyv84=; b=ZIvkN3paw3exRYjhejgQB5Uv+Ao7KL1Y+J0FlJQKZe8TkfyhKojqzc4VsRykfnYTtZ J2LVZEuSrmtqhNqm5M5yLL7qeW4nwXnsXPVUqdjL7O7+zgouPZgvruU9wh4ctAx6ZOy3 YoeVqk8yxXmZzaATwf5yIrafYYeaTmCzIzkoDRg7Wq7RO/0oDFpBqwpn/skSdhr3NRwp aiqWjtNVGHRfSnXAgPlk12KeSHIc9XMrh9XY0dtEfCAoEmqoiNG9vWkxzpC39cbXEbhr qtrSvpErKpdYzSQYxcRnbgTepNoVHWEPEvQ/WVPe1L56xd9gLIXb2egVLjLAQhhH6MRG 2Cjg== X-Gm-Message-State: APt69E3gjxLq72LjiFaF+V465OY1X1PPSIy6GKIJTMsuLDq14cdvOalS duGAiDeW/bJHGxNEBVW0yWNHuDSbmEgBUGH1OTA= X-Google-Smtp-Source: ADUXVKKdaWQdCM2XckN2yc32dkE/dDYn9Iy3SjHMkqewweEZmK/bK5RZ8TMswCQXcESltnfrtqJGwf3AkNmaqKuUuzk= X-Received: by 2002:a24:fd85:: with SMTP id m127-v6mr729989ith.104.1528814461585; Tue, 12 Jun 2018 07:41:01 -0700 (PDT) Original-Received: by 2002:a4f:2246:0:0:0:0:0 with HTTP; Tue, 12 Jun 2018 07:40:41 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4001:c0b::233 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:117111 Archived-At: On Mon, Jun 11, 2018 at 2:30 AM, Noam Postavsky wrote: > On 10 June 2018 at 21:04, Robert Girault > 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). --=20 Jo=C3=A3o T=C3=A1vora