From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.bugs Subject: bug#26619: 26.0.50; Wrong indentation in emacs-lisp-mode Date: Mon, 24 Apr 2017 21:03:38 +0000 Message-ID: References: <87shkzsidm.fsf@calancha-pc> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f403045f7400962bf5054deff158 X-Trace: blaine.gmane.org 1493067868 29298 195.159.176.226 (24 Apr 2017 21:04:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 24 Apr 2017 21:04:28 +0000 (UTC) To: 26619@debbugs.gnu.org, Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 24 23:04:21 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 1d2l9g-0007SK-UW for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 Apr 2017 23:04:21 +0200 Original-Received: from localhost ([::1]:45953 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d2l9m-0005Ut-Np for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 Apr 2017 17:04:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43225) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d2l9U-0005NQ-Ey for bug-gnu-emacs@gnu.org; Mon, 24 Apr 2017 17:04:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d2l9Q-0006FG-9m for bug-gnu-emacs@gnu.org; Mon, 24 Apr 2017 17:04:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40359) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d2l9Q-0006Ex-5f for bug-gnu-emacs@gnu.org; Mon, 24 Apr 2017 17:04:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d2l9P-0004kx-Qw for bug-gnu-emacs@gnu.org; Mon, 24 Apr 2017 17:04:03 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87shkzsidm.fsf@calancha-pc> Resent-From: Kaushal Modi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Apr 2017 21:04:03 +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.149306784318277 (code B ref 26619); Mon, 24 Apr 2017 21:04:03 +0000 Original-Received: (at 26619) by debbugs.gnu.org; 24 Apr 2017 21:04:03 +0000 Original-Received: from localhost ([127.0.0.1]:38555 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d2l9O-0004kc-NJ for submit@debbugs.gnu.org; Mon, 24 Apr 2017 17:04:02 -0400 Original-Received: from mail-lf0-f44.google.com ([209.85.215.44]:35475) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d2l9H-0004j7-C4 for 26619@debbugs.gnu.org; Mon, 24 Apr 2017 17:03:55 -0400 Original-Received: by mail-lf0-f44.google.com with SMTP id 75so80795727lfs.2 for <26619@debbugs.gnu.org>; Mon, 24 Apr 2017 14:03:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=xFz0P6Yxoj+Z+LoIRlmiBKimunj6pd2STzJau0vXLpM=; b=PESG1BWb4mXIFLiu2nHJ3DT7Q6TYIEgYEL0nY1xwNIu1XqFTWd4q43OfVp72n3NxTn Pcq+2/2mMi7uBVMfbJsh7KvIrtgESbIv03QW74WEA/tiXuMxgnI9nUPdEz48SpYJ8duH GMijoOwWpcnnq8soyhU0nnrUos1RSCJlgj3IdczfXd/0iUcCNNWh+idNYa/pwv/+B3si 2ws/Jx2HDbhHZ83hRzJ589k1f8jj+rhCzd5PRJk7VpG3zya4U8NH11NwFIFaN1L5HFJa DzujV2yYnQRz1H33fULUI7CkCKs3wgzAQXhd6hshlZDmMsz0Sq7pObG8tLp+Xm1BQxcR Q7CA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=xFz0P6Yxoj+Z+LoIRlmiBKimunj6pd2STzJau0vXLpM=; b=ovom+4nu2bFKBZtC59n99LJ/ITeccA8vjwgzCSODU7LSd5x7NbJVnhVNaC75Zl/kJ6 RDA4JFLFRPG4yC5Cc8AE4M5b5udNl1/CHCsdgm+wZcXkDdgtfj5pGMEnIxwzTxrK4Ijb mhooSTrdXJJXXcKaBu5ZWNxeNRHLXWIy+8iGJeMRQpQh9zEi7UsUNykZ/LoA5ctq7ULD HUdyzYIUnANmPIiJjpTviUev2gQf943iSrdqdY7ZenMatSe0CA8ZwDpAy15hLjOVUvRr xj1MPe4VIxMrIoRSRZPnoyTyIqEb3+/GFLIY+ZsNFfJGoEVOQZIoBUNrR2BRRshhzt4R HWig== X-Gm-Message-State: AN3rC/6pASI/xxTEtnQ68QD8SonnxJs+y2okwBWS9ELAAPBRajAbv7MU RSdE3HnYZljlCzSmO8W/kWSGH7R87w== X-Received: by 10.46.97.26 with SMTP id v26mr9831596ljb.33.1493067829223; Mon, 24 Apr 2017 14:03:49 -0700 (PDT) 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:131944 Archived-At: --f403045f7400962bf5054deff158 Content-Type: text/plain; charset=UTF-8 Hi Noam, I ended up here as I also noticed a big difference in emacs-lisp indentation. Your patch fixes the multi-line string indentation. Thanks! 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))) The "b" in "baz" is lining up with "'" in "'foo". Reverting lisp-mode.el to that in commit 66dc8dd66dc8dd fixes the problem. -- Kaushal Modi --f403045f7400962bf5054deff158 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Noam,

I ended up here as I also noti= ced a big difference in emacs-lisp indentation.

Yo= ur patch fixes the multi-line string indentation. Thanks!

But indentation is still broken in cases like these:

=
(with-eval-after-load 'foo
=C2=A0 (setq bar `= (
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 baz)))

It instead indents to:

(with-eval-after-load 'foo
=C2=A0 (setq bar `(
= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 baz)))

The "b" in "baz&qu= ot; is lining up with "'" in "'foo".
=
Reverting lisp-mode.el to that in commit=C2=A066dc8dd66dc8dd= fixes the problem.
--

Kaushal Modi

--f403045f7400962bf5054deff158--