From fe4e335f4d099cfb6470239e7840ca9bd31728ea Mon Sep 17 00:00:00 2001 From: Somelauw Date: Sat, 9 Sep 2017 16:36:49 +0200 Subject: Remove evil-org-recompute-clocks --- doc/changelog.org | 6 ++++-- doc/keythemes.org | 7 ++----- evil-org.el | 16 ---------------- 3 files changed, 6 insertions(+), 23 deletions(-) diff --git a/doc/changelog.org b/doc/changelog.org index 993cff8..7949817 100644 --- a/doc/changelog.org +++ b/doc/changelog.org @@ -1,13 +1,15 @@ * Version 0.9 - Make =I= / =A= ignore ellipses on heading. Also make them respect =org-special-ctrl-a/e=. - Make it possible for =<= and =>= (renamed to evil-org-) to move table columns. - - Introduce variable =evil-org-retain-visual-state-on-shift=. This variable mimics =dotspacemacs-retain-visual-state= in Spacemacs. + - Introduce variable =evil-org-retain-visual-state-on-shift=. This variable mimics =dotspacemacs-retain-visual-state-on-shift= in Spacemacs. + - Remove =evil-org-recompute-clocks= function. Use =org-resolve-clocks= instead. + - Deprecate =rsi= key bindings. * Version 0.8 - Make evil-org-a-greater-org-object (=ar=), evil-org-inner/a-subtree (=iR=, =aR=) text objects linewise. The other text objects remain characterwise. - Improvements to =o/O= - Bind =org-beginning-to-line= to =0=. Leave =^= mapped to =evil-first-non-blank=. - Improve interaction between evil and =org-special-ctrl-a/e=. - - Deprecate evil-org-recompute clocks, because org-resolve-clocks already does this. + - Deprecate =evil-org-recompute-clocks=, =org-resolve-clocks= can be used instead. * Version 0.7 - A hook is no longer created automatically. The following line of code is from now on required in a user config: #+BEGIN_SRC emacs-lisp diff --git a/doc/keythemes.org b/doc/keythemes.org index 1b72b5d..7dbb086 100644 --- a/doc/keythemes.org +++ b/doc/keythemes.org @@ -148,17 +148,14 @@ |-------+-----------------------| ** Commands without default binding - These functions don't have any bindings by default. You can bind them under C-c or another leader key. These functions may have a few bugs. Improvements in the form of pull requests - are welcome. - + These functions don't have any bindings by default and aren't well-maintained. You can bind them under C-c or another leader key. + |----------------------------------------+----------------------------------------| | function | explanation | |----------------------------------------+----------------------------------------| - | evil-org-recompute-clocks (deprecated) | recompute clocks in selection | | evil-org-open-links | opens links in selection | | evil-org-open-incognito | open link at point in incognito window | |----------------------------------------+----------------------------------------| - Recomputing a single clock can also be done with =C-c C-c=. Recomputing all clocks can be done with =org-resolve-clocks=. It's recommended to bind the latter instead. =evil-org-open-links= opens all links in a selection. Use =RET= to open a single link. =evil-org-open-incognito= tries to open a link in a private window. diff --git a/evil-org.el b/evil-org.el index 708099f..bff30c6 100644 --- a/evil-org.el +++ b/evil-org.el @@ -402,21 +402,6 @@ If ARG < 0, move column END to BEG" (evil-yank beg end type register) (org-delete-char count))) -(evil-define-operator evil-org-recompute-clocks (beg end type register yank-handler) - "Recompute clocks in visual selection. -Deprecated, because org-mode already has org-resolve-clocks built-in." - :keep-visual t - :move-point nil - (interactive "") - (obsolete 'org-resolve-clocks "0.8.5") - (progn - (message "start!") - (save-excursion - (while (< (point) end) - (org-evaluate-time-range) - (forward-line) - (message "at position %S" (point)))))) - (defun evil-org-generic-open-links (beg end incog) "Open org mode links in visual selection. Argument BEG beginning of region. @@ -698,7 +683,6 @@ Includes tables, list items and subtrees." (kbd "O") (evil-org-define-eol-command org-insert-heading) (kbd "M-o") (evil-org-define-eol-command org-insert-subheading))) -;;;###autoload (defun evil-org-set-key-theme (&optional theme) "Select what keythemes to enable. Optional argument THEME list of themes. See evil-org-keytheme for a list of values." -- cgit v1.0