From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#47868: 28.0.50; [native-comp] vertico package doesn't work when loading the corresponding eln file Date: Sun, 18 Apr 2021 18:32:26 +0000 Message-ID: References: <87czuryggn.fsf@fastmail.fm> Reply-To: Andrea Corallo Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19991"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 47868@debbugs.gnu.org, mail@daniel-mendler.de To: Tassilo Horn Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 18 20:33:46 2021 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 1lYCEq-00054o-27 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 18 Apr 2021 20:33:44 +0200 Original-Received: from localhost ([::1]:40804 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lYCEp-0004Rr-4p for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 18 Apr 2021 14:33:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59602) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYCEA-0004Re-NP for bug-gnu-emacs@gnu.org; Sun, 18 Apr 2021 14:33:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36203) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lYCEA-0004iA-6d for bug-gnu-emacs@gnu.org; Sun, 18 Apr 2021 14:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lYCEA-0006He-3u for bug-gnu-emacs@gnu.org; Sun, 18 Apr 2021 14:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 18 Apr 2021 18:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47868 X-GNU-PR-Package: emacs Original-Received: via spool by 47868-submit@debbugs.gnu.org id=B47868.161877075724114 (code B ref 47868); Sun, 18 Apr 2021 18:33:02 +0000 Original-Received: (at 47868) by debbugs.gnu.org; 18 Apr 2021 18:32:37 +0000 Original-Received: from localhost ([127.0.0.1]:47748 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYCDl-0006Gs-Ik for submit@debbugs.gnu.org; Sun, 18 Apr 2021 14:32:37 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:57681) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYCDi-0006Gj-Vg for 47868@debbugs.gnu.org; Sun, 18 Apr 2021 14:32:35 -0400 Original-Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 13IIWQc5013483 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Sun, 18 Apr 2021 18:32:27 GMT In-Reply-To: <87czuryggn.fsf@fastmail.fm> (Tassilo Horn's message of "Sun, 18 Apr 2021 13:16:29 +0200") 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" Xref: news.gmane.io gmane.emacs.bugs:204387 Archived-At: Tassilo Horn writes: > The GNU ELPA package vertico shows possible completion candidates in an > overlay during minibuffer completion. I've just noticed that this > doesn't work properly when the generated eln file is loaded rather than > the el or elc file. > > By "not working properly" I mean that frequently either the minibuffer > prompt is displayed or the overlay showing the candidates but not both. > Sometimes also both, but then the cursor is blinking at the end of the > candidates overlay rather than immediately behind the input. Also the > candidate count overlay seems to be only shown if the prompt is also > there but not the canditates overlay. Here's a screenshot: > > > > Here's a reproduction recipe: > > 0. Build the current native-comp branch, HEAD is > af0af63742fd2383dae5627d0ce8167517fd4700 right now. > Install the vertico GNU ELPA package and wait for its async > native compilation to be finished. > 1. emacs -Q > 2. Load the ELN file (which is the only one I have, so I'm sure it's > the right one for my current emacs): > M-x load-file RET > ~/.emacs.d/eln-cache/28.0.50-bc702aed/vertico-6eb6690f-90eaf131.eln > RET > 3. M-x vertico-mode RET > 4. Try C-x C-b or C-x C-f to see the problem. Hi Tassilo, thanks for reporting this. I think it would be very helpful to know which one is the Emacs function that once gets called misbehaves. Thanks Andrea PS one should just load the .elc file to obtain the corresponding .eln loaded.