Re: [Zim-wiki] Zim-clip 0.5.3 on amo (addons-mozilla.org)

2013-04-27 Thread jayseye
Very cool Rui, congratulations on getting listed on addons.mozilla.org.

I Removed the existing plugin (which had already updated to 0.5.3),
and then Installed from the now-official page. Everything went
smoothly, and it really works with NO RESTART as advertised.

Looking forward to having the very latest version reviewed and
approved. I've been working on some ideas to implement Folding in Zim,
and this plugin should be useful for coordinating related information.

Regards,
Marc

On 4/27/13, Rui Nibau rui.ni...@omacronides.com wrote:
 Hi all,

 Just to tell the community that zim-clip, the firefox addon which gives
 a way to copy selected text or mark the current page into Zim, is now
 available on the mozilla addon website :

 https://addons.mozilla.org/firefox/addon/zim-clip/

 Have to improve infos in this web page.

 Updates will be easier if you install the addon from their instead of my
 personal website, but as review process can take some time (several days
 or weeks), you will have to wait to have latest release (0.5.3 is the
 latest for now).

 Addon is quite stable now and works as I expected. There's still a
 problem on Fedora (and maybe somewhere else ?) as Firefox defines a tmp
 folder different from the one defined by python (and used by Zim), so 2
 zim instances are created if you use the addon when a Zim instance is
 already opened.

 No workaround found for the moment.

 I also have to provide an easy way to download and hack sources (wich
 are of course available in the addon itself) and to report bugs.
 Probably a launchpad project as I use bzr.

 Thanks to jaap to have provide some new Apis in the quicknote plugin to
 be able to deal with the pictures downloaded by zim-clip for example.

 Next step for me : back to python and to some features I started to work
 on a while back : templates for zim pages and managing different wiki
 syntaxes.

 Regards,

 --
 Rui Nibau
 email: rui.ni...@omacronides.com
 im: rui.ni...@gmail.com
 site: http://omacronides.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


___
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] How to copy-paste from Zim without the wiki code?

2013-04-02 Thread jayseye
Even simply copying text within Zim causes inconvenience with
formatting. For instance, try copying part of a heading, then pasting
that into a line of normal text:

Most users would want the pasted text to take on the formatting of the
target location, rather than retaining its formatting from the source
location.

The workaround, under Linux, is to highlight the source text, which
copies it into the X11 selection buffer. Then it can be pasted as
plain text using the middle mouse button.

Unfortunately this workaround would likely apply only to X11-based
systems, leaving Windows users with the original issue. Would a Paste
As option be practical to add?

On 3/26/13, Jaap Karssenberg jaap.karssenb...@gmail.com wrote:
 Must say it is mainly a personal preference on my side that this is
 how I like the text to look when I paste stuff into an email. If you
 have a use case where this formatting is causing problems please let
 me know.

 Regards,

 Jaap

___
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] Firefox addon: zim-clip 0.5.0

2013-04-02 Thread jayseye
Thanks for your work, it's great to see zim-clip being updated!

___
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] Favicons for pages in index

2013-02-25 Thread jayseye
Page icons in the Index plugin sounds useful to me, too.

On 2/25/13, Svenn Bjerkem svenn.bjer...@googlemail.com wrote:
 On Mon, 2013-02-25 at 10:21 -0600, Tim wrote:
 Would anyone else benefit from having some means of displaying an icon
 before a page title in the Index tree? I would love to have some means
 of visually representing the pages in a very large notebook, to
 rapidly identify the page for which I am looking.

___
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


[Zim-wiki] Version Control Plugin Re: Zim version 0.59 released

2013-02-01 Thread jayseye
Really glad to have the Version Control plugin enabled now. It's
incredibly simple to use, as described in the first part of this
Manual page http://zim-wiki.org/manual/Plugins/Version_Control.html.

Most folks can safely stop reading there after the Usage section. The
rest of that page, from Sharing on down, is secondary. In particular,
the Manual Version Control section mainly contains details for control
freaks ;-

However, the plugin is also rich in features, and provides a GUI for
many useful version control tasks.

Overall, I consider Version Control to be an essential complement to
Zim's autosave feature.

On 1/25/13, jayseye grei...@gmail.com wrote:
 The affected user _was_ fully backing up their work. In
 fact, this incident points up a *weakness* inherent in automatic
 syncing strategies.

 Version control is a loosely related, though completely separate
 technique, to allow rolling back to a previous version of a
 document.

