Re: [Zim-wiki] Zim version 0.74.0 released !

2021-09-18 Thread JP Vossen

On 9/14/21 3:33 PM, Jaap Karssenberg wrote:

Today I released zim version 0.74.0. ...

This is awesome!  Zim is great, I spend most of my day in ROXTerm and Zim, with 
some Firefox thrown in, and I got the update from the PPA today.

* I don't like the bottom edit bar either, but I know that will become optional 
in 0.74.1 (#1594), and it's not a show stopper anyway.
* It otherwise looks subtly...nicer, not sure why.  Definitely noticed the new 
checkbox icons.
* It's MUCH faster to navigate in-page using headers; before there was a lag of 
up to a second or two [because 1] which was really annoying, now it's instant.  
This is a BIG DEAL for me, I use this constantly!
* It's still quite slow to switch pages, but that's because [1] and spell 
checking; if I turn spell check off (tedious) page switches are almost instant 
(see #1497).
* Searching is the same, very laggy, up to a few seconds.  But [1]...


[1] At work I'm forced to use Windows (with only 2 slow CPUs, but 16G RAM) so 
Zim lives in a 8G RAM Mint-20.2 VM under VirtualBox.  For some reason, 
especially since the move to Python3, Zim is significantly sluggish there.  On 
my other PCs, even old ones, Zim is fine; basically no discernible lag.  So 
most/all of this problem is on my side even if it's not under my control.  BUT, 
as I noted most of the lag seems to be caused by the spell checking, if I turn 
that off Zim is almost instant [hence #1497].  Note, I do tend to have pages in 
the 2,000-4,000 line range.  And lack of spell checking is a show stopper for 
me.  :-)

Thanks for an awesome tool!
JP
--  ---
JP Vossen, CISSP | http://www.jpsdomain.org/ | http://bashcookbook.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] Zim plugins: Attachment-Browser

2021-01-17 Thread JP Vossen

On 1/15/21 8:23 PM, Thomas Engel wrote:

Hi Zim community,

i've done some work on the Attachment-Browser Plugin (see 
https://github.com/datenwurm/zim-plugin-attachment-browser). It now has new 
context menu entries for renaming and deleting files.

context-menu-entries.png

Currently it's just a stand-alone plugin which needs to be installed like any 
other plugin. However, it would be nice to integrate it into the main branch.


Does that do anything for 
https://github.com/zim-desktop-wiki/zim-desktop-wiki/issues/930?

Later,
JP
--  ---
JP Vossen, CISSP | http://www.jpsdomain.org/ | http://bashcookbook.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


[Zim-wiki] Zim 0.72.0 is awesome!

2019-08-31 Thread JP Vossen

Zim 0.72.0 is awesome!

* The pathbar fits much better and looks great
* The ToC seems to have stopped jumping around (that was nearly a 
show-stopper for me, I need that a lot and it was really annoying to 
have it jumping)

* "Duplicate" headers now work right in the ToC (another big one for me)

I did just see the garbled text problem (#727) but I've never been able 
to reproduce it on command.  I see that on a paste or a large scroll, 
and just now it was a page switch.  2x PgUp then 2x PgDn "fix" the 
garbled text, so it's bearable.


It still loses it's place when switching pages (#770) but only 
sometimes.  I'll to see if I can figure that out.  That will be less of 
a problem since the ToC stopped jumping around.


Thanks!
JP
--  -------
JP Vossen, CISSP | http://www.jpsdomain.org/ | http://bashcookbook.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


[Zim-wiki] Zim mention in "Linux productivity: Why it’s needed and the top 10 apps"

2019-06-24 Thread JP Vossen

Congrats: http://linuxblog.darkduck.com/2019/06/linux-productivity.html
...
7. Create personal notes in a Wiki style with Zim
Zim takes note-keeping to the next level. The application basically 
allows you to create your own Wiki with your notes. But instead of being 
on the web, it’s hosted on your computer and only accessible to you 
(unless you share the file).

...

Later,
JP
--  ---
JP Vossen, CISSP | http://www.jpsdomain.org/ | http://bashcookbook.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] Spell Check Plugin Interface and Dependencies

2017-06-04 Thread JP Vossen

On 06/03/2017 03:56 PM, Bo Grimes wrote:

On 06/03/2017 03:49 PM, Bo Grimes wrote:


I consider this issue resolved, so don't worry about it. I am just 
curious what libgtkspell0 is in relation to python-gtkspellcheck, if 
any, and why removing a lib I *just* installed would remove so many 
packages that pre-existed it.


I just realized.  In all likelihood libgtkspell0 was already installed 
on my laptop.  Just because I copied and pasted the apt command doesn't 
mean it would have installed it, duh. I didn't pay enough attention to 
the terminal because I was cooking supper, so it could have already been 
"at the latest version" for all I know.


Still curious as to the relationship between libgtkspell0 and 
python-gtkspellcheck, but it's not a Zim question, so I'll let it drop.


Thanks for all the time,


Sure.  My wild guess for all the preceding package mess and dependency 
is: major version upgrades.  Don't get me wrong, I *love* that Debian 
and derivatives allow and support major version upgrades, but there is a 
cost.  Over time, package cruft and odd dependencies do seem to pile up 
and GUIs and GUI tools & libraries seem to make this far worse.  Oh 
well, that's still much better than "DLL hell" or having to do clean 
installs every major version.


Later,
JP
--  -------
JP Vossen, CISSP | http://www.jpsdomain.org/ | http://bashcookbook.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] Spell Check Plugin Interface and Dependencies

2017-06-03 Thread JP Vossen

On 06/02/2017 06:51 PM, Bo Grimes wrote:
Well, as I said earlier, I have a laptop with Mint 18.1 on it. I rarely 
use it, but eventually was going to install Zim for when I do.  So, I 
followed the instructions 
here:https://github.com/jaap-karssenberg/zim-wiki/wiki/Ubuntu-PPA


Same problem. Spell check works fine, but the interface is in Spanish. 
Although, again, even though I set the dictionary to en-us, I still have 
to select English (American) in the right click menu.


First time and only instance of Zim on that laptop, only 
python-gtkspellcheck, no gtkspell, only English dictionaries.

Wow, you've got me then...

Sorry,
JP
--  ---
JP Vossen, CISSP | http://www.jpsdomain.org/ | http://bashcookbook.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] Spell Check Plugin Interface and Dependencies

2017-06-01 Thread JP Vossen

On 06/01/2017 04:41 PM, Bo Grimes wrote:

On 06/01/2017 03:12 PM, JP Vossen wrote:

On 06/01/2017 09:15 AM, Bo Grimes wrote:

On Wed, May 31, 2017, at 08:30 PM, JP Vossen wrote:


Was your Mint-18 a new install, or an upgrade?  Because my Mint-17 
*does* have that exact same one:
Upgrade from 17. So, I have Mint 18.1 on a laptop that was installed as 
18 and updated to 18.1.  I checked.  You are right. No python-gtkspell 
to be found in repos.


I think that's the problem, more below.

...
Try this command, but *watch out* and make sure it doesn't want to 
remove more than you want it to!

sudo apt-get remove --purge python-gtkspell


I aborted.  I get:

The following packages will be REMOVED:
   python-gtkspell*

I'm assuming, maybe incorrectly, the wild card will also remove 
python-gtkspellcheck


If I recall correctly the "*" means that it will purge config files, 
which probably doesn't matter in this case, but better to be clean.  Or 
try it without the "--purge" and see what it says.


I'd say give it a try, I've seen Zim do a bunch of weird things when old 
cruft is laying about.  I've caused a bit of that myself, which is how I 
know...  I *know* "python-gtkspell" is both not in the Mint-18 repos and 
not needed.  I *suspect* that it (or similar leftovers) may be causing 
confusion.


If that doesn't fix it, it might be other cruft that was not removed in 
the 17 to 18 update.


I might try something like:

sudo apt-get remove zim python-gtkspell python-gtkspellcheck aspell 
ispell python-enchant enchant



What to see if it removes anything else for dependencies, and then add 
those to the list below if you want them.  Then:


sudo apt-get install zim python-gtkspellcheck aspell python-enchant



Mine works, too, except the interface being in Spanish, and it wants to 
default to English instead of English (American).  I have to scroll down 
and click English (American) every time even though I have it set to 
"en-US" in the plug-in.


If you don't care about the other languages, what about trying:

sudo apt-get remove hunspell-en-gb hunspell-en-za myspell-en-au 
myspell-en-gb myspell-en-za



Later,
JP
--  -------
JP Vossen, CISSP | http://www.jpsdomain.org/ | http://bashcookbook.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] Spell Check Plugin Interface and Dependencies

2017-06-01 Thread JP Vossen

On 06/01/2017 09:15 AM, Bo Grimes wrote:

On Wed, May 31, 2017, at 08:30 PM, JP Vossen wrote:

Wait, I re-read the original, but I can't see the screen shot.  You said
"gtkspell fails" but is "gtkspellcheck" OK?  You only need ONE of them!

Bug 72 has a list of the packages installed, and the 2 step process that
fixed it for me.  Admittedly, I have 67~rc1 from the PPA, not your 0.65.

How do you have "gtkspell" because that's NOT in the Mint repos anymore.
   Maybe there is confusion there?


It's in mine, apparently. (screen shot)


Yes it is.  I wonder where it came from?  What does `apt-cache show 
python-gtkspell` say?  (You can just copy and paste the output into the 
email.)


Was your Mint-18 a new install, or an upgrade?  Because my Mint-17 
*does* have that exact same one:


## Mint-17.3:
$ apt-cache show python-gtkspell | cat -n
  1 Package: python-gtkspell
  2 Priority: optional
  3 Section: universe/python
  4 Installed-Size: 127
  5 Maintainer: Ubuntu Developers 
<ubuntu-devel-disc...@lists.ubuntu.com>

  6 Original-Maintainer: Sebastien Bacher <seb...@debian.org>
  7 Architecture: amd64
  8 Source: gnome-python-extras
  9 Version: 2.25.3-13
 10 Replaces: python-gnome2-extras (<< 2.19.1-4), 
python-gnome2-extras-doc
 11 Depends: libc6 (>= 2.2.5), libglib2.0-0 (>= 2.12.0), 
libgtk2.0-0 (>= 2.8.0), libgtkspell0 (>=  11 2.0.10), python (>= 
2.7), python (<< 2.8), python-gtk2
 12 Breaks: python-gnome2-extras (<< 2.19.1-4), 
python-gnome2-extras-doc
 13 Filename: 
pool/universe/g/gnome-python-extras/python-gtkspell_2.25.3-13_amd64.deb

 14 Size: 17808
 15 MD5sum: bc1631dea145a263e0189c6ec1a61005
 16 SHA1: cfd3ece201fe48bde9592933e9587109da2971eb
 17 SHA256: 
c01ba589256494585cdf10806f56512ae2134230a22b84a3839d85fe2b9ab8a7

 18 Description-en: Python bindings for the GtkSpell library
 19  This package contains bindings allowing to run Python programs 
using

 20  the GtkSpell library, that extends GTK+'s GtkTextView widget with
 21  support for spell-checking.
 22 Description-md5: c6f03fae3a91ee312b2d15395c1a0d3c
 23 Homepage: http://www.pygtk.org/
 24 Bugs: https://bugs.launchpad.net/ubuntu/+filebug
 25 Origin: Ubuntu


Try this command, but *watch out* and make sure it doesn't want to 
remove more than you want it to!

sudo apt-get remove --purge python-gtkspell



Do you have "aspell" and any dictionaries?
What's the output from:
dpkg -l | grep 'spell' | cut -c 1-80


http://termbin.com/oylz
ii  aspell  0.60.7~20110707-3build1
ii  aspell-en   7.1-0-1.1
ii  dictionaries-common 1.26.3
ii  enchant 1.6.0-10.1build2
ii  geany-plugin-spellcheck 1.27+dfsg-2
ii  hunspell-en-gb  1:5.1.0-1ubuntu2.2
ii  hunspell-en-us  20070829-6ubuntu3
ii  hunspell-en-za  1:5.1.0-1ubuntu2.2
ii  iamerican   3.4.00-5
ii  ienglish-common 3.4.00-5
ii  ispell  3.4.00-5
ii  libaspell15:amd64   0.60.7~20110707-3build1
ii  libenchant1c2a:amd641.6.0-10.1build2
ii  libgtkspell02.0.16-1.1ubuntu1
ii  libgtkspell3-3-0:amd64  3.0.7-2
ii  libhunspell-1.3-0:amd64 1.3.3-4ubuntu1
ii  libkf5sonnet5-data  5.34.0-0ubuntu1~ubuntu16.0
ii  libkf5sonnetcore5:amd64 5.34.0-0ubuntu1~ubuntu16.0
ii  libkf5sonnetui5:amd64   5.34.0-0ubuntu1~ubuntu16.0
ii  myspell-en-au   2.1-5.4
ii  myspell-en-gb   1:5.1.0-1ubuntu2.2
ii  myspell-en-za   1:5.1.0-1ubuntu2.2
ii  python-enchant  1.6.6-2
ii  python-gtkspell 2.25.3-13
ii  python-gtkspellcheck3.0-1.1
ii  python-whoosh   2.7.0-1
ii  python3-enchant 1.6.6-2
ii  python3-gtkspellcheck   3.0-1.1
ii  python3-whoosh  2.7.0-1
ii  spell   1.0-24


This is what I have, on Mint-18.1 using zim-0.67~rc1~ubuntu16.04.1 from 
PPA, and spell check works:


ii  aspell0.60.7~20110707-3build1
ii  aspell-en 7.1-0-1.1
ii  dictionaries-common   1.26.3
ii  enchant   1.6.0-10.1build2
ii  geany-plugin-spellcheck   1.27+dfsg-2
ii  hunspell-en-us20070829-6ubuntu3
ii  libaspell15:amd64 0.60.7~20110707-3build1
ii  libenchant1c2a:amd64  1.6.0-10.1build2
i

Re: [Zim-wiki] Spell Check Plugin Interface and Dependencies

2017-05-31 Thread JP Vossen

On 05/31/2017 02:50 PM, Bo Grimes wrote:

On Wed, May 31, 2017, at 09:38 AM, JP Vossen wrote:

Lots of references and a possible solution in
https://github.com/jaap-karssenberg/zim-desktop-wiki/issues/72, though
it's for Zim 67~rc1 on Mint-18.1.


Thanks!  However, after reading through that I'll stick to the Spanish
because it's all Greek to me.


Wait, I re-read the original, but I can't see the screen shot.  You said 
"gtkspell fails" but is "gtkspellcheck" OK?  You only need ONE of them!


Bug 72 has a list of the packages installed, and the 2 step process that 
fixed it for me.  Admittedly, I have 67~rc1 from the PPA, not your 0.65.


How do you have "gtkspell" because that's NOT in the Mint repos anymore. 
 Maybe there is confusion there?


Do you have "aspell" and any dictionaries?

What's the output from:
dpkg -l | grep 'spell' | cut -c 1-80

...

If needed I'll rely on my usual fall back: open in default editor (edit
source for ZIM--wish there was a keyboard shortcut), spell check, save.


Ouch!

Later,
JP
--  -------
JP Vossen, CISSP | http://www.jpsdomain.org/ | http://bashcookbook.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] Spell Check Plugin Interface and Dependencies

2017-05-31 Thread JP Vossen
Lots of references and a possible solution in 
https://github.com/jaap-karssenberg/zim-desktop-wiki/issues/72, though 
it's for Zim 67~rc1 on Mint-18.1.


On 05/31/2017 03:29 AM, Jaap Karssenberg wrote:
This is a known issue that is fixed in upstream debian package - see 
github issues for the gtkspellcheck package.


-- Jaap

On Wed, May 31, 2017 at 9:19 AM Bo Grimes <vcg...@fastmail.com 
<mailto:vcg...@fastmail.com>> wrote:


Zim .65 on Mint 18.1

I have both gtkspell and gtkspellcheck at the latest versions (2.25.3-13
and 3.0-1.1 respectively), and yet the plugin says gtkspell fails
(screenshot).

Also, though I have the language set to EN, and the suggestions are in
English, the interface language appears to be Spanish (screenshot).

Any ideas?

Thanks,
Bo Grimes

Later,
JP
--  -------
JP Vossen, CISSP | http://www.jpsdomain.org/ | http://bashcookbook.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] Zim release 0.66

2017-04-29 Thread JP Vossen
Just went from 0.65 to 0.66 from the PPA on my Linux Mint 17.3 and 
it's...AWESOME!


As far as I can tell "[Bug 1513766] Re: ZIM 0.65 Ctrl+Home didn`t work" 
is really fixed.  I can't confirm 100% because I'd hacked it long ago 
but...it still works after the update from PPA, so that's a good sign. :-)


The particularly killer features for me are excerpted below and thus far 
they seem to work great.



On 04/28/2017 11:11 AM, Jaap Karssenberg wrote:

=== 0.66 - Fr 28 Apr 2017 ===

...

* Detect pages have changed on disk, even when page present in cache

...

* Context menu defined for checkboxes
* Horizontal lines "" added to wiki syntax -- Pavel_M

...

* Linesorter plugin: added keybindings to move / duplicate / delete lines
  -- Johannes Kirschner

...


Thanks,
JP
--  -------
JP Vossen, CISSP | http://www.jpsdomain.org/ | http://bashcookbook.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] page modified but... really?

2016-11-05 Thread JP Vossen

04.11.2016 17:24 időpontban Alberto Valverde ezt írta:


Hi list,

very often when I am enjoying zim wiki in windows 7, I get a warning
saying that the page I am working on has been modified. I think this
happens because my hard disk is encrypted by PGP, or because some
other security software did some changes on it

When this happens, the only option I need (overwrite and ignore
whatever or whoever did unauthorized changes) is not available.
Furthermore, I can't find an option to configure a default behaviour
for this kind of situations.

Since this is very frequent, and I am using a corporate computer which
has a standard platform ... something makes me think that the
algorithm used for detecting changes is detecting false positives. I
mean, maybe the checksum changed, but not the content

Please could you check the checking method and add an option to ignore
changes and overwrite them?


On 11/05/2016 05:50 AM, Mukli Krisztián wrote:
> Hi keeweel!
>
> Same issue here, I experienced similar using with Windows 7 without
> encryption, Windows 10 with or without Bitlocker, Debian 8 with LUKS. So
> I think, this issue is independent from encryption. By the way, I often
> get this warning, when cloud-syncing client synchronizing the actually
> edited page (I'm using owncloud client, but maybe same issue with other
> clients). When this happening, owncloud-client finding confliction and
> create a new file with same name and .conflict extension.
>
> This is only my observation, but I interested to yours and others
> experiences. Yes, overwriting function should be useful, but lack of
> this function maybe has technical reasons.

+1 for this idea.

I have not noticed false positives.  My notebook lives on a remote drive 
and I sometimes accidentally do modify the same page from 2 places. 
When that happens I know which one I want to keep, but since I can't 
overwrite I have to do manually delete the on-disk file then re-save 
from the correct instance.


Thanks,
JP
--  -------
JP Vossen, CISSP | http://www.jpsdomain.org/ | http://bashcookbook.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] Zim 0.65 for Windows released

2016-01-20 Thread JP Vossen
On 01/18/2016 08:20 AM, Brendan Kidwell wrote:
> Zim for Windows home: http://www.glump.net/software/zim-windows
> 
> -- Desktop Installer --
> http://www.glump.net/files/release/zim-windows/Zim-setup-0.65_2016-01-18.exe
> 
> -- Portable Installer --
> http://www.glump.net/files/release/zim-windows/ZimDesktopWikiPortable_0.65.paf.exe
> 
> -- Verify --
> http://www.glump.net/files/release/zim-windows/Zim-setup-0.65_2016-01-18.exe.md5
> http://www.glump.net/files/release/zim-windows/Zim-setup-0.65_2016-01-18.exe.sig
> http://www.glump.net/files/release/zim-windows/ZimDesktopWikiPortable_0.65.paf.exe.md5
> http://www.glump.net/files/release/zim-windows/ZimDesktopWikiPortable_0.65.paf.exe.sig
> GPG key ID: C6EEFFD785B2801B
> 
> 
> Built from rev 805 (release 0.65) on a bare Windows 7 64-bit virtual
> machine, targeting 32-bit or 64-bit Windows. Tested on Windows 7 64-bit.

Portable works on Win8.1, though for some reason I need to start it
using a trivial batch file or else I get errors.  I blame my locked-down
$WORK machine for that.
- all on 1 line, your path will vary
@start %USERPROFILE%\apps\ZimDesktopWikiPortable\App\ZimDesktopWiki\zim.exe
-


> Note: I mentioned in the last release I'd get Zim for Windows working
> with gtkspellchecker / PyGTKSpellCheck. I tried. I couldn't get it to
> work, and it is not included in this release.

Possible clues:
* https://lists.launchpad.net/zim-wiki/msg01934.html
* https://lists.launchpad.net/zim-wiki/msg01458.html


But you did include the Bookmark Bar!!!  Awesome, thanks, that's a
killer feature for me!

Thanks,
JP
--  -------
JP Vossen, CISSP | http://www.jpsdomain.org/ | http://bashcookbook.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] Pasting from PowerPoint as text?

2016-01-07 Thread JP Vossen
You can usually do an intermediate step where you paste into a "dumb"
editor that does not support any kind of rich text, then copy from there
and paste into Zim.  Gedit, Notepad, and Text Editor are all good for
that.  I use that trick all the time to clear all kinds of cruft out of
stuff when I just want the plain text.  You lose all formatting, but for
me, 95% of the time that's the point anyway.

OK, I lied slightly.  I used to use the editor trick above, but now I
mostly have a command line: 'read the clipboard | do stuff | write the
clipboard' trick.  I do something like the following to do both the
above and trim leading/trailing white space.  Note this is untested
as-written because it's adapted and simplified from some crufty scripts
and aliases:

Linux:
xsel -b | perl -pe 's/^\s+//; s/\s+$/\n/;' | /xsel -bi

Mac:
pbpaste | perl -pe 's/^\s+//; s/\s+$/\n/;' | pbcopy

Windows (Requires UnxUtils and ActivePerl (or could use UnxUtils `sed`))
getclip | perl -pe "s/^\s+//; s/\s+$/\n/;" | putclip


On 01/07/2016 10:16 AM, Paulo van Breugel wrote:
> Same seems to be true for excel, which is in that case actually very
> convenient / handy:
> https://github.com/jaap-karssenberg/zim-wiki/wiki/Create-a-table-using-LibreOffice%2C-OpenOffice-or-Excel
>
> On Thu, Jan 7, 2016 at 4:08 PM, Jaap Karssenberg
> <jaap.karssenb...@gmail.com <mailto:jaap.karssenb...@gmail.com>> wrote:
>
> Hi Marco,
>
> Sorry for the late reply. This is an issue that is bugging me as
> well. Problem is that applications need to negotiate about the
> format to use, looks like powerpoint prefers images over plain
> text. Will need some investigation to get it to work differently.
>
> Regards,
>
> Jaap
>
>
> On Tue, Nov 10, 2015 at 9:20 PM, Marco Cevoli
> <marco.cev...@gmail.com <mailto:marco.cev...@gmail.com>> wrote:
>
> Hi,
>
> when I copy and paste text from Microsoft PowerPoint into Zim
> Wiki,
> the text is pasted as an image. Is this the expected behaviour? Is
> there an option to always paste text as plain text? Maybe it's
> a PPT
> issue... I don't know...
>
>     Thanks in advance
>
> Marco Cevoli
>

Later,
JP
--  ---
JP Vossen, CISSP | http://www.jpsdomain.org/ | http://bashcookbook.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] CTRL-Home not working on 0.65?

2015-11-21 Thread JP Vossen
On 11/21/2015 06:59 AM, Pl wrote:
> Hi,
> The same also in Windows. I think it is a common issue. This was
> reported as bug in launchpad (https://bugs.launchpad.net/zim/+bug/1513766).

Thank you, I've added myself.  What I find interesting is that I looked
for bugs on 2015-11-12 before I asked here and I found zero open bugs
for Zim.  Yet 1513766 was reported before that on 2015-11-05.  So I must
have looked...poorly.

> On 19.11.2015 2:04, JP Vossen wrote:
>> It does work as expected on 0.60 on stock Linux Mint 17.
>>
>> It this really only affecting 2 people?  Any clues?

Thanks,
JP
|:::==|-------
JP Vossen, CISSP|:::==|  http://bashcookbook.com/
My Account, My Opinions |=|  http://www.jpsdomain.org/
|=|---
"Microsoft Tax" = the additional hardware & yearly fees for the add-on
software required to protect Windows from its own poorly designed and
implemented self, while the overhead incidentally flattens Moore's Law.

___
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] CTRL-Home not working on 0.65?

2015-11-18 Thread JP Vossen
It does work as expected on 0.60 on stock Linux Mint 17.

It this really only affecting 2 people?  Any clues?


On 11/16/2015 12:55 AM, Sylvain Viart wrote:
> Hi,
>
> Not working for me neither, you're right.
>
> Sylvain.
>
> On 12/11/2015 20:36, JP Vossen wrote:
>> I've noticed that CTRL-Home is going to start-of-line rather than
>> top-of-file in Zim 0.65.

Later,
JP
|:::==|-------
JP Vossen, CISSP|:::==|  http://bashcookbook.com/
My Account, My Opinions |=|  http://www.jpsdomain.org/
|=|---
"Microsoft Tax" = the additional hardware & yearly fees for the add-on
software required to protect Windows from its own poorly designed and
implemented self, while the overhead incidentally flattens Moore's Law.

___
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] New Plugin: BookmarksBar

2015-09-12 Thread JP Vossen
On 09/12/2015 06:00 AM, Pl wrote:
> Hi, Mario.
> 
> There is an option 'Save bookmarks' in plugin configuration (Edit >
> Preferences > Plugins > BookmarksBar > Configure). If you check it, the
> plugin will save bookmarks between sessions.

+1 to make that the default, but not a big deal.


> To All:
> 
> Thanks to all for your feedbacks. Now there is another update – I have
> implemented some of yourrequests and also added some of mine. Anybody
> who wantsto test it welcome to the“[Feature Request] BookmarksBar
> plugin” topic in launchpad.

Awesome!  Thank you for the ability to use the short name and to change
the order of bookmarks!  I've been using this for the last week and it
has made a nice "quality of life" difference.  It's not huge, but
sometimes it's those little things that matter, and to me this is one of
them.

> Some Remarks.
> 
> I really would like to introduce Drag for reordering bookmarks but
> it is buggy (at least in Win). As I understand the reason is GTK2. I
> hope that the situation with GTK3 will bebetter and Zim is going to be
> ported to GTK3 (at least I saw that Jaap Karssenberg created such
> branch). After that I could try to introduce DnD again. Until then use
> new Copy/Paste menu options to reorder bookmarks.

Works for me, though "copy" is a bit misleading.  I "copy" then "paste"
but it really does a "move" but copy implies that I'd end up with 2.
I'd vote to change "copy" to "cut" since that's really what it does,
though I can understand why you might not want to use that word.  I
can't think of a better word though, and this is the classic case of
cut/paste.

> I introduced limit to the number of bookmarks simply because I don't see
> a need in creating many bookmarks - it will be inconvenient to work with
> them (there is no quick view for bookmarks, no grouping, no icons, no
> backups, no quick search...). If there are too many pages to keep it may
> be better to use other instruments like tags - there is a number of
> useful plugins for working with them thanks to other plugin writers.
> There may be other approaches: it is possible to make a bookmark of a
> parent page where all important pages are and then click on this bookmark
> and pick sub pages from the Index. Also it is possible to create a page
> where links to other pages will be saved and put this page as a bookmark
> to the bar.

As it works now is *perfect* for me.  If I really want to change the
limit it's easy to find in the code.  I have 7 now, and could see a few
more (since they are now smaller).  15 works for me.

Part of my "hack" for getting the "recent" bar to behave like the
bookmark bar was a page of links.  But then I had to go click them all
to "load" the recent bar, and after that I was afraid of going to so
other page since that would mess me up.  Bookmarks solve all of that!

Thanks,
JP
|:::==|---
JP Vossen, CISSP|:::==|  http://bashcookbook.com/
My Account, My Opinions |=|  http://www.jpsdomain.org/
|=|---
"Microsoft Tax" = the additional hardware & yearly fees for the add-on
software required to protect Windows from its own poorly designed and
implemented self, while the overhead incidentally flattens Moore's Law.

___
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] New Plugin: BookmarksBar

