Questions tagged [minibuffer]

The minibuffer is a part of Emacs used to read in complex commands or arguments.

24 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
9
votes
0answers
610 views

How to immediately resize the minibuffer window?

Suppose that I have this function, that inserts some stuff into the minibuffer: (defun foobar () (interactive) (minibuffer-with-setup-hook (lambda () (let ((resize-mini-windows t)) ...
5
votes
0answers
109 views

How to stop background processes interrupting minibuffer

I have a couple of background processes that I regularly run, such as mu4e and jabber-mode. These, and other, processes provide updates to the minibuffer. Unfortunately, they do so when I'm already ...
5
votes
1answer
643 views

Case-insensitive filename completion in `shell-command'

I know I can get case-insensitive filename completion in the minibuffer using read-file-name-completion-ignore-case, but this doesn't seem to apply to all filename completion in the minibuffer. ...
2
votes
1answer
111 views

Minibuffer for each window

Is there a way to have a minibuffer window for each window? I don't want recursive minibuffers, just one per window so that I don't have to look to the bottom of the screen when editing a window ...
2
votes
1answer
75 views

Can't switch input sources in the minibuffer during Isearch

Incremental search doesn't allow me to switch between different input sources, e.g. US English to French, when I'm typing my search string into the minibuffer. Is there a way to fix this? It happens ...
2
votes
0answers
71 views

Disable ipython show output in minibuffer

I am using Ipython 3.6.3 with Emacs(elpy enabled) 25.2.2 on Kubuntu 17.10. I realize that sometimes output of Ipython keep showing at minibuffer, which is very annoying. But, I cannot find the value ...
2
votes
0answers
82 views

Prevent text jumping up the screen when dismissing Swiper

Swiper creates a minibuffer many lines in height. This height is borrowed equally from my existing, vertically-arranged, windows. When Swiper is dismissed, this space is recovered by the windows and ...
1
vote
1answer
72 views

Browse url at point when clicking and pressing super

I am trying to make emacs open the url displayed under the current point when I left click and press the super key at the same time. I am trying with this code but it does not work (global-set-key (...
1
vote
0answers
54 views

Org-capture prompt input method

Can I make it so that an org-capture prompt "%^{greek}" automatically switches the minibuffer input method to Greek?
1
vote
0answers
55 views

Temporarily preventing helm from reading the mini-buffer

I use helm to select research papers for citation. I am currently trying to implement a command that would sort papers based on multiple criteria selected by the user. The input for this command (i.e. ...
1
vote
0answers
209 views

Using company-mode completion with read-from-minibuffer

The following code (mostly coming from here) creates a company-mode back-end and binds TAB to it: (require 'company) (defconst sample-completions '("procedural" "functional" "high-level" "low-...
1
vote
0answers
44 views

Advance minibuffer-line to show things on the right site, even if mini-buffer is in use

I know there is minibuffer-line to display things in the minibuffer if it is not in use. I would like those things to be displayed from the right in the minibuffer, even if it is in use, how would i ...
1
vote
0answers
41 views

Accept and submit minibuffer isearch result with a single keypress

I like how Bash handles i-search: C-r, type some characters, C-r a couple more times to find the desired command, then hit Return and the command is executed. If I want to edit the command before it'...
1
vote
0answers
46 views

Quitting minibufer works no more in 24.5.1?

In GNU Emacs 24.5.1, which comes with Ubuntu 16.04 Xenial Xerus the C-g does not abort the command like it used to do in earlier versions, which is annoying as it breaks the habit. There is C-] ...
1
vote
0answers
43 views

wildcard expansion in buffer

I'm debugging with pdb in emacs and one of the parameters to the program I'm debugging is a list of regular expressions wrapped in quotes. Basically, pdb someProgram.py 'regex .* .*' from the ...
0
votes
0answers
34 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
42 views

ace-window cursor to minibuffer

How to configure ace-window to put the active cursor always into minibuffer when pressing a special key (like i.e. 'z'). Reason is: I think it would be more convenient to always just press 'z' for ...
0
votes
0answers
44 views

Increase minubuffer font size for quail mode completion

I am trying to increase the font size of the text overlay displayed in the minibuffer when using quail completion without success so far. Does anyone have any idea how to achieve this? EDIT: I was ...
0
votes
1answer
61 views

Run function at the end and begin of any minibuffer interaction

I tried to advice read-from-minibuffer and read-string but nothing worked. For example, when I called yes-or-no-p, no advice handlers were called. Is there general way how to detect that user is ...
0
votes
0answers
43 views

Error when typing C-0 C-k in minibuffer

It is from yesterday that emacs behaves in an unexpected way, as I will now explain. If I open emacs and I open the minibuffer with C-x C-f and the I press M-0 C-k, emacs deletes the line, this is the ...
0
votes
0answers
43 views

Pre fill minibuffer upon calling to helm-projectile function

Based on this answer, and its with-initial-minibuffer function, I am trying to call helm-projectile-grep, customizing minibuffer pre-filling. I try to avoid the default behaviour, which is to pre-...
0
votes
0answers
45 views

Minibuffer prompt not displaying (intermittently) in daemon mode

I am using Emacs 24.5 on Mac OS (installed with homebrew) in daemon mode. I normally leave the daemon running for long periods of time (weeks) while I'm working. I'll open up files from the command ...
0
votes
0answers
146 views

What's the mode hook for dired's minibuffer?

Starting dired with M-x dired and hitting M-x dired-create-directory I am now in a mini-buffer. Which mode-hook do I use to set a keybinding for the mini-buffer?
0
votes
1answer
33 views

Minibuffer text alignment problem

The text that is displayed in my mini buffer is misaligned, like this https://imgur.com/a/htfRVI3 Specially all the columns are garbled, like its trying to wrap text? How can I make it so that they ...