emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [OS X] Delete key should delete forward


From: Sébastien Kirche
Subject: Re: [OS X] Delete key should delete forward
Date: Fri, 11 Feb 2005 22:38:30 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

Le 6 fév 2005, Jesper Harder vraute :

> Hi,
> 
> In the carbon Emacs build, the key labelled "delete" and with an arrow
> pointing to the right should delete forward. `C-h k' says this:
> 
> DEL (translated from <kp-delete>) runs the command delete-backward-char
> which is an interactive built-in function in `C source code'.
> It is bound to DEL.
> 
> When running Emacs in a terminal (emacs -nw) the key /does/ delete in the
> correct direction:
> 
> <deletechar> runs the command delete-char
> which is an interactive built-in function in `C source code'.
> It is bound to C-d, <deletechar>.

That is why i defined when (eq system-type 'darwin) and (if window-system)
the binding (global-set-key (kbd "<kp-delete>") 'delete-char).

BTW, if  that is  actually a  bug, maybe one  can fix  the following  too in
carbon emacs + window-system ?

(global-set-key (kbd "<kp-divide>") "/")
(global-set-key (kbd "<C-kp-home>") (kbd "<C-home>"))
(global-set-key (kbd "<C-kp-end>") (kbd "<C-end>"))

Those keys are both inactive.

Regards.
-- 
Sébastien Kirche





reply via email to

[Prev in Thread] Current Thread [Next in Thread]