"File name history" shows abbreviated paths that cannot be opened #2674
-
When opening helm's "find files" with How can I fix this? This is with emacs 28.2 and helm 20240526.1107 on Debian 12. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Christian Weiske ***@***.***> writes:
1. ( ) text/plain (*) text/html
When opening helm's "find files" with c-x c-f I can open the recenly
used files list with c-c h ("File name history"). In that list, the
file paths are abbreviated with … characters. Selecting and opening
them fails because the abbreviated path is used instead of the full
path.
What make you think the "abbreviated and truncated candidate" is used?
We are using here a cons cell like (DISPLAY . REAL) where REAL is passed
to any action, I hardly see how it would fail, just tested right now
with "~/tmp/averylooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooonfile.txt"
which is truncated on display and it worked fine.
How can I fix this?
I need more infos to help you on this (backtrace please preferably from
a minimal config i.e. no spacemacs or similar...).
…--
Thierry
|
Beta Was this translation helpful? Give feedback.
-
Note also that the files with red background in your screenshot are deleted files, you can toggle this view with |
Beta Was this translation helpful? Give feedback.
-
This is a bug, thanks to catch this, the real candidate was indeed the truncated candidate, it is fixed now, please let me know if it works correctly after updating Helm (the commit will make its way to Melpa in a few hours). |
Beta Was this translation helpful? Give feedback.
This is a bug, thanks to catch this, the real candidate was indeed the truncated candidate, it is fixed now, please let me know if it works correctly after updating Helm (the commit will make its way to Melpa in a few hours).
Also I guess you have now in your
file-name-history
wrong candidates (the truncated ones), please cleanupfile-name-history
by editing this variable from M-x helm-apropos using the "Set variable" action.Thanks.