From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jay Berkenbilt Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#3789: 23.0.95; confusion with EasyPG/vc interaction Date: Wed, 08 Jul 2009 14:38:57 -0400 Message-ID: <20090708143857.1366658058.qww314159@motoko.argon.local> Reply-To: Jay Berkenbilt , 3789@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1247079472 14336 80.91.229.12 (8 Jul 2009 18:57:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Jul 2009 18:57:52 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 08 20:57:45 2009 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.50) id 1MOcKq-0000Zy-PK for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Jul 2009 20:57:41 +0200 Original-Received: from localhost ([127.0.0.1]:33279 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOcKq-0005Hk-7C for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Jul 2009 14:57:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MOcKk-0005HB-IR for bug-gnu-emacs@gnu.org; Wed, 08 Jul 2009 14:57:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MOcKf-0005G6-P9 for bug-gnu-emacs@gnu.org; Wed, 08 Jul 2009 14:57:33 -0400 Original-Received: from [199.232.76.173] (port=40733 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOcKf-0005Fn-J2 for bug-gnu-emacs@gnu.org; Wed, 08 Jul 2009 14:57:29 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:53212) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MOcKe-00031G-Rj for bug-gnu-emacs@gnu.org; Wed, 08 Jul 2009 14:57:29 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n68IvQlL014901; Wed, 8 Jul 2009 11:57:27 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n68Ij3op012616; Wed, 8 Jul 2009 11:45:03 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Jay Berkenbilt Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 08 Jul 2009 18:45:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 3789 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.124707835011752 (code B ref -1); Wed, 08 Jul 2009 18:45:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 8 Jul 2009 18:39:10 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n68Id5F6011747 for ; Wed, 8 Jul 2009 11:39:06 -0700 Original-Received: from mail.gnu.org ([199.232.76.166]:58493 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MOc2r-0005TZ-2W for emacs-pretest-bug@gnu.org; Wed, 08 Jul 2009 14:39:05 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MOc2o-00006u-O0 for emacs-pretest-bug@gnu.org; Wed, 08 Jul 2009 14:39:04 -0400 Original-Received: from hermes.mail.tigertech.net ([64.62.209.72]:43566) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MOc2o-00006c-DP for emacs-pretest-bug@gnu.org; Wed, 08 Jul 2009 14:39:02 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by hermes.tigertech.net (Postfix) with ESMTP id 14CF1430483; Wed, 8 Jul 2009 11:39:00 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at hermes.tigertech.net Original-Received: from motoko.argon.local (unknown [72.165.80.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hermes.tigertech.net (Postfix) with ESMTP id 54FA0430122; Wed, 8 Jul 2009 11:38:59 -0700 (PDT) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Wed, 08 Jul 2009 14:57:33 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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:29260 gmane.emacs.pretest.bugs:24747 Archived-At: If you have a .gpg file that is encrypted using a key that you don't have in your keyring, EasyPG reports File exists, but cannot be read and gives you an empty buffer. This is probably reasonable behavior, though I would be happier if it handled it in the same way as a file that you really don't have read permission on, since this reduces the likelihood of clobbering it making the buffer writable and saving. Not a big deal. If, however, that file is checked into RCS, EasyPG asks File whatever.gpg was lost; check out from version control? (yes or no) and then falls back to File exists, but cannot be read. This is pretty easy to reproduce. Create a file and encrypt it using a public key for which you don't have a private key. Now kill the buffer and, outside of emacs, do mkdir RCS ci -u file.gpg Now, back in emacs, do C-x C-f on the file, and observe the behavior I have described. All this can be reproduced with emacs 23.0.95 run as emacs -q. In GNU Emacs 23.0.95.1 (i686-pc-linux-gnu, GTK+ Version 2.10.4) of 2009-06-23 on motoko.argon.local Windowing system distributor `The X.Org Foundation', version 11.0.70101000 configured using `configure '--prefix=/opt/tps/packages/linux.ix86.rhel5/emacs-23.0.95-1'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=none locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Text Minor modes in effect: diff-auto-refine-mode: t which-function-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t Recent input: M-x r e p o r t SPC e m SPC b SPC Recent messages: Mark set [2 times] Mark saved where search started Mark set [3 times] Saving file /home/jberkenb/argon/information/general/.upass.gpg... stdin: 0% (0/0) stdin: 0% (2044/0) Wrote /home/jberkenb/argon/information/general/.upass.gpg [2 times] Mark set [2 times] /home/jberkenb/argon: 0% (0/1374) /home/jberkenb/argon: 100% (1374/1374)