autosave interval refuses to be set to 30s

48 views
Skip to first unread message

Terrence Brannon

unread,
Dec 11, 2019, 1:35:02 PM12/11/19
to leo-editor
I would appreciate some feedback as to why this myLeoSettings.leo file located in HOME/.leo is not changing the autosave interval to 30

<?xml version="1.0" encoding="utf-8"?>
<!-- Created by Leo: http://leoeditor.com/leo_toc.html -->
<leo_header file_format="2"/>
<globals/>
<preferences/>
<find_panel_settings/>
<vnodes>
<v t="metaperl.20191211095310.1"><vh>Settings README</vh></v>
<v t="metaperl.20191211095311.205"><vh>@settings</vh>
<v t="metaperl.20191211095311.206"><vh>@enabled-plugins</vh></v>
<v t="metaperl.20191211095311.207"><vh>@keys</vh>
<v t="metaperl.20191211095311.208"><vh>@shortcuts</vh></v>
</v>
<v t="metaperl.20191211095357.1"><vh>autosave</vh></v>
</v>
</vnodes>
<tnodes>
<t tx="metaperl.20191211095310.1">myLeoSettings.leo personal settings file created Wed Dec 11 09:53:11 2019

Only nodes that are descendants of the @settings node are read.

Only settings you need to modify should be in this file, do
not copy large parts of leoSettings.py here.

For more information see http://leoeditor.com/customizing.html</t>
<t tx="metaperl.20191211095311.205"></t>
<t tx="metaperl.20191211095311.206"># Leo loads plugins in the order they appear here.

# This node *MUST* be a child of the @settings node to take effect.

# **Important**: to change these defaults, put
# an @enabled-plugins node in myLeoSettings.leo.

# Highly-recommended plugins:

plugins_menu.py
free_layout.py
    # Now loaded automatically.
    # But it's useful to have a free_layout menu in the Plugins menu.

# Recommended plugins:

contextmenu.py
    # This is required by the vim.py and xemacs.py plugins.
leo_to_html.py
mod_scripting.py
nav_qt.py
nodetags.py
quicksearch.py
screen_capture.py
settings_finder.py
stickynotes.py
todo.py
viewrendered.py

# Alphabetical list of all Leo plugins.

# Note: This list may be out of date. leo/plugins contains all official plugins.
# Note: Leo loads all qt_*.py files automatically when the qt gui is in effect.

# active_path.py
# add_directives.py
# at_folder.py
# at_produce.py
# at_view.py
# attrib_edit.py
# backlink.py
# bibtex.py
# bigdash.py
# bookmarks.py
# bzr_qcommands.py
# chapter_hoist.py
# colorize_headlines.py
# contextmenu.py
# ctagscompleter.py
# cursesGui.py
# datenodes.py
# debugger_pudb.py
# dragdropgoodies.py
# dtest.py
# dump_globals.py
# empty_leo_file.py
# enable_gc.py
# expfolder.py
# FileActions.py
# free_layout.py
    # loaded automatically
# ftp.py
# geotag.py
# gitarchive.py
# graphcanvas.py
# import_cisco_config.py
# initinclass.py
# interact.py
# jinjarender.py
# leo_interface.py
# leo_pdf.py
# leo_to_html.py
# leo_to_rtf.py
# leocursor.py
# leofeeds.py
# leomail.py
# leomylyn.py
# leoOPML.py
# leoremote.py
# leoscreen.py
# lineNumbers.py
# livecode.py
# macros.py
# markup_inline.py
# maximizeNewWindows.py
# mime.py
# mnplugins.py
mod_autosave.py
# mod_framesize.py
# mod_http.py
# mod_leo2ascd.py
# mod_read_dir_outline.py
# mod_scripting.py
# mod_speedups.py
# mod_tempfname.py
# mod_timestamp.py
# multifile.py
# nav_qt.py
# nested_splitter.py
    # loaded automatically.
