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: Autoloading comment-forward Date: Mon, 09 Jul 2007 22:55:48 -0400 Message-ID: References: <87k5tck9yn.fsf@neutrino.caeruleus.net> <87bqel4db2.fsf@neutrino.caeruleus.net> <87644t4a8h.fsf@neutrino.caeruleus.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1184036158 20611 80.91.229.12 (10 Jul 2007 02:55:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 10 Jul 2007 02:55:58 +0000 (UTC) Cc: emacs-devel@gnu.org To: Ralf Angeli Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 10 04:55:57 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I85tL-00085z-Lk for ged-emacs-devel@m.gmane.org; Tue, 10 Jul 2007 04:55:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I85tL-0003Bq-5O for ged-emacs-devel@m.gmane.org; Mon, 09 Jul 2007 22:55:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I85tI-0003Bd-HK for emacs-devel@gnu.org; Mon, 09 Jul 2007 22:55:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I85tG-0003BR-7Q for emacs-devel@gnu.org; Mon, 09 Jul 2007 22:55:51 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I85tG-0003BO-1E for emacs-devel@gnu.org; Mon, 09 Jul 2007 22:55:50 -0400 Original-Received: from tomts25.bellnexxia.net ([209.226.175.188] helo=tomts25-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I85tF-0004GS-Ey for emacs-devel@gnu.org; Mon, 09 Jul 2007 22:55:49 -0400 Original-Received: from pastel.home ([74.12.207.7]) by tomts25-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20070710025548.LHBG25739.tomts25-srv.bellnexxia.net@pastel.home> for ; Mon, 9 Jul 2007 22:55:48 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 378E57FC0; Mon, 9 Jul 2007 22:55:47 -0400 (EDT) In-Reply-To: <87644t4a8h.fsf@neutrino.caeruleus.net> (Ralf Angeli's message of "Mon\, 09 Jul 2007 22\:01\:50 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-detected-kernel: Solaris 8 (1) 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:74537 Archived-At: >>> I'm not sure I understand the question. AUCTeX uses `comment-forward' >>> to skip empty or commented lines when traversing LaTeX macro arguments. >> Why doesn't it use forward-comment instead? > Because it has to deal with Texinfo files as well. I see. Then I think Richard's suggestion makes a lot of sense. Except that it means comment-forward (and hence newcomment.el) should not be autoloaded but preloaded. I'm all in favor of such a change (after all, the functionality provided by newcomment.el used to be preloaded (it was in simple.el) before I rewrote it). Richard, do you have an objection to preloading newcomment.el (after changing forward-comment to comment-forward-internal, adding backward motion to comment-forward and making forward-comment an alias of comment-forward). Stefan