emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Yuval Hager <yuval@avramzon.net>
Cc: Emacs-orgmode@gnu.org
Subject: Re: Exporting agenda items with data
Date: Fri, 27 Feb 2009 11:20:15 +0100	[thread overview]
Message-ID: <6BE35A32-4064-4DE8-BE10-642D70E9356A@uva.nl> (raw)
In-Reply-To: <200902270819.19184.yuval@avramzon.net>

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	other threads:[~2009-02-27 10:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-24  5:49 Exporting agenda items with data Yuval Hager
2009-02-26 20:31 ` Carsten Dominik
2009-02-27  6:19   ` Yuval Hager
2009-02-27 10:20     ` Carsten Dominik [this message]
2009-02-27 18:29       ` Jason F. McBrayer

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=6BE35A32-4064-4DE8-BE10-642D70E9356A@uva.nl \
    --to=dominik@science.uva.nl \
    --cc=Emacs-orgmode@gnu.org \
    --cc=yuval@avramzon.net \
    /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).