2015-09-05 Thread JP Vossen
On 09/05/2015 01:45 PM, JP Vossen wrote:
> On 09/05/2015 05:40 AM, Vagn Bjørno wrote:
>> Humble feature requests:
>>
>> The bookmarks in a tab in the sidepane instead of in a bar, just like
>> Toc & Tags tabs, eventually set through the plugin Prefences dialog,
>> thus giving the possibility to choose. I image that this could remove
>> the ten bookmarks limitation.
> 
> Huh?  Then how would this be different from the Index tab?
> 
>> Keyboard shortcuts for bookmarking and toggling BookmarksBar.
> 
> That might be useful.  And for switching between bookmarks?  THAT would
> be really handy.

Just thought of another one, people will need to be able to re-order
bookmarks.  Drag would be awesome, but even a note in the docs
about editing '~/.cache/zim//state.conf' would be useful.

Thanks,
JP
--------|:::==|---
JP Vossen, CISSP|:::==|  http://bashcookbook.com/
My Account, My Opinions |=|  http://www.jpsdomain.org/
|=|---
"Microsoft Tax" = the additional hardware & yearly fees for the add-on
software required to protect Windows from its own poorly designed and
implemented self, while the overhead incidentally flattens Moore's Law.

___
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] New Plugin: BookmarksBar

