From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Towards a cleaner build: arc-mode Date: Sat, 18 May 2019 10:02:45 +0200 Message-ID: References: <83d0khb888.fsf@gnu.org> <83lfz49v8r.fsf@gnu.org> <83bm009p76.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="102718"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 18 10:02:59 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hRuJ1-000QaR-Aa for ged-emacs-devel@m.gmane.org; Sat, 18 May 2019 10:02:59 +0200 Original-Received: from localhost ([127.0.0.1]:59104 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRuJ0-0008Tq-CQ for ged-emacs-devel@m.gmane.org; Sat, 18 May 2019 04:02:58 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33130) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRuIu-0008Tk-9c for emacs-devel@gnu.org; Sat, 18 May 2019 04:02:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hRuIt-0004ih-Aw for emacs-devel@gnu.org; Sat, 18 May 2019 04:02:52 -0400 Original-Received: from quimby.gnus.org ([80.91.231.51]:49442) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hRuIt-0004ht-4X; Sat, 18 May 2019 04:02:51 -0400 Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=stories) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hRuIn-00061A-UM; Sat, 18 May 2019 10:02:48 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEUzMTIEBAUJBwkBAQGn pqft7e0DAgPRP6+FAAACRklEQVQ4jXVUwW4jIQx1pqTnQCXODG3n3AZpziiCPecA95lh5f//hLUN aavVrhVlJn74+dnGAeP/bfBfQI+XWYvNfwHs2wdgvgE+bXfEvUf5WQDDgLUoNiDDgJj1jDREjUI5 GwHsbs+1lkQGbMRkALVmjnPNqf6wO1i9WwHIEn9yqaXmCPsjQoy8YuVOOSStI2rOkb6oesDuphDC GtruHaRcVGRVBLhcDschNVfOYfwASFQVjzxq1WbkONdUxDO+uUBpxoV/l+8y0gSzAG9cN8BUSsms Od9AROF7LfxohbPnXEoC6Tf+rmVhhHLnLGSUnFvyAHg47w9Ad0AoV6q1dwdm7BF37AMJo21drsVM QDCCvaVEaajtBC0IE4YAzs9hxQt3ElComITMnMv2tBoZI46kbaXu0oErTN4uWtOgUCIst31tuIJ3 CsAB2n0fciji8AvMXnF7OtURkag+w/b0mSaVYnQCaNxfrvhyvbS1GTUpxd3tcg4frr6FcLUQJ0gQ Zwjs56vwurbwkell8i7FM6yk6VBUUvkVtsxjuQOoomCdKSClmNXywW6VUwRFlRPVVvn91prcE77C mkqh5Bs3rZD6CBadSjk/U+XcKk0nYtuoLrqzblFxFkD3WZHYg69pTulEm0MAyupIhxsrVyctAG9W v3XYh7iyB4TKdzLKZq1b+CjtoO2L2um01e6ZjvuxnEb8liZD+k4aov/a2mFo8LLoy8TAIhs/lhqd pqlpY35EWLkUB8smbneDmcV2Vcjzb/TN/yZ/ALOj+ebMii9YAAAAAElFTkSuQmCC In-Reply-To: <83bm009p76.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 18 May 2019 10:50:05 +0300") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 80.91.231.51 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:236706 Archived-At: Eli Zaretskii writes: > I think using this instead of string-as-unibyte should be OK: > > (if (multibyte-string-p str) > (setq str (encode-coding-string str 'utf-8-emacs-unix))) I've now made this change. > What string-as-unibyte does is it makes a unibyte string with the same > bytes as the internal representation of STR, except for raw bytes, > which it converts to their external single-byte form. Encoding with > utf-8-emacs does the same. Ah, I see. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no