From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: comint-prompt-regexp Date: Thu, 7 Apr 2005 12:24:00 +0900 Message-ID: References: <200504070155.j371tBq27411@raven.dms.auburn.edu> Reply-To: snogglethorpe@gmail.com, miles@gnu.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1112844348 5937 80.91.229.2 (7 Apr 2005 03:25:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 7 Apr 2005 03:25:48 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 07 05:25:43 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DJNe6-0006w1-9Z for ged-emacs-devel@m.gmane.org; Thu, 07 Apr 2005 05:25:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DJNDK-00069v-3N for ged-emacs-devel@m.gmane.org; Wed, 06 Apr 2005 22:57:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DJNCr-00061q-Bh for emacs-devel@gnu.org; Wed, 06 Apr 2005 22:57:23 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DJNCq-00060t-HF for emacs-devel@gnu.org; Wed, 06 Apr 2005 22:57:20 -0400 Original-Received: from [64.233.184.205] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DJNdD-0005Ml-9T for emacs-devel@gnu.org; Wed, 06 Apr 2005 23:24:35 -0400 Original-Received: by wproxy.gmail.com with SMTP id 40so430948wri for ; Wed, 06 Apr 2005 20:24:00 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=Sxlq0m+FsUOGsZ7TlI/fccmV0YmqtSfVADupZMpF8y3cZ5bhpSYQPSamMrHtEHQp19rrJB/KA+529Aj106k1ROmFNQ5pqGsHTs4JdX18i5VWVhEc6xNx9xtFMvqhBCB9Bp+LfbqbjXpN/ePI0rhNFmstU/BtPxpmh8tTSGV4S9o= Original-Received: by 10.54.17.6 with SMTP id 6mr220177wrq; Wed, 06 Apr 2005 20:24:00 -0700 (PDT) Original-Received: by 10.54.19.32 with HTTP; Wed, 6 Apr 2005 20:24:00 -0700 (PDT) Original-To: Luc Teirlinck In-Reply-To: <200504070155.j371tBq27411@raven.dms.auburn.edu> 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:35674 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:35674 On Apr 7, 2005 10:55 AM, Luc Teirlinck wrote: > I propose the following doc change to comint.el. The reasons are > the same as for the similar change I proposed to the > shell-prompt-pattern docstring. I know of at least two modes, shell > and ielm, that use `comint-prompt-regexp' even if > `comint-use-prompt-regexp-instead-of-fields' is nil. It might be good to mention shell-mode explicitly -- I think in most cases where a derived mode does something like that, it also sets the prompt regexp to something suitable for that mode. In general, is this variable even a useful thing for users to customize? Shouldn't they be customizing the corresponding variable for a derived mode instead, as comint-mode is never used "raw"? Maybe it should simply be a defvar instead of a defcustom. -Miles -- Do not taunt Happy Fun Ball.