[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Towards a cleaner build
From: |
Lars Ingebrigtsen |
Subject: |
Re: Towards a cleaner build |
Date: |
Fri, 17 May 2019 05:32:58 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
In xselect--encode-string:
select.el:475:24:Warning: ‘string-make-unibyte’ is an obsolete function (as of
26.1); use ‘encode-coding-string’.
This is the code:
((eq type 'C_STRING)
(setq str (string-make-unibyte str)))
(string-make-unibyte "á☪foo")
=> "\341*foo"
I'm guessing the point here is to make an 8-bit string that is somewhat
congruent with the (possibly) multibyte string that we have here? Do we
have a library function (or a coding system) that does the same thing?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- Re: Towards a cleaner build, (continued)
- Re: Towards a cleaner build, Stefan Monnier, 2019/05/28
- Re: Towards a cleaner build, Stefan Monnier, 2019/05/17
- Re: Towards a cleaner build, Lars Ingebrigtsen, 2019/05/18
- Re: Towards a cleaner build, Stefan Monnier, 2019/05/18
- Re: Towards a cleaner build, Lars Ingebrigtsen, 2019/05/18
- Re: Towards a cleaner build, Eli Zaretskii, 2019/05/17
- Re: Towards a cleaner build, Stefan Monnier, 2019/05/17
RE: Towards a cleaner build, Drew Adams, 2019/05/16
Re: Towards a cleaner build,
Lars Ingebrigtsen <=
Re: Towards a cleaner build, Lars Ingebrigtsen, 2019/05/16
Re: Towards a cleaner build, Eli Zaretskii, 2019/05/17