From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Puff Addison Newsgroups: gmane.emacs.bugs Subject: Re: LaTeX paragraphs Date: Tue, 19 Aug 2003 10:37:43 +0100 Organization: University College London Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1061286235 14209 80.91.224.253 (19 Aug 2003 09:43:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 19 Aug 2003 09:43:55 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 19 11:43:54 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19p31t-00042I-00 for ; Tue, 19 Aug 2003 11:43:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19p31K-0001DT-MK for geb-bug-gnu-emacs@m.gmane.org; Tue, 19 Aug 2003 05:43:18 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19p312-0000ey-OR for bug-gnu-emacs@prep.ai.mit.edu; Tue, 19 Aug 2003 05:43:00 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19p30N-0008LZ-Di for bug-gnu-emacs@prep.ai.mit.edu; Tue, 19 Aug 2003 05:42:50 -0400 Original-Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19p30H-0008Jj-Sf for bug-gnu-emacs@prep.ai.mit.edu; Tue, 19 Aug 2003 05:42:13 -0400 Original-Received: from horus.isnic.is ([193.4.58.12]) by mx20.gnu.org with esmtp (Exim 4.20) id 19p30G-0006zd-8C for bug-gnu-emacs@prep.ai.mit.edu; Tue, 19 Aug 2003 05:42:12 -0400 Original-Received: from mail-b.bcc.ac.uk (mail-b.bcc.ac.uk [144.82.100.22]) by horus.isnic.is (8.12.9/8.12.9/isnic) with ESMTP id h7J9g4gO009315 for ; Tue, 19 Aug 2003 09:42:05 GMT (envelope-from news@ucl.ac.uk) Original-Received: from uns-a.ucl.ac.uk by mail-b.bcc.ac.uk with SMTP (Mailer) with ESMTP; Tue, 19 Aug 2003 10:41:53 +0100 Original-Received: (from news@localhost) by uns-a.ucl.ac.uk (AIX4.3/8.9.3/8.7) id KAA20500 for gnu-emacs-bug@moderators.isc.org; Tue, 19 Aug 2003 10:41:47 +0100 Original-To: gnu-emacs-bug@moderators.isc.org Original-Path: not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 27 Original-NNTP-Posting-Host: tsg40d.tsg.ucl.ac.uk Original-X-Trace: uns-a.ucl.ac.uk 1061286107 14688 128.40.28.40 (19 Aug 2003 09:41:46 GMT) Original-X-Complaints-To: usenet@ucl.ac.uk Original-NNTP-Posting-Date: 19 Aug 2003 09:41:46 GMT User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030529 X-Accept-Language: en-us, en In-Reply-To: X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:5554 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:5554 Davis Herring wrote: > For GNU Emacs 21.2.1 (powerpc-apple-darwin, X toolkit) of 2003-06-06: > > The regexps used by LaTeX mode for `paragraph-start' and > `paragraph-separate' seem a bit too general: namely, using > `forward-paragraph' and then `backward-paragraph' on > > a > > %b > > c > > with point on "b"'s line puts point after c and then just before c (this > is because, if I read the regexps correctly, the %comment is considered a > paragraph separator and thus skippable). Similarly back then forth moves > across a both times. This means, most notably, that `fill-paragraph' > won't work on comments. Moreover, `fill-region' on a comment doesn't seem > to deduce the comment's fill-prefix properly -- not sure why on that, > though. > > Thanks in advance, > Davis Herring > I have not checked what teh regexpr is but in LaTeX blank lines are paragraph separaptors so its seesmto be working properly.