From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: EMACS 23.1.1 and crypt++ Date: Thu, 24 Sep 2009 19:49:20 +1000 Organization: Rapt Technologies Message-ID: <87my4k7jvj.fsf@lion.rapttech.com.au> References: <29b953c9-4ede-433b-941b-4b278991e80b@z28g2000vbl.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1253788917 22366 80.91.229.12 (24 Sep 2009 10:41:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Sep 2009 10:41:57 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 24 12:41:49 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MqllB-0002z1-KW for geh-help-gnu-emacs@m.gmane.org; Thu, 24 Sep 2009 12:41:13 +0200 Original-Received: from localhost ([127.0.0.1]:35518 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MqllB-0000nX-6h for geh-help-gnu-emacs@m.gmane.org; Thu, 24 Sep 2009 06:41:13 -0400 Original-Path: news.stanford.edu!usenet.stanford.edu!newsfeed.news2me.com!news.astraweb.com!border2.newsrouter.astraweb.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:1E+5UdHHbnhlGerL2qc9Mkrfn9A= Original-Lines: 39 Original-NNTP-Posting-Host: f7c39c8b.news.astraweb.com Original-X-Trace: DXC=MD24BBBGO\BOObP71A_HVDL?0kYOcDh@J\LfROTNE>L@R8J33anb9@OL?:=ZL5GW@HBAbk>4D2WNM Original-Xref: news.stanford.edu gnu.emacs.help:173315 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:68433 Archived-At: "Felix E. Klee" writes: > Yesterday, I upgraded to EMACS 23.1.1/WinXP, from some version of > EMACS 22. Unfortunately, now crypt++.el does not behave correctly > anymore: > > When I open a file with extension ".gpg", as configured, it correctly > asks for a password and presents a buffer with the decrypted contents. > However, when I try to save the file, the it firsts asks whether it > should be stored encrypted, and then for the password. This behavior > is unwanted. I want crypt++.el to always save the file and encrypt it > with the password I specified earlier. > > How do I get back the old behavior? > > - Felix > > PS: Yes, I already tried XEmacs' "crypt.el": same problem. Emacs 23 comes with built in support for file encryption through the incorporation of easyPGP as part of standard emacs. At a guess, I would say that it is easyPGP that is doing the encryption or possibly you are getting unwanted interaction between crypt++ and easyPGP. My suggestion would be to remove crypt++, then see if you can configure the built-in encryption/decryption support to show the behavior you want. If that doesn't work, then maybe investigate how to disable the built-in package and load crypt++. I'm not sure how actively crypt++ is maintained while the built-in functionality is almost certainly going to be, so it would make sense to migrate to that provided it will function in a way that meets your needs and doesn't frustrate too much due to how it is different. Tim -- tcross (at) rapttech dot com dot au