From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Hansen Newsgroups: gmane.emacs.help Subject: Re: save-buffers-kill-emacs from remote unix signal? Date: Sat, 14 Oct 2006 19:16:54 +0200 Organization: disorganized Message-ID: <87ac3yom0p.fsf@localhorst.mine.nu> References: <1160841107.556566.18240@h48g2000cwc.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1160846700 362 80.91.229.2 (14 Oct 2006 17:25:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 14 Oct 2006 17:25:00 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Oct 14 19:24:58 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GYnFj-0006dO-0P for geh-help-gnu-emacs@m.gmane.org; Sat, 14 Oct 2006 19:24:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GYnFi-0005KE-AC for geh-help-gnu-emacs@m.gmane.org; Sat, 14 Oct 2006 13:24:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GYnEf-0003k7-AW for help-gnu-emacs@gnu.org; Sat, 14 Oct 2006 13:23:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GYnEd-0003gm-Do for help-gnu-emacs@gnu.org; Sat, 14 Oct 2006 13:23:44 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GYnEd-0003gF-4Z for help-gnu-emacs@gnu.org; Sat, 14 Oct 2006 13:23:43 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GYnNL-0001UZ-5A for help-gnu-emacs@gnu.org; Sat, 14 Oct 2006 13:32:43 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GYnEK-0006Mp-Sc for help-gnu-emacs@gnu.org; Sat, 14 Oct 2006 19:23:25 +0200 Original-Received: from e178034164.adsl.alicedsl.de ([85.178.34.164]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 14 Oct 2006 19:23:24 +0200 Original-Received: from david.hansen by e178034164.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 14 Oct 2006 19:23:24 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-To: help-gnu-emacs@gnu.org Original-Lines: 15 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: e178034164.adsl.alicedsl.de Mail-Copies-To: nobody User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:PKNwrVcbkbvHPB+fDRYE4x6riiM= 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:38034 Archived-At: On 14 Oct 2006 08:51:47 -0700 georgeryoung@gmail.com wrote: > [GNU emacs 22.0.50.1 sparc-sun-solaris2.9 X-toolkit] > 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 ? If I leave emacs up in my > office with many unsaved buffers, I'd like to log in from home > and do "kill -something " and have it save all > buffers unconditionally and exit. The Multi TTY branch can solve your problem or a bit more complicated tunnel X via ssh and create a frame on our $DISPLAY at home using emacsclient. David