From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/64728 Path: news.gmane.org!not-for-mail From: Adrian Aichner Newsgroups: gmane.emacs.gnus.general Subject: Re: EasyPG 0.0.12 Date: Tue, 29 May 2007 10:50:07 +0000 (UTC) Message-ID: References: <734fd533-6d2b-46d1-964c-8d23c4c952e0@well-done.deisui.org> <646dvu6g.fsf@mx.qsc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1180435880 18287 80.91.229.12 (29 May 2007 10:51:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 29 May 2007 10:51:20 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M13239@lists.math.uh.edu Tue May 29 12:51:19 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 1HszIM-0003fd-3F for ding-account@gmane.org; Tue, 29 May 2007 12:51:18 +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 1HszHr-0007jd-54; Tue, 29 May 2007 05:50:47 -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 1HszHp-0007jO-9q for ding@lists.math.uh.edu; Tue, 29 May 2007 05:50:45 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1HszHn-0004kL-On for ding@lists.math.uh.edu; Tue, 29 May 2007 05:50:45 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1HszHm-0006qv-00 for ; Tue, 29 May 2007 12:50:42 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HszHZ-0004Qm-3A for ding@gnus.org; Tue, 29 May 2007 12:50:31 +0200 Original-Received: from 212.133.24.92 ([212.133.24.92]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 May 2007 12:50:29 +0200 Original-Received: from adrian by 212.133.24.92 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 May 2007 12:50:29 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 63 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 212.133.24.92 (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3) X-Spam-Score: -1.1 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:64728 Archived-At: Daiki Ueno unixuser.org> writes: > > >>>>> In <646dvu6g.fsf mx.qsc.de> > >>>>> Adrian Aichner elisp.de> wrote: > > The biggest issue I found is that ediff-revision will not work with it > > out of the box. > > > Unlike crypt++ easypg overloads write-region. > > > When vc-find-version writes the retrieved (encrypted) file.gpg.~REV~ > > to disk, epa-file kicks in and encrypts the data again > > > I can prove that by decrypting the seemingly corrupted data in the > > created file one more time with `epa-decrypt-region' after visiting. > > > Do you know a solution for this issue (already encrypted data coming > > from processes and being written to files matching > > epa-file-name-regexp) while epa-file is enabled? > > If I change epa-file-name-regexp to "\\.gpg\\(~\\|\\.~[.0-9]+~\\)?\\'" > as you suggested, I can reproduce. Is that the problem? If so, which > is your preferred behavior to make diffs for encrypted data or decrypted > text? My preference is clearly on decrypted text (much easier on my eyes). The issue, as I understand it, is that data written to disk into files matching epa-file-name-regexp with write-region cannot just always be encrypted. It that data is coming from processes, like "cvs update ..." via vc-find-version then it is already/still encrypted. Perhaps I am missing some obvious point how to solve this problem. > > > Another issue is that local-variable-p requires the BUFFER argument in > > XEmacs 21.5 (beta28) "fuki" (+CVS-20070525) [Lucid] (i586-pc-win32, Mule) of Sat May 26 2007 on TANG > > > Finally, buffers read in are marked as modified, but that seems to be > > due to a recent change in XEmacs (probably GNU Emacs as well). > > Thanks. It's a good timing as these two changes will be included in > 0.0.13 scheduled for today. I'll check this tonight! > > > Are the latest sources of easypg publicly available anywhere? > > Yes, check INSTALL-CVS in http://cvs.m17n.org/viewcvs/root/epg/ Thanks! Adrian > > Regards,