texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Texmacs-dev] bug: kbd-map and menu-bind take no effect


From: zohooo
Subject: [Texmacs-dev] bug: kbd-map and menu-bind take no effect
Date: Tue, 29 Jun 2010 21:33:16 +0800 (CST)

Hi developers, I use the latest TeXmacs 1.0.7.4 and found some macros in my-init-texmacs.scm take no effect.
the my-init-texmacs.scm file is like this:

(kbd-map
    ("M-F2" (clipboard-clear "primary"))
    ("C-y"  (redo 0))
)

(kbd-remove "F2")

(menu-bind file-menu
    ("New" (new-buffer))
    ("Open"  (load-buffer))
)

The results are as following:

For kbd-map, "M-F2" takes no effect but "C-y" takes effect. The only difference between these two key shortcuts is that, the first one was mapped in init-texmacs.scm file but the second one not mapped. But when I input these commands in TeXmacs' Scheme session, both of them works.

For menu-bind, It also takes no effect but still works when input in TeXmacs' Scheme session.

For kbd-remove, maybe I wrote the wrong parameters, I managed to make it works but failed.

Is this a bug in TeXmacs or because I made some mistakes?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]