From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Gregory Heytings <gregory@heytings.org>
Newsgroups: gmane.emacs.bugs
Subject: bug#66764: 29.1;
 Emacs scrolls for "(goto-char (point-max))" instead of jumping
Date: Thu, 11 Jan 2024 23:40:35 +0000
Message-ID: <e57e6a774e9e8c45edc4@heytings.org>
References: <ddf1fc8b-2e31-4b2e-8da6-845031ac4171@gmail.com>
 <83jzr9fdh0.fsf@gnu.org> <807a1bd5-6477-cc36-088f-efcb782ccb99@gmail.com>
 <83a5s4fwih.fsf@gnu.org> <831qdgftja.fsf@gnu.org> <83cywp6hvm.fsf@gnu.org>
 <83zfzbmo3n.fsf@gnu.org> <7060250ab4c73656c303@heytings.org>
 <831qbvxzy7.fsf@gnu.org> <831qbdfh6x.fsf@gnu.org>
 <bdfc98b9064e77798df7@heytings.org> <83o7dunune.fsf@gnu.org>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="W0ALb0klJp"
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="30342"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: geza.herman@gmail.com, 66764@debbugs.gnu.org
To: Eli Zaretskii <eliz@gnu.org>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 12 00:41:27 2024
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>
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 <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1rO4fu-0007iZ-6b
	for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 12 Jan 2024 00:41:26 +0100
Original-Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <bug-gnu-emacs-bounces@gnu.org>)
	id 1rO4fc-00033R-KK; Thu, 11 Jan 2024 18:41:08 -0500
Original-Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1rO4fa-00033I-GH
 for bug-gnu-emacs@gnu.org; Thu, 11 Jan 2024 18:41:06 -0500
Original-Received: from debbugs.gnu.org ([2001:470:142:5::43])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1rO4fZ-0005u0-DV
 for bug-gnu-emacs@gnu.org; Thu, 11 Jan 2024 18:41:06 -0500
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1rO4fW-0006EJ-Jw
 for bug-gnu-emacs@gnu.org; Thu, 11 Jan 2024 18:41:02 -0500
X-Loop: help-debbugs@gnu.org
Resent-From: Gregory Heytings <gregory@heytings.org>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Thu, 11 Jan 2024 23:41:02 +0000
Resent-Message-ID: <handler.66764.B66764.170501643823901@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 66764
X-GNU-PR-Package: emacs
Original-Received: via spool by 66764-submit@debbugs.gnu.org id=B66764.170501643823901
 (code B ref 66764); Thu, 11 Jan 2024 23:41:02 +0000
Original-Received: (at 66764) by debbugs.gnu.org; 11 Jan 2024 23:40:38 +0000
Original-Received: from localhost ([127.0.0.1]:34292 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1rO4f7-0006DR-Nq
 for submit@debbugs.gnu.org; Thu, 11 Jan 2024 18:40:38 -0500
Original-Received: from heytings.org ([95.142.160.155]:44422)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <gregory@heytings.org>) id 1rO4f5-0006DH-Hq
 for 66764@debbugs.gnu.org; Thu, 11 Jan 2024 18:40:36 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org;
 s=20220101; t=1705016436;
 bh=nGP+1w8a3jL98eiEn5a6eUVdDYq4o39jOpb0VGpsWzA=;
 h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From;
 b=iitXuyOc+1qjOmzh3t3FgPBuChwlTrXdjhyRfZosEB4FPIJLduC/tbt7tHIULd+CQ
 FPbQDlWA4WGy4rxYUP9gDl4DO9hUy/MjI+yIuCcJu1iHJ1xctnDynZGbFuriLq+85j
 KyYkagQBtsdp0Y4gTFLgZLOrfqG2pF+gHRtcBIWys1LG6JCoxkm/u15zfHHneoow4/
 TL0/dUtNHciQGvbK8enzY2G3w+CVNMncaJxBBfP8P2f5fsFpDXRbimcevdgxFVfjrv
 UqGK5r/dMUG149wBw0uFqq7lSEEP+GBdxV4zQz/rjE10SmjKSU1Dmz34RUhEXkVwqc
 Q10yTYjQqkAQg==
In-Reply-To: <83o7dunune.fsf@gnu.org>
Content-ID: <e57e6a774e78b45e18e2@heytings.org>
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" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Xref: news.gmane.io gmane.emacs.bugs:277972
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/277972>


--W0ALb0klJp
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-ID: <e57e6a774e59faf87a23@heytings.org>


>
> Did you have any chance to look at this?
>

Yes, finally, and here is the patch.

--W0ALb0klJp
Content-Type: text/x-diff; name=Fix-blunder-in-labeled_narrow_to_region.patch; charset=us-ascii
Content-Transfer-Encoding: base64
Content-ID: <e57e6a774edfd20ed3e7@heytings.org>
Content-Disposition: attachment; filename=Fix-blunder-in-labeled_narrow_to_region.patch

RnJvbSBmYjJjMjBiZmZmZWM3NTdhMWY3MDdkNGFiNjJjMDQ5ZWU3NTQ1YzNh
IE1vbiBTZXAgMTcgMDA6MDA6MDAgMjAwMQ0KRnJvbTogR3JlZ29yeSBIZXl0
aW5ncyA8Z3JlZ29yeUBoZXl0aW5ncy5vcmc+DQpEYXRlOiBUaHUsIDExIEph
biAyMDI0IDIzOjM4OjIyICswMDAwDQpTdWJqZWN0OiBbUEFUQ0hdIEZpeCBi
bHVuZGVyIGluIGxhYmVsZWRfbmFycm93X3RvX3JlZ2lvbi4NCg0KKiBzcmMv
ZWRpdGZucy5jIChsYWJlbGVkX25hcnJvd190b19yZWdpb24pOiBSZWNvcmQg
cG9pbnQtbWFya2VyDQpiZWZvcmUsIGluc3RlYWQgb2YgYWZ0ZXIsIGNhbGxp
bmcgbmFycm93LXRvLXJlZ2lvbjsgb3RoZXJ3aXNlDQpwb2ludCBoYXM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