unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How do I make the delete key work?
@ 2002-12-23 20:42 Lars Gustafsson
  2002-12-24  3:10 ` Bob Babcock
  2002-12-24  3:24 ` Jose A. Ortega Ruiz
  0 siblings, 2 replies; 4+ messages in thread
From: Lars Gustafsson @ 2002-12-23 20:42 UTC (permalink / raw)


How do I make the delete key work? (require 'delbs) is supposed to
work for XEmacs. But it doesn't work for Emacs. I want it to delete
the character just right of where the cursor is.
 
Thankful for answers, Lars

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

* Re: How do I make the delete key work?
  2002-12-23 20:42 How do I make the delete key work? Lars Gustafsson
@ 2002-12-24  3:10 ` Bob Babcock
  2002-12-24  6:07   ` Jonathon Isaac Swiderski
  2002-12-24  3:24 ` Jose A. Ortega Ruiz
  1 sibling, 1 reply; 4+ messages in thread
From: Bob Babcock @ 2002-12-24  3:10 UTC (permalink / raw)


lng2@spray.se (Lars Gustafsson) wrote in 
news:340bc066.0212231242.64277e4c@posting.google.com:

> How do I make the delete key work? (require 'delbs) is supposed to
> work for XEmacs. But it doesn't work for Emacs. I want it to delete
> the character just right of where the cursor is.

I use these with emacs 20.7.1 under Win/2K:

(global-set-key [delete] 'delete-char)
(global-set-key "\C-h" 'delete-backward-char)
(global-set-key "\C-?" 'delete-backward-char)
(define-key emacs-lisp-mode-map "\C-?" 'delete-backward-char)

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

* Re: How do I make the delete key work?
  2002-12-23 20:42 How do I make the delete key work? Lars Gustafsson
  2002-12-24  3:10 ` Bob Babcock
@ 2002-12-24  3:24 ` Jose A. Ortega Ruiz
  1 sibling, 0 replies; 4+ messages in thread
From: Jose A. Ortega Ruiz @ 2002-12-24  3:24 UTC (permalink / raw)


lng2@spray.se (Lars Gustafsson) writes:

> How do I make the delete key work? (require 'delbs) is supposed to
> work for XEmacs. But it doesn't work for Emacs. I want it to delete
> the character just right of where the cursor is.
>  
> Thankful for answers, Lars

hi,

in http://tiny-tools.sourceforge.net/emacs-keys.html you can find and
excellent guide for setting up emacs keybindings (including the delete
key)

hth,
jao

-- 
Holding on to anger is like grasping a hot coal with the intent of throwing
it at someone else; you are the one getting burned. -Buddha (c. 566-480
BCE)

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

* Re: How do I make the delete key work?
  2002-12-24  3:10 ` Bob Babcock
@ 2002-12-24  6:07   ` Jonathon Isaac Swiderski
  0 siblings, 0 replies; 4+ messages in thread
From: Jonathon Isaac Swiderski @ 2002-12-24  6:07 UTC (permalink / raw)


Bob Babcock <wssddc@nospam.gis.net> writes:

> lng2@spray.se (Lars Gustafsson) wrote in 
> news:340bc066.0212231242.64277e4c@posting.google.com:
> 
> > How do I make the delete key work? 
> 
> I use these with emacs 20.7.1 under Win/2K:
> 
> (global-set-key [delete] 'delete-char)
> (global-set-key "\C-h" 'delete-backward-char)
> (global-set-key "\C-?" 'delete-backward-char)
> (define-key emacs-lisp-mode-map "\C-?" 'delete-backward-char)

Aha!  Thank you for that last --- I'd got things working everywhere but the
modeline and a couple other places with the first three; I was wondering why I
still got errors in the modeline. . . .

-- 
Jonathon Isaac Swiderski \\ dangercat-20@dangercat.net
cs.oberlin.edu/~jswiders  \\  www.dangercat.net/resume

"University of Wisconsin statistics department... 
        where mean is normal, and deviation standard."

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

end of thread, other threads:[~2002-12-24  6:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-23 20:42 How do I make the delete key work? Lars Gustafsson
2002-12-24  3:10 ` Bob Babcock
2002-12-24  6:07   ` Jonathon Isaac Swiderski
2002-12-24  3:24 ` Jose A. Ortega Ruiz

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