Re: Not all bindings are defined in cfg_ioncore.lua

Ted Zlatanov <tzz-mIZUurteI1BWk0Htik3J/[email protected]>
Newsgroups gmane.comp.window-managers.ion.general
Organization Теодор Златанов @ Cienfuegos
Message-ID <[email protected]>
On Thu, 2 Aug 2007 16:28:59 -0400 Etan Reisner <[email protected]> wrote: 

ER> On Thu, Aug 02, 2007 at 04:33:25PM -0400, Ted Zlatanov wrote:
ER> <snip>
>> I'd just like to point out that this is exactly why the Ion
>> configuration should not be in Lua and subject to change any time an
>> update comes down IMO.
>> 
>> Something like this:
>> 
>> META.."S" = split_here_horizontal
>> META.."V" = split_here_vertical
>> 
>> Is all 99% of end users need.  Wouldn't this be easier for everyone?
>> Maybe it could be a module...

ER> You could certainly write a simplified binding script to translated from
ER> 'known' keywords to the right functions, but that just moves where the
ER> translation has to happen and if upstream changes the known name you
ER> have the same difficulty. You would of course argue that the known names
ER> shouldn't change but they are just an API, and APIs are only frozen when
ER> it is reasonable to do so, the ion API or the known names API would both
ER> change when needed.

Do you really think that a user would rather edit Lua when a new release
comes down than the format I showed?  I've worked with many users and
editing code is very low on their TODO list.

The *basic* Ion operations haven't changed much since Ion3 was
released.  I've had to rewrite my Lua config several times, though,
because of small changes to the objects.

Anyhow, it's a moot point if Tuomo disagrees, and he has in the past :)

Ted
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.