zsh-users
 help / color / mirror / code / Atom feed
From: Sebastian Gniazdowski <sgniazdowski@gmail.com>
To: Mikael Magnusson <mikachu@gmail.com>
Cc: Zsh Users <zsh-users@zsh.org>
Subject: Re: Example Zle -T transformation function?
Date: Sun, 10 Sep 2023 09:16:37 +0200	[thread overview]
Message-ID: <CAKc7PVD3RU_8-W-aEk9C2_9DC_g4F0GpZs=SxJ0gXPqLiArrqw@mail.gmail.com> (raw)
In-Reply-To: <CAHYJk3TaOzYn8_h6-3gP6RuR4ZP-iJKx=aYuMhSN6rQWO0_7zQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 891 bytes --]

Thanks. It seems that a transformation function takes per char data and is
allowed to return multiple char strings.


On Sat, 9 Sept 2023 at 18:46, Mikael Magnusson <mikachu@gmail.com> wrote:

> On 9/9/23, Sebastian Gniazdowski <sgniazdowski@gmail.com> wrote:
> > In the manual, there are zle -T functions mentioned:
> >
> >               -T     This is used to add, list or remove internal
> >  transforma‐
> >                      tions on the processing performed by the line
> editor.
> > It
> >                      is typically used only for debugging or  testing
> and
> >  is
> >                      therefore of little interest to the general user.
> >
> > Could someone provide an example of such transformation function?
>
> https://www.zsh.org/mla/workers/2012/msg00013.html
>
> --
> Mikael Magnusson
>


-- 
Best regards,
Sebastian Gniazdowski

[-- Attachment #2: Type: text/html, Size: 1754 bytes --]

  reply	other threads:[~2023-09-10  7:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-09 15:41 Sebastian Gniazdowski
2023-09-09 16:46 ` Mikael Magnusson
2023-09-10  7:16   ` Sebastian Gniazdowski [this message]
2023-09-10  7:26     ` Sebastian Gniazdowski
2023-09-10 12:20       ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAKc7PVD3RU_8-W-aEk9C2_9DC_g4F0GpZs=SxJ0gXPqLiArrqw@mail.gmail.com' \
    --to=sgniazdowski@gmail.com \
    --cc=mikachu@gmail.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).