[Zim-wiki] Update tags plugin to provide more flexibility on search

2014-08-30 Thread Murat G
I find the tags plugin quite helpful to narrow down the list of tags 
which have pages in common.


But in my eyes it is quite slow to select the fist tag, if the tag list 
is long. To speed up the search for common tags and the related pages, I 
built a new plugin, based on this idea, but also including an auto 
completion entry and the search capability of zim.


Please find the plugin for both zim versions (060 and 061) here:
https://bugs.launchpad.net/zim/+bug/1363184

To use the plugin, save the related .py file to the zim/plugins folder 
and activate within the zim/plugins menu.


There are some todos left:

* implement into the side pane
* use the zim index intersection function to speed up the down
  selection of common tags

Any feedback is welcome.

Have fun.
Murat


___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Bugs in git plugin

2014-08-30 Thread Jaap Karssenberg
Believe this to be fixed in rev716

Regards,

Jaap


On Mon, Jul 1, 2013 at 3:57 AM, Adam Porter a...@alphapapa.net wrote:

 Hi Jaap,

 Sorry I didn't reply for so long.

 On Wed, Apr 24, 2013 at 1:56 AM, Jaap Karssenberg
 jaap.karssenb...@gmail.com wrote:
  If I understand correctly you have a notebook in ~/Zim and both ~/
  *and ~/Zim are git repositories.
  Then you remove the .git of ~/Zim. As a result zim considers ~/Zim
  part of the ~/ repository. Correct ?
 
  So far this is not a bug but the intended behavior. For example I
  often use zim to maintain documentation of a software project. In that
  case my repository is in ~/code/project and the notebook is in
  ~/code/project/data/manual. When I modify somthing in zim, it should
  add those changes to the repository in ~/code/project.

 This makes sense to me.

  So I disagree that it should only look for a .git in the notebook
  folder itself. However I do think it is valid to say that zim should
  only add files in the notebook folder itself. (Does git allow git add
  -A ~/Zim to only add a subtree ?) In your case this would still have
  added the zim notebook to your home ~/.git -- is that what you wanted
  ?

 I'm still a git novice, but as far as I understand from the man page,
 git add -A ~/Zim would only add files in ~/Zim to the git index.
 This definitely needs to be changed in Zim, because Zim should
 definitely not commit files which are outside of its own tree.  As my
 experience showed, that can cause serious problems.  And also, in the
 use case you described, most people probably wouldn't want Zim to
 commit unstaged changes in ~/code/project/whatever when it commits
 changes in ~/code/project/data/manual.

 Thanks for your work on Zim.

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp