From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joe Wells Newsgroups: gmane.emacs.bugs Subject: Re: tex-terminate-paragraph ignores paragraph-start and paragraph-separate Date: Sun, 09 Sep 2007 11:28:08 +0100 Message-ID: <86bqccrv47.fsf@macs.hw.ac.uk> References: <86r6l8s5v9.fsf@macs.hw.ac.uk> <46E3B328.8060204@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1189335669 1845 80.91.229.12 (9 Sep 2007 11:01:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 9 Sep 2007 11:01:09 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 09 21:00:55 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IURWP-0008Fk-Ps for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Sep 2007 20:28:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IUK23-00037i-Bu for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Sep 2007 06:28:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IUK20-00035o-9d for bug-gnu-emacs@gnu.org; Sun, 09 Sep 2007 06:28:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IUK1x-00034b-Kx for bug-gnu-emacs@gnu.org; Sun, 09 Sep 2007 06:28:42 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IUK1x-00033q-4q for bug-gnu-emacs@gnu.org; Sun, 09 Sep 2007 06:28:41 -0400 Original-Received: from izanami.macs.hw.ac.uk ([137.195.13.6]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IUK1s-0001H8-G4 for bug-gnu-emacs@gnu.org; Sun, 09 Sep 2007 06:28:37 -0400 Original-Received: from lxultra1.macs.hw.ac.uk ([137.195.27.173]:48299 helo=127.0.0.1) by izanami.macs.hw.ac.uk with smtp (Exim 4.51) id 1IUK1Q-0001jy-W3; Sun, 09 Sep 2007 11:28:09 +0100 Original-Received: (nullmailer pid 30208 invoked by uid 1001); Sun, 09 Sep 2007 10:28:08 -0000 In-Reply-To: <46E3B328.8060204@gmx.at> (martin rudalics's message of "Sun\, 09 Sep 2007 10\:47\:36 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16515 Archived-At: martin rudalics writes: >> The fix is to make tex-terminate-paragraph use a better approach to >> finding the start of the current paragraph. At the very least, it >> should honor paragraph-start and paragraph-separate. > > I think the "(search-backward "\n\n" nil t)" in `tex-validate-buffer' > should then be replaced as well. Both places should probably just use the standard paragraph motion functions. (By the way, what is tex-validate-buffer doing with paragraphs anyway?) -- Joe