From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Problems with syntax-ppss: Was [... Apply `comment-depth' text properties when calling `back_comment'.] Date: Thu, 10 Mar 2016 09:52:49 -0500 Message-ID: References: <20160308183010.GB6269@acm.fritz.box> <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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1457621663 22602 80.91.229.3 (10 Mar 2016 14:54:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Mar 2016 14:54:23 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 10 15:54: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 1ae1yc-0007dP-K6 for ged-emacs-devel@m.gmane.org; Thu, 10 Mar 2016 15:54:10 +0100 Original-Received: from localhost ([::1]:48960 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ae1yc-0005vL-21 for ged-emacs-devel@m.gmane.org; Thu, 10 Mar 2016 09:54:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51943) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ae1xl-0004zi-OK for emacs-devel@gnu.org; Thu, 10 Mar 2016 09:53:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ae1xg-0001oL-PA for emacs-devel@gnu.org; Thu, 10 Mar 2016 09:53:17 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:47192) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ae1xg-0001o5-IL for emacs-devel@gnu.org; Thu, 10 Mar 2016 09:53:12 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ae1xZ-0006mi-FD for emacs-devel@gnu.org; Thu, 10 Mar 2016 15:53:05 +0100 Original-Received: from 206-248-186-70.dsl.teksavvy.com ([206.248.186.70]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Mar 2016 15:53:05 +0100 Original-Received: from monnier by 206-248-186-70.dsl.teksavvy.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Mar 2016 15:53:05 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 14 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 206-248-186-70.dsl.teksavvy.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:Ka25rhVMqX9e2Qxw/GNC9OOrT8I= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:201388 Archived-At: > Well, given that syntax-ppss is not suitable for fixing back_comment, On the contrary I think it's perfectly suitable. >> > By the way, have you had a look at my patch, yet, >> Yes, and I didn't like it, hence this thread. > Is there anything you don't like about it besides the partial > duplication of the syntax-ppss functionality? If so, what? Obviously, I prefer a separate data structure over text-properties, but that's just a mild preference. The problem is in the duplication. Stefan