From: Leo <sdl.web@gmail.com>
To: 12267@debbugs.gnu.org
Subject: bug#12267: 24.2; sh-indent-comment bad default
Date: Fri, 24 Aug 2012 11:37:25 +0800 [thread overview]
Message-ID: <m2ehmxhsei.fsf@gmail.com> (raw)
--------------------------------
#!/bin/bash
function x() {
#
abc='a'
}
--------------------------------
Put the snippet in a sh-mode buffer and try indenting the comment line
(line 4). The default prohibits indenting any comment lines which
contradicts behaviour in all other modes. Thus I propose changing the
default value of sh-indent-comment to t to be consistent with other
modes.
I no one objects I will make the change in next days.
Leo
next reply other threads:[~2012-08-24 3:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-24 3:37 Leo [this message]
2012-08-24 15:34 ` bug#12267: 24.2; sh-indent-comment bad default Stefan Monnier
2012-08-25 1:33 ` Leo
2012-08-27 10:54 ` Leo
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=m2ehmxhsei.fsf@gmail.com \
--to=sdl.web@gmail.com \
--cc=12267@debbugs.gnu.org \
/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.