bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#733: 23.0.60; epa-list-keys buffer behaves strangely


From: Daiki Ueno
Subject: bug#733: 23.0.60; epa-list-keys buffer behaves strangely
Date: Thu, 21 Aug 2008 16:18:39 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Sorry for late response.

>>>>> In <B40D498F-F913-4B89-9DAC-D743694AD48F@Freenet.DE> 
>>>>>   Peter Dyballa <Peter_Dyballa@Freenet.DE> wrote:

> Choosing from the Tools menu Encryption/Decryption -> List Keys I
> created a *Keys* buffer (and Keys menu). When I click on a key in the
> *Keys* list buffer with the mouse cursor, a new buffer, *Key*<some
number> opens. The text cursor is left at its last position. This is
> a bit confusing when there is no relation between the spot or line
> where the text cursor blinks and the line with the key that is
> displayed in another window.

How about the following?

(eval-after-load "epa"
  '(defun epa--key-widget-action (widget &optional event)
     (save-selected-window
       (epa--show-key (widget-get widget :value)))))

(setq widget-button-click-moves-point t)

Regards,
-- 
Daiki Ueno






reply via email to

[Prev in Thread] Current Thread [Next in Thread]