Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ido]

Ido provides a very convenient way to find files and switch buffers in Emacs.

1
vote
0answers
34 views

Minimum length for ido-completing-read

I'm trying to write an ido-completing-read-powered backend for projectile-find-tag. However, for really big TAG files, this is ridiculously slow when the user starts typing because there are so many ...
1
vote
0answers
31 views

ido-find-file: directory names with hyphens are listed first

When using ido-find-file (C-x C-f) to navigate through directories, directories that have a hyphen in the name are listed before shorter matches with no hyphen. For example, if directories named "dir1"...
1
vote
0answers
25 views

Feature query to auto-complete mode

Basically, I am looking for an autocomplete-mode that suggests words as ido-mode does on file. Meaning, if I've typed "em" and the autocomplete suggests two words "Emacs" and "Emacsclient" , it should ...
2
votes
1answer
210 views

How to sort files by type in ido

I've seen a tip several times that ido-file-extensions-order can be used to easily order files. Setup is straightforward (code at bottom), but these filetypes are only given preference when choosing ...
2
votes
4answers
625 views

How can I skip Helm/IDO when I want to open Dired?

When I call Dired with M-x Dired, I got the IDO window with the file structure and when I press Enter, he goes to Dired. When I disable IDO in Emacs, and I do M-x Dired again, I got the Helm-dired-...
2
votes
2answers
125 views

How to put buffers named with an asterisk at the end of ido's selection list?

with (ido-switch-buffer), when I type stuff, "*magit: stuff*" comes before Stuff.txt. the sorting seems to be done by recency, rather than the buffer name. more generally, a custom sort function ...
1
vote
2answers
700 views

How to enable ido-completing-read correctly

So there is ido-completing-read that seems perfect to assign to completing-read-function. There is no customization interface though. How is the user supposed to enable ido-completing-read for all ...
2
votes
1answer
159 views

Why does ido-find-file still show . when ido-ignore-directories seems to exclude it?

I have my ido-ignore-directories set to the standard value: ("\\`CVS/" "\\`\\.\\./" "\\`\\./") The third regexp, "\`\./" should ignore the current directory, as near as I can tell. However, it doesn'...
4
votes
2answers
471 views

How to disable IDO in ‘dired-create-directory’

I have this setup: (setq ido-everywhere t) (ido-mode 1) Well, of course there is more, but I believe that this is relevant portion. Some time ago I wanted to have IDO for dired-do-copy and dired-do-...
0
votes
0answers
162 views

Completing from filesystem search in ido-find-file

