From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/82554 Path: news.gmane.org!not-for-mail From: Uwe Brauer Newsgroups: gmane.emacs.gnus.general Subject: reply hook? Date: Fri, 30 Nov 2012 16:03:24 +0100 Message-ID: <87txs7i14z.fsf@gilgamesch.quim.ucm.es> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1354287838 4849 80.91.229.3 (30 Nov 2012 15:03:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 Nov 2012 15:03:58 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M30820@lists.math.uh.edu Fri Nov 30 16:04:11 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TeS8P-0006nW-W1 for ding-account@gmane.org; Fri, 30 Nov 2012 16:04:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1TeS7x-0002Sz-O4; Fri, 30 Nov 2012 09:03:41 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1TeS7w-0002Sl-4r for ding@lists.math.uh.edu; Fri, 30 Nov 2012 09:03:40 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1TeS7u-0005ZC-Fw for ding@lists.math.uh.edu; Fri, 30 Nov 2012 09:03:39 -0600 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1TeS7t-0000Av-3J for ding@gnus.org; Fri, 30 Nov 2012 16:03:37 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TeS81-0006II-Gm for ding@gnus.org; Fri, 30 Nov 2012 16:03:45 +0100 Original-Received: from gilgamesch.quim.ucm.es ([147.96.12.99]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 Nov 2012 16:03:45 +0100 Original-Received: from oub by gilgamesch.quim.ucm.es with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 Nov 2012 16:03:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 30 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: gilgamesch.quim.ucm.es X-Hashcash: 1:20:121130:gmane.emacs.gnus.general::wzhFYUYHvHPxdg/k:00000000000000000000000000000000000000ZbB User-Agent: Gnus/5.110018 (No Gnus v0.18) XEmacs/21.5-b32 (linux) Cancel-Lock: sha1:WR/3xt93sT7LGpOtZrk4GzcPr4Q= X-Spam-Score: -2.3 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:82554 Archived-At: Hello I would like to execute a couple of function when replying. I have not found a relevant hook so I am using defadvice which is not good for debugging. Example (defadvice gnus-summary-reply (after mycheckispell activate) "Runs ispell dict checks and other stuff after the gnus-summary-reply-with-original function." (my-checks-spell)) (defun my-checks-spell () (interactive) (bbdbciteadpt-insert-bbdbcite) (bbdbispelladpt-try-bbdbispell) (bbdbscadapt-try-bbdbsc) (tool-check-from-and-change-ispell-dic) (message-goto-subject) (bbdb-inform-dict-and-abbrev)) Any suggestions? Thanks Uwe Brauer