From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.help Subject: Re: Restarting Emacs? Date: Thu, 30 Jul 2009 02:21:07 +0200 Message-ID: References: <35bb8492-cd5b-4001-bcc0-d33f2f92894f@w41g2000yqb.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1248913311 24631 80.91.229.12 (30 Jul 2009 00:21:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Jul 2009 00:21:51 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Elena Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jul 30 02:21:44 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 1MWJOx-0006dr-I1 for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Jul 2009 02:21:43 +0200 Original-Received: from localhost ([127.0.0.1]:54516 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWJOw-00043c-M5 for geh-help-gnu-emacs@m.gmane.org; Wed, 29 Jul 2009 20:21:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MWJOT-00041s-VF for help-gnu-emacs@gnu.org; Wed, 29 Jul 2009 20:21:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MWJOP-0003vB-Mx for help-gnu-emacs@gnu.org; Wed, 29 Jul 2009 20:21:13 -0400 Original-Received: from [199.232.76.173] (port=47158 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWJOP-0003v1-Kg for help-gnu-emacs@gnu.org; Wed, 29 Jul 2009 20:21:09 -0400 Original-Received: from mail-yx0-f172.google.com ([209.85.210.172]:36090) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MWJOP-0002pa-0O for help-gnu-emacs@gnu.org; Wed, 29 Jul 2009 20:21:09 -0400 Original-Received: by yxe2 with SMTP id 2so2130866yxe.14 for ; Wed, 29 Jul 2009 17:21:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=hNjqjU+NG+1oXucHlDUxSCFYhObSse0ZjAcnnDrDEwQ=; b=HDqjEetd2JzedkVOdxSJsTjHrazqs6lixd9IbxjjWAAaMS+KxILrmpnS2V1+TyDvl/ j2BV09G6LvXF5AWbWp8AM2TBMr5a6tyo1UTzH3X125aZpUIRbM+z1Y7inDegIIsKK1yx HKOfAEX1q3PNZxFtMHVXrOgpCL8LwYr/gk61c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=abkyQDmjDiB3jxBvz3MXwuQb6/NaQ1Hw10aikQqEH9N4B098/SIjJlQJu8DM2oql19 f9jN81DmPSIXrkNigWDVRVzmwrgrnTnygORQz04YQDKyCf/jBb+uP8hadD+A1pS8XEYv 6Z319GwTz1hLg0JXtR+uvCALki6M2FdJJ0EuY= Original-Received: by 10.100.172.16 with SMTP id u16mr675666ane.85.1248913267904; Wed, 29 Jul 2009 17:21:07 -0700 (PDT) In-Reply-To: <35bb8492-cd5b-4001-bcc0-d33f2f92894f@w41g2000yqb.googlegroups.com> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:66500 Archived-At: On Wed, Jul 29, 2009 at 1:53 PM, Elena wrote: > Hello, > > can you make Emacs restart itself a la Firefox (for instance: after an > heavy update of initialization file)? You mean with all the files you have opened etc? For that you can use desktop-mode. Stopping and starting Emacs itself by hand is not a very big problem, or? If you think so then you could write a function that does: 1) adds a function that start a new Emacs instance last in the hook kill-emacs-hook. 2) Kills emacs