* Hitting <Ret> at beginning of comment line of .el files
@ 2020-10-08 20:25 Christopher Dimech
2020-10-08 21:04 ` Emanuel Berg via Users list for the GNU Emacs text editor
0 siblings, 1 reply; 2+ messages in thread
From: Christopher Dimech @ 2020-10-08 20:25 UTC (permalink / raw)
To: Help Gnu Emacs
When I hit <Ret> at beginning of a comment line in an elisp file
I get the line shifted by five tabs. Why does this happen. I am
thinking of disabling this thing. How can I disable such behaviour.
Regards
C*
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Hitting <Ret> at beginning of comment line of .el files
2020-10-08 20:25 Hitting <Ret> at beginning of comment line of .el files Christopher Dimech
@ 2020-10-08 21:04 ` Emanuel Berg via Users list for the GNU Emacs text editor
0 siblings, 0 replies; 2+ messages in thread
From: Emanuel Berg via Users list for the GNU Emacs text editor @ 2020-10-08 21:04 UTC (permalink / raw)
To: help-gnu-emacs
Christopher Dimech wrote:
> When I hit <Ret> at beginning of a comment line in
> an elisp file I get the line shifted by five tabs.
> Why does this happen. I am thinking of disabling
> this thing. How can I disable such behaviour.
Sounds like an auto-indentation thing.
Use _two_ semi-colons (;;) for all-comment lines, e.g.
;; now the interesting stuff begins...
but
(+ 1 3 3 7) ; addition is addictive
--
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-10-08 21:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-08 20:25 Hitting <Ret> at beginning of comment line of .el files Christopher Dimech
2020-10-08 21:04 ` Emanuel Berg via Users list for the GNU Emacs text editor
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).