changeset 94490:dcbaed9de6ff

(epa-key-list-mode-map): Add more menu entries. Add ... in the appropriate places.
author Dan Nicolaescu <dann@ics.uci.edu>
date Wed, 30 Apr 2008 05:44:17 +0000
parents 746622b8b8d4
children fc974d1f2fbb
files lisp/ChangeLog lisp/epa.el
diffstat 2 files changed, 26 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Wed Apr 30 05:41:52 2008 +0000
+++ b/lisp/ChangeLog	Wed Apr 30 05:44:17 2008 +0000
@@ -1,5 +1,8 @@
 2008-04-30  Dan Nicolaescu  <dann@ics.uci.edu>
 
+	* epa.el (epa-key-list-mode-map): Add more menu entries.
+	Add ... in the appropriate places.
+
 	* dired.el (dired-mode-map): Add :help.
 
 	* vc.el (vc-deduce-fileset): Add new parameter.
--- a/lisp/epa.el	Wed Apr 30 05:41:52 2008 +0000
+++ b/lisp/epa.el	Wed Apr 30 05:44:17 2008 +0000
@@ -219,23 +219,35 @@
     (define-key keymap [delete] 'scroll-down)
     (define-key keymap "q" 'epa-exit-buffer)
     (define-key keymap [menu-bar epa-key-list-mode] (cons "Keys" menu-map))
+    (define-key menu-map [epa-key-list-unmark-key]
+      '(menu-item "Unmark Key" epa-unmark-key
+		  :help "Unmark a key"))
+    (define-key menu-map [epa-key-list-mark-key]
+      '(menu-item "Mark Key" epa-mark-key
+		  :help "Mark a key"))
+    (define-key menu-map [separator-epa-file] '(menu-item "--"))
+    (define-key menu-map [epa-verify-file]
+      '(menu-item "Verify File..." epa-verify-file
+		  :help "Verify FILE"))
+    (define-key menu-map [epa-sign-file]
+      '(menu-item "Sign File..." epa-sign-file
+		  :help "Sign FILE by SIGNERS keys selected"))
+    (define-key menu-map [epa-decrypt-file]
+      '(menu-item "Decrypt File..." epa-decrypt-file
+		  :help "Decrypt FILE"))
+    (define-key menu-map [epa-encrypt-file]
+      '(menu-item "Encrypt File.." epa-encrypt-file
+		  :help "Encrypt FILE for RECIPIENTS"))
+    (define-key menu-map [separator-epa-key-list] '(menu-item "--"))
     (define-key menu-map [epa-key-list-delete-keys]
       '(menu-item "Delete keys" epa-delete-keys
-		  :help "Delete marked keys"))
+		  :help "Delete Marked Keys"))
     (define-key menu-map [epa-key-list-import-keys]
-      '(menu-item "Import keys" epa-import-keys
+      '(menu-item "Import Keys" epa-import-keys
 		  :help "Import keys from a file"))
     (define-key menu-map [epa-key-list-export-keys]
-      '(menu-item "Export keys" epa-export-keys
+      '(menu-item "Export Keys" epa-export-keys
 		  :help "Export marked keys to a file"))
-    (define-key menu-map [separator-epa-key-list]
-      '(menu-item "--"))
-    (define-key menu-map [epa-key-list-unmark-key]
-      '(menu-item "Unmark key" epa-unmark-key
-		  :help "Unmark a key"))
-    (define-key menu-map [epa-key-list-mark-key]
-      '(menu-item "Mark key" epa-mark-key
-		  :help "Mark a key"))
     keymap))
 
 (defvar epa-key-mode-map