All Questions
Tagged with default minibuffer
3 questions
1
vote
2
answers
200
views
Make the minibuffer prompt always have a default argument
Is it possible to make the first history item available as the default argument when running commands like eval-expression and goto-line?
I'd like to be able to just press enter to use the previous ...
1
vote
1
answer
127
views
How do you target the present directory, once in a while, with do-what-I-mean enabled?
After setting Dired do-what-I-mean
(setq dired-dwim-target t)
which, quoting the man pages
If non-nil, Dired tries to guess a default target directory. This
means: if there is a Dired buffer ...
4
votes
3
answers
2k
views
Display path and filename in a minibuffer
Eval this code:
(defun xx-display-filename (filename)
""
(interactive "Ffilename: ")
(message (concat "Filename is: " filename)))
Let's assume that I am editing a ~/.emacs.d/personal/custom.el ...