___
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] partial word search

2013-01-27 Thread jayseye
An asterisk * works as a wildcard in the global Search dialog (Search
 Search). The Manual covers this, along with other details about
Search and Find (Search  Find).

On 1/27/13, inigo inig...@gmail.com wrote:
 Hey,
 Is it possible to search for partial words?
 It would be much more easier to find something. Now I have to search for
 every variation of the word one by one.
 For example:
 if i search for apple it wont it find apples, and in my language
 there are many forms of a word.
 Cheers,
 inigo

___
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] Zim version 0.59 released

2013-01-25 Thread jayseye
On 1/25/13, Jaap Karssenberg jaap.karssenb...@gmail.com wrote:

 (I always recommend to use the version control plugin, to allow
 rollbacks.)

A very persuasive case for using version control, which I've been
seriously considering anyway.

Since Bazaar is already used for development, would that work about as
well as git, et. al, for this purpose as well?

Thanks,
Marc Paul Rubin
jayseye

___
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] Zim version 0.59 released

2013-01-25 Thread jayseye
A true and funny observation, Vlastimil Ott. Unfortunately this case
is different: The affected user _was_ fully backing up their work. In
fact, this incident points up a *weakness* inherent in automatic
syncing strategies.

Version control is a loosely related, though completely separate
technique, to allow rolling back to a previous version of a
document.

I wonder whether Zim might make it easier for average users to
implement version control. Perhaps add plugins to include an
embedded copy of one of the supported version control systems? Just
brainstorming...

On 1/25/13, Vlastimil Ott li...@e-ott.info wrote:
 Dne 25.1.2013 10:02, jayseye napsal(a):
 A very persuasive case for using version control, which I've been
 seriously considering anyway.

 There are two kinds of people... Those who back up their work and those
 who will.

 Sorry but it's true. I use Dropbox + online backup disk + external
 device to backup all of my work and I'm not stressed...

___
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


[Zim-wiki] GTD Discussion

2013-01-17 Thread jayseye
Would other users be interested in discussing Zim as a tool for GTD
(Getting Things Done, by David Allen)?

Jaap has detailed his own GTD usage in the Zim Manual
http://zim-wiki.org/manual/Usage/Getting_Things_Done.html. As he
notes there, users often find their own creative ways to implement
GTD.

I'd like to explore this in more detail, interactively, and am
wondering where the best forum might be? As a test, I created a topic
in the online Wiki's Playground page
http://zim-wiki.org/wiki/doku.php?id=playground:playground.

As background, I'm working to implement folding in Zim, as discussed
previously on this mailing list. That project has become more complex
than originally assumed, so of course I'm using Zim to organize my
notes and plans ;-

So this is a chicken-and-egg situation, as I've been using a different
tool for many years, where folding has always been available to help
change focus as needed. If you'd like to participate, I predict an
interesting discussion!

___
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


[Zim-wiki] Interwiki Link to Help?

2012-12-19 Thread jayseye
In a normal Notebook, is it possible to create an Interwiki link to a
page within the built-in Help system? I've yet to find anything
relevant in the ''urls.list'' file.

Zim accepts the syntax Help?, though when the resulting link is
clicked, an error dialog reports No such wiki defined: Help.

Thanks!

___
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] Interwiki Link to Help?

2012-12-19 Thread jayseye
Thanks Jaap, I tested adapting that for a possible typo and, so far,
the most I've accomplished is to have directories open in my Web
browser, and .txt files open in my text editor ;-

First of all, was the plus sign '+' a typo, perhaps resulting from
your e-mail client?:

 zim+file:///usr/share/zim/manual to urls.list and it should work.

Also I'm running from the source tree, more specifically, pulled from
bzr. So what I've actually tested, with and without a trailing slash,
was adding this line to the end of urls.list (realpath is
/home/jayseye/Zim/bzr/zim/data/urls.list):

zim file:///home/jayseye/Zim/bzr/zim/data/manual

Also a working example of the link syntax might help, in case that's
where I went wrong. Tested so many variations that I'm reluctant to
post any, and thus confuse folks any further here ;-

Thanks again,
Marc

___
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] Interwiki Link to Help?

