From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Newsgroups: gmane.emacs.bugs Subject: bug#17978: 24.3; forward-paragraph broken with javadocs Date: Fri, 11 Jul 2014 10:46:31 +0300 Message-ID: <86zjggcp7s.fsf@yandex.ru> References: <864myoe66i.fsf@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1405064848 25688 80.91.229.3 (11 Jul 2014 07:47:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Jul 2014 07:47:28 +0000 (UTC) Cc: Justine Tunney , 17978@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 11 09:47:21 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1X5VY6-0000ZR-NJ for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Jul 2014 09:47:18 +0200 Original-Received: from localhost ([::1]:42779 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5VY6-0004N5-Bn for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Jul 2014 03:47:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59488) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5VXx-0004Lc-FG for bug-gnu-emacs@gnu.org; Fri, 11 Jul 2014 03:47:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X5VXr-0005tg-71 for bug-gnu-emacs@gnu.org; Fri, 11 Jul 2014 03:47:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38032) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5VXr-0005tM-2O for bug-gnu-emacs@gnu.org; Fri, 11 Jul 2014 03:47:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1X5VXq-0004cs-Fq for bug-gnu-emacs@gnu.org; Fri, 11 Jul 2014 03:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 11 Jul 2014 07:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17978 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17978-submit@debbugs.gnu.org id=B17978.140506480817763 (code B ref 17978); Fri, 11 Jul 2014 07:47:02 +0000 Original-Received: (at 17978) by debbugs.gnu.org; 11 Jul 2014 07:46:48 +0000 Original-Received: from localhost ([127.0.0.1]:52831 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X5VXb-0004cQ-Qy for submit@debbugs.gnu.org; Fri, 11 Jul 2014 03:46:48 -0400 Original-Received: from mail-wi0-f180.google.com ([209.85.212.180]:62662) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X5VXa-0004cB-3f for 17978@debbugs.gnu.org; Fri, 11 Jul 2014 03:46:46 -0400 Original-Received: by mail-wi0-f180.google.com with SMTP id hi2so879989wib.13 for <17978@debbugs.gnu.org>; Fri, 11 Jul 2014 00:46:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=uxzwTcZ/GdugCUhYJN45JB6ozWn7NWiPWLX1Eb/G3zQ=; b=uIenREfH/dgfM6eoBym4nu7KDgoR3TnQitbVkRBb3LBZS0cqwN95EZ3Cnz5OXdqe2p PGt3si7cw7UYhI4Gm7rf2i7cOwF2xjVx0491UKxBXHaKfLQKQkUEJknhezTdw49J7Nkm WY5ez98t/hE/sGcK9o8fFZRpshwM8ZVr5TzS6Dg9Fy1e1Dke4hVLW24fSlNuoiA57NL6 usOruAuShGvqSTtIC/5NEzllpulnjk63KqgwjTwKUgu3xkZJRTBdNBML0pA3R+3CcoHb 4ylxFCHQFvTgtERl9tq+lO9CI3rMY2sIgXz+ZSJ35GhUjZmV313bI1s0a7WIXiBTYyEr Qksg== X-Received: by 10.180.8.10 with SMTP id n10mr2794392wia.41.1405064797107; Fri, 11 Jul 2014 00:46:37 -0700 (PDT) Original-Received: from axl (v-2-eu19-d3962-07.webazilla.com. [78.140.151.7]) by mx.google.com with ESMTPSA id w5sm4453557wif.3.2014.07.11.00.46.35 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 11 Jul 2014 00:46:36 -0700 (PDT) In-Reply-To: <864myoe66i.fsf@yandex.ru> (Dmitry's message of "Fri, 11 Jul 2014 09:54:45 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.92 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org 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 Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:91430 Archived-At: Dmitry writes: > This doesn't look straightforward to do, though: the final > `paragraph-start' is obtained by calling `c-setup-paragraph-variables', > so to get the value computed both ways, guess we'll have to call it at > least twice. Or maybe we should save the computed value, but then kill the buffer-local value of `paragraph-start'? This actually seems to be what Justine is asking for, because the "unexpected" paragraph movement happens not just because of javadocs, but also due to the "empty" lines within the comment. `c-setup-paragraph-variables' intentionally sets the variable up this way, so maybe we should consider more carefully whether `backward-paragraph' should stop at those lines.