Re: [Factor-talk] $related

2016-12-14 Thread Björn Lindqvist
I think there is a bug with related-words. Like if foo is loaded but
not bar, then the "See also" header will only show for the foo word,
but not the bar word. It happens if the words in the related-words
sequence are in different vocabs.

2016-12-14 14:07 GMT+01:00 John Benediktsson :
> You save typing by using related-words which we use everywhere in the docs.
>
> { foo bar baz } related-words
>
> I'm just trying to help you with your $see-also, which I thought you were 
> trying to do...
>
>> On Dec 14, 2016, at 4:52 PM, Alexander Ilin  wrote:
>>
>> Hello!
>>
>> 14.12.2016,  15:39, "John Benediktsson" :
>>> P.S., you should be able to use $see-also the way you want to use $related.
>>
>>  Well, I had this weird notion that if I use `$see-also`, I need to use it 
>> **in both words** to mutually link them, but if I use `$related` instead, I 
>> could use it **in either word** to make the mutual link. I wanted to save 
>> myself some typing.
>>
>> ---=---
>> Александр
>>
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>> ___
>> Factor-talk mailing list
>> Factor-talk@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> ___
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk



-- 
mvh/best regards Björn Lindqvist

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] $related

2016-12-14 Thread Alexander Ilin
Hello, John!

  I understand that, and thank you for the help. You are as helpful as always, 
and I appreciate that.

  I hoped that I found a bug in `$related`, to be helpful in my own way, but 
apparently not.

  I'll go look somewhere else now.

14.12.2016, 16:07, "John Benediktsson" :
> You save typing by using related-words which we use everywhere in the docs.
>
> { foo bar baz } related-words
>
> I'm just trying to help you with your $see-also, which I thought you were 
> trying to do...

---=--- 
 Александр

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] $related

2016-12-14 Thread John Benediktsson
You save typing by using related-words which we use everywhere in the docs. 

{ foo bar baz } related-words

I'm just trying to help you with your $see-also, which I thought you were 
trying to do...

> On Dec 14, 2016, at 4:52 PM, Alexander Ilin  wrote:
> 
> Hello!
> 
> 14.12.2016,  15:39, "John Benediktsson" :
>> P.S., you should be able to use $see-also the way you want to use $related.
> 
>  Well, I had this weird notion that if I use `$see-also`, I need to use it 
> **in both words** to mutually link them, but if I use `$related` instead, I 
> could use it **in either word** to make the mutual link. I wanted to save 
> myself some typing.
> 
> ---=--- 
> Александр
> 
> --
> Check out the vibrant tech community on one of the world's most 
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> ___
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] $related

2016-12-14 Thread Alexander Ilin
Hello!

14.12.2016, 15:39, "John Benediktsson" :
> P.S., you should be able to use $see-also the way you want to use $related.

  Well, I had this weird notion that if I use `$see-also`, I need to use it 
**in both words** to mutually link them, but if I use `$related` instead, I 
could use it **in either word** to make the mutual link. I wanted to save 
myself some typing.

---=--- 
 Александр

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] $related

2016-12-14 Thread John Benediktsson
P.S., you should be able to use $see-also the way you want to use $related. 

> On Dec 14, 2016, at 1:02 PM, John Benediktsson  wrote:
> 
> It's not broken, it's kinda an implementation detail of related-words. If you 
> look at the code for $related it checks for a "related" word-prop. To 
> generate a see-also list.
> 
>> On Dec 14, 2016, at 3:14 AM, Alexander Ilin  wrote:
>> 
>> `related-words` does work, no question.
>> I'm talking specifically about `$related`, which seems to be broken.
>> 
>> 14.12.2016, 00:38, "John Benediktsson" :
>>> Look at `related-words`.
>>> 
 On Dec 14, 2016, at 12:51 AM, Alexander Ilin  wrote:
 
 Hello!
 
  `$related` doesn't seem to work for me. Can anyone verify?
 
  I'm doing this:
 
 HELP: (go)
 { $description "Implementation of the " { $link go } " word without 
 checking the current speed." }
 { $related go } ;
 
  I expect to see the "See also" section in the `(go)` article with the 
 `go` entry in it, but that doesn't happen.
 
  Searching through the codebase I can see not a single use of the 
 `$related`. Is it broken?
>> 
>> ---=--- 
>> Александр
>> 
>> --
>> Check out the vibrant tech community on one of the world's most 
>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>> ___
>> Factor-talk mailing list
>> Factor-talk@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/factor-talk

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] $related

