Bug 3371 - Request for readline/emacs style keybindings for compose window
Summary: Request for readline/emacs style keybindings for compose window
Status: RESOLVED WORKSFORME
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: UI/Compose Window (show other bugs)
Version: 3.11.1
Hardware: PC Linux
: P3 enhancement
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2015-01-23 09:54 UTC by Petter Adsen
Modified: 2015-01-23 11:55 UTC (History)
0 users

See Also:


Attachments

Description Petter Adsen 2015-01-23 09:54:58 UTC
Is this a possibility? All I want is the basic navigation keybindings, C-a/C-e to get to beginning/end of line, etc.

I know I can use emacs as editor, but on this machine that would just be too slow.
Comment 1 Ricardo Mones 2015-01-23 10:57:49 UTC
(In reply to comment #0)
> Is this a possibility? All I want is the basic navigation keybindings,
> C-a/C-e to get to beginning/end of line, etc.
> 
> I know I can use emacs as editor, but on this machine that would just be too
> slow.

You can set whatever keybinding you want:

http://www.claws-mail.org/faq/index.php/Interface#How_can_I_change_the_key-bindings_.28hot-keys.29_in_Claws_Mail.3F

If that doesn't fit it's possible to predefine a set of keyboard shortcuts, but I have no idea of what they are for Emacs, feel free to provide a patch with a struct like the ones at:

http://git.claws-mail.org/?p=claws.git;a=blob;f=src/prefs_other.c;h=8ff9ff56#l206

Thanks,
Comment 2 Petter Adsen 2015-01-23 11:55:26 UTC
(In reply to comment #1)
> (In reply to comment #0)
> > Is this a possibility? All I want is the basic navigation keybindings,
> > C-a/C-e to get to beginning/end of line, etc.
> > 
> > I know I can use emacs as editor, but on this machine that would just be too
> > slow.
> 
> You can set whatever keybinding you want:
> 
> http://www.claws-mail.org/faq/index.php/Interface#How_can_I_change_the_key-
> bindings_.28hot-keys.29_in_Claws_Mail.3F

I know about this, but I hadn't noticed the Edit -> Advanced menu in the Compose window. This gives me at least the most important bindings.

Mea maxima culpa :)

> If that doesn't fit it's possible to predefine a set of keyboard shortcuts,
> but I have no idea of what they are for Emacs, feel free to provide a patch
> with a struct like the ones at:
> 
> http://git.claws-mail.org/?p=claws.git;a=blob;f=src/prefs_other.c;
> h=8ff9ff56#l206

Thanks for this, I'm not really a programmer, but I could at least follow this. I'll have a look at it and see what I can do.

Thanks again!

Petter

Note You need to log in before you can comment on or make changes to this bug.