Re: [Zim-wiki] Placing wiki files/folders in $HOME

2011-11-24 Thread Jaap Karssenberg
Just keep in mind that deleting pages from the zim wiki will also
delete/trash the related folder from your home directory.

-- Jaap


On Thu, Nov 24, 2011 at 8:17 AM, Iago Mosqueira wrote:

> On 23 November 2011 17:30, Jaap Karssenberg 
> wrote:
> > On Wed, Nov 23, 2011 at 4:28 PM, Iago Mosqueira <
> iago.mosque...@gmail.com>
> > wrote:
> >>
> >> Hi,
> >>
> >> I have been thinking about setting up my zim wiki in the folder
> >> structure of $HOME, so notes in folders are placed exactly where they
> >> best belong, together with the files for that particular issue.
> >>
> >> The only showstopper is that folders/namespaces in zim are formed by a
> >> folder and a text file, so I would end up with lots of files with no
> >> content, in my case, cluttering up the filesystem. So, for example, I
> >> would have
> >>
> >> $HOME/Projects/
> >> $HOME/Projects.txt
> >> $HOME/Projects/First.txt
> >>
> >> when I would rather have
> >>
> >> $HOME/Projects/
> >> $HOME/Projects/First.txt
> >>
> >> So no file for a namespace that has only child pages but no content
> >> itself.
> >>
> >> Is this doable at all with the current code? Would it be possible by
> >> hacking at zim's code without too much getting broken?
> >
> > Actually this behavior depends on how you create the pages. In this case
> I
> > assume you first did "new page" Projects and then "new page" First.
> > Effectively asking zim for an empty page "Projects". However if you click
> > "new page" and then immediately tpye "Projects:First" it will not create
> the
> > empty page. Alternatively you can navigate directly to the
> not-yet-existing
> > page, for example using "jump to", and start typing, also in that case
> there
> > will be no empty parent created.
> >
> > REgards,
> >
> > Jaap
>
>
> Thanks, that does the trick. And in fact setting the base folder of a
> new wiki as $HOME brings up all the folder tree. Very nice.
>
>
> Iago
>
___
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] Placing wiki files/folders in $HOME

2011-11-23 Thread Iago Mosqueira
On 23 November 2011 17:30, Jaap Karssenberg  wrote:
> On Wed, Nov 23, 2011 at 4:28 PM, Iago Mosqueira 
> wrote:
>>
>> Hi,
>>
>> I have been thinking about setting up my zim wiki in the folder
>> structure of $HOME, so notes in folders are placed exactly where they
>> best belong, together with the files for that particular issue.
>>
>> The only showstopper is that folders/namespaces in zim are formed by a
>> folder and a text file, so I would end up with lots of files with no
>> content, in my case, cluttering up the filesystem. So, for example, I
>> would have
>>
>> $HOME/Projects/
>> $HOME/Projects.txt
>> $HOME/Projects/First.txt
>>
>> when I would rather have
>>
>> $HOME/Projects/
>> $HOME/Projects/First.txt
>>
>> So no file for a namespace that has only child pages but no content
>> itself.
>>
>> Is this doable at all with the current code? Would it be possible by
>> hacking at zim's code without too much getting broken?
>
> Actually this behavior depends on how you create the pages. In this case I
> assume you first did "new page" Projects and then "new page" First.
> Effectively asking zim for an empty page "Projects". However if you click
> "new page" and then immediately tpye "Projects:First" it will not create the
> empty page. Alternatively you can navigate directly to the not-yet-existing
> page, for example using "jump to", and start typing, also in that case there
> will be no empty parent created.
>
> REgards,
>
> Jaap


Thanks, that does the trick. And in fact setting the base folder of a
new wiki as $HOME brings up all the folder tree. Very nice.


Iago

___
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] Placing wiki files/folders in $HOME

2011-11-23 Thread Jaap Karssenberg
On Wed, Nov 23, 2011 at 4:28 PM, Iago Mosqueira wrote:

> Hi,
>
> I have been thinking about setting up my zim wiki in the folder
> structure of $HOME, so notes in folders are placed exactly where they
> best belong, together with the files for that particular issue.
>
> The only showstopper is that folders/namespaces in zim are formed by a
> folder and a text file, so I would end up with lots of files with no
> content, in my case, cluttering up the filesystem. So, for example, I
> would have
>
> $HOME/Projects/
> $HOME/Projects.txt
> $HOME/Projects/First.txt
>
> when I would rather have
>
> $HOME/Projects/
> $HOME/Projects/First.txt
>
> So no file for a namespace that has only child pages but no content itself.
>
> Is this doable at all with the current code? Would it be possible by
> hacking at zim's code without too much getting broken?
>

Actually this behavior depends on how you create the pages. In this case I
assume you first did "new page" Projects and then "new page" First.
Effectively asking zim for an empty page "Projects". However if you click
"new page" and then immediately tpye "Projects:First" it will not create
the empty page. Alternatively you can navigate directly to the
not-yet-existing page, for example using "jump to", and start typing, also
in that case there will be no empty parent created.

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