2016-12-14 Thread John Benediktsson
It's not broken, it's kinda an implementation detail of related-words. If you 
look at the code for $related it checks for a "related" word-prop. To generate 
a see-also list.

> On Dec 14, 2016, at 3:14 AM, Alexander Ilin  wrote:
> 
> `related-words` does work, no question.
> I'm talking specifically about `$related`, which seems to be broken.
> 
> 14.12.2016, 00:38, "John Benediktsson" :
>> Look at `related-words`.
>> 
>>>  On Dec 14, 2016, at 12:51 AM, Alexander Ilin  wrote:
>>> 
>>>  Hello!
>>> 
>>>   `$related` doesn't seem to work for me. Can anyone verify?
>>> 
>>>   I'm doing this:
>>> 
>>>  HELP: (go)
>>>  { $description "Implementation of the " { $link go } " word without 
>>> checking the current speed." }
>>>  { $related go } ;
>>> 
>>>   I expect to see the "See also" section in the `(go)` article with the 
>>> `go` entry in it, but that doesn't happen.
>>> 
>>>   Searching through the codebase I can see not a single use of the 
>>> `$related`. Is it broken?
> 
> ---=--- 
> Александр
> 
> --
> Check out the vibrant tech community on one of the world's most 
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> ___
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] $related

2016-12-13 Thread Alexander Ilin
`related-words` does work, no question.
I'm talking specifically about `$related`, which seems to be broken.

14.12.2016, 00:38, "John Benediktsson" :
> Look at `related-words`.
>
>>  On Dec 14, 2016, at 12:51 AM, Alexander Ilin  wrote:
>>
>>  Hello!
>>
>>   `$related` doesn't seem to work for me. Can anyone verify?
>>
>>   I'm doing this:
>>
>>  HELP: (go)
>>  { $description "Implementation of the " { $link go } " word without 
>> checking the current speed." }
>>  { $related go } ;
>>
>>   I expect to see the "See also" section in the `(go)` article with the `go` 
>> entry in it, but that doesn't happen.
>>
>>   Searching through the codebase I can see not a single use of the 
>> `$related`. Is it broken?

---=--- 
 Александр

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] $related

2016-12-13 Thread John Benediktsson
Look at `related-words`.

> On Dec 14, 2016, at 12:51 AM, Alexander Ilin  wrote:
> 
> Hello!
> 
>  `$related` doesn't seem to work for me. Can anyone verify?
> 
>  I'm doing this:
> 
> HELP: (go)
> { $description "Implementation of the " { $link go } " word without checking 
> the current speed." }
> { $related go } ;
> 
>  I expect to see the "See also" section in the `(go)` article with the `go` 
> entry in it, but that doesn't happen.
> 
>  Searching through the codebase I can see not a single use of the `$related`. 
> Is it broken?
> 
> ---=--- 
> Александр
> 
> --
> Check out the vibrant tech community on one of the world's most 
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> ___
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


[Factor-talk] $related

2016-12-13 Thread Alexander Ilin
Hello!

  `$related` doesn't seem to work for me. Can anyone verify?

  I'm doing this:

HELP: (go)
{ $description "Implementation of the " { $link go } " word without checking 
the current speed." }
{ $related go } ;

  I expect to see the "See also" section in the `(go)` article with the `go` 
entry in it, but that doesn't happen.

  Searching through the codebase I can see not a single use of the `$related`. 
Is it broken?

---=--- 
 Александр

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk