swiper icon indicating copy to clipboard operation
swiper copied to clipboard

counsel-find-file does not record file to recentf when opening with tramp

Open h-mikisato opened this issue 2 years ago • 0 comments

How to Reproduce

  1. Call counsel-find-file by C-x C-f .
  2. Input /scpx:<user>@<remote-addr>:path/to/file to minibuffer.
  3. Call counsel-find-file again and open another file on the same remote host.
  4. Call counsel-recentf . then we can find these files are not in recentf
    • The file opened in step 2 may be in recentf (may not be), but the one in step 3 is 100% not in.

Expected Result

Both files are in recentf list

Environment

Swiper version

  • swiper 20210919.1221
  • ivy 20220402.1259
  • counsel 20220402.953
  • counsel-projectile 20211004.2003

Runtime

  • Emacs 28.1 of YAMAMOTO Mitsuharu's Mac port of GNU Emacs ( installed by brew install --cask emacs-mac )
    • on MacOS Monterey
  • Emacs 28.1 of Official Windows Binary
    • on Windows 11 Home

thank you.

h-mikisato avatar Apr 11 '22 05:04 h-mikisato