2012-12-19 Thread jayseye
Okay, making good progress now, still might be good to hash out two
quirks here, before reporting them as bugs:

First, when the link is successful, a dialog pops up with the title
Unnamed and text starting with, Upgrade Notebook? This notebook was
created by an older of version of zim.
Do you want to upgrade it to the latest version now?... When I choose
No, a new, empty Home page is created, apparently as a subpage of the
one specified.

The other quirk may be an issue with the colon embedded in a file://
URL. Here's a representative error dialog:

Could not find notebook:
zim+file:///home/jayseye/Zim/bzr/zim/data/manual/Plugins%3AArithmetic.
After Closing that dialog, the Open Notebook dialog pops up.

Would you like me to file a bug report(s) for these, or to supply more
details here?

Regards,
Marc

___
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] Zim 0.58 Released

2012-12-15 Thread jayseye
Thanks, Jaap -

Using bzr and running from source, it appears that the __version__
string still needs to be updated in file zim/__init__.py or, is this
done elsewhere?

Regards,
Marc

On 12/15/12, Jaap Karssenberg jaap.karssenb...@gmail.com wrote:
 Dear all,

 I just uploaded zim 0.58 to the website. This release is first of all
 a bug fix release, with a critical fix for a bug preventing zim to
 start after a crash. Other important fixes included are that exporting
 latex equations and interwiki links work again. New features include a
 new plugin for a distraction free full screen mode and more options
 to configure the tasklist plugin.

 Cheers!

 Jaap


 Full Changelog:

 === 0.58 - Sat 15 Dec 2012 ===
 * Added new plugin for distraction free fullscreen mode
 * Added options to limit tasklist plugin to certain namespaces -
 Pierre-Antoine Champin
 * Added option to tasklist plugin to flag non-actionable tasks by a special
 tag
 * Added prompt for filename for Insert New File action
 * Added template option to list attachments in export
 * Added class attributes to links in HTML output
 * Added two more commandline options to quicknote plugin
 * Made sidepanes more compact by embedding close buttons in widgets
 * Critical fix for restarting zim after a crash (cleaning up socket)
 * Bug fix for search queries with quoted arguments
 * Bug fix for use of tags in the tasklist plugin
 * Bug fix for wiki format to be more robust for bad links
 * Bug fix for latex format to not use file URIs in \includegraphics{}
 * Bug fix for including latex equations in latex export
 * Bug fix list behavior checkboxes and numbered lists
 * Fix first day of week locale for calendar plugin - based on patch by
 Leopold Schabel
 * Fix for handling file:/ and file:// URIs in links - see manual for
 details
 * Fix for windows to not open consoles for each external application - klo
 uo
 * Fix for windows to put config files under %APPDATA% - klo uo
 * Fix to have update heading toggle in rename dialog more
 intelligent - Virgil Dupras
 * Fix to make template errors report relevant error dialogs
 * Fix for search and replace whitespace in pageview
 * Various small fixes

 ___
 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


___
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] Anchors for links?

2012-11-27 Thread jayseye
@Jaap: Thanks for pointing out the open request in the bug tracker.
I'll remember to check the tracker in the future, before posting here
to the mailing list. Have now bookmarked that open request, and will
check it in detail after making more progress on folding.

BTW your message somehow escaped my Inbox -- only noticed it when
quoted here by Jean-Baptiste Holcroft (below). That's puzzling, as the
message is neither in the Trash nor in Spam. Will make a habit to
check the Archives until we can trace the issue.

On 11/26/12, Jean-Baptiste Holcroft jb.holcr...@gmail.com wrote:
 The related bug : https://bugs.launchpad.net/zim/+bug/380844
 I'm also interested, I don't see anything missing.

 I end up with the following comment :
 - is it interesting to add a contextual menu to headings when
 rigth-clicking : Get Anchor ?

 When you use Mediawiki, you always have the Table Of Content to tell you
 the anchor names
 Example : https://www.mediawiki.org/wiki/Project:About

 Maybee TOC plugin should be enabled by default or embedded in core.
 --
 Jean-Baptiste Holcroft


 2012/11/26 Jaap Karssenberg jaap.karssenb...@gmail.com

 There has been an open request for this in the bug tracker for some time,
 including some example code how to add this feature.

 I think most discussion in the thread is also already found in the
 comments of the bug report.

 Please check if there is anything missing there and if so please add to
 the bug report.

 Thanks,

 Jaap

