Package: ion3
Version: 20060524-1
Severity: wishlist


Hi, 

I'm not sure how many people are actually using the ALTMETA option (I just got
tired of doing a META-k;q;FunctionKey all the time), but I feel as though the
implementation might be improved upon.  If you feel my idea is simply a matter
of style and not really an true improvement, please feel free to close this
bugreport.  Although, I'll try to make an argument for why I think my
suggestion is helpful in the general case. 

The problem I have is that I would like to reserve one modifying key to handle
as much Ion3 functionality as possible.  Without using ALTMETA, META is this
"ion3-specific" modifying key.  With using ALTMETA, though, I find myself
having to remember that for the function keys, I need a different modifying
key, except when I want to do what was META-FunctionKey before.  Ultimately,
I'm toggling between ALTMETA and META in a way that just doesn't keep my
modifying keys well organized.  With all the hot keys I work with, this can get
pretty messy rather fast.

What I propose is a subtle augmentation to the current implementation.
Somewhere after cfg_debian.lua is called, I define two functions:

    functionMeta = 
      function () 
        if ALTMETA == "" 
          then return META 
          else return ALTMETA 
        end 
      end

    functionAltMeta = 
      function () 
        if ALTMETA == "" 
          then return ALTMETA 
          else return META 
        end 
      end

Then I implement the following sed commands on any scripts that currently use
ALTMETA:

    /ALTMETA\.\."F[^"]/s/ALTMETA/functionAltMeta\(\)/ 
    /META\.\."F[^"]/s/META/functionMeta\(\)/ 

By switching ALTMETA with META when ALTMETA isn't the empty string, I make META
my primary modifying key for Ion3, using ALTMETA for just the lesser common
Ion3 function key assignments.

I hope you find this explanation convincing.  If so, I hope I've provided
enough information to make the task of rolling this change into your package
trivial.  I've tested these changed on my laptop and they seem to work fine
here.  Feel free to correspond further about this idea in case there's
something that needs more working through.

Regards,
Sukant Hajra


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (90, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.16-hole
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages ion3 depends on:
ii  libc6                     2.3.6-7        GNU C Library: Shared libraries
ii  libice6                   6.9.0.dfsg.1-6 Inter-Client Exchange library
ii  liblua5.1-0               5.1-1          Simple, extensible, embeddable pro
ii  libsm6                    1:1.0.0-4      X11 Session Management library
ii  libx11-6                  2:1.0.0-6      X11 client-side library
ii  libxext6                  1:1.0.0-4      X11 miscellaneous extension librar
ii  libxinerama1              1:1.0.1-4      X11 Xinerama extension library

Versions of packages ion3 recommends:
ii  xfonts-100dpi                 1:1.0.0-2  100 dpi fonts for X
ii  xfonts-75dpi                  1:1.0.0-2  100 dpi fonts for X

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to