From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Martins Subject: Re: Re: limit agenda to particular tag? Date: Mon, 3 Aug 2009 21:47:02 -0300 Message-ID: <6ac505ad0908031747o7558e29we483e97deea05680@mail.gmail.com> References: <861vo19ctj.fsf@ankh.home.genehack.org> <871vo03lgh.fsf@mean.albasani.net> <86ocr394td.fsf@ankh.home.genehack.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0570583070==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MY8BH-0007n8-Fl for emacs-orgmode@gnu.org; Mon, 03 Aug 2009 20:47:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MY8BG-0007ks-BL for emacs-orgmode@gnu.org; Mon, 03 Aug 2009 20:47:06 -0400 Received: from [199.232.76.173] (port=41564 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MY8BF-0007jL-VG for emacs-orgmode@gnu.org; Mon, 03 Aug 2009 20:47:06 -0400 Received: from qw-out-1920.google.com ([74.125.92.150]:8504) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MY8BF-0001XE-E9 for emacs-orgmode@gnu.org; Mon, 03 Aug 2009 20:47:05 -0400 Received: by qw-out-1920.google.com with SMTP id 5so2357297qwf.24 for ; Mon, 03 Aug 2009 17:47:04 -0700 (PDT) In-Reply-To: <86ocr394td.fsf@ankh.home.genehack.org> 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: John SJ Anderson Cc: emacs-orgmode@gnu.org --===============0570583070== Content-Type: multipart/alternative; boundary=0015175cdc6095afcf047046399b --0015175cdc6095afcf047046399b Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit For me the the custom-commands did not work eitther. It seems that somehow iy does not take the inherited tags. I tried to avoid appearing the :WEEKLY: tags in another agenda view but it did not worked I tried ("li" "eliminating WEEKLY tags" agenda "" ((org-agenda-ndays 7) ;; agenda will start in week view (org-agenda-repeating-timestamp-show-all t) ;; ensures that repeating events appear on all relevant dates (org-agenda-log-mode-items '(state)) (org-agenda-skip-function '(org-agenda-skip-entry-if 'regexp ":WEEKLY:") ) ) ) Daniel 2009/7/29 John SJ Anderson > Memnon Anon writes: > > > John SJ Anderson writes: > > > >> Is there a way to display an agenda (like 'C-a a' does) but have it > >> limited to items that have a particular tag? (E.g., so I can see only > >> '@WORK' items when at work.) > > > > Either use your agenda and use / to limit the view to what you want. > > Or create a custom agenda command: I have something like this: > > I couldn't get the custom-commands code you posted to work, but the > 'C-c a a / TAG' thing you and Matthew both pointed out is exactly what > I was looking for -- thanks to both of you. > > chrs, > john. > -- > "I believe in getting into hot water; it keeps you clean." > - G. K. Chesterton > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > --0015175cdc6095afcf047046399b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable For me the the custom-commands did not work eitther.

It seems that s= omehow iy does not take the inherited tags.

I tried to avoid appear= ing the :WEEKLY: tags in another agenda view but it did not worked



I tried


=A0=A0=A0 ("li" "eliminating WEEK= LY tags"
=A0=A0=A0 =A0agenda ""
=A0=A0=A0 =A0((org-age= nda-ndays 7)=A0=A0=A0=A0=A0=A0=A0=A0=A0 ;; agenda will start in week view=A0=A0=A0 =A0 (org-agenda-repeating-timestamp-show-all t)=A0=A0 ;; ensure= s that repeating events appear on all relevant dates
=A0=A0=A0 =A0 (org-agenda-log-mode-items '(state))
=A0=A0=A0 =A0 (or= g-agenda-skip-function '(org-agenda-skip-entry-if 'regexp ":WE= EKLY:")
=A0=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 )
= =A0=A0=A0 =A0 )
=A0=A0=A0 =A0)

Daniel

2009/7/29 John SJ Anderson <genehack@genehack.org>
Memnon Anon <gegendosenfleisch@gmail.com> writes:

> John SJ Anderson <genehack= @genehack.org> writes:
>
>> =A0 Is there a way to display an agenda (like 'C-a a' does= ) but have it
>> =A0 limited to items that have a particular tag? (E.g., so I can s= ee only
>> =A0 '@WORK' items when at work.)
>
> Either use your agenda and use / to limit the view to what you want. > Or create a custom agenda command: I have something like this:

=A0I couldn't get the custom-commands code you posted to work, b= ut the
=A0'C-c a a / TAG' thing you and Matthew both pointed out is exact= ly what
=A0I was looking for -- thanks to both of you.

chrs,
john.
--
"I believe in getting into hot water; it keeps you clean."
=A0- G. K. Chesterton


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

--0015175cdc6095afcf047046399b-- --===============0570583070== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0570583070==--