From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: Reformat all of src/ Date: Wed, 28 Dec 2016 23:32:55 +0700 Message-ID: References: <87h95olvg0.fsf@gmail.com> <228ccc55affe1320a030a5652c63e005.squirrel@cloud103.planethippo.com> <87o9zwvz91.fsf@gnus.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1482943422 29884 195.159.176.226 (28 Dec 2016 16:43:42 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 28 Dec 2016 16:43:42 +0000 (UTC) Cc: Emacs developers To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 28 17:43:36 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cMHK3-0005xQ-Ko for ged-emacs-devel@m.gmane.org; Wed, 28 Dec 2016 17:43:27 +0100 Original-Received: from localhost ([::1]:59971 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cMHK8-0002t5-1z for ged-emacs-devel@m.gmane.org; Wed, 28 Dec 2016 11:43:32 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45582) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cMHAJ-00055H-SK for emacs-devel@gnu.org; Wed, 28 Dec 2016 11:33:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cMHAE-0007OU-UE for emacs-devel@gnu.org; Wed, 28 Dec 2016 11:33:23 -0500 Original-Received: from mail-lf0-x235.google.com ([2a00:1450:4010:c07::235]:34646) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cMHAE-0007O3-N8 for emacs-devel@gnu.org; Wed, 28 Dec 2016 11:33:18 -0500 Original-Received: by mail-lf0-x235.google.com with SMTP id y21so207068231lfa.1 for ; Wed, 28 Dec 2016 08:33:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=iRCHxaMHcMc+wGKh0vqC7Apvsz5Lqje3yIjDD4kxmhE=; b=CKlUwLcfPANZ/LaTvVl2xM23OsIODXFCUzrgj4ZmfiVkNdrklCjX+loy7y4dTL2zDR ZjqZg3bV+dOjb4xJvrqJ5h++OW1Ov0BvP70Si2CUKEGCcvlY6KsyWn2KcI2qSnfCtY4A vKKwb6fvc9Teg6kmVkdtxSnB8mxEs2Kd0ZjB95Am3Ui5nH3fvADf5GOQZEKetUhnPun7 tfi+jR/Ow9DKaTbfsmIIc8Yskgas07GmEfP01tjXvQJKSrbNhgxrBKyTmeCuraRYrWRR DZwgu9ipOMlBbFDjHQKNewQ68iY95hrGYOJPlKbWi4MIg2WGV3tGcWJ2km7Rov6TGr+K RkKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=iRCHxaMHcMc+wGKh0vqC7Apvsz5Lqje3yIjDD4kxmhE=; b=nuP0lUCdqVaL3vwNYB1mDRmpoE6omv1NNOoF2iYavbe9v7dRaFj3RgZgLL7z5p29B9 od6O5fwy998KurwIwtU3hbSPbgvPkFIb9xgVyS54bCjFwEikQ1aCJL6Q2/Ds2PpuTooh gt6ZNE37xqbwO1MdPUEsQe7doEsFqVhKaivSu/xRPITx2WD9kzEQEI1rz4Vt8w6fRD53 CHHFpOr2s+WvmoPhVp3SCoa4X8XBPeTi8CIr0+XlKAwpTGsDJgFY09CFsiJdwccVwMIN +kF42/bQ64W+NBSEgAf6o+6p1o/qCmE+OqQ7sCD39Fv0S7uKkknoiNeu5AQgoDEGQNQ9 cxxw== X-Gm-Message-State: AIkVDXK060ApQ5a2pSMU5/nU/dj3Ky66bFSKTnDx3cktUzKzp0TCujSfSuUc7mBtVNpW/a0MXVhgITjzm4FBYQ== X-Received: by 10.25.165.144 with SMTP id o138mr13476021lfe.172.1482942795691; Wed, 28 Dec 2016 08:33:15 -0800 (PST) Original-Received: by 10.114.77.161 with HTTP; Wed, 28 Dec 2016 08:32:55 -0800 (PST) In-Reply-To: <87o9zwvz91.fsf@gnus.org> X-Google-Sender-Auth: ScwDikYgX33quJjR_vx54EWFYyw X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::235 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:210898 Archived-At: On Wed, Dec 28, 2016 at 10:39 PM, Lars Ingebrigtsen wrote: > I think that if you notice whether the indentation is made from tabs, > spaces or a mix of them, you're probably doing something wrong. My mind is configured for 4-position indentation. If a source file uses spaces and a different indentation width, I notice but am okay with that. My editors are all configured for 4-position tabs. If a source file uses a mix of tabs and spaces and assumes 8-position tabs, I notice and am annoyed. (I am forced to locally override tab-width when reading nxml.el, several other Emacs sources, and many C sources, both GNU and other.) By your estimate, I am doing something wrong. What exactly is that? PS: I recognize the unfortunate effect reformatting would have on source archaeology, but maybe we could flag each file which is unreadable with a tab-width other than 8 with a file-local variable?