Questions tagged [inputs]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
85 views

Read multiples arguments for interactive function without sequential read functions

I have an interactive function taking 2 arguments. I can read them with (defun example-fct (arg1 arg2) "This function take two arguments" (interactive (let ((arg1 (read-string "...
user avatar
1 vote
1 answer
62 views

How to provide keyboard input programmatically for org-export-dispatch UI in elisp?

The org-export-dispatch command in org-mode (C-c C-e) brings up an UI from which one can, e.g. select l and l to export the .org file to latex format. My question is: Can one use elisp to fix the ...
user avatar
  • 902
1 vote
1 answer
1k views

Python shell warning about readline and completion?

*Warning*: Warning (python): Your ‘python-shell-interpreter’ doesn’t seem to support readline, yet ‘python-shell-completion-native-enable’ was t and "python3" is not part of the ‘python-shell-...
user avatar
  • 715
0 votes
0 answers
118 views

Impossible to answer y-or-n-p prompt in EXWM if X window is focussed

When a y-or-n-p question (e.g. The file you want to open is very large. Really want to open it?) pops up in the minibuffer while an EXWM buffer is focussed, I have no option to answer the question (...
user avatar
0 votes
1 answer
133 views

How to let make-process prompt user in echo area

This works: (make-process :name "test" :command (list "bash" "-c" (concat "echo hello stdout!; " "echo hello stderr! >&2; " "exit 20")) :buffer (generate-new-buffer "...
user avatar
1 vote
1 answer
307 views

How to avoid a dialog box for input (e.g. "Open File" behavior)?

I generally like to use the emacs-gtk3 package for my editing since I find it has better compatibility with my clipboard and a couple packages I use..but I don't like opening files in the GUI version ...
user avatar
0 votes
1 answer
383 views

Unable to use Microsoft Japanese IME in Emacs under Windows

For some reason I can't seem to use the Microsoft Japanese IME in Emacs, even though I can apparently use the Microsoft Chinese IME to input Chinese without problems. Even if I've switched to the ...
user avatar
  • 2,355
5 votes
2 answers
349 views

Detect if mouse button is held down?

I have some code that runs in a hook that I want to change to only execute only if the left mouse button is not currently held down. I don't see any obvious functions or variables that let me directly ...
user avatar
8 votes
2 answers
539 views

How can I check if a user has pressed a button while a function is running?

I have a function that automatically runs after the user does some action. However, the function takes a long time to complete. This means Emacs becomes unresponsive for a short time after every input....
user avatar
  • 919
1 vote
2 answers
188 views

How to uppercase all input in elisp?

I want to create a mode which in certain states converts all input to uppercase, regardless of the caps-lock status. But I'm at a loss as to how to go for this, and I'm not sure it could even be done. ...
user avatar
  • 173
0 votes
0 answers
89 views

Unable to Send Commands to Omxplayer from Dired

When opening a video file with Omxplayer through dired using dired-do-shell-command, I am unable to send commands to the external program to, for example, pause the video. The file plays fine but all ...
user avatar
1 vote
0 answers
46 views

How to give all inputs of a multiple inputs command at one time

There are commands which take multiple inputs. My question is about the possibility of defining a new command which take all the inputs of another command at one time (separated by commas). As an ...
user avatar
  • 7,284