unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 14894@debbugs.gnu.org
Subject: bug#14894: 24.3.50; :enable or :visible for encryption menu items
Date: Fri, 07 Feb 2014 22:07:22 -0800	[thread overview]
Message-ID: <87eh3e16jp.fsf@building.gnus.org> (raw)
In-Reply-To: <60ddd366-d5f9-4d2d-ac37-382e96f40303@default> (Drew Adams's message of "Wed, 17 Jul 2013 14:31:59 -0700 (PDT)")

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/





  reply	other threads:[~2014-02-08  6:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-17 21:31 bug#14894: 24.3.50; :enable or :visible for encryption menu items Drew Adams
2014-02-08  6:07 ` Lars Ingebrigtsen [this message]
2014-02-10  1:04   ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87eh3e16jp.fsf@building.gnus.org \
    --to=larsi@gnus.org \
    --cc=14894@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).