2015-09-05 Thread JP Vossen
That did it, thank you for the help and the plugin!

I have a few notes.

* As expected, 0.60 did not work, I had to use the PPA 0.63 on Linux
Mint 17.

* My work machine does not display the Toolbar, so I installed the
plugin, restarted, checked "Edit > Prefs > Plugins > BookmarksBar"
and...nothing happened.  I had to turn on my toolbar so I could then
turn on the bookmarks bar.  That's already pretty clear in the docs, I
mention it only because it took me a moment to figure out why it "didn't
work" after I enabled it.

* This is awesome!  It is something I've been faking by using "View >
Pathbar > Recent pages" but obviously that is dynamic.  What I really
wanted was...this!  I've been meaning to get around to asking for it...

* +1 for an *option* to display only the page name without the full path
(like "View > Pathbar > Recent pages" does).

Jaap, PLEASE consider making this an official (perhaps core?) plugin!
At the very least, Pl, please consider moving it in to
https://github.com/jaap-karssenberg/zim-wiki/wiki so more folks can find it.

Meanwhile, for the record, here is what I did to get the Bookmark plugin
to work on Linux Mint 17:
$ sudo add-apt-repository ppa:jaap.karssenberg/zim
$ sudo aptitude update
$ sudo aptitude install zim
$ wget
'https://bugs.launchpad.net/zim/+bug/1489944/+attachment/4457755/+files/bookmarksbar.py'
$ wget
'https://bugs.launchpad.net/zim/+bug/1489944/+attachment/4456183/+files/add-bookmark.png'
$ wget
'https://bugs.launchpad.net/zim/+bug/1489944/+attachment/4457758/+files/BookmarksBar.txt'
$ [ -d /usr/share/zim/plugins ] || sudo mkdir /usr/share/zim/plugins
$ sudo mv -v bookmarksbar.py  /usr/share/zim/plugins
$ sudo mv -v add-bookmark.png /usr/share/zim/pixmaps
$ sudo mv -v BookmarksBar.txt /usr/share/zim/manual/Plugins/

