The combination of org capture, org-metaleft (bound to S-LEFT), and refiling can mess up an org file. Here is an example:
- Start a new heading with quick capture, say
*** new. This heading is refiled depending on your quick capture template, say** Miscellaneous. - Press
S-LEFTtwice, which is bound toorg-metaleftand which I often use to go back a word instead ofM-b. The heading*** newbecomes* newand all the next level 2 headings will become children of this new heading. - Refile with
C-c C-w, say to* Today. The heading becomes** newand carries all the children with it to the new location.
The problem with this behavior is that it is completely hidden, unlike in the main buffer where I would see it happening. So I think org-metaleft should be disabled in org capture.
Why is it enabled, and how to turn it off?
org-modeand do not anticipate installing it any time soon. That being said, a quick Google search lead me to the variableorg-capture-mode-mapwhich contains a doc-string: "Keymap fororg-capture-mode, a minor mode. Use this map to set additional keybindings for when Org-mode is used for a capture buffer." So, perhaps you can just define the key has having anilvalue for the function ... See: https://emacs.stackexchange.com/questions/7546/disable-org-mode-keyboard-shortcuts You may need to(require 'org-capture)or useeval-after-load... – lawlist Nov 12 '19 at 18:100.2 hours -- 12/17/2019: Conference with client.I manually log my time in/out. For the past 5+ years, I have strictly used a custom/modified version oforg-modeto keep track of tasks and events, using the same keywords astoodledo.com, which I sync with using a custom/modified oforg-toodledo.el. I use a custom/modified version ofcalfw; and, https://github.com/lawlist/lorg-calendar – lawlist Dec 07 '19 at 23:28