org-mode/lisp
Dan Drake 554a3fc643 org-clock.el: Add `t' option to `org-clock-resolve'
* org-clock.el (org-clock-resolve): add `t' option.  This works like
`k', but asks the user to specify a time instead of a number of
minutes.

TINYCHANGE

Often when you are interrupted at a task and get back to it, you know
what time the interruption happened. This option makes it easy to tell
org-resolve-clocks about that. For example, say you clocked into task A
at, say, 9:37:

    * original task A
      :LOGBOOK:
      CLOCK: [2020-01-21 Mon 09:37]
      :END:

While working on task A, you get a phone call. When the call is done,
you'd like to update your time logging to reflect the phone call. Your
phone says the call was at 11:09.

With C-c C-x C-z, you can use the `K' option, but you need to figure out
the number of minutes to keep. It's easier to look at the phone, or to
mentally note the time when an interruption starts. With the new option,
you can select `T', and just specify a time of 11:09. The state is now:

    * original task A
      :LOGBOOK:
      CLOCK: [2020-01-21 Mon 09:37]--[2020-01-21 Mon 11:09] => 1:32
      :END:

You add the phone call to your org buffer and do C-c C-x C-i to clock
in. Org asks you to start the time from when the previous task ended,
you say yes, and the state is now:

    * original task A
      :LOGBOOK:
      CLOCK: [2020-01-21 Mon 09:37]--[2020-01-21 Mon 11:09] => 1:32
      :END:
    * task B, phone call
      :LOGBOOK:
      CLOCK: [2020-01-21 Mon 11:09]
      :END:

At this point, you can clock back into task A, or any other task.

