Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [prompt]

The tag has no usage guidance.

0
votes
3answers
38 views

How to prompt to ask for confirmation when C-x C-c in emacsclient?

I use (setq desktop-save 'ask) in my init.el, so every time I C-x C-c to exit Emacs, it will prompt to ask if saving desktop or not; I use this trick to avoid accidentally exiting Emacs. But after ...
2
votes
2answers
50 views

Prompt with pre-populated minibuffer input

I need to prompt user for input, but I also would like to prepend the user's minibuffer input with a string. e.g.: user runs my function after the prompt, the text awesome (hardcoded string) is ...
-1
votes
1answer
90 views

Term double prompting (duplicate prompts) in Emacs

My term in emacs appear: 0;me@debian: ~me@debian:~$ instead of me@debian:~$ ~$ echo $PS1 \[\e]0;\u@\h: \w\a\]\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;33m\]\w\[\033[00m\]\[\033[0;35m\]$\[\033[0m\] ...
1
vote
0answers
152 views

Tramp fails to open remote shell when connecting to android

I'm trying to connect to my Android device via SSH using TRAMP. I've setup my SSHDroid, configured ssh keys and my ~/.ssh/config, so I'm able to connect with just ssh android from terminal. But when ...
2
votes
1answer
102 views

PS1 under term and shell doesn't match system

I find under both shells and terms in Emacs my prompt does not appear as I would expect based on my $PS1 appears as... # Shell under Emacs ]0;slackline@583.datascience.work.com: /home/slackline@samba....
2
votes
1answer
57 views

Set focus to minibuffer window

Some commands use Emacs' minibuffer to prompt for input. I occasionally do something which moves the focus to another window and away from the minibuffer. In these cases I cycle windows with C-x o ...
1
vote
3answers
58 views

call write-file interactively with prompting

I have a function that creates a buffer, with a default file name, and would like the first user action for that buffer be a prompt to write the buffer to a file, allowing the user to change the ...
0
votes
1answer
63 views

Show file name in delete prompt?

When I delete the current buffer's file (in spacemacs via SPC f D, a prompt shows up in the minibuffer: Are you sure you want to delete this file? (y or n) I would find it safer if that warning ...
0
votes
1answer
30 views

customize evil ex prompt

I'm wondering if there's any way, even if via advice or re-definition, to customize the evil ex prompt. Sometimes I invoke it instead of M-: to evaluate an expression, so I was thinking of showing a ...
2
votes
1answer
99 views

How to automatically select an option in a specific prompt?

When I'm programming Python, I will use rope to rename variables (using ropemacs). rope-rename pops up a dialogue after you provide a new variable name, where you can preview the change, cancel, or ...
4
votes
0answers
134 views

Remove extra prompts in inferior-python-mode with ipython

emacs24.5 -Q M-: (setq python-shell-interpreter "ipython") RET M-x run-python RET Python 3.5.1 (default, Dec 7 2015, 12:58:09) Type "copyright", "credits" or "license" for more information. ...
4
votes
0answers
41 views

read-char behaving unpredictably

In a nutshell, the problem I'm having is that evaluating the expression (read-char "some prompt") sometimes fails to show the specified prompt (but works as expected otherwise). Unfortunately, from ...