• Re: Relation(s) between/among Kate, Kwrite, and Katepart

    From tomas@tuxteam.de@21:1/5 to Richard Owlett on Sun Apr 20 15:00:01 2025
    On Sun, Apr 20, 2025 at 07:27:12AM -0500, Richard Owlett wrote:
    I'm restarting a editing project that could take advantage of using "regular expressions".

    I had stated using Kate for the project.

    I'm reviewing my regular expression related web searches. It would be
    helpful if I could find a _single_ document that made comparison between/among Kate, Kwrite, and Katepart. [e.g. package goals]

    Now I'm confused: regular expressions or package comparisons?

    About the packages you mention I can't say much. If you have more
    concrete regular expression questions, I'm happy to chime in.

    Cheers
    --
    t

    Suggestions?

    TIA


    -----BEGIN PGP SIGNATURE-----

    iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCaATvFAAKCRAFyCz1etHa Rj14AJ4tpsJeKXLs8m6/tmDE9EUIlfl74QCdErWESyQv9oLkqZDMPC3icHJteFE=
    =GxAh
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Owlett@21:1/5 to All on Sun Apr 20 14:30:01 2025
    I'm restarting a editing project that could take advantage of using
    "regular expressions".

    I had stated using Kate for the project.

    I'm reviewing my regular expression related web searches. It would be
    helpful if I could find a _single_ document that made comparison
    between/among Kate, Kwrite, and Katepart. [e.g. package goals]

    Suggestions?

    TIA

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Owlett@21:1/5 to tomas@tuxteam.de on Sun Apr 20 15:50:02 2025
    On 4/20/25 7:56 AM, tomas@tuxteam.de wrote:
    On Sun, Apr 20, 2025 at 07:27:12AM -0500, Richard Owlett wrote:
    I'm restarting a editing project that could take advantage of using "regular >> expressions".

    I had stated using Kate for the project.

    I'm reviewing my regular expression related web searches. It would be
    helpful if I could find a _single_ document that made comparison
    between/among Kate, Kwrite, and Katepart. [e.g. package goals]

    Now I'm confused: regular expressions or package comparisons?

    My "universe of discourse" is a collection of references discussing the
    use of "regular expressions".

    A significant number of which mention Kate *or* Kwrite *or* Katepart.
    I need to understand the entity goals of Kate, Kwrite, and Katepart.
    I.E. In a discussion of "regular expressions", does it matter which of
    those packages is referred to?

    Clearer?


    About the packages you mention I can't say much. If you have more
    concrete regular expression questions, I'm happy to chime in.

    Cheers


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David Wright@21:1/5 to Richard Owlett on Sun Apr 20 15:30:01 2025
    On Sun 20 Apr 2025 at 07:27:12 (-0500), Richard Owlett wrote:
    I'm restarting a editing project that could take advantage of using
    "regular expressions".

    I had stated using Kate for the project.

    I'm reviewing my regular expression related web searches. It would be
    helpful if I could find a _single_ document that made comparison between/among Kate, Kwrite, and Katepart. [e.g. package goals]

    Suggestions?

    /var/lib/apt/lists/deb.debian.org_debian_dists_bookworm_main_i18n_Translation-en

    Package: kate
    Description-md5: ab2572368eb6cf239ac558f6cd35a97c
    Description-en: powerful text editor
    Kate is a powerful text editor that can open multiple files simultaneously.
    .
    With a built-in terminal, syntax highlighting, and tabbed sidebar,
    it performs as a lightweight but capable development environment.
    Kate's many tools, plugins, and scripts make it highly customizable.
    .
    Kate's features include:
    .
    * Multiple saved sessions, each with numerous files
    * Scriptable syntax highlighting, indentation, and code-folding
    * Configurable templates and text snippets
    * Symbol viewers for C, C++, and Python
    * XML completion and validation

    Package: kwrite
    Description-md5: dd638fec6a6002fe9ac850e5e842392b
    Description-en: simple text editor
    KWrite is a simple text editor built on the KDE Platform. It uses the
    Kate editor component, so it supports powerful features such as
    flexible syntax highlighting, automatic indentation, and numerous
    other text tools.

    Package: ktexteditor-katepart
    Description-md5: 3162e86e5e7045f0a5f650908df08a6f
    Description-en: provide advanced plain text editing services
    The KTextEditor interfaces - also called KTE interfaces - are a set
    of well-defined interfaces which an application or library can
    implement to provide advanced plain text editing
    services. Applications which utilise this interface can thus allow
    the user to choose which implementation of the editor component to
    use. The only implementation right now is the Kate Editor Component
    (Kate Part).
    .
    This contains the Kate Part plugin.

    Cheers,
    David.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From George at Clug@21:1/5 to All on Sun Apr 20 16:20:01 2025
    On Sunday, 20-04-2025 at 23:45 Richard Owlett wrote:
    On 4/20/25 7:56 AM, tomas@tuxteam.de wrote:
    On Sun, Apr 20, 2025 at 07:27:12AM -0500, Richard Owlett wrote:
    I'm restarting a editing project that could take advantage of using "regular
    expressions".

    I had stated using Kate for the project.

    I'm reviewing my regular expression related web searches. It would be
    helpful if I could find a _single_ document that made comparison
    between/among Kate, Kwrite, and Katepart. [e.g. package goals]

    Now I'm confused: regular expressions or package comparisons?

    My "universe of discourse" is a collection of references discussing the
    use of "regular expressions".

    A significant number of which mention Kate *or* Kwrite *or* Katepart.
    I need to understand the entity goals of Kate, Kwrite, and Katepart.
    I.E. In a discussion of "regular expressions", does it matter which of
    those packages is referred to?

    Clearer?

    Sorry, but I do not understand the meaning of your words:
    "universe of discourse"
    "entity goals"

    And I am confused by this sentences:
    "A significant number of which mention Kate *or* Kwrite *or* Katepart."
    "In a discussion of "regular expressions", does it matter which of those packages is referred to?"

    Maybe I need more sleep. Apologies. I hope someone understands and can answer your questions.

    I am guessing you are talking about: https://docs.kde.org/stable5/en/kate/kate/regular-expressions.html https://docs.kde.org/stable5/en/kate/katepart/regular-expressions.html https://docs.kde.org/stable5/en/kate/kwrite/index.html (I presume kwrite does not support regular expressions)

    If I have understood your query (which seems unlikely), is the answer:

    Kwrite does not support regular expressions whil eKate and Katepart support the same regular expressions as defined in https://docs.kde.org/stable5/en/kate/katepart/regular-expressions.htm

    George.




    About the packages you mention I can't say much. If you have more
    concrete regular expression questions, I'm happy to chime in.

    Cheers




    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From tomas@tuxteam.de@21:1/5 to Richard Owlett on Sun Apr 20 18:30:01 2025
    On Sun, Apr 20, 2025 at 08:45:58AM -0500, Richard Owlett wrote:
    On 4/20/25 7:56 AM, tomas@tuxteam.de wrote:
    On Sun, Apr 20, 2025 at 07:27:12AM -0500, Richard Owlett wrote:
    I'm restarting a editing project that could take advantage of using "regular
    expressions".

    I had stated using Kate for the project.

    I'm reviewing my regular expression related web searches. It would be helpful if I could find a _single_ document that made comparison between/among Kate, Kwrite, and Katepart. [e.g. package goals]

    Now I'm confused: regular expressions or package comparisons?

    My "universe of discourse" is a collection of references discussing the use of "regular expressions".

    A significant number of which mention Kate *or* Kwrite *or* Katepart.
    I need to understand the entity goals of Kate, Kwrite, and Katepart.
    I.E. In a discussion of "regular expressions", does it matter which of those packages is referred to?

    Clearer?

    Got it. Then David Wirght's answer seems to be the most appropriate.

    Most (programmer's) text editors (from the many variations of vi,
    Emacs, and, yes, Kate and its friends) do support regular expressions.

    Note that regular expressions come in slightly different flavours.
    Going by Kate's documentation [1] on this topic they seem to be
    PCRE or a variant thereof.

    Cheers

    [1] https://docs.kde.org/stable5/en/kate/katepart/regular-expressions.html
    --
    t

    -----BEGIN PGP SIGNATURE-----

    iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCaAUgEgAKCRAFyCz1etHa RsXqAJwKHBAw8iW3DClVIDtzZMNC6ceN/wCcDVB+mO2xhBwWDGxArUFKI93LY7s=
    =awF1
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From debian-user@howorth.org.uk@21:1/5 to tomas@tuxteam.de on Sun Apr 20 19:00:01 2025
    <tomas@tuxteam.de> wrote:
    On Sun, Apr 20, 2025 at 08:45:58AM -0500, Richard Owlett wrote:
    On 4/20/25 7:56 AM, tomas@tuxteam.de wrote:
    On Sun, Apr 20, 2025 at 07:27:12AM -0500, Richard Owlett wrote:
    I'm restarting a editing project that could take advantage of
    using "regular expressions".

    I had stated using Kate for the project.

    I'm reviewing my regular expression related web searches. It
    would be helpful if I could find a _single_ document that made comparison between/among Kate, Kwrite, and Katepart. [e.g.
    package goals]

    Now I'm confused: regular expressions or package comparisons?

    My "universe of discourse" is a collection of references discussing
    the use of "regular expressions".

    A significant number of which mention Kate *or* Kwrite *or*
    Katepart. I need to understand the entity goals of Kate, Kwrite,
    and Katepart. I.E. In a discussion of "regular expressions", does
    it matter which of those packages is referred to?

    Clearer?

    Got it. Then David Wirght's answer seems to be the most appropriate.

    Most (programmer's) text editors (from the many variations of vi,
    Emacs, and, yes, Kate and its friends) do support regular expressions.

    Note that regular expressions come in slightly different flavours.
    Going by Kate's documentation [1] on this topic they seem to be
    PCRE or a variant thereof.

    Cheers

    [1]
    https://docs.kde.org/stable5/en/kate/katepart/regular-expressions.html

    Err, did you notice the bit in that reference that says: "It documents
    regular expressions in the form available within KatePart, which is not compatible with the regular expressions of perl"? Note that PCRE stands
    for Perl Compatible Regular Expressions.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From tomas@tuxteam.de@21:1/5 to debian-user@howorth.org.uk on Sun Apr 20 19:50:01 2025
    On Sun, Apr 20, 2025 at 05:58:31PM +0100, debian-user@howorth.org.uk wrote:
    <tomas@tuxteam.de> wrote:

    [...]

    Note that regular expressions come in slightly different flavours.
    Going by Kate's documentation [1] on this topic they seem to be
    PCRE or a variant thereof.

    Cheers

    [1]
    https://docs.kde.org/stable5/en/kate/katepart/regular-expressions.html

    Err, did you notice the bit in that reference that says: "It documents regular expressions in the form available within KatePart, which is not compatible with the regular expressions of perl"? Note that PCRE stands
    for Perl Compatible Regular Expressions.

    Thanks for pointing that out. I missed that (I searched for PCRE in the
    page), so my assessment was due to cursory eyeballing (that's why I
    wrote "seem to be...".

    And note PCRE is not Perl's regexps, but just "inspired by". They
    converged and diverged over their respective histories. To get an
    idea of the current situation, perhaps [2] is relevant.

    Cheers

    [2] https://en.wikipedia.org/wiki/PCRE#Differences_from_Perl
    --
    t


    -----BEGIN PGP SIGNATURE-----

    iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCaAUx2QAKCRAFyCz1etHa RpSTAJ9+2/OQ9GZ4P61nrwR7QrCVjew3KgCfa3nLW6pbzuywuvYKh/QyrY/9B98=
    =dRFo
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Owlett@21:1/5 to David on Mon Apr 21 14:00:01 2025
    On 4/20/25 10:40 AM, David wrote:
    On Sun, 20 Apr 2025 at 14:17, George at Clug <Clug@goproject.info> wrote:

    Sorry, but I do not understand the meaning of your words:
    "universe of discourse"
    "entity goals"

    And I am confused by this sentences:
    "A significant number of which mention Kate *or* Kwrite *or* Katepart."
    "In a discussion of "regular expressions", does it matter which of those
    packages is referred to?"

    Maybe I need more sleep. Apologies. I hope someone understands and can
    answer your questions.

    I think there is a universal human desire to try to avoid looking stupid.
    I wonder sometimes if people are afraid that asking a simple question will make them look stupid.

    This can then lead to questions with extra layers of pontification and obfuscation and passive voice and intransigence and XY questions.

    The problem with this is that it just makes it so much more difficult to help, and generates long confusing threads, and wading through all this is
    a less pleasant experience for everyone than just answering a simple question.

    I can "sorta" generally accept those three paragraphs.


    The question could have been something like: "I want to learn about using regular expressions for manual text editing. I'm thinking to use Kate,
    Kwrite or KatePart. Does it matter which of those I use?"

    That does *NOT* express *MY* question!!!


    Answer: No.

    That answer is demonstrably *WRONG* for at least two reasons:
    1. Both Kate and Kwrite exist for a reason.
    "What reason" is left as an exercise for the student ;}
    2. Is KatePart used by *any* editor other than Kate and Kwrite?

    Other responses to my question quoted documentation addressing
    an editing project that could take advantage of using "regular expressions".

    I had already seen some but not all of the references.

    I'm still interested in
    a _single_ document that made comparison between/among Kate, Kwrite
    and Katepart.

    Thanks to all who responded.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Owlett@21:1/5 to Eduardo M KALINOWSKI on Mon Apr 21 15:10:01 2025
    On 4/21/25 7:17 AM, Eduardo M KALINOWSKI wrote:
    Em 21/04/2025 08:50, Richard Owlett escreveu:
    That does *NOT* express *MY* question!!!

    Then you should have stated your question more clearly.

    It was evidently clear enough to *YOU* that you could [and *did]
    explicitly answer my explicit question below.


    Asking a vague a confusing question and then strongly emphasing that
    what people have gone to the trouble of responding to you is not what
    you wanted is not helpful.

    I'm still interested in
    a _single_ document that made comparison between/among Kate, Kwrite
    and Katepart.

    Such thing may not exist.

    True *GRIN*
    You just gave a valid (if disappointing/undesired) answer to my
    *explicitly* posed question.


    [SNIP]


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Eduardo M KALINOWSKI@21:1/5 to All on Mon Apr 21 14:40:01 2025
    Em 21/04/2025 08:50, Richard Owlett escreveu:
    That does *NOT* express *MY* question!!!

    Then you should have stated your question more clearly.

    Asking a vague a confusing question and then strongly emphasing that
    what people have gone to the trouble of responding to you is not what
    you wanted is not helpful.

    I'm still interested in
    a _single_ document that made comparison between/among Kate, Kwrite
    and Katepart.

    Such thing may not exist.

    You seem to always want one document taylor-made to your questions, some
    holy grail of documentation that will answer all you questions (even the
    ones that you haven't even though of yet).

    It most cases that's not how it's going to work: you'll have search
    several documents, and piece together from them what you really want.
    Even in cases when there is, for example, a very compreehensive book on
    a subject (like some books on programming languages), it still might not address every single point you'd like to. And it will cover some things
    that are not relevant to you.

    Moreover, it is just lazy to expect people to search the web for you. If
    you have some specific question, it is fine to ask, but you could've
    search yourself for the vague questions you had, and found out the broad answers by yourself.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)