Re: [code] Creating a slip box with textadept

From: Robert Gieseke <rob.g.att.web.de>
Date: Tue, 17 Sep 2019 22:05:15 +0200

Hi,

have you seen this?

https://github.com/sthesing/ta-zettels/

Cheers
Robert

> Am 17.09.2019 um 19:59 schrieb juh <juh+textadept.att.mailbox.org>:
>
> Hi all,
>
> I am currently evaluating the wiki functions of Vim and Emacs to modify
> them in a way to mimic Niclas Luhmanns slip box (Zettelkasten).
>
> If you understand German you can follow this talk to understand how this
> works.
>
> https://vimeo.com/173128404
>
> AFAICS textadept has no built in wiki functionality and there is no add
> on I guess. But as textadept can be extended with lua there might be a
> way to get there.
>
> I am far from being able to write down the requirements. But I think
> that it need this functions.
>
> 1. Luhmanns slip box was built by paper slip numbered according to an
> incremental system. Each slip was dedicated to one thought. A new slip
> was inserted after the slip with the thought that leads to the new
> thought. So there is a line of thinking in the numbering of the slip.
>
> 1 -> 2 -> 3 ->
>
> If Luhmann was inspirated to a new thought by slip 2 the following slip
> was called 2a if 3 was already there. This way leads to numbers like
> 1f45b3k. The database increments to its own center.
>
> So I guess that I could mimic a Zettelkasten by creating files like this:
>
> 1.0 --> 1.1 --> 1.2 first following thought.
> 1.1 --> 1.1.2 second following thought
>
> My first question is:
>
> How can I create a new file from within textadapt that gets an auto
> incremented filename in this style: n.n.n.n...
>
> The wikis of Vim and Emacs does not work in that way. In Vimwiki I can
> create new files by tying ENTER on a word. The word gets the file name
> of the new wiki file. So if I write down the number of the new entry and
> hit enter I get a new file.
>
> Typing 2.3.4.0 in a file and hitting enter creates the file
> "2.3.4.0.wiki". This is very much what I want, but I encountered
> problems manually writing the right name. You get confused very soon.
> Maybe Luhmann usage of numbers and alpha characters is better. But even
> better would be a small script to solve this.
>
> Has anybody built a wiki system with textadept which could be adapted in
> this way?
>
> TIA
> juh
> --
> You are subscribed to code.att.foicica.com.
> To change subscription settings, send an e-mail to code+help.att.foicica.com.
> To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
>

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Tue 17 Sep 2019 - 16:05:15 EDT

This archive was generated by hypermail 2.2.0 : Wed 18 Sep 2019 - 06:33:32 EDT