• oxp: glossary?

    From August Abolins@2:221/1.58 to Martin Foster on Wednesday, April 17, 2019 21:51:00
    Hello Martin!


    What are we supposed to make use of out of the glossary.cfg?

    It seems to contain short-codes that we can use and >OXP< makes
    substitutions at some point?

    Tying some of them below:


    Marker for beginning of included text
    s+<

    Marker for end of included text
    s-<

    General snip marker
    8-<

    Miscellaneous stuff

    XP<
    OXP<



    ---
    * Origin: /|ug's Point, ONT, CANADA (2:221/1.58)
  • From Martin Foster@2:310/31.3 to August Abolins on Thursday, April 18, 2019 13:24:00
    Hello August!

    On 17.04.19 at 21:51, August Abolins wrote to Martin Foster:

    What are we supposed to make use of out of the glossary.cfg?

    This is an example of a poor choice of words by the original OpenXP developers. In no way can it be described as a glossary, perhaps
    "library" would have been the better choice because it's a collection
    of snippets which can be quickly imported into a message.

    It seems to contain short-codes that we can use and >OXP< makes substitutions at some point?

    Yes, that's exactly what it is but it's something I never use these
    days. However, since you've brought the matter up, I can think of a
    number of uses to which it could be put, notably, "canned" responses
    to questions :-))

    Regards,
    Martin

    --- OpenXP 5.0.38
    * Origin: Bitz-Box - Bradford - UK (2:310/31.3)
  • From August Abolins@2:221/1.58 to Martin Foster on Thursday, April 18, 2019 22:03:00
    Hello Martin!

    ** 18.04.19 - 13:24, Martin Foster wrote to August Abolins:


    It seems to contain short-codes that we can use and >OXP< makes
    substitutions at some point?

    Yes, that's exactly what it is but it's something I never use these
    days. However, since you've brought the matter up, I can think of a
    number of uses to which it could be put, notably, "canned" responses
    to questions :-))


    They don't seem to be working as short-codes/substitutions as the file suggests.

    Maybe they *are* just shorthand text for general use?

    But it would be very nice for example to just put >s+< in the body of the text have it autofill into:

    -------- [Snip] ---------


    The first two paragraphs in the glossary.cfg file intrigue me, they seem
    to imply that we can control the visibility of text with the ">" and "<" chars. That is, create an auto-snip for large parts of text.


    ../|ug

    ---
    * Origin: /|ug's Point, ONT, CANADA (2:221/1.58)
  • From Martin Foster@2:240/2188.31 to August Abolins on Saturday, April 20, 2019 10:36:00
    Hello August!

    On 18.04.19 at 22:03, August Abolins wrote to Martin Foster:

    It seems to contain short-codes that we can use and >OXP< makes
    substitutions at some point?

    Yes, that's exactly what it is but it's something I never use these
    days. However, since you've brought the matter up, I can think of a
    number of uses to which it could be put, notably, "canned" responses
    to questions :-))

    They don't seem to be working as short-codes/substitutions as the
    file suggests.

    Read the second paragraph of "glossary.cfg" again :)

    However, what it doesn't say is how to actually use the glossary
    function.

    Maybe they *are* just shorthand text for general use?

    But it would be very nice for example to just put >s+< in the body of the text have it autofill into:

    -------- [Snip] ---------

    Maybe it would but the glossary function doesn't work like that.

    Place the cursor at the start of a *blank line* in your message and
    press <Alt-G>. Cursor down the list to ">s+<" and press <Enter> and
    see what happens.

    The first two paragraphs in the glossary.cfg file intrigue me,
    they seem to imply that we can control the visibility of text
    with the ">" and "<" chars. That is, create an auto-snip for
    large parts of text.

    Nope, anything placed between the ">" and "<" characters is
    interpreted as a comment or to put it another way, it's interpreted as
    the title of the snippet.

    Regards,
    Martin

    --- OpenXP 5.0.38
    * Origin: Bitz-Box - Bradford - UK (2:240/2188.31)
  • From August Abolins@2:221/1.58 to Martin Foster on Sunday, April 21, 2019 01:24:00
    Hello Martin!

    ** 20.04.19 - 10:36, Martin Foster wrote to August Abolins:

    Read the second paragraph of "glossary.cfg" again :)

    However, what it doesn't say is how to actually use the glossary
    function.

    Place the cursor at the start of a *blank line* in your message and
    press <Alt-G>. Cursor down the list to ">s+<" and press <Enter> and
    see what happens.

    OMG! The Alt-G was the revelation.

    This feature is SO badly worded in the glossary.cfg.

    [1] If the word "*module*" was used in the .cfg, that would have helped, because the Help on Glossary uses that term quite extensively, but the glossary file does not even mention it once.

    [2] Also, the pretext paragraphs in the .cfg file should have said that
    the ">" and "<" were to be used IN THIS FILE:

    I was assuming that there was some dynamic feature while editing an actual message. The tie-in to the unmentioned "modules" in glossary.cfg were not obvious.

    NOW, it is understood. But I think this function would be a mystery for
    the next noobie.

    -------- [Snip] ---------
    ----------8<----------
    Best wishes ...

    Works well. Nice feature. Great for repetative entries.


    ... anything placed between the ">" and "<" characters is
    interpreted as a comment or to put it another way, it's interpreted as
    the title of the snippet.

    Maybe even the word "snippet" might be better than "module", IMHO.

    For me, a module is a separate entity (as in a separate file). If the glossary is built on defining "snippets", then another better word would
    be "shortcut", or "text section"

    The "glossary" feature reminds me of this:

    http://www.yourtechtamer.com/blog/2011/08/can-you-create-a-shortcut-to- auto-paste-your-email-address-onto-the-clipboard/

    But oxp's feature is neater and more flexible (albiet, limited within oxp itself).



    ../|ug

    ---
    * Origin: From somewhere in Hastings County, Ontario (2:221/1.58)
  • From Martin Foster@2:240/2188.31 to August Abolins on Monday, April 22, 2019 09:07:00
    Hello August!

    On 21.04.19 at 01:24, August Abolins wrote to Martin Foster:

    Read the second paragraph of "glossary.cfg" again :)

    However, what it doesn't say is how to actually use the glossary
    function.

    Place the cursor at the start of a *blank line* in your message and
    press <Alt-G>. Cursor down the list to ">s+<" and press <Enter> and
    see what happens.

    OMG! The Alt-G was the revelation.

    Ha! :)

    This feature is SO badly worded in the glossary.cfg.

    I concur and I'll have a look at tidying it up.
    Many thanks for your feedback, much appreciated.

    Regards,
    Martin

    --- OpenXP 5.0.38
    * Origin: Bitz-Box - Bradford - UK (2:240/2188.31)
  • From Martin Foster@2:310/31.3 to August Abolins on Saturday, May 18, 2019 11:46:00
    Hello August!

    ## 21.04.19 at 01:24, August Abolins wrote to Martin Foster:

    Read the second paragraph of "glossary.cfg" again :)

    However, what it doesn't say is how to actually use the glossary
    function.

    Place the cursor at the start of a *blank line* in your message and
    press <Alt-G>. Cursor down the list to ">s+<" and press <Enter> and
    see what happens.

    OMG! The Alt-G was the revelation.

    This feature is SO badly worded in the glossary.cfg.

    Improved in the next release.

    Regards,
    Martin

    --- OpenXP 5.0.38
    * Origin: Bitz-Box - Bradford - UK (2:310/31.3)
  • From August Abolins@2:221/1.59 to Martin Foster on Saturday, May 18, 2019 18:28:22
    Hello Martin,

    On 18.05.19, you wrote to August Abolins:

    OMG! The Alt-G was the revelation.
    AA>> This feature is SO badly worded in the glossary.cfg.

    Improved in the next release.


    That's great news! Thanks.



    ../|ug

    --- WinPoint Beta 5 (359.1)
    * Origin: Please write your complaint in this box [ ] - Legibly (2:221/1.59)