From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daiki Ueno Newsgroups: gmane.emacs.bugs Subject: bug#6271: Auto-saving encrypted files Date: Mon, 31 May 2010 20:59:52 +0900 Message-ID: <87iq64qo1z.fsf@broken.deisui.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1275308880 27521 80.91.229.12 (31 May 2010 12:28:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 31 May 2010 12:28:00 +0000 (UTC) Cc: 6271@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 31 14:27:56 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OJ45y-0006Vp-OI for geb-bug-gnu-emacs@m.gmane.org; Mon, 31 May 2010 14:27:55 +0200 Original-Received: from localhost ([127.0.0.1]:33828 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJ45x-0001lN-I8 for geb-bug-gnu-emacs@m.gmane.org; Mon, 31 May 2010 08:27:53 -0400 Original-Received: from [140.186.70.92] (port=52270 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJ45n-0001hT-9T for bug-gnu-emacs@gnu.org; Mon, 31 May 2010 08:27:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OJ45m-0005Hg-4B for bug-gnu-emacs@gnu.org; Mon, 31 May 2010 08:27:43 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41061) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJ45m-0005Hc-2r for bug-gnu-emacs@gnu.org; Mon, 31 May 2010 08:27:42 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OJ3fy-0002Ub-EK; Mon, 31 May 2010 08:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Daiki Ueno Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 31 May 2010 12:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6271 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6271-submit@debbugs.gnu.org id=B6271.12753072069545 (code B ref 6271); Mon, 31 May 2010 12:01:02 +0000 Original-Received: (at 6271) by debbugs.gnu.org; 31 May 2010 12:00:06 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJ3f1-0002Tq-MH for submit@debbugs.gnu.org; Mon, 31 May 2010 08:00:03 -0400 Original-Received: from ivory4.scn-net.ne.jp ([219.117.176.192]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OJ3ey-0002TN-1B for 6271@debbugs.gnu.org; Mon, 31 May 2010 08:00:01 -0400 Original-Received: from ([192.168.0.187]) (envelope sender: ) by ivory4.scn-net.ne.jp with Active!Hunter esmtp server; Mon, 31 May 2010 20:59:54 +0900 Original-Received: Received: from well-done.deisui.org (g187018.scn-net.ne.jp [202.83.187.18]) (authenticated) by blue17.scn-net.ne.jp (unknown) with ESMTP id o4VBxr3E006364; Mon, 31 May 2010 20:59:54 +0900 In-Reply-To: (Stefan Monnier's message of "Tue, 25 May 2010 12:42:02 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 31 May 2010 08:01:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:37437 Archived-At: Stefan Monnier writes: > Currently auto-save is disabled for files that are encrypted by > epa-file. While auto-saving without encrypting would indeed be > completely wrong, we should make it work right by auto-saving the > file in its encrypted form. > AFAICT, this should be doable by letting the magic file name handler > catch the #.*\.gpg# files as well. Basically agreed, but a user will be prompted for passphrase each time symmetric encryption takes place unless she enables passphrase caching. So we should check the user setting at least. Currently I don't see any other issues. Regards, -- Daiki Ueno