Re: [Zim-wiki] Small spreadsheets

2014-08-18 Thread Greg Warner
There actually is a bounty for adding tables as a feature.


On Mon, Aug 18, 2014 at 7:27 AM, Syv Ritch  wrote:

> Hi,
>
> For me, rows and columns would be a great start. Something like the
> Dokuwiki tables would a start. Then a sum function if possible would
> be fantastic
>
> or even better
>
> An on-the-fly copy and paste from Gnumeric into Zim and it converts
> it to a Dokuwiki table type with only the pasted values.
>
> sknahT
>
> vyS
>
> On Mon, 18 Aug 2014 08:43:35 +0200
> Sylvain Viart  wrote:
>
> > Hi,
> >
> > On 17/08/2014 19:44, Syv Ritch wrote:
> > > On Sun, 17 Aug 2014 07:57:40 +0200
> > > Sylvain Viart wrote:
> > >
> > >>> Is it possible to include small spreadsheets just like I do for
> > >>> images?
> > >> You can do a screenshot, paste it, and link to the local
> > >> document…
> > > I was hoping for actual small spreadsheets
> > >
> > >> Which OS are you using?
> > > xUbuntu 14.04
> >
> > There's no mechanism to embed the spreadsheet like ole on windows,
> > for zim I think. I dont even think it's the goal for such tool?
> >
> > But the principle of the picture, I describe, could be automatized
> > under Linux.
> >
> > You want the spreadsheet features too, calculation, formula,
> > references, right?
> > Not, only a tabular view, rows and columns.
> >
> > Sylvain.
> >
> > ___
> > 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
>
>
> --
> Thanks
> http://www.foto-biz.com
> The Business Of Being A Photographer -- Lightroom Q&A
>
> ___
> 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] feedback of idea

2014-06-04 Thread Greg Warner
Sounds like a useful feature to me.


On Wed, Jun 4, 2014 at 7:49 AM, Patrik Nilsson 
wrote:

> Hi All,
>
> Feedback wanted of an idea.
>
> I love to put all files that belongs to an idea into the attachment
> folder of the wiki-tree. Most of the time this works fine, but sometimes
> files get indexed that shouldn't f.x. source-files of a programming
> project.
>
> One solution is to put a ".zimconfig" into each folder that havn't the
> default setting. This can be if spell check language is different from
> default, or you don't want to scan a directory into the wiki.
>
> Attacted is one example of how not-to-scan-directory can be. When
> ".zimconfig" exists in the attachment folder, the folder is not scanned.
>
> ".zimconfig" can be more specific of configuration, i.e. "ignoredir" or
> "language="", in later implementations.
>
> The attached example does not delete pages which are in the database. It
> only doesn't scan new ones. To test first delete the database in
> ".zim/index.db"
>
> Is it a feature we want?
>
> Best regards,
> Patrik
>
> --
> PGP-key fingerprint: 1B30 7F61 AF9E 538A FCD6  2BE7 CED7 B0E4 3BF9 8D6C
>
>
> ___
> 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] Windows XP is dead; any objection to dropping support for XP from Zim in the next release?

2014-04-09 Thread Greg Warner
No objections here.  Do you have any statistics regarding which OS people
are using when they download the windows build of Zim (perhaps pulled from
an analytics tool or server logs)?  If a non-trivial amount of people are
still downloading Zim (many of which might not be on this list) with
Windows XP, it would probably warrant at least testing the Win 7 build on
XP.  Of course, the users will probably do that for you! :P

Greg


On Tue, Apr 8, 2014 at 10:01 AM, Brendan Kidwell  wrote:

> Windows XP's official end-of-life is today, and Microsoft will no longer
> be providing security updates for it unless you pay them exorbitant sums
> of money. (I hope your ATM isn't connected to the Internet.)
>
> Up until the last Zim release (0.60 last year) I'd been building the
> Windows installer and portable packages on a Windows XP SP3 virtual
> machine. I tested on a clean XP SP3 VM and then also on Windows 7.
>
> For the next Zim release I'm planning to build and test only on Windows
> 7. It should work in Vista and 2008 and all newer versions; it will
> probably work in Windows XP but I won't test or support Windows XP. Is
> there any objection?
>
> Brendan Kidwell
>
> ___
> 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] Is the public Dokuwiki instance for Zim broken?

