Ok, thank you.
Do you plan to correct this for the fix2 release ?
YC
> Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
> X-No-Archive: yes
> List-Post: <mailto:[EMAIL PROTECTED]>
> List-Help: <mailto:[EMAIL PROTECTED]>
> List-Unsubscribe:
<mailto:[EMAIL PROTECTED]>
> Delivered-To: mailing list [EMAIL PROTECTED]
> To: Yann Collete <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Subject: Re: Meta Key
> From: Jean-Marc Lasgouttes <[EMAIL PROTECTED]>
> Date: 13 Apr 2001 11:48:50 +0200
>
> >>>>> "Yann" == Yann Collete <[EMAIL PROTECTED]> writes:
>
> Yann> Hello, I've a problem with the Meta key. I use an Unix Emulator
> Yann> (Exceed) and a french keyboard. For this keyboard, the meta key
> Yann> is binded to the escape key (it works fine under xemacs). Under
> Yann> Lyx, I use the emacs binding (which redefine the meta key as the
> Yann> escape key). It works fine (I can insert an equation using Esc-m
> Yann> m). But when I am under math editor, if I want to insert an
> Yann> exponent (Esc-m e) or an index (Esc-m i), when I press the Esc
> Yann> key, I leave the math editor. So, I think the binding (Meta =
> Yann> Esc) is not working under the math editor. How can I do to have
> Yann> the meta binding working correctly under the math editor ?
>
> Unfortunately, the locking insets (like math) explicitely exit on
> escape (which is a very bad idea IMO). You can try to remove this
> "feature" by commenting out the following code (around line 176 if
> src/lyxfunc.C):
>
> if (owner->view()->available()) {
> // this function should be used always [asierra060396]
> UpdatableInset * tli = owner->view()->theLockingInset();
> if (tli && (keysym == XK_Escape)) {
> if (tli == tli->GetLockingInset()) {
> owner->view()->unlockInset(tli);
>
owner->view()->text->CursorRight(owner->view());
> moveCursorUpdate(false);
> owner->showState();
> } else {
> tli->UnlockInsetInInset(owner->view(),
>
tli->GetLockingInset(),tr
> ue);
> }
> //return 0;
> return FL_PREEMPT;
> }
> }
>
>
> JMarc