weechat-dev
[Top][All Lists]
Advanced

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

[Weechat-dev] [task #10732] access windows consistently with M-[0-9]{1,


From: Cedric
Subject: [Weechat-dev] [task #10732] access windows consistently with M-[0-9]{1, } timed-out digit sequence
Date: Sat, 30 Oct 2010 17:52:53 +0000
User-agent: Opera/9.80 (X11; Linux i686; U; en) Presto/2.6.30 Version/10.63

URL:
  <http://savannah.nongnu.org/task/?10732>

                 Summary: access windows consistently with M-[0-9]{1,}
timed-out digit sequence
                 Project: WeeChat
            Submitted by: manday
            Submitted on: Sat 30 Oct 2010 05:52:53 PM GMT
                Category: commands
         Should Start On: Sat 30 Oct 2010 12:00:00 AM GMT
   Should be Finished on: Sat 30 Oct 2010 12:00:00 AM GMT
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
                IRC nick: 

    _______________________________________________________

Details:

This proposal aims to provide an intutive, consistent and quick access to
windows of number 11 and greater - so far accessed through the M-j [0-9]{2}
key sequence.

Instead of prodiving distinct command sequences for windows of a different
amount of digits the sequence M-[0-9]{1,} should suffice to address all
windows from 1 through infinity.

The key idea is that a sequence of digits typed in a rapid fashion (with the
Alt-Key [constantly]* pressed down) is interpreted as the one number of the
window to go to.

Rapid fashion is defined as the following:
The key sequence is considered continued in a rapid fashion until two
successive keystrokes are found to be not two digits pressed less than x
milliseconds apart. Subsequently, setting x, which should be made an option to
0, will disable the feature completely.

Example usage (assuming it does not matter whether Alt is held constantly
while typing the sequence or released between subsequent keystrokes, see
footnote*):

Alt-23, 2 and 3 typed quickly after eachother while Alt is held, eventually
takes you to buffer 23 but will temporarily take you to buffer 2 on the
instant that 2 is pressed.
Alt-2 Alt-3 typed slowly after eachtoher take you to buffer 2 and then to
buffer 3.
Alt-3 Alt-3 typed quickly after eachother takes you to buffer 3 and back (or
the other way arround, if you are already in 3).


* Footnote: If it is possible to implement that releasing the Alt-Key while
typing breaks the sequence, that should be done.




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?10732>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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