From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daiki Ueno Newsgroups: gmane.emacs.devel Subject: Re: pgg-encrypt is a pain in the neck Date: Sun, 31 Dec 2006 23:38:59 +0900 Message-ID: References: <6662a3b9-1148-4aa0-bd2d-29a67be38d76@well-done.deisui.org> <5a520e06-4ee3-4c4f-9345-d49a666516f9@well-done.deisui.org> <7f60c21d-2f66-4c4b-9abb-e377ca24a153@well-done.deisui.org> <844cd50a-ec18-4b09-a057-35bdfb5173fd@well-done.deisui.org> <8ba25607-9381-4a27-ae53-8b0f3ccc3ac1@well-done.deisui.org> <366fa6ab-42a0-4df5-a17f-4ac3d1744d78@well-done.deisui.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1167575963 24653 80.91.229.12 (31 Dec 2006 14:39:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 31 Dec 2006 14:39:23 +0000 (UTC) Cc: Sascha Wilde , rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 31 15:39:21 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1H11qL-0004Ob-Ar for ged-emacs-devel@m.gmane.org; Sun, 31 Dec 2006 15:39:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H11qK-0001k9-Ty for ged-emacs-devel@m.gmane.org; Sun, 31 Dec 2006 09:39:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H11q8-0001jB-EX for emacs-devel@gnu.org; Sun, 31 Dec 2006 09:39:08 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H11q6-0001hY-TI for emacs-devel@gnu.org; Sun, 31 Dec 2006 09:39:07 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H11q6-0001hR-Qz for emacs-devel@gnu.org; Sun, 31 Dec 2006 09:39:06 -0500 Original-Received: from [210.231.96.69] (helo=localhost) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1H11q4-0004KQ-4f; Sun, 31 Dec 2006 09:39:05 -0500 Original-Received: from localhost ([127.0.0.1] helo=well-done.deisui.org) by localhost with esmtp (Exim 4.63) (envelope-from ) id 1H11pz-0004aJ-Jd; Sun, 31 Dec 2006 23:38:59 +0900 Original-To: Reiner Steib X-Attribution: DU Mail-Copies-To: poster In-Reply-To: (Reiner Steib's message of "Sun, 31 Dec 2006 15:07:50 +0100") User-Agent: T-gnus/6.17.2 (based on No Gnus v0.2) EMIKO/1.14.1 (Choanoflagellata) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 EasyPG/0.0.9 MULE XEmacs/21.4 (patch 14) (Reasonable Discussion) (i686-pc-linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:64566 Archived-At: >>>>> In >>>>> Reiner Steib wrote: > >> I think it's not a bad idea to make pgg-encrypt (not pgg-encrypt-region) > >> use such a heuristics, and actually it's not hard to implement. > > > > I agree, but don't know if it's TRTTD before the release. > How about adding two simple wrapper functions to `sendmail.el'? > `mail-encrypt-body' and `mail-decrypt-body'? It looks better than my approach to changing pgg-encrypt and pgg-decrypt. Though it doesn't (yet?) support extracting default recipients from To: or Cc: headers, now it could be easily complete, borrowing some code from my patch. Regards, -- Daiki Ueno