I used to work with find-file-at-point
to open files, URLs etc. My .emacs
contains
(require 'ffap)
(ffap-bindings)
I discovered ido-mode
and I tried to use it with
(ido-mode 1); enable ido-mode
(setq ido-enable-flex-matching t); flexibly match names
(setq ido-everywhere t); use ido-mode everywhere, in buffers and for finding files
(setq ido-use-filename-at-point 'guess); for find-file-at-point
It turns out that C-x C-f
for finding a file does not activate ido-mode
(I do not see the typical suggestions of file names as I do for buffers when doing C-x b
). When I comment out the two lines related to ffap
, it works as expected, however, I would like to use ffap
as well.
Is this possible?
Assume the point is on an URL. It would be great if C-x C-f C-f
(the fallback to the "old" completion style) would activate ffap
and thus offer to open the URL.