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: Problems with syntax-ppss: Was [... Apply `comment-depth' text properties when calling `back_comment'.] Date: Sat, 12 Mar 2016 22:38:01 +0200 Message-ID: <75f93ff7-64e9-a40b-9b78-4c7b414030bb@yandex.ru> References: <20160308200753.GC6269@acm.fritz.box> <20160309104900.GA3948@acm.fritz.box> <20160309141930.GC3948@acm.fritz.box> <20160309193758.GH3948@acm.fritz.box> <20160310130156.GA4831@acm.fritz.box> <56E27355.4000707@online.de> <20160311120808.GA2888@acm.fritz.box> <56E479EA.5010306@online.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1457815097 24464 80.91.229.3 (12 Mar 2016 20:38:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Mar 2016 20:38:17 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?UTF-8?Q?Andreas_R=c3=b6hler?= , Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 12 21:38:16 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 1aeqIe-0005y2-5b for ged-emacs-devel@m.gmane.org; Sat, 12 Mar 2016 21:38:12 +0100 Original-Received: from localhost ([::1]:33342 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aeqId-00042P-OL for ged-emacs-devel@m.gmane.org; Sat, 12 Mar 2016 15:38:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42508) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aeqIa-000428-5k for emacs-devel@gnu.org; Sat, 12 Mar 2016 15:38:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aeqIW-0004Qz-Vm for emacs-devel@gnu.org; Sat, 12 Mar 2016 15:38:08 -0500 Original-Received: from mail-wm0-x233.google.com ([2a00:1450:400c:c09::233]:33871) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aeqIW-0004Qt-Og for emacs-devel@gnu.org; Sat, 12 Mar 2016 15:38:04 -0500 Original-Received: by mail-wm0-x233.google.com with SMTP id p65so57031367wmp.1 for ; Sat, 12 Mar 2016 12:38:04 -0800 (PST) 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=4BNuyw932OT1BiRwBOxvL2Qzr9o7saHcfBAxGGCaBkc=; b=wKdqhrcFqOyAwOjG/3tQxAlt1GsIhmCE7wnvwgb2/+0vYu6WC3CnCOOBjmHiag8/f6 KGta5k4W0Z617+kZ/U3kjlFw0PzOVxVvy8S04OMW86mVf2xJobsXAb7sdJID2GKBBVzF u/1LeX7BJ4SgymGCXXNEVRqmZHzl0YHjdHGq5WVNh/mCLaPgXIqqtXgf8vDmx1qQ6J/X FKt062aJqjkVQZ31WybsafM4mH2Vf0GeQqwPj2aC306PLxjjpMGOw3iMh0nHgUd+UitU jno7oZwUfgku4N7Dfp5cxZ4Uyy3N9K8o5PvGsw0iZw4SQ/Z+MCJPLOBedx6DJBvHspWa TZWQ== 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=4BNuyw932OT1BiRwBOxvL2Qzr9o7saHcfBAxGGCaBkc=; b=cDOvoLC6W4dbhwdyQkHfk43mJCZdESEWM+LhzaxGCq+2ngx49/qH1s03ma6uwX0LZT 4XqrqSBoAPUyRun7SzAO1SDhKbv3WfxQm3/kPAHNBJbZaUwTYXUvGAEy/oZkP1u9scmd qqnynqOV7McwH7BKzkmFpczjIGLK4oi5/elTril+ORWSbUOGGm8LSzv7+foDa1UfogCF Tks0gWZjgqOxvtIgAlTe8wNLjIRllZ/jhIa6PKH4NWDqthcDqT5RoX6TR1uVc1MAyvqZ Q0UKv2XEw6/F/rJCJLeCgp2Q/R2J+KeEJMOii6fxAm3RFTnwDDKjxTFOAaxKG2+zEiJT ka9Q== X-Gm-Message-State: AD7BkJKwJDefFYmnTyHqqHQFHt1DEO3Th/e3FNYL+5+/2oV2ltXvml5ggHH6NrxcXxl8cg== X-Received: by 10.28.125.141 with SMTP id y135mr9274866wmc.83.1457815083897; Sat, 12 Mar 2016 12:38:03 -0800 (PST) Original-Received: from [192.168.1.2] ([185.105.175.24]) by smtp.googlemail.com with ESMTPSA id ei9sm14680790wjd.40.2016.03.12.12.38.02 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 12 Mar 2016 12:38:02 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 In-Reply-To: <56E479EA.5010306@online.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::233 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:201550 Archived-At: On 03/12/2016 10:19 PM, Andreas Röhler wrote: > Needed or not: it's impossible. The idea of a cache WRT to comments > can't work. Every insert may start a new multiline-comment at pos 1. How > a cache will detect that? syntax-ppss-flush-cache in before-change-functions. > The results of syntax-ppss are hardly > predictable. This is unsubstantiated.