From: Mark Scala <markscala@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [Patch] org-capture.el
Date: Wed, 11 Aug 2010 23:02:50 -0500 [thread overview]
Message-ID: <AANLkTinK=aAdqvtxzdx1ucU_BShqF+N5mW3QeVr0KFc1@mail.gmail.com> (raw)
[-- 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
next reply other threads:[~2010-08-12 4:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-12 4:02 Mark Scala [this message]
2010-08-12 8:53 ` [Patch] org-capture.el 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
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AANLkTinK=aAdqvtxzdx1ucU_BShqF+N5mW3QeVr0KFc1@mail.gmail.com' \
--to=markscala@gmail.com \
--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 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).