ratpoison-devel
[Top][All Lists]
Advanced

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

Re: [RP] new fdump structure may affect scripts


From: Kevin Geiss
Subject: Re: [RP] new fdump structure may affect scripts
Date: Tue Nov 23 19:38:10 2004

so for a concrete example, say I had this silly, contrived ratpoison frame set up:

0 0 0 1152 788 10485774 30,1 0 788 1152 76 14680069 14,

under the new scheme it would be like this?

(frame :number 0 :x 0 :y 0 :width 1152 :height 788 :window 10485774 :last-access 30) (frame :number 1 :x 0 :y 788 :width 1152 :height 76 :window 14680069 :last-access 14)

On Nov 19, 2004, at 4:12 PM, Shawn Betts wrote:

Hi folks,

I changed the fdump format from a list of numbers to an sexpr:

(frame :number 1 :x 2 :y 3 :width 5 :height 6 :window 24595 :last-access 5 :dedicated 1)

This makes it more humanly readable. And it allows new slots to be
added without extra parsing (if you've written a smart parser). Plus
you can drop slots you're not interested in:

(frame :number 1 :x 2 :y 3 :width 5 :height 6 :last-access 5)

and it still works.

Comments?

-Shawn


-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
Ratpoison-devel mailing list
address@hidden
https://lists.sourceforge.net/lists/listinfo/ratpoison-devel





reply via email to

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