Re: [O] .emacs (init.el) on Dropbox: Ho to access it?

2014-04-11 Thread Jorge A. Alfaro Murillo
On 1/18/14, 1:44 PM, Renato wrote:
 Hi,
 I use org mode on two pc:
 - windows (from work)
 - Debian (at home)

 How can have just one .emacs/init.el file?

 I would store the file on a Dropbox folder that I access from both
 devices.


I have several machines and just one .emacs file in Dropbox. I use symbolic
links to it in each computer in ~/.emacs

From the terminal do:
ln -s /path/to/your/Dropbox/.emacs ~/.emacs

I assume windows works the same. If not then put in your windows .emacs a
single line with:

(load-file /path/to/your/Dropbox/.emacs)

Best,

Jorge.


Re: [O] .emacs (init.el) on Dropbox: Ho to access it?

2014-04-11 Thread J. David Boyd
Jorge A. Alfaro Murillo jorge.a.alf...@gmail.com writes:

 On 1/18/14, 1:44 PM, Renato wrote:
 Hi,
 I use org mode on two pc:
 - windows (from work)
 - Debian (at home)

 How can have just one .emacs/init.el file?

 I would store the file on a Dropbox folder that I access from both
 devices.


 I have several machines and just one .emacs file in Dropbox. I use symbolic
 links to it in each computer in ~/.emacs

 From the terminal do:
 ln -s /path/to/your/Dropbox/.emacs ~/.emacs

 I assume windows works the same. If not then put in your windows .emacs a
 single line with:

 (load-file /path/to/your/Dropbox/.emacs)

 Best,

 Jorge.


That's exactly what I do as well.   I have 1 .emacs.d folder, 1 .vimrc, 1 gnus
setup, all linked to my different machine home directories from my dropbox
folder.

Works great..

Dave




[O] .emacs (init.el) on Dropbox: Ho to access it?

2014-01-18 Thread Renato

Hi,
I use org mode on two pc:
- windows (from work)
- Debian (at home)

How can have just one .emacs/init.el file?

I would store the file on a Dropbox folder that I access from both devices.

Thank you

Renato



Re: [O] .emacs (init.el) on Dropbox: Ho to access it?

2014-01-18 Thread Peter Davis


On 1/18/14, 1:44 PM, Renato wrote:

Hi,
I use org mode on two pc:
- windows (from work)
- Debian (at home)

How can have just one .emacs/init.el file?

I would store the file on a Dropbox folder that I access from both 
devices.



There are a few options, described in more detail here:

http://www.gnu.org/software/emacs/manual/html_node/emacs/Init-File.html

You can set HOME to point to your Dropbox directory, or use the -u 
command line argument to start emacs with a different init file. Or you 
can put an init file on each machine that simple does


(load /My/Dropbox/folder/.emacs)

--

Peter Davis
The Tech Curmudgeon
www.techcurmudgeon.com