From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen <larsi@gnus.org> Newsgroups: gmane.emacs.bugs Subject: bug#14894: 24.3.50; :enable or :visible for encryption menu items Date: Fri, 07 Feb 2014 22:07:22 -0800 Message-ID: <87eh3e16jp.fsf@building.gnus.org> References: <60ddd366-d5f9-4d2d-ac37-382e96f40303@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1391839749 14634 80.91.229.3 (8 Feb 2014 06:09:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Feb 2014 06:09:09 +0000 (UTC) Cc: 14894@debbugs.gnu.org To: Drew Adams <drew.adams@oracle.com> Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 08 07:09:16 2014 Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org> Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>) id 1WC16K-0004YO-GY for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Feb 2014 07:09:16 +0100 Original-Received: from localhost ([::1]:45127 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>) id 1WC16K-0002fv-2i for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Feb 2014 01:09:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41814) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1WC16B-0002fm-Jg for bug-gnu-emacs@gnu.org; Sat, 08 Feb 2014 01:09:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1WC166-0000Mh-LO for bug-gnu-emacs@gnu.org; Sat, 08 Feb 2014 01:09:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42136) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1WC166-0000Md-I9 for bug-gnu-emacs@gnu.org; Sat, 08 Feb 2014 01:09:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1WC165-0005Tu-Vv for bug-gnu-emacs@gnu.org; Sat, 08 Feb 2014 01:09:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen <larsi@gnus.org> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 Feb 2014 06:09:01 +0000 Resent-Message-ID: <handler.14894.B14894.139183972721037@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14894 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14894-submit@debbugs.gnu.org id=B14894.139183972721037 (code B ref 14894); Sat, 08 Feb 2014 06:09:01 +0000 Original-Received: (at 14894) by debbugs.gnu.org; 8 Feb 2014 06:08:47 +0000 Original-Received: from localhost ([127.0.0.1]:56152 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1WC15q-0005TE-MS for submit@debbugs.gnu.org; Sat, 08 Feb 2014 01:08:47 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:41521) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <larsi@gnus.org>) id 1WC15o-0005T6-RT for 14894@debbugs.gnu.org; Sat, 08 Feb 2014 01:08:45 -0500 Original-Received: from [204.14.154.233] (helo=building.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <larsi@gnus.org>) id 1WC15a-0006CA-80; Sat, 08 Feb 2014 07:08:30 +0100 In-Reply-To: <60ddd366-d5f9-4d2d-ac37-382e96f40303@default> (Drew Adams's message of "Wed, 17 Jul 2013 14:31:59 -0700 (PDT)") User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.50 (gnu/linux) X-MailScanner-ID: 1WC15a-0006CA-80 MailScanner-NULL-Check: 1392444511.01787@ccutWOhsqTLEyWX5GBOGmA X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>, <mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/archive/html/bug-gnu-emacs> List-Post: <mailto:bug-gnu-emacs@gnu.org> List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>, <mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe> Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:84895 Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/84895> Drew Adams <drew.adams@oracle.com> writes: > I know nothing about file encryption, so feel free to close this if it > is not relevant. > > I'm guessing that it makes no sense to try to decrypt a file that is not > encrypted, and that it makes no sense to encrypt a file that is already > encrypted. Perhaps similarly for verifying or signing. > > If that is so, then the menu items should have :enable or :visible to > reflect these conditions. I don't think that's possible for dired to know. The user may want to encrypt things twice, and the user may want to decrypt a file that dired doesn't know is encrypted. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/