From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/74318 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: [PATCH] message-goto-body after <#secure Date: Wed, 24 Nov 2010 21:53:05 +0100 Organization: Programmerer Ingebrigtsen Message-ID: References: <87fwurlpyw.fsf@kotik.lan> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1290632120 24034 80.91.229.12 (24 Nov 2010 20:55:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 24 Nov 2010 20:55:20 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M22683@lists.math.uh.edu Wed Nov 24 21:55:16 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PLMN2-0000zo-8i for ding-account@gmane.org; Wed, 24 Nov 2010 21:55:16 +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 1PLMMx-0002fE-73; Wed, 24 Nov 2010 14:55:11 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PLMMw-0002f4-0s for ding@lists.math.uh.edu; Wed, 24 Nov 2010 14:55:10 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PLMMr-0006EK-Lh for ding@lists.math.uh.edu; Wed, 24 Nov 2010 14:55:09 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1PLMMq-00031C-00 for ; Wed, 24 Nov 2010 21:55:04 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PLMMq-0000qq-Lm for ding@gnus.org; Wed, 24 Nov 2010 21:55:04 +0100 Original-Received: from cm-84.215.34.171.getinternet.no ([84.215.34.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Nov 2010 21:55:04 +0100 Original-Received: from larsi by cm-84.215.34.171.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Nov 2010 21:55:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 20 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.34.171.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWgnYn+/ev+//FWU0j1 8d0DAQD+//Lf2cLKxa0JBgP+//MYFRGGk+Z9AAACPklEQVQ4jV2SMYvjMBCFB1ys4CoJ/wGLw0Uq g6olVcDg/QMuwnUqXKTa5QJ26SMHdr+kMO5cpHBrtgj6c/dGsjfhBoKd+fTeG01C8zzftJZ1Xfdc 7YveoWU1zVwMmsYToU9oTLMHJ5t0kASitT8bFDbu0A1uUqffwCYARF1P1PcqfSgqBi31bZSJXu8q ZFQAt0oziACIRKdSbWfLYLYqieumbQEy0UmtdWW3jNoPFRQK6VO4x22dthUtFFLijtaD6eeqEBj3 Qyn7UDyBP8jewJQ0jQfYSP+R4iKTWgG6Na4oBIDme8iwkqTARjATowNb2QAm/bYB6mV6m3C11Spu 1j51Sp9uDysPIgPwV2qrd1u4BEAzyojOAFW6WmG7TTAikUtlU/zWHmC7b74dkThIhS0CnHioJA8K k73kkkOSFcgNGAaQAOx8BEC2goOUiZKSqrmaPDDGRMYIBlxQnOBU8C18dfkKeDREZOzDJc6BEI8W F+8AQSK6szcjCUFc/OZtMHGLqH2MB3l9MRS8nFu6c44iQMxkAAzI3jmX1XUAcV5EzgQvx5XhP3Mm lr3vF7eYLDIBeMKgQCS8g9Pek75jcDH8HckQ+hScEgDv6EMDhAZ/PKO6wXP5wQLz6ky0Z8OFQbRg e86YYO/9vOLigsHnMI4j3u4h3pGPcm5cANzo3H3gGgMY8fXT82GrkUF4uw/j8FT0fQgHjs8gPK7H siyPw3+gDPXLmPvxGZQP8IXHtVzBdQPl+LW9QUiP/nMNwz8HhL3SUsknrAAAAABJRU5ErkJggg== Mail-Copies-To: never X-Now-Playing: Xiu Xiu's _Dear God, I Hate Myself_: "Chocolate Makes You Happy" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:cnDUgT2KG0yoPOGjAvffbRkRPAU= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:74318 Archived-At: Ɓukasz Stelmach writes: > Why I wrote this? I've set up mml-secure-message-sign-pgpmime as a part > of message-setup-hook. I prefere this to putting it in message-send-hook > because I can decide whether to sign a message or not. And it works well > for a new message. However, it fails for replies because just before > citations are inserted message-goto-body sets point *brefore* > the <#secure tag that is there since message-setup-hook gets fired > before citations. Actually, I think this is probably the wrong way to do it. If you want to insert <#secure automatically in all your message buffers, you should do it after everything is inserted, and not before yanking. I'm not sure such a late hook exists, but if not, I can add it to message.el. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen