Re: [Zim-wiki] Autocompletion plugin

2014-07-16 Thread Colin Tedford
Ooh, I haven't had a chance to try it yet but that sounds exciting!

In that thread you mentioned Workflowy having both @ and # tags, which is
something I'd love to have in Zim. It seems like it should be easy to do as
a little plugin, but I'm not a programmer* so maybe not.

I'd also love to see previews in tag searches (for example of the line the
tag is on), but that sounds harder. I don't know how other people place
their tags, but I often put them near the content they apply to (as opposed
to all together at page bottom or top).

*(though if anyone wants to point me to some novice resources, I'd like to
try to learn at least enough to cobble something together when things like
this come up)

Colin
colintedford.com
___
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] Autocompletion plugin

2014-07-16 Thread Güven , Ugur Murat
Hi,

 In that thread you mentioned Workflowy having both @ and # tags, which is 
 something I'd love to have in Zim.
 It seems like it should be easy to do as a little plugin, but I'm not a 
 programmer* so maybe not.
Yes, me, too ☺
What I have seen so far, this needs some restructuring in the tags plugin, the 
tasklist plugin and the main pageview incl. some database changes.
I will try to take care of it when I’ve completed the autocompletion plugin 
hoping that I’ve understood Python and the Zim structure good enough to manage 
that ;)

 I'd also love to see previews in tag searches (for example of the line the 
 tag is on), but that sounds harder.

Not sure, which search you are referring to. The main search or the tasklist 
search? What would you like to preview?

I don't know how other people place their tags, but I often put them near the 
content they apply to (as opposed to all together at page bottom or top).

I created a template where I have this structure:

== M001-2014-07-16-ZimWiki ==
Created Friday 30 May 2014

=== Participants ===
@Murat  -- That’s why I’d like to 
differentiate between people tags and other tags
@Colin

=== Contexts ===
@Autocompletion
@ZimWiki

== My meeting with Colin about zim wiki tags ==
__


· My meeting notes

· And other notes

[ ] I need to complete autocompletion [d:2014-07-30] @Murat !!!

· Also look into # and @ tags if possible

o   @Colin likes this feature as well
__



Additional note, which could give you some additional ideas:

Whenever I happen to bump into something which is discussed more often in 
several meetings I ‘export’ this topic
into a sub page (e.g. 001-OngoingTopics-ZimWiki) below the main page (e.g. : 
004-0060-ZimWiki) and adding links between each other

So my tree looks like this:

004-Projects
004-0060-ZimWiki
   001-OngoingTopics-ZimWiki
   T001-Autocompletion
   M001-2014-07-16-ZimWiki


With this content:

== 001-OngoingTopics-ZimWiki ==
Created Friday 30 May 2014

=== Contexts ===
@ZimWiki
@001-OngoingTopics


== T001-Autocompletion ==
Created Friday 30 May 2014

=== Contexts ===
@Autocompletion
@ZimWiki
__

LINK: M001-2014-07-16-ZimWiki

[ ] I need to complete autocompletion [d:2014-07-30] @Murat !!!

· Also look into # and @ tags if possible

o   @Colin likes this feature as well
__



== M001-2014-07-16-ZimWiki ==
Created Friday 30 May 2014

=== Participants ===
@Murat
@Colin

=== Contexts ===
@Autocompletion
@ZimWiki


== My meeting with Colin about zim wiki tags ==
__


· My meeting notes

· And other notes

=== Ongoing Topics ===
LINK: T001-Autocompletion
__



Regards
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] Autocompletion plugin

2014-07-16 Thread Colin Tedford
 I'd also love to see previews in tag searches (for example of the line
the tag is on), but that sounds harder.

 Not sure, which search you are referring to. The main search or the
tasklist search? What would you like to preview?

The main search. Currently if I search for @Murat it will show me a list of
pages that contain that tag:

 1 - Journal:2014:07:16

What I'd like (at least optionally) to see in addition is the line
containing the tag, like you might see in a web search:

 1 - Journal:2014:07:16
 2014-07-16@03:45 // #checkout @Murat's current implementation of the
auto completion plugin for #ZimWiki (latest post, attachment
autocompletion.py): https://bugs.launchpad.net/zim/+bug/1322201

I'm mainly using tags to make it easier to find things in my journal /
personal log, which consists of many small entries. Each entry is a single
line of up to paragraph length. Currently I enter them in files outside of
Zim and periodically import them (I'm still working out my system); in Zim
I put the entries for each day on that day's Calendar/Journal page. When I
search for a tag I would like to see a collection of these little entries
instead of having to click through to a bunch of journal pages and find
them within the pages. I would also find this sort of preview useful for
the occasional tags I use on normal Zim pages.

Out of curiosity I (re-)installed the Task List plugin (I tried it out a
while back, before my current log/journal experiments) and it basically
does what I want! A non-Todo-oriented plugin could reuse Task List code if
someone wanted to do that, but for now I can just misuse Task List by
putting checkboxes on my entries and telling Task List to index 1 -
Journal. Thanks for pointing me in that direction!

Every time I think I've bumped against a limit of Zim, I end up even more
impressed with it -- what a great program!

Colin
colintedford.com
http://treesandhills.org
___
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] Autocompletion plugin

2014-07-16 Thread Güven , Ugur Murat
 Out of curiosity I (re-)installed the Task List plugin (I tried it out a 
 while back, before my current log/journal experiments) and it basically does 
 what I want!
 A non-Todo-oriented plugin could reuse Task List code if someone wanted to do 
 that, but for now I can just misuse
 Task List by putting checkboxes on my entries and telling Task List to index 
 1 - Journal. Thanks for pointing me in that direction!
Glad I could help ☺ If I’m not mistaken, the task list plugin would index 
Journal pages out of the box.

For the tasklist plugin I already suggested to have the tags in a separate 
column, so this print output could be used to send meeting minutes right away…
Every time I think I've bumped against a limit of Zim, I end up even more 
impressed with it -- what a great program!

Indeed. When digging into the code, my respect to Jaap grew per line of code...

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