2013-09-04 Thread Greg Warner
I entered a bogus user/pass and got:

The website encountered an error while retrieving *
http://zim-wiki.org/wiki/doku.php?id=create_tables_using_graphviz&do=login§ok=4222498ee5a2880993871b4becd40321&DokuWiki=049bf6cd5f649b9bf7d777b6c8146780
*. It may be down for maintenance or configured incorrectly.
Reload this webpage.
Press the reload button to resubmit the data needed to load the page.
Error code: 500



On Wed, Sep 4, 2013 at 10:13 AM, Brendan Kidwell  wrote:

> I wanted to copy my recipe for inserting "tables" using GraphViz (
> http://zim-wiki.org/wiki/doku.php?id=create_tables_using_graphviz ) to a
> new page and explain how to do it with LaTeX ("Insert Equation").
>
> I tried to login with my saved login in my password file and I got a blank
> response. I tried logging in with the wrong password -- blank response. I
> tried requesting a password reset email -- blank response.
>
>
>
> ___
> 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] Open Notebook on Network Computer in Windows?

2013-09-03 Thread Greg Warner
As a workaround, you could assign the network share a drive letter in
Windows.  This is what I do at work.  Not very portable though.


On Mon, Sep 2, 2013 at 3:48 PM, Miguel Garza  wrote:

> Using forward slashes does not work. The error message is the same (shows
> forward slashes either way) whether I use forward or backslashes:
>
> Could not find notebook:
>> file://Panda/Desktop/ZimDesktopWikiPortable/Data/Notebooks/Notes
>>
>> Could not find the file or folder for this notebook
>>
>
> I can use forward slashes or backslashes, either one, in the dialog box to
> navigate to or create locations on the computer that Zim resides on.
>
>
>
> On Mon, Sep 2, 2013 at 4:28 AM, Jaap Karssenberg <
> jaap.karssenb...@gmail.com> wrote:
>
>> On Sat, Aug 31, 2013 at 9:26 PM, Miguel  wrote:
>>
>>> I'm running Zim Portable on Windows and wondering if it's possible to
>>> open a Notebook on a local area network computer? I've tried to do so but
>>> inputing the network computer's address in the Folder dialog textbox gives
>>> me an error (for example, something like "\\Computer2\Path\to\Notebook"
>>> does not resolve).
>>>
>>
>> Not sure - never tested it - so may not be supported by all file system
>> functions that we use. Might wrok, might be a small patch to make it work,
>> or may be a big issue due to some library lacking support.
>>
>> You could try using forward slashes, "//Computer/path/to/noteobok", if
>> that doesn't work either please post the detailed error message in a bug
>> report.
>>
>> 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
>
>
___
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] Win32: GUI with native controls?

2012-10-23 Thread Greg Warner
Use "--standalone" to get zim to work with pythonw.exe.

My windows instance of zim looks native to me and I don't recall doing
anything special.

Greg

On Mon, Oct 22, 2012 at 2:04 PM, klo uo  wrote:

> Hello again :)
>
> I installed build requirement (all-in-one PyGTK package), downloaded
> Zim source and executed Zim w/o "python setup.py install"
> It works fine, and because it's executed from CLI it doesn't spawn cmd
> windows on latex or diagram insertions, so I don't even have to look
> in the code
> And BTW pythonw.exe can't run zim.py for some reason, so I have no options
>
> However now Zim GUI looks ancient and distracting from rest, or say it
> ugly. I looked in default PyGTK gtkrc files and they are as expected
> For example, file
> "C:\Python27\Lib\site-packages\gtk-2.0\runtime\etc\gtk-2.0\gtkrc" is
> pointing to what seems to right theme:
>
>   gtk-theme-name = "MS-Windows"
>
> I know Gimp uses this theme, and looks decent with regard to rest of
> OS interface. Also previously downloaded portable Zim uses it, and
> looks fine too.
> But launching Zim from source, doesn't use this theme. I tried to make
> etc folder structure inside Zim source, but it doesn't help
>
> Any ideas?
>
> ___
> 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] Zim 0.57 with pythonw.exe

2012-10-09 Thread Greg Warner
I probably represent a minority here, but instead of using the standard
windows installers when they become available, I just do a "bzr pull" and
"bzr update" (in windows) whenever a new release is announced.
 Interestingly enough, with the 0.57 release, I can no longer get zim to
start with pythonw.exe.  I get to the screen where I select which notebook
I want to open, but then the process dies.  Oddly enough, when I run it
with python.exe, it works fine, though I'm left with a superfluous console
window in the taskbar.

I was hoping that python.exe wouldn't work so I could get a useful stack
trace, but it works fine!  Boo!!  And since pythonw.exe doesn't have a
console window, I don't know why its dieing!  Oh the irony.

I know this isn't a lot to go on, but does anybody have a suggestion?  0.56
worked fine with pythonw.exe.

Greg
___
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 and ipython

2012-06-14 Thread Greg Warner
Have you seen the ipython notebook (see http://youtu.be/HaS4NXxL5Qc)?

To answer your question, I have mixed feelings about the idea of embedding
ipython in zim.  I think it would be a really neat and novel feature.  I
think it would take considerable effort if you wanted it to be on-par with
the rich feature set that the qt and notebook ipython interfaces have
(graphing, input, realtime output, etc). And lastly, I think there are
higher-priority features such as table support and, speaking of python,
code syntax highlighting.

Greg

On Thu, Jun 14, 2012 at 1:21 PM, Thomas Douillard <
thomas.douill...@gmail.com> wrote:

> Hello dear zim developpers and users !
>
> I started to use zim a few months ago and I think it's a great tool to
> take notes and to organize my works amongs over uses.
> Actually It seems it's a tool I always wanted and I am addicted.
>
> To get to the object of my message, I took a look at the ipython 
> projecta
>  few days ago, and it seems to share some of it spirit and even some use
> cases with zim, especially the ipython 
> console,
> wich is to me like an especially powerful zim-wiki page used with some
> plugins like the arithmetic and graphs one.
>
> Of course it is a lot more powerful and complex, but I wonder if a plugin
> that would allow to embed and edit an ipython notebook page into a zim-wiki
> notebook would interest some people. Without looking in depth into the
> respective source code I believed it would be possible to do such a thing
> without much effort considering the two projects shares a lot of bases.
>
> What do you think of this idea ? I might take a look into this if the
> answer here is positive.
>
> Thanks for reading,
> Thomas.
>
> ___
> 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] Multi user?

2012-02-29 Thread Greg Warner
Or maybe something like a shared dropbox folder would work.  I'm not sure
how it does conflict resolution, but it's probably better than nothing and
might be more user friendly than a VCS.

On Wed, Feb 29, 2012 at 9:55 AM, Jaap Karssenberg <
jaap.karssenb...@gmail.com> wrote:

> On Wed, Feb 29, 2012 at 5:32 PM, Ulf Bro  wrote:
>
>> Is it possible to leave all files on a server, for example on a samba
>> server in Linux, and have more people working with it at the same time?
>> One person can read what another has written just like in Wikipedia?
>>
>> Those who have a Windows client have their Zim running there and those
>> who have a Linux client use the Linux Zim.
>>
>> Or is that not possible?
>
>
> Yes and no. Yes you can do it. Make sure to set the "shared notebook"
> toggle in the properties, so each user uses their own cache folder.
>
> No it won't work well. Zim does not lock files etc. so you will get
> constant conflicts when users edit the same page at the same time.
>
> Also you might get performance issues - never tested for this use case.
>
> Current recommendation for multi-user access is to sync with version
> control, e.g. Bazaar. This is also available for all platforms, let's each
> user change their local copy and then merge & push their changes. This way
> you also can deal with tracking who changed what etc.
>
> To make it really user friendly you might need to configure a custom tool
> with a script that does the syncing.
>
> 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
>
>
___
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] spell checker on windows xp

