From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.bugs Subject: bug#8158: Definition of auto-mode-alist Date: Thu, 3 Mar 2011 00:14:26 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1299109054 8760 80.91.229.12 (2 Mar 2011 23:37:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 2 Mar 2011 23:37:34 +0000 (UTC) Cc: 8158@debbugs.gnu.org To: Reuben Thomas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 03 00:37:25 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Puvbh-0002Qg-0J for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Mar 2011 00:37:25 +0100 Original-Received: from localhost ([127.0.0.1]:49351 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Puvbg-0003Dx-H0 for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Mar 2011 18:37:24 -0500 Original-Received: from [140.186.70.92] (port=60419 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PuvbB-0002uR-0y for bug-gnu-emacs@gnu.org; Wed, 02 Mar 2011 18:36:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Puvb9-0000S9-LP for bug-gnu-emacs@gnu.org; Wed, 02 Mar 2011 18:36:52 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39164) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Puvb9-0000S4-Gc for bug-gnu-emacs@gnu.org; Wed, 02 Mar 2011 18:36:51 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PuvG2-0006PP-OK; Wed, 02 Mar 2011 18:15:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lennart Borgman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 02 Mar 2011 23:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8158 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 8158-submit@debbugs.gnu.org id=B8158.129910769324606 (code B ref 8158); Wed, 02 Mar 2011 23:15:02 +0000 Original-Received: (at 8158) by debbugs.gnu.org; 2 Mar 2011 23:14:53 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PuvFt-0006Op-IJ for submit@debbugs.gnu.org; Wed, 02 Mar 2011 18:14:53 -0500 Original-Received: from mail-ew0-f44.google.com ([209.85.215.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PuvFs-0006Oe-8U for 8158@debbugs.gnu.org; Wed, 02 Mar 2011 18:14:52 -0500 Original-Received: by ewy9 with SMTP id 9so176484ewy.3 for <8158@debbugs.gnu.org>; Wed, 02 Mar 2011 15:14:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=nuvU/Noo4O4XpsquuMHly31OABZ0entclK3e3hyDLfE=; b=KcPKMHDw6FKDW9YSLD592fxkTTikadYYl4UP24M1Jx2zjEM4bbnZd9VJFqDO5ifBFt cjLg9FohYkUXULx7+FwEbKV/6RA7FJodBSYeN4vgx55Y439kVYTDEdQ+PeVZ+PgR/4b0 uQVu8wEVD6UamcGao1H+X038Fs5LAb3VqFyAg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=E+DhCD6vUcI/Sjn11kO/PI6NgFNOxVmW+qzlWnMKrZE4ajpE/KhwHFZyzn2uiqckjJ YSGKpvbXptlh/7Xx4Jo7Dy/LrwzGieGvlwn3y5LBqqE9vmubIYpyVhINwrDsmskBb1+W Ixy+BHoQ+XieK1lI22qkxB6wUQbHFItBKZqYE= Original-Received: by 10.213.2.204 with SMTP id 12mr599922ebk.94.1299107686199; Wed, 02 Mar 2011 15:14:46 -0800 (PST) Original-Received: by 10.213.108.136 with HTTP; Wed, 2 Mar 2011 15:14:26 -0800 (PST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 02 Mar 2011 18:15:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:44534 Archived-At: On Wed, Mar 2, 2011 at 11:35 PM, Reuben Thomas wrote: > On 2 March 2011 22:30, Lennart Borgman wrote: >> >> I think the control of this must be given to the user and that >> requires a central system. > > From the point of view of the user, the system is centralised: > auto-mode-alist and friends, which can be redefined at will. > >> Just loading a new elisp file should not >> override old choices. (See above for clarification.) > > Sure, but autoloaded lines from mode files aren't rerun when the mode > is loaded, are they? (At least, it seems not, because modes I have > autoloaded still only have one entry per file suffix in > auto-mode-alist.) So you mean that the insertion into auto-mode-alist should be done by autoloading? I think that is too fragile since it will depend on how modules are loading. As I said in a previous message the user must be given some simple control of this. In my opinion that means that some way to prioritize must be used, please see my previous message. That would allow for decentralized additions to auto-mode-alist (but you seem to have missed that point?).