all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: emacs-orgmode@gnu.org
Cc: Bernt Hansen <bernt@norang.ca>
Subject: [PATCH] Reveal after goto
Date: Sun, 28 Mar 2010 22:16:42 -0400	[thread overview]
Message-ID: <1269829005-25254-2-git-send-email-bernt@norang.ca> (raw)
In-Reply-To: <1269829005-25254-1-git-send-email-bernt@norang.ca>

Occasionally when jumping to the last task we end up inside
a folded region.  This just reveals the headline to make
editing easier.
---
 lisp/org-clock.el |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/lisp/org-clock.el b/lisp/org-clock.el
index 1dbb08e..d8d1fe0 100644
--- a/lisp/org-clock.el
+++ b/lisp/org-clock.el
@@ -1305,6 +1305,7 @@ With prefix arg SELECT, offer recently clocked tasks for selection."
     (org-back-to-heading t)
     (org-cycle-hide-drawers 'children)
     (recenter)
+    (org-reveal)
     (if recent
 	(message "No running clock, this is the most recently clocked task"))
     (run-hooks 'org-clock-goto-hook)))
-- 
1.7.0.2.279.gf1ba1c

  reply	other threads:[~2010-03-29  2:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-29  2:16 [PATCH] Miscellaneous fixes Bernt Hansen
2010-03-29  2:16 ` Bernt Hansen [this message]
2010-03-29  2:16 ` [PATCH] Add completions for checkbox targets Bernt Hansen
2010-03-29  2:16 ` [PATCH] Typo: left-over -> leftover Bernt Hansen
2010-03-29  2:16 ` [PATCH] Refactor refiling code Bernt Hansen
2010-03-29  3:53 ` [PATCH] Miscellaneous fixes Carsten Dominik
2010-03-29 11:51   ` Bernt Hansen
2010-03-29 12:24     ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1269829005-25254-2-git-send-email-bernt@norang.ca \
    --to=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.