There are a lot of formats you can use, like the ``ini-file`` vocabulary
(or even ``msgpack``, ``txon``, ``yaml``, etc.), but a simpler way to get
it working might be to use the ``serialize`` vocabulary and just store and
load Factor objects using ``object>bytes`` and ``bytes>object``.  One
downside might be if you change the object being stored your old files
might not be compatible, but I would think thats not so much an issue here.



On Thu, May 19, 2016 at 4:53 AM, Alexander Ilin <ajs...@yandex.ru> wrote:

> Thank you, John!
>
> Is there a preferred way of automatically storing configuration files for
> Factor?
> I know about the .rc-files, but those seem to be user-editable rather than
> automatically overwritable. I need something more like traditional
> ini-files to store the pref-dims for the worlds.
>
> 19.05.2016, 01:19, "John Benediktsson" <mrj...@gmail.com>:
>
>
> The worlds are stored in the `ui-windows` variable, I believe as the
> values.
>
> On May 18, 2016, at 3:00 PM, Alexander Ilin <ajs...@yandex.ru> wrote:
>
>
> Hi, John!
>
> Is there a list of worlds I could iterate over?
> Or, if there is only one Listener, how do I get its gadget reference to
> call find-world for it?
>
> 16.05.2016, 19:14, "John Benediktsson" <mrj...@gmail.com>:
>
> Not that I'm aware of, but it wouldn't be that hard to use the
> ``window-loc`` property in ``world`` for each window to save/restore at
> appropriate points.  You might run into difficulty with a key, although
> using the ``title`` of the world would probably be good enough.
>
> On Sun, May 15, 2016 at 1:29 AM, Alexander Ilin <ajs...@yandex.ru> wrote:
>
> Hello!
>
>   Is there a vocab for Factor Listener to retain its main window position
> between runs? Store it in a config file or something?
>
>
> ---=====---
> Александр
>
>
>
> ------------------------------------------------------------------------------
> Mobile security can be enabling, not merely restricting. Employees who
> bring their own devices (BYOD) to work are irked by the imposition of MDM
> restrictions. Mobile Device Manager Plus allows you to control only the
> apps on BYO-devices by containerizing them, leaving personal data
> untouched!
> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
>
> _______________________________________________
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
> ,
>
>
> ------------------------------------------------------------------------------
> Mobile security can be enabling, not merely restricting. Employees who
> bring their own devices (BYOD) to work are irked by the imposition of MDM
> restrictions. Mobile Device Manager Plus allows you to control only the
> apps on BYO-devices by containerizing them, leaving personal data
> untouched!
> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
> ,
>
> _______________________________________________
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
>
>
> ---=====---
> Александр
>
>
>
> ------------------------------------------------------------------------------
> Mobile security can be enabling, not merely restricting. Employees who
> bring their own devices (BYOD) to work are irked by the imposition of MDM
> restrictions. Mobile Device Manager Plus allows you to control only the
> apps on BYO-devices by containerizing them, leaving personal data
> untouched!
> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
> _______________________________________________
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
>
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to