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: font-lock-syntactic-keywords obsolet? Date: Sun, 19 Jun 2016 23:47:51 -0400 Message-ID: References: <57627D13.5090008@online.de> <5764F25B.4010204@online.de> <20160618171249.GA5796@acm.fritz.box> <20160619133143.GA5875@acm.fritz.box> <20160619145934.GC5875@acm.fritz.box> <6bc7b3bc-ddb7-c041-9f68-f8b5faeca63b@yandex.ru> <20160619151836.GE5875@acm.fritz.box> <1d4c62e6-905b-4a51-28b8-e68169fb3269@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1466394534 31134 80.91.229.3 (20 Jun 2016 03:48:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Jun 2016 03:48:54 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 20 05:48:46 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 1bEqCb-0000rt-Ma for ged-emacs-devel@m.gmane.org; Mon, 20 Jun 2016 05:48:45 +0200 Original-Received: from localhost ([::1]:41126 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEqCa-0006Lt-Sk for ged-emacs-devel@m.gmane.org; Sun, 19 Jun 2016 23:48:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42178) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEqC0-0006JG-2D for emacs-devel@gnu.org; Sun, 19 Jun 2016 23:48:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bEqBv-0003JS-2N for emacs-devel@gnu.org; Sun, 19 Jun 2016 23:48:08 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:52909) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEqBu-0003Io-Rv for emacs-devel@gnu.org; Sun, 19 Jun 2016 23:48:03 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bEqBo-0000If-GZ for emacs-devel@gnu.org; Mon, 20 Jun 2016 05:47:56 +0200 Original-Received: from 45.72.244.67 ([45.72.244.67]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 20 Jun 2016 05:47:56 +0200 Original-Received: from monnier by 45.72.244.67 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 20 Jun 2016 05:47:56 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 10 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 45.72.244.67 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:7MACRznHdyDOtkf+Ct19iULojoU= 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.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:204564 Archived-At: >> In syntax-propertize, if you decided to provide the same behavior, you'd >> do it via syntax-propertize-extend-region-functions. > Going back before START inside the s-p-f instelf and re-propertizing also > works (like ruby-syntax-propertize does). Hmm... maybe it works indeed, but it's definitely hackish and I wouldn't be surprised if it bites you in some corner cases. Stefan