Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > emacs commands in TextEdit?!

emacs commands in TextEdit?!
Thread Tools
Fresh-Faced Recruit
Join Date: Apr 2002
Location: Philadelphia, PA
Status: Offline
Reply With Quote
Feb 2, 2003, 08:42 PM
 
this is basically a question about TextEdit, so may be a bit OT for this list, but it crucially involves emacs as well, so i figured i'd better try here first.

i inadvertently stumbled across something in OS X's TextEdit. it recognizes certain emacs-style keyboard editing commands, including ctrl-k, ctrl-y, ctrl-a, ctrl-e, ctrl-d, ctrl-f, ctrl-b, ctrl-n and ctrl-p. this is pretty cool, but the thing is, none of the meta-key sequences i've tried work (and i've tried esc, alt/option and apple/command as meta keys), and the editing commands are only fully useful if they're all available. i haven't been able to find any discussion of this topic with a google search or on the forums here, and i've found essentially zero documentation on TextEdit in general. so the question is, has anyone else noticed this, and if so, do you know of any way to get the meta-key commands working?

thanks,
Tom
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Feb 3, 2003, 11:05 AM
 
Well the TextEdit source is in /Developer/Examples/AppKit if you have the developer tools installed. It's not really intended as an emacs clone
     
Mac Elite
Join Date: May 2001
Location: Earth
Status: Offline
Reply With Quote
Feb 6, 2003, 03:43 PM
 
This is not specific to TextEdit. Any Cocoa application gets emacs keyboard shortcuts for free.
     
Mac Elite
Join Date: May 2002
Status: Offline
Reply With Quote
Feb 7, 2003, 02:12 AM
 
And no, they don't get the meta key ones. Sorry.
[vash:~] banana% killall killall
Terminated
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:29 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2