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
47 views

emacs ivy: disable ido completition

I am using GNU Emacs 26.2 and ivy from melpa. When I run M-x and enter: M-x magit-status ivy suggests: ido-enter-magit-status magit-status magit-status-mode I don't use use ido, I have no idea ...
1
vote
1answer
56 views

Setting the major mode of a new buffer interactively

When creating a new buffer via: C-x b NonExistentBufferName RET RET I would like Emacs to prompt me for the major mode this buffer is going to use upon opening. Moreover, I want Emacs to infer the ...
2
votes
1answer
68 views

Why ido mode automatically change current folder when create new file?

I want to create file credenentials.txt in folder d:/dev/GoogleDrive/_IPTV/Playlists/OttClub/ M-x C-x C-f Press "c" result: press "cr" result: As you can see Emacs change folder to d:/personal I ...
0
votes
0answers
25 views

Emacs flashes when changing buffer with `ido-switch-buffer`

When I change buffer via ido-switch-buffer and enter a python buffer my entire Emacs flashes visually for a second. If I handle other files the same way, it does not. What can be the reason for that? ...
0
votes
0answers
24 views

Extending ido-find-file to call deadgrep produces minubuffer error

I'm trying to add a key binding to ido-find-file, so that it calls deadgrep from the current directory. Similar to how pressing C-d from ido-find-file calls dired. The problem is that both deadgrep ...
0
votes
0answers
21 views

Stop ido-find-file opening directories as dired buffer

I use ido-find-file to open files on my disk. The defaul behaviour is that if I type (part of) directory name RET, ido-find-file enters the directory and I can continue searching for my file. Since ...
0
votes
0answers
24 views

Reset dir cache for Ido

I very often find myself in the following situation: Open a file in a directory foo/bar Rename the file and/or created another one from a command line: cd foo mv bar bar2 touch bar3 Try to open any ...
0
votes
0answers
17 views

ido mode keeps suggesting mismatching buffer name

