From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/63736 Path: news.gmane.org!not-for-mail From: Elias Oltmanns Newsgroups: gmane.emacs.gnus.general Subject: Use of defadvice wrt backquotes Date: Mon, 11 Sep 2006 22:51:49 +0200 Message-ID: <87u03e15zu.fsf@denkblock.local> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1158008434 22390 80.91.229.2 (11 Sep 2006 21:00:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 11 Sep 2006 21:00:34 +0000 (UTC) Original-X-From: ding-owner+m12263@lists.math.uh.edu Mon Sep 11 23:00:33 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GMstG-0002Td-Uz for ding-account@gmane.org; Mon, 11 Sep 2006 23:00:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1GMssi-0006wA-00; Mon, 11 Sep 2006 15:59:52 -0500 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1GMsnn-0006w4-00 for ding@lists.math.uh.edu; Mon, 11 Sep 2006 15:54:47 -0500 Original-Received: from quimby.gnus.org ([80.91.227.211]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1GMsnk-0005sW-2f for ding@lists.math.uh.edu; Mon, 11 Sep 2006 15:54:47 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1GMsnY-0003WL-00 for ; Mon, 11 Sep 2006 22:54:32 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GMsnQ-0001Nw-0J for ding@gnus.org; Mon, 11 Sep 2006 22:54:24 +0200 Original-Received: from pd9e84c0b.dip.t-dialin.net ([217.232.76.11]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 11 Sep 2006 22:54:23 +0200 Original-Received: from oltmanns by pd9e84c0b.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 11 Sep 2006 22:54:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 17 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: pd9e84c0b.dip.t-dialin.net User-Agent: Gnus/5.110006 (No Gnus v0.6) Cancel-Lock: sha1:9Yu0KvnWVID2bQE3Hmmrs9QBxyU= X-Spam-Score: -1.5 (-) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:63736 Archived-At: Hi all, is there a way to append something to a backquoted part of a macro using defadvice? I've discovered that inserting a line (mml-secure-sign) near the end of the backquoted part of gnus-setup-message would be most desirable to me. Unlike the message-setup-hook option, this solution would work as expected not only when composing new mails, but also when replying or forwarding. Moreover, mml-secure-sign would not be called when pressing D e in the drafts group. So, I'm wondering whether I can something similar by means of defadvice. Thanks for any hints, Elias