help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: visible-whitespace-mode


From: Stefan Monnier
Subject: Re: visible-whitespace-mode
Date: Fri, 10 Jun 2022 09:20:44 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Michael Heerdegen [2022-06-10 11:18:08] wrote:
> goncholden <goncholden@protonmail.com> writes:
>> Invalid read syntax: ?
>
> |  (?\t [?» ?\t] [?\\ ?\t])
> |  (?   [?·] [?.])
>          ^^^
>
> ?» and ?· are syntactically invalid (two non-whitespace characters
> follow the "?").  Which characters do you want to specify?

This looks like utf-8 encoded text mis-decoded with the
latin-1 coding-system:

    (decode-coding-string (encode-coding-string "[?» ?\\t]" 'latin-1) 'utf-8)
    ==>
    "[?» ?\t]"

    (decode-coding-string (encode-coding-string "[?·]" 'latin-1) 'utf-8)"
    ==>
    "[?·]


-- Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]