unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: paragraph-start in Shell mode and Ielm.
Date: Tue, 19 Apr 2005 23:40:24 -0400	[thread overview]
Message-ID: <87d5squngx.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <200504200139.j3K1dbk12900@raven.dms.auburn.edu> (Luc Teirlinck's message of "Tue, 19 Apr 2005 20:39:37 -0500 (CDT)")

> 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.


        Stefan

  parent reply	other threads:[~2005-04-20  3:40 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-20  1:39 paragraph-start in Shell mode and Ielm Luc Teirlinck
2005-04-20  2:19 ` Luc Teirlinck
2005-04-20  3:40 ` Stefan Monnier [this message]
2005-04-20  4:05   ` Luc Teirlinck
2005-04-20  4:23     ` Stefan Monnier
2005-04-20 21:42       ` Richard Stallman
2005-04-20 22:19         ` Stefan Monnier
2005-04-21 15:30           ` Richard Stallman
2005-04-21  1:29         ` Luc Teirlinck
2005-04-23 16:16           ` Richard Stallman
2005-04-25 17:28             ` Stefan Monnier
2005-04-26 14:32               ` Richard Stallman
2005-04-26 20:36                 ` Nick Roberts
2005-04-27 18:39                   ` Richard Stallman
2005-04-21  1:34         ` 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=87d5squngx.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@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).