From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#12583: latest org-mode changes exposes bug in `comment-forward'in newcomment.el Date: Sat, 6 Oct 2012 08:53:42 -0700 Message-ID: <91FE7CF1DA974412A922D439CF16A994@us.oracle.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1349538888 30944 80.91.229.3 (6 Oct 2012 15:54:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 6 Oct 2012 15:54:48 +0000 (UTC) Cc: 12583@debbugs.gnu.org To: "'Stefan Monnier'" , "'Le Wang'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 06 17:54:54 2012 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 1TKWiM-00039U-Ar for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Oct 2012 17:54:54 +0200 Original-Received: from localhost ([::1]:36766 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKWiG-0005Ew-I6 for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Oct 2012 11:54:48 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60378) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKWiE-0005ED-CA for bug-gnu-emacs@gnu.org; Sat, 06 Oct 2012 11:54:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TKWiD-0006qB-7L for bug-gnu-emacs@gnu.org; Sat, 06 Oct 2012 11:54:46 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48122) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKWiD-0006q5-3d for bug-gnu-emacs@gnu.org; Sat, 06 Oct 2012 11:54:45 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TKWiT-0007uw-NH for bug-gnu-emacs@gnu.org; Sat, 06 Oct 2012 11:55:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Oct 2012 15:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12583 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12583-submit@debbugs.gnu.org id=B12583.134953885730384 (code B ref 12583); Sat, 06 Oct 2012 15:55:01 +0000 Original-Received: (at 12583) by debbugs.gnu.org; 6 Oct 2012 15:54:17 +0000 Original-Received: from localhost ([127.0.0.1]:58373 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TKWhl-0007u1-5T for submit@debbugs.gnu.org; Sat, 06 Oct 2012 11:54:17 -0400 Original-Received: from rcsinet15.oracle.com ([148.87.113.117]:32518) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TKWhj-0007to-54 for 12583@debbugs.gnu.org; Sat, 06 Oct 2012 11:54:16 -0400 Original-Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by rcsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q96FrpwM032392 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 6 Oct 2012 15:53:52 GMT Original-Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q96FrobT029510 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 6 Oct 2012 15:53:51 GMT Original-Received: from abhmt106.oracle.com (abhmt106.oracle.com [141.146.116.58]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q96Fro4K022168; Sat, 6 Oct 2012 10:53:50 -0500 Original-Received: from dradamslap1 (/71.202.147.44) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 06 Oct 2012 08:53:50 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: Ac2jwTxXjPbqloAJROKXe3q1IpLrywAGClhQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:65271 Archived-At: > Before using the comment-* functions, you need to call > comment-normalize-vars. Which comment-* functions? All of them? Why don't you add a specific guideline about this to the code comments or to some doc string? The doc string of `comment-normalize-vars' says, BTW, that it is the functions that are autoloaded from newcomment.el that should call `c-n-v'. But you seem to be saying that those are not the only ones. It is also the case that not all functions that are autoloaded from newcomment.el call `c-n-v'. So what exactly is the proper criterion? (Or do some such functions in newcomment.el perhaps need to be corrected to call `c-n-v'?) For my own use, I wonder whether I should be calling `c-n-v' before I make use of `comment-search-forward'. That function has no autoload cookie, so it does not fit your prescription, and I have not been calling `c-n-v' and have not noticed any problem, but I wonder anyway, since you brought this up. Just when is it necessary or useful to call `c-n-v'? BTW, why are there so many things besided commands that have autoload cookies in newcomment.el? I know that you are not particularly in favor of unnecessarily autoloading variables, so I wonder what the story is here. Thx.