From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jose A Ortega Ruiz Newsgroups: gmane.emacs.bugs Subject: bug#53398: 29.0.50; narrow-to-region induces buffer recentering Date: Sun, 23 Jan 2022 17:04:54 +0000 Message-ID: <87v8yabcy1.fsf@gnus.jao.io> References: <87tudy9l8y.fsf@gnus.jao.io> <87fsphv1t7.fsf@gnus.org> <87czkj8tym.fsf@gnus.jao.io> <83tudvkmr9.fsf@gnu.org> <875yqaaaym.fsf@gnus.org> <871r0ycvb8.fsf@gnus.jao.io> <83ilual8c8.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27941"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 53398@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 23 18:08:06 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1nBgLW-00077F-68 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 23 Jan 2022 18:08:06 +0100 Original-Received: from localhost ([::1]:45364 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nBgLU-0006DB-CI for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 23 Jan 2022 12:08:04 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56446) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nBgJl-0005Dm-DT for bug-gnu-emacs@gnu.org; Sun, 23 Jan 2022 12:06:18 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48226) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nBgJW-0004uu-FV for bug-gnu-emacs@gnu.org; Sun, 23 Jan 2022 12:06:10 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nBgJV-0005uh-Vb for bug-gnu-emacs@gnu.org; Sun, 23 Jan 2022 12:06:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jose A Ortega Ruiz Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 23 Jan 2022 17:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53398 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix moreinfo Original-Received: via spool by 53398-submit@debbugs.gnu.org id=B53398.164295750822663 (code B ref 53398); Sun, 23 Jan 2022 17:06:01 +0000 Original-Received: (at 53398) by debbugs.gnu.org; 23 Jan 2022 17:05:08 +0000 Original-Received: from localhost ([127.0.0.1]:41129 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nBgIe-0005tT-6e for submit@debbugs.gnu.org; Sun, 23 Jan 2022 12:05:08 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:55500) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nBgIc-0005st-7i for 53398@debbugs.gnu.org; Sun, 23 Jan 2022 12:05:06 -0500 Original-Received: from [2001:470:142:3::e] (port=43756 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nBgIW-0004Mo-B6; Sun, 23 Jan 2022 12:05:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=7CfuzaCE0VwXxK/Okh3sczmLwF6MCtcm3bwLyObEQqc=; b=efpBxajO82CcTfUAYBbQ T9uGmW+pnDdp6Xll7LIhR+/GZL4ZzpXTKDave6gqDcRixXHWdUkLOGJAyo7LGdjA0TnkUFfCLKlIu RqtUijaqOfCr1bjNjF3HuiGGiM+kwMdGDGdm01sQ2/GUWiIysFbT/CgdbVd+qvn9lTPozqVT3GZ3b x4fwaMCSrw8M2heet9sIkN1C2Axz2HuBKvmeWpV7vMrwpHqSerEUrAyeEbDfMhdwnx1W2ldEEhqad k4YE0hEZyQxmOuGA3Uwp858AsdWGlu+wum2jjE012xCRgdTXbY79obtsHrr1pY1C1Jld2Ojmh2i5a yQip4uPLgtHQRg==; Original-Received: from cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net ([92.233.85.247]:50396 helo=rivendell.localdomain) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nBgIU-0004uZ-3X; Sun, 23 Jan 2022 12:04:59 -0500 Original-Received: from localhost (rivendell.localdomain [local]) by rivendell.localdomain (OpenSMTPD) with ESMTPA id e2698294; Sun, 23 Jan 2022 17:04:54 +0000 (UTC) In-Reply-To: <83ilual8c8.fsf@gnu.org> X-Attribution: jao X-Clacks-Overhead: GNU Terry Pratchett X-URL: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:224951 Archived-At: On Sun, Jan 23 2022, Eli Zaretskii wrote: >> From: Jose A Ortega Ruiz >> Cc: 53398@debbugs.gnu.org >> Date: Sun, 23 Jan 2022 15:42:51 +0000 >> >> just for my own understanding: are you saying that the fact that the >> minibuffer displays more than one line causes a re-centering of my >> current buffer? why is that normal? if i M-: (message "a\nb\n"), should >> i expect that my current buffer is recentered? (it isn't). > > If point is in the last N lines that would be "covered" by the > enlarged mini-window, then Emacs will recenter to keep point visible. > >> (also, for the record, the message displayed by that custom set-message >> does not span more than one line, as far as i can tell.) > > It does, see the continuation indicator at the right fringe. You have > computed the alignment to span the entire screen line, but Emacs needs > one more place there to display the cursor. i see. thank you both Eli and Lars for your time, greatly appreciated. cheers, jao -- Since when do we have to agree with people to defend them from injustice? -Lillian Hellman, playwright (20 Jun 1905-1984)