Variable: org-agenda-clock-consistency-checks

org-agenda-clock-consistency-checks is a customizable variable defined in org-agenda.el.gz.

Value

(:max-duration "10:00" :min-duration 0 :max-gap "0:05" :gap-ok-around
	       ("4:00")
	       :default-face
	       ((:background "DarkRed")
		(:foreground "white"))
	       :overlap-face nil :gap-face nil :no-end-time-face nil :long-face nil :short-face nil)

Documentation

This is a property list, with the following keys:

:max-duration Mark clocking chunks that are longer than this time.
                 This is a time string like "HH:MM", or the number
                 of minutes as an integer.

:min-duration Mark clocking chunks that are shorter that this.
                 This is a time string like "HH:MM", or the number
                 of minutes as an integer.

:max-gap Mark gaps between clocking chunks that are longer than
                 this duration. A number of minutes, or a string
                 like "HH:MM".

:gap-ok-around List of times during the day which are usually not working
                 times. When a gap is detected, but the gap contains any
                 of these times, the gap is *not* reported. For example,
                 if this is ("4:00" "13:00") then gaps that contain
                 4:00 in the morning (i.e. the night) and 13:00
                 (i.e. a typical lunch time) do not cause a warning.
                 You should have at least one time during the night in this
                 list, or otherwise the first task each morning will trigger
                 a warning because it follows a long gap.

Furthermore, the following properties can be used to define faces for issue display.

:default-face the default face, if the specific face is undefined
:overlap-face face for overlapping clocks
:gap-face face for gaps between clocks
:no-end-time-face face for incomplete clocks
:long-face face for clock intervals that are too long
:short-face face for clock intervals that are too short

This variable was added, or its default value changed, in Emacs 24.1.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-agenda.el.gz
(defcustom org-agenda-clock-consistency-checks
  '(:max-duration "10:00" :min-duration 0 :max-gap "0:05"
		  :gap-ok-around ("4:00")
		  :default-face ((:background "DarkRed") (:foreground "white"))
		  :overlap-face nil :gap-face nil :no-end-time-face nil
		  :long-face nil :short-face nil)
  "This is a property list, with the following keys:

:max-duration    Mark clocking chunks that are longer than this time.
                 This is a time string like \"HH:MM\", or the number
                 of minutes as an integer.

:min-duration    Mark clocking chunks that are shorter that this.
                 This is a time string like \"HH:MM\", or the number
                 of minutes as an integer.

:max-gap         Mark gaps between clocking chunks that are longer than
                 this duration.  A number of minutes, or a string
                 like \"HH:MM\".

:gap-ok-around   List of times during the day which are usually not working
                 times.  When a gap is detected, but the gap contains any
                 of these times, the gap is *not* reported.  For example,
                 if this is (\"4:00\" \"13:00\") then gaps that contain
                 4:00 in the morning (i.e. the night) and 13:00
                 (i.e. a typical lunch time) do not cause a warning.
                 You should have at least one time during the night in this
                 list, or otherwise the first task each morning will trigger
                 a warning because it follows a long gap.

Furthermore, the following properties can be used to define faces for
issue display.

:default-face         the default face, if the specific face is undefined
:overlap-face         face for overlapping clocks
:gap-face             face for gaps between clocks
:no-end-time-face     face for incomplete clocks
:long-face            face for clock intervals that are too long
:short-face           face for clock intervals that are too short"
  :group 'org-agenda-daily/weekly
  :group 'org-clock
  :version "24.1"
  :type 'plist)