From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vitalie Spinu Newsgroups: gmane.emacs.devel Subject: Re: [Patch] hard-widen-limits [was Re: Syntax tables for multiple modes [was: bug#22983: syntax-ppss returns wrong result.]] Date: Tue, 22 Mar 2016 11:05:38 +0100 Message-ID: <8737risu8d.fsf@gmail.com> References: <20160311151512.GD2888@acm.fritz.box> <73903215-f94b-e194-7bfe-0d6350c95769@yandex.ru> <20160311221540.GH2888@acm.fritz.box> <2c301ec9-041d-9172-d628-479062314b23@yandex.ru> <20160314151621.GF1894@acm.fritz.box> <874mc2dqtk.fsf@gmail.com> <87egb5cpmg.fsf@gmail.com> <87a8lsd4j3.fsf@gmail.com> <87mvpsbeok.fsf_-_@gmail.com> <87pounew9e.fsf@gmail.com> <87twjzda4h.fsf@gmail.com> <87lh5bd4ib.fsf@gmail.com> <87egb3ryjc.fsf@gmail.com> <877fgusum3.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1458641162 31524 80.91.229.3 (22 Mar 2016 10:06:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 22 Mar 2016 10:06: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 Tue Mar 22 11:05:54 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 1aiJCC-0003gc-DT for ged-emacs-devel@m.gmane.org; Tue, 22 Mar 2016 11:05:52 +0100 Original-Received: from localhost ([::1]:34793 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aiJCB-0007FV-PO for ged-emacs-devel@m.gmane.org; Tue, 22 Mar 2016 06:05:51 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53279) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aiJC5-0007FM-LA for emacs-devel@gnu.org; Tue, 22 Mar 2016 06:05:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aiJC0-00087g-Hk for emacs-devel@gnu.org; Tue, 22 Mar 2016 06:05:45 -0400 Original-Received: from mail-wm0-x231.google.com ([2a00:1450:400c:c09::231]:37065) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aiJC0-00087a-4N for emacs-devel@gnu.org; Tue, 22 Mar 2016 06:05:40 -0400 Original-Received: by mail-wm0-x231.google.com with SMTP id p65so155650292wmp.0 for ; Tue, 22 Mar 2016 03:05:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=jMwn+x/GZPb+qModrbtXpgNcaDax5nbzbmiXj/PzuEk=; b=ui/pOZi6Q6wkZnvUHUDAWf9NZtD2IOSDqIwckfpuG8gBzTI95R3JAd3+MwUCIOu2QI jHYmWXfAHrTwJNbzfGCdA0194X7n481fdM/3QfHYUiW0CdzGoZsX4EJ1UDNSVUl7ajwu pwhNeTkrgOtCJgshlwz16Wzj71hEFe3tmqnNhhMlnnrdO6mT3bMcTWJQTTQx730QAahc jQggnjHPSFVoJ+oLGT783KUu+igTHtrWqZOt4+egVMda20c3fdQbfGGtHTXYu51Piw16 lcpv6fXij1/qVtzGBe/K95E1YvsSamuKgfyHGD8G0EsjekXpdAGesALteFZmj2sjFvMr zJuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=jMwn+x/GZPb+qModrbtXpgNcaDax5nbzbmiXj/PzuEk=; b=KyjZUzbYpbpKTjKmCjNRRYSzB+ifiYPKGU9/KdVnpi1is/vG7pXs8QaBTsArb2NZf4 9XvD6Vvsuhfvap0DkM/xAwiWM3AYTd5vf5O1FwVLLwKxNwR9WiqtHEaicPxtj+Z1b3mR ykCEK4enKiTUu6tao8xwF4leLVc2MY7i/ykyhvgfjVPJ98YRy8tl7RUjrwHxVEpiyt8f Lv97jzPki+QNT2ANtjqYd43/6GvlI6ipmxkPVxenahcUwKjF5QkbV0oWo5SyJW72+ZPb 2aySnQeKRjj9acCrko/+BovSKn2JkDk7njF59CGrFRqAFHJXyxpfs2vir8arPGct8cDL ltcg== X-Gm-Message-State: AD7BkJIdL105gwhwPo+OolZUpPNtG3nuAK2fCbqfUM8OUJIY11JIloBAOvThnYa8gKmhXQ== X-Received: by 10.194.60.165 with SMTP id i5mr40069705wjr.178.1458641139283; Tue, 22 Mar 2016 03:05:39 -0700 (PDT) Original-Received: from localhost ([143.176.214.220]) by smtp.gmail.com with ESMTPSA id l135sm16602139wmb.13.2016.03.22.03.05.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Mar 2016 03:05:38 -0700 (PDT) In-Reply-To: <877fgusum3.fsf@gmail.com> (Vitalie Spinu's message of "Tue, 22 Mar 2016 10:57:24 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::231 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:202056 Archived-At: >> On Tue, Mar 22 2016 10:57, Vitalie Spinu wrote: > So the consumer will need to set this variable and always follow it by widen. Hm. This also implies that each consumer will need to take care of current narrowing and re-narrow to new limits. This doesn't sound right. I am also not sure what the behavior of save-restriction should be. Should save-restriction unwind hard limits as well? Vitalie