Commit 1bcdebed authored by Carsten Dominik's avatar Carsten Dominik
Browse files

2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>

	* org-latex.el (org-export-as-latex): Add the :drawers property.

2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>

	* org.el (org-speed-commands-user): Allow documentation headlines.
	(org-speed-commands-default): Organize the value of this constant
	with descriptive headlines.
	(org-print-speed-command): Output the headlines.

2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>

	* org-agenda.el (org-agenda-show-outline-path): New option.
	(org-agenda-do-context-action): New function.
	(org-agenda-next-line, org-agenda-previous-line): Use
	`org-agenda-do-context-action'.

	* org.el (org-use-speed-commands): Allow function value.
	(org-speed-commands-default): Make headline motion safe, so that
	these commands always end on a headline.
	(org-speed-commands-default): New key `v' for `org-agenda'.
	(org-speed-move-safe): New function.
	(org-self-insert-command): Use the function value of
	`org-use-speed-commands'.
	(org-get-outline-path): Improve docstring.
	(org-format-outline-path): New function.
	(org-display-outline-path): New function.

2009-11-15  John Wiegley  <jwiegley@gmail.com>

	* org-clock.el (org-clock-resolve): If `org-clock-into-string' is
	a string, use that to find the LOGBOOK drawer.
parent 589888fe
2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
* org-latex.el (org-export-as-latex): Add the :drawers property.
2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
* org.el (org-speed-commands-user): Allow documentation headlines.
(org-speed-commands-default): Organize the value of this constant
with descriptive headlines.
(org-print-speed-command): Output the headlines.
2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
* org-agenda.el (org-agenda-show-outline-path): New option.
(org-agenda-do-context-action): New function.
(org-agenda-next-line, org-agenda-previous-line): Use
`org-agenda-do-context-action'.
* org.el (org-use-speed-commands): Allow function value.
(org-speed-commands-default): Make headline motion safe, so that
these commands always end on a headline.
(org-speed-commands-default): New key `v' for `org-agenda'.
(org-speed-move-safe): New function.
(org-self-insert-command): Use the function value of
`org-use-speed-commands'.
(org-get-outline-path): Improve docstring.
(org-format-outline-path): New function.
(org-display-outline-path): New function.
2009-11-15 John Wiegley <jwiegley@gmail.com>
* org-clock.el (org-clock-resolve): If `org-clock-into-string' is
a string, use that to find the LOGBOOK drawer.
2009-11-15 Glenn Morris <rgm@gnu.org> 2009-11-15 Glenn Morris <rgm@gnu.org>
* org-agenda.el (org-datetree-find-date-create) * org-agenda.el (org-datetree-find-date-create)
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
;; Author: Carsten Dominik <carsten at orgmode dot org> ;; Author: Carsten Dominik <carsten at orgmode dot org>
;; Keywords: outlines, hypermedia, calendar, wp ;; Keywords: outlines, hypermedia, calendar, wp
;; Homepage: http://orgmode.org ;; Homepage: http://orgmode.org
;; Version: 6.33 ;; Version: 6.33c
;; ;;
;; This file is part of GNU Emacs. ;; This file is part of GNU Emacs.
;; ;;
...@@ -672,6 +672,11 @@ Needs to be set before org.el is loaded." ...@@ -672,6 +672,11 @@ Needs to be set before org.el is loaded."
:group 'org-agenda-startup :group 'org-agenda-startup
:type 'boolean) :type 'boolean)
(defcustom org-agenda-show-outline-path t
"Non-il means, show outline path in echo area after line motion."
:group 'org-agenda-startup
:type 'boolean)
(defcustom org-agenda-start-with-entry-text-mode nil (defcustom org-agenda-start-with-entry-text-mode nil
"The initial value of entry-text-mode in a newly created agenda window." "The initial value of entry-text-mode in a newly created agenda window."
:group 'org-agenda-startup :group 'org-agenda-startup
...@@ -5673,15 +5678,23 @@ When called with a prefix argument, include all archive files as well." ...@@ -5673,15 +5678,23 @@ When called with a prefix argument, include all archive files as well."
"Move cursor to the next line, and show if follow-mode is active." "Move cursor to the next line, and show if follow-mode is active."
(interactive) (interactive)
(call-interactively 'next-line) (call-interactively 'next-line)
(if (and org-agenda-follow-mode (org-get-at-bol 'org-marker)) (org-agenda-do-context-action))
(org-agenda-show)))
(defun org-agenda-previous-line () (defun org-agenda-previous-line ()
"Move cursor to the previous line, and show if follow-mode is active." "Move cursor to the previous line, and show if follow-mode is active."
(interactive) (interactive)
(call-interactively 'previous-line) (call-interactively 'previous-line)
(if (and org-agenda-follow-mode (org-get-at-bol 'org-marker)) (org-agenda-do-context-action))
(org-agenda-show)))
(defun org-agenda-do-context-action ()
"Show outline path and, maybe, follow-mode window."
(let ((m (org-get-at-bol 'org-marker)))
(if (and org-agenda-follow-mode m)
(org-agenda-show))
(if (and m org-agenda-show-outline-path)
(message (org-with-point-at m
(org-display-outline-path t))))))
(defun org-agenda-show-priority () (defun org-agenda-show-priority ()
"Show the priority of the current item. "Show the priority of the current item.
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
;; Author: Carsten Dominik <carsten at orgmode dot org> ;; Author: Carsten Dominik <carsten at orgmode dot org>
;; Keywords: outlines, hypermedia, calendar, wp ;; Keywords: outlines, hypermedia, calendar, wp
;; Homepage: http://orgmode.org ;; Homepage: http://orgmode.org
;; Version: 6.33 ;; Version: 6.33c
;; ;;
;; This file is part of GNU Emacs. ;; This file is part of GNU Emacs.
;; ;;
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
;; Author: Carsten Dominik <carsten at orgmode dot org> ;; Author: Carsten Dominik <carsten at orgmode dot org>
;; Keywords: outlines, hypermedia, calendar, wp ;; Keywords: outlines, hypermedia, calendar, wp
;; Homepage: http://orgmode.org ;; Homepage: http://orgmode.org
;; Version: 6.33 ;; Version: 6.33c
;; ;;
;; This file is part of GNU Emacs. ;; This file is part of GNU Emacs.
;; ;;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
;; Author: John Wiegley <johnw@newartisans.com> ;; Author: John Wiegley <johnw@newartisans.com>
;; Keywords: org data task ;; Keywords: org data task
;; Version: 6.33 ;; Version: 6.33c
;; This file is part of GNU Emacs. ;; This file is part of GNU Emacs.
;; ;;
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
;; Thomas Baumann <thomas dot baumann at ch dot tum dot de> ;; Thomas Baumann <thomas dot baumann at ch dot tum dot de>
;; Keywords: outlines, hypermedia, calendar, wp ;; Keywords: outlines, hypermedia, calendar, wp
;; Homepage: http://orgmode.org ;; Homepage: http://orgmode.org
;; Version: 6.33 ;; Version: 6.33c
;; ;;
;; This file is part of GNU Emacs. ;; This file is part of GNU Emacs.
;; ;;
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
;; Author: Bastien Guerry <bzg at altern dot org> ;; Author: Bastien Guerry <bzg at altern dot org>
;; Carsten Dominik <carsten dot dominik at gmail dot com> ;; Carsten Dominik <carsten dot dominik at gmail dot com>
;; Keywords: org, wp, remember ;; Keywords: org, wp, remember
;; Version: 6.33 ;; Version: 6.33c
;; ;;
;; This file is part of GNU Emacs. ;; This file is part of GNU Emacs.
;; ;;
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
;; Author: Carsten Dominik <carsten at orgmode dot org> ;; Author: Carsten Dominik <carsten at orgmode dot org>
;; Keywords: outlines, hypermedia, calendar, wp ;; Keywords: outlines, hypermedia, calendar, wp
;; Homepage: http://orgmode.org ;; Homepage: http://orgmode.org
;; Version: 6.33 ;; Version: 6.33c
;; ;;
;; This file is part of GNU Emacs. ;; This file is part of GNU Emacs.
;; ;;
...@@ -678,22 +678,26 @@ was started." ...@@ -678,22 +678,26 @@ was started."
(save-window-excursion (save-window-excursion
(save-excursion (save-excursion
(unless org-clock-resolving-clocks-due-to-idleness (unless org-clock-resolving-clocks-due-to-idleness
(org-with-clock clock (org-with-clock clock (org-clock-goto))
(org-clock-goto))
(with-current-buffer (marker-buffer (car clock)) (with-current-buffer (marker-buffer (car clock))
(goto-char (car clock)) (goto-char (car clock))
(if org-clock-into-drawer (if org-clock-into-drawer
(ignore-errors (let ((logbook
(outline-flag-region (save-excursion (if (stringp org-clock-into-drawer)
(outline-back-to-heading t) (concat ":" org-clock-into-drawer ":")
(search-forward ":LOGBOOK:") ":LOGBOOK:")))
(goto-char (match-beginning 0))) (ignore-errors
(save-excursion (outline-flag-region
(outline-back-to-heading t) (save-excursion
(search-forward ":LOGBOOK:") (outline-back-to-heading t)
(search-forward ":END:") (search-forward logbook)
(goto-char (match-end 0))) (goto-char (match-beginning 0)))
nil))))) (save-excursion
(outline-back-to-heading t)
(search-forward logbook)
(search-forward ":END:")
(goto-char (match-end 0)))
nil))))))
(let (char-pressed) (let (char-pressed)
(while (null char-pressed) (while (null char-pressed)
(setq char-pressed (setq char-pressed
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
;; Author: Carsten Dominik <carsten at orgmode dot org> ;; Author: Carsten Dominik <carsten at orgmode dot org>
;; Keywords: outlines, hypermedia, calendar, wp ;; Keywords: outlines, hypermedia, calendar, wp
;; Homepage: http://orgmode.org ;; Homepage: http://orgmode.org
;; Version: 6.33 ;; Version: 6.33c
;; ;;
;; This file is part of GNU Emacs. ;; This file is part of GNU Emacs.
;; ;;
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
(require 'org) (require 'org)
(declare-function org-agenda-redo "org-agenda" ()) (declare-function org-agenda-redo "org-agenda" ())
(declare-function org-agenda-show "org-agenda" (&optional full-entry)) (declare-function org-agenda-do-context-action "org-agenda" ())
;;; Column View ;;; Column View
...@@ -93,10 +93,8 @@ This is the compiled version of the format.") ...@@ -93,10 +93,8 @@ This is the compiled version of the format.")
(while (and (org-invisible-p2) (not (eobp))) (while (and (org-invisible-p2) (not (eobp)))
(beginning-of-line 2)) (beginning-of-line 2))
(move-to-column col) (move-to-column col)
(if (and (eq major-mode 'org-agenda-mode) (if (eq major-mode 'org-agenda-mode)
(org-bound-and-true-p org-agenda-follow-mode) (org-agenda-do-context-action)))))
(org-get-at-bol 'org-marker))
(org-agenda-show)))))
(org-defkey org-columns-map [up] (org-defkey org-columns-map [up]
(lambda () (interactive) (lambda () (interactive)
(let ((col (current-column))) (let ((col (current-column)))
...@@ -104,10 +102,8 @@ This is the compiled version of the format.") ...@@ -104,10 +102,8 @@ This is the compiled version of the format.")
(while (and (org-invisible-p2) (not (bobp))) (while (and (org-invisible-p2) (not (bobp)))
(beginning-of-line 0)) (beginning-of-line 0))
(move-to-column col) (move-to-column col)
(if (and (eq major-mode 'org-agenda-mode) (if (eq major-mode 'org-agenda-mode)
(org-bound-and-true-p org-agenda-follow-mode) (org-agenda-do-context-action)))))
(org-get-at-bol 'org-marker))
(org-agenda-show)))))
(org-defkey org-columns-map [(shift right)] 'org-columns-next-allowed-value) (org-defkey org-columns-map [(shift right)] 'org-columns-next-allowed-value)
(org-defkey org-columns-map "n" 'org-columns-next-allowed-value) (org-defkey org-columns-map "n" 'org-columns-next-allowed-value)
(org-defkey org-columns-map [(shift left)] 'org-columns-previous-allowed-value) (org-defkey org-columns-map [(shift left)] 'org-columns-previous-allowed-value)
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
;; Author: Carsten Dominik <carsten at orgmode dot org> ;; Author: Carsten Dominik <carsten at orgmode dot org>
;; Keywords: outlines, hypermedia, calendar, wp ;; Keywords: outlines, hypermedia, calendar, wp
;; Homepage: http://orgmode.org ;; Homepage: http://orgmode.org
;; Version: 6.33 ;; Version: 6.33c
;; ;;
;; This file is part of GNU Emacs. ;; This file is part of GNU Emacs.
;; ;;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
;; Emacs Lisp Archive Entry ;; Emacs Lisp Archive Entry
;; Filename: org-crypt.el ;; Filename: org-crypt.el
;; Version: 6.33 ;; Version: 6.33c
;; Keywords: org-mode ;; Keywords: org-mode
;; Author: John Wiegley <johnw@gnu.org> ;; Author: John Wiegley <johnw@gnu.org>
;; Maintainer: Peter Jones <pjones@pmade.com> ;; Maintainer: Peter Jones <pjones@pmade.com>
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
;; Author: Carsten Dominik <carsten at orgmode dot org> ;; Author: Carsten Dominik <carsten at orgmode dot org>
;; Keywords: outlines, hypermedia, calendar, wp ;; Keywords: outlines, hypermedia, calendar, wp
;; Homepage: http://orgmode.org ;; Homepage: http://orgmode.org
;; Version: 6.33 ;; Version: 6.33c
;; ;;
;; This file is part of GNU Emacs. ;; This file is part of GNU Emacs.
;; ;;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
;; ;;
;; Emacs Lisp Archive Entry ;; Emacs Lisp Archive Entry
;; Filename: org-docbook.el ;; Filename: org-docbook.el
;; Version: 6.33 ;; Version: 6.33c
;; Author: Baoqiu Cui <cbaoqiu AT yahoo DOT com> ;; Author: Baoqiu Cui <cbaoqiu AT yahoo DOT com>
;; Maintainer: Baoqiu Cui <cbaoqiu AT yahoo DOT com> ;; Maintainer: Baoqiu Cui <cbaoqiu AT yahoo DOT com>
;; Keywords: org, wp, docbook ;; Keywords: org, wp, docbook
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
;; Author: Carsten Dominik <carsten at orgmode dot org> ;; Author: Carsten Dominik <carsten at orgmode dot org>
;; Keywords: outlines, hypermedia, calendar, wp ;; Keywords: outlines, hypermedia, calendar, wp
;; Homepage: http://orgmode.org ;; Homepage: http://orgmode.org
;; Version: 6.33 ;; Version: 6.33c
;; ;;
;; This file is part of GNU Emacs. ;; This file is part of GNU Emacs.
;; ;;
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
;; Author: Carsten Dominik <carsten at orgmode dot org> ;; Author: Carsten Dominik <carsten at orgmode dot org>
;; Keywords: outlines, hypermedia, calendar, wp ;; Keywords: outlines, hypermedia, calendar, wp
;; Homepage: http://orgmode.org ;; Homepage: http://orgmode.org
;; Version: 6.33 ;; Version: 6.33c
;; ;;
;; This file is part of GNU Emacs. ;; This file is part of GNU Emacs.
;; ;;
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
;; Author: Carsten Dominik <carsten at orgmode dot org> ;; Author: Carsten Dominik <carsten at orgmode dot org>
;; Keywords: outlines, hypermedia, calendar, wp ;; Keywords: outlines, hypermedia, calendar, wp
;; Homepage: http://orgmode.org ;; Homepage: http://orgmode.org
;; Version: 6.33 ;; Version: 6.33c
;; ;;
;; This file is part of GNU Emacs. ;; This file is part of GNU Emacs.
;; ;;
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
;; Author: Carsten Dominik <carsten at orgmode dot org> ;; Author: Carsten Dominik <carsten at orgmode dot org>
;; Keywords: outlines, hypermedia, calendar, wp ;; Keywords: outlines, hypermedia, calendar, wp
;; Homepage: http://orgmode.org ;; Homepage: http://orgmode.org
;; Version: 6.33 ;; Version: 6.33c
;; ;;
;; This file is part of GNU Emacs. ;; This file is part of GNU Emacs.
;; ;;
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
;; Author: Lennart Borgman (lennart O borgman A gmail O com) ;; Author: Lennart Borgman (lennart O borgman A gmail O com)
;; Keywords: outlines, hypermedia, calendar, wp ;; Keywords: outlines, hypermedia, calendar, wp
;; Homepage: http://orgmode.org ;; Homepage: http://orgmode.org
;; Version: 6.33 ;; Version: 6.33c
;; ;;
;; This file is part of GNU Emacs. ;; This file is part of GNU Emacs.
;; ;;
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
;; Tassilo Horn <tassilo at member dot fsf dot org> ;; Tassilo Horn <tassilo at member dot fsf dot org>
;; Keywords: outlines, hypermedia, calendar, wp ;; Keywords: outlines, hypermedia, calendar, wp
;; Homepage: http://orgmode.org ;; Homepage: http://orgmode.org
;; Version: 6.33 ;; Version: 6.33c
;; ;;
;; This file is part of GNU Emacs. ;; This file is part of GNU Emacs.
;; ;;
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
;; Author: John Wiegley <johnw at gnu dot org> ;; Author: John Wiegley <johnw at gnu dot org>
;; Keywords: outlines, hypermedia, calendar, wp ;; Keywords: outlines, hypermedia, calendar, wp
;; Homepage: http://orgmode.org ;; Homepage: http://orgmode.org
;; Version: 6.33 ;; Version: 6.33c
;; ;;
;; This file is part of GNU Emacs. ;; This file is part of GNU Emacs.
;; ;;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment