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: Re: gdb-ui doesn't work with comint read-only prompts Date: Tue, 25 Oct 2005 09:00:58 +1300 Message-ID: <17245.15738.413935.624162@kahikatea.snap.net.nz> References: <17244.31814.74408.205306@kahikatea.snap.net.nz> 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 1130185953 14457 80.91.229.2 (24 Oct 2005 20:32:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 24 Oct 2005 20:32:33 +0000 (UTC) Cc: emacs-devel@gnu.org, miles@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 24 22:32:32 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EU8xr-0005X3-TK for ged-emacs-devel@m.gmane.org; Mon, 24 Oct 2005 22:30:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EU8xr-00012F-Ac for ged-emacs-devel@m.gmane.org; Mon, 24 Oct 2005 16:30:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EU8xN-0000tQ-T8 for emacs-devel@gnu.org; Mon, 24 Oct 2005 16:30:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EU8xM-0000t3-QG for emacs-devel@gnu.org; Mon, 24 Oct 2005 16:30:09 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EU8xM-0000sx-HM for emacs-devel@gnu.org; Mon, 24 Oct 2005 16:30:08 -0400 Original-Received: from [202.37.101.8] (helo=viper.snap.net.nz) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EU8x8-0004XF-2R; Mon, 24 Oct 2005 16:29:54 -0400 Original-Received: from kahikatea.snap.net.nz (p206-tnt1.snap.net.nz [202.124.110.206]) by viper.snap.net.nz (Postfix) with ESMTP id D97FE72FD8F; Tue, 25 Oct 2005 09:29:47 +1300 (NZDT) Original-Received: by kahikatea.snap.net.nz (Postfix, from userid 500) id EB3E183AE; Tue, 25 Oct 2005 09:00:58 +1300 (NZDT) Original-To: rms@gnu.org In-Reply-To: X-Mailer: VM 7.19 under Emacs 22.0.50.22 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:44759 Archived-At: > 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? > > We're not going to remove the feature, so let's not go off on a > tangent about that. GUD ought to work when that variable is set. I don't think it was a tangent. I hadn't heard of this variable before Miles drew my attention to it and the Lisp manual doesn't describe it. > It is not hard to edit read-only text when you want to. You just > bind inhibit-read-only. Thats what I've done although the doc string suggests there are other considerations that I don't understand. Nick