From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: bug#22983: [ Patch ] Re: bug#22983: syntax-ppss returns wrong result. Date: Tue, 12 Sep 2017 18:12:50 -0400 Message-ID: References: <9fc66395-045c-1984-f530-033c2ff706f6@yandex.ru> <83h8wlz1kf.fsf@gnu.org> <20170902174027.GB4267@ACM> <20170907204502.GC4488@ACM> <69e034d3-7a52-cc81-dc56-e5308ad5dce0@yandex.ru> <20170910113626.GB3588@ACM> <922d661a-3962-4284-1a24-23c614ccdf04@yandex.ru> Reply-To: rms@gnu.org NNTP-Posting-Host: blaine.gmane.org Content-Type: text/plain; charset=Utf-8 X-Trace: blaine.gmane.org 1505341006 6492 195.159.176.226 (13 Sep 2017 22:16:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 13 Sep 2017 22:16:46 +0000 (UTC) Cc: 22983@debbugs.gnu.org, p.stephani2@gmail.com, jwiegley@gmail.com, monnier@IRO.UMontreal.CA, acm@muc.de To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 13 00:15:05 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1drtSD-0001VY-Gl for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Sep 2017 00:14:49 +0200 Original-Received: from localhost ([::1]:38928 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drtSK-0002wA-Or for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Sep 2017 18:14:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39727) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drtRV-0002JM-W7 for bug-gnu-emacs@gnu.org; Tue, 12 Sep 2017 18:14:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1drtRS-0004Ta-5H for bug-gnu-emacs@gnu.org; Tue, 12 Sep 2017 18:14:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56094) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1drtRS-0004TM-1R for bug-gnu-emacs@gnu.org; Tue, 12 Sep 2017 18:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1drtRR-0004iZ-Pk for bug-gnu-emacs@gnu.org; Tue, 12 Sep 2017 18:14:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Richard Stallman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Sep 2017 22:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22983 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22983-submit@debbugs.gnu.org id=B22983.150525440518087 (code B ref 22983); Tue, 12 Sep 2017 22:14:01 +0000 Original-Received: (at 22983) by debbugs.gnu.org; 12 Sep 2017 22:13:25 +0000 Original-Received: from localhost ([127.0.0.1]:36542 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1drtQr-0004he-GE for submit@debbugs.gnu.org; Tue, 12 Sep 2017 18:13:25 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46389) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1drtQp-0004hR-Os for 22983@debbugs.gnu.org; Tue, 12 Sep 2017 18:13:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1drtQj-0003Fk-JA for 22983@debbugs.gnu.org; Tue, 12 Sep 2017 18:13:18 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51412) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drtQJ-0002v1-7P; Tue, 12 Sep 2017 18:12:51 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1drtQI-0000V2-Ia; Tue, 12 Sep 2017 18:12:50 -0400 In-reply-to: <922d661a-3962-4284-1a24-23c614ccdf04@yandex.ru> (message from Dmitry Gutov on Tue, 12 Sep 2017 03:11:15 +0300) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:136943 [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] There is probably some optimal number of caches to remember. If the code can handle any number of caches, it can discard all but the last N, and then we could try adjusting N to get the best performance. I expect we don't want N to be more than 4. -- Dr Richard Stallman President, Free Software Foundation (gnu.org, fsf.org) Internet Hall-of-Famer (internethalloffame.org) Skype: No way! See stallman.org/skype.html.