Skip to main content

Timeline for How to unbind a key?

Current License: CC BY-SA 4.0

16 events
when toggle format what by license comment
S Apr 6, 2022 at 15:31 history edited Drew CC BY-SA 4.0
source typo
S Apr 6, 2022 at 15:31 history suggested buhtz CC BY-SA 4.0
source typo
Apr 6, 2022 at 14:22 review Suggested edits
S Apr 6, 2022 at 15:31
Jun 8, 2020 at 20:42 comment added phils Cross-referencing with stackoverflow.com/a/13966287/324105
Jan 3, 2017 at 18:33 answer added Tyler timeline score: 4
Jan 3, 2017 at 17:23 history edited zck CC BY-SA 3.0
improve code formatting
May 13, 2015 at 22:42 comment added lawlist If, for example, you have a stock Emacs installation (built for OSX) with zero user configuration, the answer to kaushalmodi's question is: "C-e runs the command move-end-of-line (found in global-map), which is an interactive compiled Lisp function in 'simple.el'. It is bound to C-e. (move-end-of-line ARG)" Absent you providing an answer to that specific question, everyone here is just going to be guessing what the conflict might be. And, of course, it is always a good idea to restart Emacs when adding/modifying settings so that those new settings can take effect.
May 13, 2015 at 21:49 history edited Joshua Lilleberg CC BY-SA 3.0
added 141 characters in body
May 13, 2015 at 20:05 answer added Drew timeline score: 7
May 13, 2015 at 20:02 comment added lawlist If you have a major-mode or a minor-mode that is active and uses C-e, then those key bindings will trump a global setting -- minor trumps major, and major trumps global. So, you would need to do what kaushalmodi is suggesting to track down which of those circumstances is likely at issue. Once you figure that out, then you can unset those keys. Here is an example for unsetting org-mode key bindings (a major mode): stackoverflow.com/a/17540326/2112489
May 13, 2015 at 19:50 comment added Kaushal Modi What do you get when you do C-h k C-e?
May 13, 2015 at 19:15 comment added Joshua Lilleberg Sadly didn't work :( but thanks anyway!
May 13, 2015 at 19:11 history edited Dan CC BY-SA 3.0
deleted 19 characters in body; edited tags; edited title
May 13, 2015 at 19:08 answer added Dan timeline score: 33
May 13, 2015 at 19:06 comment added lawlist Here is what I do for C-d -- perhaps it would work for you using C-e instead? -- the help-for-help function is just an arbitrary example: (defalias 'ctl-d-keymap (make-sparse-keymap)) (defvar ctl-d-map (symbol-function 'ctl-d-keymap) "Global keymap for characters following C-d.") (define-key global-map "\C-d" 'ctl-d-keymap) (define-key ctl-d-map "z" 'help-for-help)
May 13, 2015 at 19:00 history asked Joshua Lilleberg CC BY-SA 3.0