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: Removing unloaded functions from auto-mode-alist. Date: Wed, 20 Apr 2005 11:02:36 -0400 Message-ID: <87d5spxzml.fsf-monnier+emacs@gnu.org> References: <87zmvu6ba2.fsf@xs4all.nl> <85ll7e68ei.fsf@lola.goethe.zz> <854qe2ihhi.fsf@lola.goethe.zz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1114009982 14519 80.91.229.2 (20 Apr 2005 15:13:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 20 Apr 2005 15:13:02 +0000 (UTC) Cc: Lute.Kamstra.lists@xs4all.nl, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 20 17:12:59 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DOGr9-0005lS-Gk for ged-emacs-devel@m.gmane.org; Wed, 20 Apr 2005 17:11:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DOGvg-0006sL-If for ged-emacs-devel@m.gmane.org; Wed, 20 Apr 2005 11:15:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DOGtx-0005ya-I2 for emacs-devel@gnu.org; Wed, 20 Apr 2005 11:14:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DOGtv-0005vz-Gp for emacs-devel@gnu.org; Wed, 20 Apr 2005 11:14:04 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DOGtv-0004nQ-Ai for emacs-devel@gnu.org; Wed, 20 Apr 2005 11:14:03 -0400 Original-Received: from [209.226.175.34] (helo=tomts13-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DOGlQ-0001Wg-6Z; Wed, 20 Apr 2005 11:05:16 -0400 Original-Received: from alfajor ([67.68.216.125]) by tomts13-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20050420150237.ZYWB25800.tomts13-srv.bellnexxia.net@alfajor>; Wed, 20 Apr 2005 11:02:37 -0400 Original-Received: by alfajor (Postfix, from userid 1000) id F0CE6D73A2; Wed, 20 Apr 2005 11:02:36 -0400 (EDT) Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Wed, 20 Apr 2005 10:57:23 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:36169 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36169 > Any objection to removing those aliases? > These names belong to AUCTeX and are just wrong in tex-mode.el. > I don't see any reason to consider them "wrong", or to think they > "belong" to anything other than tex-mode.el. - tex-mode.el uses the "tex-" and "latex-" prefix for all its functions and variables. - AUCTeX uses the "TeX-" and "LaTeX-" (and a few more) prefixes for all its functions and variables. I think the above is a good reason why "TeX-mode" and "LaTeX-mode" belong to AUCTeX rather than to tex-mode.el. So I think it's wrong for tex-mode.el to define (defalias 'TeX-mode 'tex-mode) unless it explicitly intends to override the AUCTeX definition. Stefan