* Tab completion on find file with (C-x C-f) adds a slash to end of file
@ 2019-08-12 17:53 Anne Summers
2019-08-12 18:06 ` Eli Zaretskii
0 siblings, 1 reply; 2+ messages in thread
From: Anne Summers @ 2019-08-12 17:53 UTC (permalink / raw)
To: help-gnu-emacs
Hello,
When I try to open a file with (C-x C-f) and try to complete name file
with tab a / is added at the end of the file like it does for directory.
For example if I want to open .bash_profile and I do (C-x C-f) then type
.bash_pr the completions I get is: Find file: ~/.bash_profile/
I am not sure how or why that / is being added. I can't recall seeing this
behavior before.I see similar behavior on eshell. I see this with and
without my .emacs file.
I am running on AIX and I don't see this in other architectures.
GNU Emacs 26.1 (build 1, powerpc-ibm-aix6.1.9.0)
of 2019-04-23
Copyright (C) 2018 Free Software Foundation, Inc.
Thanks for any pointers
Anne S
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Tab completion on find file with (C-x C-f) adds a slash to end of file
2019-08-12 17:53 Tab completion on find file with (C-x C-f) adds a slash to end of file Anne Summers
@ 2019-08-12 18:06 ` Eli Zaretskii
0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2019-08-12 18:06 UTC (permalink / raw)
To: help-gnu-emacs
> From: Anne Summers <ukulanne@gmail.com>
> Date: Mon, 12 Aug 2019 12:53:25 -0500
>
> When I try to open a file with (C-x C-f) and try to complete name file
> with tab a / is added at the end of the file like it does for directory.
> For example if I want to open .bash_profile and I do (C-x C-f) then type
> .bash_pr the completions I get is: Find file: ~/.bash_profile/
>
> I am not sure how or why that / is being added. I can't recall seeing this
> behavior before.I see similar behavior on eshell. I see this with and
> without my .emacs file.
>
> I am running on AIX and I don't see this in other architectures.
> GNU Emacs 26.1 (build 1, powerpc-ibm-aix6.1.9.0)
> of 2019-04-23
> Copyright (C) 2018 Free Software Foundation, Inc.
>
> Thanks for any pointers
Look at dired.c:file_name_completion_dirp -- crystal ball says on your
system it tells Emacs that a file is actually a directory. Perhaps
the way faccessat works on your system is to blame.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-08-12 18:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-12 17:53 Tab completion on find file with (C-x C-f) adds a slash to end of file Anne Summers
2019-08-12 18:06 ` Eli Zaretskii
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).