unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Anselm Helbig <anselm@chemie.fu-berlin.de>
Subject: Re: Remote .emacs file
Date: Wed, 26 Apr 2006 18:52:47 +0200	[thread overview]
Message-ID: <87k69cl1nk.wl@nospam.anselm.chemie.fu-berlin.de> (raw)
In-Reply-To: <mailman.944.1146009626.9609.help-gnu-emacs@gnu.org>

At Tue, 25 Apr 2006 20:00:21 -0400,
"Leonid Grinberg" <lgrinberg@gmail.com> 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.

maybe this works for you: put the following lines in all your .emacs
files, and put the rest on a web server:

  (defun my-eval-url-callback ()
    (goto-char (point-min))
    (re-search-forward "^\r?$" nil 1)
    (delete-region (point-min) (point))
    (eval-buffer))

  (url-retrieve "http://example.org/emacs.el" 'my-eval-url-callback)

i tested this only superficially. i, too, use version control (darcs)
for my .emacs. 

regards, 

anselm

  parent reply	other threads:[~2006-04-26 16:52 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 ` Remote .emacs file liyer.vijay
2006-04-26 16:52 ` Anselm Helbig [this message]
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87k69cl1nk.wl@nospam.anselm.chemie.fu-berlin.de \
    --to=anselm@chemie.fu-berlin.de \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).