* [PATCH] Call org-reveal after refiling
@ 2009-04-16 2:06 Bernt Hansen
2009-04-16 2:06 ` [PATCH] Jump to selected clock task when starting the clock Bernt Hansen
2009-04-16 4:09 ` [PATCH] Call org-reveal after refiling Carsten Dominik
0 siblings, 2 replies; 4+ messages in thread
From: Bernt Hansen @ 2009-04-16 2:06 UTC (permalink / raw)
To: emacs-orgmode; +Cc: Bernt Hansen
Sometimes refiling a task displays the next task heading after ... at the
end of a folded task. This keeps the next task the cursor is on starting
in column 1 which feels more natural.
---
This is a similar change to commit 8fb7354 (Call org-reveal after archiving)
This commit is available at git://git.norang.ca/org-mode for-carsten
lisp/org.el | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/lisp/org.el b/lisp/org.el
index af2c97c..7af1637 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -8336,7 +8336,8 @@ See also `org-refile-use-outline-path' and `org-completion-use-ido'"
(delete-region (point) (+ (point) region-length))
(org-cut-subtree))
(setq org-markers-to-move nil)
- (message "Refiled to \"%s\"" (car it)))))))
+ (message "Refiled to \"%s\"" (car it))))))
+ (org-reveal))
(defun org-refile-goto-last-stored ()
"Go to the location where the last refile was stored."
--
1.6.3.rc0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] Jump to selected clock task when starting the clock
2009-04-16 2:06 [PATCH] Call org-reveal after refiling Bernt Hansen
@ 2009-04-16 2:06 ` Bernt Hansen
2009-04-16 4:09 ` Carsten Dominik
2009-04-16 4:09 ` [PATCH] Call org-reveal after refiling Carsten Dominik
1 sibling, 1 reply; 4+ messages in thread
From: Bernt Hansen @ 2009-04-16 2:06 UTC (permalink / raw)
To: emacs-orgmode; +Cc: Bernt Hansen
Move the point to the selected task when clocking in using the clock
history. I find I'm always going to the currently clocked task after
picking it off of the menu and this saves one small step.
This could be optionally controlled by a variable.
---
This commit is available at git://git.norang.ca/org-mode for-carsten
lisp/org-clock.el | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/lisp/org-clock.el b/lisp/org-clock.el
index 0b0b607..e56f82f 100644
--- a/lisp/org-clock.el
+++ b/lisp/org-clock.el
@@ -380,7 +380,8 @@ the clocking selection, associated with the letter `d'."
(org-clock-update-mode-line)
(setq org-clock-mode-line-timer
(run-with-timer 60 60 'org-clock-update-mode-line))
- (message "Clock started at %s" ts)))))))
+ (message "Clock started at %s" ts)))))
+ (org-clock-goto nil)))
(defun org-clock-find-position (find-unclosed)
"Find the location where the next clock line should be inserted.
--
1.6.3.rc0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] Call org-reveal after refiling
2009-04-16 2:06 [PATCH] Call org-reveal after refiling Bernt Hansen
2009-04-16 2:06 ` [PATCH] Jump to selected clock task when starting the clock Bernt Hansen
@ 2009-04-16 4:09 ` Carsten Dominik
1 sibling, 0 replies; 4+ messages in thread
From: Carsten Dominik @ 2009-04-16 4:09 UTC (permalink / raw)
To: Bernt Hansen; +Cc: emacs-orgmode
Applied, thanks.
- Carsten
On Apr 16, 2009, at 4:06 AM, Bernt Hansen wrote:
> Sometimes refiling a task displays the next task heading after ...
> at the
> end of a folded task. This keeps the next task the cursor is on
> starting
> in column 1 which feels more natural.
> ---
> This is a similar change to commit 8fb7354 (Call org-reveal after
> archiving)
>
> This commit is available at git://git.norang.ca/org-mode for-carsten
>
> lisp/org.el | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/lisp/org.el b/lisp/org.el
> index af2c97c..7af1637 100644
> --- a/lisp/org.el
> +++ b/lisp/org.el
> @@ -8336,7 +8336,8 @@ See also `org-refile-use-outline-path' and
> `org-completion-use-ido'"
> (delete-region (point) (+ (point) region-length))
> (org-cut-subtree))
> (setq org-markers-to-move nil)
> - (message "Refiled to \"%s\"" (car it)))))))
> + (message "Refiled to \"%s\"" (car it))))))
> + (org-reveal))
>
> (defun org-refile-goto-last-stored ()
> "Go to the location where the last refile was stored."
> --
> 1.6.3.rc0
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Jump to selected clock task when starting the clock
2009-04-16 2:06 ` [PATCH] Jump to selected clock task when starting the clock Bernt Hansen
@ 2009-04-16 4:09 ` Carsten Dominik
0 siblings, 0 replies; 4+ messages in thread
From: Carsten Dominik @ 2009-04-16 4:09 UTC (permalink / raw)
To: Bernt Hansen; +Cc: emacs-orgmode
Applied, thanks.
- Carsten
On Apr 16, 2009, at 4:06 AM, Bernt Hansen wrote:
> Move the point to the selected task when clocking in using the clock
> history. I find I'm always going to the currently clocked task after
> picking it off of the menu and this saves one small step.
>
> This could be optionally controlled by a variable.
> ---
> This commit is available at git://git.norang.ca/org-mode for-carsten
>
> lisp/org-clock.el | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/lisp/org-clock.el b/lisp/org-clock.el
> index 0b0b607..e56f82f 100644
> --- a/lisp/org-clock.el
> +++ b/lisp/org-clock.el
> @@ -380,7 +380,8 @@ the clocking selection, associated with the
> letter `d'."
> (org-clock-update-mode-line)
> (setq org-clock-mode-line-timer
> (run-with-timer 60 60 'org-clock-update-mode-line))
> - (message "Clock started at %s" ts)))))))
> + (message "Clock started at %s" ts)))))
> + (org-clock-goto nil)))
>
> (defun org-clock-find-position (find-unclosed)
> "Find the location where the next clock line should be inserted.
> --
> 1.6.3.rc0
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-04-16 4:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-16 2:06 [PATCH] Call org-reveal after refiling Bernt Hansen
2009-04-16 2:06 ` [PATCH] Jump to selected clock task when starting the clock Bernt Hansen
2009-04-16 4:09 ` Carsten Dominik
2009-04-16 4:09 ` [PATCH] Call org-reveal after refiling Carsten Dominik
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).