From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "Phillip Lord" Newsgroups: gmane.emacs.devel Subject: Re: Reformat all of src/ Date: Fri, 30 Dec 2016 10:34:18 -0000 Message-ID: <75387a2269fdfbca86f82f19445638ef.squirrel@cloud103.planethippo.com> References: <87h95olvg0.fsf@gmail.com> <228ccc55affe1320a030a5652c63e005.squirrel@cloud103.planethippo.com> <4c0d2e48-6f92-f857-16e1-dc1f23aaa486@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1483094114 31060 195.159.176.226 (30 Dec 2016 10:35:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 30 Dec 2016 10:35:14 +0000 (UTC) User-Agent: SquirrelMail/1.5.2 [SVN] Cc: emacs-devel@gnu.org, Dmitry Gutov To: "Paul Eggert" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 30 11:35:09 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 1cMuWZ-00068I-4M for ged-emacs-devel@m.gmane.org; Fri, 30 Dec 2016 11:34:59 +0100 Original-Received: from localhost ([::1]:39268 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cMuWa-0005zW-U1 for ged-emacs-devel@m.gmane.org; Fri, 30 Dec 2016 05:35:00 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55722) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cMuW1-0005zR-8J for emacs-devel@gnu.org; Fri, 30 Dec 2016 05:34:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cMuVx-0001Ho-9o for emacs-devel@gnu.org; Fri, 30 Dec 2016 05:34:25 -0500 Original-Received: from mailgw.mycpanelcloud.co.uk ([185.116.214.205]:39959) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cMuVw-0001HO-Ux for emacs-devel@gnu.org; Fri, 30 Dec 2016 05:34:21 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by mailgw.mycpanelcloud.co.uk (Postfix) with ESMTP id 4613DC40D0 for ; Fri, 30 Dec 2016 10:33:57 +0000 (GMT) X-Virus-Scanned: by SpamTitan at mycpanelcloud.co.uk Original-Received: from mailgw.mycpanelcloud.co.uk (localhost [127.0.0.1]) by mailgw.mycpanelcloud.co.uk (Postfix) with ESMTP id 67270C422B for ; Fri, 30 Dec 2016 10:33:56 +0000 (GMT) Original-Received: from cloud103.planethippo.com (cloud103.planethippo.com [31.216.48.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailgw.mycpanelcloud.co.uk (Postfix) with ESMTPS id 56EBDC4174 for ; Fri, 30 Dec 2016 10:33:56 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Cc:To:From:Subject:Date:References:In-Reply-To:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=3LXmTPQ2IluuBTEq+dru1/djuoryzc+YOVvPP52Wqfc=; b=1AoqOLUUFmOVDfedJ+gfQcBkFl KUAQiE5yleaJMWTAEqWNmlvah6TnMr7EQlWniSGTHUJCNEPWC42vmn4LUNs4A9yVmyp/U851gGm1g 7FXaE8mkacv+JUeEOwUHwiAkfP8E62ELxzJiGbe2qz/6knadJDPLvq/ECa5d4vafn/j1hmEZ3RHjl 2CNCCknMyko1IZhBqjhhtsOegn3XF2QAq53pKmRAIK+uGZ6BUyxg2MvSYsdLjqY8xTcRWr0kyfrrJ c3Yl7aGHPoMpxFBfpWzolM0Wxvp8zMYZ5p8asI5/FgEgrAXTUUqWE5vT6nyop1qo8MNeWtVEx8Qtg 598wthBQ==; Original-Received: from [127.0.0.1] (port=55555 helo=cloud103.planethippo.com) by cloud103.planethippo.com with esmtpa (Exim 4.87) (envelope-from ) id 1cMuVu-000seM-JB; Fri, 30 Dec 2016 10:34:18 +0000 Original-Received: from 151.65.229.35 ([151.65.229.35]) (SquirrelMail authenticated user phillip.lord@russet.org.uk) by cloud103.planethippo.com with HTTP; Fri, 30 Dec 2016 10:34:18 -0000 In-Reply-To: <4c0d2e48-6f92-f857-16e1-dc1f23aaa486@cs.ucla.edu> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk X-detected-operating-system: by eggs.gnu.org: FreeBSD 8.x [fuzzy] X-Received-From: 185.116.214.205 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:210993 Archived-At: On Fri, December 30, 2016 1:07 am, Paul Eggert wrote: > Dmitry Gutov wrote: > >> That would still happen, whichever your global setting of >> indent-tabs-mode is, on lines that disagree with it (which exist eithe= r >> way). > > Ah, I didn't know that. I thought Emacs by default inserted indentation > that resembles that of adjacent lines. It would be nice if Emacs could = do > that, as this should lessen this problem either way. 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.