emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Exclude some file to be in the agenda
@ 2010-07-08 14:48 Chao Lu
  2010-07-08 16:15 ` Bernt Hansen
  0 siblings, 1 reply; 2+ messages in thread
From: Chao Lu @ 2010-07-08 14:48 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 280 bytes --]

Dear all,

The way I set the org agenda file is using all the *.org file in some dir.
Like
(setq org-agenda-files (file-expand-wildcards "~/.emacs.d/org/org/*.org"))

But is it possible to exclude certain file to show up in the agenda?
Sometime this will be handy.

Thanks,

Chao

[-- Attachment #1.2: Type: text/html, Size: 326 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

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

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

* Re: Exclude some file to be in the agenda
  2010-07-08 14:48 Exclude some file to be in the agenda Chao Lu
@ 2010-07-08 16:15 ` Bernt Hansen
  0 siblings, 0 replies; 2+ messages in thread
From: Bernt Hansen @ 2010-07-08 16:15 UTC (permalink / raw)
  To: Chao Lu; +Cc: emacs-orgmode

Chao Lu <loochao@gmail.com> writes:

> The way I set the org agenda file is using all the *.org file in some
> dir. Like (setq org-agenda-files (file-expand-wildcards
> "~/.emacs.d/org/org/*.org"))
>
> But is it possible to exclude certain file to show up in the agenda?
> Sometime this will be handy.

Add a #+FILETAGS: sometag to that file and then remove those tagged
entries from the agenda with / - TAB sometag RET

You might want to look into persistent tag filter settings for this as
well

C-h v org-agenda-persistent-filter

HTH,
Bernt

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

end of thread, other threads:[~2010-07-08 16:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-08 14:48 Exclude some file to be in the agenda Chao Lu
2010-07-08 16:15 ` Bernt Hansen

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).