Questions tagged [minibuffer]
The minibuffer is a part of Emacs used to read in complex commands or arguments.
236 questions
0
votes
0
answers
42
views
How can I make Hydra not add an empty line at the end of the minibuffer?
Following is my Hydra config,
;; hydra
(use-package hydra
:ensure t
:config
(defhydra hydra-zoom (global-map "<f5>")
"zoom"
("g" text-scale-...
0
votes
1
answer
62
views
Minibuffer Message
It is normal and common in Emacs Lisp to use the function message
to output information in the minibuffer for users to see. The
minibuffer (or echo area) can be used for brief status messages,
...
3
votes
1
answer
111
views
Making cd and recentf consistent
The cd command like the shell command of the same name changes directory.
recentf allows to remember file across emacs/OS restarts.
Now cd uses the recentf history on M-p. But non-directory files ...
1
vote
0
answers
33
views
How to see buffer interaction when Ert test is running like in Edebug
Ert test doesn't display interaction with working buffer like Edebug.
Simply, I started an Ert test that opens a buffer like:
(ert-deftest my-test ()
(let* (...)
(with-temp-buffer
(erase-...
2
votes
1
answer
217
views
explanation for the unexpected completion behavior in minibuffer?
It is self-explanatory in the screenshots below. As an example, typing sgf does not show the all file names containing sgf? It only shows the candidate file name starting with sgf:
Instead, typing an ...
1
vote
1
answer
78
views
Tab-completion in Minibuffer underlines and uses only current input, even if partial completion is shown
I've installed emacs 30.0.60 on Android.
Tab-completion in the minibuffer for file names and for commands does not work as I am used to it with emacs -Q.
Assume, there exists a file name ~/notes.org ...
1
vote
1
answer
106
views
Inconsistent y-or-n-p prompt behavior in Emacs Lisp
I have the following Emacs Lisp code:
(progn
(y-or-n-p "Test: ")
(let ((search-spaces-regexp "\\(?:\n?[\s\t]+\\|\n\\)?"))
(y-or-n-p "Test: ")))
The first prompt ...
1
vote
1
answer
169
views
Different fonts for buffer, minibuffer and modeline
I tried set-frame-font but it changes the font for not just the buffer, but also minibuffer and modeline.
Is it possible to just change the font for the buffer, but not minibuffer and modeline?
i.e. I ...
0
votes
0
answers
83
views
How to expand documentation from the M-x minibuffer when using vertico?
How to expand documentation or add a popup for an entry in the M-x minibuffer [Edit: when using vertico] ?
I only get to see a bit of the documentation of each entry and text-scale-decrease does not ...
1
vote
0
answers
101
views
Doom Emacs: Return puts cursor in beginning of minibuffer Instead of opening file
After a fresh install of Emacs and Doom, the program hangs after attempting to open a file from the mini-buffer.
I've been trying to set up doom emacs for the first time on a newly installed Fedora OS....
1
vote
3
answers
299
views
orderless doesn't handle spaces when searching for completions
I'm trying orderless and using the basic configuration from the github page, I'm not seeing the expected behavior when using spaces: the github page suggests that, with the suggested basic ...
1
vote
1
answer
72
views
Emacs 29.1: read-string prompt bug?
I have this example function:
(defun my-test ()
(interactive)
(read-string "Very\nvery\nvery\nvery\nvery\nvery\nvery\nvery\nvery\nvery\nvery\nvery\nvery\nvery\nvery\nvery\nlong-prompt: ")...
0
votes
0
answers
82
views
dired-do-rename and last path in minibuffer
When attempting to move a file in Dired using dired-do-rename, the prompt in the minibuffer currently defaults to the directory from which the files are being moved. It would be beneficial if Dired ...
0
votes
1
answer
114
views
Finding out whether point is at the beginning of a minibuffer with initial text
I'm using Vertico for completion, which uses the command vertico-exit-input to exit, particularly when the input is empty. I would like to trigger this command when I press the left arrow key while ...
0
votes
1
answer
78
views
Window configuration overwritten on minibuffer close
Here's a really nasty Emacs bug that has pained me for a long time. In tab-bar-mode with two tabs open (call them "tab X" and "tab Y,")
Open tab X.
Do C-f or a similar command ...