From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] scratch/widen-less a4ba846: Replace prog-widen with consolidating widen calls Date: Sat, 09 Dec 2017 17:43:04 +0200 Message-ID: <83wp1vuctz.fsf@gnu.org> References: <20171129233237.27462.23351@vcs0.savannah.gnu.org> <83lgil1qme.fsf@gnu.org> <83d13x1j2s.fsf@gnu.org> <34abea95-c7f7-e8fa-8407-8c2fd2a4cfe1@yandex.ru> <83y3mkzw1n.fsf@gnu.org> <83mv2zzv7z.fsf@gnu.org> <83r2saxyj1.fsf@gnu.org> <83efoaxv0c.fsf@gnu.org> <57382399-5efa-655f-e374-fbe1ef9d89aa@yandex.ru> <27732BB8-B3B7-4489-963E-A09333026A8E@gnu.org> <43ec332a-4de5-d3ce-1bc2-60b081447f77@yandex.ru> <6A58664C-42E7-48E4-BB90-0488FED4A7FD@gnu.org> <75360721-62e7-37aa-f623-4b7eac8d4fbe@yandex.ru> <6bfba3e0-10db-b1fd-0ecc-3eb9771b4443@yandex.ru> <97EC48DB-DA8E-45BD-9ACF-D0B978408F8C@gnu.org> <2c37e1ea-69cd-2125-486b-71ea76f23bd0@yandex.ru> <83y3mduq8y.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1512834245 17951 195.159.176.226 (9 Dec 2017 15:44:05 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 9 Dec 2017 15:44:05 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 09 16:44:01 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 1eNhIH-0004TH-8H for ged-emacs-devel@m.gmane.org; Sat, 09 Dec 2017 16:44:01 +0100 Original-Received: from localhost ([::1]:41752 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eNhIM-0006bP-SH for ged-emacs-devel@m.gmane.org; Sat, 09 Dec 2017 10:44:06 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58168) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eNhHl-0006bJ-El for emacs-devel@gnu.org; Sat, 09 Dec 2017 10:43:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eNhHk-0007Xl-Mz for emacs-devel@gnu.org; Sat, 09 Dec 2017 10:43:29 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33669) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eNhHf-0007UX-G7; Sat, 09 Dec 2017 10:43:23 -0500 Original-Received: from [176.228.60.248] (port=1300 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eNhHe-0001e8-PM; Sat, 09 Dec 2017 10:43:23 -0500 In-reply-to: (message from Dmitry Gutov on Sat, 9 Dec 2017 17:17:34 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:220826 Archived-At: > Cc: emacs-devel@gnu.org, monnier@iro.umontreal.ca > From: Dmitry Gutov > Date: Sat, 9 Dec 2017 17:17:34 +0200 > > On 12/8/17 6:41 PM, Eli Zaretskii wrote: > > > The separate issue is to widen unconditionally. I could probably > > agree to have these functions widen when MMM-like mode is active. > > While all indent-line-functions stop calling 'widen'? Or will then also > have to do that conditionally? If a particular indent-line-function needs to widen, then yes, it will need to do that by itself, and if that gets in the way of MMM, then the widening will have to be conditional. (I thought that prog-widen and prog-indentation-context were a means to solve this, isn't that so?)