Save while editing

5 views
Skip to first unread message

Lucho

unread,
Sep 30, 2008, 1:34:10 PM9/30/08
to TiddlyWikiDev
One of the really nice features of the gmail (Google Mail) is that, as
you're typing, it automatically saves the page every few minutes. Web-
based e-mail without this feature is perfectly usable, but every now
and then you lose a good deal of work. For this reason, until gmail
came along, I didn't use web-based e-mail for anything important.

The same is true of tiddlywiki. I've worked with tiddlywikis that lose
your changes quite easily.

Is there any way to save or autosave while editing?

Thanks

Eric Shulman

unread,
Sep 30, 2008, 2:14:27 PM9/30/08
to TiddlyWikiDev
The "chkAutosave" checkbox option (see [[AdvancedTiddlers]])
automatically writes the TW file to disk each time you press 'done'
from editing any individual tiddler. However, I think you are asking
for something that happens automatically on a periodic basis, rather
than in response to a specific user action.

I suppose we could set up a timer that periodically reads the
partially entered content in the input field, saves it to a special
'scratch' tiddler (e.g., [[AutoSaved]]), and then writes the TW file
to disk.

However, I'm not convinced that the extra protection this might offer
is really all that essential. Simply using the regular chkAutosave
option ensures that as soon as you press 'done', the file is
written... and even without autosave, there is a check before exiting
to warn you of any unsaved tiddler changes. You can also add this
plugin:

http://www.TiddlyTools.com/#ConfirmExitPlugin

which provides several extra 'safety' features to help avoid
accidentally discarding unsaved changes when exiting.

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

Lucho

unread,
Sep 30, 2008, 2:26:05 PM9/30/08
to TiddlyWikiDev
Thanks for the quick reply, I will try the ConfirmExitPlugin.

My main problem is that the browser I use at work (Firefox 2 on
Centos) tends to crash at least once a day, sometimes crashing 3 or 4
times.

On these crashes there are no unsaved changes warnings.

A side benefit of having a "Save while editing" option is that the
editing session (cursor location) would remain unchanged when saving.

Cheers,

FND

unread,
Sep 30, 2008, 2:51:24 PM9/30/08
to Tiddly...@googlegroups.com
> saves the page every few minutes [...]

> The same is true of tiddlywiki. I've worked with tiddlywikis that lose
> your changes quite easily.
> Is there any way to save or autosave while editing?

You could give this (highly experimental!) plugin a try:
http://tinyurl.com/4msv7t
(http://svn.tiddlywiki.org/Trunk/contributors/SaqImtiaz/experimental/DraftsPlugin.js)

It automatically saves the current draft every 45 seconds.

HTH.


-- F.

Lucho

unread,
Sep 30, 2008, 3:17:22 PM9/30/08
to TiddlyWikiDev

>You could give this (highly experimental!) plugin a try:
> http://tinyurl.com/4msv7t

FND: Thanks for this! It is a really nice plugin. Would you mind
updating this thread if you ever get around to further work on it?

Thanks,

On Sep 30, 11:51 am, FND <F...@gmx.net> wrote:
> > saves the page every few minutes [...]
> > The same is true of tiddlywiki. I've worked with tiddlywikis that lose
> > your changes quite easily.
> > Is there any way to save or autosave while editing?
>
> You could give this (highly experimental!) plugin a try:
> http://tinyurl.com/4msv7t
> (http://svn.tiddlywiki.org/Trunk/contributors/SaqImtiaz/experimental/D...)

FND

unread,
Sep 30, 2008, 3:21:38 PM9/30/08
to Tiddly...@googlegroups.com
> FND: Thanks for this! It is a really nice plugin. Would you mind
> updating this thread if you ever get around to further work on it?

It's not my plugin (check the URL).
I might step in to help refining it someday, but I currently got my
hands full - so don't hold your breath...
(Any developers are more than welcome to offer assistance!)


-- F.

M)

unread,
Sep 30, 2008, 4:55:44 PM9/30/08
to TiddlyWikiDev
I've always wondered whether this gets saved on the fly:

http://luminotes.com/notebooks/ddmheuqo4x61wi74dhqfcqyxx

Any thoughts?

Lucho

unread,
Oct 1, 2008, 2:33:00 PM10/1/08
to TiddlyWikiDev
> You could give this (highly experimental!) plugin

This was exactly what I needed except for the fact that it does not
work with Tiddlyspot. It probably conflicts with the upload plugin

Thanks,

Terado

unread,
Nov 26, 2008, 11:21:05 PM11/26/08
to TiddlyWikiDev
> I suppose we could set up a timer that periodically reads the
> partially entered content in the input field, saves it to a special
> 'scratch' tiddler (e.g., [[AutoSaved]]), and then writes the TW file
> to disk.

Would be very useful. Then if reloaded all autosave posts will be
opened, as with word processing.

> However, I'm not convinced that the extra protection this might offer
> is really all that essential.  [...]

Im amazed you say this, it is essential in the day of web. It doesnt
take long using TiddlyWiki to start writing longer posts - I really
dont want the frustration of losing that with the volatility of a web
browser. Would you be happy if word didnt autosave whilst editing -
TiddlyWiki has a similar function as people can be writing a lot in
there.

Hope you reconsider, I add my vote for this. :)
Reply all
Reply to author
Forward
0 new messages