all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Agenda: Hide Sched. Items
@ 2010-09-13 17:52 Nathan Neff
  2010-09-13 18:07 ` Matt Lundin
  0 siblings, 1 reply; 5+ messages in thread
From: Nathan Neff @ 2010-09-13 17:52 UTC (permalink / raw)
  To: emacs-orgmode

Is there a way to hide Scheduled Items in a custom Agenda View?

I have the following custom agenda set up:

("&" "Timeline" ((agenda "" ))
                  ((org-agenda-ndays 1)
                   (org-agenda-show-log t)
                   (org-agenda-clockreport-mode t)
		   (org-agenda-log-mode-items '(clock))
		  )
                )

This custom agenda view comes close, here's an example:

Day-agenda (W37):
Monday     13 September 2010 W37
              10:00...... ----------------
  project1:  11:20-12:33 Clocked:   (1:13) Project Mgmt
                      :Mgmt:
              12:00...... ----------------
  project 1: Sched.29x:  TODO Something   <------I want to remove these two
  project 2: Sched.13x:  Something else        <-----lines

I want to remove "project x: Sched" lines from this view, and
want to show the Clockreport automatically without having to press "R".

I've looked through the org-agenda-* functions/variables, and
found "org-agenda-include-deadlines" -- is there some form of
"org-agenda-include-scheduled" that I can turn off?

Thanks,
--Nate

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Agenda: Hide Sched. Items
  2010-09-13 17:52 Agenda: Hide Sched. Items Nathan Neff
@ 2010-09-13 18:07 ` Matt Lundin
       [not found]   ` <AANLkTinJZg3R0Rk78dCXW9cJC+9zhcsbENSygh+e7L_H@mail.gmail.com>
  0 siblings, 1 reply; 5+ messages in thread
From: Matt Lundin @ 2010-09-13 18:07 UTC (permalink / raw)
  To: Nathan Neff; +Cc: emacs-orgmode

Nathan Neff <nathan.neff@gmail.com> writes:

> Is there a way to hide Scheduled Items in a custom Agenda View?
>

Yes. You can use the variable org-agenda-entry-types.

> I have the following custom agenda set up:
>
> ("&" "Timeline" ((agenda "" ))
>                   ((org-agenda-ndays 1)
>                    (org-agenda-show-log t)
>                    (org-agenda-clockreport-mode t)
> 		   (org-agenda-log-mode-items '(clock))
> 		  )
>                 )
>

Here's an example:

(setq org-agenda-custom-commands 
      '(("&" "Timeline" ((agenda "" ))
	 ((org-agenda-ndays 1)
	  (org-agenda-show-log t)
	  (org-agenda-clockreport-mode t)
	  (org-agenda-log-mode-items '(clock))
	  (org-agenda-entry-types '(:timestamp :sexp :deadline)) ;; [1]
	  ))))

HTH,
Matt

Footnotes:

[1] Added line. Note the absence of :scheduled.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Fwd: Agenda: Hide Sched. Items
       [not found]   ` <AANLkTinJZg3R0Rk78dCXW9cJC+9zhcsbENSygh+e7L_H@mail.gmail.com>
@ 2010-09-13 19:06     ` Nathan Neff
  2010-10-15  7:06       ` Antti Kaihola
  0 siblings, 1 reply; 5+ messages in thread
From: Nathan Neff @ 2010-09-13 19:06 UTC (permalink / raw)
  To: emacs-orgmode

---------- Forwarded message ----------
From: Nathan Neff <nathan.neff@gmail.com>
Date: Mon, Sep 13, 2010 at 2:06 PM
Subject: Re: Agenda: Hide Sched. Items
To: Matt Lundin <mdl@imapmail.org>


On Mon, Sep 13, 2010 at 1:07 PM, Matt Lundin <mdl@imapmail.org> wrote:
> Nathan Neff <nathan.neff@gmail.com> writes:
>
>> Is there a way to hide Scheduled Items in a custom Agenda View?
>>
>
> Yes. You can use the variable org-agenda-entry-types.
>
>> I have the following custom agenda set up:
>>
>> ("&" "Timeline" ((agenda "" ))
>>                   ((org-agenda-ndays 1)
>>                    (org-agenda-show-log t)
>>                    (org-agenda-clockreport-mode t)
>>                  (org-agenda-log-mode-items '(clock))
>>                 )
>>                 )
>>
>
> Here's an example:
>
> (setq org-agenda-custom-commands
>      '(("&" "Timeline" ((agenda "" ))
>         ((org-agenda-ndays 1)
>          (org-agenda-show-log t)
>          (org-agenda-clockreport-mode t)
>          (org-agenda-log-mode-items '(clock))
>          (org-agenda-entry-types '(:timestamp :sexp :deadline)) ;; [1]
>          ))))

Thanks! I don't want deadlines, and I think that :timestamp
entries are items like "Marked DONE", or "Marked STARTED".
I also don't really know what :sexp items look like, although I suspect
they're "diary" style headlines that show up when you keep a diary, like this:
* 2010-09 September.

So, I just marked the list as empty (see below), and it works the way
I want.  Thanks again!

> (setq org-agenda-custom-commands
>      '(("&" "Timeline" ((agenda "" ))
>         ((org-agenda-ndays 1)
>          (org-agenda-show-log t)
>          (org-agenda-clockreport-mode t)
>          (org-agenda-log-mode-items '(clock))
         (org-agenda-entry-types '()) ;; [1] <-----pass blank list.
>          ))))

Thanks again,
--Nate

> HTH,
> Matt
>
> Footnotes:
>
> [1] Added line. Note the absence of :scheduled.
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Fwd: Agenda: Hide Sched. Items
  2010-09-13 19:06     ` Fwd: " Nathan Neff
@ 2010-10-15  7:06       ` Antti Kaihola
  2011-01-04 15:57         ` Bastien
  0 siblings, 1 reply; 5+ messages in thread
From: Antti Kaihola @ 2010-10-15  7:06 UTC (permalink / raw)
  To: emacs-orgmode

2010/9/13 Nathan Neff <nathan.neff@gmail.com>:
> (setq org-agenda-custom-commands
>      '(("&" "Timeline" ((agenda "" ))
>         ((org-agenda-ndays 1)
>          (org-agenda-show-log t)
>          (org-agenda-clockreport-mode t)
>          (org-agenda-log-mode-items '(clock))
>          (org-agenda-entry-types '()) ;; [1] <-----pass blank list.
>          ))))

This is an excellent tip (displays a list of daily clocked items with
a clock report summary). It definitely deserves at least a mention in
the documentation, since it's very useful and not easy to find for a
newcomer.

-Antti

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Fwd: Agenda: Hide Sched. Items
  2010-10-15  7:06       ` Antti Kaihola
@ 2011-01-04 15:57         ` Bastien
  0 siblings, 0 replies; 5+ messages in thread
From: Bastien @ 2011-01-04 15:57 UTC (permalink / raw)
  To: Antti Kaihola; +Cc: emacs-orgmode

Antti Kaihola <akaihola@gmail.com> writes:

> This is an excellent tip (displays a list of daily clocked items with
> a clock report summary). It definitely deserves at least a mention in
> the documentation, since it's very useful and not easy to find for a
> newcomer.

I just added this tip to Worg/org-custom-agenda-commands.org:

  Tip: if you want to exclude all agenda entry types, just set
  =org-agenda-entry-types= to nil.

-- 
 Bastien

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-01-04 15:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-13 17:52 Agenda: Hide Sched. Items Nathan Neff
2010-09-13 18:07 ` Matt Lundin
     [not found]   ` <AANLkTinJZg3R0Rk78dCXW9cJC+9zhcsbENSygh+e7L_H@mail.gmail.com>
2010-09-13 19:06     ` Fwd: " Nathan Neff
2010-10-15  7:06       ` Antti Kaihola
2011-01-04 15:57         ` Bastien

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.