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: [SUSPECTED SPAM] Re: [Emacs-diffs] scratch/widen-less a4ba846: Replace prog-widen with consolidating widen calls Date: Sat, 09 Dec 2017 13:05:02 +0200 Message-ID: <83609guppd.fsf@gnu.org> 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> <83d13uxug5.fsf@gnu.org> <41e3f343-816f-d2db-6575-6ef43d54957f@yandex.ru> <838tecuqjb.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1512817542 20088 195.159.176.226 (9 Dec 2017 11:05:42 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 9 Dec 2017 11:05:42 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: dgutov@yandex.ru Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 09 12:05:35 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 1eNcwo-0004iS-Pd for ged-emacs-devel@m.gmane.org; Sat, 09 Dec 2017 12:05:35 +0100 Original-Received: from localhost ([::1]:40819 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eNcwn-0005uz-JT for ged-emacs-devel@m.gmane.org; Sat, 09 Dec 2017 06:05:33 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eNcwe-0005ug-AK for emacs-devel@gnu.org; Sat, 09 Dec 2017 06:05:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eNcwb-0007D5-4v for emacs-devel@gnu.org; Sat, 09 Dec 2017 06:05:24 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59501) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eNcwa-0007Cy-OV; Sat, 09 Dec 2017 06:05:20 -0500 Original-Received: from [176.228.60.248] (port=4312 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eNcwa-0005w1-70; Sat, 09 Dec 2017 06:05:20 -0500 In-reply-to: <838tecuqjb.fsf@gnu.org> (message from Eli Zaretskii on Sat, 09 Dec 2017 12:47:04 +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:220816 Archived-At: > Date: Sat, 09 Dec 2017 12:47:04 +0200 > From: Eli Zaretskii > Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org > > > Then, some consumers might have doubt which ones to use, and might opt > > to reference the variable. In that case, we lose all benefits of having > > it a function (like making its implementation somehow smarter later), > > and the only benefit remaining is backward compatibility of having a > > function with that name. > > > > But! Like with PREV-CHUNKS, prog-first-column (and the later prog-widen) > > are supposed to be used by the major modes only. There are no references > > to either of these functions in the latest antlr-mode.el, and there > > shouldn't be. > > > > And as long as all the calls to that function are inside Emacs, we're > > free to change it however, including turning it into a variable. > > These all are very weak reasons in my eyes. Just to make myself clear: these reasons would have been very relevant and serious if we were now considering the prog-indentation-context stuff for inclusion in Emacs. But we are 2 years past that stage, so other considerations take precedence, I think.