* Delete in emacs on OS X
@ 2011-03-10 2:33 John Hendy
2011-03-10 6:04 ` Richard Lawrence
2011-03-10 13:11 ` Juan Pechiar
0 siblings, 2 replies; 5+ messages in thread
From: John Hendy @ 2011-03-10 2:33 UTC (permalink / raw)
To: emacs-orgmode
Hi,
I finally installed emacs/orgmode (using gnu emacs) on my OS X
partition (have had it on the Arch linux side) and have a probably
silly question. All has gone quite smoothly except for the fact that
for the life of me I can't figure out what key combo provides
"delete." Fn+delete behaves like backspace. In my searching, I found
reference to C-?, but that comes up as unrecognized.
How do I delete?
Thanks!
John
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Delete in emacs on OS X
2011-03-10 2:33 Delete in emacs on OS X John Hendy
@ 2011-03-10 6:04 ` Richard Lawrence
2011-03-10 13:11 ` Juan Pechiar
1 sibling, 0 replies; 5+ messages in thread
From: Richard Lawrence @ 2011-03-10 6:04 UTC (permalink / raw)
To: emacs-orgmode
John Hendy <jw.hendy@gmail.com> writes:
> I can't figure out what key combo provides "delete." Fn+delete behaves
> like backspace. In my searching, I found reference to C-?, but that
> comes up as unrecognized.
>
> How do I delete?
Try C-d. If that doesn't work, look at the help for delete-char (C-h f
delete-char <RET>), which should tell which key it's bound to.
Best,
Richard
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Delete in emacs on OS X
2011-03-10 2:33 Delete in emacs on OS X John Hendy
2011-03-10 6:04 ` Richard Lawrence
@ 2011-03-10 13:11 ` Juan Pechiar
2011-03-10 14:18 ` John Hendy
1 sibling, 1 reply; 5+ messages in thread
From: Juan Pechiar @ 2011-03-10 13:11 UTC (permalink / raw)
To: John Hendy; +Cc: emacs-orgmode
Doing F1-k on backspace ("delete" key) gives:
DEL (translated from <backspace>) runs the command
delete-backward-char
And with delete (Fn-"delete") it says:
DEL (translated from <kp-delete>) runs the command
delete-backward-char
So both are mapped to DEL.
You can fix this with
(global-set-key [kp-delete] 'delete-char)
Tested on
GNU Emacs 24.0.50.1 (x86_64-apple-darwin, NS apple-appkit-1038.32)
of 2010-06-21 on black.porkrind.org
Personally, I'm used to C-d, M-d, etc. for forward deleting.
Saludos,
.j.
On Wed, Mar 09, 2011 at 08:33:49PM -0600, John Hendy wrote:
> I finally installed emacs/orgmode (using gnu emacs) on my OS X
> ... I can't figure out what key combo provides "delete." Fn+delete
> behaves like backspace. In my searching, I found reference to C-?,
> but that comes up as unrecognized.
>
> How do I delete?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Delete in emacs on OS X
2011-03-10 13:11 ` Juan Pechiar
@ 2011-03-10 14:18 ` John Hendy
2011-03-10 18:59 ` Samuel Wales
0 siblings, 1 reply; 5+ messages in thread
From: John Hendy @ 2011-03-10 14:18 UTC (permalink / raw)
To: Juan Pechiar; +Cc: emacs-orgmode
Juan/Richard: thanks for the suggestions. I'll try these when I'm home
on the Mac. Perhaps I should have just been using C-d all along!
John
On Thu, Mar 10, 2011 at 7:11 AM, Juan Pechiar <juan@pechiar.com> wrote:
> Doing F1-k on backspace ("delete" key) gives:
>
> DEL (translated from <backspace>) runs the command
> delete-backward-char
>
> And with delete (Fn-"delete") it says:
>
> DEL (translated from <kp-delete>) runs the command
> delete-backward-char
>
> So both are mapped to DEL.
>
> You can fix this with
>
> (global-set-key [kp-delete] 'delete-char)
>
> Tested on
>
> GNU Emacs 24.0.50.1 (x86_64-apple-darwin, NS apple-appkit-1038.32)
> of 2010-06-21 on black.porkrind.org
>
> Personally, I'm used to C-d, M-d, etc. for forward deleting.
>
> Saludos,
> .j.
>
> On Wed, Mar 09, 2011 at 08:33:49PM -0600, John Hendy wrote:
>> I finally installed emacs/orgmode (using gnu emacs) on my OS X
>
>> ... I can't figure out what key combo provides "delete." Fn+delete
>> behaves like backspace. In my searching, I found reference to C-?,
>> but that comes up as unrecognized.
>>
>> How do I delete?
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Delete in emacs on OS X
2011-03-10 14:18 ` John Hendy
@ 2011-03-10 18:59 ` Samuel Wales
0 siblings, 0 replies; 5+ messages in thread
From: Samuel Wales @ 2011-03-10 18:59 UTC (permalink / raw)
To: John Hendy; +Cc: Juan Pechiar, emacs-orgmode
Unrelated: with external keyboard on a mac, my delete key sends
<linefeed> in emacs 22 and C-n in emacs 23. The former is bindable.
The latter is useless because C-n is needed.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-03-10 18:59 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-10 2:33 Delete in emacs on OS X John Hendy
2011-03-10 6:04 ` Richard Lawrence
2011-03-10 13:11 ` Juan Pechiar
2011-03-10 14:18 ` John Hendy
2011-03-10 18:59 ` Samuel Wales
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
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).