← Back to team overview

zim-wiki team mailing list archive

Re: 1:1 vs. piped links

 

On Mon, Nov 23, 2009 at 13:26, Beni Cherniavsky <cben@xxxxxxxxxxxx> wrote:

> 0x0000 <zero_hex@xxxxxxxxx> wrote:
>

> In addition to those points, I will add that in most cases the link
>> generation in Zim is find - I like being able to type e.g. Glossary:TCP and
>> get a link that - when I click it will create a page in the Glossary that I
>> can fill in.   I just need to be able to disable that functionality to keep
>> e.g. spurious links from being generated when I want to use the literal
>> page-name string instead of the link - if I "format" the string (e.g. as
>> "literal", "bold", "italic" or whatever - that helps, but formatting is
>> often lost, and the links re-generated.  Probably this is different topic,
>> though.
>>
>> M$ Office AutoCorrect/AutoFormat leverages Undo for similar functionality:
> the autolinking/autoformating is added to the undo list as a separate action
> from the typing, so that you can just type and press Ctrl+Z to supress the
> autothings when your don't want them.
>
> Currently in zim they are fused: FooBar<SPACE> turns it into a link when
> you add the <SPACE>; Ctrl+Z removes the link but also the <SPACE>; pressing
> <SPACE> again to continue typing restores the link.
>
> So maybe we want to adopt the separately-undoable autolinking model?
> It doesn't solve other questions but it does give a one-press way to decide
> autolinking case-by-case.
>
> Correction: in perl zim it already worked the smart way!  In pyzim, the
actions are fused.
I'll file a feature request in the tracker for pyzim.

-- 
Beni Cherniavsky-Paskin <cben@xxxxxxxxxxxx>

References