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

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

Re: Remote .emacs file


From: liyer . vijay
Subject: Re: Remote .emacs file
Date: 25 Apr 2006 17:20:29 -0700
User-agent: G2/0.2

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



reply via email to

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