emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Kitchin <jkitchin@andrew.cmu.edu>
To: Renato Pontefice <renato.pontefice@gmail.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: working on cloud
Date: Sat, 11 Jan 2014 10:38:20 -0500	[thread overview]
Message-ID: <CAJ51ETo_=hNbWJ+_ZPUxRkVP6fd_ryFubgXeMUmDx1N3Utqyew@mail.gmail.com> (raw)
In-Reply-To: <CAF83ECCdCt8NZK-h5O1t8_M5PytxcvJf71R6csqaBHYLCwM5=A@mail.gmail.com>

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

Yes, I run emacs differently on different machines. On the windows machine
I am on now, I have a shortcut that runs
C:\Users\jkitchin\Dropbox\software\emacs-24.3\bin\runemacs.exe -l
~/Dropbox/.emacs.d/init.el

On my unix machine, I do it a bit differently. There is a line in my
~/.emacs.d/init.el file that reads:

(load-file "~/Dropbox/.emacs.d/init.el")

but, I could just use an alias for that ran
emacs -l ~/Dropbox/.emacs.d/init.el

Everything else gets configured through the .emacs.d in my Dropbox folder.

FWIW, I too have occasionally had problems with conflicting files on
Dropbox, and I usually use kdiff3 to resolve them. It has a gui that works
well for me on windows and unix. I don't have this problem very often
though.


John

-----------------------------------
John Kitchin
Associate Professor
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
http://kitchingroup.cheme.cmu.edu



On Thu, Jan 9, 2014 at 4:17 AM, Renato Pontefice <renato.pontefice@gmail.com
> wrote:

> Hi John,
> can you explain me better what do you do? I'm pretty new to emacs.
> I see that:
> - on win, I have c:\emacs\.emacs.d\ini.el
> - on linux It's name is  emacs
>
> What you do is to run emacs in a diiferet way from Win and Linx (with
> different link)?
>
> TIA
>
> Renato
>
>
>
> 2014/1/9 John Kitchin <jkitchin@andrew.cmu.edu>
>
>> I keep my .emacs.d in a Dropbox folder. I start emacs with an alias like
>> this:
>> "C:\Users\jkitchin\Documents\v3 - My Box
>> Files\06-625\emacs-24.3\bin\runemacs.exe" -q -l
>> "C:\Users\jkitchin\Dropbox\.emacs.d\init.el"
>>
>> I run prelude inside that .emacs.d
>>
>> this lets me run the same setup on three windows machines, and one linux
>> machine. Dropbox does a pretty good job of keeping it synced.
>>
>>
>>
>> John
>>
>> -----------------------------------
>> John Kitchin
>> Associate Professor
>> Doherty Hall A207F
>> Department of Chemical Engineering
>> Carnegie Mellon University
>> Pittsburgh, PA 15213
>> 412-268-7803
>> http://kitchingroup.cheme.cmu.edu
>>
>>
>>
>> On Wed, Jan 8, 2014 at 4:28 PM, Joseph Vidal-Rosset <
>> joseph.vidal.rosset@gmail.com> wrote:
>>
>>> Le mer. 08 janv. 2014 à 07:59:50 , Renato <renato.pontefice@gmail.com> a
>>> envoyé ce message:
>>> > Hi,
>>> > I'm learning emacs (as you probabily know :-)).
>>> > I have:
>>> > - one pc at home (linux Debian)
>>> > - one at work (windows)
>>> >
>>> > I would like to use the same configuration.
>>> > Now, I have my .org file on the cloud (so I can access it from
>>> anywhere)
>>> > But I'm  starting to edit also the config file:
>>> > on Win it is:
>>> > init.el
>>> >
>>> > on linux is
>>> > emacs
>>> >
>>> > so...How can I have a centralized instalation of emacs? Or, better: Is
>>> > it possible?
>>> >
>>> > TIA
>>> >
>>> > Renato
>>>
>>> Hi,
>>>
>>> Yes it is possible. It seems to me that now the best with emacs24 is
>>> to adopt the same configuration file  with an init.el with the following
>>> path:
>>>
>>> /home/your_home/.emacs.d/init.el
>>>
>>> the  folder .emacs.d/  is automatically  created when  you start  for the
>>> first time your emacs in your Debian.
>>>
>>> I do  not know how things  works in Windows,  because I do not  use this
>>> O.S.
>>>
>>> Windows users in this list - it  they are ;) - will probably complete my
>>> reply.
>>>
>>> I hope it helps.
>>>
>>> Best wishes,
>>>
>>> Jo.
>>>
>>>
>>
>

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

  parent reply	other threads:[~2014-01-11 15:38 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-08 18:59 working on cloud Renato
2014-01-08 19:28 ` Nick Dokos
2014-01-08 19:32   ` Sam Flint
2014-01-08 21:28 ` Joseph Vidal-Rosset
2014-01-08 23:35   ` John Kitchin
     [not found]     ` <CAF83ECCdCt8NZK-h5O1t8_M5PytxcvJf71R6csqaBHYLCwM5=A@mail.gmail.com>
2014-01-11 15:38       ` John Kitchin [this message]
2014-01-09  7:19 ` Paul Rudin
2014-01-09  8:00   ` David Belohrad
2014-01-09  8:14     ` Paul Rudin
2014-01-09  8:36       ` David Belohrad
2014-01-09  8:48         ` Ian Barton
2014-01-09 15:03           ` Ted Wiles
2014-01-09 15:28         ` Brett Viren
  -- strict thread matches above, loose matches on Subject: below --
2014-01-13 11:52 Renato Pontefice
2014-01-13 11:54 ` Bastien
2014-01-14 11:45   ` Renato Pontefice
2014-01-14 12:24     ` Nick Dokos
2014-01-14 12:58       ` Alexander Baier
2014-01-14  7:20 ` Paul Rudin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJ51ETo_=hNbWJ+_ZPUxRkVP6fd_ryFubgXeMUmDx1N3Utqyew@mail.gmail.com' \
    --to=jkitchin@andrew.cmu.edu \
    --cc=emacs-orgmode@gnu.org \
    --cc=renato.pontefice@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).