From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: paragraph-start in Shell mode and Ielm. Date: Tue, 19 Apr 2005 23:40:24 -0400 Message-ID: <87d5squngx.fsf-monnier+emacs@gnu.org> References: <200504200139.j3K1dbk12900@raven.dms.auburn.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1113968293 29616 80.91.229.2 (20 Apr 2005 03:38:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 20 Apr 2005 03:38:13 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 20 05:38:11 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DO62S-0003nN-3q for ged-emacs-devel@m.gmane.org; Wed, 20 Apr 2005 05:38:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DO66s-0000cB-WD for ged-emacs-devel@m.gmane.org; Tue, 19 Apr 2005 23:42:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DO66i-0000ar-MG for emacs-devel@gnu.org; Tue, 19 Apr 2005 23:42:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DO66h-0000aS-31 for emacs-devel@gnu.org; Tue, 19 Apr 2005 23:42:32 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DO66g-0000ZV-Rn for emacs-devel@gnu.org; Tue, 19 Apr 2005 23:42:30 -0400 Original-Received: from [209.226.175.74] (helo=tomts20-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DO66n-0002IU-1b for emacs-devel@gnu.org; Tue, 19 Apr 2005 23:42:37 -0400 Original-Received: from alfajor ([67.68.216.125]) by tomts20-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20050420034025.ICXC8412.tomts20-srv.bellnexxia.net@alfajor>; Tue, 19 Apr 2005 23:40:25 -0400 Original-Received: by alfajor (Postfix, from userid 1000) id 156BBD73A1; Tue, 19 Apr 2005 23:40:24 -0400 (EDT) Original-To: Luc Teirlinck In-Reply-To: <200504200139.j3K1dbk12900@raven.dms.auburn.edu> (Luc Teirlinck's message of "Tue, 19 Apr 2005 20:39:37 -0500 (CDT)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:36142 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36142 > 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