From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ergus Newsgroups: gmane.emacs.devel Subject: Re: Select completions from the minibuffer Date: Fri, 18 Mar 2022 13:23:24 +0100 Message-ID: <20220318122324.ia73sz2ils5hez5b@Ergus> References: <87pmmquew4.fsf@gnus.org> <86ee357wob.fsf@mail.linkov.net> <20220314090826.gyc42227jpvh4efa@Ergus> <86zglsiazs.fsf@mail.linkov.net> <20220317184701.ani7k3clp3impqwn@Ergus> <865yoc47d2.fsf@mail.linkov.net> <20220317231027.65clapwxz5qtnpm4@Ergus> <83bky3hizx.fsf@gnu.org> <831qyzh34y.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29077"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Monnier , larsi@gnus.org, emacs-devel@gnu.org, juri@linkov.net To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Mar 18 13:26:19 2022 Return-path: Envelope-to: ged-emacs-devel@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 1nVBgR-0007Nh-Ah for ged-emacs-devel@m.gmane-mx.org; Fri, 18 Mar 2022 13:26:19 +0100 Original-Received: from localhost ([::1]:39480 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nVBgP-0000bi-W1 for ged-emacs-devel@m.gmane-mx.org; Fri, 18 Mar 2022 08:26:18 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34544) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nVBeN-0007wO-DU for emacs-devel@gnu.org; Fri, 18 Mar 2022 08:24:11 -0400 Original-Received: from sonic313-13.consmr.mail.bf2.yahoo.com ([74.6.133.123]:43525) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nVBeL-0008Mv-3B for emacs-devel@gnu.org; Fri, 18 Mar 2022 08:24:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1647606247; bh=ds1SUGrTGc5Dqnhwek5PPcJ+a+pJ5VhCBVzXla1nXsA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject:Reply-To; b=O71OBDeUKCK04jPYsmksqTFEddGwsIuKD9ejOTntJyQ1WgwSCwzAJYB0XhlnupVo6w+v3Sg/hWZWgp29+PcARbTmkHcP4+TrFXImsPoBCf+RPK+oQbr7T8kVW2oJLiDmUD15iwv0HDi6At0a6nvsVz3CBfVFmkxeQptYl+3bg9bdTEpBIBmJnj4hr0//VRTJdsQ6YHmV5ipkMrBoxs24ic+r5jb0/QIQxHjaRY4at3fIgYSymQWfmbys+VuNWhHlmYRd5SRW9/96cGYh4Xjez9XUI9bEQPNPQSBvykoNhWnYZaGyQv7gmVgiBwX7JshCat6ZPaILcZd/SdiojDJpZw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1647606247; bh=mDFrCRYL2HYS74B1gO7B4994AdCMkkcRL8qn43a6QVw=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=DGAicAOqzTwZOFJnebThPEjQ5QQ7GUuLDM4uzwN8We+uFlPjfpz4/M/Hd3VnTk3JTr8vAzJSwd6LXJUcExsLDiE0BSTxEMV2MMqWOz6YCGJYnUNLISRAV0Xe2SXUd1OiVpYl6Z9/uV5bdp+TG/jdEUh91Vnbb5z+uNX0ofTTJ6LsACDzzywFpjm5hkWWDwT3Ms25olkE1ATsceKJIIM1SdfHLnBArC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; Fri, 18 Mar 2022 12:24:07 +0000 Original-Received: by kubenode507.mail-prod1.omega.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 8bd47b34a6fbe9932d1cda6ab4ba7c76; Fri, 18 Mar 2022 12:24:04 +0000 (UTC) Content-Disposition: inline In-Reply-To: <831qyzh34y.fsf@gnu.org> X-Mailer: WebService/1.1.19894 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Received-SPF: pass client-ip=74.6.133.123; envelope-from=spacibba@aol.com; helo=sonic313-13.consmr.mail.bf2.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:287282 Archived-At: On Fri, Mar 18, 2022 at 02:11:09PM +0200, Eli Zaretskii wrote: >> From: Stefan Monnier >> Cc: Ergus , larsi@gnus.org, emacs-devel@gnu.org, >> juri@linkov.net >> Date: Fri, 18 Mar 2022 08:04:12 -0400 >> >> But as for moving point, maybe you're right that we have a bug there, >> when point is moved in a window other than the selected window. >> >> > If that's the case, how come the region's display is updated when you >> > insert a character or move point (with Shift pressed)? >> >> The region is only highlighted in the selected-window > >Except when highlight-nonselected-windows is non-nil, right? Actually this is the simplest way to test: (setq highlight-nonselected-windows t) Create a buffer: test write some text there and select a part of that text (so you see the region) Then from scratch try commands like (just an example): (with-current-buffer "test" (right-char) (insert "X")) Or similes several times... You will see that the region is not updated.