From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 18 12:07:07 2021 Received: (at submit) by debbugs.gnu.org; 18 Nov 2021 17:07:07 +0000 Received: from localhost ([127.0.0.1]:37045 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnksI-0005bd-Sd for submit@debbugs.gnu.org; Thu, 18 Nov 2021 12:07:07 -0500 Received: from lists.gnu.org ([209.51.188.17]:34328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnksG-0005bE-E2 for submit@debbugs.gnu.org; Thu, 18 Nov 2021 12:07:01 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37694) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnksG-00011r-AT for bug-gnu-emacs@gnu.org; Thu, 18 Nov 2021 12:07:00 -0500 Received: from [2a01:4f9:2b:f0f::2] (port=40708 helo=quimby.gnus.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnksE-0004ax-6m for bug-gnu-emacs@gnu.org; Thu, 18 Nov 2021 12:07:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :Date:Subject:To:From:Sender:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=ubigBQxhwT1/zdDS4F6xCAW/B2Ds6Fk+jsUI8GDh8+Q=; b=OIkaEG9qufGun/LDQKJvCX43NM kdBA3odRzUUl67pKl30dKqQy/NGtUaYMGFrXkCAcexoti5P9rF/jGk2jMhllLBJwRrvyq+Cu+XZTG 2VV3Z4DyIh+sKh0qOj3I6bx8Hkk+U/vVNRvOIX0VNZH5CIxJGUizhUT1gcMEtLZ9FA2M=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mnks9-0002W0-1S for bug-gnu-emacs@gnu.org; Thu, 18 Nov 2021 18:06:55 +0100 From: Lars Ingebrigtsen To: bug-gnu-emacs@gnu.org Subject: 29.0.50; puny-encode doesn't normalize X-Now-Playing: Bridget St John's _Ask Me No Questions_: "Like Never Before" Date: Thu, 18 Nov 2021 18:06:47 +0100 Message-ID: <87r1bdz93s.fsf@gnus.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: I'm reading https://www.unicode.org/reports/tr36/ which says that IDNA should normalise the strings before encoding (and lowercase, too?) This seems to agree: Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a01:4f9:2b:f0f::2 (failed) Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -35 X-Spam_score: -3.6 X-Spam_bar: --- X-Spam_report: (-3.6 / 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, RCVD_IN_DNSWL_MED=-2.3, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) I'm reading https://www.unicode.org/reports/tr36/ which says that IDNA should normalise the strings before encoding (and lowercase, too?) This seems to agree: https://en.wikipedia.org/wiki/Punycode But: (puny-encode-string "Ba=CC=88.com") =3D> "xn--Ba.com-xyd" (puny-encode-string (ucs-normalize-NFKC-string "Ba=CC=88.com")) =3D> "xn--B.com-gra" So I think puny-encode-string should do that first, if I'm reading TR36 right. In GNU Emacs 29.0.50 (build 17, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, = cairo version 1.16.0) of 2021-11-18 built on xo Repository revision: 7a1e5ac8b29b731e89cc9d5b498e31bd90840b9b Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12011000 System Description: Debian GNU/Linux bookworm/sid Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 18 13:40:58 2021 Received: (at 51954) by debbugs.gnu.org; 18 Nov 2021 18:40:58 +0000 Received: from localhost ([127.0.0.1]:37168 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnmLC-0002RJ-DZ for submit@debbugs.gnu.org; Thu, 18 Nov 2021 13:40:58 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59642) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnmLA-0002R3-RO for 51954@debbugs.gnu.org; Thu, 18 Nov 2021 13:40:57 -0500 Received: from [2001:470:142:3::e] (port=33782 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnmL5-0000sJ-F8; Thu, 18 Nov 2021 13:40:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=Fsm6wvRn0yJ/XH4890F7bSqr7wIZlsZJ1G5eAoFVFY0=; b=MsSQ5sKap7Joko3vBbj5 Xpz1S3AKqsacHos5UPXxCwRjTNsAQYwOYi7ku3tslK3//Xd5N03Ud+jvEUjTW88NeAOcxOjucrPQe pq01tXoux5vGRnMKFYG8PCj24oQ8hJ1gqvjc+b4rQUSGkmynt9DL0bp3Do7syD8tMg8rTRN78ve2i fJ9b+CJeHLTP86okaYXK/9Vh1vJo/lWwUtPp5+WCbl0TtHnNWnD9dFok3G9fluenmPMCU7L6LJjSs zSHxwvVbzXWnmN4JWyPup9lpBAdnqxykO0OJxu7zg7dAQSx3sugS6mF+iddMY5v1dVsh/hAQ3pNLj ShXIGawIU9RZBw==; Received: from [87.69.77.57] (port=2861 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnmL2-0001e4-On; Thu, 18 Nov 2021 13:40:51 -0500 Date: Thu, 18 Nov 2021 20:40:46 +0200 Message-Id: <83tug9wbm9.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-Reply-To: <87r1bdz93s.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu, 18 Nov 2021 18:06:47 +0100) Subject: Re: bug#51954: 29.0.50; puny-encode doesn't normalize References: <87r1bdz93s.fsf@gnus.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 51954 Cc: 51954@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen > Date: Thu, 18 Nov 2021 18:06:47 +0100 > > I'm reading > > https://www.unicode.org/reports/tr36/ > > which says that IDNA should normalise the strings before encoding (and > lowercase, too?) Yes. See also http://www.unicode.org/reports/tr46/. > (puny-encode-string (ucs-normalize-NFKC-string "Bä.com")) > => "xn--B.com-gra" NFKC or NFC? > So I think puny-encode-string should do that first, if I'm reading TR36 > right. Agreed. From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 19 01:45:55 2021 Received: (at 51954) by debbugs.gnu.org; 19 Nov 2021 06:45:55 +0000 Received: from localhost ([127.0.0.1]:37738 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnxel-00082Y-Bv for submit@debbugs.gnu.org; Fri, 19 Nov 2021 01:45:55 -0500 Received: from quimby.gnus.org ([95.216.78.240]:56838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnxej-00082F-Aw for 51954@debbugs.gnu.org; Fri, 19 Nov 2021 01:45:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=i2m6JzluFAHqnFbcNyqpWbapnslAwlCOiBpvwjMO/XE=; b=YbxOdWVK9m9+yBBrGIppyXh9x8 e4a7wdXtVCgjQrGc83movSzed94IqCNs6dQlyVF726N5RrM4PKesVTSCJmVBou9KgTNkokcbeO5iV rpnyrFMCSU4qi6Aus5LZRq3fFEASJmhdHaf3AfsAew9KtZU0YSGToYdmWty7q2kTNACE=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mnxea-0007sj-2X; Fri, 19 Nov 2021 07:45:46 +0100 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#51954: 29.0.50; puny-encode doesn't normalize References: <87r1bdz93s.fsf@gnus.org> <83tug9wbm9.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEWjaluRSVC3hWRW RUMyLTL///+e1TclAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+ULEwYqOYvC0WMAAAGSSURBVDjLbZSB jcMwCEUx7gBE6QCuJ4iFB7iK7D/TYcCJe1ekqsl/5mNjFICIRPNhg4/QV6zwPzbA8qmXEvkV4WvC HYn5KLPediPVuR9T15iJXQELTp1uV46U7VpfzRmzglNMJ1+PkGyfouAEiuVQICU366cGXP4lQwN7 fBpIkQCUdqHjBpagVdWmC7UBsuodRgIqULxz7GIB1qeUo5pb0dhnXa4EHxcAfPkGsITTBNXOYXsD eASAEMePoRU9H08QvdDqR4ZsHQkr8COn/JPwqb09u2eUBF6J32qnQMSAOlGyPXXBcYESGQjFQC20 222wAVJgTlgrZgcSxU3WDC2CeberddAc6CS2D7DzPVRo+rjacV6mP6A7WIen8pKRbrm+TuliGdfi cTJK2sFookxgQyM8gLX9bHjpMtqkU+hASRmTYa+iI21OA0izBHar7k5v0PfOUVCD459AYuUZwDPe PhLm7OFGoofwx6lHHHOI5FNv13RNCw+BBSxygy9A+Or0ojKv34G7Ii2qXsVlsi1BafsFiDJ+Y1tb e78AAAAldEVYdGRhdGU6Y3JlYXRlADIwMjEtMTEtMTlUMDY6NDI6NTcrMDA6MDBqYjA5AAAAJXRF WHRkYXRlOm1vZGlmeQAyMDIxLTExLTE5VDA2OjQyOjU3KzAwOjAwGz+IhQAAAABJRU5ErkJggg== X-Now-Playing: Judee Sill's _Dreams Come True (1)_: "The Good Ship Omega" Date: Fri, 19 Nov 2021 07:45:36 +0100 In-Reply-To: <83tug9wbm9.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 18 Nov 2021 20:40:46 +0200") Message-ID: <877dd4y773.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: >> (puny-encode-string (ucs-normalize-NFKC-string "Bä.com")) >> => "xn--B.com-gra" > > NFKC or NFC? NFC. I've now expanded on the doc strings of these functions, removed the ;;;###autoloads since they're not actually used, and added two new string-glyph-* functions (pointing to the NFC functions) fo [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 51954 Cc: 51954@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: >> (puny-encode-string (ucs-normalize-NFKC-string "Ba=CC=88.com")) >> =3D> "xn--B.com-gra" > > NFKC or NFC? NFC. I've now expanded on the doc strings of these functions, removed the ;;;###autoloads since they're not actually used, and added two new string-glyph-* functions (pointing to the NFC functions) for greater discoverability. >> So I think puny-encode-string should do that first, if I'm reading TR36 >> right. > > Agreed. Now done. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 19 01:46:03 2021 Received: (at control) by debbugs.gnu.org; 19 Nov 2021 06:46:03 +0000 Received: from localhost ([127.0.0.1]:37742 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnxet-00083R-KQ for submit@debbugs.gnu.org; Fri, 19 Nov 2021 01:46:03 -0500 Received: from quimby.gnus.org ([95.216.78.240]:56852) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnxes-00082h-5B for control@debbugs.gnu.org; Fri, 19 Nov 2021 01:46:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=/PEx34v/quyB/ygLxLUcg1UDudnmNKieC5fk0CnN6uw=; b=qXu59Ts7XjfA5eDSJQy/8J47Ez Il7tVq46xM227IRh4h58WDq4ZUOcH7vI5ngMTlAV+f2OoT/jR/uMP6ltE7CVn6ixQFHuzL10Ij9Eq Pv2HylSCmmJ7RjRddmbWGGUnbNSZQN1wDWaQogdtea9ZYZptf53/3V3dRC8n4a6l481s=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mnxek-0007sx-D7 for control@debbugs.gnu.org; Fri, 19 Nov 2021 07:45:56 +0100 Date: Fri, 19 Nov 2021 07:45:53 +0100 Message-Id: <875ysoy76m.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #51954 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 51954 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 51954 29.1 quit From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 19 02:44:42 2021 Received: (at 51954) by debbugs.gnu.org; 19 Nov 2021 07:44:42 +0000 Received: from localhost ([127.0.0.1]:37857 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnyZd-0003N3-Os for submit@debbugs.gnu.org; Fri, 19 Nov 2021 02:44:41 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36582) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnyZb-0003Mr-TP for 51954@debbugs.gnu.org; Fri, 19 Nov 2021 02:44:40 -0500 Received: from [2001:470:142:3::e] (port=53474 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnyZW-0005s9-7f; Fri, 19 Nov 2021 02:44:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=nSvfRxnmvYH0Jh5AbdtY0WQHVJ6PqZq6Xvc0w90Qifg=; b=FTFFH7YL8kJl nEwcFXjcG2FIZ50swEryQLvDyBQ5dBlbFlOx3zY9Cuiq9irLDVl/BggHIzJt8beC/dbkXTbFCe67a ytXV43gt0ScOuPty5jqZffCzSdQwP5iMKBIg246CF6iyYmclxQ6vTDEAHDqipz5+l8HzocK5BCSN6 yUf94KodGjShF7s2EGRMg3xb2xY9n2meAkULRUenK7HAiT9v930RguaKaiSB2Ltwz6YRvj8ehaci3 odY3DDSi5Xj2fmYc5kaw1kK/sq2q6XNle4B1XWK96I1J8EGrd74w18WpLYZpTviaiywBUwyUZjfx3 n4bxWLZNY5g+Dp9r0jz+vg==; Received: from [87.69.77.57] (port=3176 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnyZV-00007j-Mz; Fri, 19 Nov 2021 02:44:34 -0500 Date: Fri, 19 Nov 2021 09:44:33 +0200 Message-Id: <83czmwwpwe.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-Reply-To: <877dd4y773.fsf@gnus.org> (message from Lars Ingebrigtsen on Fri, 19 Nov 2021 07:45:36 +0100) Subject: Re: bug#51954: 29.0.50; puny-encode doesn't normalize References: <87r1bdz93s.fsf@gnus.org> <83tug9wbm9.fsf@gnu.org> <877dd4y773.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 51954 Cc: 51954@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen > Cc: 51954@debbugs.gnu.org > Date: Fri, 19 Nov 2021 07:45:36 +0100 > > NFC. I've now expanded on the doc strings of these functions, removed > the ;;;###autoloads since they're not actually used Isn't ucs-normalize used for accessing files on macOS? Their file-coding-system uses normalization. In any case, I wouldn't remove the autoloads: they are harmless, but removing them could cause breakage. From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 19 02:50:42 2021 Received: (at 51954) by debbugs.gnu.org; 19 Nov 2021 07:50:42 +0000 Received: from localhost ([127.0.0.1]:37882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnyfS-0003Ze-Kj for submit@debbugs.gnu.org; Fri, 19 Nov 2021 02:50:42 -0500 Received: from quimby.gnus.org ([95.216.78.240]:57574) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnyfR-0003ZQ-8W for 51954@debbugs.gnu.org; Fri, 19 Nov 2021 02:50:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=QJbfTGsx0O/TTDg7GyLHY7zm2NtiPu5MtdwqjAv3bSM=; b=c5yFyL0qlGVHV/W4/uO21aH+/6 6tm9N9S4tscogeZUqrdxVdDr4vF41rM97ZSLQ9Xdopct1JRLsZRP12WsWCUm8TycvQOURehoSNYlE yrh3rkDQ9ezWjjaO2tcfzYHCOqSXwCUyvMZOq5RumJyghJ1ukUGDDN78xl34ZO8CCoIE=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mnyfI-0008ND-3V; Fri, 19 Nov 2021 08:50:35 +0100 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#51954: 29.0.50; puny-encode doesn't normalize References: <87r1bdz93s.fsf@gnus.org> <83tug9wbm9.fsf@gnu.org> <877dd4y773.fsf@gnus.org> <83czmwwpwe.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEUVCQlcNSOgXiTZ sGn///8pkt4eAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+ULEwcvOIBwf4cAAAGASURBVDjLhZRRluUg CETB3gDoBgLZQCv739sUpl9inD4z/CQnV7CkJETETBksdL3cwTofhXfwJVxVhVkzFqBqeqho8Q3I VUHoX8H7knxXyKoGFRsoPoN2bVRrDAAh3YCfEygfO4jIUvraIuNKMG30K3Dzv8EsZX0/WlwZtf++ hzfbAdd5wPfeTJ2UXaurbV4ZVQ9Bq3p9Ia2CXgEU9VdLuAl5l7Mbv7zKDKrfeo6u8lIluCNkNbqn La8UlMv+doG0zdOCpsRR1ccrQ6jhe0gxX/RyuAoKnaPpWEEWgVFxjmzxo7eExSdG2AMi6gpuvV8x 7ox+3kBh0ZPhLVT5QpB58GgokpXaUPkBWGaqH8APGALvLBVDrhNEfTIoL8fcubqJ0g2sTICTM/TR A+KAbVOa5qVewJAEgxtqpR233BPfYMUES6fSIJxeDy69rAAXx3JoMLeRE7wCx+l8IBOtXTxP0Gu7 mmvLrOMqoTKbRw4O/T80/yKCCvNnIvkq+5plxP8Ax5pFQYundlMAAAAldEVYdGRhdGU6Y3JlYXRl ADIwMjEtMTEtMTlUMDc6NDc6NTYrMDA6MDD3qilMAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTEx LTE5VDA3OjQ3OjU2KzAwOjAwhveR8AAAAABJRU5ErkJggg== X-Now-Playing: Karen Dalton's _It's So Hard To Tell Who's Going To Love You The Best_: "Sweet Substitute" Date: Fri, 19 Nov 2021 08:50:31 +0100 In-Reply-To: <83czmwwpwe.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 19 Nov 2021 09:44:33 +0200") Message-ID: <87h7c8vb20.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > Isn't ucs-normalize used for accessing files on macOS? Their > file-coding-system uses normalization. I grepped through the code base but couldn't find any usage of those functions. (But on Macos we preload ucs-normalize.) Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 51954 Cc: 51954@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: > Isn't ucs-normalize used for accessing files on macOS? Their > file-coding-system uses normalization. I grepped through the code base but couldn't find any usage of those functions. (But on Macos we preload ucs-normalize.) > In any case, I wouldn't remove the autoloads: they are harmless, but > removing them could cause breakage. I found it confusing to have all these unused functions autoloaded, but if there's actually any usage out there, I hope people will complain, and we can put them back in. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Tue Jun 17 01:50:29 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 17 Dec 2021 12:24:13 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator