From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: comint-prompt-regexp Date: Wed, 6 Apr 2005 20:55:11 -0500 (CDT) Message-ID: <200504070155.j371tBq27411@raven.dms.auburn.edu> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1112839038 26467 80.91.229.2 (7 Apr 2005 01:57:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 7 Apr 2005 01:57:18 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 07 03:57:15 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DJMFg-0007r7-0i for ged-emacs-devel@m.gmane.org; Thu, 07 Apr 2005 03:56:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DJLot-0001XE-1J for ged-emacs-devel@m.gmane.org; Wed, 06 Apr 2005 21:28:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DJLnU-0008Mm-T1 for emacs-devel@gnu.org; Wed, 06 Apr 2005 21:27:06 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DJLnU-0008L8-6O for emacs-devel@gnu.org; Wed, 06 Apr 2005 21:27:04 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DJMGX-0000W6-NC for emacs-devel@gnu.org; Wed, 06 Apr 2005 21:57:05 -0400 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id j371uW9N020755 for ; Wed, 6 Apr 2005 20:56:32 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id j371tBq27411; Wed, 6 Apr 2005 20:55:11 -0500 (CDT) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: emacs-devel@gnu.org 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:35670 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:35670 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. ===File ~/comint-diff======================================= *** comint.el 04 Apr 2005 19:34:31 -0500 1.310 --- comint.el 06 Apr 2005 20:34:18 -0500 *************** *** 158,165 **** "Regexp to recognise prompts in the inferior process. Defaults to \"^\", the null string at BOL. ! This variable is only used if the variable ! `comint-use-prompt-regexp-instead-of-fields' is non-nil. Good choices: Canonical Lisp: \"^[^> \\n]*>+:? *\" (Lucid, franz, kcl, T, cscheme, oaklisp) --- 158,166 ---- "Regexp to recognise prompts in the inferior process. Defaults to \"^\", the null string at BOL. ! If `comint-use-prompt-regexp-instead-of-fields' is nil, Comint ! completely ignores this variable. However, some derived modes ! may still use it, for instance, to delimit paragraphs. Good choices: Canonical Lisp: \"^[^> \\n]*>+:? *\" (Lucid, franz, kcl, T, cscheme, oaklisp) ============================================================