From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: adding to emacs coding standard / formatting Date: Tue, 20 Oct 2020 01:11:53 -0400 Message-ID: References: <20201019031002.iulr45ztrkwsiqlo@E15-2016.optimum.net> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11626"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Boruch Baum Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 20 07:13:52 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kUjy3-0002wI-Q0 for ged-emacs-devel@m.gmane-mx.org; Tue, 20 Oct 2020 07:13:51 +0200 Original-Received: from localhost ([::1]:51710 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kUjy2-00052u-QM for ged-emacs-devel@m.gmane-mx.org; Tue, 20 Oct 2020 01:13:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33512) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kUjwB-00030U-1N for emacs-devel@gnu.org; Tue, 20 Oct 2020 01:11:55 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49255) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kUjwA-0005Rt-HQ; Tue, 20 Oct 2020 01:11:54 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1kUjw9-0000hh-M5; Tue, 20 Oct 2020 01:11:53 -0400 In-Reply-To: <20201019031002.iulr45ztrkwsiqlo@E15-2016.optimum.net> (message from Boruch Baum on Sun, 18 Oct 2020 23:10:02 -0400) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:258158 Archived-At: [[[ 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)