From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: the_wurfkreuz via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#75093: 31.0.50; Incorrent pointer position with minibuffer messages Date: Wed, 01 Jan 2025 13:37:20 +0000 Message-ID: References: <86wmfnyob3.fsf@gnu.org> Reply-To: the_wurfkreuz Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12020"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 75093@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 01 14:38:27 2025 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 1tSyvb-0002zJ-Bb for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 01 Jan 2025 14:38:27 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tSyvG-00088X-7H; Wed, 01 Jan 2025 08:38:07 -0500 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 1tSyvC-00088H-Gi for bug-gnu-emacs@gnu.org; Wed, 01 Jan 2025 08:38:02 -0500 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 1tSyvC-00062w-6t for bug-gnu-emacs@gnu.org; Wed, 01 Jan 2025 08:38:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:From:Date:To:Subject; bh=/caa1Wx60ji3HTrElzx7yp55r/hqEApfeVvCLvOi5/Y=; b=pPU0J+CH/OFvSp21T9JotRazeIsZ6EmHB3T6M0GmjZXwnQdTUyaiaFBqKXjZ1UcXD41a7KbJ10riIHVqrlkh8Ejk24sLmUyfNufwtyDluAfK1TemM6Mpt+MFjmHIOSa1hLq7adHBcMXtuafWcKlBzXTzbwnPduIqeaxEu1H84D9JYNJDeZulq+QbgjIBX1aoyI8ruba20qNc1HxCVjE2x1v0g0HN5ObIZu82kCTEhds/e3q/HX6TRj1WMIUk1jXkMFkVIxjzriXuz6cXGWcVJEo6NH2dpzoNAvGsCzKce7Kv11mmvTYKImShPL9/iMX10T7Z7NYG3j0OE81nxROmAw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tSyvB-0006Sz-Ra for bug-gnu-emacs@gnu.org; Wed, 01 Jan 2025 08:38:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: the_wurfkreuz Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Jan 2025 13:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75093 X-GNU-PR-Package: emacs Original-Received: via spool by 75093-submit@debbugs.gnu.org id=B75093.173573865524803 (code B ref 75093); Wed, 01 Jan 2025 13:38:01 +0000 Original-Received: (at 75093) by debbugs.gnu.org; 1 Jan 2025 13:37:35 +0000 Original-Received: from localhost ([127.0.0.1]:38077 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSyuk-0006Rz-PZ for submit@debbugs.gnu.org; Wed, 01 Jan 2025 08:37:35 -0500 Original-Received: from mail-40137.protonmail.ch ([185.70.40.137]:25251) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tSyuh-0006Ra-9l for 75093@debbugs.gnu.org; Wed, 01 Jan 2025 08:37:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1735738644; x=1735997844; bh=/caa1Wx60ji3HTrElzx7yp55r/hqEApfeVvCLvOi5/Y=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=FR/7CBUDvzX4yff7N3UROSG82wW1eOiOhXQQY4F14rry4bAkF6BHbjZroNMrV3cSN WVspBMbYWFwSVK7YL21J09E1iYlV72z4uNeQgyeEq1Pnq3lTejhU0bEBZtEoKvxbb2 NMML9fKiE2kUVRBmIXbtfu8Lmk4AYuLX5SJSJOskPkXd6+MNs04+3KW6sT97Vfeuro fvJm9vXQokXsC/P2op6h/Dnx4iG+VTNirDuge+cRlAuhWADPQvs+ZzvEOXaKl1fu+6 UoiKKH/KSJ8Vzm2Gb2cvoaoBrLdEYCT6WaaSvo7YAcKP2x7p5HK1XbQdv+p1dKQcM0 bQVdnjHUycxaA== In-Reply-To: Feedback-ID: 66695528:user:proton X-Pm-Message-ID: 02bc155b4910932550094fc28804d76dd39bca2c 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:298064 Archived-At: So i wasn't able to encounter such situation in a "normal" use of emacs. Bu= t if i tinker or debug something in a minibuffer, i might use a hook like t= his: (defun my/show-typing-messages () "Show messages while typing in minibuffer." (add-hook 'post-command-hook (lambda () (when (minibufferp) (message "Typing: %s" (minibuffer-contents)))) nil t)) (add-hook 'minibuffer-setup-hook #'my/show-typing-messages) Which leads to the described situation. And to reproduce it, i use the code= with these settings: (icomplete-vertical-mode) (setq icomplete-compute-delay 0) (setq icomplete-show-matches-on-no-input t) On Thursday, December 26th, 2024 at 11:57 AM, the_wurfkreuz wrote: > If my memory is not making things up right now, there might be situations= where these kind of messages appear at the same time as you type. Which le= ads to a situation where characters are typed not at the current visual pos= ition of the cursor. >=20 > But i don't remember how exactly to reproduce this. >=20 >=20 > Sent with Proton Mail secure email. >=20 >=20 > On Thursday, December 26th, 2024 at 9:02, Eli Zaretskii eliz@gnu.org wrot= e: >=20 > > > Date: Wed, 25 Dec 2024 19:23:44 +0000 > > > From: the_wurfkreuz via "Bug reports for GNU Emacs, > > > the Swiss army knife of text editors" bug-gnu-emacs@gnu.org > > >=20 > > > If i don't have icomplete-vertical-mode enabled, i get minibuffer mes= sages after the pointer: > > >=20 > > > But if i enable it: > > >=20 > > > (icomplete-vertical-mode) > > > (setq icomplete-compute-delay 0) > > > (setq icomplete-show-matches-on-no-input t) > > > Then the pointer will be after a minibuffer message: > >=20 > > I think this is because we cannot display the minibuffer messages at > > the end of the minibuffer contents (which is not visible) in the > > vertical case. > >=20 > > Why is it a problem where we show the cursor in these cases? What is > > important is that the minibuffer message be visible and does not > > interfere with typing at the minibuffer prompt.