* bug#12267: 24.2; sh-indent-comment bad default
@ 2012-08-24 3:37 Leo
2012-08-24 15:34 ` Stefan Monnier
2012-08-27 10:54 ` Leo
0 siblings, 2 replies; 4+ messages in thread
From: Leo @ 2012-08-24 3:37 UTC (permalink / raw)
To: 12267
--------------------------------
#!/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
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#12267: 24.2; sh-indent-comment bad default
2012-08-24 3:37 bug#12267: 24.2; sh-indent-comment bad default Leo
@ 2012-08-24 15:34 ` Stefan Monnier
2012-08-25 1:33 ` Leo
2012-08-27 10:54 ` Leo
1 sibling, 1 reply; 4+ messages in thread
From: Stefan Monnier @ 2012-08-24 15:34 UTC (permalink / raw)
To: Leo; +Cc: 12267
BTW, have you tried (setq sh-use-smie t)?
Stefan
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#12267: 24.2; sh-indent-comment bad default
2012-08-24 15:34 ` Stefan Monnier
@ 2012-08-25 1:33 ` Leo
0 siblings, 0 replies; 4+ messages in thread
From: Leo @ 2012-08-25 1:33 UTC (permalink / raw)
To: 12267
On 2012-08-24 23:34 +0800, Stefan Monnier wrote:
> BTW, have you tried (setq sh-use-smie t)?
Not yet because I am stuck with 24.2.
Leo
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#12267: 24.2; sh-indent-comment bad default
2012-08-24 3:37 bug#12267: 24.2; sh-indent-comment bad default Leo
2012-08-24 15:34 ` Stefan Monnier
@ 2012-08-27 10:54 ` Leo
1 sibling, 0 replies; 4+ messages in thread
From: Leo @ 2012-08-27 10:54 UTC (permalink / raw)
To: 12267-done
Fixed in emacs-24
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-08-27 10:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-24 3:37 bug#12267: 24.2; sh-indent-comment bad default Leo
2012-08-24 15:34 ` Stefan Monnier
2012-08-25 1:33 ` Leo
2012-08-27 10:54 ` Leo
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).