From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Andreas_R=c3=b6hler?= Newsgroups: gmane.emacs.devel Subject: Re: Bug #25608 and the comment-cache branch Date: Sat, 4 Feb 2017 10:06:51 +0100 Message-ID: <7348cb19-f396-511e-8186-370b673a9f79@online.de> References: <20170202202418.GA2505@acm> <20170203161913.GA2250@acm> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1486198608 2095 195.159.176.226 (4 Feb 2017 08:56:48 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 4 Feb 2017 08:56:48 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Icedove/45.6.0 Cc: Alan Mackenzie To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 04 09:56:45 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 1cZw9D-0000NR-Nj for ged-emacs-devel@m.gmane.org; Sat, 04 Feb 2017 09:56:43 +0100 Original-Received: from localhost ([::1]:38426 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cZw9J-0001XF-91 for ged-emacs-devel@m.gmane.org; Sat, 04 Feb 2017 03:56:49 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56627) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cZw8j-0001X5-IV for emacs-devel@gnu.org; Sat, 04 Feb 2017 03:56:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cZw8g-0004FC-Hp for emacs-devel@gnu.org; Sat, 04 Feb 2017 03:56:13 -0500 Original-Received: from mout.kundenserver.de ([217.72.192.74]:58573) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cZw8g-0004EB-6L for emacs-devel@gnu.org; Sat, 04 Feb 2017 03:56:10 -0500 Original-Received: from [192.168.178.35] ([77.12.66.191]) by mrelayeu.kundenserver.de (mreue101 [212.227.15.183]) with ESMTPSA (Nemesis) id 0Lj2f0-1c2FoY41mA-00dEdo; Sat, 04 Feb 2017 09:56:05 +0100 In-Reply-To: <20170203161913.GA2250@acm> X-Provags-ID: V03:K0:S9gxOx8VSSYai4x/QUaTiQqzPkjzxhd9Og2CpKF2N3f+lSkvUlH 8uo7Koelo6a4Z6gnfQlRVjygwk422avOJUCHKrBoDN3USYy84L9l8IQaDmN1ba7BlLbtGxd h7tuyjNgo9xl1C02GO+Mqtx5WPiu7x+gfJPp5GrwOFSHsYcm3VyyG+wAGwjpQR9kIQysyBw feoJq8GU48bcB2pFvPl8w== X-UI-Out-Filterresults: notjunk:1;V01:K0:yK1CIAj7j3A=:Bef2H9vI7TVcI5MTpuqgIw 4qDXfUsng4r12K87neJ9oc9Rv8hAOvgcbb6u/N3lpIyewzIcBdDyVa+LOkn9IjEz0AlC8EvDP LsJ+LnDHoYGbbx4h8wTcg5cJFeI7wRL0yK2JuBtgmhlR/8vCLDEaFei6PKdpGKczXgcP7rtib /0hcpwHVG3jmJhQw6oVXh90X3/D2XAgY6iaWincsFfv5Gc2QPZgiAe1cz0oEdtZXE3F/Bke6j eCVHzElFzlA5FCbIPG3jNQ2k3fViPcEgWXHPQONspXjz9AM/iIsYMLlWxnjUkBkW3wQW6r8vH tM4dHu3sOMy6BY+I4sDpczVizZdyX+40ssr5/FxNbrBRDCTrJwussvGOSEHXviErdaiEj+58C V4JD1NhP1bOIShoALYBCx1y4CVTys8S7Cl8zH5s9XZNccrNiK/3SVexs37tM/Kr8e0z7NerrV Red/pLzRXO38F6lKnf7+rzlkiBC7XV58gI3vqfPbEkfDq9/XBa3QZOUx1OpWVvh7zJOmG2BpB ZuXTajiCyrCvDynpqNsEAg1B3dT5WnUYFm6eLUFkgYp9YXvyCzus1uDrI6XYaradL32H+/KLF Q9AwOfwlfagVjyaYXx+Ygtti3D/f1wihcJN4RYHI3TdGkjIm4v+z3SOnsifQvK2oRJKVuSRCx 4ugydHYoBu7Uro3IUz+++G0lOnA/PSwjPsMoj2RgchGARzScOKqNkcUEuk2RzCh/cu4TRZZn3 tMjpZKuRcplVm0Jj X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 217.72.192.74 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:211955 Archived-At: On 03.02.2017 17:19, Alan Mackenzie wrote: > Hello, Stefan. > > On Thu, Feb 02, 2017 at 18:57:52 -0500, Stefan Monnier wrote: >>> ....), the last line spuriously indents c-basic-offset columns >>> rightwards. The cause of this is the open paren at column zero inside >>> the comment. >> I think it's important to remember that this problem dates back to >> Emacs-17 or so, so it's not super urgent to install a quick fix. > There's no need to be so disparaging. comment-cache is NOT in any sense > a "quick fix". It's precisely the opposite. It's a rigorous rewrite of > back_comment which eliminates "quick fixes", for example > open-paren-in-column-0-is-defun-start. I think you know this. > > And given how long this problem's been around for, it's high time it was > finally fixed. It's an embarrassment, and it causes pain, repeatedly > and predictably. > > Instead, why don't you criticise comment-cache in a constructive > fashion? Such as by pointing out potential problems it might cause. > >> Stefan Hi Alan, IIUC open-paren-in-column-0-is-defun-start is is the underlying issue. It was told there was an essay to solve this. May someone point me at it? Cheers, Andreas