GNU bug report logs - #73446
29.1; Curious behaviour with with-current-buffer and read-string

Previous Next

Package: emacs;

Reported by: Al Haji-Ali <abdo.haji.ali <at> gmail.com>

Date: Tue, 24 Sep 2024 08:31:02 UTC

Severity: normal

Found in version 29.1

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

Bug is archived. No further changes may be made.

Full log


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

From: Al Haji-Ali <abdo.haji.ali <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 73446 <at> debbugs.gnu.org
Subject: Re: bug#73446: 29.1; Curious behaviour with with-current-buffer and
 read-string
Date: Tue, 24 Sep 2024 16:07:42 +0100
On 24/09/2024, Eli Zaretskii wrote:
> If this is what you do, then it's the expected behavior: test1 is
> displayed in another window, and so its window-point overrides what
> you do.  See the node "Window Point" in the ELisp manual.
>
> This is not a bug.

Ah I see. It is interesting that even if the window displaying the
buffer is shown but seemingly not selected (since the focus is on the
minibuffer during `read-string`), the point gets reset to the
window-point when Emacs waits for user input.

I vote to close this issue and apologies for the noise.

Best regards,
-- Al




This bug report was last modified 318 days ago.

Previous Next


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