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: Indentation conventions for Info manuals; recognizing code Date: Mon, 08 Mar 2021 00:37:21 -0500 Message-ID: References: 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="9375"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Mar 08 06:38:08 2021 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 1lJ8al-0002KB-KM for ged-emacs-devel@m.gmane-mx.org; Mon, 08 Mar 2021 06:38:07 +0100 Original-Received: from localhost ([::1]:45760 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJ8ak-00071k-MF for ged-emacs-devel@m.gmane-mx.org; Mon, 08 Mar 2021 00:38:06 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43516) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJ8a7-0006ba-4m for emacs-devel@gnu.org; Mon, 08 Mar 2021 00:37:27 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41634) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJ8a6-0002DP-Lf; Mon, 08 Mar 2021 00:37:26 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1lJ8a1-0000NR-Nl; Mon, 08 Mar 2021 00:37:22 -0500 In-Reply-To: (message from Drew Adams on Sun, 7 Mar 2021 01:58:43 +0000) 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:266159 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. ]]] The structure of an Info file is documented somewhere, but style conventions are not. The style conventions for Info files are defined by what properly written Texinfo source converts into. I did not write separate documentation for Info format because (1) it would be more or less duplicative and (2) Info files are normally generated from Texinfo files. > But other manuals don't seem to use the same indentation. Several > (org, eintr, ccmode, efaq(-w32),...) indent code (including Elisp) > 5 spaces - which is the same amount that other, non-code text is > indented. Aside from eintr, I don't know anything specific about those manuals. The eintr manual was written by Bob Chassell; I presume it is still generated from Texinfo, right? So I find it puzzling that it produces a different format in the Info file. Why does it do that? Is the source formatted in an unusual way? Does it somehow specify different parameters for generating the Info file? -- 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)