From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.50; XML conf file Date: Sat, 22 Dec 2007 20:43:49 +0100 Message-ID: <9F6DFBB8-0692-4179-A6F1-29050A382705@Freenet.DE> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1198352655 18404 80.91.229.12 (22 Dec 2007 19:44:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Dec 2007 19:44:15 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 22 20:44:29 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 1J6AGo-0006Zf-Dd for ged-emacs-devel@m.gmane.org; Sat, 22 Dec 2007 20:44:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J6AGU-0006ks-GK for ged-emacs-devel@m.gmane.org; Sat, 22 Dec 2007 14:44:06 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J6AGR-0006kZ-A5 for emacs-devel@gnu.org; Sat, 22 Dec 2007 14:44:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J6AGP-0006jc-Kb for emacs-devel@gnu.org; Sat, 22 Dec 2007 14:44:03 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J6AGP-0006jZ-GT for emacs-devel@gnu.org; Sat, 22 Dec 2007 14:44:01 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J6AGN-0003Z9-Kk for emacs-devel@gnu.org; Sat, 22 Dec 2007 14:44:01 -0500 Original-Received: from mx10.gnu.org ([199.232.76.166]) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J6AGN-0004OX-7X for emacs-pretest-bug@gnu.org; Sat, 22 Dec 2007 14:43:59 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1J6AGJ-0003Ya-PA for emacs-pretest-bug@gnu.org; Sat, 22 Dec 2007 14:43:58 -0500 Original-Received: from mout2.freenet.de ([195.4.92.92]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1J6AGJ-0003Xp-1z; Sat, 22 Dec 2007 14:43:55 -0500 Original-Received: from [195.4.92.13] (helo=3.mx.freenet.de) by mout2.freenet.de with esmtpa (Exim 4.68) (envelope-from ) id 1J6AGF-00029w-PC; Sat, 22 Dec 2007 20:43:51 +0100 Original-Received: from fd21a.f.ppp-pool.de ([195.4.210.26]:53017 helo=[192.168.1.2]) by 3.mx.freenet.de with esmtpsa (ID peter_dyballa@freenet.de) (TLSv1:AES128-SHA:128) (port 25) (Exim 4.68 #1) id 1J6AGF-0007hL-Jf; Sat, 22 Dec 2007 20:43:51 +0100 In-Reply-To: X-Mailer: Apple Mail (2.753) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 1) X-detected-kernel: by monty-python.gnu.org: 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:85380 gmane.emacs.pretest.bugs:20471 Archived-At: Am 22.12.2007 um 07:30 schrieb Richard Stallman: > Did someone fix this? I did not receive any eMail yet. > Would you please remind people about this once a week until they > fix it? OK, I can support you in doing this! > > Can you try to fix it? No. My ability to programme in Lisp is almost not existing. I can look into files.el, which sets auto-mode-alist at some time, probably I would not find an improvement. Can it be that conf-mode comes too early into play? Wouldn't it make more sense to first check the type of a file, and when it is something not binary and not XML (i.e. something fundamental) then the file's name and extension are checked? I found the bug with /etc/ fonts/fonts.conf, in case someone needs an object to work on. Maybe adding ("<\\?xml" . xml-mode) to magic-mode-alist, also in files.el, can correct this. By default it's empty ... How are PS, PDF, ... XML determined? Ah, I see now: magic-fallback-mode-alist. And it comes one step too late! -- Greetings Pete Sorry my terrible English, my native language Lisp!