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: Thu, 14 Dec 2017 11:32:38 +0200 Message-ID: <89c4a839-a124-a1a8-5cf9-583baf2b4dd6@yandex.ru> References: <20171129233237.27462.23351@vcs0.savannah.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> <83609etizl.fsf@gnu.org> <83wp1ts123.fsf@gnu.org> <1e8587a7-c98b-5183-3cfd-8e1034443f44@yandex.ru> <83shchrwia.fsf@gnu.org> <83lgi9ruo8.fsf@gnu.org> <01c15d4e-566b-3b7f-c4e6-6f199ba5bcc3@yandex.ru> 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 1513243975 8228 195.159.176.226 (14 Dec 2017 09:32:55 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 14 Dec 2017 09:32:55 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Thunderbird/58.0 To: Eli Zaretskii , monnier@iro.umontreal.ca, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 14 10:32:52 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 1ePPsp-0001pd-38 for ged-emacs-devel@m.gmane.org; Thu, 14 Dec 2017 10:32:51 +0100 Original-Received: from localhost ([::1]:39814 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePPsu-0001Ni-Ky for ged-emacs-devel@m.gmane.org; Thu, 14 Dec 2017 04:32:56 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57450) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePPsl-0001Nc-Oz for emacs-devel@gnu.org; Thu, 14 Dec 2017 04:32:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ePPsi-0002oR-J2 for emacs-devel@gnu.org; Thu, 14 Dec 2017 04:32:47 -0500 Original-Received: from mail-lf0-x241.google.com ([2a00:1450:4010:c07::241]:32957) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ePPsi-0002nA-CN; Thu, 14 Dec 2017 04:32:44 -0500 Original-Received: by mail-lf0-x241.google.com with SMTP id g80so1390009lfg.0; Thu, 14 Dec 2017 01:32:44 -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=cnst3/V0KnO2zVxNu6bnb4L9u860OhAMHpYDwFedSro=; b=dWpOyc7tO1bftJ0cbESiqQngg8UyFYtnln/M3UU7d9eEzBlcPSU4f6D3Pj3hMU5acP RzSGfqVsdq0/4RqC/jKx2Wap4Kde8kWNx6p8gjVkrsD/44cXnjpl6NYIp0XADi90MTSN oxxuq7NeZZmT4ruMezthzdHZFZ14VSxmRPRTWy2HxKeF6/GdRaNXh/L7uK6CfLBo5fbI nfOO3WqGDeM7A7RBxoI6sqKPv+qy022Q9rY8M1tCJz/B1QiHz41Sy5OZP06AWszsunkx J129aH4iR29X3JD3aBYkypTY6pK1pyZePhX+PkYN9L0du5nxBJEdfNitbhGE5B9JUpT3 L1kA== 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=cnst3/V0KnO2zVxNu6bnb4L9u860OhAMHpYDwFedSro=; b=TYStwq3/VZ+MN5bQ1kSoR+Sa3ZcyLl8BCIYNikMXblK8mNvjD8iMd1vru4ELpH2c7U /leCQV+0rJuKZH3aEV1dnm7SEsEMs84lodbYQ2MoUhkOpZtxJRRLuhxOUtZwKQT1wfXG eM1mqyRyDEurWvpGpM2/8HP4JMEO1AYz6DdHafIbceFkBqKAdNzW8vLiwpmPZqV20zpX U4KlAb216hcJamnX9auP6p/vIOhyHcZU4VNkNaEznnz9xc/QT1jfSMoQP+luOVFvmvh0 wvng4ehi+HeqLMIYO2MqjQwcOPcJzdvopa9ISTcLAjhzroPmNtf0idAgoUDQCtKSzOX9 nH7A== X-Gm-Message-State: AKGB3mIUMmtI0oBfmL4YA3Qn0olGRUHO//zq5cQ2ZV4kkKZ1R7EY0c+T bNyoBusoC3/zR7KXri1b5+hQHXLa X-Google-Smtp-Source: ACJfBoscWVQxmnViQaN5dhQuRidMWOXYLRgukMYmI7ggB63BoySaPQsCixd2eSv+paJR2Qvq4bzg0Q== X-Received: by 10.46.4.13 with SMTP id 13mr3234288lje.82.1513243962360; Thu, 14 Dec 2017 01:32:42 -0800 (PST) Original-Received: from [192.168.1.3] ([185.105.174.193]) by smtp.googlemail.com with ESMTPSA id 75sm687082lja.84.2017.12.14.01.32.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Dec 2017 01:32:40 -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::241 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:221044 Archived-At: On 12/11/17 11:43 PM, John Wiegley wrote: > GD> Not sure I understand your question. Do you want a full description of the > DG> changes? I can rebase the branch first before merging, and add proper > DG> change log messages. > > Please. :) I've pushed it to widen-less (without scratch/ now). Comments welcome! It keeps prog-indentation-context for its first element (for change-minimization and possibly emotional reasons; but who knows, someday we might add some, specific only to indentation). The added bonus is that calling prog-first-column is easier than digging out the first element of the list. What is not included, but probably should be: - Manual changes describing that font-lock matchers shouldn't call 'widen' either. It's an important thing, but so far it's been only an issue with CC Mode, which isn't supported anyway (so far). So: should that info be included, and where should I put it? - Similar info for syntax-propertize-function, though no violators have been observed so far. These will be documentation-only changes. What is not included, and maybe should wait until Emacs 27: - Similar consolidations of 'widen' calls for add-log-current-defun, eldoc-print-current-symbol-info, beginning-of-defun-function and others. And accompanying documentation (again, where should it go?).