From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/64742 Path: news.gmane.org!not-for-mail From: Daiki Ueno Newsgroups: gmane.emacs.gnus.general Subject: Re: EasyPG 0.0.12 Date: Wed, 30 May 2007 17:30:27 +0900 Message-ID: References: <734fd533-6d2b-46d1-964c-8d23c4c952e0@well-done.deisui.org> <646dvu6g.fsf@mx.qsc.de> <716b7bce-fb42-4e76-89f3-9d798a2d1e14@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 1180513879 883 80.91.229.12 (30 May 2007 08:31:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 30 May 2007 08:31:19 +0000 (UTC) Cc: ding@gnus.org To: Adrian Aichner Original-X-From: ding-owner+M13253@lists.math.uh.edu Wed May 30 10:31:17 2007 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.50) id 1HtJaM-00083c-5N for ding-account@gmane.org; Wed, 30 May 2007 10:31:14 +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 1HtJZo-0005UQ-KH; Wed, 30 May 2007 03:30:40 -0500 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 1HtJZl-0005U1-Hc for ding@lists.math.uh.edu; Wed, 30 May 2007 03:30:37 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1HtJZk-0001ut-6r for ding@lists.math.uh.edu; Wed, 30 May 2007 03:30:37 -0500 Original-Received: from g96069.scn-net.ne.jp ([210.231.96.69] helo=well-done.deisui.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1HtJZj-0008Gl-00 for ; Wed, 30 May 2007 10:30:35 +0200 Original-Received: from [150.82.173.223] (helo=well-done.deisui.org) by well-done.deisui.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.67) (envelope-from ) id 1HtJZd-0002Vg-Hv; Wed, 30 May 2007 17:30:29 +0900 X-Attribution: DU Mail-Copies-To: poster In-Reply-To: (Adrian Aichner's message of "Wed, 30 May 2007 07:24:09 +0000 (UTC)") X-Spam-Score: -2.3 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:64742 Archived-At: >>>>> In >>>>> Adrian Aichner wrote: > Hi Daiki! > ah, inhibiting file-name-handlers might be an option, even though I > don't know whether it will break existing cusomizations out there. I just tried the following setting. It seems to work as you expected. (setq epa-file-name-regexp "\\.gpg\\(~\\|\\.~[.0-9]+~\\)?\\'") (defadvice vc-version-other-window (around inhibit-epa-file-handler) (let ((inhibit-file-name-handlers '(epa-file-handler)) (inhibit-file-name-operation 'write-region) (coding-system-for-write 'binary) (coding-system-for-read 'binary)) ad-do-it)) > > text, it has to be written into files since ediff calls the external > > program to compute diffs. Which may cause a security problem unless > > Emacs warns about it. > But epg does this already for > epg-decrypt-file > epg-decrypt-string > and the the encrypt and verify functions as well. These are library functions, not user commands. Regards, -- Daiki Ueno