From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Anselm Helbig Newsgroups: gmane.emacs.help Subject: Re: Remote .emacs file Date: Wed, 26 Apr 2006 18:52:47 +0200 Organization: Freie Universitaet Berlin Message-ID: <87k69cl1nk.wl@nospam.anselm.chemie.fu-berlin.de> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1146073236 23925 80.91.229.2 (26 Apr 2006 17:40:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 26 Apr 2006 17:40:36 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 26 19:40:34 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 1FYo03-0000LB-T7 for geh-help-gnu-emacs@m.gmane.org; Wed, 26 Apr 2006 19:40:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FYo03-0006Ca-DI for geh-help-gnu-emacs@m.gmane.org; Wed, 26 Apr 2006 13:40:27 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.uchicago.edu!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 29 Original-X-Trace: news.uni-berlin.de gxIeZaUKg/purnkvVxTg4QVXPGzc9g8VrfnVnW2px99IK7l5Okz8oxQHoV In-Reply-To: Mail-Followup-To: anselm@chemie.fu-berlin.de User-Agent: Wanderlust/2.11.30 (Wonderwall) Emacs/21.4 Mule/5.0 (SAKAKI) Original-Xref: shelby.stanford.edu gnu.emacs.help:139052 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:34675 Archived-At: At Tue, 25 Apr 2006 20:00:21 -0400, "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. 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