Thanks again to Pl, and as always to Jaap.


On 09/05/2015 04:27 AM, Pl wrote:
> As far as Zim 0.60 is concerned I didn't tried it but as I know it uses
> different API for plugins so it is unlikely that you can launch the
> plugin in 0.60.
> 
> In case of Linux Mint you should use another directory for plugin and
> icon: '/usr/share/zim/plugins' and '/usr/share/zim/pixmaps' (and there
> is no need to change line-endings in the plugin file).
> So I tried to launch the plugin on Linux Mint 17 (Zim 0.63 from ppa) and
> it worked.
> 
> By the way, there is a new version available. 
> 
> Regards, Pl
> 
> 
> 2015-09-05 9:21 GMT+04:00 JP Vossen <j...@jpsdomain.org
> <mailto:j...@jpsdomain.org>>:
> 
> I can't get this working on Linux Mint 17 using either Zim 0.60 (stock)
> or 0.63 (from PPA).
> 
> /usr/share/pyshared/zim/plugins$ ll
> ...
> -rw-r--r-- 1 root root 4.3K Jun 14 15:17 backlinkpane.py
> drwxr-xr-x 2 root root 4.0K Sep  5 00:51 base/
> -rw-r--r-- 1 root root 8.9K Sep  2 10:22 bookmarksbar.py
> -rw-r--r-- 1 root root  16K Jun 14 15:17 calendar.py
> ...
> 
> /usr/share/zim/pixmaps$ ll
> total 48K
> -rw-r--r-- 1 root root 1.6K Sep  2 10:22 add-bookmark.png
> -rw-r--r-- 1 root root  978 Jun 14 15:17 attachment.png
> -rw-r--r-- 1 root root  648 Jun 14 15:17 calendar.png
> ...
> 
> I see nothing using in `zim -V` or `zim -D` output.  I do not see the
> plugin in "Zim > Edit > Preferences > Plugins" nor do I see any changes
> to the toolbar.
> 
> I did notice that the "bookmarksbar.py" file I downloaded had CRLF
> line-endings and I know that makes Perl barf, so I converted the file to
> LF only, but no change.
> 
> Clues?

