From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.devel Subject: Re: Should there be a k&r2 c-style? Date: Fri, 09 Sep 2016 12:35:44 -0700 Message-ID: References: <87r38sc1w8.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1473449783 20027 195.159.176.226 (9 Sep 2016 19:36:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 9 Sep 2016 19:36:23 +0000 (UTC) User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1 (darwin) Cc: emacs-devel@gnu.org To: Alex Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 09 21:36:17 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 1biRao-0003jF-UV for ged-emacs-devel@m.gmane.org; Fri, 09 Sep 2016 21:36:07 +0200 Original-Received: from localhost ([::1]:59901 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1biRam-0004S7-Sq for ged-emacs-devel@m.gmane.org; Fri, 09 Sep 2016 15:36:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45326) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1biRac-0004Q4-NQ for emacs-devel@gnu.org; Fri, 09 Sep 2016 15:35:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1biRaY-0000a2-GL for emacs-devel@gnu.org; Fri, 09 Sep 2016 15:35:53 -0400 Original-Received: from mail-oi0-x241.google.com ([2607:f8b0:4003:c06::241]:35664) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1biRaY-0000Zn-B4 for emacs-devel@gnu.org; Fri, 09 Sep 2016 15:35:50 -0400 Original-Received: by mail-oi0-x241.google.com with SMTP id 2so11683044oif.2 for ; Fri, 09 Sep 2016 12:35:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:mail-followup-to:mime-version; bh=TImG2QbQLJIBSElUBl9aQrkatiXX5PqFhBdaoM8vwZQ=; b=zrSaGjDbIMXpZ1wUyv2An8WGPtt5A8xywJbcBDq5fnSRgbA69dQRhOBRdmiUzaiQ1C Pj2VeX1p5t9Rdk8GjuEAQUzLYYerhq97hgpBMs8KThf3K6+Aoqi2dQYLjlk15MNALH3E arpDKRcFj+5qrROAXaJlcXuQJ9xSpK+6/dEcjdAFjmD2V0gHlihcY/XOwhcSpk+2/QjR 3K1olmwv61GVanTJo3IgbpwK42tNp0hcgwFzGjNwVWm7chadnZ0zvktKKJqzo7kDp7Kn R7j9jSgNCEKGexfeesZ9poRFUVNWheFF1Fbr78YyyxhBnkNGkJUZJga2z9Xivb9s7qdi gwpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:in-reply-to:date:message-id :references:user-agent:mail-followup-to:mime-version; bh=TImG2QbQLJIBSElUBl9aQrkatiXX5PqFhBdaoM8vwZQ=; b=QgoMSCWD1AhKmeULkxlguHJb4U9Pya8PxPmBbyuHKdRurMBTBnQOedzQRqJNYCj7Rc 7t7Kkf8zGSHSHD1tuT+KeUTqOMAGPoRmtbIVjaSA/vYCYzxPHYyhEDEvxtE9eiOBJyGz 59L7sR7yjfbDNTFiEV2YFhOZinODYljnKZr04BAks26gP6HkQ//qj+lEjJE+QkYH094l RQvTgYlPvkplpAZk7avbonrXnKuAS6q6tpWGxjI2U7b1KYC0vT6wzyN4v418wPZzUd1q 3FCy0SQesbhiA0xj28LmmcSI1ji0gQgx2+vuCy7q1oaul+08Ck+WKVIaC8hc0laOhB31 RLcQ== X-Gm-Message-State: AE9vXwM5snw63zH6wrN/AXMBPa8IkcImnKaO2G/ufHjWagTcooKK8j8Owf+dF1/ekPFMAg== X-Received: by 10.157.43.174 with SMTP id u43mr6933150ota.76.1473449749380; Fri, 09 Sep 2016 12:35:49 -0700 (PDT) Original-Received: from Vulcan.local (76-234-69-149.lightspeed.frokca.sbcglobal.net. [76.234.69.149]) by smtp.gmail.com with ESMTPSA id g5sm1672061otg.11.2016.09.09.12.35.47 (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 09 Sep 2016 12:35:47 -0700 (PDT) X-Google-Original-From: "John Wiegley" Original-Received: by Vulcan.local (Postfix, from userid 501) id A906523F2F7F; Fri, 9 Sep 2016 12:35:45 -0700 (PDT) In-Reply-To: <87r38sc1w8.fsf@gmail.com> (Alex's message of "Fri, 09 Sep 2016 13:24:23 -0600") Mail-Followup-To: Alex , emacs-devel@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c06::241 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:207331 Archived-At: >>>>> "A" == Alex writes: A> I imagine that a lot of people nowadays who look at the list of built-in A> c-styles in the manual would expect that the 'k&r' style would have a A> c-basic-offset of 4, which is what is used in the 2nd edition of 'The C A> Programming Language'. A> For example, the k&r style mentioned in A> https://en.wikipedia.org/wiki/Indent_style#K.26R_style has an offset of A> 4 spaces. A> Would it make sense to add a k&r2 c-style that is an alias for the A> 'stroustrup' c-style to help alleviate any potential confusion? Is this just a supposition, or have you heard anyone actually say this? -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2