zsh-workers
 help / color / mirror / code / Atom feed
From: "Mark J. Reed" <markjreed@gmail.com>
To: zsh-workers@zsh.org
Subject: [BUG] multibyte never set according to setopt/unsetopt output
Date: Wed, 20 Dec 2023 11:04:54 -0500	[thread overview]
Message-ID: <CAA=-s3wTZhKdtiF+yi6-nsvHD5Sj+7aUG6UDmW-GhKRh9nJU1w@mail.gmail.com> (raw)

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

5.9, running on macOS. zsh fires up with multibyte enabled by default,
which is visible in the way it handles multibyte characters (e.g. x=ā; echo
$#x shows 1). I can turn the option off, and the behavior changes (e.g. the
same parameter has a length of 2).

But `unsetopt` always shows `nomultibyte`, and `setopt` never shows
`multibyte`, regardless of the actual setting.

--
Mark J. Reed <markjreed@gmail.com>

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

             reply	other threads:[~2023-12-20 16:05 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-20 16:04 Mark J. Reed [this message]
2023-12-20 16:22 ` Peter Stephenson
2023-12-20 16:44   ` Bart Schaefer
2023-12-20 16:54     ` Mikael Magnusson
2023-12-20 16:55     ` Peter Stephenson
2023-12-20 17:06       ` Mikael Magnusson
2023-12-20 17:30         ` Peter Stephenson
2023-12-20 17:40           ` Mikael Magnusson
2024-01-19 15:02             ` Mark J. Reed
2024-01-20 22:27               ` Bart Schaefer
2023-12-20 16:59   ` Mikael Magnusson

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='CAA=-s3wTZhKdtiF+yi6-nsvHD5Sj+7aUG6UDmW-GhKRh9nJU1w@mail.gmail.com' \
    --to=markjreed@gmail.com \
    --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).