Hot answers tagged

9 votes

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

You can use C-M-j which calls ivy-immediate-done to force the output to be exactly what you typed instead of having it complete to the the nearest match This and more information can be found in the ...
Jules's user avatar
  • 1,225
9 votes
Accepted

Icomplete and Ido: Why are both in the codebase?

Ido is implemented in a way that would require a big rewrite for it to support completion in different context, not just the handful of the pre-defined ones. But it was born at the time when it was "...
Dmitry's user avatar
  • 3,518
6 votes
Accepted

Edit org-mode tags using ido or ivy completion

For those users of an ivy/counsel persuasion, the command counsel-org-tag (added in v0.6 AFAICT) enables ivy-backed completion (including multiple selection and deselection) of org-mode tags: ...
Basil's user avatar
  • 12.2k
5 votes
Accepted

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

According to https://github.com/abo-abo/swiper/issues/648, it's simply (setq ivy-virtual-abbreviate 'full) It's not quite as nice as opened buffers (where only the differing part is shown), but ...
unhammer's user avatar
  • 1,137
5 votes
Accepted

What does 'ido-everywhere' actually do?

ido-everywhere function (define-minor-mode ido-everywhere "Toggle use of Ido for all buffer/file reading. With a prefix argument ARG, enable this feature if ARG is positive, and disable it ...
junnu's user avatar
  • 780
5 votes
Accepted

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

You should either set ido-auto-merge-work-directories-length to a negative value, or increase the number of seconds in ido-auto-merge-delay-time.
jagrg's user avatar
  • 3,854
4 votes
Accepted

How to enable ido-mode forever?

I've decided to answer my question as some other noobs like me could have the same problem. Just follow the following steps(everything that I'm going to say is on these links https://www.emacswiki.org/...
n00b's user avatar
  • 171
4 votes
Accepted

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

Thanks for all the answers. After inspecting it further, I found the option dired-jump which does the same as dired but without the IDO/Helm. The docstring tells the following Jump to Dired buffer ...
ReneFroger's user avatar
  • 3,808
4 votes

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

If you want to disable helm completion for some specific command when helm-mode is on, you can modify the user option helm-completing-read-handlers-alist, for example, for you request (add-to-list '...
xuchunyang's user avatar
  • 14.4k
4 votes
Accepted

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

I use the following snippet to select a recently clocked task with ido: (defun org-clock-in-select () (interactive) (let (res) (dolist (i org-clock-history) (with-current-buffer (...
mutbuerger's user avatar
  • 3,454
4 votes
Accepted

Completing read a directory or an element from a list

You can try something like: (let* ((dir-table (apply-partially #'completion-table-with-predicate #'completion-file-name-table #'file-...
Stefan's user avatar
  • 26.3k
4 votes

Emacs - suppress Completion Buffer

Set the variable completion-auto-help to lazy. The documentation says: Non-nil means automatically provide help for invalid completion input. If the value is t the *Completion* buffer is displayed ...
matteol's user avatar
  • 1,918
4 votes
Accepted

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

Asuming that C-x C-f is bound to ido-find-file you drop back to the non-Ido version by typing C-x C-f again or just C-f. This will allow you to create the file you want without Ido interfence.
FredrikHedman's user avatar
3 votes
Accepted

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

With yet even more searching on the net and forums, I saw a single lonely reference to (setq ido-enable-flex-matching t), which is slightly different than the many references to (setq ido-mode-flex-...
Kevin's user avatar
  • 1,308
3 votes

Recently opened files in ido-mode

what I've resorted to in this case is going back to normal minibuffer behaviour by typing C-f in idomode. Then you'll have normal history browsing keys. If you know it in advance, it can be quick : C-...
yourfriend's user avatar
3 votes
Accepted

Can counsel functions use ido-flex style matching?

For a regular counsel (that is actually using ivy backend) try to setup smth like: (setq ivy-re-builders-alist '((swiper . ivy--regex-plus) (t . ivy--regex-fuzzy))) ...
Maxim Kim's user avatar
  • 1,721
3 votes
Accepted

Setting the major mode of a new buffer interactively

I know this is not exactly what you're asking, but the Emacs way to solve this problem is to use C-x C-f instead of C-x b (if you don't want to create a file, just don't use C-x C-s in that buffer).
Stefan's user avatar
  • 26.3k
3 votes
Accepted

How can I exit completing-read with the current string instead of a completion with fido?

You have to use icomplete-fido-exit. It's by default bound to M-j. (icomplete-fido-exit FORCE) Attempt to exit minibuffer immediately with current input.
Zeta's user avatar
  • 1,065
2 votes

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

For files (and directories, not buffers) C-f makes it fall back to non-ido behavior. C-f runs the command ido-magic-forward-char (found in ido-completion-map), which is an interactive compiled Lisp ...
x-yuri's user avatar
  • 281
2 votes

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

(require 'dired-x) Then press C-x C-j to open dired in the current directory.
abo-abo's user avatar
  • 14k
2 votes
Accepted

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

Turn off ido-mode. Ido takes over the minibuffer, imposing its own, radically different key bindings and behavior. Ido is not compatible with Icicles or with the vanilla Emacs minibuffer key ...
Drew's user avatar
  • 76.4k
2 votes
Accepted

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

Vanilla imenu presents things hierarchically, so you'd first have to choose between Public/Private/All functions, before you actually chose from a list of actual function. However, this is confusing ...
Jordon Biondo's user avatar
2 votes
Accepted

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

ido gets its file history from multiple places: If ido-use-virtual-buffers is enabled, ido uses recentf to save buffer history. At history save time (e.g. on emacs shutdown), recentf-files may ...
Croad Langshan's user avatar
2 votes

Failed to load ido.el

Ido is part of Emacs since Emacs 22, you can (and should) load it without any setup. Emacs 24 can or can't load Emacs 25's ido.el. The backtrace complains: can't load seq. seq is added from Emacs 25.1....
xuchunyang's user avatar
  • 14.4k
2 votes

Using ido completion for selecting a repository for magit

Finally, I found the solution to my problem. magit-status ultimately calls read-file-name. The read-file-name function uses read-file-name-function variable to find the function that it can call for ...
narendraj9's user avatar
2 votes

Using ido completion for selecting a repository for magit

Magit only used magit-completing-read when reading "magit-specific" things. When reading things that other packages also need to read, then it uses the specialized functions provided by Emacs instead. ...
tarsius's user avatar
  • 25.5k
2 votes

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

Define "belong together". Only you know which files and buffers belong to a given context/project. If you can define that set then you can label its elements. In some contexts you can introduce your ...
Drew's user avatar
  • 76.4k
2 votes

How select and kill desire many buffers in ido mode?

ido isn't designed for that; use the buffer list instead. C-x C-b opens a buffer containing a list of all buffers that are open. In this buffer you can use C-k to mark buffers to be deleted, then x to ...
db48x's user avatar
  • 16.8k
2 votes

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

It's also possible to pause Ido completion by typing C-f at the Ido prompt as soon as you have the correct directory, and then type the new file name: C-x C-f navigate to directory C-f type new file ...
PRouleau's user avatar
  • 786
2 votes

find-file using ido as case sensitive

Set ido-case-fold to nil -- User Option: ido-case-fold If the value of this user option is non-‘nil’, searching of buffer and file names should ignore case. update Take care of: do not ...
Muihlinn's user avatar
  • 2,594

Only top scored, non community-wiki answers of a minimum length are eligible