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 18:19:42 +0100 Message-ID: References: <864libzkem.fsf@gmail.com> <86zi026stt.fsf@gmail.com> <86wov55r33.fsf@gmail.com> <87o9ggdolh.fsf@telefonica.net> <87fu1sdjgn.fsf@telefonica.net> <877en4aq6r.fsf@ericabrahamsen.net> 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 1528823906 23216 195.159.176.226 (12 Jun 2018 17:18:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 12 Jun 2018 17:18:26 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org List" To: Eric Abrahamsen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 12 19:18:22 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 1fSmw1-0005y8-SV for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Jun 2018 19:18:21 +0200 Original-Received: from localhost ([::1]:57542 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSmy8-00041a-TN for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Jun 2018 13:20:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40042) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSmxg-0003z8-D1 for help-gnu-emacs@gnu.org; Tue, 12 Jun 2018 13:20:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fSmxf-0000i0-DB for help-gnu-emacs@gnu.org; Tue, 12 Jun 2018 13:20:04 -0400 Original-Received: from mail-io0-x22b.google.com ([2607:f8b0:4001:c06::22b]:46274) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fSmxf-0000hu-6v for help-gnu-emacs@gnu.org; Tue, 12 Jun 2018 13:20:03 -0400 Original-Received: by mail-io0-x22b.google.com with SMTP id d22-v6so245270iof.13 for ; Tue, 12 Jun 2018 10:20:03 -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=C4ejL4mTAfREjiKi0e5xjLw9MBSwAzWeIJh91VKjhXY=; b=OJUZ5yRV5iAzXCGrWncln+2aHODuS4MoQcjDjUTz3t6vhHtb1KLwwUBhvpMKowEZHf 4fvhwQLpw/vvoHDIetoJI5mXWO39bt/1eWfT1HQfmwW0AuHxx4sq/28nOJK682YC/jDk foqpJsFAzqtoBY84xEklImymxCZ0e+bYyyQaj27SN70we4OFade07VRePgMqTkkeBeIO DaEfWd+7i/d/OmiDW4vzhoLqSmqwgc74m7IaQ7XA0cSBZ11zACr0cOMIRTeR/4hR22tM IusHlffYaPWSC96GQmoh8OtpicvdZyVy1S4IyEr/XISyp/Kxymbf54bqUdwh3vCREcBI QjAQ== 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=C4ejL4mTAfREjiKi0e5xjLw9MBSwAzWeIJh91VKjhXY=; b=RxQraSC5FgxSgCfG2p5uzz0m6bcq6xtmJAFEf9KpuX13TUp62aDkB+KbRWf01i5OOZ UiC5WvtL67CymlRuV5yMOOlU+1MK1aQ32yqKdYFhMfEEgTpYqedajI68QgUlAA5T6occ wFX2wh2P1iBYJUrQUjcwiC7tmNyua7a9Cafh0yPtKGZUJDhzdoP2ymG2UZvEUizZ7+2o bJqUrW5W1HMtSx19DrTF8NGmyWvPjLMBbmZvKhGuAcuVX46oKR73ltNpNM7iNrPJc8My i4FN30uvke8NIsl8N6BLnPXaq/k6ZF4vTe31YVW8lPNeluoATXvIYbCiCIvaJU26pNHm rIcQ== X-Gm-Message-State: APt69E29EBHusolWa5ozN/MsJfHVxIEA9uYaEMgoQvVQ9RPkGI+Lkn6H qsxlSLqZOw/tuFLwf/7/NoGLnxkbRqBVwBnL5+PDCg== X-Google-Smtp-Source: ADUXVKLmlRyCDI1z4ybfp5j7/4GiZq0YB+KWmbdN49ZfHI+zCq+zc68yGmrkFYenRE0YhXaL4fTwjvFeetavorNHHnk= X-Received: by 2002:a6b:8dc9:: with SMTP id p192-v6mr1373277iod.70.1528824002599; Tue, 12 Jun 2018 10:20:02 -0700 (PDT) Original-Received: by 2002:a4f:2246:0:0:0:0:0 with HTTP; Tue, 12 Jun 2018 10:19:42 -0700 (PDT) In-Reply-To: <877en4aq6r.fsf@ericabrahamsen.net> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4001:c06::22b 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:117120 Archived-At: On Tue, Jun 12, 2018 at 6:07 PM, Eric Abrahamsen wrote: > =C3=93scar Fuentes writes: > > > Jo=C3=A3o T=C3=A1vora writes: > > > > [...] > > > > It is true that paredit is irritating sometimes, but very convenient > > otherwise. > > > > For the benefit of those who don't know it, let's put a simple example. > > Suppose that you have: > > > > (foo) > > (bar) > > > > but now you wish to wrap those function calls inside a conditional. So > > you write: > > > > (when something > > (foo) > > (bar)) > > > > Which requires moving the cursor through several lines just to add a > > parenthesis. > > > > With paredit, you write > > > > (when something_) > > (foo) > > (bar) > > I typically write "M-2 (when...", which wraps automatically. Unless I'm > wrapping some huge chunk where it isn't obvious how many sexps should be > wrapped. > Nice tip, but you mean M-2 M-( w h e n , right? (of course you get to hold the M). When I don't know how many there are, I just C-M-SPC until I hit an error :-) I'm sure there's a better way, but this one works for me. Jo=C3=A3o