2011-12-15 Thread Greg Warner
Looks great. Thanks for sharing.

** Warning: Ugly Hack **

Unfortunately, I'm running Python 2.7 and can't find a PyGTKSpell installer
for 2.7.  The 2.6 installer wouldn't work out of the box because it
couldnt' find a 2.6 installation.  I edited the installer using vim (vim
-b) and changed the 2.6 version string to 2.7.  It installed fine, but when
trying to do an 'import gtkspell' from the python prompt it would give me
an error.  So I had to edit the ./Lib/site-packages/gtk-2.0/gtkspell.pyd
file (using vim -b) to reference python27.dll instead of python26.dll.

Now everything works!

Greg


On Wed, Dec 14, 2011 at 11:30 AM,  wrote:

>
> It took me a while but I finally got spell checker working on windows xp.
> I am not too experienced with python and/or compilers so I had no luck
> getting anything complied myself but I did get the following to work.
> 1) Download and install the following (this works on 32 and 64 bit but you
> must use 32 bit python):
> python 2.6.6
> *
> http://www.python.org/ftp/python/2.6.6/python-2.6.6.msi*
> pyGTK-all-in-one GTK2.22
> *
> http://ftp.gnome.org/pub/GNOME/binaries/win32/pygtk/2.22/pygtk-all-in-one-2.22.6.win32-py2.6.msi
> *
> pyenchant-1.5.3
> *
> http://pypi.python.org/packages/any/p/pyenchant/pyenchant-1.5.3.win32.exe*
> PyGTKSpell-2.25.3
> *
> http://gramps-project.org/wiki/images/f/ff/PyGTKSpell-2.25.3.win32-py2.6.zip
> *
>
> 2) Download and extract the latest zim src (I downloaded 0.53 and
> extracted to C:\Program Files (x86)\zim-0.53):
> *http://zim-wiki.org/downloads/* 
>
> 3) Create a copy of [zim_root]\zim.py, rename the copy to
> [zim_root]\zim.pyw (the .pyw extension allows launching without a shell).
>
> 4) Edit [zim_root]\zim.pyw, add "import enchant" with the other imports
> (top few lines of the file).
>
> 5) Start zim using by double clicking [zim_root]\zim.pyw.
> If you are not the intended addressee, please inform us immediately that
> you have received this e-mail in error, and delete it. We thank you for
> your cooperation.
>
>
> ___
> 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] ms-outlook uri support

2011-12-06 Thread Greg Warner
Yes, you're right.  "outlook://FOLDER" is a legitimate URL.  I don't know
why I said that nonsense about "outlook urls cannot have a double-slash"
because I knew about the folder linking, but I had personally decided that
linking to a folder would be useless.

Here's a link supporting folder linking:
http://support.microsoft.com/kb/158135
Here's my original link supporting the GUID linking:
http://www.davidtan.org/outlook-2007-adding-outlook-url-protocol/

So I think this is the best solution, and if you agree to it, I'll work on
it and submit another patch:

"outlook:.*" links will be treated as zim links unless the part after the
colon is exactly 140 alpha-numeric characters long.

Here is an actual outlook guid-based
url: 
Outlook:E00744D8C7D8B7418DAE521ABB4BDF940700821B2170E9E7F04FA38DF7EC21DE48710F59B72F81505B8B370BEA44B01EA558905E10370001762A


Sound good?


On Tue, Dec 6, 2011 at 2:38 AM, Jaap Karssenberg  wrote:

