all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kaushal Modi <kaushal.modi@gmail.com>
To: Emacs developers <emacs-devel@gnu.org>,
	Noam Postavsky <npostavs@gmail.com>
Subject: Default change in elisp indentation [Probably 4713dd4?]
Date: Mon, 24 Apr 2017 20:28:14 +0000	[thread overview]
Message-ID: <CAFyQvY31oCfo4mep2ihjQtWZn3xT_Mu4Ye9hZZHNJJxmsUP4ng@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 564 bytes --]

Hi,

I suddenly noticed that the default indentation has changed.

This indents correctly:

(defun foo()
  "foo"
  (interactive)
  (message "foo"))

But if the doc-string is multi-line, it now indents like this:

(defun foo()
  "foo
bar"
       (interactive)
       (message "foo"))

I searched for "indent" in recent commit history, and I believe it is this
commit:
http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=4713dd425beac5cb459704e67dcb8f6faf714375

[image: pasted1][image: pasted2][image: pasted3][image: pasted4][image:
pasted5]


-- 

Kaushal Modi

[-- Attachment #1.2: Type: text/html, Size: 1535 bytes --]

[-- Attachment #2: pasted3 --]
[-- Type: image/png, Size: 18861 bytes --]

[-- Attachment #3: pasted1 --]
[-- Type: image/png, Size: 18861 bytes --]

[-- Attachment #4: pasted2 --]
[-- Type: image/png, Size: 18861 bytes --]

[-- Attachment #5: pasted4 --]
[-- Type: image/png, Size: 18861 bytes --]

[-- Attachment #6: pasted5 --]
[-- Type: image/png, Size: 18861 bytes --]

             reply	other threads:[~2017-04-24 20:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-24 20:28 Kaushal Modi [this message]
2017-04-24 20:39 ` Default change in elisp indentation [Probably 4713dd4?] Kaushal Modi
2017-04-24 20:44 ` Noam Postavsky
2017-04-24 20:56   ` Kaushal Modi

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=CAFyQvY31oCfo4mep2ihjQtWZn3xT_Mu4Ye9hZZHNJJxmsUP4ng@mail.gmail.com \
    --to=kaushal.modi@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=npostavs@gmail.com \
    /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.