From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Galen Boyer Newsgroups: gmane.emacs.help Subject: Who's at fault with the key-map issues? Date: 15 Nov 2002 15:03:11 -0600 Sender: help-gnu-emacs-admin@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1037395445 15200 80.91.224.249 (15 Nov 2002 21:24:05 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 15 Nov 2002 21:24:05 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18CnwZ-0003x1-00 for ; Fri, 15 Nov 2002 22:24:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18CnxF-0007g3-00; Fri, 15 Nov 2002 16:24:45 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!newsfeed.mathworks.com!cyclone.swbell.net!newsfeed1.easynews.com!easynews.com!easynews!novia!newscene.com!newscene!newscene!novia!novia!sequencer.newscene.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 35 Original-Sender: galenboyer@hotpop.com User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-Xref: shelby.stanford.edu gnu.emacs.help:107102 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:3652 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3652 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