By default, when a pattern that has been typed matches no results, after a short pause in typing ido-find-file goes on to try to locate a matching file in one of recently visited directories (I ...
2
votes
1answer
263 views

Have `projectile-find-file` fall back to `ido-find-file` outside of projects

How can I bind C-x C-f to invoke projectile-find-file when inside a project, and ido-find-file when not in a project?
0
votes
1answer
228 views

Global keybindings don't work in 'smex'

I've installed smex through MELPA as a replacement for the default M-x (execute-extended-command). The issue is that in smex, certain global keybindings don't work. For instance, C-h should work as ...
2
votes
1answer
294 views

Prevent Tramp from asking for a password for passwordless sudo

Opening /sudo::/etc/hosts with tramp prompts for a password even though I have passwordless sudo. I use ido. $ sudo grep NOPASSWD /etc/sudoers %wheel ALL=(ALL) NOPASSWD: ALL Is there any way to fix ...
5
votes
2answers
439 views

Can helm `find-file` in the parents directory automatically?

With ido-find-file, if the file I am looking is not in current directory but in the parents directory, it can automatically find it as candidate. I am not sure if helm can do the same thing?
2
votes
1answer
106 views

Override ido-completion-map to change window target

Sometimes I open ido-find-file or ido-switch-buffer but when I find the file I want to open, I realize I want to open it in other-window. I have key bindings for ido-find-file-other-window and others, ...
7
votes
1answer
159 views

How to replicate the “~/”-to-home & “//”-to-root behaviour in ido-find-file but for a custom directory?

When calling ido-find-file it's possible to type ~/ to replace the current working directory with your home directory automatically: Find file: /etc/{...} # after typing ~/ becomes: Find file: ~/{...}...
3
votes
2answers
98 views

How to bind a key inside the completing-read prompt?

In one of my packages, I use a loop with completing-read to query the user for a list of words. Inside the prompt, I'd like to bind DEL to a different command. How can I achieve that? The solution ...
2
votes
1answer
425 views

Setting `ido-ignore-buffers' doesn't cause buffers to be ignored, where's the error?

I set value of `ido-ignore-buffers' this way: (defvar uki-ido-ignored-buffer-names '("*grep*" "*Messages*")) (defun uki-ido-ignore-most-star-buffers (buffer) (member (buffer-name) uki-ido-...
14
votes
4answers
1k views

How to tell Ido to get out of the way when I can already just paste the file name?

I'm trying to make myself use Ido mode. Some times it's nice, but other times it is extremely stupid. Here's my greatest disappointment. I read some log with full file names, then I copy one name, ...
3
votes
1answer
206 views

Tell Dired to ignore file-at-point when invoking `ido-find-file` (`C-x C-f` in Ido mode)

I have discovered that a recent update to some of my emacs packages have caused C-x C-f while on a dired file to perform some operation on the entire file before prompting me for other files/...
7
votes
2answers
966 views

Using ido or helm to auto complete email addresses in mu4e

Is there a way to auto-complete email addresses in the mu4e compose window using Ido or Helm rather than the standard *Completions* buffer?
0
votes
3answers
225 views

ido mode not previewing buffers names on switch buffer C-x b

I just started using ido-mode and can't seem to get it to give a buffer list on switch-buffer. It works fine for visit file (C-x C-f) and kill buffer (C-x k), but not on C-x b, which is a much more ...
4
votes
1answer
450 views

How do I make ido switch to the buffer suggested by the tab-completion candidate?

I use ido for switching buffers, and it is awesome. I also have (flx-ido mode t) in my init file. I have run into a problem that causes me to switch to a buffer different from what I was expecting. I ...
0
votes
1answer
545 views

How to enable ido-ubiquitous globally

I want to have ido-ubiquitous available in every buffer at all times, but I can't find what I have to add to my .emacs to do it. Could someone please point me in the right direction?
6
votes
1answer
719 views

How do I bind keys in ido?

I'm trying Projectile + ido + flx-ido (just for Projectile, ido-mode disabled otherwise). But: I don't like using right and left to switch between items. I want to change them into up and down, but ...
0
votes
1answer
373 views

selecting files with regular expression using ido-find-file

With regular find-file it's possible to supply *.[ch] to open all .c or .h files in a directory. ido-find-file doesn't seem to support this behavior. I know I can press C-f while ido-find-file is ...
13
votes
1answer
881 views

When switching buffers, prevent emacs from automatically switching frame

When I switch buffers, emacs will switch to an existing frame if the buffer is already opened there. I found how to prevent that when switching with ido using : (setq ido-default-buffer-method '...
4
votes
1answer
208 views

How do I maintain a history of ido-read-filenames?

I've written a helper function for mu4e to run checkpatch against a message. However I want to be easily able to switch between previous calls to checkpatch and this seems difficult with ido-read-file-...
3
votes
1answer
230 views

Remove *.bak files from ido-mode minibuffer

I am using ido-mode to select files from Emacs. This works well for most cases, but for some cases I would like to modify the files that are shown in the completion buffer with ido-find-file. In ...
1
vote
1answer
231 views

Invoking “Icicles”

I'm trying to get started using Icicles, but I'm wondering if ido is interfering with functionality. So far: I installed Icicles from the repo and added (require 'icicles) to init.el. I used M-x ...
12
votes
4answers
374 views

Fuzzy completion when inserting Unicode characters

I just discovered C-x 8 RET as a way to insert Unicode characters by Unicode name or hex code. I have not (yet?) memorised all Unicode character names, so I don't always find the right character. ...
4
votes
1answer
463 views

How do I use TAB instead of Enter for completion in ido-mode?

When I do C-x C-f .emacs.d/i TAB Emacs displays a new buffer which presents "Possible completions", which are in my case auto-save-list/, history and init.el. I would like to have it complete to just ....
12
votes
5answers
2k views

Recently opened files in ido-mode

I use ido-mode, but one thing I hate about it is that after C-x C-f I cannot use up/down keys to cycle through recently opened files, as it used to be for example with iswitchb. How can I set ido to ...
44
votes
1answer
11k views

How should I change my workflow when moving from IDO to Helm

As an Emacs newbie, I found IDO and loved it since it made searching for files so much quicker. After spending some time on this site, I've read more and more about Helm and I'm planning on making the ...
2
votes
1answer
136 views

ido-find-file: lists of results in wrong order

When using C-x C-f (ido-find-file) to open files use I can use M-s to enable fuzzy matching. If I type C-x C-f then M-s and then enter the the fuzzy search string, things work as they should. ...
2
votes
2answers
520 views

how to switch to a new buffer with ido without needing to confirm?

Q: how do I switch to a new buffer with ido without needing to confirm? I open up a lot of temporary buffers to do scratchpad work. When ido-switch-buffer can't find a match for the buffer name I'm ...
4
votes
3answers
214 views

How can I quickly delete the trailing pathname component in ido-mode?

I use ido-mode for finding files and directories, which is generally very efficient in terms of keystrokes. The one annoyance I've found is when deleting the trailing pathname component when using ...
13
votes
5answers
2k views

Is there a command `describe-command', similar to command `describe-function'?

I use C-h f heavily, but this is all functions in Emacs. I'm often only interested in interactive functions, i.e. commands. Is there an equivalent for commands? Ideally I'd like ido completion too.
5
votes
1answer
180 views

M-x sometimes doesn't show me the right options (smex?)

This is most likely a problem with a plugin (caching options, using LRU, etc?), but I'm not good enough to really troubleshoot it. My complete dotfiles (not very extensive) can be found here I use ...