From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: changing "Agenda View (unsaved)" title for agenda export to pdf Date: Wed, 28 Dec 2011 18:07:56 +0100 Message-ID: <87wr9dcf9v.fsf@altern.org> References: <4E67E312.50700@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:60213) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RguLw-0002Zd-T4 for emacs-orgmode@gnu.org; Sat, 31 Dec 2011 03:31:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RguLp-0001DO-QM for emacs-orgmode@gnu.org; Sat, 31 Dec 2011 03:31:44 -0500 Received: from mail-wi0-f169.google.com ([209.85.212.169]:42582) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RguLp-0001BZ-Lp for emacs-orgmode@gnu.org; Sat, 31 Dec 2011 03:31:37 -0500 Received: by mail-wi0-f169.google.com with SMTP id hq12so9935197wib.0 for ; Sat, 31 Dec 2011 00:31:37 -0800 (PST) In-Reply-To: <4E67E312.50700@gmail.com> (Konstantin Ziegler's message of "Wed, 07 Sep 2011 23:33:06 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Konstantin Ziegler Cc: emacs-orgmode@gnu.org Hi Konstantin, Konstantin Ziegler writes: > I've configured several agenda views and use their pdf-exports quite > frequently. > Is there a way to substitute the generic header "Agenda View (unsaved)" > with something specific to the agenda view? Maybe the description that > is used in the agenda buffer? Or maybe some option in the definition of > that particular agenda? You can now use this: (setq org-agenda-exporter-settings '((org-agenda-write-buffer-name "Your Agenda View Name"))) Also check `org-agenda-before-write-hook', which might help. Thanks, -- Bastien