|:::==|---
JP Vossen, CISSP|:::==|  http://bashcookbook.com/
My Account, My Opinions |=|  http://www.jpsdomain.org/
|=|---
"Microsoft Tax" = the additional hardware & yearly fees for the add-on
software required to protect Windows from its own poorly designed and
implemented self, while the overhead incidentally flattens Moore's Law.

___
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] New Plugin: BookmarksBar

2015-09-04 Thread JP Vossen
I can't get this working on Linux Mint 17 using either Zim 0.60 (stock)
or 0.63 (from PPA).

/usr/share/pyshared/zim/plugins$ ll
...
-rw-r--r-- 1 root root 4.3K Jun 14 15:17 backlinkpane.py
drwxr-xr-x 2 root root 4.0K Sep  5 00:51 base/
-rw-r--r-- 1 root root 8.9K Sep  2 10:22 bookmarksbar.py
-rw-r--r-- 1 root root  16K Jun 14 15:17 calendar.py
...

/usr/share/zim/pixmaps$ ll
total 48K
-rw-r--r-- 1 root root 1.6K Sep  2 10:22 add-bookmark.png
-rw-r--r-- 1 root root  978 Jun 14 15:17 attachment.png
-rw-r--r-- 1 root root  648 Jun 14 15:17 calendar.png
...

I see nothing using in `zim -V` or `zim -D` output.  I do not see the
plugin in "Zim > Edit > Preferences > Plugins" nor do I see any changes
to the toolbar.

I did notice that the "bookmarksbar.py" file I downloaded had CRLF
line-endings and I know that makes Perl barf, so I converted the file to
LF only, but no change.

Clues?


On 09/02/2015 10:36 AM, Pl wrote:
> Hi,
> Thanks for your feedbacks.
> The newer version is available.
> 
> Change log:
> - The icon is added to the button in the toolbar (though you should
> install it by yourself - just copy 'add-bookmark.png' file to the
> 'pixmap' folder).
> - Now it is possible to add bookmark from the Index (from the popup menu).
> - Some minor changes.
> 
> Regards, Pl
> 
> 2015-08-30 23:36 GMT+04:00 Murat G <mur...@online.de
> <mailto:mur...@online.de>>:
> 
> Hi Pi Pi,
>  
> very nice idea. Thank you for this plugin... I will definitively use it.
>  
> Following Paulo's comment, I suggest the add stock icon:
>  
> 
> @action(_('Add Bookmark'),stock='gtk-add',readonly=False)# T: menu item
> Regards,
> Murat
>  
>  
>  
> -- Originalnachricht --
> Von: "Paulo van Breugel" <p.vanbreu...@gmail.com
> <mailto:p.vanbreu...@gmail.com>>
> An: "Pl Pl" <plp...@gmail.com <mailto:plp...@gmail.com>>
> Cc: "zim-wiki email list" <zim-wiki@lists.launchpad.net
> <mailto:zim-wiki@lists.launchpad.net>>
> Gesendet: 30.08.2015 17:56:47
> Betreff: Re: [Zim-wiki] New Plugin: BookmarksBar
>  
>> OK, tried it, and it works fine. One small issue is that the new
>> button in the toolbar has no icon, so difficult to see.
>>
>> On Sun, Aug 30, 2015 at 5:51 PM, Paulo van Breugel
>> <p.vanbreu...@gmail.com <mailto:p.vanbreu...@gmail.com>> wrote:
>>
>> Nice, I'll give it a try. One suggestion, why not making it
>> available from the wiki (
>> https://github.com/jaap-karssenberg/zim-wiki/wiki).
>>
>>
>>
>> On Sun, Aug 30, 2015 at 1:49 PM, Pl Pl <plp...@gmail.com
>> <mailto:plp...@gmail.com>> wrote:
>>
>> Hello everybody!
>>
>> After using Zim for some time I have found this program
>> quite convenient and useful (thanks to Jaap Karssenberg).
>> And I thought that it would be nice to quickly switch
>> between some pages to edit them or to quickly move between
>> different places in the notebook. Also some pages have
>> important information and it would be useful to have them
>> always at hand.
>>
>> So I decided to make a plugin to create bookmarks which
>> are placed in a bar and are easily seen and accessible.
>>
>> You can find the plugin and help file with description of
>> available options in launchpad in Bugs section:
>> https://bugs.launchpad.net/zim/+bug/1489944
>>
>> Any recommendations regarding the plugin and translation
>> would be welcome. Testing and finding bugs is also
>> appreciated.

Thanks,
JP
|:::==|---
JP Vossen, CISSP|:::==|  http://bashcookbook.com/
My Account, My Opinions |=|  http://www.jpsdomain.org/
|=|---
"Microsoft Tax" = the additional hardware & yearly fees for the add-on
software required to protect Windows from its own poorly designed and
implemented self, while the overhead incidentally flattens Moore's Law.

___
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] Why isn't it possible to underline text

2015-01-10 Thread JP Vossen
On 01/10/2015 07:51 PM, ZP wrote:
 
 On Sat, 10 Jan 2015 17:46:08 -0700
 ZP zukepr...@gmail.com wrote:
 
 On Sat, 10 Jan 2015 22:47:27 +0100
 Udo Weik weikeng...@aol.com wrote:
 I'm realy astonished that it isn't possible to underline text.
 Any comments?

 --
 Very simple. Claws mail is a plain text only client. If you want to compose 
 in html (i.e., using bold, italics, underline, etc.) then you'll need 
 another e-mail client (Evolution, Thunderbird, Outlook, and so on.)

 There's a growing trend to get back to old school...which is the new 
 school, and rightly so. Plain text is simpler to read and produces smaller 
 e-mails. If I need to emphasize a word or phrase, then I'll just bracket it 
 in asterisks, *like so*.

 With the advent and popularity of markdown, I wouldn't be surprised to see 
 the adaptation of markdown interpreters to show some formatting, while 
 retaining simple plain text. Even without that functionality, you'll find 
 the markdown format guidelines can actually help you produce better text 
 email.

 Have a look:
 http://daringfireball.net/projects/markdown/syntax
 
 LOL!!!  Disregard Udo.  I thought I was on the Claws-Mail list.  I'm such a 
 dork!  Hahopefully I didn't confuse you there.

What's really funny is that the answer is still more-or-less the same,
at least in sprite.  :-)

Later,
JP
|:::==|---
JP Vossen, CISSP|:::==|  http://bashcookbook.com/
My Account, My Opinions |=|  http://www.jpsdomain.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] New widget for inline ToC

2013-12-06 Thread JP Vossen

On 12/06/2013 02:45 PM, Jaap Karssenberg wrote:

On Fri, Dec 6, 2013 at 8:41 PM, Adrian Fita adrian.f...@gmail.com wrote:


  This is nice! The old widget was a bit clunky.

...

The widget grows till a max of half the width of the page and 3/4 of the
page length, after that there will be scrollbars in the widget.

Clicking the top part (ToC) will fold up the widget and leave a minimal
area.

Yes it scales position with the window, even in fullscreen.


Will the old clunky one still be an option?  I mean the 0.60 left side 
panel tab version.  I'm kind of used to that one and I like the fact 
that it's out of the way and separate from the page itself, unlike this 
new one (which I do admit is pretty cool).


Regardless, thanks for a great tool!
JP
|:::==|---
JP Vossen, CISSP|:::==|  http://bashcookbook.com/
My Account, My Opinions |=|  http://www.jpsdomain.org/
|=|---
Microsoft Tax = the additional hardware  yearly fees for the add-on
software required to protect Windows from its own poorly designed and
implemented self, while the overhead incidentally flattens Moore's Law.

___
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 on /.

2013-08-18 Thread JP Vossen

http://it.slashdot.org/story/13/08/18/124202/experiences-and-realities-of-an-homesourced-it-worker
 
http://tidbitsfortechs.blogspot.com/2013/08/the-realties-of-working-from-home-in-it.html


[...]
... forget about taking notes. You need a wiki. I use Zim Personal Wiki 
myself and it is sufficient. It runs on my computer and I don't need a 
web server for it, and its fast. Otherwise its rather boring, but it 
gets the job done. In fact, I would not be able to do my job properly 
without something like it! ...

[...]

I'll second the motion.  And I'd also say that boring is a Good Thing 
here, since gets the job done is what is needed, not flashy.


