[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Line indents to middle when editing init.el: what the heck is happen
Re: Line indents to middle when editing init.el: what the heck is happening?
Sat, 30 Jan 2016 15:43:11 +1100
mu4e 0.9.16; emacs 24.5.3
Tom Browder <address@hidden> writes:
Ah, I am using a single semicolon! I have never heard of that
behavior before, and I don't remember seeing that in XEmacs (but
I started with an extensive init.el from one of the daddy
rabbits which may be the reason).
It's part of the GNU Emacs coding conventions / recommendations;
cf. this section of GNU Emacs Lisp Reference Manual:
I'll see if a double-semicolon changes the behavior. BTW, do you
know how to change that behavior?
Well, in terms of which column a single-semicolon comment will be
aligned to, you can set the value of the variable
Afaik, to change how single-semicolon comments behave overall,
you'd need to modify the variable `comment-indent-function` to
point to a function that behaves the way you want (e.g. a modified
version of the function `comment-indent-default`).
You're welcome. :-)