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: /srv/bzr/emacs/trunk r101338: * lisp/emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch Date: Thu, 13 Feb 2014 05:06:41 +0200 Message-ID: <52FC36C1.7070901@yandex.ru> References: <87r47bi1e5.fsf@yandex.ru> <52F96284.50507@yandex.ru> <52FAE12B.6060101@yandex.ru> <52FAF761.2020801@yandex.ru> <52FB8EE3.2020905@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1392260822 21910 80.91.229.3 (13 Feb 2014 03:07:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Feb 2014 03:07:02 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 13 04:07:10 2014 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 1WDmdp-0004Er-Pp for ged-emacs-devel@m.gmane.org; Thu, 13 Feb 2014 04:07:09 +0100 Original-Received: from localhost ([::1]:43854 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDmdo-0004rb-Qx for ged-emacs-devel@m.gmane.org; Wed, 12 Feb 2014 22:07:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36749) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDmde-0004rQ-SN for emacs-devel@gnu.org; Wed, 12 Feb 2014 22:07:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WDmdS-0004Me-Gg for emacs-devel@gnu.org; Wed, 12 Feb 2014 22:06:58 -0500 Original-Received: from mail-ee0-x22a.google.com ([2a00:1450:4013:c00::22a]:41108) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDmdS-0004Lj-8a for emacs-devel@gnu.org; Wed, 12 Feb 2014 22:06:46 -0500 Original-Received: by mail-ee0-f42.google.com with SMTP id b15so4740716eek.29 for ; Wed, 12 Feb 2014 19:06:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=WgU/QZ+7Lenm9SLWA5AvffkpKPr1jhIFiMHnWV+He7A=; b=d/839uS+jmYzEI4eBn1g4T/U1jIP+3HpeYmJv7nDelbcZLAIYg32mhnhLkMvkr+Ic6 U3oNFPoy+ardmtW0MTttTp2AS4wXlm4smS+8ur46zjasHIROEw1Qbg8Tjz8FlopZSDfY EitWRh01P0S4TKsrNM/KS9iI51RDSLMF8xt8jaiWEDDZghUh9tjRMgj4Np5JtDFRVt2s CfAXJSPDROgb0+j9Om0iuQCq0aPfRQ8fjJyVa5tq3PiN0O49r2kQD2SqJB9EcsaqLr1/ GVUhWKvo8bREFsUm7loqsxzfA/OQmo51DfBjQHOE5rRnJyR+79cywXBxoPpJqQdwoS+I eydw== X-Received: by 10.15.41.140 with SMTP id s12mr8131420eev.4.1392260805418; Wed, 12 Feb 2014 19:06:45 -0800 (PST) Original-Received: from [192.168.10.2] (62-36-157.netrun.cytanet.com.cy. [62.228.36.157]) by mx.google.com with ESMTPSA id m9sm1414833eeh.3.2014.02.12.19.06.43 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 12 Feb 2014 19:06:44 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c00::22a 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:169574 Archived-At: On 13.02.2014 02:13, Stefan Monnier wrote: > In many cases I'd expect the returned PPSS would be nil. What would the nil value mean? Beginning of a new subregion? >> And the hook won't have access to earlier cached values. > > I don't see any reason why the hook wouldn't be able to call > syntax-ppss recursively. Hm yes, that should work.