Congrats,
JP
|:::==|---
JP Vossen, CISSP|:::==|  http://bashcookbook.com/
My Account, My Opinions |=|  http://www.jpsdomain.org/
|=|---
Microsoft Tax = the additional hardware  yearly fees for the add-on
software required to protect Windows from its own poorly designed and
implemented self, while the overhead incidentally flattens Moore's Law.

___
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] Bug in table of content?

2013-02-21 Thread JP Vossen

On 02/22/2013 02:06 AM, Joerg Desch wrote:
 I'm using ZIM 0.59 from the Ubuntu repository. At least with this
 release, I discovered a bug in the table of content plugin. If you
 use two equal headlines, the plugin always jumps to the first one. I
 have not tried this with previous versions.

 Can somebody confirm this behavior? Thanks.

Yes.  But the behavior seems to be to always jump to the line *below* 
(sort-of) the current cursor location, which is not always the first 
headline.


I'm running 0.59 from source on WinXP (don't ask).  I have a page with 2 
identical Heading1 lines (just a bunch of - as a separator), call them 
A and B.


1) If the current cursor is above A, and I click on *either* ToC entry I 
always go to A.


2) If the current cursor is below A but above B, and I click on *either* 
ToC entry I always go to B.


3) If the current cursor is below B, and I click on *either* ToC entry I 
always go to A.


I noticed this recently, but don't really care since I have other unique 
ToC/headers I can jump to instead.


Later,
JP
|:::==|---
JP Vossen, CISSP|:::==|  http://bashcookbook.com/
My Account, My Opinions |=|  http://www.jpsdomain.org/
|=|---
Microsoft Tax = the additional hardware  yearly fees for the add-on
software required to protect Windows from its own poorly designed and
implemented self, while the overhead incidentally flattens Moore's Law.

___
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] c:\Program Files\zim-0.58\zim.pyw fails for 0.58

2012-12-18 Thread JP Vossen

On 12/18/2012 02:57 AM, Jaap Karssenberg wrote:

Probably you have to use the --standalone switch in this case. This
was also reported for version 0.57.


Yup, that worked.  And now that you mention it, I vaguely remember that.

So either of these work in a shortcut:
C:\Program Files\zim\zim.pyw --standalone
--or--
C:\Python26\pythonw.exe c:\Program Files\zim\zim.pyw --standalone

(Anyone who gets here via search engine, note my previous message 
detailing where zim.pyw came from.)




If with -D it indeed works, it might be due to the way we handle
STDIN and STDOUT, without -D these are closed when the process forks
to start a background process.


Beats me.  What do --standalone and -D have in common?


Semi-related, 0.56 used to add an extra CR (and/or LF?) when copying 
text to the Windows clipboard, and that drove me nuts.  0.58 doesn't 
seem to do that anymore, so...thanks.


Later,
JP
|:::==|---
JP Vossen, CISSP|:::==|  http://bashcookbook.com/
My Account, My Opinions |=|  http://www.jpsdomain.org/
|=|---
Microsoft Tax = the additional hardware  yearly fees for the add-on
software required to protect Windows from its own poorly designed and
implemented self, while the overhead incidentally flattens Moore's Law.

___
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] c:\Program Files\zim-0.58\zim.pyw fails for 0.58

2012-12-18 Thread JP Vossen

On 12/18/2012 05:56 AM, Jaap Karssenberg wrote:


Just tested on my own system, but for me running pythonw *without*
--standalone works just fine. Executed with a shortcut terminal pops
up briefly but closes automatically when zim window pops up. (Which
makes sense as the initial process quits ones the background process
is started.)

Using python 2.7 on windows 7.


Of sorry, I should have noted that.  I'm running Python 2.6.6 in a WinXP 
VM in VMware Player on top of Win7 (don't ask).  Other details as noted 
in https://lists.launchpad.net/zim-wiki/msg01934.html


Later,
JP
|:::==|---
JP Vossen, CISSP|:::==|  http://bashcookbook.com/
My Account, My Opinions |=|  http://www.jpsdomain.org/
|=|---
Microsoft Tax = the additional hardware  yearly fees for the add-on
software required to protect Windows from its own poorly designed and
implemented self, while the overhead incidentally flattens Moore's Law.

___
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] c:\Program Files\zim-0.58\zim.pyw fails for 0.58

2012-12-18 Thread JP Vossen

On 12/19/2012 01:41 AM, JP Vossen wrote:

On 12/18/2012 05:56 AM, Jaap Karssenberg wrote:


Just tested on my own system, but for me running pythonw *without*
--standalone works just fine. Executed with a shortcut terminal pops
up briefly but closes automatically when zim window pops up. (Which
makes sense as the initial process quits ones the background process
is started.)

Using python 2.7 on windows 7.


Of sorry, I should have noted that.  I'm running Python 2.6.6 in a WinXP
VM in VMware Player on top of Win7 (don't ask).  Other details as noted
in https://lists.launchpad.net/zim-wiki/msg01934.html


Hit send too fast.

Also, my command shell is an old 4NT (6.01.242U) from JP Software (no 
relation :), not cmd.exe.  But that should not affect shortcut 
operation, which is where my problem was.


Later,
JP
|:::==|---
JP Vossen, CISSP|:::==|  http://bashcookbook.com/
My Account, My Opinions |=|  http://www.jpsdomain.org/
|=|---
Microsoft Tax = the additional hardware  yearly fees for the add-on
software required to protect Windows from its own poorly designed and
implemented self, while the overhead incidentally flattens Moore's Law.

___
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] c:\Program Files\zim-0.58\zim.pyw fails for 0.58

2012-12-17 Thread JP Vossen

zim-0.56 was running fine using: c:\Program Files\zim-0.56\zim.pyw
I didn't upgrade to zim-0.57 because of the reported Windows issues.
Trying to run zim-0.58 fails as follows:

FAILS from CLI and shortcut:
c:\Program Files\zim-0.58\zim.pyw  # - WORKS for 0.56
C:\Python26\pythonw.exe c:\Program Files\zim-0.58\zim.pyw
Works from CLI and shortcut:
c:\Program Files\zim-0.58\zim.pyw -D   # Huh?
C:\Python26\pythonw.exe c:\Program Files\zim-0.58\zim.pyw -D
# But no debug output on console, not surprisingly
C:\Python26\python.exe c:\Program Files\zim-0.58\zim.pyw
# Shortcut opens DOS box that can then be closed, CLI doesn't
# Either way get INFO: Locale set to: en_US.cp1252
C:\Python26\python.exe c:\Program Files\zim-0.58\zim.pyw -D
# Shortcut opens DOS box that can then be closed, CLI doesn't
# Either way get INFO: Locale set to: en_US.cp1252  debug 
info

So why does the ...zim.pyw command that previously worked fail, but 
the same command with -D works?  Ditto the prefixed 
'C:\Python26\pythonw.exe c:\Program Files\zim-0.58\zim.pyw' commands?


My work-around for now is to set my shortcut as follows and just close 
the extra console:

Target:   C:\Python26\python.exe c:\Program Files\zim-0.58\zim.pyw
Start in: C:\Program Files\zim-0.58\

My upgrade process was:

