GNU bug report logs - #23108
25.0.92; emacs-lisp-mode: wrong indentation in `let' binding list

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: Michael Heerdegen <michael_heerdegen@HIDDEN>; Keywords: confirmed; dated Thu, 24 Mar 2016 16:41:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Severity set to 'minor' from 'normal' Request was from Stefan Kangas <stefan@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Added tag(s) confirmed. Request was from npostavs@HIDDEN to control <at> debbugs.gnu.org. Full text available.

Message received at 23108 <at> debbugs.gnu.org:


Received: (at 23108) by debbugs.gnu.org; 26 Mar 2016 01:49:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 25 21:49:56 2016
Received: from localhost ([127.0.0.1]:38173 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ajdMS-0000Ct-3e
	for submit <at> debbugs.gnu.org; Fri, 25 Mar 2016 21:49:56 -0400
Received: from mout.web.de ([212.227.17.12]:62425)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1ajdMQ-0000Ch-KZ
 for 23108 <at> debbugs.gnu.org; Fri, 25 Mar 2016 21:49:55 -0400
Received: from drachen.dragon ([188.99.170.215]) by smtp.web.de (mrweb102)
 with ESMTPSA (Nemesis) id 0MHp8z-1akSIr1e1t-003Zf5; Sat, 26 Mar 2016 02:49:48
 +0100
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
To: 23108 <at> debbugs.gnu.org
Subject: Re: bug#23108: 25.0.92;
 emacs-lisp-mode: wrong indentation in `let' binding list
References: <874mbv6d9p.fsf@HIDDEN>
Date: Sat, 26 Mar 2016 02:49:47 +0100
In-Reply-To: <874mbv6d9p.fsf@HIDDEN> (Michael Heerdegen's message of "Thu, 24
 Mar 2016 17:39:46 +0100")
Message-ID: <87egayrosk.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K0:9jbcN2GKDIiC6czJ7h2u5Dlu6dLBx+2kMoAPNSoV7mNw9nOaZWU
 56dXwg9nwag+qPbWFMiJeqskPbvf4btvMVQXERbMa7s70yU4oXMwP6BL1s1DFBOL7GVQQNH
 sU2HSURJ/4E7CQiAL3l6XvzyYWEG10sOh3Dek9wHwr9iEKBANClh629yWO1AeOikPHqp1Od
 zMOGtF7L1zGfXHHgfZpQA==
X-UI-Out-Filterresults: notjunk:1;V01:K0:wnM+tAPUIPk=:Ha+KbRKEmxAikrUJJpZVXi
 EpFk3j1ZYVWFssG91o5IwgFsnjONvcx8GmKF5+C0p2VW4aGZXgvj9VXoehZVkP/A1MPq9ZmBW
 vHhCJ1qQU0F0fG7kEGF+sfhC9ZjtQ0ed/nwdoSPli0o1uJ2xQBRtujyQNWiz9quLfQ3bVbIlq
 k7MEMu/1rmSJD6RtcKYJf1PrM7QtEG0StQR+ENLBq+D/N7WtD4SLpsLl/XXrVvw2z184+Dl33
 b2B7apF4j/LnufUmmjUHdL7iF8Nj2BFlkPsdZpKHAsxHaQvf+bPUm9yaSUI9J8t2rosqMBHaM
 6IfihUVQW403KyS87PXEugWJOjXajSKcdixXrrPLIb2PGUJKnbpjFjLy+61ZIDFnjHWCQPKRb
 C/HFwbTt/fEz0Nqeb5SMhsV02ZWUNVbCDPfEDg305cgDb5BvH6/xIRpXQaQTUZn53w52oPnKo
 pFVW5oZDX8RJ5pCSuW8Ldd0TN+i1IhJREM2WAMDLgUAYccBUFPF9jxrsP2G4GOevGOHRj+KnY
 UixPsMSFYzItz7dBZm2++q4+DO7AA9j0Jlh2SbdcXaPEL2DFkFpaxE4Yp5Cj4N7nmnucU5Ic+
 2VpRQ30RDagX+euvPKjsoj2lmVKLddx5asXm/gxmRpqtrmLihoxJcG6Q4Mto14CABerKVNXpZ
 +PsFFuqpUk9Zx5hgulzVy2R6GG6TtytkAOOi8k1D+uFZJAhc9K9aCfsEod8as4LD6oiS0gMk2
 teDDKGZ04AOMqgeFvTfA6UmHrsgRYoO9pGcIU6jgFR8PGIOyWDu5AYZExzzGYDjSBqIBw2Z42
 ndBHe40
X-Spam-Score: -1.7 (-)
X-Debbugs-Envelope-To: 23108
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Michael Heerdegen <michael_heerdegen@HIDDEN> writes:

> (let (from to
>            (temp-buffer (generate-new-buffer "temp")))
>   body
>   body)

Hmm, `let' has just simply lisp-indent-function -> 1, so it seems the
list of bindings is not treated specially.  Thus, in the above case you
get an indentation like for a function call.


Michael.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#23108; Package emacs. Full text available.

Message received at 23108 <at> debbugs.gnu.org:


Received: (at 23108) by debbugs.gnu.org; 25 Mar 2016 16:29:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 25 12:29:52 2016
Received: from localhost ([127.0.0.1]:38020 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ajUcS-0001ZK-AY
	for submit <at> debbugs.gnu.org; Fri, 25 Mar 2016 12:29:52 -0400
Received: from mail-wm0-f48.google.com ([74.125.82.48]:33097)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <raaahh@HIDDEN>) id 1ajUcQ-0001Z4-Rq
 for 23108 <at> debbugs.gnu.org; Fri, 25 Mar 2016 12:29:51 -0400
Received: by mail-wm0-f48.google.com with SMTP id l68so30708961wml.0
 for <23108 <at> debbugs.gnu.org>; Fri, 25 Mar 2016 09:29:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=sender:subject:to:references:from:message-id:date:user-agent
 :mime-version:in-reply-to:content-transfer-encoding;
 bh=fH+NM/XhHzjs75kWe+Lo7SL36WW2WEZGp5yKmCir6Qk=;
 b=0GKnYrn8QFiOK9q9Ua4W/tHizIyY5swU/WAHfMDMKIM/tUW6L/ubldcowDi8YidZkw
 wV4irm3GMSH0kThMWyVljvLcgTlZtX9ect7eZJm0Uu+reZfLdgmXYIrtg6sdlyV5CRMT
 uBNYW84VU8Pg2tGOUI9CU7IqJR5Hk9Iv8d/Kx2gVTzRp9W2zfpNGvur8+FDeZVfFBhye
 FwqTurOGbQx00zNBVHn/zQlfGoD3ThaIwlL+GCM1idCh/ebs+/Z1U3AmHyaE37ypcYuM
 97T6OWsSzUvey23kbYvuyaHd/dfVE23v4XOtKa4I9h2WinVG4gJnAb2z2cZC7jST+4/y
 k7qg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:sender:subject:to:references:from:message-id
 :date:user-agent:mime-version:in-reply-to:content-transfer-encoding;
 bh=fH+NM/XhHzjs75kWe+Lo7SL36WW2WEZGp5yKmCir6Qk=;
 b=mTZTvSbdaj55L2Wypvs9/GLoOLvryJ9bY2X6x81qmRm4AMNkzc32ccTnC0ftOAtpsh
 C0+n69VPH8W1UJm/tjeWX5ebzy3DFWJb6dQ6jNx3Bz5JjoxmOGTZYtysdGMjDmir8ofP
 4JCVXzykRCh+7F99NmMxVed8EiCqN5SHVuxHE66mn3SqpbWDWSX096K39ZOwNKzLigxB
 n+plpLhzIjnbv9Xif72Rp2901t1/B27FFf2bPOx7otqhz6sosf+0QX3XyAgXcutHfvyR
 0/2JTT/5xOuaAAYxtlX7xVcFFygia/iKPlXj3PsBOYKn4touKwXx+DsU9pnhTHwZcouP
 eWFw==
X-Gm-Message-State: AD7BkJLEPHpU6vhQJF1jmMWwb4PAFkClWDLjA6mKEL/ZGLVrhQO0yutQjuTRPgHwmJMZcA==
X-Received: by 10.28.173.143 with SMTP id w137mr17747753wme.101.1458923385174; 
 Fri, 25 Mar 2016 09:29:45 -0700 (PDT)
Received: from [192.168.1.2] ([185.105.175.24])
 by smtp.googlemail.com with ESMTPSA id p191sm4192386wmb.0.2016.03.25.09.29.43
 (version=TLSv1/SSLv3 cipher=OTHER);
 Fri, 25 Mar 2016 09:29:44 -0700 (PDT)
Subject: Re: bug#23108: 25.0.92; emacs-lisp-mode: wrong indentation in `let'
 binding list
To: Kaushal Modi <kaushal.modi@HIDDEN>, 23108 <at> debbugs.gnu.org
References: <874mbv6d9p.fsf@HIDDEN>
 <CAFyQvY1xEHh7oBNX9Qfof=PQQ30eEVdLGhR3k+Td9C26rP3DOA@HIDDEN>
From: Dmitry Gutov <dgutov@HIDDEN>
Message-ID: <f5533e96-e618-070b-ed69-39270122e728@HIDDEN>
Date: Fri, 25 Mar 2016 18:29:42 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Thunderbird/45.0
MIME-Version: 1.0
In-Reply-To: <CAFyQvY1xEHh7oBNX9Qfof=PQQ30eEVdLGhR3k+Td9C26rP3DOA@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: -0.5 (/)
X-Debbugs-Envelope-To: 23108
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.5 (/)

On 03/25/2016 06:04 PM, Kaushal Modi wrote:
> I would also like to have a solution to this.
>
> For now, I arrange my let bindings as follows:

Me too, on both counts.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#23108; Package emacs. Full text available.

Message received at 23108 <at> debbugs.gnu.org:


Received: (at 23108) by debbugs.gnu.org; 25 Mar 2016 16:05:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 25 12:05:39 2016
Received: from localhost ([127.0.0.1]:38009 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ajUF1-0000yS-3b
	for submit <at> debbugs.gnu.org; Fri, 25 Mar 2016 12:05:39 -0400
Received: from mail-oi0-f52.google.com ([209.85.218.52]:35078)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <kaushal.modi@HIDDEN>) id 1ajUEz-0000yD-TB
 for 23108 <at> debbugs.gnu.org; Fri, 25 Mar 2016 12:05:38 -0400
Received: by mail-oi0-f52.google.com with SMTP id h6so45911848oia.2
 for <23108 <at> debbugs.gnu.org>; Fri, 25 Mar 2016 09:05:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:from:date:message-id:subject:to;
 bh=trqD4ANhqu68xjb2NlxcOkblPiCWrlYH5nUH7w9redY=;
 b=BCdu4NqyFx5izoBLKkIlVrxO4+5TdE8P3owi64mAYmdaajSec8XQ7wrSCcJYCSB0Ev
 5OE3Io7biS8yIrqVvfCcX25daNv5aRx+VzUZ8pd2/dgFFwipG7Z0q4YOq3eTv9kQp18c
 Tc/MsUcJ0y+DeiulIrAFVranP1kIfXNF6yUMtw67y0QAWl7kXOb51HWt86DoIUmn1WPr
 iJjK6IgkNr4eL8n17ygggBVCvKBtQl95AHAghmKIT42UL6L1kN55j8I5pPt6T6/q4yWm
 z88XHM9mspAhz6/Z6+LuuvgrjYqZUVrEQeTlR1X7lDNEzH3wSa9vfN0y/NWbIZFyhJRp
 LxyQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=trqD4ANhqu68xjb2NlxcOkblPiCWrlYH5nUH7w9redY=;
 b=SIbXK3EfFR7ATn3XXV9ggn/f/OMlJJqZNSp6Y6MOWKmfiV+rDo6HZSIsHvmqRtIVJk
 GMKrwNuP0lt4NKMin/mxj0dNtM7tuuxhEPqA0zFdR1sZ+fTCZX0ophQBIiGmxbmkyt+A
 83tTx0JNK9oVcZk8BGyzQ+4mYt9qJwfizw3alMzBd41jFyESX8I4SQCjHWV1eAP6am90
 e/qVA443PCwCujWCttQk9/JdWQUcVwCXRakPl7IloakZL7So7fgKG6h8dnrQAUViRNNg
 AX0rym4iobyi2CmWTz2ia/9p3ldXV5AJpFUtazhxbPvqK7euzRYIutyGBqzoBPwLNMTn
 xwKg==
X-Gm-Message-State: AD7BkJI9P1klTGccFdsNozIwO9JMdqJyl2UbLbCFkUU8fp/me8Zs2KY85kEA0WR25QYOigrNTebd7NmNnHtMAg==
X-Received: by 10.202.197.66 with SMTP id v63mr4704508oif.23.1458921932264;
 Fri, 25 Mar 2016 09:05:32 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.202.204.2 with HTTP; Fri, 25 Mar 2016 09:04:52 -0700 (PDT)
From: Kaushal Modi <kaushal.modi@HIDDEN>
Date: Fri, 25 Mar 2016 12:04:52 -0400
Message-ID: <CAFyQvY1xEHh7oBNX9Qfof=PQQ30eEVdLGhR3k+Td9C26rP3DOA@HIDDEN>
Subject: Re: 25.0.92; emacs-lisp-mode: wrong indentation in `let' binding list
To: 23108 <at> debbugs.gnu.org
Content-Type: multipart/alternative; boundary=001a113e4d62871e4f052ee1bbd1
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 23108
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

--001a113e4d62871e4f052ee1bbd1
Content-Type: text/plain; charset=UTF-8

I would also like to have a solution to this.

For now, I arrange my let bindings as follows:

--8<---------------cut here---------------start------------->8---
(let ((temp-buffer (generate-new-buffer "temp"))
      from to)
  body
  body)
--8<---------------cut here---------------end--------------->8---

--
Kaushal Modi

--001a113e4d62871e4f052ee1bbd1
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I would also like to have a solution to this.<br><br>For n=
ow, I arrange my let bindings as follows:<br><br>--8&lt;---------------cut =
here---------------start-------------&gt;8---<br>(let ((temp-buffer (genera=
te-new-buffer &quot;temp&quot;))<br>=C2=A0 =C2=A0 =C2=A0 from to)<br>=C2=A0=
 body<br>=C2=A0 body)<br>--8&lt;---------------cut here---------------end--=
-------------&gt;8---<br><br>--<br>Kaushal Modi<br><div>
</div></div>

--001a113e4d62871e4f052ee1bbd1--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#23108; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 24 Mar 2016 16:40:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 24 12:40:32 2016
Received: from localhost ([127.0.0.1]:36398 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aj8JD-000123-SV
	for submit <at> debbugs.gnu.org; Thu, 24 Mar 2016 12:40:32 -0400
Received: from eggs.gnu.org ([208.118.235.92]:41748)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1aj8JC-00011p-Qp
 for submit <at> debbugs.gnu.org; Thu, 24 Mar 2016 12:40:31 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1aj8J2-0001hR-Dr
 for submit <at> debbugs.gnu.org; Thu, 24 Mar 2016 12:40:25 -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.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:49440)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1aj8J2-0001hM-9V
 for submit <at> debbugs.gnu.org; Thu, 24 Mar 2016 12:40:20 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:60934)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1aj8Iw-0002Bn-DJ
 for bug-gnu-emacs@HIDDEN; Thu, 24 Mar 2016 12:40:20 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1aj8Is-0001gV-VU
 for bug-gnu-emacs@HIDDEN; Thu, 24 Mar 2016 12:40:14 -0400
Received: from mout.web.de ([212.227.15.14]:50997)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1aj8Is-0001fZ-M5
 for bug-gnu-emacs@HIDDEN; Thu, 24 Mar 2016 12:40:10 -0400
Received: from drachen.dragon ([94.218.210.27]) by smtp.web.de (mrweb001) with
 ESMTPSA (Nemesis) id 0Lbrk4-1a0DEA1nvQ-00jHkw for
 <bug-gnu-emacs@HIDDEN>; Thu, 24 Mar 2016 17:40:06 +0100
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 25.0.92; emacs-lisp-mode: wrong indentation in `let' binding list
Date: Thu, 24 Mar 2016 17:39:46 +0100
Message-ID: <874mbv6d9p.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K0:/jk4Sh/1zGzUNXqhsF0aB9oxJtJ1jhuRzV/gAc7fhZjRWe9J4h0
 +yv2t2rHnQZK3hIIBWQX04hiWdoZKm8rdsmy//mBKQ/YXuJRKvsuogFLadKvXDGwO2Hg6p0
 hcu5/6oCmwPCcVDI/H9t7vOnl+789QyZDqeyWe9U6PrxRBSBSGWvZmCMgByh/K1t+SPlGoP
 VH2QxdRgDLUwcxRssZP0g==
X-UI-Out-Filterresults: notjunk:1;V01:K0:c+5aDwbKEl0=:u72ZwWcgM00gbVG/qfHAJn
 elPmQqJPfLZ2YUKKYlyG6VIP/i8ETRgFH3y9aW1YwEJD/6sWHhznsV+W01RLDgdQdXrW2mH1/
 vilMrR6ScOHpTjCrA1f4UUwSRIdmgm9NGW+r+VVLqQ5HYO+0gG9+3ym8PnG4ee1e+XWwmothO
 xUGztJ6B2AhHoO0+svTQ6hNCa0fl6uxLEWTbAEH+ji2olwBFKz5NV5GBGUhNQcMwQiu11eynd
 LT/H4zbv4p/kao3NNl0itgPwSD/2gTpK5LsTeq7PRE+HnfvRg9e4is8huaksVBtdzY77y6Esv
 xjvjXKoNg+x6PmqDQ2xZoo03SX6LL2ye7h9uW/VPaJaK3S0/Au5LSb9V2T1otYFrCbe4cubPP
 DJ6gwnpvz8ZalYahiUG5k/HS9UprzdgFjfp/Lif4/iUVLNYleDDkimFSUdcUWjpStz3yCzlV+
 JXnxdqw5jF62paglsw27KnZ2nNF8u1WPL7WZqBM6znVxiI0jFyDz8QE8n1dTnZ8JdbA5QLVF7
 kWGhlPFMpLtEmYdJbU+FXmYBq7z7C9JBnxK3ijKZfy+Fw+DXMc6SOL/hDTnY7/GjCufuIN/Xo
 Y0FjACdSz5seqVr7ZZ4ZASIXZ9MJhEFCHj6uhXfNkYMZr89mh946/C/LXlRwVM+2Xszicsmst
 7KzpqpyrIrNLZS8PjxOrxOhusXBrmruWnRuSvRK8IIKEJfy2XZJOBTQQ97ICOjCfwPChBEMrr
 Tz3/FA/LU+U8We8A46BvKWQWmsfM8ter2B2wFYJVV8Kr03ouwM7803pThq1wqxdsLgZwfCNJ4
 l7Hjqwx
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.1 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.1 (----)


Hello,

in emacs -Q, this expression:

--8<---------------cut here---------------start------------->8---
(let (from to
           (temp-buffer (generate-new-buffer "temp")))
  body
  body)
--8<---------------cut here---------------end--------------->8---

is indented exactly as I pasted it here, e.g. in scratch or any
emacs-lisp-mode buffer.  IMHO the `temp-buffer' binding should be
indented to the same column as `from'.

When I wrap `from' in parens (which doesn't change the semantic of the
expression), the indentation suddenly works as I expect.


Thanks,

Michael.




In GNU Emacs 25.0.92.5 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9)
 of 2016-03-23 built on drachen
Repository revision: c0165ea4d6ecf81db6728782c7322c311ee0a783
Windowing system distributor 'The X.Org Foundation', version 11.0.11802000
System Description:	Debian GNU/Linux testing (stretch)

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS NOTIFY
LIBXML2 FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11

Important settings:
  value of $LC_ALL: de_DE.utf8
  value of $LC_COLLATE: C
  value of $LC_TIME: C
  value of $LANG: de_DE.utf8
  locale-coding-system: utf-8-unix

Major mode: Emacs-Lisp





Acknowledgement sent to Michael Heerdegen <michael_heerdegen@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#23108; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 31 Oct 2021 03:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.