[Users] [Bug 2355] Embedding external editor through GtkSocket

Ricardo Mones ricardo at mones.org
Tue Nov 24 12:19:07 CET 2015

On Tue, Nov 24, 2015 at 08:40:04AM +0100, Johan Vromans wrote:
> On Mon, 23 Nov 2015 22:13:35 +0000
> noreply at thewildbeast.co.uk wrote:
> > http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=2355
> There seem to be some more strings attached...
> Using "emacsclient --parent-id %w %s", Fedora 22, I encounter the following
> problems:
> 1. The new emacs buffer in the Claws compose windows doesn't get real
> focus. It is shown and responds to key strokes, but the cursor stays
> hollow. This may be cosmetic, unless related to 2.

Just added the emacsclient option because it seemed to work:

• http://www.thewildbeast.co.uk/sylpheed-claws/bugzilla/show_bug.cgi?id=2355#c11http://media.mrblog.nl/u/mrb/m/embed-emacs-in-claws/

But if it doesn't maybe it should be removed.

> 2. Control and Alt keys are not passed to the client. While this may be
> good for some purposes (e.g., intercepting Control-Enter), it blocks an
> awful lot of Emacs' functionality.

Well, there's a lot of active menus which shouldn't, and these were
grabbing keystrokes before embedded window. Pushed a fix for that.

Otherwise these keys are not disabled/intercepted (the Control-Enter
issue was fixed differently), and control commands seem to work
correctly in embedded GVim. Emacs issue maybe?
  Ricardo Mones 
  The three principal virtues of a programmer are Laziness, 
  Impatience, and Hubris.                                    man perl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.claws-mail.org/pipermail/users/attachments/20151124/ef1b4978/attachment.sig>

More information about the Users mailing list