Re: A few questions

Florent Georges <[email protected]>
Newsgroups gmane.emacs.nxml.general
Message-ID <[email protected]>
Stephen Langer wrote:

> It's only in emacs 23, isn't it?  I'm using 22.3.1.  I'll see
> if I can install 23 before asking that list.

  Yes, but if such a mechanism exists in 23, there is a chance it was in nXML before its inclusion in Emacs ;-)

> >  What's within your magic-mode-alist variable?

> I think I have auto-mode-alist instead of magic-mode-alist.

  They are two distinct variables.  auto-mode-alist is used to choose the mode from the file name, while magic-mode-alist is used to choose the mode from the file content (in case of XML, this is interesting if the file starts with <?xml...)

> I don't know much about elisp.  How do I print the value?

  "C-h v magic-mode-alist RET" will print the variable documentation alongside its value on your Emacs at that time.

  Regards,

-- 
Florent Georges
http://www.fgeorges.org/
























      



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/emacs-nxml-mode/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/emacs-nxml-mode/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[email protected] 
    mailto:[email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.