From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/74353 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?=C5=81ukasz?= Stelmach Newsgroups: gmane.emacs.gnus.general Subject: Re: [PATCH] message-goto-body after <#secure Date: Thu, 25 Nov 2010 00:16:18 +0100 Message-ID: <87pqtu5n3x.fsf@kotik.lan> References: <87fwurlpyw.fsf@kotik.lan> <87r5ea2zcn.fsf@keller.adm.naquadah.org> 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 1290640604 30951 80.91.229.12 (24 Nov 2010 23:16:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 24 Nov 2010 23:16:44 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M22718@lists.math.uh.edu Thu Nov 25 00:16:40 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 1PLOZr-0007e5-L1 for ding-account@gmane.org; Thu, 25 Nov 2010 00:16:39 +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 1PLOZk-0004Sx-S4; Wed, 24 Nov 2010 17:16:32 -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 1PLOZj-0004Sg-G2 for ding@lists.math.uh.edu; Wed, 24 Nov 2010 17:16:31 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PLOZi-0002NF-JA for ding@lists.math.uh.edu; Wed, 24 Nov 2010 17:16:31 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1PLOZh-0005IP-00 for ; Thu, 25 Nov 2010 00:16:29 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PLOZg-0007ZM-RZ for ding@gnus.org; Thu, 25 Nov 2010 00:16:28 +0100 Original-Received: from 87-205-242-8.adsl.inetia.pl ([87.205.242.8]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Nov 2010 00:16:28 +0100 Original-Received: from lukasz.stelmach by 87-205-242-8.adsl.inetia.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Nov 2010 00:16:28 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 32 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 87-205-242-8.adsl.inetia.pl User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:cfCu01lkW9/F4hlPDVxtfm9dzo4= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:74353 Archived-At: Julien Danjou writes: > <#secure method=pgpmime mode=sign> > On Wed, Nov 24 2010, Lars Magne Ingebrigtsen wrote: > >> 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. [...] > ;; plug this into message-setup-hook > (add-hook 'gnus-message-setup-hook 'jd:gnus-secure-message-sign) Every day I learn something new: message-setup-hook and gnus-message-setup-hook are quite different ones. And there is no base64 citation problem if I put mml-secure-message-sign-pgpmime in the latter one. However, I still think C-c C-b should place cursor after the <#secure tag. What I did wrong is that I forgot to return the current position from the message-goto-body. [Here was a patch that does not work either] It seems that the it won't work one way or the other. Even If I return (point) from the message-goto-body and "base64 citation" works ok then mml decoding breaks (hence the unused <#secure > tag in <87vd3mba16.fsf@kotik.lan>). I give up (but I still would like C-c C-b to beam me up to the right point) -- Miłego dnia, Łukasz Stelmach