emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* .emacs (init.el) on Dropbox: Ho to access it?
@ 2014-01-18 18:44 Renato
  2014-01-18 21:05 ` Peter Davis
  0 siblings, 1 reply; 4+ messages in thread
From: Renato @ 2014-01-18 18:44 UTC (permalink / raw)
  To: emacs-orgmode

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

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

* Re: .emacs (init.el) on Dropbox: Ho to access it?
  2014-01-18 18:44 .emacs (init.el) on Dropbox: Ho to access it? Renato
@ 2014-01-18 21:05 ` Peter Davis
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Davis @ 2014-01-18 21:05 UTC (permalink / raw)
  To: emacs-orgmode


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

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

* Re: .emacs (init.el) on Dropbox: Ho to access it?
  2014-04-11 17:37 Jorge A. Alfaro Murillo
@ 2014-04-11 18:45 ` J. David Boyd
  0 siblings, 0 replies; 4+ messages in thread
From: J. David Boyd @ 2014-04-11 18:45 UTC (permalink / raw)
  To: emacs-orgmode

"Jorge A. Alfaro Murillo" <jorge.a.alfaro@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

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

* Re: .emacs (init.el) on Dropbox: Ho to access it?
@ 2014-04-11 17:37 Jorge A. Alfaro Murillo
  2014-04-11 18:45 ` J. David Boyd
  0 siblings, 1 reply; 4+ messages in thread
From: Jorge A. Alfaro Murillo @ 2014-04-11 17:37 UTC (permalink / raw)
  To: emacs-orgmode

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

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.

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

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

end of thread, other threads:[~2014-04-11 18:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-18 18:44 .emacs (init.el) on Dropbox: Ho to access it? Renato
2014-01-18 21:05 ` Peter Davis
2014-04-11 17:37 Jorge A. Alfaro Murillo
2014-04-11 18:45 ` J. David Boyd

Code repositories for project(s) associated with this 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).