From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kai Grossjohann Newsgroups: gmane.emacs.help Subject: Re: emacsclient: controlling from an application? Date: Mon, 01 Dec 2003 21:40:34 +0000 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87znecp67h.fsf@emptyhost.emptydomain.de> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1070320783 26363 80.91.224.253 (1 Dec 2003 23:19:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 1 Dec 2003 23:19:43 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 02 00:19:40 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AQxKO-0007rk-00 for ; Tue, 02 Dec 2003 00:19:40 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AQwop-0006Mv-2z for geh-help-gnu-emacs@m.gmane.org; Mon, 01 Dec 2003 17:47:03 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!213-203-244-156.kunde.vdserver.DE!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 17 Original-NNTP-Posting-Host: 213-203-244-156.kunde.vdserver.de (213.203.244.156) Original-X-Trace: news.uni-berlin.de 1070314847 67028692 213.203.244.156 ([73968] 10430) User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.2 (gnu/linux) Cancel-Lock: sha1:jYJXvjWNpn5x+TMVo7+iIERRzyQ= Original-Xref: shelby.stanford.edu gnu.emacs.help:118867 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:14804 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:14804 drmemory@starband.net (DrMemory) writes: > I would like to have a cron task signal emacsclient to save a certain > buffer which I keep open throughout the workday, so that a perl script > can do some processing on the contents at the end of the day. > Signalling to save _all_ buffers would be okay too. Does the end of the day mean midnight? In that case, you could cause the processing from Emacs, using midnight.el. Or does it mean when you hit C-x C-c? In that case, kill-emacs-query-functions or kill-emacs-hook might be for you. Isn't it nasty of Emacs that it also wants to take over the job of cron? Kai