From unknown Mon Jun 16 23:46:55 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#18348 <18348@debbugs.gnu.org> To: bug#18348 <18348@debbugs.gnu.org> Subject: Status: common-lisp-indent-function: undesirable indent of (back)quoted list Reply-To: bug#18348 <18348@debbugs.gnu.org> Date: Tue, 17 Jun 2025 06:46:55 +0000 retitle 18348 common-lisp-indent-function: undesirable indent of (back)quot= ed list reassign 18348 emacs submitter 18348 Drew Adams severity 18348 minor tag 18348 wontfix thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 28 18:04:08 2014 Received: (at submit) by debbugs.gnu.org; 28 Aug 2014 22:04:08 +0000 Received: from localhost ([127.0.0.1]:52883 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XN7nc-00023k-9D for submit@debbugs.gnu.org; Thu, 28 Aug 2014 18:04:08 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36789) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XN7na-00023H-F8 for submit@debbugs.gnu.org; Thu, 28 Aug 2014 18:04:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XN7nK-00036a-Jw for submit@debbugs.gnu.org; Thu, 28 Aug 2014 18:04:01 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:42752) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XN7nK-00036V-HS for submit@debbugs.gnu.org; Thu, 28 Aug 2014 18:03:50 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38427) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XN7nB-0005SE-QF for bug-gnu-emacs@gnu.org; Thu, 28 Aug 2014 18:03:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XN7n3-00031n-2q for bug-gnu-emacs@gnu.org; Thu, 28 Aug 2014 18:03:41 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:34875) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XN7n2-00031d-RN for bug-gnu-emacs@gnu.org; Thu, 28 Aug 2014 18:03:33 -0400 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s7SM3Vid020523 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 28 Aug 2014 22:03:32 GMT Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s7SM3UrO012985 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 28 Aug 2014 22:03:31 GMT Received: from abhmp0020.oracle.com (abhmp0020.oracle.com [141.146.116.26]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s7SM3U5Z012974 for ; Thu, 28 Aug 2014 22:03:30 GMT MIME-Version: 1.0 Message-ID: <11a413c0-5b72-4386-8725-d7cffe813b6e@default> Date: Thu, 28 Aug 2014 15:03:29 -0700 (PDT) From: Drew Adams To: bug-gnu-emacs@gnu.org Subject: 24.4.50; `common-lisp-indent-function' X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2 (807160) [OL 12.0.6691.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) emacs -Q In emacs-lisp-mode, do this: (set (make-local-variable 'lisp-indent-function) 'common-lisp-indent-function) In Emacs 20, this Emacs-Lisp sexp indents correctly (IMO) to this, using `C-M-q': (toto beg end `(foo ,bar keymap ,map mouse-face highlight help-echo "jjjjjjjjjjjjjjjjjjjj")) Starting with Emacs 22, it indents to this, which is bad (IMO): (toto beg end `(foo ,bar keymap ,map mouse-face highlight help-echo "jjjjjjjjjjjjjjjjjjjj")) If this is really what Emacs Dev prefers (why?), can you please let me know a simple way to get the Emacs 20 indentation instead? In GNU Emacs 24.4.50.1 (i686-pc-mingw32) of 2014-08-15 on LEG570 Bzr revision: 117706 rgm@gnu.org-20140815043406-p5hbu97cbm7pulcn Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --enable-checking 'CFLAGS=3D-O0 -g3' CPPFLAGS=3D-DGLYPH_DEBUG= =3D1' From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 01 22:44:05 2017 Received: (at control) by debbugs.gnu.org; 2 Apr 2017 02:44:05 +0000 Received: from localhost ([127.0.0.1]:56245 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cuVUr-0003rk-3o for submit@debbugs.gnu.org; Sat, 01 Apr 2017 22:44:05 -0400 Received: from mail-io0-f178.google.com ([209.85.223.178]:36541) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cuVUo-0003r8-7X for control@debbugs.gnu.org; Sat, 01 Apr 2017 22:44:03 -0400 Received: by mail-io0-f178.google.com with SMTP id l7so58703364ioe.3 for ; Sat, 01 Apr 2017 19:44:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:mime-version; bh=GMlGYx8ixsWwyJoHH32jjq3UFuvtzoVv4WLa7UF/ECg=; b=AdT6+Ud5g8PhixDyXzByLc2K94MvsgXWCeQnkdDZwMNifKzBPKbRY/n3qLLNmsyL4x U2q2ZTVJdufv7P5xMrpzAlFmn+Fb5Igs9JCElR7ZcqtwBqYu8h52J2sgxSQ9CpbZofC0 zPA75jN5NcpRi6tX40ub0jHmOLkBWI3+cpgPqdOJRLN0H2ROehinfCTmYHkEDBba/eep c/Ucgacp8kzVts9VAcBuHmy+MCwx06bQpNRcMsGJV0ug1xlidAKGB1W7MlzitcFpPPwM 3ooLMTEBLuOvbz2yqSYoJ+JO+tECo6UyrPefyWyUu3yAbwsJSMk3gT7pRkDgFsD589OP PpzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :mime-version; bh=GMlGYx8ixsWwyJoHH32jjq3UFuvtzoVv4WLa7UF/ECg=; b=SPgiaZ2QjcLJ9aokQZDIrot66EtOALY9nwyMgzT+iEnPApJQmYy7e/ZolzHgYYb0/v +SqzoxkAaSgMyDxfHx/2u17WRQUFpczBE/spgBnXs92rSx5r0TtlzRkBjD8mqIQ5TWmj qdPD/TvGO1meQIK+tau59gW/mnDkAXCqDvZ1iZPDJKctfyW9XrWDcaB9pnADEEk6huHG cTtFACseg+FKzV0qP+QNRPgtk/SDLJmVeffpMmLIddFhKo/e6hY9T8Sr6/6HrH+dKC9T uI3BlipfGwKcf35E7yADmYVOL0HPRUlt/zBfZly3+q27J3CRC7dPyDl/BWafDvWVyvsL Mn4A== X-Gm-Message-State: AFeK/H3zLXrSpPJqhCJJ7+gspkMLtZRgU/zKHvQqQ26NcSs7UCngwrjxK90+vqyIlxjxgA== X-Received: by 10.107.31.11 with SMTP id f11mr12239432iof.183.1491101036640; Sat, 01 Apr 2017 19:43:56 -0700 (PDT) Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id l69sm3756383itb.28.2017.04.01.19.43.55 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 01 Apr 2017 19:43:56 -0700 (PDT) From: npostavs@users.sourceforge.net To: control@debbugs.gnu.org Subject: control message for bug #18348 Date: Sat, 01 Apr 2017 22:45:20 -0400 Message-ID: <8737drzfwf.fsf@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) retitle 18348 common-lisp-indent-function: undesirable indent of (back)quoted list quit From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 08 21:22:08 2019 Received: (at 18348) by debbugs.gnu.org; 9 Oct 2019 01:22:08 +0000 Received: from localhost ([127.0.0.1]:51687 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iI0g4-00017U-0J for submit@debbugs.gnu.org; Tue, 08 Oct 2019 21:22:08 -0400 Received: from quimby.gnus.org ([80.91.231.51]:49090) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iI0g1-00017M-W3 for 18348@debbugs.gnu.org; Tue, 08 Oct 2019 21:22:06 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iI0fv-0000dN-GK; Wed, 09 Oct 2019 03:22:04 +0200 From: Lars Ingebrigtsen To: Drew Adams Subject: Re: bug#18348: 24.4.50; `common-lisp-indent-function' References: <11a413c0-5b72-4386-8725-d7cffe813b6e@default> Date: Wed, 09 Oct 2019 03:21:59 +0200 In-Reply-To: <11a413c0-5b72-4386-8725-d7cffe813b6e@default> (Drew Adams's message of "Thu, 28 Aug 2014 15:03:29 -0700 (PDT)") Message-ID: <87eezmyaq0.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Drew Adams writes: > In emacs-lisp-mode, do this: > > (set (make-local-variable 'lisp-indent-function) > 'common-lisp-indent-function) > > In Emacs 20, this Emacs-Lisp sexp indents correctly (IMO) to this, using > `C-M- [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18348 Cc: 18348@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Drew Adams writes: > In emacs-lisp-mode, do this: > > (set (make-local-variable 'lisp-indent-function) > 'common-lisp-indent-function) > > In Emacs 20, this Emacs-Lisp sexp indents correctly (IMO) to this, using > `C-M-q': > > (toto beg end > `(foo ,bar > keymap ,map > mouse-face highlight > help-echo "jjjjjjjjjjjjjjjjjjjj")) > > Starting with Emacs 22, it indents to this, which is bad (IMO): > > (toto beg end > `(foo ,bar > keymap ,map > mouse-face highlight > help-echo "jjjjjjjjjjjjjjjjjjjj")) > > If this is really what Emacs Dev prefers (why?), can you please let me > know a simple way to get the Emacs 20 indentation instead? I guess it looks extra awkward because of the strange way you add white space, but I guess the mode interprets the `(foo bar ...) form as being a function call-like structure instead of a list of pairs. Funnily enough, if you use '(foo ,bar ...) it indents the way you want. It seems awfully inconsistent to indent one way with ` and another way with '. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 08 21:25:39 2019 Received: (at 18348) by debbugs.gnu.org; 9 Oct 2019 01:25:39 +0000 Received: from localhost ([127.0.0.1]:51692 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iI0jT-0001Ce-IH for submit@debbugs.gnu.org; Tue, 08 Oct 2019 21:25:39 -0400 Received: from quimby.gnus.org ([80.91.231.51]:49148) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iI0jR-0001CW-MH for 18348@debbugs.gnu.org; Tue, 08 Oct 2019 21:25:38 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iI0jL-0000fN-8S; Wed, 09 Oct 2019 03:25:36 +0200 From: Lars Ingebrigtsen To: Drew Adams Subject: Re: bug#18348: 24.4.50; `common-lisp-indent-function' References: <11a413c0-5b72-4386-8725-d7cffe813b6e@default> <87eezmyaq0.fsf@gnus.org> Date: Wed, 09 Oct 2019 03:25:30 +0200 In-Reply-To: <87eezmyaq0.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 09 Oct 2019 03:21:59 +0200") Message-ID: <87a7aayak5.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen writes: >> If this is really what Emacs Dev prefers (why?), can you please let me >> know a simple way to get the Emacs 20 indentation instead? I forgot about this: Set `lisp-backquote-indentation' to nil. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18348 Cc: 18348@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Lars Ingebrigtsen writes: >> If this is really what Emacs Dev prefers (why?), can you please let me >> know a simple way to get the Emacs 20 indentation instead? I forgot about this: Set `lisp-backquote-indentation' to nil. I think changing the default of that variable might be nice, but I guess that train left the station a decade ago, so I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 08 21:25:49 2019 Received: (at control) by debbugs.gnu.org; 9 Oct 2019 01:25:49 +0000 Received: from localhost ([127.0.0.1]:51695 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iI0jc-0001D4-Ru for submit@debbugs.gnu.org; Tue, 08 Oct 2019 21:25:49 -0400 Received: from quimby.gnus.org ([80.91.231.51]:49162) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iI0jb-0001Cx-Iv for control@debbugs.gnu.org; Tue, 08 Oct 2019 21:25:47 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iI0jY-0000fV-Tc for control@debbugs.gnu.org; Wed, 09 Oct 2019 03:25:46 +0200 Date: Wed, 09 Oct 2019 03:25:44 +0200 Message-Id: <878spuyajr.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #18348 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 18348 wontfix close 18348 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 18348 wontfix close 18348 quit From unknown Mon Jun 16 23:46:55 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 06 Nov 2019 12:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator