From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#26619: 26.0.50; Wrong indentation in emacs-lisp-mode Date: Wed, 26 Apr 2017 05:05:35 +0200 Message-ID: <87zif3lvgg.fsf@drachen> References: <87shkzsidm.fsf@calancha-pc> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1493175971 3358 195.159.176.226 (26 Apr 2017 03:06:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 26 Apr 2017 03:06:11 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 26619@debbugs.gnu.org, Noam Postavsky To: Kaushal Modi Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 26 05:06:07 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1d3DHK-0000k5-Hb for geb-bug-gnu-emacs@m.gmane.org; Wed, 26 Apr 2017 05:06:06 +0200 Original-Received: from localhost ([::1]:52320 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d3DHQ-00056w-GD for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Apr 2017 23:06:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37999) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d3DHJ-00056f-R6 for bug-gnu-emacs@gnu.org; Tue, 25 Apr 2017 23:06:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d3DHG-0000Fw-Ha for bug-gnu-emacs@gnu.org; Tue, 25 Apr 2017 23:06:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42147) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d3DHG-0000Fs-Dq for bug-gnu-emacs@gnu.org; Tue, 25 Apr 2017 23:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d3DHG-0007z3-2r for bug-gnu-emacs@gnu.org; Tue, 25 Apr 2017 23:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Apr 2017 03:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26619 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 26619-submit@debbugs.gnu.org id=B26619.149317595530677 (code B ref 26619); Wed, 26 Apr 2017 03:06:02 +0000 Original-Received: (at 26619) by debbugs.gnu.org; 26 Apr 2017 03:05:55 +0000 Original-Received: from localhost ([127.0.0.1]:40346 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d3DH9-0007yj-38 for submit@debbugs.gnu.org; Tue, 25 Apr 2017 23:05:55 -0400 Original-Received: from mout.web.de ([212.227.15.3]:63225) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d3DH6-0007yU-JQ for 26619@debbugs.gnu.org; Tue, 25 Apr 2017 23:05:53 -0400 Original-Received: from drachen.dragon ([88.73.21.103]) by smtp.web.de (mrweb003 [213.165.67.108]) with ESMTPSA (Nemesis) id 0LhNmy-1dpncP26i0-00mfZU; Wed, 26 Apr 2017 05:05:29 +0200 In-Reply-To: (Kaushal Modi's message of "Mon, 24 Apr 2017 21:03:38 +0000") X-Provags-ID: V03:K0:Sqi0ZQaBRVwDCjiGPxjukhgcMbp7iVINBwgB0gcrQJvbdxTdHz3 ZmKAyL2UklSn5LPCK+ld2AqczhmucGsxwBQHgalbeayvxdcqrdVHoBOro/AGpZuMIIpkJ6t YWwpBncDBOa9zfXpDI6FXvYuHuYNCpdupDibxwcX7MegJpL5TUjwIS2qLgrdwORFmU+qCsg er0fpBDsQvyOc10aEN+JQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:kuVvsbY+J2s=:WkSqjumXHr0ByDed+cq0Xc oTbKikrIIMy8GK4OHvczAYDNrUv3vMkRHCIKBrkt16VaM9WO7RFwjsSz8Z6S0vz6IrEPiRiv7 Fjsj/dZQZApG3udP4rTTjiI5bcz2bz7C1WepciTIXl3ngkgXiD5GfAWbZLf9gGHTPHIE6kmrg 5PTctUoYTPom0xmjVIML26wpUJXgvkqkutEmy0UXZcr7eG5lBOmk/uppwMrNxJ8oemJPBReRJ j7CXXGBKFZPmbuFrlnfUeQBEWQnS6UumdHEo005gFlqG3Qt+EyFMqoMX9WR1ex3H5f5HL1Js5 GTHDLjvAFHOpzevSRfvizaAPv7UxoSmtg5gOs8rUejbS9THP6pHCu/rnieIqmBApZi25KLBww Do19B7Y9ztnxJKmjA04ObBuipQ/3n4ArAjKB5kT8Fmiygcw440Uzz5ftP85ByDVndWiH2wdn8 Cz6cCYYmUB1qr5kIEf1cXq4JsrzdNtVEoz7D9v0BH/ZFdUfL1B2ZU/lIEwn3jEbShUDbsLjYV JIZLLaPCZlrtNSsRWXgeRmH+3v39eiAo7sUPDtI1XNZ5zISGTdeZtRvIGgMJgAIZ2IqfC7BPG AAB2uBKH0TRaFx4M2T9GY6NVdZ3lapucS7aJ5MlJgc///F37TnCrsgCjBWChEtO3JrhJMfg9A vXNkVaBl+H4vdlWMQZym0GP1A3NRQNZ3vsqeJpD+s5wr/JClKJ8RYaoTQDTEsGiXSCZD5QvoC 834+bvk2sZ8Me87U8wA6iz5Ytlda8oYJYSWeZRRZqPXVXybJyxP5Z+vv6jPVWfT352T5+n2G X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:131986 Archived-At: Kaushal Modi writes: > But indentation is still broken in cases like these: > > (with-eval-after-load 'foo > (setq bar `( > baz))) > > It instead indents to: > > (with-eval-after-load 'foo > (setq bar `( > baz))) There must be more cases. I already get wrong indentation with very simple cases. E.g. here: #+begin_src emacs-lisp (defun test () "A test function" (switch-to-buffer "*Messages*") 17) #+end_src Mark the string "*Messages*" and hit C-M-\. The whole line is indented to a wrong column. While this example is not super useful, calls like this may happen from Lisp. Michael.