From unknown Sun Jun 22 17:09:56 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#34529 <34529@debbugs.gnu.org> To: bug#34529 <34529@debbugs.gnu.org> Subject: Status: C-x b became unusable (ido, recentf, tramp) Reply-To: bug#34529 <34529@debbugs.gnu.org> Date: Mon, 23 Jun 2025 00:09:56 +0000 retitle 34529 C-x b became unusable (ido, recentf, tramp) reassign 34529 emacs submitter 34529 Felici=C3=A1n N=C3=A9meth severity 34529 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 18 11:58:48 2019 Received: (at submit) by debbugs.gnu.org; 18 Feb 2019 16:58:48 +0000 Received: from localhost ([127.0.0.1]:53147 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvmFk-0007Xb-DV for submit@debbugs.gnu.org; Mon, 18 Feb 2019 11:58:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57599) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvmFi-0007XP-OS for submit@debbugs.gnu.org; Mon, 18 Feb 2019 11:58:47 -0500 Received: from lists.gnu.org ([209.51.188.17]:51623) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gvmFa-0000MO-Pk for submit@debbugs.gnu.org; Mon, 18 Feb 2019 11:58:39 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43733) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvmFZ-00026q-PV for bug-gnu-emacs@gnu.org; Mon, 18 Feb 2019 11:58:38 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, FROM_EXCESS_BASE64,HTML_MESSAGE autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvmFY-0000Kz-09 for bug-gnu-emacs@gnu.org; Mon, 18 Feb 2019 11:58:37 -0500 Received: from mail-vs1-xe35.google.com ([2607:f8b0:4864:20::e35]:39088) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvmFX-0000Jd-P9 for bug-gnu-emacs@gnu.org; Mon, 18 Feb 2019 11:58:35 -0500 Received: by mail-vs1-xe35.google.com with SMTP id w14so3080738vso.6 for ; Mon, 18 Feb 2019 08:58:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=aQqge16Fy4ywr1xWdqI3P0qknNZprPWOUeS14ezWFiU=; b=S8qhzjSvPOSgOGFUkZGQZ2A0e0gtA7H34P5JorIP4+NvBLUUiyZ8VFPeSmyeVaTWcM FwVuvRYF8wp/M1NrGS98ywQsD0YI2wsmFs+WDpPiKz5msU/MsufXs9xz4QHLA1GEgLFR sbKt/yY/T4JYzEykpjF/u5Ii8qjjo98FKe7VOUqVSSqsOZdbQCnuHIkK0o0LCGic7kI/ gyMvk8ObNfFJfZM8kvLraY1GscIzTGAj3muq3TKzJEPH3Am7oN6UNyxR8rkXN+JkRjxh gR0/EWOP3LlO2DvpwAtZi/mDv5Z8tG6TcEr208/pXqO+jo4yzx6woivCneD+PinDv+Eu D5Pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=aQqge16Fy4ywr1xWdqI3P0qknNZprPWOUeS14ezWFiU=; b=J6imuxln/KwrjVipkWtyjsDuQS3JrFqsaWu3vf6UJBlY2b0RqKGmwyVeHb3YNHEnhC 6vFNKW+WGt2j0LFELdnKtkk4nnnW3wJZeu7RFDyPCguY/HbJvrFE/6iRyrmkfBNgYLvi TzmZLfJdNOKaZg0BwIs2vBEzYjgwpQE24czTFlVVauMEYiA/mBxqwYxdExte0kMfOfKH ScPD3dxldI24yUFfs3QqPPkIsAI6n5Q/NbrqIkmrrQy5bqTrMqwpb5m9LKfGJlJWia7p BjCIyFDHopxu2GpTdXo/VyKunWy0g7LbQZ76/l1zU5oX0qcOOpNk2RAtbgTJCIDb/8s/ eMow== X-Gm-Message-State: AHQUAuYOU9NpmuGBhtydeW9Hlh6uK1HXPqyaLb//e7HM+Pr3xTd9SFb5 qKxIt+GcTN4pgadQ5kMETnTxuW1KzVOrtrcjM3OvTQ/ZxUfQkQ== X-Google-Smtp-Source: AHgI3IZIKpv0RD/+CB2B+dxo+xEUHARGRejg8nH928A60xVehOovg/26KR4UG5375xk8zHdevkgwXAY++P9xMz4sSk4= X-Received: by 2002:a67:e3d3:: with SMTP id k19mr11179952vsm.96.1550509112996; Mon, 18 Feb 2019 08:58:32 -0800 (PST) MIME-Version: 1.0 From: =?UTF-8?B?RmVsaWNpw6FuIE7DqW1ldGg=?= Date: Mon, 18 Feb 2019 17:58:22 +0100 Message-ID: Subject: C-x b became unusable (ido, recentf, tramp) To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="000000000000e6b7a205822e089a" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::e35 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 1.1 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: I had a problem, which can be reproduced to some extent with the following snippet. (emacs -Q -l /tmp/bug.el) (require 'recentf) (setq recentf-save-file "/tmp/bug-recentf") (setq recentf-list '("/ssh:localhost#2222:~/a.txt")) (setq ido-use-virtual-buffers t) (setq ido-save-directory-list-file "/tmp/bug-ido.l [...] Content analysis details: (1.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (felician.nemeth[at]gmail.com) 0.0 HTML_MESSAGE BODY: HTML included in message 0.1 FROM_EXCESS_BASE64 From: base64 encoded unnecessarily X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.1 (/) --000000000000e6b7a205822e089a Content-Type: text/plain; charset="UTF-8" I had a problem, which can be reproduced to some extent with the following snippet. (emacs -Q -l /tmp/bug.el) (require 'recentf) (setq recentf-save-file "/tmp/bug-recentf") (setq recentf-list '("/ssh:localhost#2222:~/a.txt")) (setq ido-use-virtual-buffers t) (setq ido-save-directory-list-file "/tmp/bug-ido.last") (recentf-save-list) (ido-mode t) (ido-switch-buffer) ; Simulating C-x b However, that doesn't explain how that entry ended up in my recentf-save-file. I'm guessing I opened many tramp files in a virtual machine, and after I had halted the virtual machine, emacs wanted to convert the file names to absolute paths. Strangely, (get-file-buffer "/ssh:localhost#2222:~/a.txt") and (expand-file-name "/ssh:localhost#2222:~/a.txt") fail, but evaluating them the second time, they succeed, but expand-file-name returns a wrong value, i.e, (expand-file-name "/ssh:localhost#2222:~/a.txt") => error (expand-file-name "/ssh:localhost#2222:~/a.txt") => "/ssh:localhost#2222:~/a.txt" "emacs -Q -l /tmp/bug.el" reproduces the problem with version 25.1.1 and a recent 27.0.50 as well, but I think it was former who originally wrote the problematic entry into the recent-save-file. Thank you. --000000000000e6b7a205822e089a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I had a problem, which can be reproduced to some extent wi= th the
following snippet. =C2=A0(emacs -Q -l /tmp/bug.el)

