unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Lennart Borgman <lennart.borgman@gmail.com>
To: Elena <egarrulo@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Restarting Emacs?
Date: Thu, 30 Jul 2009 03:59:22 +0200	[thread overview]
Message-ID: <e01d8a50907291859p3188ae2g537228247f933abc@mail.gmail.com> (raw)
In-Reply-To: <e01d8a50907291721y47c9fe1g82f2339c142b0d9e@mail.gmail.com>

On Thu, Jul 30, 2009 at 2:21 AM, Lennart
Borgman<lennart.borgman@gmail.com> wrote:
> On Wed, Jul 29, 2009 at 1:53 PM, Elena<egarrulo@gmail.com> 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

Kind of unnecessary, but ...

I wrote a function emacs-restart that you can grab from the file
ourcomments-util.el in nXhtml (currently only in the Launchpad
repository).




  reply	other threads:[~2009-07-30  1:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-29 11:53 Restarting Emacs? Elena
2009-07-29 22:13 ` Giorgos Keramidas
2009-07-29 22:57 ` Ian Eure
2009-07-30  0:08   ` Sven Bretfeld
2009-07-30  0:21 ` Lennart Borgman
2009-07-30  1:59   ` Lennart Borgman [this message]
     [not found] ` <mailman.3422.1248908240.2239.help-gnu-emacs@gnu.org>
2009-07-30  7:49   ` Elena

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=e01d8a50907291859p3188ae2g537228247f933abc@mail.gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=egarrulo@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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).