[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Key sequence C-c C-f C-e uses invalid prefix characters

From: Stefan Monnier
Subject: Re: Key sequence C-c C-f C-e uses invalid prefix characters
Date: Tue, 10 Dec 2002 08:20:17 -0500

> > Other ways to fix the problem:
> > - Use `psgml-' as prefix rather than `sgml-' so that the two packages can
> >   coexist peacefully.
> > - Explicitly (unload-feature 'sgml-mode) at the beginning of psgml's code.
> The second proposal looks rather heavy, but easy to implement.  I guess
> some users won't like it, since they might want to make use of the HTML
> support provided by sgml-mode.

I don't think that psgml and sgml-mode can coexist, right now, so loading
psgml prevents you from using its sgml-mode's HTML support whether you
unload sgml-mode or not.
The problem with unloading sgml-mode is rather that I find unload-feature
somewhat brittle.  If it works, it's probably a good quick fix.

Renaming in psgml is of course preferable.

> The first way would mean you will have to change all the files all over
> and in the end user customizations will be broken and all users will get
> used to new commands: M-x psgml-... instead of M-x sgml-... 

You could still obey some sgml-... variables for backward-compatibility
so that old user settings still work.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]