emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* do I have to set .emacs for each file to work with agenda? II
@ 2014-01-11 19:05 Renato
  2014-01-11 20:33 ` Alexander Baier
  2014-01-11 20:37 ` Rasmus
  0 siblings, 2 replies; 3+ messages in thread
From: Renato @ 2014-01-11 19:05 UTC (permalink / raw)
  To: emacs-orgmode

Sorry, I correct a little the previous email :-(

Hi,
I' ve started to work with this feature. I'm wondering if to work with 
the agenda feature, I need to write the namne of the file on ont the 
".emacs" to be able to have agenda features.

I mean: they could be many file. Isn't it?

TIA

Renato

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

* Re: do I have to set .emacs for each file to work with agenda? II
  2014-01-11 19:05 do I have to set .emacs for each file to work with agenda? II Renato
@ 2014-01-11 20:33 ` Alexander Baier
  2014-01-11 20:37 ` Rasmus
  1 sibling, 0 replies; 3+ messages in thread
From: Alexander Baier @ 2014-01-11 20:33 UTC (permalink / raw)
  To: Renato; +Cc: emacs-orgmode

On 2014-01-11 20:05 Renato wrote:
> Sorry, I correct a little the previous email :-(
>
> Hi,
> I' ve started to work with this feature. I'm wondering if to work with
> the agenda feature, I need to write the namne of the file on ont the
> ".emacs" to be able to have agenda features.
>
> I mean: they could be many file. Isn't it?
>
> TIA
>
> Renato
>

Yes, there could be many files. But this should not be a problem, I
guess.

You can set `org-agenda-files' to a list (which you have already done,
although it is a list with only one element). You can even specify
directories and org will include all files in those directories.

For further info, consult the documentation:
  C-h v org-agenda-files RET

HTH,
-- 
 Alexander Baier

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

* Re: do I have to set .emacs for each file to work with agenda? II
  2014-01-11 19:05 do I have to set .emacs for each file to work with agenda? II Renato
  2014-01-11 20:33 ` Alexander Baier
@ 2014-01-11 20:37 ` Rasmus
  1 sibling, 0 replies; 3+ messages in thread
From: Rasmus @ 2014-01-11 20:37 UTC (permalink / raw)
  To: emacs-orgmode

Hi Renato,

Renato <renato.pontefice@gmail.com> writes:

> I' ve started to work with this feature. I'm wondering if to work with
> the agenda feature, I need to write the namne of the file on ont the
> ".emacs" to be able to have agenda features.
>
> I mean: they could be many file. Isn't it?

I'm not sure I understand.  But you can add and remove files with the
following commands


--8<---------------cut here---------------start------------->8---
C-c [ runs the command org-agenda-file-to-front, which is an
interactive compiled Lisp function in `org.el'.

(org-agenda-file-to-front &optional TO-END)

Move/add the current file to the top of the agenda file list.
If the file is not present in the list, it is added to the front.  If it is
present, it is moved there.  With optional argument TO-END, add/move to the
end of the list.
--8<---------------cut here---------------end--------------->8---

and 

--8<---------------cut here---------------start------------->8---
C-c ] runs the command org-remove-file, which is an interactive
compiled Lisp function in `org.el'.

(org-remove-file &optional FILE)

Remove current file from the list of files in variable `org-agenda-files'.
These are the files which are being checked for agenda entries.
Optional argument FILE means use this file instead of the current.
--8<---------------cut here---------------end--------------->8---

of course you are also free to maintain your own list of files.  You
could even make it dependent on your current machine, if you sync your
init-file.

Hope it helps.

–Rasmus 

-- 
Vote for proprietary math!

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

end of thread, other threads:[~2014-01-11 20:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-11 19:05 do I have to set .emacs for each file to work with agenda? II Renato
2014-01-11 20:33 ` Alexander Baier
2014-01-11 20:37 ` Rasmus

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