[Top][All Lists]

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

Re: paragraph-start in Shell mode and Ielm.

From: Stefan Monnier
Subject: Re: paragraph-start in Shell mode and Ielm.
Date: Tue, 19 Apr 2005 23:40:24 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> I propose to change paragraph-start in Shell mode and Ielm from:
> (setq paragraph-start comint-prompt-regexp)
> to:
> (setq paragraph-start (concat "[ \t\f]*$\\|" comint-prompt-regexp))

I believe it's a bad idea.

> This will make no user visible difference, for reasons explained
> below.  But the current value is misleading given the paragraph-start
> docstring:

>   *Regexp for beginning of a line that starts OR separates paragraphs.
>   This regexp should match lines that separate paragraphs
>   and should also match lines that start a paragraph
>   (and are part of that paragraph).

The docstring should be updated: it was necessary for paragraph-start to
also match entries matched by paragraph-separate, but it's not the case
any more.


reply via email to

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