From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: multi-assignment setq [was: setq's with missing final arguments.] Date: Mon, 23 Nov 2015 07:02:10 -0800 (PST) Message-ID: <42471b94-eddf-4634-be5c-295ef7e175ac@default> References: <20151122122657.GA2332@acm.fritz.box> <87si3yp5y6.fsf@gmail.com> <87h9kdp2o7.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1448290972 17010 80.91.229.3 (23 Nov 2015 15:02:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Nov 2015 15:02:52 +0000 (UTC) Cc: Alan Mackenzie , emacs-devel@gnu.org To: Oleh Krehel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 23 16:02:36 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 1a0sdU-00006C-Tb for ged-emacs-devel@m.gmane.org; Mon, 23 Nov 2015 16:02:33 +0100 Original-Received: from localhost ([::1]:32798 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0sdV-0001dN-I0 for ged-emacs-devel@m.gmane.org; Mon, 23 Nov 2015 10:02:33 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60710) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0sdR-0001at-DW for emacs-devel@gnu.org; Mon, 23 Nov 2015 10:02:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a0sdM-0006Zg-BN for emacs-devel@gnu.org; Mon, 23 Nov 2015 10:02:29 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:46891) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0sdM-0006ZW-5E for emacs-devel@gnu.org; Mon, 23 Nov 2015 10:02:24 -0500 Original-Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id tANF2I5o017789 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 23 Nov 2015 15:02:19 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id tANF2IXs022054 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 23 Nov 2015 15:02:18 GMT Original-Received: from abhmp0003.oracle.com (abhmp0003.oracle.com [141.146.116.9]) by userv0122.oracle.com (8.13.8/8.13.8) with ESMTP id tANF2I3v030640; Mon, 23 Nov 2015 15:02:18 GMT In-Reply-To: <87h9kdp2o7.fsf@gmail.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] X-Source-IP: aserv0021.oracle.com [141.146.126.233] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 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:195113 Archived-At: > - it reads better > - it navigates better (`forward-list' and `backward-list') > - it manipulates better I disagree, especially for "reads better" (which is by far the most important, both for author and other readers). But maybe you like adding `progn' everywhere. Eye of the beholder... The important thing is that you can use your "lispier" style, and I can use my "lispier" style. Nothing prevents you from writing: (progn (setq foo bar) (setq tatasaba tutuwimbo) (setq toto titi)) if such is your wont. Just as nothing prevents me from writing: (setq foo bar tatasaba tutuwimbo toto titi) to get the same effect. There is zero reason to not allow `setq' to make multiple assignments. That's the point.