From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: Bug #25608 and the comment-cache branch Date: Sun, 12 Feb 2017 12:14:27 +0100 Message-ID: <58A04393.9050207@gmx.at> References: <20170202202418.GA2505@acm> <83lgtouxpf.fsf@gnu.org> <20170202215154.GB2505@acm> <83h94bvhzw.fsf@gnu.org> <20170203172952.GC2250@acm> <0a40d539-b7bc-2655-5429-6280022106ee@yandex.ru> <20170204102410.GA2047@acm> <8f9e68fc-4314-625d-b4bf-796c71c91798@yandex.ru> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1486898114 10488 195.159.176.226 (12 Feb 2017 11:15:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 12 Feb 2017 11:15:14 +0000 (UTC) To: Dmitry Gutov , Alan Mackenzie , Eli Zaretskii , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 12 12:15:10 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 1ccs7Y-0002Mu-8s for ged-emacs-devel@m.gmane.org; Sun, 12 Feb 2017 12:15:08 +0100 Original-Received: from localhost ([::1]:51503 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ccs7d-0003Hg-TI for ged-emacs-devel@m.gmane.org; Sun, 12 Feb 2017 06:15:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55872) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ccs76-0003HN-9W for emacs-devel@gnu.org; Sun, 12 Feb 2017 06:14:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ccs72-0005K1-9g for emacs-devel@gnu.org; Sun, 12 Feb 2017 06:14:40 -0500 Original-Received: from mout.gmx.net ([212.227.17.21]:65256) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ccs71-0005Jr-VB; Sun, 12 Feb 2017 06:14:36 -0500 Original-Received: from [192.168.1.101] ([213.162.68.7]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MFxwA-1caAxT2xxG-00EtBX; Sun, 12 Feb 2017 12:14:33 +0100 In-Reply-To: X-Provags-ID: V03:K0:sRP2M/1Fkeuudn8/TkMhk0/6cL5q/aIsEMYm/CzZJox8F7AXezc xEtnrrma9M20cowu7jnHjlz90jJxmrsMT3AAFq9A3f3JhKk46mPgJGHrcAgKX4ukFz0+xch lqWFOaEjRq+LtoKZKwACTIbTJBAHomjSwdN9ujS3tMbHnAJE+oegVXimyyR4pEMaHB430uw xzwnhM4fRt2W4/rFlUrGQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:k8zWwogh9k0=:xIrH5E4yIebNlXO6Hj+Jkp EC87033FwB4BjPJbfmFmmhgGwV8JT7WSv2al/JhPg+VebQaPgoWth7DQBS+4EnelH+7EYGdTg E91fOq71JTT1aavoVKiBlY+1Svj0EvwjejU32nipToKE9X66tK3nkGX/FEaZj5JEGG0eox6Ni kT/tHdOfK2awRaJqi6wPtwGVhvINJfd7KmVjwgmxaSqv/SyThl6RIbcY5RAHHt+dGxHqC1/ly S/k6q0dfoj8eUfc5/QH6YZPHpdOJmKXMeieWu4peS63RqjT3z5e8h8bBZGaYtsLhIVzh0kAie pcgnX+ApfT6EPVWE4oKugCHk16Pef2CgKNMc/03fJ3v+5hhHIswHpggRAhObaAtFfeqwAeskq 0iaYYylEk63J2vvUKoVaHOVl64fh89DKXznxRbcrNPpSeXaZxs2hhV2u74fBntEZyHy2haNJp 4EW6bY1h6640IvbA+gu4PkWwYgpk122rgLe3lvVHRVyn9nO0damuoOhIisKQTROwRhqBOxjTv RcuAWYvE3cTuE7y4Fw7iIHp98TzW5UV++3ggfuOREeM/BtPc9U5aykWSq6k5/5fIwP8nET0SL b/jaURZ2VRLA1r0c+ddCe0fH6300Q96Y/035tGEIXq7zuvIRtoj+LVT/PHwY91XVaTmYUen4Z z4OFm37PL5r2yujqTup7Ga6/MYwWVkXGZ6t0t1fHuvp6t2uKgDvxELJ2MvCAj6923gcVwSK5G kP+c8wvbdBd4Vnj5IgOmr5RaQ89+MV9dEFac172bqt14Wm5LeRzRr3ODSqyuBurwEpg67uq7 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.17.21 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:212273 Archived-At: > This argument right here is why I would vote against comment-cache: I'= d rather > have parens-in-comments-at-column-0 parsed incorrectly -- at least, un= til > syntax-ppss is fixed -- than to add another cache just to fix this pro= blem. > Unless I've missed something... It makes me rather sad that this discussion does not consider ecological consequences at all. IIUC it started because of a "(c)" copyright characters sequence in the comment of some C code. Doesn't it strike anyone as the ultimate irony to consider this an issue in the context of copylefted software? Also IIUC we still adhere to the GNU coding standards which clearly say that It is important to put the open-brace that starts the body of a C function in column one, so that they will start a defun. Several tools= look for open-braces in column one to find the beginnings of C functions. These tools will not work on code not formatted that way. Avoid putting open-brace, open-parenthesis or open-bracket in column one when they are inside a function, so that they won=E2=80=99t start = a defun. The open-brace that starts a struct body can go in column one if you find it useful to treat that definition as a defun. The continuous attempts to deceive this standard's rules have been harassing me for many years now. If people do like copyrighted code and code written according to non-GNU standards, then we should provide at least one single option that respects an open paren in column zero where it belongs to: At the beginning of a defun and nowhere else. In Emacs this option is called `open-paren-in-column-0-is-defun-start'. Emacs code should obey this option in the sense that if it is non-nil, it should behave ecologically in terms of consumption of CPU cycles and memory space. martin