From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sven Bretfeld" Subject: Re: Viewing all entries of a file in Agenda Date: 11 Dec 2011 11:07:05 +0100 Message-ID: <87y5ujmng6.fsf@gmx.ch> References: <877h24nky8.fsf@gmx.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:49438) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZgJK-0000zv-L8 for emacs-orgmode@gnu.org; Sun, 11 Dec 2011 05:07:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RZgJJ-0004zp-FA for emacs-orgmode@gnu.org; Sun, 11 Dec 2011 05:07:10 -0500 Received: from mi.ruhr-uni-bochum.de ([134.147.64.30]:42639 helo=mx6.rz.ruhr-uni-bochum.de) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RZgJJ-0004zh-5f for emacs-orgmode@gnu.org; Sun, 11 Dec 2011 05:07:09 -0500 In-Reply-To: (Herbert Sitz's message of "Sun, 11 Dec 2011 00:14:53 +0000 (UTC)") 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: Herbert Sitz Cc: emacs-orgmode@gnu.org Hi Herbert Herbert Sitz writes: > Sven Bretfeld gmx.ch> writes: >> It is the last line that puzzles me. If I have it like above, every call >> of this agenda is interrupted by the question which tag I want to query >> for. Hitting RET does what I want, namely displaying all headlines of >> the file. How is that possible without Emacs asking me? The file can >> contain different todo-keywords and tags or none at all. I want to >> display everything. >> >> Thanks for a hint >> >> Sven > > One of the special properties of every Org heading is 'Level', which is an > integer representing the outline level of the heading. Doing the following > search should return all the headings in an Org document: > > Level>=1 That's it. Thank you very much. This possibility is not very prominent in the manual. I had to figure out how exactly it works and that the line must read: (tags "LEVEL>=1" ((org-agenda-files '("~/Dropbox/myconf/from-mobile.org")))) Now it is doing what I want. Greetings, Sven