From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: working on cloud Date: Sat, 11 Jan 2014 10:38:20 -0500 Message-ID: References: <52CDA026.4050402@gmail.com> <87zjn66u4r.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b33d9bcd938b804efb3a186 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60866) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W20dn-0004yl-UV for emacs-orgmode@gnu.org; Sat, 11 Jan 2014 10:38:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W20di-0003qq-HN for emacs-orgmode@gnu.org; Sat, 11 Jan 2014 10:38:27 -0500 Received: from mail-pd0-x236.google.com ([2607:f8b0:400e:c02::236]:58391) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W20di-0003qj-4m for emacs-orgmode@gnu.org; Sat, 11 Jan 2014 10:38:22 -0500 Received: by mail-pd0-f182.google.com with SMTP id v10so5783444pde.27 for ; Sat, 11 Jan 2014 07:38:20 -0800 (PST) In-Reply-To: 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: Renato Pontefice Cc: "emacs-orgmode@gnu.org" --047d7b33d9bcd938b804efb3a186 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 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 > >> 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 =E0 07:59:50 , Renato a >>> envoy=E9 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: I= s >>> > 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 followin= g >>> path: >>> >>> /home/your_home/.emacs.d/init.el >>> >>> the folder .emacs.d/ is automatically created when you start for t= he >>> first time your emacs in your Debian. >>> >>> I do not know how things works in Windows, because I do not use thi= s >>> O.S. >>> >>> Windows users in this list - it they are ;) - will probably complete m= y >>> reply. >>> >>> I hope it helps. >>> >>> Best wishes, >>> >>> Jo. >>> >>> >> > --047d7b33d9bcd938b804efb3a186 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Yes, I run emacs differently on d= ifferent machines. On the windows machine I am on now, I have a shortcut th= at 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 o= n 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
Pittsbu= rgh, PA 15213
412-268-7803
http://kitchingroup.cheme.cmu.edu



On Thu, Jan 9, 2014 at 4:17 AM, Renato P= ontefice <renato.pontefice@gmail.com> wrote:
Hi John,
can y= ou 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
- o= n linux It's name is=A0 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 s= tart 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:\Use= rs\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 do= es a pretty good job of keeping it synced.



John

-----------------------------------
J= ohn Kitchin
Associate Professor
Doherty Hall A207F
Department of C= hemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213 412-2= 68-7803
http://kitchingroup.cheme.cmu.edu



On Wed, Jan 8, 2014 at 4:28 PM, Joseph V= idal-Rosset <joseph.vidal.rosset@gmail.com> wrot= e:
Le mer. 08 janv. 2014 =E0 07:59:50 , Renato = <renato.= pontefice@gmail.com> a
envoy=E9 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 anywher= e)
> But I'm =A0starting 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 =A0with an init.el with the following<= br> path:

/home/your_home/.emacs.d/init.el

the =A0folder .emacs.d/ =A0is automatically =A0created when =A0you start = =A0for the
first time your emacs in your Debian.

I do =A0not know how things =A0works in Windows, =A0because I do not =A0use= this
O.S.

Windows users in this list - it =A0they are ;) - will probably complete my<= br> reply.

I hope it helps.

Best wishes,

Jo.




--047d7b33d9bcd938b804efb3a186--