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: Thu, 26 Feb 2009 21:31:11 +0100	[thread overview]
Message-ID: <57A0285B-C6A6-452A-B490-166074ADDA34@uva.nl> (raw)
In-Reply-To: <200902240749.22304.yuval@avramzon.net>

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.

HTH

- Carsten






- Carsten

  reply	other threads:[~2009-02-26 20:31 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 [this message]
2009-02-27  6:19   ` Yuval Hager
2009-02-27 10:20     ` Carsten Dominik
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=57A0285B-C6A6-452A-B490-166074ADDA34@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).