* Carbon Emacs binding to Enter key
@ 2004-12-21 2:41 Tiago Maduro-Dias
0 siblings, 0 replies; 4+ messages in thread
From: Tiago Maduro-Dias @ 2004-12-21 2:41 UTC (permalink / raw)
Hi!
I've recently "discovered" the usefulness of the enter key (the one
next to the arrow keys and the space-bar), at least on my laptop's
keyboard, as an alternative to the regular return key. But I also seem
to have encountered an interesting issue (read "feature"?) with Carbon
Emacs 21.3.50 (on Mac OSX Panther).
When I press the key, the event seems to be attached to C-c. In fact,
pressing it twice will result in the obvious C-c C-c and C-h c ends up
with "Describe key briefly: C-c-" on my minibuffer (waiting for another
event).
If I run both the original emacs-21.2.1 or emacs-21.3.50 from
Terminal.app (with either emacs -nw or emacs -q -nw), the enter key
will behave as expected (by me at least). If I use the faithful xterm,
then the behaviour just described for Carbon Emacs happens again. This
makes sense to me, since Terminal.app is interpreting the strokes, and
uses the smilingly standard macosx interpretation for the particular
key.
So, how can I go about forcing the key to bind to what I want it to?
(character 13, newline, or something of the sort)?
Thank you in advance,
Tiago Maduro-Dias.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Carbon Emacs binding to Enter key
[not found] <mailman.7691.1103597559.27204.help-gnu-emacs@gnu.org>
@ 2004-12-21 19:53 ` James Davidson
2004-12-21 23:41 ` Tim McNamara
0 siblings, 1 reply; 4+ messages in thread
From: James Davidson @ 2004-12-21 19:53 UTC (permalink / raw)
Cc: help-gnu-emacs
On 12/20/04 6:41 PM, Tiago Maduro-Dias wrote:
> Hi!
>
> I've recently "discovered" the usefulness of the enter key (the one next
> to the arrow keys and the space-bar), at least on my laptop's keyboard,
> as an alternative to the regular return key. But I also seem to have
> encountered an interesting issue (read "feature"?) with Carbon Emacs
> 21.3.50 (on Mac OSX Panther).
>
> When I press the key, the event seems to be attached to C-c. In fact,
> pressing it twice will result in the obvious C-c C-c and C-h c ends up
> with "Describe key briefly: C-c-" on my minibuffer (waiting for another
> event).
>
> If I run both the original emacs-21.2.1 or emacs-21.3.50 from
> Terminal.app (with either emacs -nw or emacs -q -nw), the enter key will
> behave as expected (by me at least). If I use the faithful xterm, then
> the behaviour just described for Carbon Emacs happens again. This makes
> sense to me, since Terminal.app is interpreting the strokes, and uses
> the smilingly standard macosx interpretation for the particular key.
>
> So, how can I go about forcing the key to bind to what I want it to?
> (character 13, newline, or something of the sort)?
>
> Thank you in advance,
>
> Tiago Maduro-Dias.
>
You may need a package like ucontrol
<http://www.gnufoo.org/ucontrol/uControl1.4.4.dmg>
Most Mac OSX Emacs users use this to rebind the caps lock key into control.
It also supports rebinding of the enter key into other things; a common
usage is to rebind it to 'fn', so that page-up and page-down can be done
with one hand.
-Jim
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Carbon Emacs binding to Enter key
2004-12-21 19:53 ` James Davidson
@ 2004-12-21 23:41 ` Tim McNamara
2004-12-22 18:35 ` James Davidson
0 siblings, 1 reply; 4+ messages in thread
From: Tim McNamara @ 2004-12-21 23:41 UTC (permalink / raw)
James Davidson <jim.davidson@sun.com> writes:
> You may need a package like ucontrol
> <http://www.gnufoo.org/ucontrol/uControl1.4.4.dmg>
>
> Most Mac OSX Emacs users use this to rebind the caps lock key into
> control.
>
> It also supports rebinding of the enter key into other things; a
> common usage is to rebind it to 'fn', so that page-up and page-down
> can be done with one hand.
This must be keyboard specific, I guess. On my iMac using the
standard keyboard, Control = control and Pg UP/Pg Dn work fine for
one-handed paging. Perhaps there are special issues for
PowerBook/iBook keyboards of which I am unaware.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Carbon Emacs binding to Enter key
2004-12-21 23:41 ` Tim McNamara
@ 2004-12-22 18:35 ` James Davidson
0 siblings, 0 replies; 4+ messages in thread
From: James Davidson @ 2004-12-22 18:35 UTC (permalink / raw)
On 12/21/04 3:41 PM, Tim McNamara wrote:
> James Davidson <jim.davidson@sun.com> writes:
>
>
>>You may need a package like ucontrol
>> <http://www.gnufoo.org/ucontrol/uControl1.4.4.dmg>
>>
>>Most Mac OSX Emacs users use this to rebind the caps lock key into
>>control.
>>
>>It also supports rebinding of the enter key into other things; a
>>common usage is to rebind it to 'fn', so that page-up and page-down
>>can be done with one hand.
>
>
> This must be keyboard specific, I guess. On my iMac using the
> standard keyboard, Control = control and Pg UP/Pg Dn work fine for
> one-handed paging. Perhaps there are special issues for
> PowerBook/iBook keyboards of which I am unaware.
Good point. The issue of Pg Up/Pg Down is specific to PowerBooks,
which lack this key. So, paging through documents with one hand is hard.
The Control/CapsLock problem is common to most Mac (and Windows)
keyboards, however. The Control key is somewhere below the left shift
key. The key immediately above the left shift key, which should be
Control, is Caps Lock. uControl enables remapping on the Mac. On
Windows, the same thing can be done via the registry.
-Jim
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-12-22 18:35 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-21 2:41 Carbon Emacs binding to Enter key Tiago Maduro-Dias
[not found] <mailman.7691.1103597559.27204.help-gnu-emacs@gnu.org>
2004-12-21 19:53 ` James Davidson
2004-12-21 23:41 ` Tim McNamara
2004-12-22 18:35 ` James Davidson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).