From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Implement letrec without backquote? Date: Sat, 5 Nov 2016 18:05:55 +0900 (JST) Message-ID: References: <878tszkuvf.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Trace: blaine.gmane.org 1478336798 3739 195.159.176.226 (5 Nov 2016 09:06:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 5 Nov 2016 09:06:38 +0000 (UTC) User-Agent: Alpine 2.20 (DEB 67 2015-01-07) Cc: Tino Calancha , Emacs developers To: John Wiegley Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 05 10:06:34 2016 Return-path: Envelope-to: ged-emacs-devel@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 1c2wvP-0005fz-RH for ged-emacs-devel@m.gmane.org; Sat, 05 Nov 2016 10:06:13 +0100 Original-Received: from localhost ([::1]:42711 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c2wvS-00060k-Ek for ged-emacs-devel@m.gmane.org; Sat, 05 Nov 2016 05:06:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32803) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c2wvL-00060T-Rz for emacs-devel@gnu.org; Sat, 05 Nov 2016 05:06:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c2wvI-0008A6-MU for emacs-devel@gnu.org; Sat, 05 Nov 2016 05:06:03 -0400 Original-Received: from mail-pf0-x22c.google.com ([2607:f8b0:400e:c00::22c]:32797) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c2wvI-000895-73 for emacs-devel@gnu.org; Sat, 05 Nov 2016 05:06:00 -0400 Original-Received: by mail-pf0-x22c.google.com with SMTP id d2so65166111pfd.0 for ; Sat, 05 Nov 2016 02:06:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=HoCHXkz9LWvBUjszLwO3T/2bfUTiL9TLErdtDUmYzAk=; b=KsfU2OW9jbpHD4x9d+GljesHhstt84KDxJJ1u4zi2xLpxwATq2uA9L8rgxvn74ccqQ svO03X9MtxJjvt26Vygrw2aaVJqQVJZcdCoCoJAeDgoxzNqr1qnphl/WU4oY84i/HxHt OCP4TqXKYfwnQEIjsG1fxZp662VSPhRsSCTkZCs9whgC70rlxbHXYlsoRSIzfLud0NKe pFa/WDbBbeQMYQH54RFhiMRkbq6IVkiyPa1Q9wa7+8LVR7pbc6wzYbwpiEK7aFJpnZJJ k+hMia0le96uxIbgeJmRsMZF0rHUtGvqKvZN9p14Ej8IfVsy5tgYYCSUbmace/+aVi4y jF8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=HoCHXkz9LWvBUjszLwO3T/2bfUTiL9TLErdtDUmYzAk=; b=Fs7O5HvY7fiJxHCcjE/ixh5NhPbe+F/9z7cZu8tKod+Gvdz2rHM33WAZrH25pjvTsT +VfcGDGrF/SaWpMyoFAfHsVHGdWEaYjITAI8i5wU0EAhPC3NDiwZG7JvtHqYmvczQDP7 3j2bIUT6kfCfR6FsGZXKk1ihXIysK9xgPWQRAQmEzSiBUIpiT4iUGpd1WDb+31jIGSv0 dO0Oc/LZw778xiVDKKx6CDRByQeV+xMkDkxVyR52b0Km09Ivkf3YugFkBCZ1UwM+Cpu8 dmshTvz1KHf36GwaTGCIdtbUlaZISwT8co79XX1pY/4c/KPhNs1c1Qz3VisX/K3DUMwn lIHg== X-Gm-Message-State: ABUngvddWVQSQ3ifVQP/Bwr2z6Er9mBNdIcdjqari0qFTmPr4rCiIa/3jWDXZQoNblHfVg== X-Received: by 10.98.192.21 with SMTP id x21mr34065019pff.94.1478336759209; Sat, 05 Nov 2016 02:05:59 -0700 (PDT) Original-Received: from calancha-pc (57.92.100.220.dy.bbexcite.jp. [220.100.92.57]) by smtp.gmail.com with ESMTPSA id k7sm25946224pan.8.2016.11.05.02.05.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 05 Nov 2016 02:05:58 -0700 (PDT) X-Google-Original-From: Tino Calancha X-X-Sender: calancha@calancha-pc In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c00::22c X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:209179 Archived-At: On Sat, 5 Nov 2016, John Wiegley wrote: >>>>>> Tino Calancha writes: > >> Just for my own education because i am not expert as you, let me ask you, >> Why do you prefer the original one? Maybe is it more readable? > > That's a good question. I think it's because I've written far more macros > using the former style than the latter, so it reads more naturally to me. > The "list construction" style is also valid, but has always felt more > awkward. That said, others might feel exactly the opposite. I see. Thank you for the explanation. The backquote is very intuitive, i think more suitable for humans. My motivation to write that was after reading several old comments in subr.el like 'do not use backquote here, it's too early'. Also, i wanted to expand in just one setq call, that is, instead of (setq x 1) (setq y 2) ... (setq foo N) like this: (setq x 1 y 2 ... foo N) But, it seems it's doesn't bring a better efficiency. > But in the absence of a definitive style guide, I'd say: stick with what > we have already. Fair enough. It's important to keep code style consistency. > Thanks for the taking the time to submit a patch! Thanks to you for your answer!