* 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
* Re: Who's at fault with the key-map issues?
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
0 siblings, 1 reply; 6+ messages in thread
From: Kai Großjohann @ 2002-11-16 18:56 UTC (permalink / raw)
Galen Boyer <galenboyer@hotpop.com> writes:
> 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.
The solution, I think, is to change psgml to use symbol names
psgml-foo instead of sgml-foo.
kai
--
~/.signature is: umop ap!sdn (Frank Nobis)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Who's at fault with the key-map issues?
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
0 siblings, 2 replies; 6+ messages in thread
From: Galen Boyer @ 2002-11-17 1:10 UTC (permalink / raw)
On Sat, 16 Nov 2002, kai.grossjohann@uni-duisburg.de wrote:
> Galen Boyer <galenboyer@hotpop.com> writes:
>
>> 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.
>
> The solution, I think, is to change psgml to use symbol names
> psgml-foo instead of sgml-foo.
I thought this as well.
I'll change my local copy and contact the authors.
--
Galen deForest Boyer
Sweet dreams and flying machines in pieces on the ground.
^ 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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).