all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: liyer.vijay@gmail.com
Subject: Re: Remote .emacs file
Date: 25 Apr 2006 17:20:29 -0700	[thread overview]
Message-ID: <1146010829.663950.7760@i39g2000cwa.googlegroups.com> (raw)
In-Reply-To: mailman.944.1146009626.9609.help-gnu-emacs@gnu.org

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	other threads:[~2006-04-26  0:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.944.1146009626.9609.help-gnu-emacs@gnu.org>
2006-04-26  0:20 ` liyer.vijay [this message]
2006-04-26 16:52 ` Remote .emacs file Anselm Helbig
2006-04-26  0:00 Leonid Grinberg
2006-04-26  0:25 ` Denis Bueno
2006-04-26 17:12 ` Kevin Rodgers
2006-04-27 17:43 ` Steinar Bang
     [not found] ` <mailman.1036.1146160561.9609.help-gnu-emacs@gnu.org>
2006-04-28 15:44   ` Phillip Lord

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1146010829.663950.7760@i39g2000cwa.googlegroups.com \
    --to=liyer.vijay@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.