all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: Kaushal Modi <kaushal.modi@gmail.com>
Cc: 26619@debbugs.gnu.org, Noam Postavsky <npostavs@users.sourceforge.net>
Subject: bug#26619: 26.0.50; Wrong indentation in emacs-lisp-mode
Date: Wed, 26 Apr 2017 05:05:35 +0200	[thread overview]
Message-ID: <87zif3lvgg.fsf@drachen> (raw)
In-Reply-To: <CAFyQvY2ps5nvY8NOiWZioR6_ZzG8RpYprE+JqaVFsGwnOOUS2g@mail.gmail.com> (Kaushal Modi's message of "Mon, 24 Apr 2017 21:03:38 +0000")

Kaushal Modi <kaushal.modi@gmail.com> 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.





  reply	other threads:[~2017-04-26  3:05 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
2017-04-26  3:05   ` Michael Heerdegen [this message]
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

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

  git send-email \
    --in-reply-to=87zif3lvgg.fsf@drachen \
    --to=michael_heerdegen@web.de \
    --cc=26619@debbugs.gnu.org \
    --cc=kaushal.modi@gmail.com \
    --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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.