From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.help Subject: Re: [OFFTOPIC] Re: Invoking a function from a list of functions Date: Thu, 29 Nov 2018 01:15:41 +0700 Message-ID: References: <67c4a534-d41c-4736-8839-c2dbbdf7f9c2@googlegroups.com> <2da7504a-8bbf-41b9-993e-a7bacd6c97b2@googlegroups.com> <20181116114002.3ba6bcc8dc1e699ba58e08b8@speakeasy.net> <20181119172358.802ce30c54f2fd20f8c300c4@speakeasy.net> <82781d42-afa5-4cb8-9cbd-b20eb73b26d0@googlegroups.com> <83wooxduzz.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1543428872 21034 195.159.176.226 (28 Nov 2018 18:14:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 28 Nov 2018 18:14:32 +0000 (UTC) Cc: help-gnu-emacs To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 28 19:14:28 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gS4Lz-0005Nw-Vh for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Nov 2018 19:14:28 +0100 Original-Received: from localhost ([::1]:49419 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gS4O6-0005ug-K4 for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Nov 2018 13:16:38 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59576) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gS4NT-0005ub-Q5 for help-gnu-emacs@gnu.org; Wed, 28 Nov 2018 13:16:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gS4NT-0006GT-3v for help-gnu-emacs@gnu.org; Wed, 28 Nov 2018 13:15:59 -0500 Original-Received: from mail-oi1-x233.google.com ([2607:f8b0:4864:20::233]:32830) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gS4NP-00062C-Jb; Wed, 28 Nov 2018 13:15:55 -0500 Original-Received: by mail-oi1-x233.google.com with SMTP id c206so23454949oib.0; Wed, 28 Nov 2018 10:15:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=1tgpBN/A3kzWMhiWzQbVcCTEzRvsIwk6eS9HlSyIXSg=; b=Xlal5EE1Tsr1k3qc083yHmSgZ3P9nfYmDCVan+gexx65WG4UBn8vJOlEKssN1LUkEW spjdbeIyqAwJejaSFN2rrnldO9TqjV0DtHFeIkX9q6MvUsAD8w9lL9aI9CGSMUi+uN0H 76daDMMRf/foIDOw6fCWIA59vO4lCcnvPyMXz297uroifoT38SZAOYyC+WvYfvF949Cz N546v3FJPA6NEG/b/4eqOWLTGfxMGyaG2BmJ7QAJ301a6jC7tqXa5ZvswOqQtWwPEn8O XWWI5PAZrnIWiuCJ8gHnzKPlEPNDLTNVIoAeEk/WC2FtPTSigiVyz5oxhFyp3BaxPHZ6 kBFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=1tgpBN/A3kzWMhiWzQbVcCTEzRvsIwk6eS9HlSyIXSg=; b=FysnrqPtd1ZHXV6AmClQIwENKKa1xJkpPFu1qslNw7ChpGvrmmGPTmiJ4f77pmOkrl B42kigF2hQIF/ltYLewGMaXOcX35tqTNgfi7Nf9FIKVcnsiB1UkTwk1lVEAsD2OWPpCB aglM5spXgeI6FnaWiUFl+zRVf12KJabndO1i7/XUVQuOoKkOOnCxEM7vzBkFh6LcEqvZ 9NmwdXh8RPKyOEn08vXBnOavzlSFzLByEmy+rFC8+1LCSX1qLrkAf2i36B+QU6NoK5XE W9Lokgj/oi+wgckl18azn1J9quo8FYZVhixDxKOyc3EmaVSARfFdpCUyboXpIp+LtxmK VDcg== X-Gm-Message-State: AA+aEWaXAEa6zILtnWYzbHsQElzvigiwPaF3bMFf3IJT7Ux4bL7sEZmx o5w7RLVvLYzWTpGt7Vro8wLkBexOIzku4N/I2TdjUQ== X-Google-Smtp-Source: AFSGD/Vg4Wfk2mkHJLBpVE9MSo7j5d2MURsVg3zu7Hn3gg8EbNiGI24RHJchp6w+AdIPiOdrAswtFvqizMF2ktLdq7g= X-Received: by 2002:aca:37d5:: with SMTP id e204mr8277874oia.134.1543428954226; Wed, 28 Nov 2018 10:15:54 -0800 (PST) In-Reply-To: <83wooxduzz.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::233 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:118795 Archived-At: On Thu, Nov 29, 2018 at 12:21 AM Eli Zaretskii wrote: > > >>> (a=CC=81, =C3=A1)> > (2, 2) > > > > In my view python does it right(er) than elisp > > That's debatable: the Unicode Standard says to act according to > canonical equivalence only in text, whereas the above are symbol > names. We do display them the same (if the font supports that), but > we aren't under any obligation to map them to the same symbols, IMO. Standard Annex 31 deals with identifiers in programming languages, and recommends considering identifiers equivalent if they are the same under Normalization Form C for case-sensitive languages (such as Python and Elisp). (It suggests using Normalization Form KC for case-insensitive languages, although I do not see how compatibility decomposition is similar to case folding.) > > ELISP> (list =CE=91 A) > > ("hi" "there") > > Why bad? Those characters are not canonically equivalent. They are not even compatibility equivalent. Homoglyphic, yes, but not equivalent in any way. > If you > want to go by compatibility equivalence, you will enter a slippery > slope, where, for example, =E2=85=A0 and 1 will yield the same symbol or = even > the same number. No they won=E2=80=99t. Compatibility decomposition of U+2160 ROMAN NUMERAL = ONE is U+0073 LATIN CAPITAL LETTER I.