mailing-list for TeXmacs Users

Text archives Help


two questions about my-texmacs.init.scm


Chronological Thread 
  • From: "Kostas Oikonomou" <address@hidden>
  • To: TeXmacs <address@hidden>
  • Subject: two questions about my-texmacs.init.scm
  • Date: Thu, 11 Nov 2004 08:18:40 -0500

Hi,

I'm trying to do two things in my-texmacs.init.scm:

1) I want to add two key bindings to the emacs keyboard. So I have a file
~/.TeXmacs/progs/keyboard/ko-kbd.scm that contains

(texmacs-module (keyboard ko-kbd)
(kbd-map
("emacs:contextual l" (make 'label))
("emacs:contextual r" (make 'reference))
))

And ~/.TeXmacs/progs/my-init.texmacs.scm is

(display "Reading my-init-texmacs.scm...\n")
(lazy-in-mode (keyboard ko-kbd) always?)

The ko-kbd file gets loaded because I see the "Reading ..." message. But the
keys do
not get defined. Based on my experience with GNU Emacs, I suspect that
adding to
a keymap is not as easy as the ko-kbd.scm file makes it be :-).
Any hints would be appreciated.


2) I stored a modified version of a plugin in ~/.TeXmacs/plugins.
How do I make my-texmacs-init.scm read that version and use in place
of the system version?

Kostas



Archive powered by MHonArc 2.6.19.

Top of page