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: [SUSPECTED SPAM] Re: [Emacs-diffs] scratch/widen-less a4ba846: Replace prog-widen with consolidating widen calls Date: Mon, 4 Dec 2017 23:46:26 +0200 Message-ID: References: <20171129233237.27462.23351@vcs0.savannah.gnu.org> <5d668ce5-1482-a3d4-c01b-7d996a532567@yandex.ru> <20171130214621.GA22157@ACM> <27985594-3bb4-ce88-8928-2ccfeac13eae@yandex.ru> <20171201154913.GB3840@ACM> <1e542021-e389-cca4-6acd-349efddb2652@yandex.ru> <20171201223529.GG3840@ACM> <4a94ec5c-efdd-50f1-ff4d-277f5f45c2df@yandex.ru> <83lgil1qme.fsf@gnu.org> <83d13x1j2s.fsf@gnu.org> <34abea95-c7f7-e8fa-8407-8c2fd2a4cfe1@yandex.ru> <83y3mkzw1n.fsf@gnu.org> <83mv2zzv7z.fsf@gnu.org> <83o9nexy48.fsf@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 1512424059 26923 195.159.176.226 (4 Dec 2017 21:47:39 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 4 Dec 2017 21:47:39 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Thunderbird/57.0 Cc: emacs-devel@gnu.org To: Stefan Monnier , Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 04 22:47:30 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 1eLyaE-0006B6-IZ for ged-emacs-devel@m.gmane.org; Mon, 04 Dec 2017 22:47:26 +0100 Original-Received: from localhost ([::1]:45383 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eLyaG-0001gy-RF for ged-emacs-devel@m.gmane.org; Mon, 04 Dec 2017 16:47:28 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56502) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eLyZO-0001ft-Lj for emacs-devel@gnu.org; Mon, 04 Dec 2017 16:46:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eLyZL-0002am-Jc for emacs-devel@gnu.org; Mon, 04 Dec 2017 16:46:34 -0500 Original-Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]:44541) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eLyZL-0002Zi-Bh; Mon, 04 Dec 2017 16:46:31 -0500 Original-Received: by mail-wm0-x242.google.com with SMTP id t8so8487815wmc.3; Mon, 04 Dec 2017 13:46:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=d1qY2MAejYwg6tZTFoLpmPMJI0u1830ECTaYlGUqm/U=; b=f6dqAqD5HGDz50pEncZikp8WJnw6D1HoG/Cp4hk4HbqQspUiRXylJGVMXRM5SioRuF Iw6XUMyZ0YJqtDgg52l5IVxOioY1uIwO9pBaP2a/jbUxgDy4LDkT6fIYuqSMtBTWr2lH K8vNwl/vi2JB3UypJjqJzFdnPL5SiMOJq6DXBMIplxpG0nD2w5OI/tzjcpVQ/SBDMBNj L+jTI3qwV6co5Gqohgr8ARP//eG8Vr4+9ACUafwh/VIyXTbG4fByUYFi43BBzI30nC99 JoIaAD7TInIxY2XhjjnkOpa7oRwqdO4prVL4GRC0oHRfELDCbClwn2wpKQcxZ3Z3+vkt cnSg== 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:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=d1qY2MAejYwg6tZTFoLpmPMJI0u1830ECTaYlGUqm/U=; b=eqP2EnLOPnnK11OVLTx6Sfc181ANI0dBrEWp+YgNb8FN68IKwbHcaFCIW52PXwy8C1 Te8dmPTNWax/S5d+qtMvpVyvTIYf9mSlnC83Ozdv1DOpLi10XcVcRAyblNyRxTkcBhhK p6QHHX1cvq3QB9QSoJDO2NBnbtT7pPq+Yv1PaSoDw57KCOck1QVKVo2nrvPS1a7aqIaC rhzN9O8Qvswp8AnwbROckFB3bmgmXD/MrcSDGWuj+lZQBSj6s4O7VWGgpq80nN6YebvF nrNopKJC0z3I3Zzb4etxgbSP3elPMaoPYfnAyv2CxmpD+zjp75q34bJyEh3OIz80hxVB 4nUg== X-Gm-Message-State: AJaThX6wZPu2Z2r0dAiJiKTJzEZ9DTCgSo3gnPhQrH+WF3puHB04H75F 1lk9/utkmiign5CM+TvTDcBDBtQs X-Google-Smtp-Source: AGs4zMYDF9NUmJQSlIl3RgSFjqjCtGeYz+V4hQ6HCVhJGi6k7ggqfIPC2vGkfX8G4offYCV69uLg6w== X-Received: by 10.28.28.5 with SMTP id c5mr8442860wmc.115.1512423989889; Mon, 04 Dec 2017 13:46:29 -0800 (PST) Original-Received: from [192.168.1.3] ([185.105.174.193]) by smtp.googlemail.com with ESMTPSA id 138sm4952209wmf.21.2017.12.04.13.46.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Dec 2017 13:46:28 -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:400c:c09::242 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:220720 Archived-At: On 12/4/17 7:12 PM, Stefan Monnier wrote: >> If we want to try to get this into >> Emacs 26, we should strive to make the code changes minimal, ideally >> zero. Once all we are left with are documentation changes, the >> feature can land on emacs-26 right now. > > Zero is not the intention: for the doc changes to be valid, we need to > add a few `widen` calls in places like indent-according-to-mode. We also need to *remove* widen calls in indentation functions, or the new convention is not followed, and thus useless. > But I'd be fine keeping the old prog-indentation-context if you want. How would that work? It's second element must be unused for the above protocol to work. So it will be a list with just one effective element?