From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Reformat all of src/ Date: Sun, 1 Jan 2017 04:14:01 +0300 Message-ID: References: <87h95olvg0.fsf@gmail.com> <228ccc55affe1320a030a5652c63e005.squirrel@cloud103.planethippo.com> <4c0d2e48-6f92-f857-16e1-dc1f23aaa486@cs.ucla.edu> <75387a2269fdfbca86f82f19445638ef.squirrel@cloud103.planethippo.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1483233261 13353 195.159.176.226 (1 Jan 2017 01:14:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 1 Jan 2017 01:14:21 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Thunderbird/50.0 Cc: emacs-devel@gnu.org To: Phillip Lord , Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 01 02:14:16 2017 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 1cNUiv-00024M-Pe for ged-emacs-devel@m.gmane.org; Sun, 01 Jan 2017 02:14:09 +0100 Original-Received: from localhost ([::1]:45838 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cNUiz-0003EQ-AR for ged-emacs-devel@m.gmane.org; Sat, 31 Dec 2016 20:14:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41555) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cNUit-0003EL-CM for emacs-devel@gnu.org; Sat, 31 Dec 2016 20:14:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cNUiq-0007Gj-8e for emacs-devel@gnu.org; Sat, 31 Dec 2016 20:14:07 -0500 Original-Received: from mail-lf0-x22d.google.com ([2a00:1450:4010:c07::22d]:34899) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cNUip-0007GP-WC for emacs-devel@gnu.org; Sat, 31 Dec 2016 20:14:04 -0500 Original-Received: by mail-lf0-x22d.google.com with SMTP id b14so254743556lfg.2 for ; Sat, 31 Dec 2016 17:14:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=eiRvvB71TSdgUScaw+vsWWXrE3wr0cbO1I7Z00fvwRQ=; b=XXxlxq5PHctrSt60AoPc9/NC/gIgbYBKJkVHOQ+HnOxOtvwWwzMa07DjibhFTHB5R8 2KY7YsfyiFTBtxZQEBr2tfLl7Z/McOKLNGMba8XLv+nTc7NrUodQNyvEK5i94UXX9bMr 8pVlGbb17VRhr5XDguXHl7YBDT5lKPqDZ1URQDlaTNJOtIeXVicdU585DYJLR7ZRqHgM MZi9pmOgnHp5ARAadmdBCl8uKd0P4ySZhH5HTcdc/v4Ns+joRMmVY6mCbV3n0M9CJSMO UHo90cJdhgpsrEcus+EkIledyDGTSNdBC5TKzntmQpJFAMWCUEBbAVXHHhh7GskOK2QE /pBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=eiRvvB71TSdgUScaw+vsWWXrE3wr0cbO1I7Z00fvwRQ=; b=U4pKs5zg+tZFpC1jyNwzdzqE4X3hjyiawbGbJsjKCs+83wkJKt3INhlYxC89U6Je/G TpRiena8+ZrhhqPCYOIR5NxFA9VhLWYQxOGvUhRI3/Ydmln+uY/HGmjpdoq144d4d/Ci ws4G/UehBJeSrvI7yuCZYcU/KWt+qNjiw2ybNrwFXZxPsYgVKqDLlP93Y6ImaHWfkhs2 1osYLnEjf8MK92sthNJKAhUSLUwN3jQolb6P3b0U/h800mRaJq1/OEt7Z6r6+31w/9F/ Hp749ff5Yj5a7FehinT4izByQVEmzx8TWO3inDPB7cxyILWggLXXPpCQhBd3byAbH8a1 9OwQ== X-Gm-Message-State: AIkVDXJHBGUGWJB35XM9X6Q1vkLNV0djN4D/1MldXm4PtthhOg5D0SSjyHnciXbbfPhUfw== X-Received: by 10.25.192.1 with SMTP id q1mr19862039lff.143.1483233243062; Sat, 31 Dec 2016 17:14:03 -0800 (PST) Original-Received: from [192.168.1.174] ([178.252.127.239]) by smtp.googlemail.com with ESMTPSA id u203sm14872163lff.9.2016.12.31.17.14.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 31 Dec 2016 17:14:02 -0800 (PST) In-Reply-To: <75387a2269fdfbca86f82f19445638ef.squirrel@cloud103.planethippo.com> Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::22d 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:211050 Archived-At: On 30.12.2016 13:34, Phillip Lord wrote: > That would work if the indentation of adjacent lines were consistent. In > the situation where there is a tab indented line followed by a space > indented line, the issue is still going to occur. And with indent-tabs-mode on and tab-with 8, this will occur regularly, because these default settings of ours mandate tabs-mixed-with-spaces indentation. So I'm having hard time imagining an auto-detection algorithm that wouldn't be biased toward one of the options.