> On Fri, Dec 2, 2011 at 4:32 PM, Greg Warner  wrote:
>
>> As far as I know, the outlook URLs cannot have a double-slash following
>> the colon.  I'm pretty sure that is an Outlook implementation detail and
>> not related to my particular link-generation program or the required
>> registry settings.  If such is the case, then paste re-writer simply would
>> not work.  (In my first experiments, I added the double-slashes, in which
>> case it correctly recognized it as a URL and opened outlook, but outlook
>> gave me an error).
>
>
> I found back the previous discussion here:
> https://bugs.launchpad.net/zim/+bug/605496
>
> Just tested it on a standard XP system (no special tricks what so ever)
> and I can confirm that an "outlook://" URL works to open a folder in
> outlook.
>
> But from a quick internet search it looks like "outlook://FOLDER" and
> "outlook:ID" might be separate schemes, where the first needs the full path
> and the second only an unique ID. But not entirely sure about this.  If
> anyone could check this and document it (or reference some documentation
> about it), we can make sure the solution supports all modes.
>
> What do you think about this option:
>>
>> Outlook URLs are entered with the double-slash (ie. outlook://GUID_HERE),
>> but when clicked, they are re-written to omit the double slashes?
>>
>
> That is fine with me - no conflict with zim pages in this scheme. But
> wouldn't it break the case where we use "outlook://FOLDER" ?
>
> -- 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] ms-outlook uri support

2011-12-02 Thread Greg Warner
As far as I know, the outlook URLs cannot have a double-slash following the
colon.  I'm pretty sure that is an Outlook implementation detail and not
related to my particular link-generation program or the required registry
settings.  If such is the case, then paste re-writer simply would not work.
 (In my first experiments, I added the double-slashes, in which case it
correctly recognized it as a URL and opened outlook, but outlook gave me an
error).

What do you think about this option:

