zsh-workers
 help / color / mirror / code / Atom feed
From: Sebastian Gniazdowski <sgniazdowski@gmail.com>
To: Oliver Kiddle <okiddle@yahoo.co.uk>
Cc: Zsh workers <zsh-workers@zsh.org>
Subject: Re: PATCH: properly unset the zle registers hash
Date: Sat, 7 Apr 2018 13:36:43 +0200	[thread overview]
Message-ID: <CAKc7PVCbGEeU3vN9Dmn85eNODiGQi5VfWbfk_qzrnTz8fHJNbw@mail.gmail.com> (raw)
In-Reply-To: <32761.1523065994@thecus>

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

On 7 April 2018 at 03:53, Oliver Kiddle <okiddle@yahoo.co.uk> wrote:

> Though, mapfile triggers the address sanitizer for an invalid
> free before I can verify this path with it.
>

mapfile has significant room for quality and feature improvements, but the
fact that metafication and unicode are in the way is discouraging. I mean,
to find character N=1000, one has to traverse buffer with mbtowc, counting
unicode characters. So one feature could be allowing to index by bytes,
with use case like: get last 1000 bytes from large log file, then process
as unicode string, extracting last 10 lines. Metafication is in the way,
getarg/getindex cannot be customized like getter and setter, so
byte-indexing is problematic.

-- 
Best regards,
Sebastian Gniazdowski

      reply	other threads:[~2018-04-07 11:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-07  1:53 Oliver Kiddle
2018-04-07 11:36 ` Sebastian Gniazdowski [this message]

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=CAKc7PVCbGEeU3vN9Dmn85eNODiGQi5VfWbfk_qzrnTz8fHJNbw@mail.gmail.com \
    --to=sgniazdowski@gmail.com \
    --cc=okiddle@yahoo.co.uk \
    --cc=zsh-workers@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).