all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Who's at fault with the key-map issues?
@ 2002-11-15 21:03 Galen Boyer
  2002-11-16 18:56 ` Kai Großjohann
  0 siblings, 1 reply; 6+ messages in thread
From: Galen Boyer @ 2002-11-15 21:03 UTC (permalink / raw)


sqml-mode sets part of sgml-mode-map with
    (define-key map "\C-c\C-f" 'sgml-skip-tag-forward)

psgml-mode sets part of sgml-mode-map with
    (define-key sgml-mode-map "\C-c\C-f\C-e" 'sgml-fold-element)
    (define-key sgml-mode-map "\C-c\C-f\C-r" 'sgml-fold-region)
    (define-key sgml-mode-map "\C-c\C-f\C-s" 'sgml-fold-subelement)
    (define-key sgml-mode-map "\C-c\C-f\C-x" 'sgml-expand-element)


These clash when something like the following is in files that
get loaded.

(require 'sgml-mode)
(require 'psgml)

The error is:

   "Key sequence C-c C-f C-e uses invalid prefix characters"

brought about by C-c C-f being a keystroke in sqml-mode while
being defined as a prefix key in psgml-mode.

The actual sequence of loading for me is

(require 'xml-lite)
(require 'xae)

xml-lite requires sgml-mode, xaes require psgml.

So, it seems that the culprit is psgml since it didn't check with
sgml keymap before defining new keys, but I'm not sure...  

-- 
Galen Boyer

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-02-07 17:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-15 21:03 Who's at fault with the key-map issues? Galen Boyer
2002-11-16 18:56 ` Kai Großjohann
2002-11-17  1:10   ` Galen Boyer
2002-11-17 16:33     ` Kai Großjohann
2003-02-07 16:28     ` emacs a file on a different machine Prabhat Acharya
2003-02-07 17:25       ` Kai Großjohann

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.