|
| From: | Richard Riley |
| Subject: | [Orgmode] Re: Blogging org entries using google command line. |
| Date: | Sun, 12 Sep 2010 18:57:32 +0200 |
| User-agent: | Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) |
David Maus <address@hidden> writes:
> Richard Riley wrote:
>
>>ok, last change of the day : this removes the tags from the blogged
>>heading (is there not an easier way?)
>
> What about `org-heading-components:
Aha yes. very good. Another elisp list feature learnt! "nth".
(let ((blabels (mapconcat 'identity (org-get-tags) ","))
(btitle (nth 4 (org-heading-components))))
Much cleaner - thanks.
http://github.com/rileyrg/org-googlecl/commit/b1ed999768a8881871654350a9615dddaceb3cf7
(Isn't magit great?!)
r.
| [Prev in Thread] | Current Thread | [Next in Thread] |