The key feature here is to be able to just type in a time -- in any
format accepted by org-read-date -- instead of specifying a number of
minutes.
2020-02-13 07:48:04 +01:00
..
Makefile Move link-related core functions out of "org.el" 2019-03-10 18:00:27 +01:00
ob-C.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-J.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-R.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-abc.el Merge branch 'maint' 2020-01-01 13:39:26 -05:00
ob-asymptote.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-awk.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-calc.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-clojure.el ob-clojure.el: Fix let binding expansion and comments removal 2020-02-12 11:24:07 +01:00
ob-comint.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-coq.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-core.el Merge branch 'maint' 2020-02-11 14:40:17 +01:00
ob-css.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-ditaa.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-dot.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-ebnf.el Merge branch 'maint' 2020-01-01 13:39:26 -05:00
ob-emacs-lisp.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-eshell.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-eval.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-exp.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-forth.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-fortran.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-gnuplot.el ob-gnuplot.el: Fix broken links 2020-02-12 21:33:00 +01:00
ob-groovy.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-haskell.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-hledger.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-io.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-java.el Merge branch 'maint' 2020-01-01 13:39:26 -05:00
ob-js.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-latex.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-ledger.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-lilypond.el lisp/ob-lilypond.el: Fix initialization bug 2020-02-11 08:51:30 +01:00
ob-lisp.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-lob.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-lua.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-makefile.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-matlab.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-maxima.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-mscgen.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-ocaml.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-octave.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-org.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-perl.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-picolisp.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-plantuml.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-processing.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-python.el ob-python: Remove unused variable 2020-02-04 06:53:58 -08:00
ob-ref.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-ruby.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-sass.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-scheme.el ob-scheme.el: Fix interpreter output sometimes being nil 2020-02-11 12:19:34 +01:00
ob-screen.el ob-screen.el: Fix compiler warning 2020-02-12 22:25:15 +01:00
ob-sed.el Merge branch 'maint' 2020-01-01 13:39:26 -05:00
ob-shell.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-shen.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-sql.el ob-sql.el: Silent compiler warning 2020-02-12 22:23:27 +01:00
ob-sqlite.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-stan.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-table.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-tangle.el org.el (org-babel-load-file): Load emacs-lisp and elisp src blocks 2020-02-12 22:40:45 +01:00
ob-vala.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ol-bbdb.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ol-bibtex.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ol-docview.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ol-eshell.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ol-eww.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ol-gnus.el ol-gnus.el: Remove references to Gmane 2020-02-12 09:57:43 +01:00
ol-info.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ol-irc.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ol-mhe.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ol-rmail.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ol-w3m.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ol.el Refactor attachment path expansion 2020-02-06 22:09:18 +01:00
org-agenda.el Merge branch 'maint' 2020-02-12 21:33:19 +01:00
org-archive.el New option `org-archive-subtree-save-file-p' 2020-01-31 10:42:40 +01:00
org-attach-git.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
org-attach.el Merge branch 'maint' 2020-02-13 00:04:16 -05:00
org-capture.el org-capture.el: Conditionally throw an error on missing annotation 2020-02-11 14:45:19 +01:00
org-clock.el org-clock.el: Add `t' option to `org-clock-resolve' 2020-02-13 07:48:04 +01:00
org-colview.el org-colview: Fix org-agenda-columns-active 2020-01-27 23:39:25 +01:00
org-compat.el Fix build 2020-01-03 11:07:28 +01:00
org-crypt.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
org-ctags.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
org-datetree.el Merge branch 'maint' 2020-01-01 13:39:26 -05:00
org-duration.el org-duration: Read and write duration in compact form 2020-01-04 18:39:05 +01:00
org-element.el Merge branch 'maint' 2020-02-12 09:16:49 +01:00
org-entities.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
org-faces.el org-faces.el: Add foreground color to org-table-header face 2020-02-08 07:25:29 +01:00
org-feed.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
org-footnote.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
org-goto.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
org-habit.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
org-id.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
org-indent.el Allow a new value for `org-adapt-indentation' 2020-02-09 17:30:42 +01:00
org-inlinetask.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
org-install.el org-install.el: Do not warn users. 2013-01-22 14:08:39 +01:00
org-keys.el Add `org-toggle-radio-button' and related minor mode 2020-02-11 23:55:53 +01:00
org-lint.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
org-list.el Small code enhancement 2020-02-12 08:40:46 +01:00
org-macro.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
org-macs.el Factor out org-scroll and use it in ox.el, org-agenda/attach.el 2020-02-11 01:04:28 +01:00
org-mobile.el Fix org menu initialization 2020-02-07 16:26:31 +01:00
org-mouse.el Rename `org-x-priority' functions and variables to `org-priority-x' 2020-01-30 14:56:38 +01:00
org-num.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
org-pcomplete.el Rename `org-x-priority' functions and variables to `org-priority-x' 2020-01-30 14:56:38 +01:00
org-plot.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
org-protocol.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
org-refile.el org-refile.el: Small refactoring, fix a minor bug 2020-02-13 00:28:51 +01:00
org-src.el Merge branch 'maint' 2020-02-03 18:24:35 +01:00
org-table.el org-table.el: Don't run table header mode with a timer 2020-02-11 21:42:54 +01:00
org-tempo.el org-tempo.el: Fix bug 2020-02-03 18:22:55 +01:00
org-timer.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
org.el Merge branch 'maint' 2020-02-13 00:04:16 -05:00
ox-ascii.el Refactor attachment path expansion 2020-02-06 22:09:18 +01:00
ox-beamer.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ox-html.el ox-html.el: Use CUSTOM_ID for outline-container-* div id 2020-02-12 19:00:42 +01:00
ox-icalendar.el Rename `org-x-priority' functions and variables to `org-priority-x' 2020-01-30 14:56:38 +01:00
ox-latex.el Merge branch 'maint' 2020-02-11 12:28:40 +01:00
ox-man.el Refactor attachment path expansion 2020-02-06 22:09:18 +01:00
ox-md.el Refactor attachment path expansion 2020-02-06 22:09:18 +01:00
ox-odt.el Refactor attachment path expansion 2020-02-06 22:09:18 +01:00
ox-org.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ox-publish.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ox-texinfo.el Refactor attachment path expansion 2020-02-06 22:09:18 +01:00
ox.el Fix 2508dfa6 2020-02-12 11:54:49 +01:00