From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Terje Larsen Newsgroups: gmane.emacs.bugs Subject: bug#46986: 28.0.50; project.el: project-switch-project: dispatch menu bindings missing Date: Tue, 9 Mar 2021 14:44:01 +0100 Message-ID: References: <415de24b-04a3-1de7-dbae-15e08dfd10cd@yandex.ru> <96c894d3-f0bb-2380-f840-a07655febd12@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33301"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 46986@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 09 14:45:11 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 1lJcfe-0008Wm-2p for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Mar 2021 14:45:10 +0100 Original-Received: from localhost ([::1]:43034 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJcfd-0000tm-4c for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Mar 2021 08:45:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55536) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJcfW-0000td-76 for bug-gnu-emacs@gnu.org; Tue, 09 Mar 2021 08:45:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34446) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lJcfV-0003GY-Vr for bug-gnu-emacs@gnu.org; Tue, 09 Mar 2021 08:45:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lJcfV-0004s5-T1 for bug-gnu-emacs@gnu.org; Tue, 09 Mar 2021 08:45:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Terje Larsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Mar 2021 13:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46986 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 46986-submit@debbugs.gnu.org id=B46986.161529746718660 (code B ref 46986); Tue, 09 Mar 2021 13:45:01 +0000 Original-Received: (at 46986) by debbugs.gnu.org; 9 Mar 2021 13:44:27 +0000 Original-Received: from localhost ([127.0.0.1]:45992 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJcet-0004qr-MF for submit@debbugs.gnu.org; Tue, 09 Mar 2021 08:44:27 -0500 Original-Received: from mail-ed1-f52.google.com ([209.85.208.52]:37827) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJceo-0004qW-32 for 46986@debbugs.gnu.org; Tue, 09 Mar 2021 08:44:21 -0500 Original-Received: by mail-ed1-f52.google.com with SMTP id d13so20240365edp.4 for <46986@debbugs.gnu.org>; Tue, 09 Mar 2021 05:44:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xU0VupfZ5HN6MEQL+uHuxrrQ0ZGl9TuWcHrWXdv2OPU=; b=GA2XmK61m6nxzFWSxMJsak8d8rBbDiiczb9mqWCqw6T3wCNKus2L3d5z9CZKbFz/Qj ou+kTfrM/TpjwJGsoR5VUklURZdyLCWSQMw2h5hL/7G8eGL7mUpFRCef9Ry9U7iZUS0p AIgvCBhGIpeem9wMc4bKysgC4s1WmKrGFqUQKiOz55zN5oBlEqyVJ7R9rQ9AlCT7fWy4 PqSg3qOKL19ns/gNPFHC4BKKPP6hBWPbHeia+G4N3KGahHs1aodDtjnwSX1zaojWdGoi M6V10LVR516esU/EsaPKSkf9d9W+C1Fg+s4FeO5D3gijBI223BO58ic5OrOpln4H2yTN j8wQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xU0VupfZ5HN6MEQL+uHuxrrQ0ZGl9TuWcHrWXdv2OPU=; b=YtTA9NzikG+S/6s9qoEiqb/OWZj1/+ODND6dNZIsDFpywz/CTtMwWAH2c5bJW15TST /jBmaFwb6Y3vtatRIWOu+SGma+oWokpIN6u61wVJWEHaqm6F/Ep7NfN8rfI7Avxx6SPb 1uVpawYWvOh4Q1RxHM+8+t+EoAOOULWxjPJNHAexwbHCgcCPuatTOzGPZ/t1LXyjzE5d nJrCbbhakb4bA8iZ4xrcdKeBffW6dEboxUGbKOMOFbH+PhVNKZk0MEzTCUSqFJRImzKP SZNdQEtQHMDU1lf/cEXtPZlYPRr+Yj6uBdytiW5FEfu3PF0VxYOozmzfkYgNO+MFsDBN TCRA== X-Gm-Message-State: AOAM530bEFaSsbK9aIXp5oVj5+Adc6zZeCTHStH7TrvkjbRNaWE7bJMY WHP0xywfG7V4YSueIGOJnJFAjiEsYUADj95/Y0U= X-Google-Smtp-Source: ABdhPJwItddZOgklAJGpJMb4pT8gVHNUxKKGtWy1olEEKzlWU79+kPjNakhXs1Iq+ynvMwyVfr2cUsORAPyk5m2eAOc= X-Received: by 2002:a05:6402:35c8:: with SMTP id z8mr4169736edc.341.1615297452192; Tue, 09 Mar 2021 05:44:12 -0800 (PST) In-Reply-To: <96c894d3-f0bb-2380-f840-a07655febd12@yandex.ru> 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:201909 Archived-At: Very interesting. So I did upgrade to the latest revision as well (40d8f83e53ba64355035da78967c994d09a7802d) just to make sure. I still see the same issue. I also tried running: (where-is-internal 'project-find-file project-prefix-map t) It also returns [102] for me. So now I realized what is happening, I think this is an issue with how Nix is handling packages, I got the latest `project.el` from ELPA instead of the one bundled with Emacs as it adds all the packages to load-path. I just loaded the latest version from Emacs itself instead and then I got the correct behavior. To summarize this was an issue with using project.el from ELPA instead of the one bundled with Emacs but together with the latest version of Emacs. On Mon, Mar 8, 2021 at 10:30 PM Dmitry Gutov wrote: > > On 08.03.2021 22:58, Terje Larsen wrote: > > The value of project-switch-commands: > > > > ((project-find-file "Find file") > > (project-find-regexp "Find regexp") > > (project-dired "Dired") > > (project-vc-dir "VC-Dir") > > (project-eshell "Eshell")) > > > > The value of project-switch-project on step 3 is only "... (choose > > directory)" as I run this in an isolated environment without any > > previous projects loaded/added (e.g. no project-list-file). > > > > See attached screenshot of what step 6 looks like. > > > > I think this is a regression in Emacs, I just tested to load the newer > > project.el in an older version: > > GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, > > cairo version 1.16.0) > > Thank you. Still can't reproduce, but maybe it gives an idea to someone > else, about what could be going wrong. > > The characters are generated using this code: > > (where-is-internal cmd project-prefix-map t) > > In particular, you can try evaluating this: > > (where-is-internal 'project-find-file project-prefix-map t) > > It returns [102] over here. What value do you get? > > > And then both the display is correct and the bindings work. However in > > the version which I reported the bug for it still does not work. > > > > So to clarify the issue seems to be with: > > In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version > > 3.24.24, cairo version 1.16.0) > > Repository revision: f476e282d2420132aff38ba142feffbac011a321 > > This is almost my version to a t, except my GTK+ is 3.24.20. Most likely > unrelated to the problem. > > I've updated to a later revision > (612095220d158a7e8d1d1fb74b264b375ceee508) and don't see the problem. On > the off chance that it was a one-time bug, perhaps try updating too. -- // Terje Larsen