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.devel Subject: Re: [ELPA] New package: vertico Date: Sat, 10 Apr 2021 10:18:59 +0300 Message-ID: <838s5q7gkc.fsf@gnu.org> References: <87im4vglwv.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26236"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, tsdh@gnu.org To: Daniel Mendler Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Apr 10 09:19:53 2021 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 1lV7uL-0006iS-GU for ged-emacs-devel@m.gmane-mx.org; Sat, 10 Apr 2021 09:19:53 +0200 Original-Received: from localhost ([::1]:46246 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lV7uK-00028B-HI for ged-emacs-devel@m.gmane-mx.org; Sat, 10 Apr 2021 03:19:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54500) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lV7tj-0001iJ-F3 for emacs-devel@gnu.org; Sat, 10 Apr 2021 03:19:16 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:40757) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lV7ti-0007sH-TX; Sat, 10 Apr 2021 03:19:14 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1266 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lV7th-00013w-RU; Sat, 10 Apr 2021 03:19:14 -0400 In-Reply-To: (message from Daniel Mendler on Sat, 10 Apr 2021 01:23:04 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:267774 Archived-At: > From: Daniel Mendler > Date: Sat, 10 Apr 2021 01:23:04 +0200 > Cc: emacs-devel@gnu.org > > > 2. One annoying effect with the above command and vertico is that the > > typical completion messages such as "Next char not unique" bump point > > to the right, i.e., with stock minibuffer completion you have > > > > my-input| [Next char not unique] > > > > whereas with vertico you have > > > > my-input [Next char not unique]| > > > > where | indicates point. Why is that? > > Yes, I've also observed issues with minibuffer messages appearing at the > wrong place. Vertico uses overlays to display the candidate count and > the candidate list, similar to Icomplete. Icomplete however removes the > overlay in the pre-command-hook and puts the overlay back in the > post-command-hook. I am not doing that. I just move the overlay to the > end but it seems this solution is not good enough. Since I have not yet > understood fully what the problem is I haven't done anything yet to fix > the issue. The solution is likely the 'cursor' property.