From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: parinfer-mode for Emacs might be neat for encouraging Lisp adoption Date: Fri, 13 Nov 2015 15:55:35 +0000 Message-ID: References: <877flow194.fsf@dustycloud.org> <871tbv4c9a.fsf@mbork.pl> <874mgq879a.fsf@gmail.com> <877fll7w18.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1447430163 3801 80.91.229.3 (13 Nov 2015 15:56:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Nov 2015 15:56:03 +0000 (UTC) To: Oleh Krehel , emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 13 16:56:02 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZxGhi-0006xM-Ux for ged-emacs-devel@m.gmane.org; Fri, 13 Nov 2015 16:55:59 +0100 Original-Received: from localhost ([::1]:53764 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZxGhi-0001Pp-E3 for ged-emacs-devel@m.gmane.org; Fri, 13 Nov 2015 10:55:58 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59963) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZxGhf-0001Os-Uk for emacs-devel@gnu.org; Fri, 13 Nov 2015 10:55:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZxGhf-00081N-2k for emacs-devel@gnu.org; Fri, 13 Nov 2015 10:55:55 -0500 Original-Received: from mail-ig0-x235.google.com ([2607:f8b0:4001:c05::235]:37753) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZxGhe-00081J-VF for emacs-devel@gnu.org; Fri, 13 Nov 2015 10:55:55 -0500 Original-Received: by igbhv6 with SMTP id hv6so16891704igb.0 for ; Fri, 13 Nov 2015 07:55:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=kE7IdpwE1Yim8o+oaZF85UJ30dm8UBFNGiSzs5TZjtA=; b=VEB2egFmF+zv7g0DYjCejsMMSszE2Kh4e/mJUQn+q/po561IFSfKc8q8i8SENiE4p6 zV8AAKgrAMP/R4nBpQup+yQPGMrbDkQ6dhK1lkrM8auUdMFfXazhjbc7j4wVwm4bhG+b sVu9uukrcLvRT8jIjxXNAA2ENFcNIxEryIvvqY1CrOHtYNgMUf7+dlTKlplc81u36Daq UBpRjL/Akvgt8ASCBYMY2W6tLb7lxSbWWeAIM8e0AZS/bgKSiu3X82Y4Mn7YU0tvbQXY LU17xxEWnmab/NYNZXqR0lIq5mer1QgMuInHsIw28HsTFlHStSzCkDqDGHfKSNE04Srk uIFg== X-Received: by 10.50.62.104 with SMTP id x8mr3941828igr.7.1447430154481; Fri, 13 Nov 2015 07:55:54 -0800 (PST) Original-Received: by 10.107.169.154 with HTTP; Fri, 13 Nov 2015 07:55:35 -0800 (PST) In-Reply-To: <877fll7w18.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c05::235 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:194379 Archived-At: On Fri, Nov 13, 2015 at 3:34 PM, Oleh Krehel wrote: > Jo=C3=A3o T=C3=A1vora writes: > >> Hi Oleh, >> >> What do you think of this prototype? > I think this is what `aggresive-indent-mode' does. Additionally "DEL" on > `let*' doesn't work for me for some reason. Ahaha. Right. That's what I get for not reading up on prior art :-) > I've disabled it long time ago, since I use lispy. But I tried just now > and the interactive variant of this doesn't work in `electric-pair-mode': > > (progn > (kill-new "(foo") > (yank)) What do you mean, it doesn't work what did you expect to happen? electric-pair-mode only kicks in when inserting parenthesis interactively. > The thing with lispy is that you get /extra/ free shortcuts only for > LISP. These free shortcuts are possible to get only for LISP because of To be fair to lispy, probably also for JSON and some other languages. > the > The first `forward-list' will work fine, but the second one will > throw. Why not just call `up-list' in that case? > "]" (`lispy-forward') is `forward-list' with exactly that modification. I like that it forbids me to go past the end of the list. I even use that for programming without looking at the computer. Just forward list a million times until you hear the bell. I understand lispy's convenience philosophy, but it's undeniable that it expands the instruction set. I'm after the low hanging fruit: keep the same reduced instruction set and have Emacs resonably guess what I'm trying to do. --=20 Jo=C3=A3o T=C3=A1vora