emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [Patch] org-capture.el
@ 2010-08-12  4:02 Mark Scala
  2010-08-12  8:53 ` Bastien
  0 siblings, 1 reply; 6+ messages in thread
From: Mark Scala @ 2010-08-12  4:02 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 680 bytes --]

When capture templates with tags are finalized, those tags are not
realigned.  I think this fixes it (does in the cases I've tested).

diff --git a/lisp/org-capture.el b/lisp/org-capture.el
index ece5006..03911da 100644
--- a/lisp/org-capture.el
+++ b/lisp/org-capture.el
@@ -500,7 +500,8 @@ bypassed."
 	(save-excursion
 	  (when (ignore-errors (org-back-to-heading))
 	    (org-update-parent-todo-statistics)
-	    (org-update-checkbox-count)))
+	    (org-update-checkbox-count)
+	    (org-set-tags nil t)))
 	;; FIXME Here we should do the sorting
 	;; If we have added a table line, maybe recompute?
 	(when (and (eq (org-capture-get :type 'local) 'table-line)

--
Mark Scala

[-- Attachment #1.2: Type: text/html, Size: 777 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-08-30 11:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-12  4:02 [Patch] org-capture.el Mark Scala
2010-08-12  8:53 ` Bastien
2010-08-12 11:03   ` Mark Scala
2010-08-12 14:02     ` Bastien
2010-08-25 14:54       ` Mark Scala
2010-08-30 11:51         ` 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).