From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sean Whitton Newsgroups: gmane.emacs.bugs Subject: bug#6617: linux kernel C style (fwd) Date: Mon, 18 Apr 2022 11:30:04 -0700 Message-ID: <87r15uxn0z.fsf@melete.silentflame.com> References: <87ee9z4g00.fsf@gnus.org> <871r5yyl8p.fsf@melete.silentflame.com> <874katvogm.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8844"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: Dan Nicolaescu , Dimitrios Apostolou , 6617@debbugs.gnu.org, Alan Mackenzie To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 18 20:31:28 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1ngW9n-00027T-Au for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 18 Apr 2022 20:31:28 +0200 Original-Received: from localhost ([::1]:59552 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ngW9m-0007xv-DM for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 18 Apr 2022 14:31:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32924) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngW9O-0007u8-OS for bug-gnu-emacs@gnu.org; Mon, 18 Apr 2022 14:31:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46858) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ngW9O-0005qn-67; Mon, 18 Apr 2022 14:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ngW9O-0006qm-37; Mon, 18 Apr 2022 14:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Sean Whitton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Mon, 18 Apr 2022 18:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6617 X-GNU-PR-Package: emacs,cc-mode Original-Received: via spool by 6617-submit@debbugs.gnu.org id=B6617.165030661326258 (code B ref 6617); Mon, 18 Apr 2022 18:31:02 +0000 Original-Received: (at 6617) by debbugs.gnu.org; 18 Apr 2022 18:30:13 +0000 Original-Received: from localhost ([127.0.0.1]:40753 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngW8a-0006pS-OE for submit@debbugs.gnu.org; Mon, 18 Apr 2022 14:30:12 -0400 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]:52915) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngW8Z-0006o2-0h for 6617@debbugs.gnu.org; Mon, 18 Apr 2022 14:30:11 -0400 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id E75B65C0196; Mon, 18 Apr 2022 14:30:05 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 18 Apr 2022 14:30:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=cc:cc:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1650306605; x=1650393005; bh=GI 8owC0jtVSZCDHzC2A+FqTL0Up+BX9qT3w5WxCSg3w=; b=mbKNSA/k1TKIaiw1mF mR3jLK68UL1gY5s08w+zsei7VIxbEwkEw26HsGL3T1lKjYgE7A4XSliCcAKElDGa pH2InjBNbDMJb4nVPycmpFByC+8kOXCoN71MQuaK1SIJ3Ut1+3gp87KekRuX0T9g DmQS0e2nmvVFoQLFgpYZqaGHYWhS1XOMD4SazoCZ5X5eWCRRl7TO/4g+65OBMksG Dyr0Wtb0PqqxfLn9H4i2u4TGlj1kaXelkAizDbm73VBqPwSbz7i41E+XJ6Icyip5 tM1e3fyjzauHKw71c8KhluH/vArPr+tlLA+I8dzZrZi14TMYLcmobeUpZflEncOw aJ7A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1650306605; x= 1650393005; bh=GI8owC0jtVSZCDHzC2A+FqTL0Up+BX9qT3w5WxCSg3w=; b=D dfCTp3qSfpeuVX20eWtbOMmkFM8mAxW5p9+379Z8BBjq8DKvOHndDhEECXFpQlqZ 8nBrc6cxNH4O9cdxN/PogJV3kisANhuEzPW1EIXC2QlhUspsQAG8Dehkbo1U+Ly+ PMoVUg9liQs8nS5L871JogrihhcV9z7LE6ul+pivvgh4t/cBsu6B1L6MLOgBX9Q0 ui+yMcmGOFX8bs6DunMZ28o2F+v17Zw2d+/0Vof1mhBQVXNM2uVIcXH6/A4CBYDP tiYUByYYfFaXTYhAMSIn8MnBoj0z3GPZRdWRAs5nncKR6OBMCyJvnlEMMFhehyJz y5Rk7RBVWxbsg69dUuI/w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrvddtuddguddviecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffujghffgffkfggtgesthdttddttdertdenucfhrhhomhepufgvrghn ucghhhhithhtohhnuceoshhpfihhihhtthhonhesshhpfihhihhtthhonhdrnhgrmhgvqe enucggtffrrghtthgvrhhnpeelgeeggfdvieejvdfhudfggeetgfekkeeuieeljeejhedu geegfeetgefhueffkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpehsphifhhhithhtohhnsehsphifhhhithhtohhnrdhnrghmvg X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 18 Apr 2022 14:30:05 -0400 (EDT) Original-Received: by melete.silentflame.com (Postfix, from userid 1000) id CC1E17E4A56; Mon, 18 Apr 2022 11:30:04 -0700 (MST) In-Reply-To: <874katvogm.fsf@gnus.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:230195 Archived-At: Hello, On Thu 09 Sep 2021 at 04:00PM +02, Lars Ingebrigtsen wrote: > Sean Whitton writes: > >> The Linux kernel style is tabs only. I think that Emacs DTRT if >> indent-tabs-mode is t. So, currently I have this fix in my init file: >> >> (c-add-style "linux-tabs" '("linux" (indent-tabs-mode . t))) >> (setq c-default-style "linux-tabs") > > Right. Alan, would it make sense to add this style to c-mode? Were you thinking it would be too much of a compat break to just edit the linux style to include setting indent-tabs-mode? I think that would be a lot more useful. Anyone who actually wants the Linux kernel's style would want (what I've called) linux-tabs. -- Sean Whitton