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

* 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

* Re: Who's at fault with the key-map issues?
  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
  1 sibling, 0 replies; 6+ messages in thread
From: Kai Großjohann @ 2002-11-17 16:33 UTC (permalink / raw)


Galen Boyer <galenboyer@hotpop.com> writes:

> I thought this as well.
>
> I'll change my local copy and contact the authors.

I think the authors might appreciate a patch ;-)

kai
-- 
~/.signature is: umop ap!sdn    (Frank Nobis)

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

* emacs a file on a different machine
  2002-11-17  1:10   ` Galen Boyer
  2002-11-17 16:33     ` Kai Großjohann
@ 2003-02-07 16:28     ` Prabhat Acharya
  2003-02-07 17:25       ` Kai Großjohann
  1 sibling, 1 reply; 6+ messages in thread
From: Prabhat Acharya @ 2003-02-07 16:28 UTC (permalink / raw)



Hello:

We have several computers not on NFS.  However, we can rlogin, rcp
etc.  How do I run emacs on machine 1 and edit a file on machine 2,
given that I can rlogin and rcp (because the rhost file is properly
set)?  But note that I dont have NFS.  Thanks a lot.  BTW, I have
bash on both machines running Linux.

Sincerely, Prabhat Acharya

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

* Re: emacs a file on a different machine
  2003-02-07 16:28     ` emacs a file on a different machine Prabhat Acharya
@ 2003-02-07 17:25       ` Kai Großjohann
  0 siblings, 0 replies; 6+ messages in thread
From: Kai Großjohann @ 2003-02-07 17:25 UTC (permalink / raw)


Prabhat Acharya <prab@spectral.com> writes:

> We have several computers not on NFS.  However, we can rlogin, rcp
> etc.  How do I run emacs on machine 1 and edit a file on machine 2,
> given that I can rlogin and rcp (because the rhost file is properly
> set)?  But note that I dont have NFS.  Thanks a lot.  BTW, I have
> bash on both machines running Linux.

There is the Tramp package which can do this.  (Warning: I've started
the whole thing.)

http://savannah.gnu.org/projects/tramp

I hope that's the right URL.
-- 
A turnip curses Elvis

^ 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.