emacs-devel
[Top][All Lists]
Advanced

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

RE: What's the line length limit in the Emacs codebase?


From: Drew Adams
Subject: RE: What's the line length limit in the Emacs codebase?
Date: Sat, 26 Dec 2020 10:43:29 -0800 (PST)

> I don't think we should reformat existing code, that just adds
> annoying whitespace changes that make 'git blame' etc. unnecessarily
> hard.

This has always been the argument.

My opinion doesn't count here, as I don't often diff
versions of the source code etc.

But the downside to avoiding such refactoring (yes,
it's a kind of refactoring, but it should have no
semantic import) is that the code gets messier, not
cleaner.

Presumably however, such whitespace-only changes
would typically be once-only.  (But sure, diffs
with any pre-change versions would have the noise
problem.)
___

That said, I don't have a problem with long lines,
personally.

The main advantage I personally see for short lines
is when I copy them into web pages, emails, etc. when
trying to help others or otherwise communicate in
contexts where the "box" for code has limited width,
and so wraps or requires horizontal scrolling when
lines are wider than the box.



reply via email to

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