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: Fri, 8 Apr 2005 10:36:23 +0900 Message-ID: References: <200504070155.j371tBq27411@raven.dms.auburn.edu> <200504080105.j3815xn07712@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 1112924357 27602 80.91.229.2 (8 Apr 2005 01:39:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 8 Apr 2005 01:39:17 +0000 (UTC) Cc: emacs-devel@gnu.org, miles@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 08 03:39:15 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DJiSb-0000cN-V5 for ged-emacs-devel@m.gmane.org; Fri, 08 Apr 2005 03:39:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DJi21-0002rP-GO for ged-emacs-devel@m.gmane.org; Thu, 07 Apr 2005 21:11:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DJi1T-0002fr-4x for emacs-devel@gnu.org; Thu, 07 Apr 2005 21:10:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DJi1O-0002cw-Ct for emacs-devel@gnu.org; Thu, 07 Apr 2005 21:10:54 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DJi1N-0002cI-UE for emacs-devel@gnu.org; Thu, 07 Apr 2005 21:10:53 -0400 Original-Received: from [64.233.184.192] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DJiQo-0003Tb-KJ for emacs-devel@gnu.org; Thu, 07 Apr 2005 21:37:10 -0400 Original-Received: by wproxy.gmail.com with SMTP id 40so612104wri for ; Thu, 07 Apr 2005 18:36:23 -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=j83PG5jgm3bj0NoYMcBkYD2WDLFymwGDO3twG213V4e0KVSxyDwgHTvrsxjkR5NN87pzeAXucdwZhumF05EjDwmR33Fnuus6HA5MrLEpl4hZkgHuSGx4GdhrEIiy7VUAuFvYerjTUzQzooxtXfOEBOFSQ0olIVFd5AD55dynDv8= Original-Received: by 10.54.20.77 with SMTP id 77mr1241544wrt; Thu, 07 Apr 2005 18:36:23 -0700 (PDT) Original-Received: by 10.54.19.32 with HTTP; Thu, 7 Apr 2005 18:36:23 -0700 (PDT) Original-To: Luc Teirlinck In-Reply-To: <200504080105.j3815xn07712@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:35724 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:35724 On Apr 8, 2005 10:05 AM, Luc Teirlinck wrote: > Maybe it should simply be a defvar instead of a defcustom. > > It _is_ a defvar. The doc string just says: > > This is a good thing to set in mode hooks. I see; my mistake. If `foo-mode' is derived from comint, and sets the comint-prompt-regexp to `foo-prompt-regexp' (defaulting to "foo>"), and also uses `foo-prompt-regexp' to modify the paragraph regexp, then presumably the real dependence is on `foo-prompt-regexp', right? If so, any use of comint-prompt-regex in that process is a merely an internal implementation detail of `foo-mode', not really something that should be documented in comint (as doing so doesn't really help anybody). -Miles -- Do not taunt Happy Fun Ball.