From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Brian Palmer Newsgroups: gmane.emacs.help Subject: Re: Loading local .emacs from remote machine Date: 07 Feb 2003 14:12:44 -0800 Organization: Stanford University, CA, USA Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <0whfzqz3fkz.fsf@rescomp.Stanford.EDU> References: <3E3EFF05.1040209@ihs.com> <2bd747c7.0302050833.67c479d8@posting.google.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1044656390 25953 80.91.224.249 (7 Feb 2003 22:19:50 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 7 Feb 2003 22:19:50 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18hGqY-0006k9-00 for ; Fri, 07 Feb 2003 23:19:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18hGn6-0005l3-05 for gnu-help-gnu-emacs@m.gmane.org; Fri, 07 Feb 2003 17:16:12 -0500 Original-Path: shelby.stanford.edu!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 29 Original-NNTP-Posting-Host: rescomp.stanford.edu Original-X-Trace: news.Stanford.EDU 1044655964 21513 171.64.136.254 (7 Feb 2003 22:12:44 GMT) Original-X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter) Original-Xref: shelby.stanford.edu gnu.emacs.help:109940 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:6445 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:6445 bigfaceworm@hotmail.com (bigfaceworm) writes: > gebser@ameritech.net wrote in message news:... > > > > 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