Emacs auto-modes and tabs
David Roberts
droberts at mc.com
Tue Apr 22 10:41:32 EDT 2003
On Tue, 22 Apr 2003, Derek Martin stated in their Email:
Derek> From: Derek Martin <gnhlug at sophic.org>
Derek> To: discuss <discuss at gnhlug.org>
Derek> Date: Tue, 22 Apr 2003 00:03:57 -0400
Derek> Subject: Re: Emacs auto-modes and tabs
Derek>
Derek> -----BEGIN PGP SIGNED MESSAGE-----
Derek> Hash: SHA1
Derek>
Derek> On Thu, Apr 17, 2003 at 10:30:30AM -0400, Jason Stephenson wrote:
Derek> > Emacs will automagically match tabs or spaces in a file if the
Derek> > indentation is already consistent.
Derek>
Derek> Not everyone uses Emacs, and not everyone wants to.
Nope, but even vi knows about spaces, now if we want to
have a realy holy war - how about the proper placement of
the curly braces within the, in this case 'C' code
(same/separate line as the statement, indented with code
or not, etc.) There, I should have opened up at least two
points of "discussion" with that one... >;)
Derek>
Derek> > Why people get in holy wars over tabs versus spaces (and I thought the
Derek> > spaces people won, anyway) is beyond me. I can understand people getting
Derek> > passionate about what text editor they use, after all as a programmer
Derek> > it's probably the program that you spend most of your time using, but to
Derek> > argue over tabs versus spaces is kinda lame, particulary when any decent
Derek> > editor can do the right thing with any given file.
Derek>
Derek> You're right; I don't see why everyone doesn't just use tabs. That
Derek> way, if you prefer a particular indentation, all anyone needs to do is
Derek> change the tab stop width, and then everyone can be happy with their
Derek> favorite indentation. This is not possible if your editor expands
Derek> tabs to spaces. Therefore I conclude that using spaces is illogical.
Until you generate your software review package and the
printer wraps (or worse truncates) the long lines at the
80-character width - easily done depending on the
complexity of the code (or number of indents) and your
variable naming conventions.
And yes there are still people out there who must
generate paper trails (luckily I'm not one of them
anymore), after all it keeps all our pulp mills up in
northern NH -and- the government auditors in business...
;)
Derek>
Derek> :)
Derek>
Derek> - --
Derek> Derek D. Martin
Derek> http://www.pizzashack.org/
Derek> GPG Key ID: 0xDFBEAD02
Derek>
Derek> -----BEGIN PGP SIGNATURE-----
Derek> Version: GnuPG v1.2.1 (GNU/Linux)
Derek>
Derek> iD8DBQE+pL8tHEnASN++rQIRAnkqAKCPcIW4r4xi9D4QNzYT+FilTLh5PgCeLV/S
Derek> WqnKhh1YxFQQJKdpSm0rlCc=
Derek> =z5os
Derek> -----END PGP SIGNATURE-----
Derek> _______________________________________________
Derek> gnhlug-discuss mailing list
Derek> gnhlug-discuss at mail.gnhlug.org
Derek> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
Derek>
--
"Linux: Because a PC is a terrible thing to waste."
-- As seen on the 'net --
More information about the gnhlug-discuss
mailing list