unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@Freenet.DE>
To: rms@gnu.org
Cc: emacs-pretest-bug@gnu.org
Subject: Re: 23.0.50; XML conf file
Date: Sat, 22 Dec 2007 20:43:49 +0100	[thread overview]
Message-ID: <9F6DFBB8-0692-4179-A6F1-29050A382705@Freenet.DE> (raw)
In-Reply-To: <E1J5xsk-0001vH-9f@fencepost.gnu.org>


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!

  parent reply	other threads:[~2007-12-22 19:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-15 15:22 23.0.50; XML conf file Peter Dyballa
     [not found] ` <E1J5xsk-0001vH-9f@fencepost.gnu.org>
2007-12-22 19:43   ` Peter Dyballa [this message]
2007-12-23  1:02     ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9F6DFBB8-0692-4179-A6F1-29050A382705@Freenet.DE \
    --to=peter_dyballa@freenet.de \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).