From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: liyer.vijay@gmail.com Newsgroups: gmane.emacs.help Subject: Re: Remote .emacs file Date: 25 Apr 2006 17:20:29 -0700 Organization: http://groups.google.com Message-ID: <1146010829.663950.7760@i39g2000cwa.googlegroups.com> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1146012039 11454 80.91.229.2 (26 Apr 2006 00:40:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 26 Apr 2006 00:40:39 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 26 02:40:38 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FYY4y-0005mX-1b for geh-help-gnu-emacs@m.gmane.org; Wed, 26 Apr 2006 02:40:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FYY4x-0004Ap-JI for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Apr 2006 20:40:27 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!i39g2000cwa.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 32 Original-NNTP-Posting-Host: 216.47.129.200 Original-X-Trace: posting.google.com 1146010840 25525 127.0.0.1 (26 Apr 2006 00:20:40 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 26 Apr 2006 00:20:40 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060413 Ubuntu/dapper Firefox/1.5.0.1,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: i39g2000cwa.googlegroups.com; posting-host=216.47.129.200; posting-account=dPba2w0AAAAAulCJ1KybNHojA2NW0cbx Original-Xref: shelby.stanford.edu gnu.emacs.help:139037 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:34658 Archived-At: Leonid Grinberg wrote: > Hello all, > > I am a long-time Perl programmer, but unfortunately only know > Emacs-Lisp on a theoretical level. However, I do use Emacs a lot, and > have a relatively small, but still useful .emacs file. It has > configurations in it, without which I am starting to feel > uncomfortable. I use Emacs on many different machines (~5), and it > would be nice to have a standard .emacs file. > > In Perl, I could easily put one on the web, and then have Perl > download it and use eval() to load the functions in it. However, I do > not know how to do this with Elisp. > > Does anyone out there know (of a way to do it, or of another way)? I > would be very greatful if you told me! Thanks in advance! Either I don't understand your problem or the answer is very easy. Emacs reads the .emacs file from the user's home directory on loading. Why not just get your perl script to download the file from whereever and save it as ~/.emacs before starting emacs? If emacs is already running and you want to load some file, M-x load-file RET ~/.emacs RET is your solution. This is assuming that your different computers are unix based. I don't know what you'd do on windows. Cheers Vijay