From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Haiku port Date: Thu, 26 Aug 2021 19:26:01 +0800 Message-ID: <87tujc4fcm.fsf@yahoo.com> References: <87a6l47j32.fsf.ref@yahoo.com> <87a6l47j32.fsf@yahoo.com> <874kbc7ift.fsf@yahoo.com> <87y28o63ee.fsf@yahoo.com> <83fsuwtvox.fsf@gnu.org> <874kbc5ycx.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16027"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Eli Zaretskii To: Po Lu via "Emacs development discussions." Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Aug 26 13:27:02 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mJDXB-00040R-1J for ged-emacs-devel@m.gmane-mx.org; Thu, 26 Aug 2021 13:27:01 +0200 Original-Received: from localhost ([::1]:44932 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mJDX9-0002vB-Q3 for ged-emacs-devel@m.gmane-mx.org; Thu, 26 Aug 2021 07:26:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52024) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJDWQ-0002Fh-71 for emacs-devel@gnu.org; Thu, 26 Aug 2021 07:26:14 -0400 Original-Received: from sonic301-31.consmr.mail.ne1.yahoo.com ([66.163.184.200]:37821) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mJDWO-0002xf-DH for emacs-devel@gnu.org; Thu, 26 Aug 2021 07:26:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1629977169; bh=+RPhuzN6w/RPkhpZG0EftMKRccvlzi8bSt1D/aDLqdI=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=kCVj8WD2dZFtaEybx428Ea7/yACmazk0EMzafHjqBEhpxVTFnHBvgPk6jebJCGKby+7Fa1gwYCN2PDgOmM/rK0ZZDZGzhDyVFwtSCJiSoaWB7AC2B6SgJv9+DOvnjqsfTarQGR1ZDLRp/bzpzGCv+efTUGi4FrH6lFziIzi0bwzy8ccBWUs7ccuVpUA+HS4KMXTtdVE/JLGXX6h5y/AOpmOVz0NKNSM2HjqDcSCkxmmDgqUvamMYIUc7d47kr7YuTZK+M4VkZ0lWMmGq4sMzbsFSH5VItiIyWVF4QBn5x+RqO6DKUyVPNVCAW615phO+idnYY0AfzApoe9cICGDtxw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1629977169; bh=IkNEuKGsGVhQGkFTqnwxS/C16RkJmPe9ivF/xYH41Pp=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=kaKNXv8sKroRjaSRMK7slzlf/jBnRWKq07yF47bIFhbIF6C4wpxN63SBmwEdLbOAiHtzZ3ubwQRCQFk7WKAI8vE4tjsLVxZdwxiFATurqiewXhoukUcXZSvuS+CNtCrToDH7qvdT8JFSfH+0QbpD2vAuOLxd2O8dGonbl0LNLSjfgt4TcT2X8yufnIFZOZEVKcRnDrk+842ZD3Z290sHq7muhbs9QvXJx6PtIBq3qj237RIFdp2IxFoFWCzRnIkKKt43/GGV+v5jzqZ9I/n5SL3SyHjGHBrxUCBDREBI7z61ZkKUKNVZiBTMYRVU+3Cox+kzkI+iOXqA+9kPtvV2Rw== X-YMail-OSG: RLYadZsVM1n.oGjzS6b6NdfD9Ni8_ZknnXVYvpbRG5d.sY0yhAByLaZcB1dWEHB k_T6UFW5aWbfAeEsoQPaww6wR4f_0AgGPfTGdJLzhrTMCZSxW5O6XV_D5z.fOJaJzOn_SMAprDHY 4txsdUX8oxM1t8hHKN4fP44mup5VKyaKuTqaympOScFX0ptm5hlmzEu6.PKIzh6AYmaycrfUVuc_ UnO8gU8NtzTZ5_TPk47IC3jkBhZYfABwMgV5kQWIZA4FLDa8013DcGgnzGtpGw2oGqosZ_zZdibo gyBEqnsAenn2PTy9kWQ7ikfmbyRN1kDp6QosN3Fd98y91a.rEt8R4KTl_gPKTviQyOOyX8BIzlQ2 TR_9qYWBmchnx14Eo9X016lVb5YD7wNNx8mqvoXvLhC3pzax97yETwA..KTFuBAXdlW9gEY6zG6F yi4iB2PDkyjsPF4suNzN7.ZS_SPvhU6nJRlCLvQfWiYm83wPZC2pJn8mmB2K9dixt7HiUkssXFyL 34Dc1qlXM.we1b8yVQHS.tRLld3CbWJO09qVak9.2AaJ6amJPAdqupIi7IIx8YanTT1H2k9wXHpc bUeBI51HK9DUOO5Kyqm799u249qFCuXFt.15lXZ0gXnCztirvFVe3oyYUYU2SmEhJUNVrj1JT_IF 7p.O.w0vPo0yIUBw7VRtc9zxl9foEEt0kljWIasGx9Bpefvncx75oddZ7zBgm0oP9BehgTWUplTA VHYEicHUTiQmV.ta2uGykVJ7AQJONCwJtdXATNVgy6IIcFYw8JaNmPNsQKx8Vr_h6QMnSmS0Y9vO LBWuaMvLhOIOqIMkaA7jpFhomQA3sVYxPqUm_UFF7L X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.ne1.yahoo.com with HTTP; Thu, 26 Aug 2021 11:26:09 +0000 Original-Received: by kubenode513.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 600c58c75726c0f9284c34f9782d1d10; Thu, 26 Aug 2021 11:26:05 +0000 (UTC) In-Reply-To: <874kbc5ycx.fsf@yahoo.com> (Po Lu via's message of "Thu, 26 Aug 2021 17:50:06 +0800") X-Mailer: WebService/1.1.18906 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.184.200; envelope-from=luangruo@yahoo.com; helo=sonic301-31.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:273023 Archived-At: Po Lu via "Emacs development discussions." writes: >> Don't you need to decode the clipboard text before building an Emacs >> Lisp string from it? > > If I'm not mistaken, the string should be UTF-8. Is build_string () > insufficient? Nevermind. The Haiku API docs are vague, but the Be Book clarifies it somewhat. It does seem to require decoding, thanks.