___
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] Anchors for links?

2012-11-27 Thread jayseye
Thanks Dan -

Yes it's comprehensible, though implementation of implicit anchors
might be complex. The issues mentioned could be just the tip of the
iceberg. For instance, what happens when someone changes the text of a
heading which is serving as an anchor?

Since Zim uses plain text files, any implicit data may need to be
stored explicitly.

I'd love it If the details turn out to be easier than I imagine. Will
check full details in the tracker item, which Jaap linked to, after I
make more progress on the folding feature.

Regards,
Marc

On 11/26/12, Dan Lessner dan.less...@centrum.cz wrote:
 Hi,
 my idea was exactly that the user would not need to specify the anchor
 at all, every heading would implicitly behave as one.

 Let's say that a part behind # aims to an anchor. When resolving a link,
 Zim would check explicit anchors and then headings (therefore
 implicit, and maybe unwanted, heading-anchors can be overriden). Perhaps
 a higher level heading could have the priority, if there are more with
 the same name. Anyway, if one want to avoid trouble with linkiong to
 duplicate headings, he can always add an explicit anchor. I would
 consider duplicate headings as the user's responsibility, Zim would
 simply use the first one on the highest level.

 The point is to have the possibility to write e.g. :SomePage#Summary,
 which would point us to the content under the heading Summary. And we
 did not have to put an anchor manually anywhere, it would work by magic :-)

 When needed, we could still insert a true anchor into the page, let's
 say near an image, and then link :ThatPage#RelatedImage.

 Is that comprehensible?

 Dan

___
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] Anchors for links?

2012-11-25 Thread jayseye
Thanks, Dan -

It certainly may be convenient, in some cases, to link to a heading.
Explicit anchors would allow increased flexibility and, IMO, anchors
would facilitate both usage and implementation.

However, I would be interested to learn the details, about how the
user might specify a heading as an implicit anchor?

Best,
Marc

On 11/25/12, Dan Lessner dan.less...@centrum.cz wrote:
 This could be combined, i.e. headings could serve as implicit anchors.
 That would make such feature even smoother to use.

 And yes, I am one those who would welcome the possibility to link a
 specific place in a page.

 Best regards,
 Dan Lessner

 Dne 25.11.2012 05:43, Brian Allen Vanderburg II napsal(a):
 I've been interested in such a feature, though for now I just use
 headings in the wiki pages and use the Table of Contents plugin.  It
 would be nice to link to a specific anchor point on a page from another
 page though.

 Brian Vanderburg II

 On 11/24/2012 11:01 PM, jayseye wrote:
 John -

 As a fairly new Zim user, perhaps it's just that I've yet to discover
 how to create an Anchor. Have already looked very thoroughly, though,
 before asking here.

 Good to hear that there is interest in the feature. If you do find an
 existing way to create an anchor, please let me know! Thanks.

 Regards,
 Marc Paul Rubin
 jayseye


 On 11/24/12, John Geoffrey XXX@X wrote:
 oh? that doesn't work yet? I was thinking about trying out if that
 works
 somehow for months. Yes, I'd be interested.

 On 25 November 2012 04:04, jayseye XXX@X wrote:

 An anchor allows linking to a specific place (target) on a page.  If
 Zim supported anchors, you could link to an anchor on the same page,
 or to an anchor on another page.

 WikiMedia syntax supports anchors, so the precedent exists. Of course,
 anchors are also very commonly used in HTML on the Web.

 Would anyone else be interested in using anchors in Zim?

 Thanks,
 Marc Paul Rubin
 jayseye
 ___
 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







 ___
 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



 ___
 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


___
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] Anchors for links?

2012-11-25 Thread jayseye
Yes Brian, I also use headings and the ToC plugin. There would be one
main advantage of linking to an anchor on the same page: to avoid
duplication of information.

A counter-argument might be: if one page gets large enough to require
local links, then perhaps it should be broken up into multiple pages.
As a new Zim user, one reason I posted here to the mailing list was to
get feedback on the pros and cons of anchors as a possible feature.

There is another rationale in support of intra-page anchors: there is
strong interest in folding, which indicates that relatively large
pages may be used to advantage.

Thanks,
Marc

