From: Miles Bader <snogglethorpe@gmail.com>
Cc: emacs-devel@gnu.org, miles@gnu.org
Subject: Re: comint-prompt-regexp
Date: Fri, 8 Apr 2005 10:36:23 +0900 [thread overview]
Message-ID: <fc339e4a0504071836203cd444@mail.gmail.com> (raw)
In-Reply-To: <200504080105.j3815xn07712@raven.dms.auburn.edu>
On Apr 8, 2005 10:05 AM, Luc Teirlinck <teirllm@dms.auburn.edu> 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.
next prev parent reply other threads:[~2005-04-08 1:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-07 1:55 comint-prompt-regexp Luc Teirlinck
2005-04-07 3:24 ` comint-prompt-regexp Miles Bader
2005-04-08 1:05 ` comint-prompt-regexp Luc Teirlinck
2005-04-08 1:36 ` Miles Bader [this message]
2005-04-08 1:46 ` comint-prompt-regexp Luc Teirlinck
2005-04-08 1:27 ` comint-prompt-regexp Luc Teirlinck
2005-04-08 1:34 ` comint-prompt-regexp Luc Teirlinck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fc339e4a0504071836203cd444@mail.gmail.com \
--to=snogglethorpe@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=miles@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).