Outlook URLs are entered with the double-slash (ie. outlook://GUID_HERE),
but when clicked, they are re-written to omit the double slashes?

Greg


On Fri, Dec 2, 2011 at 2:06 AM, Jaap Karssenberg  wrote:

> On Thu, Dec 1, 2011 at 7:46 PM, Greg Warner  wrote:
>
>> Here is the code you are referring to (contained within a function called
>> open_url()):
>>
>> elif url.startswith('outlook:') and hasattr(os, 'startfile'):
>>   # Special case for outlook folder paths on windows
>>   os.startfile(url)
>>
>> First thing I notice is that it's looking for "outlook" and not "Outlook"
>> (which is what the link generator program uses... no biggie).
>>
>
> That is fixed easily by making the check case insensitive. Probably should
> match all URL schemes case insensitive now I think about it
>
>
>> The problem is that open_url() is only called if the link-type (as
>> determined by the link_type() function in parsing.py) does not match either
>> interwiki, page, file, or notebook (see pageview.py:4547).  Without the
>> modifications I made, the link-type is determined to be a page as it does
>> not match the url regex, and therefore, the open_url() function never gets
>> called for an outlook link.
>>
>> Does that make sense?
>>
>> If the outlook links had the double slash after the colon (outlook://),
>> we wouldn't be having this problem as it would match the url regex.  But it
>> does not.
>>
>
> OK, now I understand. From the submitter of the first patch I understood
> outlook allowed copy pasting links with "outlook://" URL scheme, so all
> worked as expected. But don't know what he used for copy pasting the links.
>
> One problem I have with matching "outlook:" is that you could never make a
> page called "outlook" anymore. So I would rather implement it in a
> different way.
>
> One option would be to rewrite outlook URLs when they are pasted. (We can
> distinguish external links from internal links when they are pasted - so
> should be able to rewrite "outlook:" to "outlook://".)
>
> The other option is to make the match more specific. For example for
> "mailto:"; we also match URI scheme without the "//", but only if the link
> also has a "@" in it and actually looks like an email address. So you can
> still make a page called "mailto" and use it.
>
> 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] ms-outlook uri support

2011-12-01 Thread Greg Warner
Here is the code you are referring to (contained within a function called
open_url()):

elif url.startswith('outlook:') and hasattr(os, 'startfile'):
  # Special case for outlook folder paths on windows
  os.startfile(url)

First thing I notice is that it's looking for "outlook" and not "Outlook"
(which is what the link generator program uses... no biggie).

The problem is that open_url() is only called if the link-type (as
determined by the link_type() function in parsing.py) does not match either
interwiki, page, file, or notebook (see pageview.py:4547).  Without the
modifications I made, the link-type is determined to be a page as it does
not match the url regex, and therefore, the open_url() function never gets
called for an outlook link.

Does that make sense?

If the outlook links had the double slash after the colon (outlook://), we
wouldn't be having this problem as it would match the url regex.  But it
does not.

Greg





On Thu, Dec 1, 2011 at 11:22 AM, Jaap Karssenberg <
jaap.karssenb...@gmail.com> wrote:

> Hi Greg,
>
> Actually outlook URLs should be supported since version 0.49 of zim (but
> didn't test it recently myself). See the URL handler code in
> zim/gui/__init__.py .  Or does this patch add something that is not yet
> supported by that handler ?
>
> Regards,
>
> Jaap
>
>
>
> On Thu, Dec 1, 2011 at 6:27 PM, Greg Warner  wrote:
>
>> Hi Jaap, list,
>>
>> I recently wanted to be able to link to my outlook (work) emails from
>> within Zim.  The URLs for outlook, however, look like this:
>> "outlook:SDKFJLSDJFLJKJKJ234fjLSDJFLKS(somereallylongGUID)".  Zim doesn't
>> recognize this as a URL/URI, but thinks it's a page, so hence the patch.
>>
>> And for those interested, tweaking Zim is only half the battle.  If you
>> want to use outlook URLs, you'll also need to:
>>
>>- Add support for outlook urls to your registry:
>>http://www.davidtan.org/outlook-2007-adding-outlook-url-protocol/
>>- Download a little utility that creates the outlook urls (basically
>>finds the GUID of the message in question).  The above link will point the
>>way.
>>
>> I'm hoping this will allow me to more easily create action items
>> referring to outlook emails as well as point to emails as reference
>> material.
>>
>> Greg
>>
>
>
___
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] ms-outlook uri support

2011-12-01 Thread Greg Warner
Hi Jaap, list,

I recently wanted to be able to link to my outlook (work) emails from
within Zim.  The URLs for outlook, however, look like this:
"outlook:SDKFJLSDJFLJKJKJ234fjLSDJFLKS(somereallylongGUID)".  Zim doesn't
recognize this as a URL/URI, but thinks it's a page, so hence the patch.

And for those interested, tweaking Zim is only half the battle.  If you
want to use outlook URLs, you'll also need to:

   - Add support for outlook urls to your registry:
   http://www.davidtan.org/outlook-2007-adding-outlook-url-protocol/
   - Download a little utility that creates the outlook urls (basically
   finds the GUID of the message in question).  The above link will point the
   way.

I'm hoping this will allow me to more easily create action items referring
to outlook emails as well as point to emails as reference material.

Greg


ms-outlook-uri-support.patch
Description: Binary data
___
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] Tables

2011-09-23 Thread Greg Warner
I've been thinking a little about a potential tables implementation for zim
wiki.

This page (http://zim-wiki.org/wiki/doku.php?id=support_tables) suggests
using TreeView.

Why is it that we can't just use gtk.Table (layout widget) ?  Use it to
layout several zim text buffers and throw them in a container widget (if
necessary).

I've never used gtk, so my apologies if this is a silly question.

Greg
___
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] Regarding create directory in attachment browser.

2011-04-12 Thread Greg Warner
Curious: Why can't you just call 'mkdir %d' directly?

On Mon, Apr 11, 2011 at 1:15 PM,  wrote:

> Hello,
>
> On Mon, Apr 11, 2011 at 09:18:34PM +0200, Svenn Are Bjerkem wrote:
> > Would it be feasible (maybe I can do it myself) to have another button
> > which creates the attachment directory _without_ opening the file
> > browser?
>
> you can solve this with a simple custom tool. If you use zim on linux,
> create a file with the following content:
>
> #!/bin/bash
> mkdir $1
>
> make it executable and call it as custom tool with the parameter %d.
>
> best regards,
>  stefan
>
>
> ___
> 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