# niceNosent.py
# nodeActions.py
# nodediff.py
# nodetags.py
# nodewatch.py
# notebook.py
# open_shell.py
# outline_export.py
# paste_as_headlines.py
# plugins_menu.py
# pretty_print.py
# projectwizard.py
# python_terminal.py
# QNCalendarWidget.py
# qt_quicksearch.py
# quickMove.py
# quicksearch.py
# quit_leo.py
# read_only_nodes.py
# redirect_to_log.py
# richtext.py
# rss.py
# rst3.py
# run_nodes.py
# screen_capture.py
# screencast.py
# screenshots.py
# script_io_to_body.py
# scripts_menu.py
# setHomeDirectory.py
# settings_finder.py
# sftp.py
# slideshow.py
# spydershell.py
# startfile.py
# stickynotes.py
# stickynotes_plus.py
# systray.py
# testRegisterCommand.py
# textnode.py
# todo.py
# tomboy_import.py
# trace_gc_plugin.py
# trace_keys.py
# trace_tags.py
# valuespace.py
# viewrendered.py
# viewrendered2.py
# vim.py
# wikiview.py
# word_count.py
# word_export.py
# xemacs.py
# xml_edit.py
# xsltWithNodes.py
# zenity_file_dialogs.py
</t>
<t tx="metaperl.20191211095311.207"></t>
<t tx="metaperl.20191211095311.208"># You can define keyboard shortcuts here of the form:
#
#    some-command Shift-F5
</t>
<t tx="metaperl.20191211095357.1">int mod_autosave_interval = 30

bool mod_autosave_active = True</t>
</tnodes>
</leo_file>

vitalije

unread,
Dec 11, 2019, 2:18:17 PM12/11/19
to leo-e...@googlegroups.com
You should insert two nodes under @settings node. In one of them change headline to @bool mod-autosave-active=True
and the headline of the other one change to @int mod-autosave-interval=30
Then save the file and close Leo. The next time you run Leo it should report in the Log pane that autosave is active and saving 30 seconds after any change.

You have put both of these settings in the body, which won't work, and also you have put this node outside of the @settings subtree. For any setting to be in effect it must be inside @settings subtree. One setting usually is one node and the type and name of the setting is determined by its headline. For simple types like bool, int, string the headline contains also value. Some other types of settings use body text or entire subtree of the node.

HTH Vitalije

Terrence-Monroe: Brannon

unread,
Jan 2, 2022, 11:47:40 PM1/2/22
to leo-editor
I am again having problems getting autosave to automatically save. This time in a new outline where I have placed the settings under the @settings node. Any help is appreciated:

<?xml version="1.0" encoding="utf-8"?>
<!-- Created by Leo: http://leoeditor.com/leo_toc.html -->
<leo_file xmlns:leo="http://leoeditor.com/namespaces/leo-python-editor/1.1" >
<leo_header file_format="2"/>
<globals/>
<preferences/>
<find_panel_settings/>
<vnodes>
<v t="metaperl.20220102161942.1"><vh>Startup</vh>
<v t="metaperl.20220102162253.1"><vh>@settings</vh>
<v t="metaperl.20220102162342.1"><vh>@bool mod-autosave-active=True</vh></v>
<v t="metaperl.20220102164759.1"><vh>@int mod-autosave-interval=30</vh></v>
</v>
</v>
<v t="metaperl.20191124091501.2"><vh>DIY Tanks</vh>
<v t="metaperl.20191128032627.1"><vh>Motivation</vh>
<v t="metaperl.20220102163527.1"><vh>Zenfloatco's Demise is a Word to the Wise</vh></v>
</v>
<v t="metaperl.20191124092807.1"><vh>Anatomy of an Isolation Tank</vh>
<v t="metaperl.20220102161504.1"><vh>Epsom Salt</vh>
<v t="metaperl.20220102161713.1"><vh>Acquiring</vh></v>
<v t="metaperl.20220102161744.1"><vh>Amount</vh></v>
</v>
<v t="metaperl.20220102161520.1"><vh>The Container</vh>
<v t="metaperl.20220102164057.1"><vh>The Tub</vh></v>
<v t="metaperl.20220102164108.1"><vh>The Top</vh></v>
</v>
<v t="metaperl.20220102161135.1"><vh>Water</vh>
<v t="metaperl.20220102161206.1"><vh>Filtration</vh></v>
<v t="metaperl.20220102161237.1"><vh>Height</vh></v>
<v t="metaperl.20220102161238.1"><vh>Temperature</vh>
<v t="metaperl.20220102161238.2"><vh>Controllling Temperature</vh>
<v t="metaperl.20220102161240.1"><vh>newHeadline</vh></v>
</v>
</v>
</v>
</v>
<v t="metaperl.20191124100336.1"><vh>Isolation Tank Models that are Built and Running</vh>
<v t="metaperl.20191124100440.1"><vh>Black Beauty</vh>
<v t="metaperl.20220102233653.1"><vh>On Passively Heating the Water</vh>
<v t="metaperl.20220102234111.1"><vh>The body radiates heat for the first 2 hours of a float</vh></v>
<v t="metaperl.20220102234151.1"><vh>No chance of electrocution</vh></v>
<v t="metaperl.20220102234206.1"><vh>No electromagnetic interference</vh></v>
<v t="metaperl.20220102234224.1"><vh>The water will only get as cold as the room</vh></v>
</v>
</v>
<v t="metaperl.20220102232823.1"><vh>Zen Float Co</vh></v>
</v>
<v t="metaperl.20220102164524.1"><vh>Setting up an Isolation Tank</vh>
<v t="metaperl.20191124092401.1"><vh>Room Temperature</vh></v>
<v t="metaperl.20220102164536.1"><vh>Dissolving salt in water...</vh></v>
</v>
<v t="metaperl.20191124091553.1"><vh>Resources</vh>
<v t="metaperl.20191124091639.1"><vh>Programmable feedback devices</vh></v>
<v t="metaperl.20191124091655.1"><vh>Space heaters</vh></v>
<v t="metaperl.20191124092010.1"><vh>Water heaters</vh></v>
</v>
</v>
</vnodes>
<tnodes>
<t tx="metaperl.20191124091501.2">@language md

