unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Inconsistant Delete Key
@ 2002-09-06 15:32 CarlC
  2002-09-09  8:47 ` John McCabe
  0 siblings, 1 reply; 13+ messages in thread
From: CarlC @ 2002-09-06 15:32 UTC (permalink / raw)


Hi, all. I'm sure this subject has been talked about, ad nauseum, but I have
a new take on it.

I am running emacs 20.7.1. I had the usual problem with the delete key not
doing a delete-char. I have somewhat corrected the problem in ~/.emacs,
although it seems a kludge to me. My problem is that when I start emacs with
a filename argument, sometimes the delete key does a delete-char, and other
times it does a backward-delete-char. This seems to be dependent on the file
that I initial open from the command line. I am at a loss as to this
inconsistancy.

My default .emacs file had:

;; Set up the keyboard so the delete key on both the regular keyboard
;; and the keypad delete the character under the cursor and to the right
;; under X, instead of the default, backspace behavior.
(global-set-key [delete] 'delete-char)
(global-set-key [kp-delete] 'delete-char)

I added:

(global-set-key "\C-h" 'backward-delete-char)
(global-set-key "\C-?" 'delete-char)

Thanks, in advance, for any help.

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2002-09-13 21:47 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-06 15:32 Inconsistant Delete Key CarlC
2002-09-09  8:47 ` John McCabe
2002-09-09 13:49   ` CarlC
2002-09-09 16:30     ` John McCabe
2002-09-10  8:32     ` John McCabe
2002-09-10 21:43       ` CarlC
2002-09-10  9:03     ` Kai Großjohann
2002-09-10 21:32       ` CarlC
2002-09-11  8:26         ` John McCabe
2002-09-11 12:46           ` CarlC
2002-09-12 15:01         ` Kai Großjohann
2002-09-13 20:09           ` CarlC
2002-09-13 21:47             ` Kai Großjohann

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).