all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "B. T. Raven" <nihil@nihilo.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Disabling nxml-mode
Date: Tue, 10 May 2011 12:15:41 -0500	[thread overview]
Message-ID: <BNCdnTMnvoYx71TQnZ2dnUVZ_umdnZ2d@sysmatrix.net> (raw)
In-Reply-To: <dba9e0e2-dcd0-4ef1-a36c-a8818b2a114d@q12g2000prb.googlegroups.com>

Thanks for the Emacs23 new features pages. It would have been a long
time before I found out about proced and global visual-line-mode on my own.

Two questions on matters your embedded links lead to:
1) Why is ergoemacs not gpl licensed?
2) For kui (keyboard user interface) I use keytweak, firemacs, and
xkeymacs on w32 desktop but on thinkpad I can't get Fn key to do duty as
a mod key even though xev shows it as rassigned by xmodmap. Since you
are an ergonomics maven, I was hoping you (or any-one here) might know
whether the bottom-row keys on a thinkpad could be swapped around and
re-arranged without resorting to kernel surgery a la Rick Van Rein's
Funkey patch:

http://rick.vanrein.org/linux/funkey/#modes

Thanks again, Xah, and, in advance, if you know anything about question 2.

Ed


Xah Lee wrote:
> the reason it nxml-mode is loaded when u call xml-mode is probably
> because there is a alias.
> 
> you can probably set it back by:
> 
> (defalias 'xml-mode 'sgml-xml-mode)
> 
> Peter wrote:
>  > (setq auto-mode-alist (cons '("\\.[XxRrMmDdTt][TtMmDdSsNnEe]
> [PpAaMmLlFfSsIi]?[EePp]*[Cc]*$" . xml-mode) auto-mode-alist))
> 
> that seems to be pretty bad.
> 
> you probably want to use add-to-list instead of setq.
> (add-to-list 'auto-mode-alist '("\\.js\\'" . js2-mode))
> 
> also, the file suffix
> "\\.[XxRrMmDdTt][TtMmDdSsNnEe][PpAaMmLlFfSsIi]?[EePp]*[Cc]*$"
> seems quite wild. What is it?
> 
> nxml-mode is a new mode for xml, written by the xml expert James
> Clark, who is also the original author of sgml-mode (html-mode and xml-
> mode are parts of sgml-mode). nxml-mode features on-the-fly xml
> validation. It's 10k lines of elisp.
> 
> the following might provide helpful info:
> 
> 〈How to Install Emacs Packages〉
> http://xahlee.org/emacs/emacs_installing_packages.html
> 
> 〈New Features in Emacs 23〉
> http://xahlee.org/emacs/emacs23_features.html
> 
>  Xah
> 
> On May 7, 3:45 pm, Peter Flynn <pe...@silmaril.ie> wrote:
>> I just upgraded a machine to Ubuntu Natty, which installed Emacs 23.2,
>> which appears to open XML files in nxml-mode by default. My .emacs file says
>>
>>> (autoload 'xml-mode "psgml" "Major mode to edit XML files." t )
>>> (setq auto-mode-alist (cons '("\\.[XxRrMmDdTt][TtMmDdSsNnEe][PpAaMmLlFfSsIi]?[EePp]*[Cc]*$" . xml-mode) auto-mode-alist))
>> which has been working fine for years. It looks as if Emacs 23.2 defines
>> xml-mode to point to nxml-mode, and this is somehow superseding my .emacs.
>>
>> Unfortunately I still need to use psgml's xml-mode for all my XML stuff.
>> Does anyone know how I disable Emacs' new behaviour?
>>
>> ///Peter


  reply	other threads:[~2011-05-10 17:15 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-07 22:45 Disabling nxml-mode Peter Flynn
2011-05-08 19:24 ` Luuk
2011-05-08 21:45   ` Joe Kesselman
2011-05-08 21:46     ` Joe Kesselman
2011-05-08 21:46     ` Joe Kesselman
2011-05-09 18:26       ` Luuk
2011-05-09 20:12 ` William F Hammond
2011-05-10 11:23 ` Xah Lee
2011-05-10 17:15   ` B. T. Raven [this message]
2011-05-10 19:16     ` Xah Lee
2011-05-11  2:03       ` B. T. Raven
2011-05-11  4:05         ` rusi
2011-05-11 20:38           ` xmodmap ( was:: Disabling nxml-mode) B. T. Raven
2011-05-11 22:35             ` xmodmap ( Tim X
2011-05-12  2:20               ` B. T. Raven
2011-05-11  4:17         ` Disabling nxml-mode Xah Lee
2011-05-10 23:02   ` Joe Kesselman
2011-05-10 23:11     ` John Bokma
2011-05-11 20:24   ` Peter Flynn
2011-05-10 20:42 ` Peter Flynn

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

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

  git send-email \
    --in-reply-to=BNCdnTMnvoYx71TQnZ2dnUVZ_umdnZ2d@sysmatrix.net \
    --to=nihil@nihilo.net \
    --cc=help-gnu-emacs@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.