Questions tagged [m-x]
The m-x tag has no usage guidance.
16
questions
0
votes
1
answer
62
views
With Ivy/Counsel, why are some foreground colors in `M-x` a different color than others?
Please see the picture below. Why are some things colored orange? I can't figure out what Face is causing that. This is using Ivy/Counsel.
0
votes
0
answers
31
views
multiple-cursors activates M-x automatically
Somehow when running mc/edit-beginnings-of-lines and mc/edit-ends-of-lines it activates M-x for all lines, not letting me use the cursors, how to solve this? I just took a look at .mc-lists.el and ...
1
vote
0
answers
416
views
Emacs M-x binding on Mac M1
In emacs M-x command-name can be used to invoke a command.
However in Mac M1, for some reason, this is not working.
Basically, I am trying option + x or M-x.
Any idea about this?
4
votes
2
answers
225
views
Display summary information on command when running Meta-x
Since I'm new to GNU Emacs (version 26.1 running on Debian Stable) I'd like to get some information when invoking a command using Meta-x. Currently I'm only able to see a list of possible completions ...
3
votes
2
answers
635
views
How do I get an initial M-x argument?
I use an asterisk in my function names, so that to execute one
of my own functions, I would begin by typing M-x *. Now I
would like to save myself a keystroke and achieve the same by
M-X. How do I ...
1
vote
1
answer
348
views
helm-M-x fuzzy not working (only match if provide proper prefix)
I set helm-M-x-fuzzy-match to true, but it is not working as I want.
For example, if I type log:
I expect it to show clm/toggle-command-log-buffer as well.
0
votes
2
answers
577
views
How do I define a function to execute as a command with M-x? [duplicate]
I wish to M-x my-func and let my code run. This seems basic but where can I get more documentation about this, if possible inside emacs itself?
1
vote
1
answer
72
views
Commands with Keybindings only
When I run helm-M-x and enter characters, I like to see only those commands which has key-bindings. How I can achieve that? I like to have reverse functionality as well, ie.. commands without key-...
3
votes
3
answers
1k
views
How do I persist M-x calls so they can be displayed in MRU order?
I would like it if my Emacs were to save the M-x calls in most-recently used order and if this order could persist and grow across restarts/other sessions. I am using Helm, so I guess I should be ...
0
votes
2
answers
439
views
Re invoke M-x command
After running something with M-x some-command, how do folks get back to the same command?
In this example (assume C-x w h is not available please)
I try to match some text between DATABASE_URL=...
0
votes
1
answer
73
views
Why doesn't generate-new-buffer work in M-x?
According to the documentation generate-new-buffer "buffername" creates a new empty buffer with the given name, yet when I try it in M-x the prompt refuses the name and replaces it with "No match". ...
0
votes
1
answer
934
views
Move folder using spacemacs with emacs command
I am a beginner using spacemacs and also new to emacs.
What I try is to use the command M-x R new RET (dired-do-rename).
Though everytime I type M-x, which is the same as SPC : I end up with helm-M-x. ...
7
votes
2
answers
609
views
helm - adding helm-M-x to helm sources
I am able to add few extra sources to helm like this
(setq helm-mini-default-sources '(helm-source-buffers-list
helm-source-recentf
...
2
votes
3
answers
276
views
M-x command completions to all occurrences of a substring
If I do M-x insert TAB Emacs shows a list of possible completions like below
Possible completions are:
insert-abbrevs insert-anniversary-diary-entry
insert-block-diary-entry insert-...
11
votes
4
answers
412
views
How to make M-x and C-h f share the history?
It's quite common that I'll look through a command's documentation
with C-h f, and then invoke the command with M-x immediately
afterwards.
Right now, the shortest way I've found to “invoke the last ...
5
votes
1
answer
256
views
M-x sometimes doesn't show me the right options (smex?)
This is most likely a problem with a plugin (caching options, using LRU, etc?), but I'm not good enough to really troubleshoot it. My complete dotfiles (not very extensive) can be found here
I use ...