unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Magnus Henoch <mange@freemail.hu>
Subject: Re: save-buffers-kill-emacs from remote unix signal?
Date: Sat, 14 Oct 2006 19:45:45 +0200	[thread overview]
Message-ID: <87ac3yrdti.fsf@freemail.hu> (raw)
In-Reply-To: 1160841107.556566.18240@h48g2000cwc.googlegroups.com

georgeryoung@gmail.com writes:

> Is there some way I can use a unix signal to remotely cause
> emacs to save-buffers-kill-emacs without query,
> i.e. as if I had typed ^U^X^C ?

You could use the Emacs Server (put (server-start) in your .emacs).
Then you can call "emacsclient -e '(save-buffers-kill-emacs t)'".

Magnus

  parent reply	other threads:[~2006-10-14 17:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-14 15:51 save-buffers-kill-emacs from remote unix signal? georgeryoung
2006-10-14 17:16 ` David Hansen
2006-10-14 17:45 ` Magnus Henoch [this message]
2006-10-16 15:58 ` Kevin Rodgers
     [not found] ` <mailman.8213.1161014465.9609.help-gnu-emacs@gnu.org>
2006-10-16 18:10   ` georgeryoung

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=87ac3yrdti.fsf@freemail.hu \
    --to=mange@freemail.hu \
    /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).