Nicolas Goaziou
6d9022df22
Make LaTeX preview toggle more useful and predictable
...
* lisp/org.el (org-remove-highlights-with-change):
(org-mode): Update.
(org--format-latex-make-overlay):
(org--list-latex-overlays): Remove functions.
(org--make-preview-overlay):
(org-clear-latex-preview):
(org--latex-preview-region):
(org-latex-preview): New functions.
(org-format-latex): Use new function
* lisp/org-compat.el (org-toggle-latex-fragment):
(org-remove-latex-fragment-image-overlays): Deprecate.
* doc/org-manual.org (Previewing LaTeX fragments): Update
documentation about `org-latex-preview'.
See <http://lists.gnu.org/archive/html/emacs-orgmode/2019-02/msg00138.html >.
2019-02-14 00:14:25 +01:00
Nicolas Goaziou
8ba23b9ce1
Merge branch 'maint'
2019-01-29 10:08:51 +01:00
Nicolas Goaziou
c413bbb3b0
org-keys: Re-instate <return> bindings
...
Reported-by: Bernt Hansen <bernt@norang.ca>
<http://lists.gnu.org/r/emacs-orgmode/2019-01/msg00312.html >
2019-01-24 14:17:49 +01:00
Nicolas Goaziou
354e2d4a2d
org-keys: Fix last commit
2019-01-12 12:01:38 +01:00
Nicolas Goaziou
8a1957d592
org-keys: Use RET instead of <return> where possible
...
* lisp/org-keys.el (org-mode-map): Use RET instead of <return> where
possible.
Reported-by: Kévin Le Gouguec <kevin.legouguec@gmail.com>
<http://lists.gnu.org/r/emacs-orgmode/2019-01/msg00162.html >
2019-01-12 11:54:02 +01:00
stardiviner
34b71a0ca9
Add a dispatcher command for inserting dynamic blocks
...
* lisp/org.el (org-dynamic-block-insert-dblock,
org-dynamic-block-alist, org-dynamic-block-functions,
org-dynamic-block-types, org-dynamic-block-define,
org-dynamic-block-function): New variables, New functions.
* lisp/org-keys.el (org-dynamic-block-insert-dblock): Add binding for
the function.
(org-clock-report, org-columns-insert-dblock): Remove function
keybindings. Mark them as obsolete.
* doc/org-manual.org (Dynamic Blocks): : Add manual for dispatch
command `org-dynamic-block-insert-dblock'.
* testing/lisp/test-org-clock.el: New test.
2019-01-02 15:55:51 +01:00
Nicolas Goaziou
4ef9228617
Silence byte-compiler
2018-11-30 21:18:29 +01:00
Nicolas Goaziou
144c27e39d
org-keys: Extract key bindings into their own library
...
* lisp/org.el (org-replace-disputed):
(org-use-extra-keys):
(org-disputed-keys):
(org-key):
(org-defkey):
(org-use-speed-commands):
(org-speed-commands-user):
(org-follow-link-hook):
(org-tab-follows-link):
(org-return-follows-link):
(org-return-follows-link):
(org-mouse-1-follows-link):
(org-mouse-map):
(org-read-date-minibuffer-local-map):
(org-remap):
(org-speed-commands-default):
(org-print-speed-command):
(org-speed-command-help):
(org-speed-move-safe):
(org-speed-command-activate):
(org-babel-speed-command-activate):
(org-speed-command-hook): Move to "org-keys.el".
* lisp/org-keys.el: New file.
* lisp/ob-keys.el: Remove file.
2018-10-03 18:44:34 +02:00