From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#32839: 27.0.50; recenter doesn't redisplay Date: Sun, 30 Sep 2018 22:40:18 +0300 Organization: LINKOV.NET Message-ID: <87efdau63h.fsf@mail.linkov.net> References: <8736txjvkg.fsf@mail.linkov.net> <83lg7p8hnf.fsf@gnu.org> <87va6tb8lo.fsf@mail.linkov.net> <83k1n895qv.fsf@gnu.org> <87tvmbq2pp.fsf@mail.linkov.net> <835zyr8mn8.fsf@gnu.org> <875zyqwnrb.fsf@mail.linkov.net> <83k1n66t0w.fsf@gnu.org> <87k1n3ev6e.fsf@mail.linkov.net> <83a7nz5xgr.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1538337822 2407 195.159.176.226 (30 Sep 2018 20:03:42 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 30 Sep 2018 20:03:42 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: 32839@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 30 22:03:37 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1g6hwH-0000WB-Lo for geb-bug-gnu-emacs@m.gmane.org; Sun, 30 Sep 2018 22:03:37 +0200 Original-Received: from localhost ([::1]:57165 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g6hyO-0007oi-90 for geb-bug-gnu-emacs@m.gmane.org; Sun, 30 Sep 2018 16:05:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52641) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g6hxk-0007T4-Td for bug-gnu-emacs@gnu.org; Sun, 30 Sep 2018 16:05:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g6hxg-00036M-Rj for bug-gnu-emacs@gnu.org; Sun, 30 Sep 2018 16:05:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56024) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g6hxe-00034B-OM for bug-gnu-emacs@gnu.org; Sun, 30 Sep 2018 16:05:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g6hxe-00043F-HX for bug-gnu-emacs@gnu.org; Sun, 30 Sep 2018 16:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Sep 2018 20:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32839 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32839-submit@debbugs.gnu.org id=B32839.153833787215506 (code B ref 32839); Sun, 30 Sep 2018 20:05:02 +0000 Original-Received: (at 32839) by debbugs.gnu.org; 30 Sep 2018 20:04:32 +0000 Original-Received: from localhost ([127.0.0.1]:60276 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g6hx9-000422-OY for submit@debbugs.gnu.org; Sun, 30 Sep 2018 16:04:31 -0400 Original-Received: from pop.dreamhost.com ([64.90.62.162]:59708 helo=pdx1-sub0-mail-a9.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g6hx8-00041u-0F for 32839@debbugs.gnu.org; Sun, 30 Sep 2018 16:04:30 -0400 Original-Received: from pdx1-sub0-mail-a9.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a9.g.dreamhost.com (Postfix) with ESMTP id 475BF80B4E; Sun, 30 Sep 2018 13:04:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=PRWzpHrELpXyC2t2tJpW7mceqfA=; b= 0XSPAgzV6J5TPnhOaExWnt6y2VmWbSvN4A7Sq5xzDBG9XG2X2T/MncPaSygQXOVp bRzcL/fGqMd2g5jjpZrxI5FlN/fFCbuBR6fSIVEOlTAakc70E+GGGiPtE+cgk9O1 zkDGAXl9bbxBnoA1fGUB5+N9L4UAc2aUQYnMFGJIakg= Original-Received: from localhost.linkov.net (m91-129-107-184.cust.tele2.ee [91.129.107.184]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a9.g.dreamhost.com (Postfix) with ESMTPSA id D37D37E426; Sun, 30 Sep 2018 13:04:27 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a9 X-DH-BACKEND: pdx1-sub0-mail-a9 In-Reply-To: <83a7nz5xgr.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 30 Sep 2018 09:08:20 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:150842 Archived-At: >> However, a minimal change that is needed here is to fix inconsistencies >> in the recent changes: the argument name 'redisplay' is confusing - >> it implies that it overrides the default value of recenter-redisplay >> to force the redisplay. A proper name would be 'interactive'. >> There are dozens of commands already that use this naming convention. > > I don't think I agree. The current name reflects what that argument > causes, you just interpret "redisplay" to mean "redraw the frame", > which is not an accurate interpretation, since the display engine has > its own logic to decide what exactly needs to be redrawn at any > particular moment. When an argument name is a verb in the imperative mood, this means only one thing: it should do what it claims it will do. If it can't ensure the result because it interprets it depending on other external conditions, then the argument should be renamed to e.g. 'maybe-redisplay'. > Renaming the argument as you propose would be a step backwards, since > it describes the _purpose_ (as opposed to _effect_) of that argument, > and that could easily change with further development, and is not > accurate even with the current code. Other commands that use the argument name 'interactive' have the same assumption of describing the purpose, not effect.