7 Apr 2005 02:44
PSGML conflicts with sgml-mode (CVS Emacs)
D. D. Brierton <darren <at> dzr-web.com>
2005-04-07 00:44:42 GMT
2005-04-07 00:44:42 GMT
>From the PROBLEMS file in CVS Emacs:
*** PSGML conflicts with sgml-mode.
PSGML package uses the same names of some variables (like
keymap) as built-in sgml-mode.el because it was created as a
replacement of that package. The conflict will be shown if you
load sgml-mode.el before psgml.el. E.g. this could happen if
you edit HTML page and then start to work with SGML or XML file.
html-mode (from sgml-mode.el) is used for HTML file and loading
of psgml.el (for sgml-mode or xml-mode) will cause an error.
At the moment I am working around this problem by manually removing
sgml-mode.el and sgml-mode.elc
from /usr/share/emacs/21.3.50/lisp/textmodes/, but clearly that is not
an elegant solution. Can someone explain an elegant way to work around
the above problem?
This is on Fedora Core 3:
$ rpm -q emacs psgml
emacs-21.3.50-0.20041210
psgml-1.2.5-4
The psgml RPM is from Fedora Core and the CVS Emacs RPMs are from this
yum repository:
[emacs-cvs-testing]
name=Emacs CVS Packages (testing)
baseurl=http://people.redhat.com/petersen/emacs/current/i386/RPMS.testing
(Continue reading)
RSS Feed