From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Autoloading comment-forward Date: Tue, 10 Jul 2007 18:01:03 -0400 Message-ID: References: <87k5tck9yn.fsf@neutrino.caeruleus.net> <87bqel4db2.fsf@neutrino.caeruleus.net> <87644t4a8h.fsf@neutrino.caeruleus.net> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1184106573 24781 80.91.229.12 (10 Jul 2007 22:29:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 10 Jul 2007 22:29:33 +0000 (UTC) Cc: angeli@caeruleus.net, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 11 00:29:32 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 1I8OD5-0006nU-UN for ged-emacs-devel@m.gmane.org; Wed, 11 Jul 2007 00:29:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I8OD5-0006d5-7U for ged-emacs-devel@m.gmane.org; Tue, 10 Jul 2007 18:29:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I8OCc-0005mH-2p for emacs-devel@gnu.org; Tue, 10 Jul 2007 18:29:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I8OCb-0005kC-8O for emacs-devel@gnu.org; Tue, 10 Jul 2007 18:29:01 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I8OCa-0005jh-L4 for emacs-devel@gnu.org; Tue, 10 Jul 2007 18:29:00 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I8NlC-0005Yc-CY for emacs-devel@gnu.org; Tue, 10 Jul 2007 18:00:42 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1I8NlX-0000lC-R5; Tue, 10 Jul 2007 18:01:03 -0400 In-reply-to: (message from Stefan Monnier on Mon, 09 Jul 2007 22:55:48 -0400) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:74599 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.