emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* using Agenda org-agenda-files variable
@ 2014-01-10 11:21 Renato Pontefice
  2014-01-10 12:30 ` Derek
  2014-01-10 12:45 ` Alexander Baier
  0 siblings, 2 replies; 3+ messages in thread
From: Renato Pontefice @ 2014-01-10 11:21 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1120 bytes --]

Hi,
following this tutorial
"http://orgmode.org/worg/org-tutorials/orgtutorial_dto.html"
at this point:
"A taste of advanced features"it's written to add this text, on my init.el
file (I'm working on win).

(setq org-agenda-files (list "~/org/work.org"
                             "~/org/school.org"
                             "~/org/home.org"))


I've done it.

Continuing the tutorial, I find some operation to do in my org file "Press *C-c
a t* to enter the global todo list"
I do that, but I receive in the *Org Agenda* buffer, the following text:
_________________________________
Global list of TODO items of type: ALL
Available with `N r': (0)[ALL]
__________________________________
and nothing else.
I have on my 1.org the following line:
*** configure
   SCHEDULED: <2014-01-08 mer>

So, I'm expecting, that i could find at least this TODO line on the Agenda.
But nothing...

What I've done wrong?
Do someone can link me some page example? Or something similar where I can
get help?
TIA

Renato

ps
I don' t find the file work, school and home .org, on the folder where my
org file (1.org) are stored :-( )

[-- Attachment #2: Type: text/html, Size: 1736 bytes --]

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

* Re: using Agenda org-agenda-files variable
  2014-01-10 11:21 using Agenda org-agenda-files variable Renato Pontefice
@ 2014-01-10 12:30 ` Derek
  2014-01-10 12:45 ` Alexander Baier
  1 sibling, 0 replies; 3+ messages in thread
From: Derek @ 2014-01-10 12:30 UTC (permalink / raw)
  To: emacs-orgmode

Hi

Renato Pontefice <renato.pontefice <at> gmail.com> writes:

> Hi,
> following this tutorial
"http://orgmode.org/worg/org-tutorials/orgtutorial_dto.html"
> at this point:"A taste of advanced features"it's written to add this text,
on my init.el file (I'm working on win).(setq org-agenda-files (list
"~/org/work.org"
>                              "~/org/school.org" 
>                              "~/org/home.org"))I've done it.
> Continuing the tutorial, I find some operation to do in my org file "Press
C-c a t to enter the global todo list"
> I do that, but I receive in the *Org Agenda* buffer, the following
text:_________________________________Global list of TODO items of type:
ALLAvailable with `N r': (0)[ALL]__________________________________
> and nothing else.
> I have on my 1.org the following line:*** configure   SCHEDULED:
<2014-01-08 mer>
> So, I'm expecting, that i could find at least this TODO line on the
Agenda. But nothing...
> What I've done wrong?

Your todo item line must start with a TODO keyword, by default "TODO" (you
can configure more states in org), so that it looks like this

*** TODO configure 

Then it will be found in that search.

Read
http://orgmode.org/org.html#TODO-Items

Cheers
Derek

> 
> Do someone can link me some page example? Or something similar where I can
get help?
> TIA
> Renato
> ps
> I don' t find the file work, school and home .org, on the folder where my
org file (1.org) are stored  )

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

* Re: using Agenda org-agenda-files variable
  2014-01-10 11:21 using Agenda org-agenda-files variable Renato Pontefice
  2014-01-10 12:30 ` Derek
@ 2014-01-10 12:45 ` Alexander Baier
  1 sibling, 0 replies; 3+ messages in thread
From: Alexander Baier @ 2014-01-10 12:45 UTC (permalink / raw)
  To: Renato Pontefice; +Cc: emacs-orgmode

On 2014-01-10 12:21 Renato Pontefice wrote:

[...]

> (setq org-agenda-files (list "~/org/work.org"
>                              "~/org/school.org"
>                              "~/org/home.org"))

[...]

> I have on my 1.org the following line:
> *** configure
>    SCHEDULED: <2014-01-08 mer>
>
> So, I'm expecting, that i could find at least this TODO line on the Agenda.
> But nothing...

[...]

I did not take a look at the tutorial you mentioned, but I would guess
that the file list ("~/org/work.org" "~/org/school.org" ...) was only
given as an example.

If you want entries from your 1.org file to show up in the agenda, you
have to add that file to `org-agenda-files'. Org mode will go through
all the files in that list and buid the agenda from the entries it finds
in those.

So your setq should look like this:

#+begin_src elisp
  (setq org-agenda-files (list "~/org/1.org"))
#+end_src

This assumes, that your 1.org is located under ~/org.

HTH,
-- 
 Alexander Baier

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

end of thread, other threads:[~2014-01-10 12:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-10 11:21 using Agenda org-agenda-files variable Renato Pontefice
2014-01-10 12:30 ` Derek
2014-01-10 12:45 ` Alexander Baier

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