Here is the relevant part of my configuration file: (require 'ido) (setq ido-enable-flex-matching t) (setq ido-everywhere t) (setq ido-auto-merge-work-directories-length -1) (ido-mode 1) The problem ...
0
votes
0answers
32 views

Why IDO not show keybindings?

To kill line I use command kill-line (C-k) Nice. But why IDO not show keybinding for this command (C-k) ?
0
votes
1answer
24 views

How to stop ido-find-file/ido-switch-buffer prioritising the current buffer/file?

For example, if I have a Test.cpp and a Test.h and one of them is open, ido-find-file will often suggest the already-open one first if I type "Test". Likewise when both are open and the current buffer ...
1
vote
0answers
58 views

migrated from emacs 25 to 26.1: cannot force find-file/counsel-projectile-find-file to always open buffer in current window

Recently I migrated from emacs 25 to 26.1. Before I reached the window behaviour, where I could always open a file at the window at point. The most simple case to illustrate undesired behaviour: I ...
0
votes
1answer
49 views

How select and kill desire many buffers in ido mode?

Emacs 26.1. ido, smex If I want to kill one buffer I use command C-x k Here result: As result I can kill ONE desire buffer. But suppose I need to kill the next buffers: build.gradle, approfile....
1
vote
1answer
253 views

What does 'ido-everywhere' actually do?

When reading about ido, we are instructed to add this to .emacs: (ido-everywhere t) The doc says that it Toggle use of Ido for all buffer/file reading. What does it mean? Everything seems to work ...
0
votes
0answers
11 views

ido for comint-dynamic-list-input-ring?

emacs 26.1 I use ido, smex. Here my init.el (require 'ido) (ido-mode t) (ido-everywhere 1) (require 'ido-at-point) (ido-at-point-mode) (require 'ido-completing-read+) (ido-ubiquitous-mode 1) (...
0
votes
0answers
42 views

Ido - how autocomplete everything?

Emacs 26.1 I use ido mode with same. It is work nice. But I need ido interactively autocomplete for : bookmarks shell history commands Is it possible?
3
votes
0answers
49 views

ido, smex , candidates: show directories with different color

emacs 26.1 , windows 10, ido mode, smex package M-x map And here result: smex show all candidates content text map Nice. It's work fine. But second candidates (mappings) is a directory. Rest of ...
0
votes
0answers
23 views

shell: comint-dynamic-list-input-ring interactively in ido mode?

windows 10, emacs 26.1 M-x shell Press C-c C-l run command "commint-dynamic-list-input-ring" and as result show Possible history references: in the *Input History* buffer. OK. But it's very slow. ...
0
votes
0answers
53 views

Recentf buffer is not interactively

windows 10, emacs 26.1 I use ido mode. in my init.el (require 'ido) (require 'ido-vertical-mode) (ido-use-virtual-buffers t) (ido-mode 1) (ido-vertical-mode 1) (setq ido-vertical-define-keys 'C-n-...
0
votes
1answer
32 views

Icicle: After load icicles the ido mode is gone?

windows 10, emacs 26.1, icicles Before Icicles when I type C-x C-f is show list of folders/files in ido mode. And it's very comfortable for me. But after I install Icicles and turn on icy-mode the ...
1
vote
0answers
26 views

ido-enabled find-file does not match an existing file name when I yank file name and directory

I enabled IDO mode in my emacs (version 25.2.1, Linux) and now I am trying to open a file. I am in the directory ~/foo . The file is ~/foo/baz/bar.cpp and it does exist. I have baz/bar.cpp in my ...
0
votes
1answer
48 views

How to get vanilla find-file in Spacemacs

Even when i M-x find-file I get the Helm stuff. I usally also want that, it's just with some Tramp stuff I think there are Problems. How to get the plain old find-files from vanilla emacs in ...
2
votes
1answer
46 views

`Ido-completing-read` word by word in the minibuffer

I'd like to use something like ido-completing-read in the minibuffer, but on a per-word basis. Here is an example. If I provide a list ("tag:important " "tag:work" "subject" "from"), I'd like to be ...
1
vote
1answer
165 views

Can counsel functions use ido-flex style matching?

I've gotten so used to (setq ido-enable-flex-matching t) that I really notice its absence in various counsel-FOO functions. Is there a way to turn on flex matching for counsel? I haven’t been able ...
4
votes
3answers
360 views

When using C-x C-f turn off the suggestions

When i do C-x C-f to create a new file in the directory A, if emacs finds another file in another directory (say B) with exact same name, in the mini-buffer it changes the path to the other existing ...
2
votes
1answer
325 views

Emacs - suppress Completion Buffer

In Emacs, I don't want the *Completions* buffer to pop up, even when I press tab to autocomplete in the minibuffer and there are multiple results. It's distracting and jarring. How can I do this? ...
1
vote
1answer
36 views

How to exclude bookmarks from ido virtual buffers?

I just put (setq ido-use-virtual-buffers t) in my init file. It seems ido virtual buffers includes my bookmarks after I use bookmark-jump. How could I make ido virtual buffers only includes my ...
1
vote
2answers
107 views

IDO rebind C-j to C-<RET>

How to set it? I tried (add-hook 'ido-setup-hook (lambda () (local-set-key (kbd "C-<RET>") 'ido-select-text))) and (define-key ido-common-completion-map (kbd "C-<...
1
vote
1answer
94 views

IDO mode: How to go to beginning of line in minibuffer?

When using IDO mode when I start searching for files it always begins in the working directory of my current file. Usually I like this, however, if I want to search in a significantly different ...
0
votes
1answer
61 views

magit + ido: do not offer tags in completing read?

Q: how can I get magit + ido to ignore tags when checking out a branch? I'm using magit + ido. When I go to check out a branch, ido helpfully gives me the names of all existing branches, but it also ...
3
votes
1answer
76 views

is there some sort of namespace(or filter) for files and buffers per frame available?

Using emacs in daemon mode is fine, because you only pay startup time once. But after a while the buffer and file list is getting filled. So is there a way to see only files which belong to the actual ...
3
votes
2answers
671 views

Edit org-mode tags using ido or ivy completion

I'd like to try a different method of specifying tags than the built-in single character codes. How can I tag headings using ido or ivy completion? I think I would like at least two commands: ...
3
votes
1answer
253 views

distinguish ido/ivy's virtual-buffers with equal names using directory?

I really like the ido-use-virtual-buffers/ivy-use-virtual-buffers features, but unfortunately if you have five files named style.css in different projects, it is less useful. With already-opened ...
1
vote
2answers
250 views

Using ido completion for selecting a repository for magit

I like to use ido for completing file paths and helm for all other things. I have tried setting magit-completing-read-function to magit-ido-completing-read. This doesn't change magit-status behaviour ...
0
votes
1answer
82 views

different settings for ido-find-file and ido-switch-buffer

I like arbitrary substring matching for buffer completion but I want to disable it when completing file names or directories. The idea is to set ido-enable-prefix to t only when ido-find-file is ...
1
vote
3answers
230 views

Fuzzy search for directory when you don't know the full directory name

Say I want to find a directory like: foo/bar/bazz/bar/directory_name_looking_for/stuff.xml And I don't know the intermediate directory paths, or the full directory name, but remember that the ...
1
vote
0answers
36 views

Sort ido results by recentness even when filtered

I have ido-use-virtual-buffers set to t, so when I M-x ido-switch-buffer, I initially see a list of files with the most recent files at the top. However, as soon as I type anything to filter the list ...
0
votes
1answer
35 views

Failed to load ido.el

I have downloaded file ido.el, but can't load it. When I (require 'ido) the following is displayed: Debugger entered--Lisp error: (file-error "Cannot open load file" "No such file or directory" "seq"...
0
votes
1answer
243 views

How can I make icomplete/ido behave like iswitchb?

Emacs has recently (between 24.0 and 25 ish?) removed iswitchb in favor of some combination of ido and icomplete mode, which I've seen claims are 99% compatible; which I can live with, I don't have ...
3
votes
2answers
376 views

Disable ido mode for write file

I was not the only one who thought ido is very inconvenient when trying to write a new file. The emacs wiki has a section dedicated to disabling ido for write-file: Disable ido mode for particular ...
0
votes
1answer
252 views

Configuring the number of buffers saved by ido, using ido-use-virtual-buffers?

I really love the ability to quickly navigate to files opened in old editing sessions that desktop provides. However, there are a few things I don't like about it so I'd like to stop using it if ...
1
vote
1answer
110 views

How to open new buffer instead of current via elisp?

I want to bind key when in ido-switch-buffer to open ibuffer instead, but I do not understand how to make that with elisp. Here's my config: (defun my-open-ibuffer () "Open ibuffer from ido-switch-...
1
vote
1answer
58 views

Why some packages included with Emacs don't have their documentation in the main manual?

I wanted to read the Ido documentation offline from Emacs. I read in the NEWS file of Emacs 24.5 that since the 24.4 version an "Ido user manual is now included" (line 608). But it was not possible ...
1
vote
1answer
785 views

How to enable ido-mode forever?

I want to have it enabled every time I open emacs and not type M-x ido-mode each time I open it.
1
vote
1answer
243 views

ido-read-directory-name does not show matches in minibuffer

I'm trying to read a directory path using ido-read-directory-nameto prompt in the minibuffer. I have (ido-everywhere t)and (ido-enable-flex-matching t) enabled, and I'm running emacs 24.5.1. I expect ...
3
votes
1answer
172 views

ido flex matching doesn't seem to work, or works partially

I'm running emacs 24.5.1, with the built in ido-mode. I enable (setq ido-mode-flex-matching t) and (ido-mode 1)in my startup file, and ido matching (at least the prefix and substring types of matching)...
3
votes
2answers
130 views

Can I use ido-mode for org-clock-select-task?

Is there a way to use ido to select tasks from the org-clock-select-task list? Having to read through the list to find the right task and then look at the number makes me lose my flow :)
3
votes
1answer
198 views

Completing read a directory or an element from a list

I'm making some functions to interact with Mercurial. Many Mercurial commands take a repository as an argument, and that argument can be specified either by a path to the root of the repository or by ...
2
votes
1answer
383 views

How to create a new buffer with ivy-switch-buffer that shares a substring with an existing buffer?

Suppose I have a file opened called "analysis-evaluation.tex" and I'd like to create a new buffer called "eval". When using Ido, I would press C-j to create a new buffer rather than switching to an ...
2
votes
1answer
37 views

`+` in dired-mode with icicles and ido enabled raises an error

I just installed icicles. I use ido-mode for the minibuffer. In a dired buffer, when I press + (bound to dired-create-directory), here is what happens: the first time, the error icicle-restore-...
4
votes
1answer
101 views

My imenu-entries get double listed. How could I correct that?

With the PHP-mode that's shipped with Emacs, suppose I have the following PHP function: public function foo() { print "bar"; } Imenu will list the foo in all methods and public methods. Other ...