On 11/24/12, Brian Allen Vanderburg II brianvanderbu...@aim.com wrote:
 I've been interested in such a feature, though for now I just use
 headings in the wiki pages and use the Table of Contents plugin.  It
 would be nice to link to a specific anchor point on a page from another
 page though.

 Brian Vanderburg II

 On 11/24/2012 11:01 PM, jayseye wrote:
 John -

 As a fairly new Zim user, perhaps it's just that I've yet to discover
 how to create an Anchor. Have already looked very thoroughly, though,
 before asking here.

 Good to hear that there is interest in the feature. If you do find an
 existing way to create an anchor, please let me know! Thanks.

 Regards,
 Marc Paul Rubin
 jayseye


 On 11/24/12, John Geoffrey XXX@X wrote:
 oh? that doesn't work yet? I was thinking about trying out if that works
 somehow for months. Yes, I'd be interested.

 On 25 November 2012 04:04, jayseye XXX@X wrote:

 An anchor allows linking to a specific place (target) on a page.  If
 Zim supported anchors, you could link to an anchor on the same page,
 or to an anchor on another page.

 WikiMedia syntax supports anchors, so the precedent exists. Of course,
 anchors are also very commonly used in HTML on the Web.

 Would anyone else be interested in using anchors in Zim?

 Thanks,
 Marc Paul Rubin
 jayseye
 ___
 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







___
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


[Zim-wiki] Anchors for links?

2012-11-24 Thread jayseye
An anchor allows linking to a specific place (target) on a page.  If
Zim supported anchors, you could link to an anchor on the same page,
or to an anchor on another page.

WikiMedia syntax supports anchors, so the precedent exists. Of course,
anchors are also very commonly used in HTML on the Web.

Would anyone else be interested in using anchors in Zim?

Thanks,
Marc Paul Rubin
jayseye

___
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] Anchors for links?

2012-11-24 Thread jayseye
John -

As a fairly new Zim user, perhaps it's just that I've yet to discover
how to create an Anchor. Have already looked very thoroughly, though,
before asking here.

Good to hear that there is interest in the feature. If you do find an
existing way to create an anchor, please let me know! Thanks.

Regards,
Marc Paul Rubin
jayseye


On 11/24/12, John Geoffrey XXX@X wrote:
 oh? that doesn't work yet? I was thinking about trying out if that works
 somehow for months. Yes, I'd be interested.

 On 25 November 2012 04:04, jayseye XXX@X wrote:

 An anchor allows linking to a specific place (target) on a page.  If
 Zim supported anchors, you could link to an anchor on the same page,
 or to an anchor on another page.

 WikiMedia syntax supports anchors, so the precedent exists. Of course,
 anchors are also very commonly used in HTML on the Web.

 Would anyone else be interested in using anchors in Zim?

 Thanks,
 Marc Paul Rubin
 jayseye

___
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] Bounty for folding

2012-11-15 Thread jayseye
Thanks for the reply, Jaap. This is all very encouraging. Working on a
bzr branch sounds convenient. From now on I'll keep mailing list
discussions at a higher level.

Hans mentioned the ability to fold plain indented lists, i.e. with
neither bullets nor checkmarks. I'm also interested in that, Having
read your reply, I'd like to confirm that folding normal, indented
text would be straightforward?

If so, it sounds like we could potentially use Zim as a folding code
editor for small Python source files. Does that sound practical?

Meanwhile it's very late here so I will call it a night. Will explore
this in detail in the morning, both on the Wiki and in this e-mail
thread.

Regards,
Marc

