[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: adding to emacs coding standard / formatting
From: |
Richard Stallman |
Subject: |
Re: adding to emacs coding standard / formatting |
Date: |
Tue, 20 Oct 2020 01:11:53 -0400 |
[[[ To any NSA and FBI agents reading my email: please consider ]]]
[[[ whether defending the US Constitution against all enemies, ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]
> I had expecting symbol definitions to be grouped together by symbol type
> and function, eg. all `defcustom's to be listed together in a section
> beginning "^;;; Customization variables:", and so on for symbol
> categories ";;; Global variables:", ";;; Buffer-local variables", ";;;
> Internal functions:", ";;; Hook functions:", ";;; Interactive
> functions:", etc.
The reason Lisp files are not always organized that way is that other
ways of organizing them sometimes make more sense. For instance, to
put a variable definition next to the functions that it relates to.
To put internal functions next to the entry points that call them.
--
Dr Richard Stallman
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)