From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Al Haji-Ali Newsgroups: gmane.emacs.bugs Subject: bug#73446: 29.1; Curious behaviour with with-current-buffer and read-string Date: Tue, 24 Sep 2024 16:07:42 +0100 Message-ID: References: <86msjxdzd3.fsf@gnu.org> <864j65dv5x.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19349"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 73446@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 24 17:12:04 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 1st7Cu-0004rk-Ei for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 24 Sep 2024 17:12:04 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1st7CV-0001MF-Uy; Tue, 24 Sep 2024 11:11: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 1st7CT-0001M2-SB for bug-gnu-emacs@gnu.org; Tue, 24 Sep 2024 11:11:37 -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 1st7CT-0001ik-Ez for bug-gnu-emacs@gnu.org; Tue, 24 Sep 2024 11:11:37 -0400 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=s6zQRzESOb6IA9tCzFVhnspwOSYuT7tknYAPazzS4FU=; b=rxykiETP42R3fjv4zevWkwDJePy7whdTa/VWOnFzqkhXdMfMQLRhprsKYvnSpYbs93fELRoGCQrOqE/vz6ueeiWpGmLc4mLDhMIX9FoTb+vwz0GdhhZH7N3jS35vz8qB5DXDnp5WtSTdDg1h9z18IAIBivjiWE5TamyE8yMK9tt5QGo7cNb+9y7akM7hxVQ606Zx1YYvnfkZth8VFT8MWvmpZdmVdYcBo7fNursC0w3ZIUTZ2QZC8XP3ZHOJZuxIT3GYFqjRHQ2AvPmxV1D9hZcT0rEWib+sRqUFFAIKpGJVanwyNgoroOVVFbJHnIdOPQ7xqLN9SDBK+0S2lKWsjw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1st7Cr-0007gW-Nq for bug-gnu-emacs@gnu.org; Tue, 24 Sep 2024 11:12:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Al Haji-Ali Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Sep 2024 15:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73446 X-GNU-PR-Package: emacs Original-Received: via spool by 73446-submit@debbugs.gnu.org id=B73446.172719069729466 (code B ref 73446); Tue, 24 Sep 2024 15:12:01 +0000 Original-Received: (at 73446) by debbugs.gnu.org; 24 Sep 2024 15:11:37 +0000 Original-Received: from localhost ([127.0.0.1]:47837 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1st7CS-0007fA-IX for submit@debbugs.gnu.org; Tue, 24 Sep 2024 11:11:37 -0400 Original-Received: from mail-wm1-f41.google.com ([209.85.128.41]:44301) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1st7CP-0007ef-Ec for 73446@debbugs.gnu.org; Tue, 24 Sep 2024 11:11:35 -0400 Original-Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-42cba6cdf32so52532535e9.1 for <73446@debbugs.gnu.org>; Tue, 24 Sep 2024 08:11:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727190603; x=1727795403; darn=debbugs.gnu.org; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=s6zQRzESOb6IA9tCzFVhnspwOSYuT7tknYAPazzS4FU=; b=ZwNH11QjG+DmbkC0VjLKhVIKsuPh7c6G2oWwbDSknvmdim7WQbQpsdPIBz+ulT4v0U XD3/0JACozHj4Jsy6PUdTaiRAwAvWyYmKZkUZ63lB68AsKTW7nuytaD+rmBXy5kO2eXS hkj+/Dnfq2bCQuGZ7HoP/Ed+oRiI9jLhl0RI0ubo4lY7nJKDFuTaN7G81OuQOp4pSE+K harMy4+vX139b9MF09+myERs6JQmuzlUIWroJpUFJB9KrXG9z2/PUtoIdCoNSaN9+3HM JSIh2jjyqmBC59ZKKaRPyAt7MW7bZUVjFmgX2MqQq5LQhK5ROPqOqs1A914O46pPs0yI P4OA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727190603; x=1727795403; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=s6zQRzESOb6IA9tCzFVhnspwOSYuT7tknYAPazzS4FU=; b=pD4Sg1swaORhi/HbYfvYkDpFKD606TQOWNNcfkYm34Er+FHOQU23Pt2UqrFLEFzA8g TlJuv4NamBZ70R+jm2cNZbxCN12cc1lXV55+cb5AEG5aYYOlQtCUi9lc1RcT/ZwKjJUR 3t1Rovzvcp6J4f5Qk+sKEJ39mU5s8xWrRKD2WxyvV6DCSGU3b7qfIwqWoqiqQmW2FAQJ BIFEsBxbmx6MiMeoXtlIWE1b8WPrkDSqEGTu6Fxa0/6EWWCS3IKaHkAtHNn98CGDeAU0 M67snaT61RCoZUZcHsRFdQLtq9QnOD82vORYXZxJmlRokANKPqQcaXmIDZPDFzXwmS8p YdWQ== X-Gm-Message-State: AOJu0Yw/UXM6PvfLIJ1dw4YMg6RVDFDRqkakZ4IlOgJmFWl91/taV7lt FFQ+PNfKGf9q+9mR1cqiZTUaIQ0eZ1EVnUrZhPOd4/EKeQu1b2ox X-Google-Smtp-Source: AGHT+IFrJa+4aKGdnAKXxp5A/LJcDhUJfSVNTsxvRE2obX/XIbcDaUT0tAbOgr35g20BNCBk3ecp/Q== X-Received: by 2002:a05:600c:4706:b0:42c:c073:412b with SMTP id 5b1f17b1804b1-42e7adb1f0amr111484915e9.30.1727190602568; Tue, 24 Sep 2024 08:10:02 -0700 (PDT) Original-Received: from localhost ([137.195.27.88]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42e902b65ffsm25727075e9.32.2024.09.24.08.10.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Sep 2024 08:10:02 -0700 (PDT) In-Reply-To: <864j65dv5x.fsf@gnu.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" 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:292341 Archived-At: 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