[Top][All Lists]

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

Re: comint-prompt-regexp

From: Miles Bader
Subject: Re: comint-prompt-regexp
Date: Fri, 8 Apr 2005 10:36:23 +0900

On Apr 8, 2005 10:05 AM, Luc Teirlinck <address@hidden> 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

Do not taunt Happy Fun Ball.

reply via email to

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