emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Auto-load files into agenda list
@ 2010-04-04 21:35 Marcelo de Moraes Serpa
  2010-04-04 22:21 ` Matt Lundin
  0 siblings, 1 reply; 3+ messages in thread
From: Marcelo de Moraes Serpa @ 2010-04-04 21:35 UTC (permalink / raw)
  To: Org Mode


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

Hello list,

I keep a diary by using journal.el -- it simply creates a new .org file
everytime I call M-x journal with the current Date timestamp (
date_day_of_week.org). Works fine. I usually create a * tags headline and
tag it with relevant tags. The downside is that, in order to have all the
agenda power, I need to manually add it to the list. Not sure if there is a
way to include a whole directory automatically somehow?

Some of you might say to keep the journal in one big file. I just don't like
it. Separate files make things more maneageble for me.

Thanks in advance!

Marcelo.

[-- Attachment #1.2: Type: text/html, Size: 669 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] 3+ messages in thread

* Re: Auto-load files into agenda list
  2010-04-04 21:35 Auto-load files into agenda list Marcelo de Moraes Serpa
@ 2010-04-04 22:21 ` Matt Lundin
  2010-04-04 22:39   ` Marcelo de Moraes Serpa
  0 siblings, 1 reply; 3+ messages in thread
From: Matt Lundin @ 2010-04-04 22:21 UTC (permalink / raw)
  To: Marcelo de Moraes Serpa; +Cc: Org Mode

Marcelo de Moraes Serpa <celoserpa@gmail.com> writes:

> Hello list,
>
> I keep a diary by using journal.el -- it simply creates a new .org file
> everytime I call M-x journal with the current Date timestamp (
> date_day_of_week.org). Works fine. I usually create a * tags headline
> and tag it with relevant tags. The downside is that, in order to have
> all the agenda power, I need to manually add it to the list. Not sure
> if there is a way to include a whole directory automatically somehow?

From the docstring for org-agenda-files:

,----
| If an entry is a directory, all files in that directory that are matched
| by `org-agenda-file-regexp' will be part of the file list.
`----

In other words, 

(setq org-agenda-files "~/org/")

See also the following FAQ:

http://orgmode.org/worg/org-faq.php#set-agenda-files-using-wildcards

> Some of you might say to keep the journal in one big file. I just don't
> like it. Separate files make things more maneageble for me.

Calling org-agenda loads each one of your agenda files into a separate
buffer. That means 3 years from now emacs will have to open 1,000 files
and spawn 1,000 buffers to generate the agenda view. :) 

Best,
Matt

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

* Re: Auto-load files into agenda list
  2010-04-04 22:21 ` Matt Lundin
@ 2010-04-04 22:39   ` Marcelo de Moraes Serpa
  0 siblings, 0 replies; 3+ messages in thread
From: Marcelo de Moraes Serpa @ 2010-04-04 22:39 UTC (permalink / raw)
  To: Matt Lundin; +Cc: Org Mode


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

Hmm, yeah, you are right. Might have to rething my strategy :)

Thanks,

Marcelo.

On Sun, Apr 4, 2010 at 4:21 PM, Matt Lundin <mdl@imapmail.org> wrote:

> Marcelo de Moraes Serpa <celoserpa@gmail.com> writes:
>
> > Hello list,
> >
> > I keep a diary by using journal.el -- it simply creates a new .org file
> > everytime I call M-x journal with the current Date timestamp (
> > date_day_of_week.org). Works fine. I usually create a * tags headline
> > and tag it with relevant tags. The downside is that, in order to have
> > all the agenda power, I need to manually add it to the list. Not sure
> > if there is a way to include a whole directory automatically somehow?
>
> From the docstring for org-agenda-files:
>
> ,----
> | If an entry is a directory, all files in that directory that are matched
> | by `org-agenda-file-regexp' will be part of the file list.
> `----
>
> In other words,
>
> (setq org-agenda-files "~/org/")
>
> See also the following FAQ:
>
> http://orgmode.org/worg/org-faq.php#set-agenda-files-using-wildcards
>
> > Some of you might say to keep the journal in one big file. I just don't
> > like it. Separate files make things more maneageble for me.
>
> Calling org-agenda loads each one of your agenda files into a separate
> buffer. That means 3 years from now emacs will have to open 1,000 files
> and spawn 1,000 buffers to generate the agenda view. :)
>
> Best,
> Matt
>

[-- Attachment #1.2: Type: text/html, Size: 2112 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] 3+ messages in thread

end of thread, other threads:[~2010-04-04 22:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-04 21:35 Auto-load files into agenda list Marcelo de Moraes Serpa
2010-04-04 22:21 ` Matt Lundin
2010-04-04 22:39   ` Marcelo de Moraes Serpa

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).