From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] scratch/widen-less a4ba846: Replace prog-widen with consolidating widen calls Date: Thu, 30 Nov 2017 08:59:32 +0000 Message-ID: <5d668ce5-1482-a3d4-c01b-7d996a532567@yandex.ru> References: <20171129233237.27462.23351@vcs0.savannah.gnu.org> <20171129233238.504B5204F1@vcs0.savannah.gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1512032517 31150 195.159.176.226 (30 Nov 2017 09:01:57 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 30 Nov 2017 09:01:57 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Thunderbird/57.0 To: Stefan Monnier , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 30 10:01:46 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eKKiw-00071k-Ns for ged-emacs-devel@m.gmane.org; Thu, 30 Nov 2017 10:01:38 +0100 Original-Received: from localhost ([::1]:46901 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eKKj2-0003BX-BZ for ged-emacs-devel@m.gmane.org; Thu, 30 Nov 2017 04:01:44 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51810) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eKKh4-000250-TI for emacs-devel@gnu.org; Thu, 30 Nov 2017 03:59:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eKKh1-00023Q-1w for emacs-devel@gnu.org; Thu, 30 Nov 2017 03:59:42 -0500 Original-Received: from mail-lf0-x230.google.com ([2a00:1450:4010:c07::230]:37163) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eKKh0-00022K-Qq for emacs-devel@gnu.org; Thu, 30 Nov 2017 03:59:38 -0500 Original-Received: by mail-lf0-x230.google.com with SMTP id a12so7029301lfe.4 for ; Thu, 30 Nov 2017 00:59:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=XIFDYeUbfpJ+WFX06hD4mMtkqQXBY4Cj5fMMe2r4Rhg=; b=R3Mv3ON4CZifjAOClVyBvcPEHl/J3gmdKI9lmV839cI0RvO7PeqPr9oXIwPAz7BkLn zyBFPPj2VOxDMqMKYr7H6Yo/DerFHIyCvSjPxjZ4x/xyMZUM16m1GRE8Os62qbLOxkdm d3jLo5UMm6GsZ0/kpf0yCACPg7tFiEIGGsD5qjrcpXgpxoK0+1tsaWtfnmNNhi/H5vEs hlNsPclE9EgnTxb2nA5jlZ6heI9bcU0D23auwj8BiO70mpdQ1AqytRM5tGEXukSJRzQ/ b8+80y9U1ISVw7Qf1jproGvFtby9viE5AZydX4QlzyMMwbmK5woQ6aDq6yXqoQRsY/jg 5gzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=XIFDYeUbfpJ+WFX06hD4mMtkqQXBY4Cj5fMMe2r4Rhg=; b=OT3L4WkbHYLowivlIrAlbgp6nspvJNQjF3KaypIkLySIemaaNNasc/DR4+TOk19RyL zYyxbNSg5E5msPaHwV9glVzSa988t7GhZNHsm4fqSssh9iUBa/F5W96wTjpl2yfBbWEv pkiFVliW1oVzPgGFY9JwsyRGIvEop/y05lS0HboM3W42KK0yWHuA4FdcfcTDLQCjIDxi ty1BgpY3mb0Lg+sWUOCywHhAOd9I1iknHZBa4FSQmQweFrG0rmaPJDVtwVzdTNYygmA2 D6+OW5WL3btlLXfQxgcUccDlId0EU5k6ocOBSDpHOZ80H1l48G7h5iP/MUuLXpx8zl8a O7QQ== X-Gm-Message-State: AJaThX70IonP8Sz5t3dSV6CR3B7CCOw/jsFRj6YKkIhSiXW/dJeFugzN j2PtrooIZ/Hsw/5vPRgwZc6iWarP X-Google-Smtp-Source: AGs4zMazM+Vecej3hS0iue1/bwh+vbMeBky1jZtn+7W+qY+hL1vvO1gFJgCCVBjfkudHarf9dS6OXw== X-Received: by 10.46.18.83 with SMTP id t80mr2787348lje.58.1512032377130; Thu, 30 Nov 2017 00:59:37 -0800 (PST) Original-Received: from [192.168.1.152] (157-157-238-185.dsl.dynamic.simnet.is. [157.157.238.185]) by smtp.googlemail.com with ESMTPSA id d1sm746923ljf.66.2017.11.30.00.59.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Nov 2017 00:59:36 -0800 (PST) In-Reply-To: Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4010:c07::230 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:220534 Archived-At: On 11/30/17 1:53 AM, Stefan Monnier wrote: >> Replace prog-widen with consolidating widen calls > > So, IIUC the idea is that the multi-major-mode framework will *have* to > use narrowing to indicate to the sub-modes the boundaries of the current > chunk, right? Yes. Just like it would *have* to bind prog-indentation-context to a complex-ish value in the previous proposal. I can't imagine a case where it would be inconvenient to do so.