Skip to main content
15 events
when toggle format what by license comment
Mar 22, 2023 at 1:15 vote accept oOosys
Mar 16, 2023 at 17:40 answer added db48x timeline score: 1
Mar 16, 2023 at 11:35 history edited oOosys CC BY-SA 4.0
updated question due to comments
Mar 16, 2023 at 11:11 history edited oOosys CC BY-SA 4.0
rewritten the question
Mar 16, 2023 at 2:20 review Close votes
Apr 8, 2023 at 3:04
Mar 16, 2023 at 2:06 comment added Drew Start here, to understand how keys (and events generally) get processed.
Mar 16, 2023 at 2:03 comment added Drew Please remove the extra questions in your post. You can post them separately. One question per post please.
Mar 16, 2023 at 0:55 comment added oOosys The question is how to get the mappings for the different modes? I have tried to start from the minibuffer to get its keymap, but this didn't work as expected.
Mar 16, 2023 at 0:46 comment added oOosys I am more or less through C-h t . I will check out Ch i g(emacs) ...
Mar 16, 2023 at 0:43 comment added NickD I recommend that you go through the Emacs tutorial (C-h t) and read the manual (C-h i g(emacs)) in tandem. There is no royal road to Emacs...
Mar 16, 2023 at 0:40 comment added NickD The thing is that there isn't just one keymap: different buffers may have different major modes and each major mode has its own keymap. It may be that you have a buffer in Fundamental mode e.g. and the keymap for that mode does not have a binding for M-p. But if you try to do M-x something, you end up in the minibuffer which has its own keymap and in that keymap there is a binding for M-p.
Mar 15, 2023 at 23:32 comment added oOosys @NickD : keymap called using C-h b is a great help to get an overview of key bindings. What I don't understand is why M-p is not mentioned in that list? Where I can find the description what M-p does? Calling C-h k -> M-p results in the response that M-p is not defined ... but I can get the last command retrieved using it, so it is defined ... Hmmm ...
Mar 15, 2023 at 20:13 comment added NickD Do C-h f self-insert-command: that's the command that's bound to most keys. Its effect is to insert the character corresponding to that key into the buffer. The basic notion is that of a keymap: a keymap maps a key (which may actually be a key sequence) to a command, so what Emacs does is figure out what key was pressed, look it up in a keymap and call the command that corresponds to it. There are all sorts of complications, but that's a decent high level view and a good approximation to the truth.
S Mar 15, 2023 at 14:18 review First questions
Mar 16, 2023 at 1:16
S Mar 15, 2023 at 14:18 history asked oOosys CC BY-SA 4.0