From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabian Braennstroem Subject: Re: export all linked images with a certain property or tag Date: Wed, 03 Oct 2007 17:01:55 +0000 Message-ID: References: <87sl4ug3z3.fsf@bzg.ath.cx> <878x6mpf78.fsf@bzg.ath.cx> <87fy0tyvz4.fsf@bzg.ath.cx> <874ph8l71s.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Id5ip-0003i6-FO for emacs-orgmode@gnu.org; Wed, 03 Oct 2007 11:01:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Id5in-0003hu-VH for emacs-orgmode@gnu.org; Wed, 03 Oct 2007 11:01:11 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Id5in-0003hr-Sv for emacs-orgmode@gnu.org; Wed, 03 Oct 2007 11:01:09 -0400 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Id5in-0002C8-6U for emacs-orgmode@gnu.org; Wed, 03 Oct 2007 11:01:09 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Id5ij-0008JZ-0h for emacs-orgmode@gnu.org; Wed, 03 Oct 2007 15:01:05 +0000 Received: from pd9e492be.dip0.t-ipconnect.de ([217.228.146.190]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Oct 2007 15:01:05 +0000 Received: from f.braennstroem by pd9e492be.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Oct 2007 15:01:05 +0000 In-Reply-To: <874ph8l71s.fsf@bzg.ath.cx> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Bastien schrieb am 10/03/2007 12:24 PM: > Fabian Braennstroem writes: > >> Sorry, I was not really clear... not the agenda view should be >> exported, but every visible tree should be included in one indirect >> buffer. Right now, 'b' shows the current-headline in an indirect >> buffer, which I can export to html like usual. For this purpose there >> has to be one global indirect agenda-buffer, which gets all those >> visible trees!? > > I don't think this will be easy to do since showing the current headline > relies on narrowing the indirect buffer to a subtree, and narrowing more > than one region is not possible in a single buffer. > > It would require to build another buffer with all headlines and subtrees > that are part of the agenda view. Interesting! > I gave it a small try, very simple and does not really work: (defun org-agenda-collect-indirect-trees () (interactive) (org-agenda-tree-to-indirect-buffer) (other-window 1) (mark-page) ; (write-file "dummy") (write-region nil 0 "~/org/agenda-indirect-buffer.org" t) (other-window 1) (next-line) ; Loop over all agenda headlines... ) not working means, that it appends the whole buffer content and not just the viewable tree. The next problem would be to run some kine of loop over all agenda headlines; now I would just copy the command about 10 times ... Do you think it is a working approach and maybe you got an idea about the 'whole-buffer' problem? Fabian