From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!not-for-mail
From: Jonathan Goldblatt <jonathangoldblatt@yahoo.com>
Newsgroups: gmane.emacs.bugs
Subject: Re: <delete> key exits Shell Mode (on Windows)
Date: Thu, 18 Oct 2007 09:30:00 -0400
Message-ID: <18199.24536.280813.530085@tower.localdomain>
References: <4715E891.9020801@pobox.com>
NNTP-Posting-Host: lo.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: ger.gmane.org 1192714452 12557 80.91.229.12 (18 Oct 2007 13:34:12 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Thu, 18 Oct 2007 13:34:12 +0000 (UTC)
Cc: bug-gnu-emacs@gnu.org
To: Gareth Rees <gareth.rees@pobox.com>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 18 15:34:13 2007
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>
Envelope-to: geb-bug-gnu-emacs@m.gmane.org
Original-Received: from lists.gnu.org ([199.232.76.165])
	by lo.gmane.org with esmtp (Exim 4.50)
	id 1IiVVn-00041E-0K
	for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Oct 2007 15:34:07 +0200
Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1IiVVf-00058t-SN
	for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Oct 2007 09:33:59 -0400
Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IiVVZ-00058C-Sg
	for bug-gnu-emacs@gnu.org; Thu, 18 Oct 2007 09:33:53 -0400
Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IiVVY-00057c-Ek
	for bug-gnu-emacs@gnu.org; Thu, 18 Oct 2007 09:33:53 -0400
Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IiVVY-00057R-69
	for bug-gnu-emacs@gnu.org; Thu, 18 Oct 2007 09:33:52 -0400
Original-Received: from smtp113.plus.mail.re1.yahoo.com ([69.147.102.76])
	by monty-python.gnu.org with smtp (Exim 4.60)
	(envelope-from <pseudonymoustoo-guesswho@yahoo.com>)
	id 1IiVTO-0000xZ-Mv
	for bug-gnu-emacs@gnu.org; Thu, 18 Oct 2007 09:31:38 -0400
Original-Received: (qmail 30416 invoked from network); 18 Oct 2007 13:30:02 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com;
	h=Received:X-YMail-OSG:Received:From:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID:Date:To:Cc:Subject:In-Reply-To:References:X-Mailer;
	b=TmsyPojoBIfFkRib41gFBa6RdJgk6aqlaAS1F7TrQPEM7GFNxtgHXBvNDIiOCn6cRbZDZPuSq8fD3cHttqu2LiidyPIIMVZnWG9OB87E63+74zbiNq+RGLJdqJVMmjGiBjHZpLivRVaKMPmoBCUUdeASGlzgNhDPiiJ/3gzShBk=
	; 
Original-Received: from unknown (HELO tower.localdomain) (pseudonymous6@76.160.64.172
	with plain)
	by smtp113.plus.mail.re1.yahoo.com with SMTP; 18 Oct 2007 13:30:02 -0000
X-YMail-OSG: FAekRl4VM1n4MtY3eM3iCZmsxMLE0Du8lDrxWKt.e92jHeNQSGmHnfDhH_07DvjV3MXjPNXBsg--
Original-Received: from jonathan by tower.localdomain with local (Exim 4.50)
	id 1IiVRp-0008Cu-1r; Thu, 18 Oct 2007 09:30:01 -0400
In-Reply-To: <4715E891.9020801@pobox.com>
X-Mailer: VM 7.18 under Emacs 21.4.1
X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.7-5.2 (or MacOS X
	10.2-10.4) (2)
X-BeenThere: bug-gnu-emacs@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "Bug reports for GNU Emacs,
	the Swiss army knife of text editors" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org
Xref: news.gmane.org gmane.emacs.bugs:16777
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/16777>

>>>>> "Gareth" == Gareth Rees <gareth.rees@pobox.com> 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])))