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: font-lock-syntactic-keywords obsolet? Date: Sun, 19 Jun 2016 16:48:05 +0300 Message-ID: References: <57627D13.5090008@online.de> <5764F25B.4010204@online.de> <20160618171249.GA5796@acm.fritz.box> <20160619133143.GA5875@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 1466344141 19489 80.91.229.3 (19 Jun 2016 13:49:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 19 Jun 2016 13:49:01 +0000 (UTC) Cc: emacs-devel@gnu.org, Noam Postavsky To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 19 15:48:56 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 1bEd5r-00087s-I0 for ged-emacs-devel@m.gmane.org; Sun, 19 Jun 2016 15:48:55 +0200 Original-Received: from localhost ([::1]:38820 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEd5q-0005wN-MX for ged-emacs-devel@m.gmane.org; Sun, 19 Jun 2016 09:48:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53724) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEd5A-0005wH-Rj for emacs-devel@gnu.org; Sun, 19 Jun 2016 09:48:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bEd56-0004iN-NO for emacs-devel@gnu.org; Sun, 19 Jun 2016 09:48:11 -0400 Original-Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]:35401) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEd56-0004hl-GK for emacs-devel@gnu.org; Sun, 19 Jun 2016 09:48:08 -0400 Original-Received: by mail-wm0-x22f.google.com with SMTP id v199so39615652wmv.0 for ; Sun, 19 Jun 2016 06:48:08 -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=5CFtMm6S4zz7gyrN+Mp4wOpIjeOVIjNLnvAwFI8kRcI=; b=B0QriGkxVBM81H+zUDnPUOq+tTXqCw2fb3qhW3pE2Hn7y+0wE3pUcUwgjeqC3jOUqJ JaRp3WZG/Etpf1kax8f2zOMsrL2WiOJKEGMsPmzry1Sj5MS3ZdGM4+Afn2Q+OZInuhVt eUV1shSVB5/pwtId26kWEB7LDm+U3Bmoh7CMzb5ZKODNgNO56fcQ2+XoM9yGYdoIpJu3 bF7UqcLYRt2vvbVDaol2VMhgJ+zbh/4QpMnFBKCvE6WXzg5cICT2CejTlsr1E5c5dQ0w 2plMytBKfYRjB5hsRDy0eP+4fwg8bV2iY1LQdte9wEYwPqBrwv6Hcsf0obPq6fGDUKWn IzlA== 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=5CFtMm6S4zz7gyrN+Mp4wOpIjeOVIjNLnvAwFI8kRcI=; b=QkWXv8kGXnjFAbYZcVqhVmsgzOgHWfjsl/Atwj+meWo8LKyCGtgQcDGD87qVuOmGaH ZUKS0YjfULuWGE5zueUt31IIdH/mrai87POB2FfwMUE0tsPiWp4Eu9yBuTUBoli7CsAU 6weWXcyCFpoVU5HNJZzdVw1zqUW4t2FzHGu0s+KnKKsqQrUj+LkbgDeKECUw+NiAKUgs HzQRfUSCQVqT6zgvO4tUIZPtmxM2dgF3RoacicKJxNzPNTQ0lZVdpBhTBcAp6E/pAY86 Ezud1nv4J7/RPVDdF/Utxz8aNXkQAYZSw4AR2Z+iyyDP/N+5M58cxHgLApceghI7GUlp 0QMw== X-Gm-Message-State: ALyK8tLmJFYkfMMJa9b3Lii8Q5IRYgX2i9z14penRJDd47DDjJbQkG5re3wGlySg1f3L8A== X-Received: by 10.28.224.69 with SMTP id x66mr7150555wmg.89.1466344087662; Sun, 19 Jun 2016 06:48:07 -0700 (PDT) Original-Received: from [192.168.1.2] ([185.105.173.135]) by smtp.googlemail.com with ESMTPSA id u6sm58350255wjy.17.2016.06.19.06.48.06 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 19 Jun 2016 06:48:06 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2 In-Reply-To: <20160619133143.GA5875@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::22f 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:204509 Archived-At: On 06/19/2016 04:31 PM, Alan Mackenzie wrote: > Simply because these scans are done on the change region of > before/after-change-functions (as expanded), not on the entire tail of > the buffer. In CC Mode, all the uses of the syntax-table property are > "local"; a buffer change in an earlier part of the buffer (aside from > crude syntactic things like inserting unclosed comment/string > delimiters) cannot affect the properties on the current part of the > buffer. So if I remove a closing brace somewhere near the beginning of the buffer, it still can't affect text properties near the end? If so, what if I remove a closing double-quote instead?