From: jorge.alfaro-murillo@yale.edu (Jorge A. Alfaro-Murillo)
To: help-gnu-emacs@gnu.org
Subject: Re: Using Find File At Point` with IDO
Date: Tue, 14 Jul 2015 10:39:37 -0400 [thread overview]
Message-ID: <87twt6pzva.fsf@yale.edu> (raw)
In-Reply-To: d0k175F6958U1@mid.individual.net
Raffaele Ricciardi writes:
> Can you have *Find File At Point* commands use IDO commands when
> there is neither a file nor a directory at point? The following
> code should accomplish such behaviour, shouldn't it?
>
> (ido-mode)
>
> (require 'ffap) (setq ffap-file-finder 'ido-find-file) (setq
> ffap-directory-finder 'ido-dired) (ffap-bindings)
>
> Yet, neither `C-x C-f (find-file-at-point)` nor `C-x d
> (dired-at-point)` call the corresponding IDO command.
>
> Thank you.
>
(ffap-bindings) redefines the keybindings, so calling it after ido
will change the keybindings that ido had. This works for me for
files (I open directories with C-x C-f C-j):
#+BEGIN_SRC emacs-lisp
(ido-mode)
(setq ido-use-url-at-point t)
(setq ido-use-filename-at-point 'guess)
#+END_SRC
Best,
--
Jorge.
prev parent reply other threads:[~2015-07-14 14:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-14 8:57 Using Find File At Point` with IDO Raffaele Ricciardi
2015-07-14 14:39 ` Jorge A. Alfaro-Murillo [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87twt6pzva.fsf@yale.edu \
--to=jorge.alfaro-murillo@yale.edu \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.