Questions tagged [minibuffer]

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

The minibuffer is where Emacs commands read complicated arguments, such as file names, buffer names, Emacs command names, or Lisp expressions. It's called the "minibuffer" because it's a special-purpose buffer with a small amount of screen space. It is still an Emacs buffer, a first-class object, but it is a specialized one.

44 questions
1
vote
1 answer

emacs function to send password to minibuffer when asked for

I usually connect to a machine through SSH and using ssh.el. I defined a command so I can do this quickly: (defun ssh-me() (interactive) (ssh "myuser@myhost")) After that, the mini-buffer asks me for the password and everything works fine. I am…
makeMonday
  • 2,303
  • 4
  • 25
  • 43
1
vote
1 answer

How to make minibuffer not to show up "Matches (" in Emacs?

When I was editting text in minibuffer ,I entered "(" and ")". Then minibuffer shows message like "Matches (" for a few seconds. I do not want this message showing up. How to make this message function off? I think show-paren-mode is enough for me…
Kei Minagawa
  • 4,395
  • 3
  • 25
  • 43
1
vote
1 answer

How to kill minibuffer after period of inactivity?

I usually encounter situation when I enter minibuffer command such as open file or change buffer and instead of completing it in a minibuffer, I start doing something else, usually editing the buffer. I would like that minibuffer simply forget the…
mpiktas
  • 11,258
  • 7
  • 44
  • 57
1
vote
1 answer

Highlighted text in Emacs minibuffer

I'm trying to display some highlighted text in the Emacs minibuffer. I know it's possible because SLIME does it when displaying argument hints. However, I can't see how it's being accomplished by looking at slime.el. Based on what I'm reading there,…
Inaimathi
  • 13,853
  • 9
  • 49
  • 93
1
vote
1 answer

Need help to rewrite a elisp function to use minibuffer+ido instead of ibuffer

I’m using Distel for my erlang development but the function that is used for completion is printing its output in an ibuffer. I would like to get it in the minibuffer with ido support instead, does anyone know of a way to do it? Here is the…
SpaceOgre
  • 107
  • 1
  • 12
1
vote
1 answer

Expand envvar in minibuffer

When the cursor is in minibuffer typing $ and then a few characters, say $HO offers envar name completion, for example running cygwin Emacs on Windows 7 it offers me $HOME, $HOMEDRIVE and $HOMEPATH. As well, typing a / after a complete variable name…
Miserable Variable
  • 28,432
  • 15
  • 72
  • 133
1
vote
2 answers

Add content to Emacs minibuffer as the user types in it?

I'm probably going down the wrong path here, so let me know if I am. I'm trying to build a similar user interface to that which Vim's ctrlp and other plugins use, whereby the user is given a prompt, and as they type, results are shown above the…
d11wtq
  • 34,788
  • 19
  • 120
  • 195
1
vote
2 answers

whitespace-mode in minibuffer?

Is there a way I can turn on whitespace-mode in a minibuffer? I'm not sure I'll stick to it - but sometimes I need it. I tried to add-hook all the M-x apropos RET minibuffer hook RET: (mapc (lambda (language-mode-hook) (add-hook…
Adobe
  • 12,967
  • 10
  • 85
  • 126
0
votes
1 answer

How to change the face of the text in the minibuffer when running in terminal mode?

When pressing M-x in Emacs, the focus switches to the minibuffer. When running Emacs in terminal mode, I have found that this text is really difficult to read as it is dark blue and difficult to distinguish from the dark grey color of my terminal.…
HelloGoodbye
  • 3,624
  • 8
  • 42
  • 57
0
votes
1 answer

Removing extra messages in completion minibuffer in emacs

when I type in emacs shell and tab to complete, a completion minibuffer shows up and list the possible completions like this: Click on a completion to select it. In this buffer, type RET to select the completion near point. Possible…
EAGLE
  • 3
  • 2
0
votes
1 answer

How to clear Emacs echo area in my program?

I have this code: (defun do-repeated-work (args) "some work that need executed repeatedly" (message nil) (message "doing some repeated work, arg = %s, current time = %s" args (format-time-string "%H:%M:%S"))) (setq timer (run-with-idle-timer 3 t…
dnxbjyj
  • 23
  • 3
0
votes
3 answers

dynamic expansion in minibuffer no longer works when upgrading from Emacs 21.2

Continuing my process of migrating the latest & greatest Emacs 23.2, I hit another unpleasant surprise: dynamic expansion in minibuffer no longer works! By "dynamic expansion in the minibuffer" I mean the feature that lets you blindly hit the…
Android Eve
  • 14,864
  • 26
  • 71
  • 96
0
votes
1 answer

Update minibuffer in the isearch-update-post-hook

In my search to find a simpler solution that the one found "1 of n" result for Emacs search I've come up with the following package https://github.com/nordlow/elisp/blob/master/mine/indexed-isearch.el But the information displayed is delayed one…
Nordlöw
  • 11,838
  • 10
  • 52
  • 99
0
votes
1 answer

Extending Minibuffer Message for save-buffer

Is it possible the extend the minibuffer message for save-buffer to instead print something like Wrote /home/per/Work/justd/fs.d (L lines, T tokens, C chars) If so what hook/string should I modify
Nordlöw
  • 11,838
  • 10
  • 52
  • 99
1 2
3