From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Moreton Newsgroups: gmane.emacs.help Subject: Re: execute defun on reception of signal Date: Mon, 13 Jul 2015 09:28:39 +0100 Message-ID: <86y4ikv4ug.fsf@gmail.com> References: <871tgedtkv.fsf@nl106-137-147.student.uu.se> <86r3odvfg3.fsf@gmail.com> <871tgd9uwi.fsf@nl106-137-147.student.uu.se> <7d1d1e2c-1b1d-490a-a20e-1a06c84e2c87@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1436776156 11101 80.91.229.3 (13 Jul 2015 08:29:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 13 Jul 2015 08:29:16 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 13 10:29:08 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZEZ6q-0006YQ-39 for geh-help-gnu-emacs@m.gmane.org; Mon, 13 Jul 2015 10:29:08 +0200 Original-Received: from localhost ([::1]:53459 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZEZ6p-0002Lc-A9 for geh-help-gnu-emacs@m.gmane.org; Mon, 13 Jul 2015 04:29:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51211) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZEZ6c-0002LU-3z for help-gnu-emacs@gnu.org; Mon, 13 Jul 2015 04:28:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZEZ6X-0006QX-Ag for help-gnu-emacs@gnu.org; Mon, 13 Jul 2015 04:28:54 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:36869) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZEZ6X-0006QN-3v for help-gnu-emacs@gnu.org; Mon, 13 Jul 2015 04:28:49 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZEZ6U-0006OC-EL for help-gnu-emacs@gnu.org; Mon, 13 Jul 2015 10:28:46 +0200 Original-Received: from 82-69-64-228.dsl.in-addr.zen.co.uk ([82.69.64.228]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Jul 2015 10:28:46 +0200 Original-Received: from andrewjmoreton by 82-69-64-228.dsl.in-addr.zen.co.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Jul 2015 10:28:46 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 36 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 82-69-64-228.dsl.in-addr.zen.co.uk User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (windows-nt) Cancel-Lock: sha1:hySnIYPXJY+YKxir/4jXiEa4O/4= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:105676 Archived-At: On Sun 12 Jul 2015, Rusi wrote: > On Monday, July 13, 2015 at 12:24:48 AM UTC+5:30, Andy Moreton wrote: >> On Sun 12 Jul 2015, Emanuel Berg wrote: >> >> > Andy Moreton writes: >> > >> >> This is documented in the info "(elisp) Misc Events" >> >> node, which you could have easily found yourself. >> > >> > Ridiculous. Go fly I kite - if you know how. >> >> There is no need to be rude. >> >> The elisp manual includes full documentation with example code, at the >> location I pointed out. There is no need to repeat that information >> here. >> >> If you are too lazy to read the docs then you will struggle to find >> people willing to help you. > > In all fairness, I thought the question interesting and spent some 10-15 minutes > searching an answer.... to no avail. Google finds the right page if you search for "emacs SIGUSR1" In emacs, you can find the info page with: C-h i d m elisp RET i SIGUSR1 RET > OTOH I generally find google usually gives a more pointed answer quicker than > manually searching the docs. This may well be some kind of exception.... Both can be useful. The info pages have good indexes that are usually a quick way of finding the answer. AndyM