From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Bug #22983 (syntax-ppss returns wrong result) is still open. Could we fix it before the release, please. Date: Sun, 12 Jun 2016 01:28:16 +0300 Message-ID: References: <20160607220928.GA5155@acm.fritz.box> <20160611102419.GC2776@acm.fritz.box> <20160611195821.GF2776@acm.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1465684116 20896 80.91.229.3 (11 Jun 2016 22:28:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 11 Jun 2016 22:28:36 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 12 00:28:31 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bBrOI-0006SP-TF for ged-emacs-devel@m.gmane.org; Sun, 12 Jun 2016 00:28:31 +0200 Original-Received: from localhost ([::1]:48869 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBrOH-0005Y2-Q5 for ged-emacs-devel@m.gmane.org; Sat, 11 Jun 2016 18:28:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48984) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBrOC-0005Xk-4K for emacs-devel@gnu.org; Sat, 11 Jun 2016 18:28:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bBrO8-0001Pk-3l for emacs-devel@gnu.org; Sat, 11 Jun 2016 18:28:24 -0400 Original-Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]:37224) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBrO7-0001PX-Ng for emacs-devel@gnu.org; Sat, 11 Jun 2016 18:28:20 -0400 Original-Received: by mail-wm0-x235.google.com with SMTP id k204so33563194wmk.0 for ; Sat, 11 Jun 2016 15:28:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=/CyxB2cx0F7UJyrRvKMKjDnw0K/a7cPdv84xeFWptOg=; b=ZiFzyDUg1VsYzNSNBe36YYO+m6eMVrTDLyke5+RbFAaqFtKoQfDRvY8VS6x5FYghqT ChXy4mB1AbIc1OILhK3OjSBIfEnzJ2h9fAQ/BNRKEW6T8kuw7+4AnqPciUupKAatitqm FpCM5Vrn+ZcJrI1xALqaaq0pVy/Ea0cgl3mQeCGj/sGWtKb3zlxedLI6IE8e6Bzlf/Ai WWN5LOTbcvE2aEaeWMzA7Wu4iDlGGqNNeJCAFsuwVyClKeEYGq/Z8uhpH/wi7j2JSwwg 8mX39OH6lHbFf3iNIKCUFmMI9n2DArwYQC6TyljQEpHT+VKkP/UHwKJxALDqg65bXh6t wJyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=/CyxB2cx0F7UJyrRvKMKjDnw0K/a7cPdv84xeFWptOg=; b=MQ4SMzH6GMav7KthryXOTRUqZmKGywimPmGZO7BJVsLrA35mrmQe7Y8VchG72iCwZ7 PSJgOhfDl4qP7s14N3ZvjE8xzuvXD57HZ3omvVlr7Uz7adbq2H66RPpPA51G5gkAEXwK WyjSdNBMT4j+ddt1RY7toLvbEFyc3tq/LkKgBORyW2On5Bd/dXaBbvSojo5OeVDxFSR/ aWJrQz0JCQzQbb8Izw2WGmDK2odkm2DOmV1taeot/Ckx/an8fBOJt3n359GP4HIXBKli VMJpWj4cqoD35ksIRtu8Dc1ZU6dCGR+wiJWKob1k6Bz/4AqK6GTHU0dNUCZQPR341xA/ 3ZEA== X-Gm-Message-State: ALyK8tLGoEICM5jAV64EZoHIs0oRR1QduZH6d0WVpp2cnrJbVVT1m57blhD11JEsNW0VxA== X-Received: by 10.194.166.167 with SMTP id zh7mr2015166wjb.62.1465684098939; Sat, 11 Jun 2016 15:28:18 -0700 (PDT) Original-Received: from [192.168.1.2] ([185.105.173.135]) by smtp.googlemail.com with ESMTPSA id u4sm19322983wjz.4.2016.06.11.15.28.17 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 11 Jun 2016 15:28:18 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2 In-Reply-To: <20160611195821.GF2776@acm.fritz.box> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::235 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:204299 Archived-At: On 06/11/2016 10:58 PM, Alan Mackenzie wrote: > My gut feeling is that there's something wrong with the whole idea. That often happens when a programmer stumbles on a problem of unexpected complexity. > Where is the documentation for the font-lock-dont-widen (etc.) > mechanism? It has to exist. I don't think anybody has written a manual entry for that. Especially not for its uses in third-party code. First, consider what I've already written in this thread. Second, the hard-widen thread has some discussion of the code inside Emacs using font-lock-dont-widen (and how a well-designed hard-widen could solve that problem, too). E.g., I see a reference to it in rmail-variables.