Re: [O] org-datetree-goto-date
Suvayu Ali fatkasuvayu+li...@gmail.com writes: Maybe this would be useful for others if included in org-mode. I would agree. Why don't you submit this as a patch to org-datetree.el? Indeed! Thanks, -- Bastien
Re: [O] org-datetree-goto-date
On Sun, May 05, 2013 at 10:26:15PM -0400, Liam Healy wrote: I wanted a function that would take me to a particular date in a datetree and didn't find one, so I wrote my own and bound it to C-c d. (defun org-datetree-goto-date (optional siblings) [...chomp...chomp...chomp...] (org-reveal siblings)) This works beautifully! I have added a (beginning-of-line) at the end since I use a lot of the speed commands. Maybe this would be useful for others if included in org-mode. I would agree. Why don't you submit this as a patch to org-datetree.el? Thanks! -- Suvayu Open source is the future. It sets us free.
[O] org-datetree-goto-date
I wanted a function that would take me to a particular date in a datetree and didn't find one, so I wrote my own and bound it to C-c d. (defun org-datetree-goto-date (optional siblings) Go to and show the date in the date tree. With optional argument SIBLINGS, on each level of the hierarchy all siblings are shown. If no entry exists for the date, it will be created. (interactive P) (let ((date (decode-time (org-read-date nil t (org-datetree-find-date-create (list (nth 4 date) (nth 3 date) (nth 5 date (outline-show-heading) (show-subtree) (org-reveal siblings)) (add-hook 'org-mode-hook (lambda () (local-set-key [(control ?c) ?d] 'org-datetree-goto-date))) Maybe this would be useful for others if included in org-mode. Liam