unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: using new versions of emacs without stoping a session
Date: Wed, 17 Apr 2019 10:01:16 -0400	[thread overview]
Message-ID: <jwva7go20p9.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: DD740382-244A-4B2A-9A65-FD6ABF28DE45@gmail.com

> Is it possible to keep emacs running and update its code ?
> For lisp code I guess that's not an issue, but for the c code ?

You can definitely edit Emacs's C code while it's running as well as
compile this new code.  I do that all the time.
But in order for Emacs to start using this new code, you're going to
have to start a new process (but you don't have to stop the old
process for that).

That's one of the main reasons why we generally prefer when the
code is written in Elisp rather than in C,


        Stefan




  reply	other threads:[~2019-04-17 14:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-17 13:31 using new versions of emacs without stoping a session Jean-Christophe Helary
2019-04-17 14:01 ` Stefan Monnier [this message]
2019-04-17 14:35   ` Jean-Christophe Helary
2019-04-17 16:13   ` Eli Zaretskii
2019-04-18  2:47     ` YUE Daian
2019-04-18 12:42       ` Eli Zaretskii
2019-04-18 13:56         ` Stefan Monnier
2019-04-18 12:46     ` Yuri Khan

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=jwva7go20p9.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --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).