Eric,

Thanks for your response, I have something similar I call "View/edit 
recent" which allows be to view or open for edit. This has a similar 
outcome to your suggestion.

When I experienced this fault I could not pass a tiddler name on the URI to 
stop opening [list[$:/StoryList]], My work around was the html edit.

Using my own tool or your suggestion is helpful however the concept within 
the original post still I believe has merit. It would be nice to be in a 
position to actually rollback the last N edits especially in complex code, 
if you do not recall the exact change you need to reverse, sometime it is a 
typo you did not know you made.

The difference between version control for every tiddler, and this case I 
am only talking about restoration of the last N different tiddlers edited. 
Basically an undo of last edit for upto N tiddlers.

A reworked version of the trash plugin should do it.

What do you think?

On Sunday, December 22, 2019 at 4:39:21 PM UTC+11, Eric Shulman wrote:
>
> On Saturday, December 21, 2019 at 8:37:41 PM UTC-8, TonyM wrote:
>>
>> Whilst doing some development today with advanced macros I was displaying 
>> a tiddler that abended the wiki. 
>>
>>    - Unfortunately I had default tiddlers of [list[$:/StoryList]] so it 
>>    would always display on load. 
>>    - I edited the html file directly and removed [list[$:/StoryList]] 
>>    from $:/DefaultTiddlers 
>>    
>> <http://192.168.1.81/Development/!SandboxWikis/VariouseSandbox.html#%24%3A%2FDefaultTiddlers>
>>    - and I can now use an indirect way to edit the tiddler before 
>>    displaying it so I can fix the problem
>>
>> I've run into similar problems when working on macros
> that are recursive and get into a "runaway" condition
> which never terminates, and eventually crashes the page.
>
> Here's a little "OpenForEdit" tiddler that can help with the above 
> situation.
>
> Select a tiddler to edit:<br>
> <$select tiddler="$:/temp/openforedit">
>    <$list filter="[all[tiddlers]]"> <option><<currentTiddler>></option> <
> /$list>
> </$select>
> <$button>edit
>    <$action-sendmessage $message="tm-edit-tiddler" $param={{$:/temp/
> openforedit}} />
> </$button> 
>
> Then, to bypass the DefaultTiddlers on startup, just add "#OpenForEdit" to 
> the end of your URL.
> When the above tiddler is loaded, select the offending tiddler from the 
> list and press the "edit" button
> to jump directly into edit mode, bypassing any view mode problems that 
> tiddler may have.
>
> enjoy,
> -e
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/69b33ce8-e789-4e97-b214-9ade87eb409f%40googlegroups.com.

Reply via email to