help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Loading local .emacs from remote machine


From: Brian Palmer
Subject: Re: Loading local .emacs from remote machine
Date: 07 Feb 2003 14:12:44 -0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter)

bigfaceworm@hotmail.com (bigfaceworm) writes:

> gebser@ameritech.net wrote in message 
> news:<Pine.LNX.4.44.0302031943250.16795-100000@heidegger.mousecar.net>...
> > 
> > My first thought was simply to edit my own (local) ".emacs" and putting
> > it on his machine (as, say, .emacs-ken, then doing "emacs -t
> > .emacs-ken").  I was looking for something even simpler and more
> > discrete than that.  (Sheesh, I'm a lazy SOB.)
> 
> I remember playing around with this.  My issue was that
> the color changes my .emacs set up wouldn't come into effect
> if I manually loaded the .emacs.  But this .emacs (on the remote
> machine) seemed to work just fine:
> 
> 
> (eval-after-load 'dot-emacs
>   (load-file "/bigfaceworm@localmachine.com:/path/to/bigfaceworm/.emacs"))

Unless I'm missing something, that should be
(eval-after-load 'dot-emacs
  '(load-file
    "/bigfaceworm@localmachine.com:/path/to/bigfaceworm/.emacs")) 

if you actually want to not load the file until after the provide. 


-- 
If you want divine justice, die.
                  -- Nick Seldon 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]