← Back to team overview

zim-wiki team mailing list archive

Re: RFC: list of features


On Fri, Nov 27, 2009 at 2:12 PM, Randomcoder <randomcoder1@xxxxxxxxx> wrote:

> What do you guys think of the following features:
> 1) replace(CTRL+H) with native Perl regexes and find(CTRL+F) ?
> (what if for example you want to write some items then quickly make a list
> with bullets
> with all of them ?)

Please note that the development focus is the python branch now. However
pythons regex engine is very similar to the one in perl. If you feel like
it, go ahead and add this feature to the python branch. Just a checkbox for
"use regular expressions" in the find and replace dialogs and implement
search and replace with the regex module.

Btw. with respect to your example, try selecting a set of lines and press

> 2) "Go Dark" mode where some script scans all your notes and each link it
> finds it
> fetches from the web, and puts all the documents(probably mostly html) into
> the document root
> so you can unplug your network cable and do stuff offline. And then when
> you click the links in
> the notes they still work since you've already fetched them.
> But there's a problem, what should the links indicate ?
> The real url ?
> The new location files ?
> Maybe when in "Go Dark" mode, it should point files on disk and in "Online
> mode" to real urls ?

Sounds like an interesting plugin. Might want to use an existing application
for the downloading itself, feeding it urls from zim. This can be done quite
easily. Only part that requires some thinking is how to hook zim to
translate urls to the cached version.

Interface elements would be a toggle for online / offline mode and a button
to update the cache.



Follow ups