On 11/15/12, Jaap Karssenberg jaap.karssenb...@gmail.com wrote:
 On Thu, Nov 15, 2012 at 10:19 AM, J.A. de Vries hdv.ja...@gmail.com
 wrote:

 On 2012-11-15 09:43, jayseye wrote:
  I could draft a proposal, to be consistent with Jaap's framework for
  bounties. If that would be acceptable, then I have two questions:


 I set up a page on our development page here:
 http://www.zim-wiki.org/wiki/doku.php?id=folding

 I put down the objective and initial notes on implementation. HdV if you
 can check if you are happy with the definition I put down (and if not
 please modify accordingly) than I can discuss implementation details with
 Marc Paul.

 For implementation discussion let's go to personal mail and document on the
 development wiki, no need to spam the mailing list.


  First, lists would be a clear choice for folding, as they can be
  nested to any depth. Headings were also mentioned in your original
  query:

 Ah, indeed. Almost forgot about that.
   I'd really like to see the addition of a plugin that would
  enable folding for lists and headings (both would be very welcome).
 
  To clarify then, based on your latest reply: Would folding of Headings
  be an additional feature request, with a separate bounty?

 I myself don't need folding based on headings at the moment, but yes I
 would be willing to support a separate bounty for that. I can imagine
 that other people could use such an additional feature very well.


 I would also very much like them. I'll put an additional 50,- on the bounty
 from Zim donations fund if this can be covered. ( Won't add much additional
 work, but the main thing is that folding headings can not follow
 indentation, so bit more logic is needed to determine what text to fold. )


  Second question, for both you and Jaap: Would it be feasible to set
  milestones for implementing folding, starting with a working model?
  This could help ensure that we're on the same page as work
  progresses.

 Communicating often and making small steps is what in my experience
 always led to the best results in projects. Depending on what Jaap
 prefers I think that would be a good approach. I on my part will strive
 to make the time to answer any questions without making you wait too
 long.


 On the wiki page I put a section timeline with suggestion for milestones,
 open for discussion.


  Specifically, Zim already has a built-in secondary view, which might
  be useful as a testbed: From the File menu, Open in New Window
  displays a work-in-progress toward multiple views. (It's read-only for
  now, though fixing that is mentioned in the docs.)
 
  That New Window might be a safe place to develop folding, while
  preserving the current main window. Once folding works as agreed in
  this testbed view, it would be straightforward to merge it into the
  right-hand pane of the main window.

 Sounds like a proper safe approach to do this. Let's see what Jaap
 thinks (as I don't know the code very well).


 Probably that would actually complicate things since both windows derive
 from the same class. Since you would be developing in a separate code
 branch anyway there is no need to separate. Once it is functional I merge
 it in the main code and it will be enabled for all windows.

 @Jaap: are there groudrules for doing bounties? Or do you want me to
 arrange something with Marc Paul directly?


 The rules I came up with when I started with bounties are here:
 http://www.zim-wiki.org/contribute.html

 In general I think for your part of the bounty you should decide whether
 you are happy or not. Main thing for me is to have design, progress  code
 in the open so it is transparent what is done.

 Regards,

 Jaap


___
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] Bounty for folding

2012-11-14 Thread jayseye
In-reply-to: 
ca+tmwmfgktmjyb2y2-hog_nmmtcs6z5acipzrr1d6rc2ep2...@mail.gmail.com


Hello Jaap, and J.A. de Vries -

I'd like to follow up on adding folding to Zim. Have yet to find this
listed on the Wiki, as mentioned below.

Has there been any progress, and/or is there still interest in this feature?

Thanks!
Marc Paul Rubin
(jayseye)

---

From: J.A. de Vries hdv.jadev@x
Date: Thu, 24 May 2012 14:10:59 +0200

Hi Jaap,

 Maybe you could set up a small page on the dev wiki here:
 http://www.zim-wiki.org/wiki/doku.php . Please specify criteria that
 the plugin needs fulfill in order to claim the bounty, and how to
 contact you to claim it etc.

Will do that. Might take a couple of days due to work.

 I can link the wiki page from the main website.

 To give a first shot on the technical impact: looks like gtksourceview
 can support marks in the window margin, which could be used to trigger
 fold/unfold. Also it looks like next release of gtksourceview will
 have a special API for folding.

That would be great. It should make things a whole lot easier to
implement and maintain.

 So either we need to make zim's editor inherit from gtksourceview and
 build on that API, or emulate the relevant code to enable similar
 features in zim.

I don't know the inner workings of zim too well, but if the first option
could provide the functionality I need, then I'd suggest the first
alternative. The more generic the code the better in my experience.

 Main challenge is to get the folding marks (icons) in the marging and
 keep them uptodate. The hiding of a piece of text is almost trivial.
 Adding some widget / keybinding to fold/unfold all up to a certain
 level needs some design but is probably easy to implement as well.

Glad to hear that!

I'll try to make some time this weekend to write down the specs for what
I would like to have.

P.S. I am willing to sponsor other bounties as well, if you want me to.
Just contact me if I can help.

Grx HdV


References

Bounty for folding
From: J.A. de Vries, 2012-05-19
Re: Bounty for folding
From: Jaap Karssenberg, 2012-05-22

___
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