Subject: bug#13795: 24.3.50; epa-insert-keys improvements

From: Richard Stallman <[email-masked]>
Date: Sat, 23 Feb 2013 13:57:30 -0500

epa-insert-keys is slow to start.  If I use it multiple times
in a row, it is slow each time.

It should check whether the keyring has changed since the previous
call to epa-insert-keys.  If not, it should use the same buffer
contents.

The slowness is surprising -- maybe it can be sped up.

In GNU Emacs 24.3.50.4 (mips64el-unknown-linux-gnu, GTK+ Version 2.20.1)
 of 2013-02-02 on chiefs-gnewsense
Bzr revision: 111655 [email-masked]
System Description:	Debian GNU/Linux 6.0.6 (squeeze)

Configured using:
 `configure CFLAGS=-O0 -g --with-gif=no --with-tiff=no --no-create
 --no-recursion'

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: RMAIL

Minor modes in effect:
  diff-auto-refine-mode: t
  shell-dirtrack-mode: t
  gpm-mouse-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t
  abbrev-mode: t

Recent input:
L D SPC m a k e SPC i t SPC l a t e r SPC i f SPC t 
h a t SPC s u i t s SPC y o u . C-n C-p C-k C-a C-k 
C-o I SPC s e e . SPC SPC I SPC t h i n k SPC i t SPC 
i s SPC b e s t SPC t o SPC e x p e c t SPC m e SPC 
a r o u n d SPC 5 p m . C-n C-c C-c d x SPC C-n C-n 
C-n ESC v C-n C-n C-@ C-n C-n r ESC , RET T h a t SPC 
s e e m s SPC g o o d SPC t o o . RET C-c C-c C-d C-d 
C-d C-d ESC n u SPC SPC C-d C-d C-d x g n x SPC d x 
C-@ C-x b o l d RET C-x b t r i p s RET ESC < C-u C-n 
C-v C-p C-p C-e C-@ ESC b ESC b ESC b ESC b ESC b ESC 
b ESC f ESC f ESC f C-f C-f C-x C-x C-b ESC w C-x 4 
m C-y C-n S i g n e d SPC k e y C-n C-n C-n ESC x e 
p a SPC i s DEL n s TAB RET ESC > ESC b m C-c C-c C-x 
o C-c C-s C-_ C-p C-p C-p C-e ESC b ESC b ESC d M y 
C-n C-n C-n ESC x ESC p RET C-u C-n C-n C-n m C-c C-c 
C-x o C-c C-c ESC x r e p o r t SPC e m a c v s DEL 
DEL s SPC b u g RET

Recent messages:
Expunging deleted messages...done
Mark activated
Mark set [4 times]
Sending...
Wrote /home/rms/outgoing/out-3
Sending...done
Undo!
Sending...
Wrote /home/rms/outgoing/out-4
Sending...done

Load-path shadows:
None found.

Features:
(wid-edit novice log-view vc-rcs rlogin unrmail epa-mail epa derived
epg epg-config two-column kmacro iso-transl mule-diag goto-addr
thingatpt view etags mail-extr shadow emacsbug bug-reference diff
cc-langs cl cl-lib cc-mode cc-fonts cc-guess cc-menus cc-cmds
cc-styles cc-align cc-engine cc-vars cc-defs dired-aux mule-util
cal-move cal-menu calendar cal-loaddefs log-edit pcvs-util add-log
diff-mode easy-mmode vc vc-dispatcher rmailsum rect parse-time vc-cvs
sgml-mode gnus-util mailcap find-func vc-bzr jka-compr rmailout
dabbrev shell pcomplete grep compile comint ansi-color ring misearch
multi-isearch quail help-mode mailalias qp rmailmm message sendmail
format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode
mailabbrev gmm-utils mailheader mail-parse rfc2231 dired t-mouse
time-date rmailedit rmail rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils paren cus-start cus-load nadvice advice help-fns
tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment
lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
minibuffer loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
dbusbind inotify dynamic-setting system-font-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)

-- 
Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org  www.gnu.org
Skype: No way! That's nonfree (freedom-denying) software.
  Use Ekiga or an ordinary phone call