From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Unicode confusables considered harmful Date: Sat, 06 Nov 2021 15:29:01 +0200 Message-ID: <835yt5beg2.fsf@gnu.org> References: <83bl2ycqvc.fsf@gnu.org> <83a6ihbhmd.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14121"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Vasilij Schneidermann Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Nov 06 14:30:35 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 1mjLmE-0003WT-2W for ged-emacs-devel@m.gmane-mx.org; Sat, 06 Nov 2021 14:30:34 +0100 Original-Received: from localhost ([::1]:48144 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mjLmD-0001oV-0K for ged-emacs-devel@m.gmane-mx.org; Sat, 06 Nov 2021 09:30:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52928) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mjLl0-0000uk-7c for emacs-devel@gnu.org; Sat, 06 Nov 2021 09:29:18 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43384) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mjLkz-0006sd-Br; Sat, 06 Nov 2021 09:29:17 -0400 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=+hWYr8349Hyw/RsbhreqYyeBIt7WrlkfT21aK3Td5Bk=; b=d8DrnK3ZEfNw q7aVob2v4YIZa/jst3AiSRidO5W1RKq7Y+qVcYKux1P2Ez9mMTp22Rji2Cbbug8PTGyUO4hxSCVhM 9qjkzMsZHO1M7EYAEWGGQahHfau8t095QeBNzudPTNZTfiNS1C7prfq7T/+ny3IL3oN8vrijmY7At tOvYkGOaJo4wdYc5wpGk93aKfdzK+8upm6qLBM0hszqpk1MFX2nJpNULpfR/sCH0V7tShDkpUnXf4 YTGhvNFS7ANdwTrjnfNh7mATU5wJu9wgKHXnddHeXy7YeQjQ8Mxmze7twl3exkUJYoHIn3V1SPuoC JNRji30+TkiX+J06gvKfNA==; Original-Received: from [87.69.77.57] (port=3094 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 1mjLky-0005RD-TL; Sat, 06 Nov 2021 09:29:17 -0400 In-Reply-To: (message from Vasilij Schneidermann on Sat, 6 Nov 2021 14:10:15 +0100) 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:278868 Archived-At: > Date: Sat, 6 Nov 2021 14:10:15 +0100 > From: Vasilij Schneidermann > Cc: emacs-devel@gnu.org > > > That's supposed to be the subject of uni-confusables in ELPA, I think. > > That may be, but the package does nothing besides setting up a new > character table (see the initial message). Hmm... I thought it did more. So I guess it has to be extended to provide some facilities based on that table, and perhaps also based on other character information. > > If uni-confusables doesn't do its job well enough, please submit bug > > reports. > > It wouldn't hurt to have some discussion first what exactly the package > is supposed to do. Fine, let's have it. Perhaps you or someone else would like to propose a set of APIs for dealing with these issues? That'd be a good start, I think. > Considering there isn't agreement on how the bidi situation is > handled, I doubt there will be an obvious solution for confusables > either. Let's see what we want it to do, before talking about solutions. I wouldn't expect it to be hard to reach a consensus on confusables. Implementation is another matter...