From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.devel Subject: Re: [SUSPECTED SPAM] Re: [Emacs-diffs] scratch/widen-less a4ba846: Replace prog-widen with consolidating widen calls Date: Mon, 11 Dec 2017 02:53:42 -0700 Message-ID: <87bmj5twt5.fsf@tromey.com> References: <20171129233237.27462.23351@vcs0.savannah.gnu.org> <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> <83d13uxug5.fsf@gnu.org> <41e3f343-816f-d2db-6575-6ef43d54957f@yandex.ru> <838tecuqjb.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1512986078 23877 195.159.176.226 (11 Dec 2017 09:54:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 11 Dec 2017 09:54:38 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) Cc: Stefan Monnier , emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 11 10:54:34 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 1eOKnA-0005yX-Uk for ged-emacs-devel@m.gmane.org; Mon, 11 Dec 2017 10:54:33 +0100 Original-Received: from localhost ([::1]:51984 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOKnI-0000sj-7P for ged-emacs-devel@m.gmane.org; Mon, 11 Dec 2017 04:54:40 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57600) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOKmf-0000sd-CF for emacs-devel@gnu.org; Mon, 11 Dec 2017 04:54:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eOKmZ-0008CX-Om for emacs-devel@gnu.org; Mon, 11 Dec 2017 04:54:01 -0500 Original-Received: from gateway33.websitewelcome.com ([192.185.146.97]:38482) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eOKmZ-000833-Gb for emacs-devel@gnu.org; Mon, 11 Dec 2017 04:53:55 -0500 Original-Received: from cm16.websitewelcome.com (cm16.websitewelcome.com [100.42.49.19]) by gateway33.websitewelcome.com (Postfix) with ESMTP id 8A2E975E6 for ; Mon, 11 Dec 2017 03:53:43 -0600 (CST) Original-Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id OKmNe5Zr8ODN4OKmNe9eoz; Mon, 11 Dec 2017 03:53:43 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=56KUzwvoxBya+H4iDaiXmfzyVBDp9qbKC14PQOb+l0I=; b=TdyTMkxwbUDOfDXsqpwaQMEeI5 VVCRBvCKyLckuUQhhDp1sV7oIcM9x9qIrQl+rbrwDPwpbL8LhuyPVcj17xhwCneLMenIm+BqpILwE jjtWOouSQ/AGM7nA3L4qEVclh; Original-Received: from 71-218-90-63.hlrn.qwest.net ([71.218.90.63]:50044 helo=bapiya) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1eOKmN-000TMg-5q; Mon, 11 Dec 2017 03:53:43 -0600 X-Attribution: Tom In-Reply-To: (Dmitry Gutov's message of "Sun, 10 Dec 2017 23:41:52 +0200") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 71.218.90.63 X-Source-L: No X-Exim-ID: 1eOKmN-000TMg-5q X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 71-218-90-63.hlrn.qwest.net (bapiya) [71.218.90.63]:50044 X-Source-Auth: tom+tromey.com X-Email-Count: 3 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 192.185.146.97 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:220875 Archived-At: >>>>> "Dmitry" == Dmitry Gutov writes: Dmitry> On 12/10/17 10:38 PM, Stefan Monnier wrote: >> It didn't use the prog-indentation-context approach but relied on the >> narrowing approach suggested by Dmitry. Dmitry> To be precise, it did use prog-indentation-context for its first Dmitry> element (prog-first-column), but used "my" approach in the contented Dmitry> area. FWIW, I think I misunderstood the prog-indentation-context documentation when doing this work. But also, narrowing in mhtml seems mildly more convenient; most likely the other approach would have been to narrow in each sub-mode's indent-line-function. Tom