emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Exporting agenda items with data


From: Carsten Dominik
Subject: Re: [Orgmode] Exporting agenda items with data
Date: Fri, 27 Feb 2009 11:20:15 +0100

Actually,

I want to simplify this further. From now on, the hook will always contain
that function, and you can control adding entry text entirely by setting
org-agenda-add-entry-text-maxlines to a number greater that zero. The default
for the variable is zero, which means nothing will be added.

HTH

- Carsten

On Feb 27, 2009, at 7:19 AM, Yuval Hager wrote:

On Thursday 26 February 2009, Carsten Dominik wrote:
Hi Yuval,

On Feb 24, 2009, at 6:49 AM, Yuval Hager wrote:
Hi,

I'm looking for a way to print my agenda for the day, but including
the items
data, not just the heading.

All the export methods I have tried just export the agenda buffer as
it is,
without showing the full data for each item.

This is useful if I need to go out for some meetings, and I have
some more
info about the meeting (phone number, address) in the data section.

This is now (latest git version) possible, with an agenda custom
command configured like this, with a export file, and with
binding org-agenda-before-write-hook.

 ("a" "" agenda ""
  ((org-agenda-before-write-hook '(org-agenda-add-entry-text))
   (org-agenda-add-entry-text-maxlines 5))
  ("agenda.txt"))

See also the new variable org-agenda-add-entry-text-maxlines

If you always want to have entry text in exported agenda views,
you can also do in .emacs:

(add-hook 'org-agenda-before-write-hook 'org-agenda-add-entry-text)
(setq org-agenda-add-entry-text-maxlines 5)



or use org-agenda-export-settings for things like this.


Wow.. thanks!

With such an attentive and prompt development I now understand how orgmode
became such a success.

--yuval





reply via email to

[Prev in Thread] Current Thread [Next in Thread]