[Top][All Lists]

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

Re: <delete> key exits Shell Mode (on Windows)

From: Jonathan Goldblatt
Subject: Re: <delete> key exits Shell Mode (on Windows)
Date: Thu, 18 Oct 2007 09:30:00 -0400

>>>>> "Gareth" == Gareth Rees <address@hidden> writes:

    Gareth> What I expect to happen: the bell should
    Gareth> ring. (<delete> should delete the character after
    Gareth> point, but point is at the end of the buffer so there
    Gareth> is nothing to delete.)

    Gareth> What happens: the shell exits.

You might want to try adding this to your .emacs and see if it
works better.

(add-hook 'shell-mode-hook
      '(lambda ()
         (local-set-key (kbd "C-d") [?\C-u ?\M-x ?y ?o ?w return])))

reply via email to

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