From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Newsgroups: gmane.emacs.bugs Subject: bug#48782: 28.0.50; fido-mode: shell variables distort find-file behaviour Date: Sun, 6 Jun 2021 17:16:29 +0100 Message-ID: References: <855373175.142584.1622568557185@office.mailbox.org> <874kecxiiz.fsf@gmail.com> <87k0n8vxus.fsf@gmail.com> <70440271.17915.1622966488055@office.mailbox.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000001beaf005c41b40fa" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12834"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 48782@debbugs.gnu.org To: simon254@mailbox.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 06 18:17:14 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 1lpvSb-00035v-V6 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 06 Jun 2021 18:17:14 +0200 Original-Received: from localhost ([::1]:54160 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lpvSb-00012L-1E for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 06 Jun 2021 12:17:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59058) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpvSP-0000qw-VI for bug-gnu-emacs@gnu.org; Sun, 06 Jun 2021 12:17:01 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42215) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lpvSP-0002Cc-M2 for bug-gnu-emacs@gnu.org; Sun, 06 Jun 2021 12:17:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lpvSP-0007Gq-II for bug-gnu-emacs@gnu.org; Sun, 06 Jun 2021 12:17:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Jun 2021 16:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48782 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed X-Debbugs-Original-Cc: "simon254--- via Bug reports for GNU Emacs, the Swiss army knife of text editors" Original-Received: via spool by submit@debbugs.gnu.org id=B.162299621027924 (code B ref -1); Sun, 06 Jun 2021 16:17:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Jun 2021 16:16:50 +0000 Original-Received: from localhost ([127.0.0.1]:53760 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpvSD-0007GJ-Rm for submit@debbugs.gnu.org; Sun, 06 Jun 2021 12:16:50 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:41400) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpvSA-0007GB-Ty for submit@debbugs.gnu.org; Sun, 06 Jun 2021 12:16:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59026) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpvSA-0000p1-2s for bug-gnu-emacs@gnu.org; Sun, 06 Jun 2021 12:16:46 -0400 Original-Received: from mail-pf1-x42f.google.com ([2607:f8b0:4864:20::42f]:43637) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lpvS7-00020W-NI for bug-gnu-emacs@gnu.org; Sun, 06 Jun 2021 12:16:45 -0400 Original-Received: by mail-pf1-x42f.google.com with SMTP id t28so11253231pfg.10 for ; Sun, 06 Jun 2021 09:16:43 -0700 (PDT) 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=0fSYxtueVSIouf8vMk5JAsjPDgnEDMlNOFqJa5+/ldM=; b=CQr0n4U9OuQGr9IuknWr16wQTprrQci5QkcNxJhQmvXmG6cpHW+Z6qYVKSnbsgnk1v kngvTmZEzxINTF9BG+kKJeDVQcFYgVOegkGissdTBbYzSBuVwVOFfvYIB6Qc6YCFzPfx o1aedvNqerMy3nxh3apAkvZqxgfGdoKzy6lJPtISVOpFkXxHhTDor8xU9X55jW39DfPv 6sR0u2yAyEUn4+rmIwY/OL/Q2nnlxCwSqnEpkXAObIfs1Rd4NmzPdKMAcfVarcup1WSF Xh0isZWCMXHZg+wkIftlp0ujCm01SUh6gf9y0koigo8FHZZu22sp07FP0G1+UeiQCxOf MoTQ== 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=0fSYxtueVSIouf8vMk5JAsjPDgnEDMlNOFqJa5+/ldM=; b=slsOAX6xWZ7vNVdFRtfwXGj968+WkMmEXIcGNXemKZEur6bWcIAv6xjunb5iuAaq5M X5/Y5PC1C5sIN8XDkzFD2PjrExFYgwoifD0gHRfZQwZfXowdAGl+xjitoZwvgETI1GDZ /jppnoh7+37OTz+cCQNnqShVElJHKG2US4UQIQC6oKgZ8C+25km6IQMWIN8/dh7p8r2W idIhBxaw6R3JHCOImhTnxE2Lii8SUteuGDRgt4/cDJgLAT4ju3w+dKRPEXh0efYD10rA wbksl2ho09mPZY50PlpLlgQ8Mer301ibLFpgpqa1LfnjUH3+rR3VOuAn+FbkKEV+GNH/ 2UCg== X-Gm-Message-State: AOAM531rk09rQ7jvH62Cik8UqtEKaH2Yl+mDVkhBOEnDfyNQDud9SZX6 9idXnc/mpUK5KlOJqjVKKzLG5G3wPcYaQQDaklWkQH9s X-Google-Smtp-Source: ABdhPJy23Kq2OOe7DkTuAGqV3XRUHl/ToiEPxuLyRPly0RRiK+fHFiPZi0zsqaDnkWRdHtERQ9oPCFQEAwbLcg4/H8A= X-Received: by 2002:aa7:8c02:0:b029:2e9:c513:1e10 with SMTP id c2-20020aa78c020000b02902e9c5131e10mr13870492pfd.2.1622996202284; Sun, 06 Jun 2021 09:16:42 -0700 (PDT) In-Reply-To: <70440271.17915.1622966488055@office.mailbox.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::42f; envelope-from=joaotavora@gmail.com; helo=mail-pf1-x42f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:208137 Archived-At: --0000000000001beaf005c41b40fa Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Jun 6, 2021, 09:01 wrote: > Thank you very much for looking at this! > > Now, if I type $HOM I get candidate $HOME, then I have to M-Tab to insert > the candidate and type "/" to continue find-file in the directory, and th= en > everything works as expected. This makes it now definitely usable for me! > > It might still be a bit confusing that in case of an environment variable > which value is a directory, Enter does open dired instead of transversing > into the directory with find-file (typing $HOM followed by Enter opens > dired in home). But I don't know if changing this would be better or wors= e > than the current behaviour after your fix - or possible at all. > May be possible. Is that what Ido does? I'll try in a couple of days, ping me here if I forget. Jo=C3=A3o --0000000000001beaf005c41b40fa Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sun, Jun 6, 2021, 09:01 <simon254@mailbox.= org> wrote:
Thank you very m= uch for looking at this!

Now, if I type $HOM I get candidate $HOME, then I have to M-Tab to insert t= he candidate and type "/" to continue find-file in the directory,= and then everything works as expected. This makes it now definitely usable= for me!

It might still be a bit confusing that in case of an environment variable w= hich value is a directory, Enter does open dired instead of transversing in= to the directory with find-file (typing $HOM followed by Enter opens dired = in home). But I don't know if changing this would be better or worse th= an the current behaviour after your fix - or possible at all.

May be possibl= e. Is that what Ido does? I'll try in a couple of days, ping me here if= I forget.

Jo=C3=A3o
--0000000000001beaf005c41b40fa--