I noticed when completing a capture template that the point suddenly jumped back to the left of a hyperlink on the same line in the middle of typing. It seems to only happen when there's a hyperlink on the line, and only within a header. I debugged org-self-insert-command and traced through to org-move-to-column, where I saw the point arrive at its final resting place for org-self-insert-command:
+=== backtrace:
Debugger entered--returning value: 25
move-to-column(25 t)
* org-move-to-column(25 t)
* org-align-tags-here(-77)
* #[nil "\301 f\302\232\205^P^@\303 \205^P^@\304^H!\207" [org-tags-column point-at-bol 42 org-at-heading-p org-align-tags-here] 2]()
* funcall(#[nil "\301 f\302\232\205^P^@\303 \205^P^@\304^H!\207" [org-tags-column point-at-bol 42 org-at-heading-p org-align-tags-here] 2])
* org-fix-tags-on-the-fly()
org-self-insert-command(1)
call-interactively(org-self-insert-command nil nil)
===+
I have org-mode installed from source rather than ELPA or my OS package manager (portage), so I was able to trace through releases and home-in on this behavior's emergence in 8.1 <
http://orgmode.org/w/?p=org-mode.git;a=log;h=release_8.1>
I also tried `emacs -Q -l /path/to/minimal-org.el` with the latest version (8.2.1-45-g92f89e), but experienced the same results.
Thank you for all your impressive work on a vital member of my toolchain, and please let me know if I can improve my report in any way.
Best regards,
Reuben Garrett
p.s. — I apologize if I've ended up posting this twice. I don't know whether my first attempt failed because it hasn't been moderated yet, or because I hadn't registered before sending it.