# Welcome to Do-It-YourSelf Floatation Tanks (diytanks.com)

When it comes to getting in time in an isolation tank, you have a few choices:

* rent time at a commercial center
* buy a commercially available tank
* "build" your own tank

This website is devoted to those interested in "building" their own tank. I put the word "build" in quotes so that it does not scare anyone off. In some cases building a tank is no more involved than the assembly involved when you receive a commercial tank.

# A Bit of History

For a very, very long time, I wanted to create a website called "Dirt Cheap Tanks". About 5-10 years after the desire to create it, Zen Float Co broke onto the floatation tank scene with an isolation tank only costing $2,000. It was brilliantly engineered and made one question why you would buy a used Samadhi or Oasis

Well, now we know. And that should be a lesson to anyone who is thinking of buying a commercial product, even a low-cost one.


</t>
<t tx="metaperl.20191124091553.1">I've learned a lot about money, tax and law. More than the financial elite want anyone to know. It's all at my blog - http://www.MyMoneyMagick.com

</t>
<t tx="metaperl.20191124091639.1">Do you know the difference between Terrence-Monroe: Brannon and TERRENCE MONROE BRANNON? If not, you have not met your strawman.

Your strawman was born the same day you were, but the government did not tell you about it - https://www.youtube.com/watch?v=ME7K6P7hlko&amp;feature=emb_title
</t>
<t tx="metaperl.20191124091655.1">Please read my article:
http://mymoneymagick.com/tax/do-not-file-or-pay-income-tax/
</t>
<t tx="metaperl.20191124092010.1">Gold is the longest, strongest store of value on Planet Earth:
http://static.livingcosmos.org/www.financial-freedom-club.com/Karatbars-A-to-Z.html

But crypto gives fast high-yield gains. How to marry them? Read my blog to see:
http://mymoneymagick.com/gold/what-cryptocurrency-is-backed-by-gold-kbc-coin-is/


</t>
<t tx="metaperl.20191124092401.1">82 degrees Fahrenheit
</t>
<t tx="metaperl.20191124092807.1">vegan/vegetarian with a host of experimentation detailed at https://docs.google.com/spreadsheets/d/1fK1Xj4BbusslkcFqq3I7b-mD7A195gbisdO8Af0xKbk/edit?usp=sharing</t>
<t tx="metaperl.20191124100336.1">My life mission consists of inner work and outer work. The inner work is more important.
</t>
<t tx="metaperl.20191124100440.1">I developed the Black Beauty isolation tank. It requires little to no building expertise and can be put together quickly.

http://www.thedeepself.org/tank-plans/version-2b/

</t>
<t tx="metaperl.20191128032627.1">There are a few reasons to consider building your own tank instead of buying one.

