bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#36143: [PATCH] Fix typo in src/keyboard.c)


From: Eli Zaretskii
Subject: bug#36143: [PATCH] Fix typo in src/keyboard.c)
Date: Sun, 09 Jun 2019 16:56:41 +0300

> From: Noam Postavsky <npostavs@gmail.com>
> Date: Sun, 09 Jun 2019 09:20:52 -0400
> Cc: , Stefan Kangas <stefan@marxist.se>
> 
> Oh, I also didn't realize C sources were supposed to be TABified.  Maybe
> .dir-locals.el should have an explicit (indent-tabs-mode . t) setting
> under c-mode?

It'd be fine with me, but maybe others will object.

I think it's okay to indent new C code with spaces, but when a few
lines are modified in an otherwise TAB-indented block, that makes the
source unaligned when reindented, so IMO should be avoided.  And in
this case, it was even more extreme: a line was modified only very
slightly, so changing whitespace for only that single line was IMO
gross.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]