From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: forward-comment and syntax-ppss Date: Wed, 7 Dec 2016 22:04:47 +0000 Message-ID: <20161207220447.GA4503@acm.fritz.box> References: <20161204123434.GB2791@acm.fritz.box> <20161206195507.GA2996@acm.fritz.box> <83fd1db0-7362-6117-c5cd-715398c0dea4@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1481148369 20691 195.159.176.226 (7 Dec 2016 22:06:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 7 Dec 2016 22:06:09 +0000 (UTC) User-Agent: Mutt/1.5.24 (2015-08-30) Cc: emacs-devel@gnu.org To: =?iso-8859-1?Q?Cl=E9ment?= Pit--Claudel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 07 23:06:06 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 1cEkLl-0004T4-VN for ged-emacs-devel@m.gmane.org; Wed, 07 Dec 2016 23:06:06 +0100 Original-Received: from localhost ([::1]:42493 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cEkLp-00055l-V9 for ged-emacs-devel@m.gmane.org; Wed, 07 Dec 2016 17:06:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33533) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cEkKw-00054T-Nr for emacs-devel@gnu.org; Wed, 07 Dec 2016 17:05:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cEkKs-0003dw-Q1 for emacs-devel@gnu.org; Wed, 07 Dec 2016 17:05:14 -0500 Original-Received: from ocolin.muc.de ([193.149.48.4]:29237 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1cEkKs-0003cC-FW for emacs-devel@gnu.org; Wed, 07 Dec 2016 17:05:10 -0500 Original-Received: (qmail 91240 invoked by uid 3782); 7 Dec 2016 22:05:07 -0000 Original-Received: from acm.muc.de (p548C767C.dip0.t-ipconnect.de [84.140.118.124]) by colin.muc.de (tmda-ofmipd) with ESMTP; Wed, 07 Dec 2016 23:05:06 +0100 Original-Received: (qmail 4564 invoked by uid 1000); 7 Dec 2016 22:04:47 -0000 Content-Disposition: inline In-Reply-To: <83fd1db0-7362-6117-c5cd-715398c0dea4@gmail.com> X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 193.149.48.4 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:210113 Archived-At: Hello, Clément. On Wed, Dec 07, 2016 at 09:53:26AM -0500, Clément Pit--Claudel wrote: [ .... ] > Also: Isn't something that works fine on millions in of Emacs > instances and has been in production for over 15 years "ready for > production" by definition? I haven't seen many issues reported about > syntax-ppss since I started following the bugs list a year ago… You haven't seen "many" issues about syntax-ppss? One is enough, if it's bad enough. Read up on bug #22983. Basically, syntax-ppss is fundamentally broken. It won't work with narrowing of buffers, and delivers inconsistent results which aren't in accordance with what the function's doc says it does. This breakage isn't anything that can be fixed. The only way to deal with it seems to be to remove syntax-ppss and replace it with a new function. > Thanks! > Clément. -- Alan Mackenzie (Nuremberg, Germany).