The first and most important is so that you never have to worry about contacting someone else for spare parts.</t>
<t tx="metaperl.20220102161135.1"></t>
<t tx="metaperl.20220102161206.1"></t>
<t tx="metaperl.20220102161237.1">10-12 inches high.
</t>
<t tx="metaperl.20220102161238.1">92-93 degrees
</t>
<t tx="metaperl.20220102161238.2">Controlling Tempeat</t>
<t tx="metaperl.20220102161240.1"></t>
<t tx="metaperl.20220102161504.1">Originally tanks used table (?) salt, which had a tendency to burn quite a bit. One fine day, the good doctor thought: "hey how about Epsom Salt" and all apostles of floatation have followed suit from that day hence.

</t>
<t tx="metaperl.20220102161520.1"></t>
<t tx="metaperl.20220102161713.1"></t>
<t tx="metaperl.20220102161744.1">800 to 1000 pounds might be OK. You have to figure the amount of water and dimensions of the tank into it.
</t>
<t tx="metaperl.20220102161942.1"></t>
<t tx="metaperl.20220102162253.1"></t>
<t tx="metaperl.20220102162342.1"></t>
<t tx="metaperl.20220102163527.1">@language md

Zenfloatco was an innovator in the world of isolation tanks. The design was something the world had never seen - a tent. And then they went beyond the tent to create a one-piece tent that you could simply put down and inflate.

Well, that is the good side of things. But even so, they were a private company and they had their trade secrets. And with these demise of Zen Float Co, they closed down and did not provide any lifeline for their customer base. And then they tossed all the spare parts in a dumpster, leaving Zen Float Co tent owners high and dry.

</t>
<t tx="metaperl.20220102164057.1">Here we the the "tub" part of a floatation tank... the bottom part.

![](https://preview.redd.it/qx1i9ovdqs381.jpg?width=300&amp;format=pjpg&amp;auto=webp&amp;s=203c81aca9ad39747a082f5e330f5d8fd2fd1b2c)
</t>
<t tx="metaperl.20220102164108.1"></t>
<t tx="metaperl.20220102164524.1"></t>
<t tx="metaperl.20220102164536.1">Only one thing to say: get the water super hot, as hot as possible because [the salt will be hard to dissolve otherwise](https://www.reddit.com/r/FloatTank/comments/qinls4/comment/hin8g8u/?utm_source=share&amp;utm_medium=web2x&amp;context=3). I suggest 140 degrees Fahrenheit.
</t>
<t tx="metaperl.20220102164759.1"></t>
<t tx="metaperl.20220102232823.1">@language md

While the Zen Float Co tent is not a DIY tank, replacing the parts and keeping your's running after the company's demise is a do-it-yourself affair. Also, unearthing the components of this tent are instructive and allow us to find related, similar items for our own ventures.

This [thread](https://www.reddit.com/r/FloatTank/comments/qgtkv9/where_to_buy_replacement_pumpfilter_for_zen_float/) is a treasure trove of info about how to resurrect a Zen Float Tent.
</t>
<t tx="metaperl.20220102233653.1">@language md

Having an isolation tank that does not heat the water during the float was a controversial topic. However, would the fact that [a $20,000 commercial tank](https://www.i-sopod.com/) uses passive heating make it OK to do so?

Tim Strudwick is the CEO of i-so-pod tanks. He operates the world's largest float center. He spent many years floating and offering floats before developing the i-so-pod. There are many advantages to passively heating the water

&lt;toc&gt;&lt;/toc&gt;
</t>
<t tx="metaperl.20220102234111.1">
</t>
<t tx="metaperl.20220102234151.1"></t>
<t tx="metaperl.20220102234206.1"></t>
<t tx="metaperl.20220102234224.1"></t>
</tnodes>
</leo_file>

Edward K. Ream

unread,
Jan 4, 2022, 5:11:38 AM1/4/22
to leo-editor
On Sun, Jan 2, 2022 at 10:47 PM Terrence-Monroe: Brannon <thequie...@gmail.com> wrote:
I am again having problems getting autosave to automatically save. This time in a new outline where I have placed the settings under the @settings node. Any help is appreciated:

I don't see an @enabled-plugins node. Do you have mod_autosave enabled in your myLeoSettings.leo file?

Edward
Reply all
Reply to author
Forward
0 new messages