Notes:
* NOT using Cygwin, the Unix tools are the native .exe UNXUtils [1]...
* Using tarball to make Spell checking work (see previous mailing list 
posts)


1) cd C:\Program Files\
2) wget http://zim-wiki.org/downloads/zim-0.58.tar.gz
3) gunzip zim-0.58.tar.gz
4) tar xf zim-0.58.tar
5) copy zim-0.58\zim.py zim-0.58\zim.pyw   # Note 0.58 -- 0.58
6) meld zim-0.56\zim.pyw zim-0.58\zim.pyw  # Note 0.56 -- 0.58
# Added 1 line import enchant for spelling [2]
7) Update Shortcut 0.56 -- 0.58 = fails, see above


---
Footnotes:

[1] AWESOME UNXUtils: http://en.wikipedia.org/wiki/UnxUtils
[2] C:\Program Files diff -u zim-0.58\zim.py zim-0.58\zim.pyw
--- zim-0.58\zim.py  Wed Aug 15 14:19:55 2012
+++ zim-0.58\zim.pyw Mon Dec 17 16:42:26 2012
@@ -3,6 +3,7 @@
 import sys
 import logging
 import os
+import enchant

 # Check if we run the correct python version
 try:


Thanks,
JP
|:::==|---
JP Vossen, CISSP|:::==|  http://bashcookbook.com/
My Account, My Opinions |=|  http://www.jpsdomain.org/
|=|---
Microsoft Tax = the additional hardware  yearly fees for the add-on
software required to protect Windows from its own poorly designed and
implemented self, while the overhead incidentally flattens Moore's Law.

___
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 check on windows

2012-11-23 Thread JP Vossen

I'm a pretty new user, but no, not that I've been able to find.


On 11/23/2012 09:00 PM, Charles Medcoff wrote:

Hmm, nothing for non-source, windows/packaged installs?

-Original Message-
From: JP Vossen [mailto:j...@jpsdomain.org]
Sent: Tuesday, November 13, 2012 2:35 PM
To: zim-wiki@lists.launchpad.net
Cc: klo uo; Charles Medcoff
Subject: Re: [Zim-wiki] spell check on windows

See here: https://lists.launchpad.net/zim-wiki/msg01934.html
and here: https://lists.launchpad.net/zim-wiki/msg01998.html
and here: https://lists.launchpad.net/zim-wiki/msg01458.html


On 11/13/2012 07:20 AM, klo uo wrote:

IMHO, not worth the trouble.
I tried and stucked after trying to pair enchant dependency to
gtk-spell package, which although properly installed (after much
trouble) it simply didn't accept any dictionary. It was awful
experience I won't recommend to anyone

Even Zim Windows installer doesn't have it


On Tue, Nov 13, 2012 at 12:47 PM, Charles Medcoff

cmedc...@hotmail.comwrote:



Is there a recipe for getting spellcheck to work on windows?

** **

--chuck


Later,
JP
|:::==|---
JP Vossen, CISSP|:::==|  http://bashcookbook.com/
My Account, My Opinions |=|  http://www.jpsdomain.org/
|=|---
Microsoft Tax = the additional hardware  yearly fees for the add-on
software required to protect Windows from its own poorly designed and
implemented self, while the overhead incidentally flattens Moore's Law.

___
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 check on windows

2012-11-13 Thread JP Vossen

See here: https://lists.launchpad.net/zim-wiki/msg01934.html
and here: https://lists.launchpad.net/zim-wiki/msg01998.html
and here: https://lists.launchpad.net/zim-wiki/msg01458.html


On 11/13/2012 07:20 AM, klo uo wrote:

IMHO, not worth the trouble.
I tried and stucked after trying to pair enchant dependency to gtk-spell
package, which although properly installed (after much trouble) it simply
didn't accept any dictionary. It was awful experience I won't recommend to
anyone

Even Zim Windows installer doesn't have it


On Tue, Nov 13, 2012 at 12:47 PM, Charles Medcoff cmedc...@hotmail.comwrote:


Is there a “recipe” for getting spellcheck to work on windows?

** **

--chuck



Later,
JP
|:::==|---
JP Vossen, CISSP|:::==|  http://bashcookbook.com/
My Account, My Opinions |=|  http://www.jpsdomain.org/
|=|---
Microsoft Tax = the additional hardware  yearly fees for the add-on
software required to protect Windows from its own poorly designed and
implemented self, while the overhead incidentally flattens Moore's Law.

___
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] Attachments don't move with pages? (Windows)

2012-11-07 Thread JP Vossen

On 11/07/2012 03:02 AM, Jaap Karssenberg wrote:

On Wed, Nov 7, 2012 at 6:13 AM, hans...@gmail.com wrote:


OT - are there any instructions on getting spellcheck to work on Windows?
I've got Python-driven apps set up, but everything's portable so most
likely will need batch files to set EnVars, modify the PATH etc. . .



If I'm not mistaken there was a discussion on this list last month.


I said something about it here 
https://lists.launchpad.net/zim-wiki/msg01934.html, but basically I 
blindly followed this https://lists.launchpad.net/zim-wiki/msg01458.html.


Later,
JP
|:::==|---
JP Vossen, CISSP|:::==|  http://bashcookbook.com/
My Account, My Opinions |=|  http://www.jpsdomain.org/
|=|---
Microsoft Tax = the additional hardware  yearly fees for the add-on
software required to protect Windows from its own poorly designed and
implemented self, while the overhead incidentally flattens Moore's Law.

___
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] Some quick questions

2012-10-12 Thread JP Vossen
I recently switched to Zim from really old NoteCase, and I love it, but 
I have a few quick questions.


First, like someone else on the list I'm running a 0.56 instance on 
Windows from the tarball using zim.pyw.  That's so I can get the spell 
checker to work, which it now does, but startup is slow and RAM use 
seems to be way up over the zim.exe method.  Is there a better way? 
In-line spell checking is a killer feature for me, as unfortunately, is 
Windows for $WORK (Ubuntu otherwise).  (And I didn't upgrade to 0.57 due 
to reported PythonW problems.)


Second, are there key-bindings for list types (on Windows)?  I'm aware 
of * and  when text is selected, but unlike the CTRL-1, CTRL-B, 
etc. bindings, those won't change from say checkbox to bullet, which I 
do a lot.


Third, I love the checkboxes, but it would be nice if there were more 
options.  Specifically, I'd really like something for in progress. 
And maybe some others, in decreasing order of importance?


[~] in progress

[w] Waiting for someone else
[#] Comment
[!] Important (I use CTRL-U now)
[$] Command to type

[?] Questionable
[e] Incoming email
[E] Outgoing email
[p] Incoming phone call
[P] Outgoing phone call
[c] Con call

These might be handy, but it also might get really tedious clicking 
through all of those...  Just a thought.  I'd love [~] though...


Thanks,
JP
|:::==|---
JP Vossen, CISSP|:::==|  http://bashcookbook.com/
My Account, My Opinions |=|  http://www.jpsdomain.org/
|=|---
Microsoft Tax = the additional hardware  yearly fees for the add-on
software required to protect Windows from its own poorly designed and
implemented self, while the overhead incidentally flattens Moore's Law.

___
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