GNU bug report logs - #60381
[PATCH] Preserve Window Position with Proced

Previous Next

Package: emacs;

Reported by: Laurence Warne <laurencewarne <at> gmail.com>

Date: Wed, 28 Dec 2022 15:56:02 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #23 received at 60381 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Laurence Warne <laurencewarne <at> gmail.com>
Cc: 60381 <at> debbugs.gnu.org
Subject: Re: bug#60381: [PATCH] Preserve Window Position with Proced
Date: Thu, 29 Dec 2022 19:37:21 +0200
[Why private email?]

> From: Laurence Warne <laurencewarne <at> gmail.com>
> Date: Thu, 29 Dec 2022 17:07:42 +0000
> 
> > Why cannot proced update point when the window is not the selected
> > one?
> 
> Say window A is displaying a proced buffer and is not selected.  Unless my understanding from
> https://www.gnu.org/software/emacs/manual/html_node/elisp/Window-Point.html is wrong, whenever
> proced-update uses goto-char, it would not update the window point in window A, but erase-buffer would, by
> setting the window point of A to the beginning of the buffer.

You need to use set-window-point in that case, yes.  But if the buffer
is not displayed, there should be no problem, and at most you will
have to set the local value of switch-to-buffer-preserve-window-point
to nil in proced buffers.




This bug report was last modified 2 years and 187 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.