From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Elena Newsgroups: gmane.emacs.help Subject: Re: Restarting Emacs? Date: Thu, 30 Jul 2009 00:49:53 -0700 (PDT) Organization: http://groups.google.com Message-ID: <10421133-7af7-4966-95e1-77b915ffd541@a26g2000yqn.googlegroups.com> References: <35bb8492-cd5b-4001-bcc0-d33f2f92894f@w41g2000yqb.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1248943331 22876 80.91.229.12 (30 Jul 2009 08:42:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Jul 2009 08:42:11 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jul 30 10:42:04 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MWRCW-0003hb-Gg for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Jul 2009 10:41:27 +0200 Original-Received: from localhost ([127.0.0.1]:59226 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWRCV-0001co-Lu for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Jul 2009 04:41:23 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!a26g2000yqn.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 Original-NNTP-Posting-Host: 81.208.92.182 Original-X-Trace: posting.google.com 1248940193 4219 127.0.0.1 (30 Jul 2009 07:49:53 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 30 Jul 2009 07:49:53 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: a26g2000yqn.googlegroups.com; posting-host=81.208.92.182; posting-account=AFCLjAoAAABJAOf_HjgEEEi3ty-lG5m2 User-Agent: G2/1.0 X-HTTP-Via: 1.1 sic.int.lisit.it:8080 (squid/2.5.STABLE3) X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:171320 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:66506 Archived-At: On 29 Lug, 22:57, Ian Eure wrote: > On Jul 29, 2009, at 4:53 AM, Elena wrote: > > > Hello, > > > can you make Emacs restart itself a la Firefox (for instance: after an > > heavy update of initialization file)? > > Why would you want to do that when you could just eval-buffer the new =A0 > init file? > > =A0 - Ian Because I share same Emacs configuration files both at work and at home. Whenever I modify some file at home, before leaving I synchronize them with a copy on a USB stick. When I'm back to work I have to synchronize them back and restart Emacs. Therefore I was looking for a way to write a function to automate such task from Emacs itself. Furthermore, I was thinking about writing a module which would look for updates of currently installed modules and automatically downloading them and restarting Emacs...