unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Kaushal Modi <kaushal.modi@gmail.com>
To: 26619@debbugs.gnu.org, Noam Postavsky <npostavs@users.sourceforge.net>
Subject: bug#26619: 26.0.50; Wrong indentation in emacs-lisp-mode
Date: Mon, 24 Apr 2017 21:03:38 +0000	[thread overview]
Message-ID: <CAFyQvY2ps5nvY8NOiWZioR6_ZzG8RpYprE+JqaVFsGwnOOUS2g@mail.gmail.com> (raw)
In-Reply-To: <87shkzsidm.fsf@calancha-pc>

[-- Attachment #1: Type: text/plain, Size: 508 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 946 bytes --]

  parent reply	other threads:[~2017-04-24 21:03 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-23  7:17 bug#26619: 26.0.50; Wrong indentation in emacs-lisp-mode Tino Calancha
2017-04-23 14:51 ` npostavs
2017-04-24 21:03 ` Kaushal Modi [this message]
2017-04-26  3:05   ` Michael Heerdegen
2017-04-26  3:22   ` npostavs
2017-04-26  3:29     ` Michael Heerdegen
2017-04-26  3:53       ` npostavs
2017-04-26  4:00         ` Michael Heerdegen
2017-04-26 18:27         ` Kaushal Modi
2017-04-26 22:31           ` npostavs
2017-04-27 11:52             ` Michael Heerdegen
2017-04-29  2:20               ` npostavs
2017-04-29 12:00                 ` Michael Heerdegen
2017-05-05 15:55                 ` Kaushal Modi
2017-05-05 22:43                   ` npostavs
2017-05-06  1:58                     ` Kaushal Modi
2017-05-06  2:42                       ` npostavs
2017-05-08 12:46                       ` Michael Heerdegen
2017-05-10  0:57                         ` npostavs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFyQvY2ps5nvY8NOiWZioR6_ZzG8RpYprE+JqaVFsGwnOOUS2g@mail.gmail.com \
    --to=kaushal.modi@gmail.com \
    --cc=26619@debbugs.gnu.org \
    --cc=npostavs@users.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).