From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#74924: 29.3; Buffer showing manpage jumps back to beginning Date: Thu, 09 Jan 2025 20:34:56 +0200 Organization: LINKOV.NET Message-ID: <87bjwfvnsf.fsf@mail.linkov.net> References: <87seqm302a.fsf@gmail.com> <87ed1fvjil.fsf@mail.linkov.net> <5af72953-383a-4337-8c64-d1df92934ab6@gmx.at> <87y0zkxy17.fsf@mail.linkov.net> <05840eb3-a899-4efb-bb1f-7cc4c2d211ae@gmx.at> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38023"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) Cc: Robert Pluim , Ture =?UTF-8?Q?P=C3=A5lsson?= , Stefan Kangas , 74924@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 09 19:37:29 2025 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 1tVxPN-0009mQ-7t for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Jan 2025 19:37:29 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tVxOz-0006r8-8B; Thu, 09 Jan 2025 13:37:05 -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 ) id 1tVxOw-0006qk-Iu for bug-gnu-emacs@gnu.org; Thu, 09 Jan 2025 13:37:03 -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 ) id 1tVxOw-000440-9m for bug-gnu-emacs@gnu.org; Thu, 09 Jan 2025 13:37:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=L2+eqoo9LMPW1eO6GGdpoL7zzx3XN2IqA5aR/eKThCc=; b=FS743ihDOAEyH+KLNCnZBr6RnX4pegFKctzzwCOpRmjHmi1ekcjvd9R2rOsF1AdgWMHdOUFVMvECdyDSa2rTFM83UMeSYgGi6L0F+P+A84/JG95oTLyQJ3DKfQoFsLQGOnJOQCxO1WKPkU4/S5NfjzT5QCU2e9ngoNzA62yCuseLdJDTuiGR/sDcbxbsIxz0Mx8Lxxlhin+qevElUlhunSksJ0mnAXvLaXvrJpXtMChO5AssvRprVvg9eoNRZcKNzhcROZts2i1Nja2sVz43IE45xiPg6qC8FExrk1IaJv1MYxgseORVxKjKo4VNndHNGgEfqhyn1iNZJlyJYhNGPA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tVxOv-0006un-V5 for bug-gnu-emacs@gnu.org; Thu, 09 Jan 2025 13:37:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Jan 2025 18:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74924 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch confirmed Original-Received: via spool by 74924-submit@debbugs.gnu.org id=B74924.173644778726532 (code B ref 74924); Thu, 09 Jan 2025 18:37:01 +0000 Original-Received: (at 74924) by debbugs.gnu.org; 9 Jan 2025 18:36:27 +0000 Original-Received: from localhost ([127.0.0.1]:54223 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tVxOM-0006ts-QS for submit@debbugs.gnu.org; Thu, 09 Jan 2025 13:36:27 -0500 Original-Received: from relay5-d.mail.gandi.net ([217.70.183.197]:53333) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tVxOI-0006tV-FS for 74924@debbugs.gnu.org; Thu, 09 Jan 2025 13:36:23 -0500 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id CE3D21C0004; Thu, 9 Jan 2025 18:36:13 +0000 (UTC) In-Reply-To: <05840eb3-a899-4efb-bb1f-7cc4c2d211ae@gmx.at> (martin rudalics's message of "Thu, 9 Jan 2025 09:53:17 +0100") X-GND-Sasl: juri@linkov.net 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:298849 Archived-At: >> After resizing the frame, 'man' have to regenerate the buffer's contents >> with new width. > > I see. > >> Ok, need to try using 'window-point-context-use-default-function' >> and modify it to ignore whitespace changes in context strings. > > I would make it a two step procedure. > > - In a first step try to find an exact fix. > > - In the second step ignore whitespace changes. > > The second step is slightly more dangerous because it might get us false > positives. Ok, now I pushed the immediate fix for this bug report that checks for 'Man-columns'. Then later will do this two step procedure for a more general problem in window-x.el.