From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: gdb-ui doesn't work with comint read-only prompts Date: Mon, 24 Oct 2005 19:16:38 +1300 Message-ID: <17244.31814.74408.205306@kahikatea.snap.net.nz> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1130135178 4404 80.91.229.2 (24 Oct 2005 06:26:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 24 Oct 2005 06:26:18 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 24 08:26:15 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ETvmM-0002fm-PI for ged-emacs-devel@m.gmane.org; Mon, 24 Oct 2005 08:25:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ETvmL-0008Mg-RU for ged-emacs-devel@m.gmane.org; Mon, 24 Oct 2005 02:25:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ETvcw-0004vl-Tj for emacs-devel@gnu.org; Mon, 24 Oct 2005 02:16:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ETvco-0004v1-Oh for emacs-devel@gnu.org; Mon, 24 Oct 2005 02:16:06 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ETvcj-0004us-6q for emacs-devel@gnu.org; Mon, 24 Oct 2005 02:15:59 -0400 Original-Received: from [202.37.101.8] (helo=viper.snap.net.nz) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ETvch-0007yY-3s; Mon, 24 Oct 2005 02:15:55 -0400 Original-Received: from kahikatea.snap.net.nz (p178-tnt1.snap.net.nz [202.124.110.178]) by viper.snap.net.nz (Postfix) with ESMTP id 2B4757311E5; Mon, 24 Oct 2005 19:15:51 +1300 (NZDT) Original-Received: by kahikatea.snap.net.nz (Postfix, from userid 500) id B996B83AE; Mon, 24 Oct 2005 19:16:38 +1300 (NZDT) Original-To: Miles Bader In-Reply-To: X-Mailer: VM 7.19 under Emacs 22.0.50.19 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:44678 Archived-At: > Customize the comint prompts to be read-only (in customize group > "comint"), then try starting a gdb session and typing some commands. > > You get various "text is read-only" errors, and things generally don't > work right. You get the same errors with "gdb -fullname" if you execute commands using the toolbar or keybindings e.g C-x C-a C-n. That's because GUD deletes the existing prompt in this and replaces it with the new one. The variable comint-prompt-read-only is quite new. Why would someone set it to t? Nick