From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: do I have to set .emacs for each file to work with agenda? II Date: Sat, 11 Jan 2014 21:37:11 +0100 Message-ID: <87wqi6qmq0.fsf@gmx.us> References: <52D195E8.8050805@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45639) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W25FQ-0005SS-Nu for emacs-orgmode@gnu.org; Sat, 11 Jan 2014 15:33:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W25FJ-0000jU-DM for emacs-orgmode@gnu.org; Sat, 11 Jan 2014 15:33:36 -0500 Received: from plane.gmane.org ([80.91.229.3]:57720) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W25FJ-0000jL-6l for emacs-orgmode@gnu.org; Sat, 11 Jan 2014 15:33:29 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1W25FH-0008Va-Vp for emacs-orgmode@gnu.org; Sat, 11 Jan 2014 21:33:27 +0100 Received: from 109.201.154.180 ([109.201.154.180]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 11 Jan 2014 21:33:27 +0100 Received: from rasmus by 109.201.154.180 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 11 Jan 2014 21:33:27 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi Renato, Renato 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!