From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: gdb-ui Date: Wed, 08 Mar 2006 11:05:26 +0100 Message-ID: References: <17422.38246.980642.602542@kahikatea.snap.net.nz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1141816247 17899 80.91.229.2 (8 Mar 2006 11:10:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 8 Mar 2006 11:10:47 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 08 12:10:36 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FGwYW-0006e0-19 for ged-emacs-devel@m.gmane.org; Wed, 08 Mar 2006 12:10:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FGwYO-0004fa-NS for ged-emacs-devel@m.gmane.org; Wed, 08 Mar 2006 06:10:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FGwX4-0004cz-N5 for emacs-devel@gnu.org; Wed, 08 Mar 2006 06:08:42 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FGwWf-000472-Ju for emacs-devel@gnu.org; Wed, 08 Mar 2006 06:08:37 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FGwWc-00044f-9W for emacs-devel@gnu.org; Wed, 08 Mar 2006 06:08:14 -0500 Original-Received: from [199.232.41.67] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FGwZR-0005aS-1i for emacs-devel@gnu.org; Wed, 08 Mar 2006 06:11:09 -0500 Original-Received: from [193.162.153.10] (helo=pqueueb.post.tele.dk) by mx20.gnu.org with esmtp (Exim 4.52) id 1FGwWI-00080p-V3 for emacs-devel@gnu.org; Wed, 08 Mar 2006 06:07:55 -0500 Original-Received: from pfepc.post.tele.dk (pfepc.post.tele.dk [195.41.46.237]) by pqueueb.post.tele.dk (Postfix) with ESMTP id F17033DE523 for ; Wed, 8 Mar 2006 11:07:21 +0100 (CET) Original-Received: from kfs-l.imdomain.dk.cua.dk (unknown [80.165.4.124]) by pfepc.post.tele.dk (Postfix) with SMTP id 68664262810; Wed, 8 Mar 2006 11:07:07 +0100 (CET) Original-To: Nick Roberts In-Reply-To: <17422.38246.980642.602542@kahikatea.snap.net.nz> (Nick Roberts's message of "Wed, 8 Mar 2006 21:27:18 +1300") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:51357 Archived-At: Nick Roberts writes: > I attach a patch that deals with this problem by making the user decide if > input is for GDB or the inferior ( queues the input (for GDB), > sends it immediately (for the program being debugged)). Its not > attractive but I think it is necessary if the GUD buffer is used for input to > both. But how does a user know whether to hit RET or C-M-RET at any given moment? If he made the wrong choice, isn't it too late to correct it anyway? In any case: Please don't use C-return ... CUA-mode binds C-return globally to toggle rectangle marking. C-M-return would be ok... -- Kim F. Storm http://www.cua.dk