Open
Bug 263122
Opened 20 years ago
Updated 2 years ago
Emacs keystrokes should be supported in the compose window
Categories
(MailNews Core :: Composition, enhancement)
MailNews Core
Composition
Tracking
(Not tracked)
NEW
People
(Reporter: gharris, Unassigned)
References
(Depends on 1 open bug)
Details
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/125.5 (KHTML, like Gecko) Safari/125.9
Build Identifier: version 0.8 (20040913)
Cocoa apps - such as Apple Mail - have, at least on Panther, support for some common Emacs
keystrokes, such as ^A, ^E, ^F, ^B, ^K, ^P, and ^M. It might be nice for Thunderbird on OS X to
support them as well. (They should be supported in text fields as well.)
Reproducible: Always
Steps to Reproduce:
Comment 1•20 years ago
|
||
A comment in Seamonkey bug 212065 points to
http://www.mozilla.org/unix/customizing.html#keys
(I've never tried customizing keystrokes; and I don't know of a separate
customizing document for Mac or Windows.)
Comment 2•20 years ago
|
||
*** Bug 269669 has been marked as a duplicate of this bug. ***
Should this be a dupe of bug 229473, or are Tbird-specific patches needed to
make their Core patch active?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 4•19 years ago
|
||
The 'External Editor' extension provides my temporary workaround for this.
Krishna
P.S. Once I installed this, I *had* to put the icon into the compose window's
toolbar (via customize toolbar) before it would work at all. After that, the
shortcut and the toolbar button worked.
http://globs.chez.tiscali.fr/moz_extensions/exteditor.html
Comment 5•19 years ago
|
||
http://kb.mozillazine.org/Emacs_Keybindings_%28Firefox%29
describes how to manually extend $MOZILLA_HOME/chrome/toolkit.jar
to enable the Emacs-style line motion and delete keys.
This works not only for Firefox, but for Thunderbird as well.
I use it in combination with extending user.js by
user_pref("ui.key.accelKey", 18); //18 = Alt; 17 = Control; 224 = Meta
user_pref("ui.key.menuAccessKey", 0);
as described in http://www.mozilla.org/unix/customizing.html#keys
Updated•19 years ago
|
Assignee: mscott → nobody
Component: Message Compose Window → MailNews: Composition
Depends on: 85799
OS: MacOS X → All
Product: Thunderbird → Core
Hardware: Macintosh → All
Version: unspecified → Trunk
Comment 6•19 years ago
|
||
*** Bug 212065 has been marked as a duplicate of this bug. ***
Comment 7•19 years ago
|
||
(In reply to comment #5)
> http://kb.mozillazine.org/Emacs_Keybindings_%28Firefox%29
> describes how to manually extend $MOZILLA_HOME/chrome/toolkit.jar
> to enable the Emacs-style line motion and delete keys.
I edited the file toolkit.jar, but emacs bindings don't work in Compose window. Is there a workaround for this?
Comment 8•19 years ago
|
||
Hana, are you sure you fully followed the description in
http://kb.mozillazine.org/Emacs_Keybindings_%28Firefox%29
For me it still works fine, even with the latest versions
1.5.0.2 of both firefox and thunderbird.
BTW, it's very inconvenient that the patch has to be done
for every new version installed :-(
Comment 9•19 years ago
|
||
(In reply to comment #8)
Yes, I am sure. As it's very inconvenient to patch the jar file nearly every day, I gave it up untill this bug is resolved. Today, I did the patch just to make sure that I really do everything which is described in http://kb.mozillazine.org/Emacs_Keybindings_%28Firefox%29 and that the Emacs keybindings really do not work in Compose window. The result is that Emacs keybindings work everywhere except the body part of the Compose window. I use SeaMonkey: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.2) Gecko/20060422 SeaMonkey/1.0.1.
Reporter | ||
Comment 10•16 years ago
|
||
This appears to have been implemented at some point, at least in the OS X version of version 2.0.0.14 (20080421). (No, I haven't installed any plugins or other hacks; it appears to work out of the box.)
Should this bug be closed as fixed, or do the Emacs keystrokes need to be implemented on other platforms (e.g., UNIX+X11, which some people might call "Linux")?
Updated•16 years ago
|
QA Contact: composition
Assignee | ||
Updated•16 years ago
|
Product: Core → MailNews Core
Comment 11•16 years ago
|
||
Please please implement it for Windows also.
Is is embarassing that Word and Outlook can have emacs keybindings but Firefox and Thunderbird can't.
See also:
Bug #201011
Bug #85799
Bug #72352
Comment 12•16 years ago
|
||
Please implement it for Linux also.
This might be done (for all platforms) in the form of an add-on like Firemacs.
@Jim Kleckner, for Firefox, simply use
https://addons.mozilla.org/en-US/firefox/addon/4141
Comment 13•15 years ago
|
||
Finally found a general solution:
http://www.mail-archive.com/debian-amd64@lists.debian.org/msg08873.html
Re: gcc4, thunderbird: emacs key bindings lost?
> Since the migration to gcc4 the Emacs key bindings in Thunderbird's compose window seem to be gone.
I ran into that some months ago too. But it has nothing to do with gcc4. This is true on all architectures.
I found this solution on the firefox site. I have the following in my ~/.gtkrc-2.0 file.
# /etc/gtk-2.0/gtkrc
# Restore the previous GTK behavior and allow emacs keys to be active.
# To use the GTK 2.0 default MS-like behavior set "Default" either here
# or in your $HOME/.gtkrc-2.0 file.
#
# gtk-key-theme-name = "Default"
gtk-key-theme-name = "Emacs"
> Is it possible to set this stuff somewhere in /etc for all users?
Uhm, yes, in /etc/gtk-2.0/gtkrc. :-)
http://kb.mozillazine.org/Emacs_Keybindings_%28Firefox%29
kcontrol -> "Appearance & Themes" -> "GTK Styles and Fonts" -> Use Emacs-like keyboard shortcuts for text editing
Comment 14•12 years ago
|
||
Keysnail doesn't work on Thunderbird recent updates. I *STILL* use Thunderbird 3.1.20 because of that. I've tried upgrading Thunderbird, but it says Keysnail is incompatible. Sure wish someone would make it work! See https://github.com/mooz/keysnail
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•