emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

comint-prompt-regexp


From: Luc Teirlinck
Subject: comint-prompt-regexp
Date: Wed, 6 Apr 2005 20:55:11 -0500 (CDT)

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)
============================================================



reply via email to

[Prev in Thread] Current Thread [Next in Thread]