mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] Space vs enter


Chronological Thread 
  • From: Bas Spitters <address@hidden>
  • To: address@hidden
  • Cc: Joris van der Hoeven <address@hidden>
  • Subject: Re: [TeXmacs] Space vs enter
  • Date: Tue, 24 Oct 2006 22:08:17 +0200

On Monday 23 October 2006 09:47, Joris van der Hoeven wrote:
> On Mon, Oct 23, 2006 at 09:26:51AM +0200, Bas Spitters wrote:
> > On Sunday 22 October 2006 23:15, Joris van der Hoeven wrote:
> > > On Sun, Oct 22, 2006 at 10:35:00AM +0200, spitters wrote:
> > > > I often find myself typing \forall<space> instead of \forall<enter>.
> > > > Would it be possible to make texmacs recognize the first variant too?
> > > > I.e. to activate a command by <space> too, not only by <enter>.
> Well, the *-kbd.scm files. You may also do a grep for "space" and/or
> "return".

I now have:
(kbd-map
("space" (if (inside? 'hybrid) (kbd-return) (insert " ")))
)

in my-init-texmacs.scm
Which does what I want!

However, I had to manually remove:
("space" " ")
From:
/usr/share/texmacs/TeXmacs/progs/math/math-kbd.scm
and
/usr/share/texmacs/TeXmacs/progs/generic/generic-kbd.scm

Which I think is strange. Shouldn't the user defined keyboard maps override
the system wide ones?

Thanks again for your help.

Bas



Archive powered by MHonArc 2.6.19.

Top of page