unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* mixing keymaps
@ 2013-10-16  6:28 Rustom Mody
  2013-10-16 12:37 ` Stefan Monnier
  0 siblings, 1 reply; 5+ messages in thread
From: Rustom Mody @ 2013-10-16  6:28 UTC (permalink / raw)
  To: emacs-devel

How do you mix 2 keymaps?

[I am looking at the scheme modes and trying to make an equivalent
pair of apl modes]

So there is a scheme mode map and an inferior-scheme-mode map.
Conceptually the inferior map needs to have the scheme-mode-map and
the comint-maps 'mixed-in'
How is that done?

Rusi
-- 
http://www.the-magus.in
http://blog.languager.org



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

* Re: mixing keymaps
  2013-10-16  6:28 mixing keymaps Rustom Mody
@ 2013-10-16 12:37 ` Stefan Monnier
  2013-10-16 13:03   ` Leo Liu
  2013-10-16 16:45   ` Rustom Mody
  0 siblings, 2 replies; 5+ messages in thread
From: Stefan Monnier @ 2013-10-16 12:37 UTC (permalink / raw)
  To: Rustom Mody; +Cc: emacs-devel

> How do you mix 2 keymaps?

make-composed-keymap?


        Stefan



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

* Re: mixing keymaps
  2013-10-16 12:37 ` Stefan Monnier
@ 2013-10-16 13:03   ` Leo Liu
  2013-10-16 16:45   ` Rustom Mody
  1 sibling, 0 replies; 5+ messages in thread
From: Leo Liu @ 2013-10-16 13:03 UTC (permalink / raw)
  To: emacs-devel

On 2013-10-16 20:37 +0800, Stefan Monnier wrote:
> make-composed-keymap?
>
>
>         Stefan

Just Curious. Should this be named make-composite-keymaps?

Leo




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

* Re: mixing keymaps
  2013-10-16 12:37 ` Stefan Monnier
  2013-10-16 13:03   ` Leo Liu
@ 2013-10-16 16:45   ` Rustom Mody
  2013-10-16 18:16     ` Rustom Mody
  1 sibling, 1 reply; 5+ messages in thread
From: Rustom Mody @ 2013-10-16 16:45 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel

On Wed, Oct 16, 2013 at 6:07 PM, Stefan Monnier
<monnier@iro.umontreal.ca> wrote:
>> How do you mix 2 keymaps?
>
> make-composed-keymap?

A strange thing...
I saw that this is not there in my 23.4
Seems to be there in 24
Last I knew there was no 24 in debian (and I was avoiding a hand install)
Now I find emacs24 in debian (Yay!)
Installed...
Its still not there?!?!
[Emacs 24.3.1 is what emacs-version shows]



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

* Re: mixing keymaps
  2013-10-16 16:45   ` Rustom Mody
@ 2013-10-16 18:16     ` Rustom Mody
  0 siblings, 0 replies; 5+ messages in thread
From: Rustom Mody @ 2013-10-16 18:16 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel

On Wed, Oct 16, 2013 at 10:15 PM, Rustom Mody <rustompmody@gmail.com> wrote:
> On Wed, Oct 16, 2013 at 6:07 PM, Stefan Monnier
> <monnier@iro.umontreal.ca> wrote:
>>> How do you mix 2 keymaps?
>>
>> make-composed-keymap?
>
> A strange thing...
> I saw that this is not there in my 23.4
> Seems to be there in 24
> Last I knew there was no 24 in debian (and I was avoiding a hand install)
> Now I find emacs24 in debian (Yay!)
> Installed...
> Its still not there?!?!
> [Emacs 24.3.1 is what emacs-version shows]

Ok sorted out -- Some debris of an old  hand-installed 24.0 lying
around that confused info. [Which is why I dont like to hand-install]



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

end of thread, other threads:[~2013-10-16 18:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-16  6:28 mixing keymaps Rustom Mody
2013-10-16 12:37 ` Stefan Monnier
2013-10-16 13:03   ` Leo Liu
2013-10-16 16:45   ` Rustom Mody
2013-10-16 18:16     ` Rustom Mody

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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