From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83754 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Newsgroups: gmane.emacs.gnus.general Subject: Encryption vs. Gcc Date: Wed, 04 Sep 2013 15:13:56 +0200 Message-ID: <87fvtku3u3.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1378310498 1559 80.91.229.3 (4 Sep 2013 16:01:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Sep 2013 16:01:38 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M32010@lists.math.uh.edu Wed Sep 04 18:01:40 2013 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 1VHFWV-0000M4-Fj for ding-account@gmane.org; Wed, 04 Sep 2013 18:01:39 +0200 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 1VHFWP-0006Jc-FH; Wed, 04 Sep 2013 11:01:33 -0500 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 1VHCuV-0005VN-6E for ding@lists.math.uh.edu; Wed, 04 Sep 2013 08:14:15 -0500 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 1VHCuS-0006i0-I1 for ding@lists.math.uh.edu; Wed, 04 Sep 2013 08:14:14 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1VHCuQ-0004PS-I0 for ding@gnus.org; Wed, 04 Sep 2013 15:14:10 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VHCuN-0004SX-NG for ding@gnus.org; Wed, 04 Sep 2013 15:14:07 +0200 Original-Received: from reverse-83.fdn.fr ([80.67.176.83]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 04 Sep 2013 15:14:07 +0200 Original-Received: from ludo by reverse-83.fdn.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 04 Sep 2013 15:14:07 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 20 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: reverse-83.fdn.fr X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 18 Fructidor an 221 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu User-Agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:PZrNX8S6UkVjkAa2KiUVazp3vaM= X-Spam-Score: -1.6 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:83754 Archived-At: To keep a clear-text copy of encrypted messages that I send, I tried this, as evasively suggested by the manual: --8<---------------cut here---------------start------------->8--- ;; Keep a clear-text copy of sent messages. (setq gnus-gcc-post-body-encode-hook 'mml-unsecure-message) --8<---------------cut here---------------end--------------->8--- However, that doesn’t work, apparently because when the hook is called the buffer that is current is not the message (see ‘gnus-inews-do-gcc’.) Anyway, a more ideal solution for Gcc: would be this: if the message is encrypted, then keep a copy encrypted with the sender’s public key (rather than clear-text); otherwise keep a copy as is. Does anyone have something like this? TIA, :-) Ludo’.