From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#73446: 29.1; Curious behaviour with with-current-buffer and read-string Date: Tue, 24 Sep 2024 18:50:19 +0300 Message-ID: <86setpcapw.fsf@gnu.org> References: <86msjxdzd3.fsf@gnu.org> <864j65dv5x.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1989"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 73446-done@debbugs.gnu.org To: Al Haji-Ali Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 24 18:05:02 2024 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 1st828-0000Kp-KS for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 24 Sep 2024 18:05:00 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1st81o-0008Mc-SC; Tue, 24 Sep 2024 12:04:40 -0400 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 1st81m-0008KO-Eo for bug-gnu-emacs@gnu.org; Tue, 24 Sep 2024 12:04:38 -0400 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 1st81m-0000CH-61 for bug-gnu-emacs@gnu.org; Tue, 24 Sep 2024 12:04:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=JI2ZY4gDM6B+PVw2depIxNJ4mLO3FP+gNYmKQl6pu9c=; b=F4X67wmvCb6dy5hcAuNrkH5pNLUyH7ri/jJzmQ+6mE8WkkYT6aUjL+lC0xcrzpKBoB0/b3zS5D2LWMszucr1YSvjMhmUA6f+kVi0Rxl2sN8JSFjiTBv7iwSWkhs7YvKPC1unT8Uw3fsBrJE1dvztzV2RfnzNA9RdktB8dvakmwoDnkGjvGIyMivml4TrydCad05uSvHLXE+UMVO24athD2iOpeYkLauebf3PY6cPehhzPdyClbct4UjQFqiqo6Bqr+9TmhcD/1yDtfMdW5Lwehm8fw2oEn+/CQUKqbwy4pXWOVJdLlwjBCQCayfshV1mNWepeBg3K6T/NU6CLFFYLQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1st82A-0003Jh-MM for bug-gnu-emacs@gnu.org; Tue, 24 Sep 2024 12:05:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Sep 2024 16:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 73446 X-GNU-PR-Package: emacs Mail-Followup-To: 73446@debbugs.gnu.org, eliz@gnu.org, abdo.haji.ali@gmail.com Original-Received: via spool by 73446-done@debbugs.gnu.org id=D73446.172719385612572 (code D ref 73446); Tue, 24 Sep 2024 16:05:02 +0000 Original-Received: (at 73446-done) by debbugs.gnu.org; 24 Sep 2024 16:04:16 +0000 Original-Received: from localhost ([127.0.0.1]:51656 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1st81Q-0003Gi-45 for submit@debbugs.gnu.org; Tue, 24 Sep 2024 12:04:16 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:50138) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1st81L-0003Fm-9F for 73446-done@debbugs.gnu.org; Tue, 24 Sep 2024 12:04:11 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1st7ny-0006wd-6r; Tue, 24 Sep 2024 11:50:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=JI2ZY4gDM6B+PVw2depIxNJ4mLO3FP+gNYmKQl6pu9c=; b=cqPwbOjVT62S 3NkzkxuQtZEEBFlM1VTCTU5kxC4PB0DSb6mOmVcZvL07zFOE0tkvA0jEG/bU8rpzAW7UfiFpIeQVX SEtN18LPY0vBufpqw1ZE5MJI/krXu6/yDM1jI7Cw+x38/AtwvvgDKJKPVFAZo23K7G3yb+ShXHVVf lK7kVO84E8mo3mZesMG+d+SxcyuhABfEaPYZa6nf93+YfUns/XPsmW7T5urTO+CQvNT5UEdQAqhvC 39LaE3TgQN6dEj2FyGSpNKfGzgJJ/MVZlMWUF+Jpv1bRJilSAXNNwN1Fhjp9ZlQTdXPnabMh/dycD 32aRY/j1eBmeqW02e5wFnw==; In-Reply-To: (message from Al Haji-Ali on Tue, 24 Sep 2024 16:07:42 +0100) 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:292346 Archived-At: > From: Al Haji-Ali > Cc: 73446@debbugs.gnu.org > 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. Thanks, I'm closing it. But there's no need to apologize: Emacs is a very complex beast, and no one knows all of its subtleties by heart.