From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: emacs-28 47cbd10: * lisp/bindings.el (mode-line-position): Improve tooltip. Date: Tue, 12 Oct 2021 20:33:43 -0700 Message-ID: References: <834k9qy6hn.fsf@gnu.org> <831r4uy4ub.fsf@gnu.org> <87mtnih96h.fsf@linux-m68k.org> <83y272wnok.fsf@gnu.org> <87pmsev7uo.fsf@omarpolo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13637"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Andreas Schwab , emacs-devel@gnu.org To: Omar Polo , Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Oct 13 05:34:29 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1maV2C-0003Q8-V8 for ged-emacs-devel@m.gmane-mx.org; Wed, 13 Oct 2021 05:34:28 +0200 Original-Received: from localhost ([::1]:48858 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1maV2B-0003oD-3k for ged-emacs-devel@m.gmane-mx.org; Tue, 12 Oct 2021 23:34:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35680) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1maV1X-0002mu-Ty for emacs-devel@gnu.org; Tue, 12 Oct 2021 23:33:47 -0400 Original-Received: from mail-pj1-f46.google.com ([209.85.216.46]:35807) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1maV1W-0007g8-7d; Tue, 12 Oct 2021 23:33:47 -0400 Original-Received: by mail-pj1-f46.google.com with SMTP id d13-20020a17090ad3cd00b0019e746f7bd4so3403881pjw.0; Tue, 12 Oct 2021 20:33:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=TFi+B+UdQND+GjXJKPIMm9HeJNbFdi/G7xZTbySave4=; b=ifY9o0pBMpvYB89W0PrZtAoRySxo8pWiwmqrS7gu2VWSwYBbUF6W1enWCVMC98Bg+9 bLmv04HjMpO0i6wm24fBmGhNo3hw6Nt2HsAW3pF3yMmQN8mHSTZjxQdyst3W2AaVqrfH ngnMsL9HZNFufrXysdXoOwb7Fqkz0EBpjJZGuTZlFgqeeynLv3AlFEsybFDawuM+96Uj +/XLARgvomGM7uragS8MDsEtcauLGOt2j9jFun1DoN3agfUEvF2FaZ/YlcTblHZuJQ+k 7yk9v2AggtS48GdT4NOxl5L6JVSq6tOMOO+j2Is9uvPS8g+SqRlAeOOFkOm35Zp+ybnX oMBA== X-Gm-Message-State: AOAM53072NLVvHi+0Fc2k2eFkH+vQHvzwuYVzDNRSddO/i6Lt/geLCL4 Ec4aWx8pgp2QLpvxvPc02KcdTMnkWHPjQ4TYHX9AbI32 X-Google-Smtp-Source: ABdhPJzjZa+c23k4hTvfqTj0tpjARVNDBLx0lM7/yWbPBE1SAsrKwhVTv9aH6Y8guYeQRqUPq+W0se88dcPUYgJ6Ffk= X-Received: by 2002:a17:90a:5583:: with SMTP id c3mr10212005pji.133.1634096024225; Tue, 12 Oct 2021 20:33:44 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 12 Oct 2021 20:33:43 -0700 In-Reply-To: <87pmsev7uo.fsf@omarpolo.com> Received-SPF: pass client-ip=209.85.216.46; envelope-from=stefankangas@gmail.com; helo=mail-pj1-f46.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:276857 Archived-At: So far, we have these suggestions: "Buffer Percentage Position" "Buffer Percentage POS" "Buffer text percentage" "Viewport Position" "Scroll percentage" "Scroll position" Regarding position/percentage, Eli said that it could be good to include as this is more common, but Andreas points out that it should be clear already since it ends in %. So it's not really clear that one argument is obviously better than the other; on the one hand the risk is not very high for misunderstandings, on the other we don't need to go out of our way to avoid repetitions too much in tooltips (we already repeat ourselves a lot in them). Having thought about the various alternatives for a bit, my suggestion is this: "Window Scroll Position" It seems to capture that this is more about the window ("viewport" is accurate but not a term we normally use) than about the buffer itself. Buffer position seems to suggest that this has to do with the position of point, which we already have the column/line number display for. It will also avoid the problem that someone sees "Top" or "Bot", but the tooltip incorrectly says that it is a "Percentage". Does this sound like an acceptable conclusion to this discussion?