Re: [Zim-wiki] Request for Plugin

2016-05-04 Thread Pl

Hi Bo,
 Until someone writes a decent plugin to solve this properly, I've made 
a rather simple implementation which I hope can at least partially save 
your neck in the meantime :). It automatically scrolls the text to the 
center of the window after pressing some keys like Up, Down, Enter etc. 
If the text is near the beginning/end scrolling is disabled, to avoid 
this you can temporarily put there some text or newlines.
 To install it put the file to the plugins' directory and enable it in 
preferences. You can enable/disable it by clicking on the toggle button 
in the Toolbar menu. It shouldn't break anything but as with all 
programs keep backups.

Regards, Pl

On 20.04.2016 , Bo Grimes wrote:
I don't like looking at the bottom of the screen all the time.  Hurts 
my neck for one. Since the physical structure of my desk prevents me 
from raising the monitor more than 3 inches off the desk (roll top), 
my other option is to resize my window to only go to half screen. I 
don't like that either, and can't in fullscreen mode.


I first discovered typewriter scroll with Scrivener, and would love to 
see a plug-in for Zim that can be turned on and off, like Sublime Text 
has.  See: https://github.com/alehandrof/Typewriter.


I have no idea how difficult this might be.  I am willing to pay 
$100.00 for the development of this plug-in, that also works in 
fullscreen mode and on both Windows and Linux versions.  That isn't 
much--unless it took 5 minutes and 10 lines of code--but all I could 
offer.  If multiple parties wished to cooperate to develop it, I could 
make it a donation to Zim instead or divide it equally across the 
developers, so I guess upfront coordination would be necessary to 
avoid duplication of time and effort.  It would need to be more than 
an Emacs M-x recenter, though even that is better than every word 
processor ever made.


I really don't know how supporting developers directly works, as I 
have only supported projects, so if I sound stupid or naive or it's 
too hard and I'm showing ignorance, you can mock me (but be gentle, 
please).  But if this is do-able and the list is an appropriate place 
to hammer it out or others also wish to support this then great!


Cheers,
Bo Grimes


# -*- coding: utf-8 -*-

# Copyright 2016 Pavel_M ,
# released under the GNU GPL (v2 or v3).
# This plugin is for Zim program by Jaap Karssenberg 
.

import gobject
import gtk

from zim.actions import toggle_action
from zim.plugins import PluginClass, extends, WindowExtension

import logging
logger = logging.getLogger('zim.plugins.ScrollToCenter')


class ScrollToCenterPlugin(PluginClass):

plugin_info = {
'name': _('ScrollToCenter'), # T: plugin name
'description': _('''\
This plugin automatically scrolls textview to keep typed text 
in the center.
'''), # T: plugin description
'author': 'Pavel_M',
'help': 'Plugins:ScrollToText',}


KEYVALS_SCROLL = map(gtk.gdk.keyval_from_name, ('Up', 'Down', 'Page_Up', 
'Page_Down'))
KEYVALS_ENTER = map(gtk.gdk.keyval_from_name, ('Return', 'KP_Enter', 
'ISO_Enter'))

@extends('MainWindow')
class ScrollToCenterExtension(WindowExtension):
uimanager_xml = '''






'''

def __init__(self, plugin, window):
WindowExtension.__init__(self, plugin, window)
self._textview = self.window.pageview.view
self._signal = None

def _enable(self):
if self._signal:
self._disable()
try:
self._signal = 
self._textview.connect('key-release-event', self._scroll)
except AttributeError:
logger.error('ScrollToCenter: plugin is not 
initialized.')

def _disable(self):
if self._signal:
self._textview.disconnect(self._signal)
self._signal = None

def teardown(self):
self._disable()

def _scroll(self, textview, event):
if (event.keyval in KEYVALS_SCROLL \
and not event.state & gtk.gdk.SHIFT_MASK) \
or event.keyval in KEYVALS_ENTER:
buffer = self._textview.get_buffer()
self._textview.scroll_to_mark(buffer.get_insert(), 
within_margin = 0.0,
use_align=True, 
xalign=0.0, yalign=0.5)

@toggle_action(_('Enable Scrolling'), stock = gtk.STOCK_GOTO_BOTTOM,
tooltip = 'Enable Scrolling') # T: menu item
def toggle_scrolling(self, active):
if active:
self._enable()
else:
self._disable()


___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zi

Re: [Zim-wiki] Request for Enhancement - zim Linux - Always on Visible Workspace ?

2015-07-21 Thread mario@tiscali

Hello, and thanks for your kind willing to help.

I do have wmctrl on my system and I am able to set the sticky attribute 
for the zim window using the following command:


wmctrl -r "My main wiki - Zim" -b add,sticky

This is Red Hat Enterprise Linux 6.6 with GNOME2.

There is a limitation though: When using the Tray Icon plugin you can 
close the zim window without shutting down zim. I find this very handy. 
In this case when you close the zim window its sticky attribute gets 
lost and you have to set it again next time the zim window is opened 
from the Tray.


Maybe trayicon.py is where a GTK call to set the sticky attribute is 
needed, but I do not have the python skill to do it.


mario

On 07/21/2015 11:29 AM, SultansOfSwing wrote:

Hello,

perhaps the tool "wmctrl" is available on your system? It has the
ability to set/unset/toggle the STICK attribute of a window. (But
unfortunately, in my environment (cinnamon) this does not work, as
Cinnamon has its own notion of stickiness, and ignores that attribute).

What window manager are we talking about?

Cheers,
Sultansofswing.

___
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] Request for Enhancement - zim Linux - Always on Visible Workspace ?

2015-07-21 Thread SultansOfSwing
Hello,

perhaps the tool "wmctrl" is available on your system? It has the
ability to set/unset/toggle the STICK attribute of a window. (But
unfortunately, in my environment (cinnamon) this does not work, as
Cinnamon has its own notion of stickiness, and ignores that attribute).

What window manager are we talking about?

Cheers,
Sultansofswing.

___
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] Request for Enhancement - zim Linux - Always on Visible Workspace ?

2015-07-20 Thread WEHLER Andreas
Hi.

Setting the sticky bit for some X11 window is so common for me
that I've spent it a separate keyboard shortcut.

I'm using XFCE, there keyboard shortcuts are found within the settings
for "Window Manager". My choice is Ctrl-Escape, while Alt-Escape puts a
window to the back.
I've also activated the Stick-Button within the Button layout in
Window Manager Style. It's nice to have.


Best regards,   Andreas


On 20.07.2015 11:50, mario@tiscali wrote:
> Thank you for the advice.
>
> I tried compiling devilspie - it has dependencies for packages not
> available on my system. This is a company owned workstation and I am not
> authorized to add packages.
> I imagine this is common for professional users. That's why I am looking
> for a solution inside zim.
>
> I see your point about platform specific extensions. But such an option
> could be conditionally available only when running on Linux, or might be
> implemented via a plug-in, don't know.
>
> As I understand the mod is close to one liner code change, I would be
> happy to apply it locally if I only knew where to change the source.
>
> Thanks anyway,
> mario
>
> On 07/20/2015 11:06 AM, SultansOfSwing wrote:
>> Hello,
>>
>> Personally I would refrain from implementing such platform-specific
>> thing (you know, all platforms except Linux don't have a ) into Zim. I'd
>> suggest to use a Linux tool to speak to your window manager, for
>> instance 'devilspie' should fulfill all your window-managing needs.
>>
>> Regards,
>> SultansOfSwing.
>>
>> ___
>> 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] Request for Enhancement - zim Linux - Always on Visible Workspace ?

2015-07-20 Thread mario@tiscali

Thank you for the advice.

I tried compiling devilspie - it has dependencies for packages not 
available on my system. This is a company owned workstation and I am not 
authorized to add packages.
I imagine this is common for professional users. That's why I am looking 
for a solution inside zim.


I see your point about platform specific extensions. But such an option 
could be conditionally available only when running on Linux, or might be 
implemented via a plug-in, don't know.


As I understand the mod is close to one liner code change, I would be 
happy to apply it locally if I only knew where to change the source.


Thanks anyway,
mario

On 07/20/2015 11:06 AM, SultansOfSwing wrote:

Hello,

Personally I would refrain from implementing such platform-specific
thing (you know, all platforms except Linux don't have a ) into Zim. I'd
suggest to use a Linux tool to speak to your window manager, for
instance 'devilspie' should fulfill all your window-managing needs.

Regards,
SultansOfSwing.

___
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] Request for Enhancement - zim Linux - Always on Visible Workspace ?

2015-07-20 Thread SultansOfSwing
Hello,

Personally I would refrain from implementing such platform-specific
thing (you know, all platforms except Linux don't have a ) into Zim. I'd
suggest to use a Linux tool to speak to your window manager, for
instance 'devilspie' should fulfill all your window-managing needs.

Regards,
SultansOfSwing.

___
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] Request for comments: usage of tags

2012-06-24 Thread Adam Porter
[I think this is the only mailing list I'm on that doesn't do
Reply-To, so I always forget to Reply All.]

This is an interesting idea.  I'm not sure if I'd like it.  The @
signs are pretty common in other apps for marking some kind of
contextual info, like "context" in GTD apps.  I actually wouldn't mind
if # signs could be used for a separate tag namespace, but that's
another issue.

As long as the tags are colored, they should still be recognizable.
But I think it would be a little more confusing for new users.  I also
wonder about color-blind users: for them the color might not be
enough, depending on their color preferences.  If you do implement
this, I think it should be optional.

___
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] Request for comments: usage of tags

2012-06-22 Thread Svenn Are Bjerkem
On 22 June 2012 13:45, Rudi Bruchez  wrote:
> Sounds strange in a wysiwyg environment not to show smth the user typed.
> What happens then if believe I've forgotten the @ an type it again ? would
> it store @@tag ?

Well, there's lots of magic happening when typing markup in zim. The
magic usually happens when the space is pressed, that way, you would
see the '@' in front of the tag/keyword while typing until space is
pressed to leave room for the next word. If you didn't want zim to
perform the magic, then press ctrl-z (undo) and the text is there in
unformatted format. At least that's what I do when I type file system
paths which I don't want zim to magicalize.

There is one particular magic that comes to my mind when it comes to
expected behaviour: The underline. When an underline is magicalized,
the text gets a yellow background instead of the expected underline.
Guess this has to do with the editor widget not showing underline or
something like that. The tags currently get an orange face colour when
magicalized. If the visible @ goes avay, at least the colour change
must stay. (I guess it is possible to configure the face colour to be
the same as the text colour for those who don't like colour).

>
> Personally I don't mind seeing the @ in front of my tags, at least in zim.
> Dropping it in the HTML export could make sense, though.

A tag should be made to stand out in some way, otherwise a casual
reader would think it is a typo, I think

>
> Le 22/06/12 11:51, Jaap Karssenberg a écrit :
>
>> So now my question: would it break the use case for tags if I drop the
>> "@" in the rendering ?  So we would still use the "@" in the wiki
>> source, we would still use it for typing tags, but formatted tags are
>> highlighted by color instead of the "@" prefix. Also in HTML export we
>> would drop the "@". The result being that tags being in a sentence
>> read more naturally.

That is only useful behaviour if the feature is to be used to generate
an index like in a book. Because of the '@' in a tag, I never use them
in a line of text, only at the beginning in the first line, alone, or
at the end of a single line statement.

@a_tag
This is a piece of text which is supposed to be a block of text describing
something which fits to something which I would later like to find by
clicking on
a_tag in the tag cloud. If I, at a later time find this passage of
text through the
search function and discover that it also need another tag, then I can
add that to the
tag line.

The literal @ stands out as an icon and catches attention, but so
would a different colour.

My other use case for tags is in diaries where I describe what I do to
approach a problem:

In a calendar/date page:
2012-06-22
Checking if make install works
* The Makefile use spaces instead of tabs at the beginning
Replace spaces with tabs and try again
* Package foobar installs nicely
Need to fix spaces to tabs before deployment @todo

John called and asked about the progress on the deployment. @followup

I know I can use the TODO functionality, but I am kind of reverse
polish notation when writing this kind of memo notes. First write,
then classify.

It is always difficult to rewrite already existing features. I have
come to learn and love the tags the way they are right now. Why not
find a different markup for keywords, say %keyword, ^keyword or
$keyword. Maybe the last one is a bad suggestion for all those who
take a note of prices in USD in their zim wikies.


I think it is a good idea to use the title of a calendar page in the index pane.
-- 
Svenn

___
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] Request for comments: usage of tags

2012-06-22 Thread Rudi Bruchez
Sounds strange in a wysiwyg environment not to show smth the user typed. 
What happens then if believe I've forgotten the @ an type it again ? 
would it store @@tag ?


Personally I don't mind seeing the @ in front of my tags, at least in 
zim. Dropping it in the HTML export could make sense, though.


Le 22/06/12 11:51, Jaap Karssenberg a écrit :

So now my question: would it break the use case for tags if I drop the
"@" in the rendering ?  So we would still use the "@" in the wiki
source, we would still use it for typing tags, but formatted tags are
highlighted by color instead of the "@" prefix. Also in HTML export we
would drop the "@". The result being that tags being in a sentence
read more naturally.





___
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] Request for comments: usage of tags

2012-06-22 Thread Joseph Reagle

On 06/22/2012 05:51 AM, Jaap Karssenberg wrote:

So now my question: would it break the use case for tags if I drop the
"@" in the rendering ?  So we would still use the "@" in the wiki
source, we would still use it for typing tags, but formatted tags are
highlighted by color instead of the "@" prefix. Also in HTML export we
would drop the "@". The result being that tags being in a sentence
read more naturally.


I use tags for tasks, rather than labeling pages. So that would be my 
main concern.


Under this proposal, how would you type a tag? '@foo ' and the '@' 
disappears from the rendering? (After the space after "foo"?)


___
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] Request for comments: usage of tags

2012-06-22 Thread Jaap Karssenberg
On Fri, Jun 22, 2012 at 12:32 PM, Joerg Desch  wrote:
> One small remark about the tags view. Have you ever tried to view tagged
> calendar entries? You will see a list of 05's and 07's! Not really
> useful. It would be great if the list prints the whole path. If the
> string is to long, the path should be shortened before the name of the
> page. So instead of "22" we would see "Calendar:2012:06:22" or shortened
> "SomethingLong:2012:.:05"

I think there is an open bug report for this, but I don't have a ready
way to fix it.

Showing the full path may not work well in a hierarchic view. Maybe
for calendar pages we should show the page title instead of the page
name. (So e.g. "Friday 22 June 2012" instead of "22".)

-- 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] Request for comments: usage of tags

2012-06-22 Thread Jaap Karssenberg
On Fri, Jun 22, 2012 at 12:33 PM, NorfCran  wrote:
> that sounds like a great proposal. Personally I may have a case, which uses
> tags for spatial identification for example "@location:lon,lat". The symbol
> of ":" is attached directly after the "@location". If this will be taken in
> consideration during rendering, it would be great. Furthermore it rises my
> interest due to possibility of hiding the geographical coordinates from text
> and keeping only keyword or even better only a simple symbol of a globe.

That sounds more like an "object" than a tag. Already for some time
I'm working in a separate branch which will feature "inline objects".
This would be the feature you need to create an object to represent
locations. Could indeed be rendered as a small icon.

Alternative you could think of this as a link. I think google maps
accepts lattitude and longitude numbers for search. So you could
configure an interwiki URL for google maps and insert places like
"map?lon,lat" and have it turn into a link that goes to google maps.

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] Request for comments: usage of tags

2012-06-22 Thread Joerg Desch
Hi Jaap.

On Fri, 22 Jun 2012 11:51:40 +0200
Jaap Karssenberg  wrote:

> I was thinking a bit about why I don't really use tags myself. So I
> came up with the idea that I would want to use tags more like
> keywords.

I'm using Zim in 4 different main use cases but within one notebook. For
all of them I use tags. None of them use tags as keyword in the flowing
text.

(1) ZIM as diary: I add all results of conferences, meetings or important
phone calls to the calendar. Each project and each customer has it's tag.
So I can select all meetings with customer foo in 2010 by selecting
@meeting + @foo + @2010

(2) ZIM as scratch pad: there are too much informations out there. I
write my monthly pad with all the things I may be want to remember.
Important entries have a tag like @android or @read

(3) ZIM as project overview. Each project get its own hierarchy with a
"project profile" as root page below "Projects".

(4) ZIM as knowledge storage. Every time I learn something or after every
"internet search/inquiry" I write done a summary.


> However what prohibits me from using this is the "@" prefix for tags.

IMO nothing. I don't need it, but it wouldn't break my use cases.


One small remark about the tags view. Have you ever tried to view tagged
calendar entries? You will see a list of 05's and 07's! Not really
useful. It would be great if the list prints the whole path. If the
string is to long, the path should be shortened before the name of the
page. So instead of "22" we would see "Calendar:2012:06:22" or shortened
"SomethingLong:2012:.:05"


Regards
-- 
Email: Joerg Desch 

___
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] Request for comments: usage of tags

2012-06-22 Thread Jaap Karssenberg
On Fri, Jun 22, 2012 at 12:24 PM, Marco Cevoli  wrote:
> It all depends on how you visualize the global index (tag cloud vs
> alphabetical index).

I don't think I want to change anything there. Should work exactly as
it works now.

The tag index version that is "sorted by tag" already looks more or
less like an keyword index. And the tag cloud is a useful way to
search subsets of pages.

I think keywords are similar to tags in the sense that they provide a
context as well for a page. Or alternatively they can be though of as
a very short summary of the page topic. But I often see people use
tags in the same way, basically making a single line description where
each word is a tag like "@email (about) @zim @tags". Of course you are
still free to put these keywords on a separate line before or after
the main text.

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] Request for comments: usage of tags

2012-06-22 Thread Marco Cevoli
Hi Jaap,

This is not an easy question.

On one side we have tags, defined as "non hierarchical categories".
You can associate any page with 1 or more tags.
On the other side we have keywords (to be indexed). Do we want to keep
these 2 "categorization items" separated?

I use tags as "contexts", so I would like to keep the "tag cloud"
quite short, easy to navigate. And I like to have tags at the
beginning or at the end of each article, because I can see at a glance
what the article is about, or where it belongs.

If you can think about a way of easily inserting tags/keywords as it
is now, I see no drawback in merging these two concepts. In fact, in
Joomla (the CMS), sometimes you use the "keyword" field to insert
"fake" tags, so apparently these two concepts are very similar and
interchangeable.

It all depends on how you visualize the global index (tag cloud vs
alphabetical index).

Let's hear what others think about it.

Regards

Marco Cevoli
Traduttore tecnico. Grafico. Congiungitore di punti.
---
http://www.marcocevoli.com
i...@marcocevoli.com
t 34 675 800 826
~~~
My t-shirt shop: http://vulnavia.spreadshirt.net
My latest projects: http://www.qabiria.com,
http://www.allerglobal.com, http://traducciones-hosteleria.com


On Fri, Jun 22, 2012 at 11:51 AM, Jaap Karssenberg
 wrote:
> Dear all,
>
> I was thinking a bit about why I don't really use tags myself. So I
> came up with the idea that I would want to use tags more like
> keywords. So instead of placing tags around a piece of text, I would
> want to highlight certain words as key words that need to be indexed.
> And I can do that with tags, the tag side pane behaves more or less as
> a keyword index in this respect. However what prohibits me from using
> this is the "@" prefix for tags.
>
> So now my question: would it break the use case for tags if I drop the
> "@" in the rendering ?  So we would still use the "@" in the wiki
> source, we would still use it for typing tags, but formatted tags are
> highlighted by color instead of the "@" prefix. Also in HTML export we
> would drop the "@". The result being that tags being in a sentence
> read more naturally.
>
> Any issues with this proposal I overlooked ?
>
> 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

___
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] request

2011-07-08 Thread Вадим Глебов
On Fri, Jul 8, 2011 at 2:05 PM, Jaap Karssenberg  wrote:

> On Fri, Jul 8, 2011 at 5:01 AM, Patrick Smith  wrote:
>
>> It would be very help for me to know, when I'm creating a link, if I have
>> word right. Another words, am I creating a new page or linking to an
>> existing one?
>>
>> This has several uses: if I'm not sure of the spelling of a page name, or
>> I don't recall if I used the singular or plural of the name.
>>
>> What I do now is delete the last letter in the "link to" field (which will
>> make the auto-complete engage, with it's drop down list of pages already
>> existent) and then retype it if I have what I want. It's pretty awkward.
>>
>
> So if I understand you correctly you look for a way to know if a link is
> correct or not ? Would it help to have a different color for links to
> non-existing pages ?
>

It will be useful in a document and in the dialog "Insert Link".


> -- 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] request

2011-07-08 Thread Jaap Karssenberg
On Fri, Jul 8, 2011 at 5:01 AM, Patrick Smith  wrote:

> It would be very help for me to know, when I'm creating a link, if I have
> word right. Another words, am I creating a new page or linking to an
> existing one?
>
> This has several uses: if I'm not sure of the spelling of a page name, or I
> don't recall if I used the singular or plural of the name.
>
> What I do now is delete the last letter in the "link to" field (which will
> make the auto-complete engage, with it's drop down list of pages already
> existent) and then retype it if I have what I want. It's pretty awkward.
>

So if I understand you correctly you look for a way to know if a link is
correct or not ? Would it help to have a different color for links to
non-existing pages ?

-- 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] Request for Help on resolving a Zim error...

2011-06-04 Thread Jaap Karssenberg
On Thu, Jun 2, 2011 at 10:38 PM, Michael Nagel wrote:

> deleting the .zim folder is no problem. I sync between different machines
> using git and have the .zim folder in my .gitignore file. Obviously I end up
> with outdated .zim folders this way. However I can simply delete the whole
> .zim folder and do "Tools -> Re-build Index" and everything gets recreated.
>
> See http://zim-wiki.org/manual/Plugins/Version_Control.html for details
> about this way to sync.
>
> I would welcome some better solution (regarding the .zim folder) -- perhaps
> Jaap can suggest something.
>

The .zim folder can be fully ignored, it is just a cache that should be
rebuild automatically.

I'll try to get rid of the need to run "Re-build Index" fully. There is one
bug fix in dev for detecting synced folders. Only thing left now is to add a
folder watch to detect changes and trigger index on that.

-- 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] Request for Help on resolving a Zim error...

2011-06-03 Thread cpgreer
Thanks Michael - deleting the .zim folder worked and I am back up!  I was 
afraid to do it for fear of breaking something...

  I will enter a bug ticket on the other problem...

Charles P. Greer / Principal Systems Engineer / Information Security 
Solutions 
MS 461-250, 3200 E. Renner Road, Richardson, TX, 75082, USA
Phone: 972-705-1163 / VPN: 705-1163 / Fax: 972-705-1816 / Mobile: 
469-328-6670 
cpgr...@rockwellcollins.com
www.rockwellcollins.com 




Michael Nagel  
Sent by: zim-wiki-bounces+cpgreer=rockwellcollins@lists.launchpad.net
06/02/2011 03:38 PM

To
zim-wiki@lists.launchpad.net
cc

Subject
Re: [Zim-wiki] Request for Help on resolving a Zim error...






Hi there,

deleting the .zim folder is no problem. I sync between different machines 
using git and have the .zim folder in my .gitignore file. Obviously I end 
up with outdated .zim folders this way. However I can simply delete the 
whole .zim folder and do "Tools -> Re-build Index" and everything gets 
recreated.

See http://zim-wiki.org/manual/Plugins/Version_Control.html for details 
about this way to sync.

I would welcome some better solution (regarding the .zim folder) -- 
perhaps Jaap can suggest something.



I cannot reproduce your problem with links on Linux however. It works as 
intended. You should probably file a new bug on launchpad at 
https://bugs.launchpad.net/zim/+filebug

Best Regrads
Michael

___
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] Request for Help on resolving a Zim error...

2011-06-02 Thread Michael Nagel
Hi there,

deleting the .zim folder is no problem. I sync between different machines using 
git and have the .zim folder in my .gitignore file. Obviously I end up with 
outdated .zim folders this way. However I can simply delete the whole .zim 
folder and do "Tools -> Re-build Index" and everything gets recreated.

See http://zim-wiki.org/manual/Plugins/Version_Control.html for details about 
this way to sync.

I would welcome some better solution (regarding the .zim folder) -- perhaps 
Jaap can suggest something.



I cannot reproduce your problem with links on Linux however. It works as 
intended. You should probably file a new bug on launchpad at 
https://bugs.launchpad.net/zim/+filebug

Best Regrads
Michael

___
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