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: Tue, 10 Jul 2007 22:26:34 -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 1184120811 2481 80.91.229.12 (11 Jul 2007 02:26:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 11 Jul 2007 02:26:51 +0000 (UTC) Cc: angeli@caeruleus.net, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 11 04:26:49 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 1I8Rud-0000vi-8t for ged-emacs-devel@m.gmane.org; Wed, 11 Jul 2007 04:26:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I8Ruc-0001yu-L5 for ged-emacs-devel@m.gmane.org; Tue, 10 Jul 2007 22:26:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I8RuZ-0001wa-K9 for emacs-devel@gnu.org; Tue, 10 Jul 2007 22:26:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I8RuX-0001w6-5T for emacs-devel@gnu.org; Tue, 10 Jul 2007 22:26:38 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I8RuX-0001w3-0d for emacs-devel@gnu.org; Tue, 10 Jul 2007 22:26:37 -0400 Original-Received: from bc.sympatico.ca ([209.226.175.184] helo=tomts22-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I8RuV-00059u-Lr; Tue, 10 Jul 2007 22:26:35 -0400 Original-Received: from ceviche.home ([70.53.192.68]) by tomts22-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20070711022634.PBOC875.tomts22-srv.bellnexxia.net@ceviche.home>; Tue, 10 Jul 2007 22:26:34 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 3C6D1B411F; Tue, 10 Jul 2007 22:26:33 -0400 (EDT) In-Reply-To: (Richard Stallman's message of "Tue\, 10 Jul 2007 18\:01\:03 -0400") 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:74621 Archived-At: > 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). > It is ok if it can't cleanly be avoided. But I'd rather look > for a way to avoid it, and I expect that should be possible. > For instance, the code of comment-forward could call a new > preloaded function equivalent to `comment-normalize-vars', > and `comment-normalize-vars' itself could call that new function > to do the work. This way, calls to `comment-normalize-vars' > will still be a good way to cause newcomment.el to get loaded, > and everything that works now will continue to work. If someone else wants to do that, I can't prevent it, but spreading the code like this just in the hope to avoid a few KB in the default build (most people will load newcomment.el sooner or later since it's loaded as soon as you hit M-; or use auto-fill-mode or ...), is just a waste of time IMNSHO. Stefan