From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: Indenting with spaces and tabs in Emacs Lisp Date: Thu, 28 Feb 2019 10:18:22 +0000 Message-ID: <20190228101822.GA4686@ACM> References: <87zhqgfguo.fsf@petton.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="84737"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.10.1 (2018-07-13) Cc: Emacs Devel To: Nicolas Petton Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 28 11:25:01 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gzIs8-000Lr4-RQ for ged-emacs-devel@m.gmane.org; Thu, 28 Feb 2019 11:25:00 +0100 Original-Received: from localhost ([127.0.0.1]:35640 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzIs7-0002RC-LL for ged-emacs-devel@m.gmane.org; Thu, 28 Feb 2019 05:24:59 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56179) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzIqZ-00029i-W0 for emacs-devel@gnu.org; Thu, 28 Feb 2019 05:23:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gzIqZ-0007ei-Aw for emacs-devel@gnu.org; Thu, 28 Feb 2019 05:23:23 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:59694 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1gzIqZ-0007e9-0E for emacs-devel@gnu.org; Thu, 28 Feb 2019 05:23:23 -0500 Original-Received: (qmail 21704 invoked by uid 3782); 28 Feb 2019 10:23:17 -0000 Original-Received: from acm.muc.de (p4FE15DA7.dip0.t-ipconnect.de [79.225.93.167]) by colin.muc.de (tmda-ofmipd) with ESMTP; Thu, 28 Feb 2019 11:23:16 +0100 Original-Received: (qmail 4712 invoked by uid 1000); 28 Feb 2019 10:18:22 -0000 Content-Disposition: inline In-Reply-To: <87zhqgfguo.fsf@petton.fr> X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 193.149.48.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:233696 Archived-At: Hello, Nico. On Thu, Feb 28, 2019 at 09:38:07 +0100, Nicolas Petton wrote: > Hi, > I've seen that in simple.el indentation is inconsistent, sometimes using > spaces only and sometimes tabs and spaces. Some files seem to have more > consistent indenting using tabs and spaces, though some other files use > only spaces. > I thought that the convention was to use the tabs + spaces style, was I > wrong? I'm pretty sure this is documented somewhere, but I couldn't > find it. I think the general understanding is that there is no consistent pattern of spaces vs. tabs+spaces in effect, and that this is not an important thing. Way back in history, tabs+spaces was, I believe, universal, since it saved on characters when the amount of RAM and disk space were a minute fraction of today's. I would ask, however, that a systematic attempt to convert to a consistent spaces only is NOT made. This fouls up diffs, giving the impression of change where there is none. > Cheers, > Nico -- Alan Mackenzie (Nuremberg, Germany).