=C2=A0 = =C2=A0(require 'recentf)
=C2=A0 =C2=A0(setq recentf-save-file "= /tmp/bug-recentf")
=C2=A0 =C2=A0(setq recentf-list '("/ssh= :localhost#2222:~/a.txt"))
=C2=A0 =C2=A0(setq ido-use-virtual-buffe= rs t)
=C2=A0 =C2=A0(setq ido-save-directory-list-file "/tmp/bug-ido= .last")
=C2=A0 =C2=A0(recentf-save-list)
=C2=A0 =C2=A0(ido-mode = t)
=C2=A0 =C2=A0(ido-switch-buffer) ; Simulating C-x b

However, t= hat doesn't explain how that entry ended up in my
recentf-save-file.= =C2=A0 I'm guessing I opened many tramp files in a
virtual machine, = and after I had halted the virtual machine,
emacs wanted to convert the = file names to absolute paths.
Strangely,
(get-file-buffer "/ssh:= localhost#2222:~/a.txt") and
(expand-file-name "/ssh:localhost= #2222:~/a.txt") fail, but
evaluating them the second time, the= y succeed,=C2=A0 but
expand-file-name returns a wrong value, i.e,=

(expand-file-name "/ssh:localhost#2222:~/a.txt")=C2=A0 =C2=A0=3D> =C2=A0error
(expand-file-name "/ssh:localhost= #2222:~/a.txt")
=C2=A0 =C2=A0=3D> =C2=A0"/ssh:localhost#222= 2:~/a.txt"

"emacs -Q -l /tmp/bug.el" reproduces the p= roblem with version
25.1.1 and a recent 27.0.50 as well, but I think it = was former
who originally wrote the problematic entry into the
recent= -save-file.

Thank you.
--000000000000e6b7a205822e089a-- From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 19 02:42:13 2019 Received: (at 34529) by debbugs.gnu.org; 19 Feb 2019 07:42:13 +0000 Received: from localhost ([127.0.0.1]:53769 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gw02e-0007cg-NR for submit@debbugs.gnu.org; Tue, 19 Feb 2019 02:42:12 -0500 Received: from mout.gmx.net ([212.227.15.15]:58709) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gw02d-0007cS-L3 for 34529@debbugs.gnu.org; Tue, 19 Feb 2019 02:42:12 -0500 Received: from detlef.gmx.de ([212.86.47.115]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MOx4J-1h0esN1N39-006RPt; Tue, 19 Feb 2019 08:42:04 +0100 From: Michael Albinus To: =?utf-8?Q?Felici=C3=A1n_N=C3=A9meth?= Subject: Re: bug#34529: C-x b became unusable (ido, recentf, tramp) References: Date: Tue, 19 Feb 2019 08:42:02 +0100 In-Reply-To: (=?utf-8?Q?=22Felici=C3=A1n_N=C3=A9meth=22's?= message of "Mon, 18 Feb 2019 17:58:22 +0100") Message-ID: <87va1gql6d.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:+qKbxkYmeoQ5RsVIC5NYg43YdDZP5vhKzbbZZcnushOYJfgvNYh ZkDyUY6xgsfsK2QalyXvrigkvO8kH8vX3jhmVzvwF4kqgWqlJ065DN7tlgGMN7pTq58vQvg 9DzcwbMSTPDgheH8QP8/TWEKiR5k5ifXEEIqSh1zVhvRF1dcBKWymK7JZxzFGIUJFLDg8KT TEENkH/ph7KW4edUZepLg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:hVV2IpulDdQ=:pJGBE45+4Wl3wLsWkOexW4 /QzyrmL6mfeKAKGSLlHXn2aL7/U25tRC2H67mHGE4THpXQONtBpI4zilFM5p4tIMW7gc2g82R 6hWEppuIfFjDCCSQp2QcJ1iH8pT6W/0WojWBDU3C+DoTqykMHBtHYE8xkXeq2ECpuQf3cSz9V QiJN751UwR8rYCdpZrwbOxIqgfqALnauY3/CKPqMDAPnQ2C+61lYag0k9w/34Y7jXEHM0ujT7 OzFEa14RXXcfE3MB/hysvPYoCpISttpkVne3pzsv6jf+C5h2HyeaW6gbzRWHweU9xpSBRDF6w Ss+/TmqalZ3MhNh8tCXH+8PD6A0VGJ9s5Z0xWIVHSM4mDcKZESfAs4dDp6N5XoBN/WuBMfi90 1sJz1StnxRPyampIUXp5sfxSuV8yEO4S4e8JrO8REevwAYV1idmgGJixxkzW1QvohHjfCzgKR ikWcALghDY3CKHHdB4t9cDdOdMJgnJ75Sw+TxgBVilfbRseAOn3bNS/XHBW3GIToDWiOATMJT GrK9DEhrqfI1TtDxhkHbrk3VGm+B5kDKyv30L2DIQIXLtOl6fZMkaB0Oi3TePOAgFQMpvEzT/ 9bSrWgf25ZY3gFDPuURmdnvNTLwBQK1ehHivvGEsoS66D0U8rJuw8otyxYlqtG112ixWnNln9 tdYSCXjcbZdt+XjnEXePetIrRCZCUWyZuN6zLPg9EruIsKZQi5yU5aFzuh2ZUB/xG7GyJW5ML +P3pnW8lHREdA352EuNcvKGTlFXFpu+qWGdjed4HQSYbOgDDb5ZcT0DTu8bOsNKrz1xmWrzEj GD0gWcnUGZ4n6qmrCsrT2/RL9x1OvFMfidu5XktUqGK0SrX6eL/qzjCHqJe+HIDr4E2drY+9h ycDfGPWa/wG+telR6EyS4Awss06T4ZHpNqMFD76GYkZ+4KaF8qDDjm1BsScsCaHDwYP2nI4zy +Eon5Xkk4Yw== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 34529 Cc: 34529@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Felici=C3=A1n N=C3=A9meth writes: Hi Felici=C3=A1n, > However, that doesn't explain how that entry ended up in my > recentf-save-file. I'm guessing I opened many tramp files in a > virtual machine, and after I had halted the virtual machine, > emacs wanted to convert the file names to absolute paths. Do you use ad-hoc multi-hop file names? > Thank you. Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 20 02:34:51 2019 Received: (at 34529) by debbugs.gnu.org; 20 Feb 2019 07:34:51 +0000 Received: from localhost ([127.0.0.1]:57137 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gwMP4-0001eR-OJ for submit@debbugs.gnu.org; Wed, 20 Feb 2019 02:34:50 -0500 Received: from mail-vs1-f54.google.com ([209.85.217.54]:40774) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gwMP2-0001eC-HW for 34529@debbugs.gnu.org; Wed, 20 Feb 2019 02:34:49 -0500 Received: by mail-vs1-f54.google.com with SMTP id z18so13374966vso.7 for <34529@debbugs.gnu.org>; Tue, 19 Feb 2019 23:34:48 -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:content-transfer-encoding; bh=3AvmroCJefDYNSw1PV5iE9ADW3bzeFzptYnpPCx4EeI=; b=psnFyTwxOHjPyJCvtNBcMddf4QFHOAfq+pf1ZEnVOeAqx9Hn27dq9nsU+6licO5Uqa 0IP3gk+ql/KZ74rtmFQkUxD1wVOeyoBRfTlUYBEL7/9eLDs5LvOyc0bf6OXekv3VM4up xbK5tz5B46JPbZNolDqH2WI+N1KS+pvEt8iZQA6zhpvPTAgvKoAh1tWlNJEukH6LSZfJ hTc5Xr4dZ0eYnNKSJ1u5gTzIReqOOW/mMrvgK13irEDzkW9UClZg9LOqwcGwzShz4L3O UveDfWVyvJ8ofsKqsre58xFd55kEMZItdo9vpXXUAwZLOu96wY826TSTnfOliiM1oToN foGg== 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:content-transfer-encoding; bh=3AvmroCJefDYNSw1PV5iE9ADW3bzeFzptYnpPCx4EeI=; b=txngNrns0oYBppvC5vI0GY3TMoBDRd1ut9HxBBZe9GeBR6jrSry9m03YW8L+ci0sGM 2FMA33pZo8gQ4XC+TvLh3nBYKvAcxV6fQGd+rBAWgGBo6QOWBLFr2t7WqU5bck0umzCF l+lEiczwC4Bfa1GXQOK5+ODDh4X6w4LBOo2Fkv8/R4z3aeHqYikqTcNqa6fmUgKEcM4h Qr2S0laMnDIJETf01WF0DWn//Fl/90SQRTJuq5zofHqdRE4l1y8SMul9ejNoPakO+pAW Usqx9dTzG/Ho5hBjCaykIulxdfsW3ZY+wzqzV/bABc0AGoHCIiNGY/zxQu5I7kjQT2BM DdWQ== X-Gm-Message-State: AHQUAuaE1aalMiNA94pWC5XS1bfAFDT5kzfBa3wnXP0I9XcPHqwJ+1Y3 JShXoaoowFHSMvZkRlwaINJ6uOy3rNwneqil3Tc= X-Google-Smtp-Source: AHgI3IYCNMqvpRfNLrXFq2ma9Zaq64F/dUgAzyH0UXRKJT9Zr2nFof0EFHYh205E8KuO+ZVwRl0e8i0xAw6YbhT72bo= X-Received: by 2002:a67:7dd1:: with SMTP id y200mr3778674vsc.96.1550648081969; Tue, 19 Feb 2019 23:34:41 -0800 (PST) MIME-Version: 1.0 References: <87va1gql6d.fsf@gmx.de> In-Reply-To: <87va1gql6d.fsf@gmx.de> From: =?UTF-8?B?RmVsaWNpw6FuIE7DqW1ldGg=?= Date: Wed, 20 Feb 2019 08:34:30 +0100 Message-ID: Subject: Re: bug#34529: C-x b became unusable (ido, recentf, tramp) To: Michael Albinus Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 34529 Cc: 34529@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.9 (/) Hi Michael, >> However, that doesn't explain how that entry ended up in my >> recentf-save-file. I'm guessing I opened many tramp files in a >> virtual machine, and after I had halted the virtual machine, >> emacs wanted to convert the file names to absolute paths. > > Do you use ad-hoc multi-hop file names? With this virtual machine, definitely not. However, the problem occurred in a long lasting emacs session and I do remember trying to ssh|su into a remote system. It wasn't successful because (I think) tramp failed to find the password prompt because of an unfortunate locale setting. However, I found a probable cause of evenets that inserts a wrong entry into recentf-list: bug.el: (require 'recentf) (setq recentf-save-file "/tmp/bug2-recentf") (setq ido-use-virtual-buffers t) (setq ido-save-directory-list-file "/tmp/bug-ido.last") (ido-mode t) (ffap-bindings) 0. emacs -Q -l bug.el 1. Open a relative file in a VM (/ssh:localhost#2222:~/a.txt) 2. Close the file, halt the VM. 3. (Accidentally) open the same file from the file-name-history. (C-x C-f M-p) 4. Close emacs. =3D> /tmp/bug2-recentf has the relative path. Thanks again, Felici=C3=A1n From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 20 04:40:13 2019 Received: (at 34529) by debbugs.gnu.org; 20 Feb 2019 09:40:13 +0000 Received: from localhost ([127.0.0.1]:57188 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gwOMP-0000E9-DQ for submit@debbugs.gnu.org; Wed, 20 Feb 2019 04:40:13 -0500 Received: from mout.gmx.net ([212.227.17.20]:55201) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gwOMM-0000Dq-0P for 34529@debbugs.gnu.org; Wed, 20 Feb 2019 04:40:12 -0500 Received: from detlef.gmx.de ([212.86.38.226]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LiHc7-1hRaYy1w7X-00nN2I; Wed, 20 Feb 2019 10:40:03 +0100 From: Michael Albinus To: =?utf-8?Q?Felici=C3=A1n_N=C3=A9meth?= Subject: Re: bug#34529: C-x b became unusable (ido, recentf, tramp) References: <87va1gql6d.fsf@gmx.de> Date: Wed, 20 Feb 2019 10:40:01 +0100 In-Reply-To: (=?utf-8?Q?=22Felici=C3=A1n_N=C3=A9meth=22's?= message of "Wed, 20 Feb 2019 08:34:30 +0100") Message-ID: <87imxedci6.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:xHdbc34BrERITtcZc0ZHYAsxXGkInBUj953HKMhUzPjw4TS3Qiq DH5zxo31UQvd2XJjxLhjdeKBhSsLtNq2K/c9QKHHO9JPJJiHD+Pw3J9HVAv/W95sHq3xAT2 mUW3gwOFiQT/n1/dFXlavtWFjaEWdKuP+IDClLH4qzYcY37x/hK2KntWnDCpaGPiUe4uI0s GC3CVTgDDEv6obBKmrsdQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:4cb9YJogZhY=:s5z3atB7BjZkKAxgd5HAZ0 FNnNM+GL0jCRsouMlUwOS25iickIQ5nUMjoZY95xShUf84bHHk7uyrYYANYJNk2W0vv1SU+1m BF4+3wuq/KSn/uzeh4I1LqAtuGvvSTPnvrUMRFG+TmaC7BIEf+gQ792HlgsTw8VvMT28O7R8D oIDH+hgKbsASx8irTTlgVUZbd/svxuhew1R8xQ1oVVbjBHHaeTBnj7vvWFGHbVvr5m/Et+CV2 Vc+Nl2kcU/5VRCtlPhK5Bja4/LNMCvlORnEPYxvqfzBTOX43P391Ds3JDiuqJ7fVrgvFpsn2n fRYv6TlWCEdux7s8mgqE22PwOsy56lI56lbIMAnRExOPk9R91lUhUYYO3GO6V0b9+V4MYZjPu DA4PphPA30BShkQ6gx96S9nucdAQdExr5MUIp6YHR34B7DkGdNZt5GikZY+p6L0W/EvPNdDSy gnEyxniCVFsDiuVrb4nXTvn+JYpzGRKivwG+kxcMzxhuLsJ/shN2jXbhpkXVyvg8qlzp9sPdM E+GIie+8GsrNkh92lVci3hevyoBMbEKgj4CHwvsc9HwdvuTd4kWaZVTWqmw4oEcifDlKZf5Yr VchgeBCURWaJELgwpN1sELjJTOw2QwBobY2L5dwcX5Pl085tPOofEQQh/7bK/Fx4DL05DgyCE KGrDQnkathdu4QG1ad4JQdwNbJwxNPSQEF4kGSDlmJIabqNKZgu6kPoMGDULQPK5cUE6aHI4x mLA4Lc+Sp2kAFVsFD7uXaSvzgzXhS959nk9yBEv98UHuzpPvdCZd4u1+feaaRBiz2nlavBV/p XPglSN72Fh7wttmxGh4k9nRb8mS0a3ICeB6j19ltSwKCwfGKyqfRRkvXTYZXvlQuBeKS19sdy K4wDNfdJa6vpKLs6eQr0oy/NrOJ+MOQsm+TLcqdXRcDhn4ZRUC1UBiny88EuMlEuKeJUj+Xpo fbWSqPlp09Q== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 34529 Cc: 34529@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Felici=C3=A1n N=C3=A9meth writes: > Hi Michael, Hi Felici=C3=A1n, > However, the problem occurred in a long lasting emacs session and I do > remember trying to ssh|su into a remote system. It wasn't successful > because (I think) tramp failed to find the password prompt because of > an unfortunate locale setting. > > However, I found a probable cause of evenets that inserts a wrong entry > into recentf-list: > bug.el: > (require 'recentf) > (setq recentf-save-file "/tmp/bug2-recentf") > (setq ido-use-virtual-buffers t) > (setq ido-save-directory-list-file "/tmp/bug-ido.last") > (ido-mode t) > (ffap-bindings) > 0. emacs -Q -l bug.el > 1. Open a relative file in a VM (/ssh:localhost#2222:~/a.txt) > 2. Close the file, halt the VM. > 3. (Accidentally) open the same file from the file-name-history. > (C-x C-f M-p) > 4. Close emacs. > =3D> /tmp/bug2-recentf has the relative path. This doesn't sound like an error. recentf does what you tell it to do. After step 3, there is a buffer with the remote file name "/ssh:localhost#2222:~/a.txt". recentf stores also remote file names, according to `recentf-keep-default-predicate': --8<---------------cut here---------------start------------->8--- (cond ((file-remote-p file nil t) (file-readable-p file)) ((file-remote-p file)) ((file-readable-p file)))) --8<---------------cut here---------------end--------------->8--- The problem seems to be rather ido. Could you pls check bug#24980? It sounds similar to your problem, and it was solved in Emacs 26.1. Btw, which Emacs version are you running? > Thanks again, > Felici=C3=A1n Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 21 03:12:37 2019 Received: (at 34529-done) by debbugs.gnu.org; 21 Feb 2019 08:12:37 +0000 Received: from localhost ([127.0.0.1]:58935 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gwjTA-0008Ca-UW for submit@debbugs.gnu.org; Thu, 21 Feb 2019 03:12:37 -0500 Received: from mail-vk1-f169.google.com ([209.85.221.169]:35129) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gwjT6-0008CK-GU for 34529-done@debbugs.gnu.org; Thu, 21 Feb 2019 03:12:33 -0500 Received: by mail-vk1-f169.google.com with SMTP id l136so6176443vke.2 for <34529-done@debbugs.gnu.org>; Thu, 21 Feb 2019 00:12:32 -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:content-transfer-encoding; bh=3+ihi9IC8BkSCjbz/rePB7bI3ROkYme3vimfVcqa3Cw=; b=N356Iin4LUsRFfJoV9CaCbNQtXK7gGq60i692WCA20BnJn6/H3a8oED0Wpymd7Njkg oCTZvI/qxrZi9fx3Hrc1k5Kca9anDriY+QxSQar9G8uFM3AzKm2MHb068RewTUHIxPSA QGU2zk0MhfWJxNhpWN/MIvWmeBAlhPUOchC73W0kPP4z00WuZ8qrkZ/TEZ/+fzV253lp k+IxkElra24AzMydvSZ8zuK0HA59Xto9REL87xgAGTW8/oiLMIb8E5EEc30o9mkg229R O0HOEsKxShhfAmfAZh3sK4Lpm7j+PuOTCWvfZ80PlCWBeHVyDtslQwT813Ju3hhaT9mI SP0A== 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:content-transfer-encoding; bh=3+ihi9IC8BkSCjbz/rePB7bI3ROkYme3vimfVcqa3Cw=; b=Je4xMvqaioCRoXtka5EEgiMqi3mhkIQM3y34+fDxbpp+u24VICXga2Og74i9UDkoyB TWUJTu/0yxptI6YNAH90a8gnP+t/tKIhfI+wu4vXn/6tFPG6krCjcHf7cpBTB6az7WBE TqIG3Jg99lUyGlpkim/cszRR5LirBxnl9BSEdhv0EutYRKDV7elo+s7lNYRpdsDSGUXo Zek+0aVjELm+D0qc//oqLzI4ddxXvzvoxJl1zZKnUdKUrmp/8u7N9XmB0XJ+wOMUVOGW BCYn0IWw6JjohFvlDciGdiXpVQTD07d85Ybd3FJMjrzsYkO454RHE6EdKlrrr0wQybsC 6r3A== X-Gm-Message-State: AHQUAuYDZsQUFhrQCxeC8SMRJoETrV0lNmFXwP1m2zJLl2U2iu/3Es2N ndAjF0dKX+bVVW9D4fHQD/QmY9LwvYhsUFWSBYY= X-Google-Smtp-Source: AHgI3Ibp1qQ3lrKEgfBiKcSVM9ItDOu+UygpjpgxS/c/Ou4xM4fy2sa8r6yypaWbNBVvwHmIPQAbKHyWd+HGI0K0GxY= X-Received: by 2002:a1f:36d1:: with SMTP id d200mr13560129vka.87.1550736746977; Thu, 21 Feb 2019 00:12:26 -0800 (PST) MIME-Version: 1.0 References: <87va1gql6d.fsf@gmx.de> <87imxedci6.fsf@gmx.de> In-Reply-To: <87imxedci6.fsf@gmx.de> From: =?UTF-8?B?RmVsaWNpw6FuIE7DqW1ldGg=?= Date: Thu, 21 Feb 2019 09:12:16 +0100 Message-ID: Subject: Re: bug#34529: C-x b became unusable (ido, recentf, tramp) To: Michael Albinus Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 34529-done Cc: 34529-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.9 (/) Hi Michael, > The problem seems to be rather ido. Could you pls check bug#24980? It > sounds similar to your problem, and it was solved in Emacs 26.1. Btw, > which Emacs version are you running? I bumped into the problem with Emacs 25.1, but I verified git head misbehaves with the part of the problem that I understood in my original report. However, I forgot to check my recipe to insert a relative path into recentf-save-file is still valid for the latest Emacs. It is not, so I close this report. Sorry for wasting your time, Felici=C3=A1n From unknown Sun Jun 22 17:09:56 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 21 Mar 2019 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator