Questions tagged [confirmation]
6 questions
2
votes
1 answer
widget: Setting to control "y/n" confirmation with system popup versus minibuffer
On OSX, using the following variable/keymap and code snippet, a mouse click on the "SUBMIT" button will generate a system popup confirmation message, whereas an enter key on the "SUBMIT" button will generate a minibuffer confirmation message. Is…

lawlist
- 18,826
- 5
- 37
- 118
2
votes
1 answer
"Auto-Confirmation: Automatically Saying Yes" but how?
i have
(defun insert-buffername ()
(interactive)
(compile (concat "lua " (buffer-file-name))))
(global-set-key (kbd "C-c C-e") #'insert-buffername)
but when i use this key binding it always asks me "Save file: (y, n, !, ...)" question
which i…

oleg harput
- 51
- 1
1
vote
1 answer
Never prompt me again with the words "Buffer modified"
I would like to know how I can never again be prompted when I invoke the command
kill-this-buffer
with the words
Buffer modified; kill anyway?
I would thus like to kill the buffer immediately without saving any changes made to the buffer and…

Edman
- 1,167
- 7
- 13
1
vote
2 answers
How to ask for confirmation before killing any new modified buffer?
What's the best way to prompt for confirmation before killing any modified buffer, including new buffers created by evil-buffer-new, which creates a buffer without an associated filename. Modified file buffers already have confirmation, but modified…

Gavin
- 183
- 8
1
vote
1 answer
Mollyguard specific functions (delete-frame)?
I have recently started using multiple frames regularly. I keep accidentally hitting C-x 5 0 instead of C-x 5 o. I do want to still be able to close frames, but I want an "are you sure? (y/n)" or similar prompt first. Is there anything built-in that…

memtha
- 137
- 6
0
votes
0 answers
Automatically kill an in-progress compilation when compile is (re)invoked?
Dozens of times per day I tap C-x m to build, then discover something i need to change, change it, tap C-x m again, and get a prompt from Emacs:
A compilation process is running; kill it? (yes or no)
In 25 years of using Emacs I have never not…

sgbeal
- 1