>>>> "Jan" == Jan Vroonhof
<vroonhof(a)math.ethz.ch> writes:
Jan> Jonathan Harris <jhar(a)tardis.ed.ac.uk> writes:
> 1998-09-20 Jonathan Harris <jhar(a)tardis.ed.ac.uk>
>
> * simple.el (delete-key-deletes-forward): Custom default changed
> from nil to '(eq system-type 'windows-nt)'.
Jan> This the wrong fix, you should add a windows-nt case to this
Jan> ;; Trash me, baby.
Jan> (defsubst delete-forward-p ()
Jan> (and delete-key-deletes-forward
Jan> (or (not (eq (device-type) 'x))
Jan> (x-keysym-on-keyboard-sans-modifiers-p 'backspace))))
Au contraire, I was actually thinking about Windows when I wrote that
code. If delete-key-deletes-forward is `t' (as it will be by default,
right??), then delete will delete forwards except when using X windows
and there is a `delete' key defined, but no `backspace' key. In that
exceptional situation, it's better for delete to delete backwards.
So on Windows it will do the Right Thing.
Martin (who still has never used XEmacs on Windows)