unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* conflict of kex-bindings of different modes?
@ 2003-09-07 10:35 David Andel
  2003-09-10 14:41 ` Kai Grossjohann
  0 siblings, 1 reply; 4+ messages in thread
From: David Andel @ 2003-09-07 10:35 UTC (permalink / raw)


Hi

When running emacs-wiki mode 'C-c C-S-d' should do 
'emacs-wiki-delete-link-at-point' but it doesn't do anything. The command 
itself works though, so it's just the key-binding which doesn't.

What can I do about this?

Thanks,
David

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

* Re: conflict of kex-bindings of different modes?
  2003-09-07 10:35 conflict of kex-bindings of different modes? David Andel
@ 2003-09-10 14:41 ` Kai Grossjohann
  2003-09-29  0:36   ` David Andel
  0 siblings, 1 reply; 4+ messages in thread
From: Kai Grossjohann @ 2003-09-10 14:41 UTC (permalink / raw)


David Andel <david.andel@swissonline.ch> wrote in message news:<3f5b09ec@news.swissonline.ch>...

> When running emacs-wiki mode 'C-c C-S-d' should do 
> 'emacs-wiki-delete-link-at-point' but it doesn't do anything. The command 
> itself works though, so it's just the key-binding which doesn't.

Well, I don't use emacs-wiki, but maybe C-h w tells you another key to
press?  And C-h k can tell you what the key sequence does.  C-h b
gives a list of bindings.

Does this help?

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

* Re: conflict of kex-bindings of different modes?
  2003-09-10 14:41 ` Kai Grossjohann
@ 2003-09-29  0:36   ` David Andel
  2003-10-16 20:41     ` Kai Grossjohann
  0 siblings, 1 reply; 4+ messages in thread
From: David Andel @ 2003-09-29  0:36 UTC (permalink / raw)


Kai.Grossjohann@gmx.net (Kai Grossjohann) wrote in message news:<e808b168.0309100641.11a38e1c@posting.google.com>...
> David Andel <david.andel@swissonline.ch> wrote in message news:<3f5b09ec@news.swissonline.ch>...
> 
> > When running emacs-wiki mode 'C-c C-S-d' should do 
> > 'emacs-wiki-delete-link-at-point' but it doesn't do anything. The command 
> > itself works though, so it's just the key-binding which doesn't.
> 
> Well, I don't use emacs-wiki, but maybe C-h w tells you another key to
> press?  And C-h k can tell you what the key sequence does.  C-h b
> gives a list of bindings.
> 
> Does this help?

Thanks for the tips.

C-h w gives "emacs-wiki-delete-link-at-point is on C-c C-S-d"
C-h k and pressing C-c C-S-d gives "C-c C-d is undefined"

It seems not possible to get a "C-D". Shift is just being ignored when
pressed together with Ctrl.

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

* Re: conflict of kex-bindings of different modes?
  2003-09-29  0:36   ` David Andel
@ 2003-10-16 20:41     ` Kai Grossjohann
  0 siblings, 0 replies; 4+ messages in thread
From: Kai Grossjohann @ 2003-10-16 20:41 UTC (permalink / raw)


david.andel@swissonline.ch (David Andel) writes:

> C-h w gives "emacs-wiki-delete-link-at-point is on C-c C-S-d"
> C-h k and pressing C-c C-S-d gives "C-c C-d is undefined"

Current theory: there is a bug in the *.el file with binding that
key.

For example, I just did

        M-: (global-set-key [C-a C-b] 'foo) RET

And now C-h C-b prints

        <C-a> <C-b>	foo

Here, you can see that it is interpreting the keys as a sequence of
funnily-named function keys.  (You can see from the <...>.)

But in older versions of Emacs, you would have seen

        C-c C-b         foo

instead, and would've been none the wiser.

The correct Lisp would have been:

    M-: (global-set-key [?\C-a ?\C-b] 'foo) RET

Can you look in the *.el file to see how it is defining the keys?

Kai

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

end of thread, other threads:[~2003-10-16 20:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-07 10:35 conflict of kex-bindings of different modes? David Andel
2003-09-10 14:41 ` Kai Grossjohann
2003-09-29  0:36   ` David Andel
2003-10-16 20:41     ` Kai Grossjohann

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