bugGNU TeXmacs - Bugs: bug #1791, multiple escape modifier only does...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #1791: multiple escape modifier only does meta

Submitted by:  David Allouche <ddaa>
Submitted on:  Sun 24 Nov 2002 11:26:00 AM UTC  
 
Category: User InterfacePriority: 1 - Later
Item Group: ErrorStatus: None
Privacy: PublicAssigned to: None
Originator Name: Open/Closed: Closed
Release: 1.0.0.22Release: None
Fixed Release: NoneFixed Release: 
Keywords: escape meta hyper alt

(Jump to the original submission Jump to the original submission)

Wed 01 Mar 2017 11:07:53 PM UTC, comment #6:

As of today in linux and windows multiple esc work as expected, independently of numlock and capslock.

Philippe Joyez <pjoyez>
Project Member
Thu 06 Sep 2012 04:39:47 PM UTC, comment #5:

Hello users with a numlock: Is this bug current?

Miguel de Benito <mdbenito>
Project Member
Thu 19 Jun 2003 05:32:21 PM UTC, comment #4:

This problem and the variant problem can be fixed by simplifying the modifiers of the pressed key in edit_interface_rep::key_press using this function:

static string
rewrite_modifiers (server_rep* sv, string key) {
string mod;
while ((N(key) >= 5) && (key(0,3) == "Mod") && (key[4] == '-') &&
(key[3] >= '1') && (key[3] <= '5')) {
mod= mod * sv->kbd_post_rewrite(key(0,5));
key= key (5, N(key));
}
key= mod * key;
if (key == "space") key= " ";
return key;
}

The intention is to remove ignored modifiers. Also, the existing code somehow handles the first key of a keychord differently from the other key. Since I cannot really make sense of this code, I hode this will fix all related assymmetries.

This does not solve the CapsLock problem (which is deeper).

David Allouche <ddaa>
Project Administrator
Thu 19 Jun 2003 02:49:28 PM UTC, comment #3:

This problems only appears when the NumLock (mapped to mod2 here) is active. It seems that "mod2-esc" is not recognized as a regular "esc".

Of course the same problem happens when CapsLock is active.

Also, having NumLock active prevents correct functioning of the variants shortcut system.

David Allouche <ddaa>
Project Administrator
Thu 13 Feb 2003 04:38:59 PM UTC, comment #2:

Since the problem seems not to happen everywhere, Dropping severity to 1.

David Allouche <ddaa>
Project Administrator
Sun 29 Dec 2002 06:07:08 PM UTC, comment #1:

On my system (Debian sid, XFree86 4.2.1, TeXmacs 1.0.1)
it seems to work as it should:

1. ESC -> M-
2. ESC -> A-
3. ESC -> switch to emphasize (I don't know whether this is ok)

ESC ESC ESC a in math mode gives me an <alpha>

Ralf Treinen <treinen>
Project Member
Sun 24 Nov 2002 11:26:00 AM UTC, original submission:

On my system (Debian, XFree86-4.2.1) pressing escape multiple times does not give access to different modifiers.

Pressing ESC make "M-" appear in the status bar (fine), but subsequent presses only make appear "M-". When another key is pressed it behave in accordance to the footer. For example "ESC ESC A" creates a tree (M-a) instead of an abbrev (A-a).

Also, pressing "ESC ESC ESC a" in math mode inserts "a" and not "<alpha>".

David Allouche <ddaa>
Project Administrator

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by pjoyez (Posted a comment)
  • -unavailable- added by mdbenito (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 01 Mar 2017 11:07:53 PM UTCpjoyezOpen/ClosedAccepted=>Closed
    Thu 13 Feb 2003 04:38:59 PM UTCddaaSeverity3 - Normal=>(Error - Not Found)
      Open/ClosedOpen=>(Error - Not Found)
      Release1.0.0.22=>(Error - Not Found)
      Release=>

    Back to the top


    Powered by Savane 3.1-cleanup1