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: Byte swapping and bindat Date: Sat, 11 Jun 2022 08:55:31 +0800 Message-ID: <878rq4koho.fsf@yahoo.com> References: <87pmjglllc.fsf.ref@yahoo.com> <87pmjglllc.fsf@yahoo.com> <83mtekzf9f.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30484"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: Eli Zaretskii , EMACS development team To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jun 11 02:57:52 2022 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 1nzpRn-0007l3-T0 for ged-emacs-devel@m.gmane-mx.org; Sat, 11 Jun 2022 02:57:51 +0200 Original-Received: from localhost ([::1]:56260 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nzpRm-0005G6-Hy for ged-emacs-devel@m.gmane-mx.org; Fri, 10 Jun 2022 20:57:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41982) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzpPi-0003jQ-Tk for emacs-devel@gnu.org; Fri, 10 Jun 2022 20:55:42 -0400 Original-Received: from sonic302-22.consmr.mail.ne1.yahoo.com ([66.163.186.148]:32782) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nzpPh-0002VW-D5 for emacs-devel@gnu.org; Fri, 10 Jun 2022 20:55:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1654908939; bh=tOfYlRapzwx9KJuNEkr0KSE8sq3yt1MDd5S7uCXEpMM=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=MJ/gBXk8lL2dgLCXLil10TY6oobrtBKaW6df+L0b4bG0tukp8BAVn3fp7/xVdcKnc8dHa7TEry9QrlekTxM6r/genqcYstNrWfytTcrao9kNfhf2fu6/HCaAwOY/AglE6sBEqn/5kXqDAoD8IOPI08u7KXvQXnoBsOrRhSojjY1tD/nU3GTE4KLE7s/nyU1YfjG1vW4xt0lKDHHnSw8dHeUrxxstg/mYsr3ncITI8oiIEnGiCqszmdIw2cynwAvF5T1StEPMEM3s6swJKAX03AYl97Jm50LVdPdJotu0iF/RT1NyRWPUXl3CIKOZzCv65GfDopPuJs7UE/Ntlbj3wA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1654908939; bh=7IFzB6U/mmd6qfwbFSbk7o2Nw4yidGBEkHgfVHx9QOn=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=bc5FFlYsREQZSyvAvSdLCgW7jCSo0lzI0kE+E67fyT4DGb36Rn1kEJVAf2fN6s+C0AyxH061Jc9RT1ODFfYAbEK9DHhZ7J4dwlyDmse7U38RhKjSf/6RbRbLko1bmTUfOf2H6E2kKq9QY/rjCX6IKtN15qExmKVCeIeXUvQcg9yLdj8MawTcUWqQMd6gBJ5Wm/z1OMKxOdam0y8cwleG1Bfk417NSulmhIPbcUkG0zZGNMRSjPPy9gNZGOVJejfS/+pCIfACt/7AeUtBnCTQtNkhhG5H3RgNa/o28iZ/+HMqSE5Wym7e9z+rjPcuLnfiWkbsQ0oZD4sPQHXiPoKl+g== X-YMail-OSG: w4lMmCQVM1nxH34BaktoDFHz49oiuInjAdE884OLZnd2bHveRB9pA.0zEqR24pt 9yxJ4TXvPwSWhAh8cpLCd1P0DjEy1YPd0jgdSPIXT3epbqiKZChB964Xue4YEXWTMqTSTWjZE1HV .OpjJTuW2NTc2vpZvD0ok5.i5_9oLBAHBDe3t1U.voOVAOPTaeob73nF9pVRIj0mCDHkddhWYoV4 Y8Xw044rq.4cTqMSBmOko0GhmxmGLzXq81xknm7CYBTONjpsAm3F0tdad5UF2tNWoSSXMCJm0L6q 5ZcbmxuFAwsHs0rYsmeemjVc0TvLqJV7cQPdAVXv58lv9azTXPfo5YxSwhr1wwa.x8evZs.MP0VU 5amUQPGsCOMaD2OhdaWVGF9qE4RtfX_HG.AtQJOy2t.zT6auyWf4LdGyaiMKZ7SHnq7rK6aoHDpv tgGMu_e7edGBHwI4YlmP4WdTS0xFTwa89KKzHwssq3icYSVCqPmA6cUWS5Haz4GZuib.LFREbREb jH2TvvCpgmlktbgyoeSKPHEf8jNigBodLEOIxNsX8rnl9Bg8sqN12ZvfSR3GaTilXYNKhSZWusPd W16kUzrX1XjrrnqO_i5y.cMiwv2o3.bXO884X.pYpZNgQf55wOXpRXGTntE3RAHWuhw4K8Kx0v07 6N1nmD7eGNkB1EmGdvSgcekoWcO_qHbqwppFJr0fheTtE5i1JVzuO_1uWwTYw_Q6kIE2Vi4VpTvj dO81Nz0.bwEZHdDH9reTkqob0WJG8RZ4T4UN2322Tmvd7ytNyP0XED22xK5YhAuz2EYD.n3TBLvE 9sqk9JFYFQwrQ2PNK5ORVgh1yBV50uzEhpeTawj_Pu X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.ne1.yahoo.com with HTTP; Sat, 11 Jun 2022 00:55:39 +0000 Original-Received: by hermes--canary-production-sg3-5f7658c994-6jtvl (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID e4f334684d7411c24124473da26e70ed; Sat, 11 Jun 2022 00:55:35 +0000 (UTC) In-Reply-To: (Stefan Monnier's message of "Fri, 10 Jun 2022 17:42:41 -0400") X-Mailer: WebService/1.1.20280 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.186.148; envelope-from=luangruo@yahoo.com; helo=sonic302-22.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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:291011 Archived-At: Stefan Monnier writes: > Good point. I think it would also be nice to unify `uint` and `uintr`. > > What about the patch below? I can't speak as to the code, but the idea and the doc looks great. Thanks!