From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: Unicode confusables and reordering characters considered harmful Date: Tue, 2 Nov 2021 12:26:29 -0700 Message-ID: References: <875ytag0hb.fsf@yahoo.com> <87zgqmd5np.fsf@mat.ucm.es> <83wnlqk3rn.fsf@gnu.org> <72dd5c2a-42c7-b12e-05ed-e93adbd89727@gmail.com> <83ilxajyhw.fsf@gnu.org> <83fssejxf8.fsf@gnu.org> <835ytajsv2.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29303"; mail-complaints-to="usenet@ciao.gmane.io" Cc: cpitclaudel@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Nov 02 20:27:36 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 1mhzRY-0007Mn-KW for ged-emacs-devel@m.gmane-mx.org; Tue, 02 Nov 2021 20:27:36 +0100 Original-Received: from localhost ([::1]:51204 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mhzRX-0000L3-1H for ged-emacs-devel@m.gmane-mx.org; Tue, 02 Nov 2021 15:27:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56226) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mhzQW-0007An-Vb for emacs-devel@gnu.org; Tue, 02 Nov 2021 15:26:32 -0400 Original-Received: from mail-pf1-x432.google.com ([2607:f8b0:4864:20::432]:42761) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mhzQV-0004ok-IC; Tue, 02 Nov 2021 15:26:32 -0400 Original-Received: by mail-pf1-x432.google.com with SMTP id m14so20438803pfc.9; Tue, 02 Nov 2021 12:26:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:in-reply-to:references:mime-version:date:message-id:subject:to :cc; bh=KgUmcDpDp5gcSkMy8gvaBjzrgKsgi8sdwg9e+yuHLGg=; b=icyUVKeo5kJyKPaCB6UylYs8zBXDsExu5TWfpK+vNZMh5oBkyfQ3/iX1wSFjUKGPW1 EYJzZDFCYsXsXQwHrBfduOVCBqnm2rlh9ug4FhaJk9Oc5uY/8MdvG//t6Un7F4kE6zmk iOD8Y1Bt5D6vbZ4eEI+oAqcyeacm6Wr58ui/k7kiv4kqfYF4b3NtWE0NhM7zu74aDoRy Hsp3rwQAq1ZIEhiR85pG2dsmtgKKdQDWOn39ODTBWfiyfmZw5E9io4tL2ZWkvDsGn5ph pXPyIn25O/leyGPI2RmxzK5JLQxODHn/iRDgnZ1KcSEtqlB7R+UBkxIZXla8WBi7HEbI 6/fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=KgUmcDpDp5gcSkMy8gvaBjzrgKsgi8sdwg9e+yuHLGg=; b=jq4OSa0WKnvq8G1PcmvLckIkxXk4iqhsXwroTM458i6YrFgmOA3Yz9y5SBkvEfzWLN bD/FmmHTnp1ocOr8RipJr/EN84oAjrfhac3W8iOKq/tAJAQxAu3ZBpLCOtpxF7HIMOge c9T2Z07XZUV0hJj2AnslCl9DbqxN2q5Jb72S9k5zF+ukpovj3RVkS1JElmxAiuDd0d/a BYVs9J+4zFj/R/VWO0Cy96NR48glmW/X3HT1nvFfU5z7CHSwWUgihqHpwnDOoQc69HTt wHdp+WW4J8MBGxcbnLQNvGrZMstlDvmiVoD36GG+8OAz3ZvsrYzmOIvws5JwRE9ASrou Estg== X-Gm-Message-State: AOAM533bx2cQmpdZnaC/XB1m27zJEvnT0zkgOIfer/9JKXonwEkSKmx/ b8HE1+2PUodXr+B6+i6E8J4Ji3ZPLj0YprMUXtzg/WgH X-Google-Smtp-Source: ABdhPJzb7C/So38UGVhpVAulg6OjcWhMmrox6eNllZglQJLw6ujQYv88CnUVmNaLXabGcFrRJVB0dP52RaAyTIlCeis= X-Received: by 2002:a62:868d:0:b0:481:1945:1d7a with SMTP id x135-20020a62868d000000b0048119451d7amr12356031pfd.35.1635881189924; Tue, 02 Nov 2021 12:26:29 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 2 Nov 2021 12:26:29 -0700 In-Reply-To: <835ytajsv2.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::432; envelope-from=stefankangas@gmail.com; helo=mail-pf1-x432.google.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 autolearn=ham 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:278522 Archived-At: Eli Zaretskii writes: > You cannot see those characters on a screenshot, for the same reason > you cannot see any whitespace characters on a screenshot: they are > only discernible when you move cursor through them. Which is why I > asked how are you looking for them. If you are looking for them in a > screenshot, you will never see them. Now I see what you mean. Yes, they are clearly "visible" when you move the cursor through them, in the sense that the cursor will jump. (Does this not happen in other text editors?) Could we add some additional visual indication or warning for such characters, in the light of this discussion? I think there is a clear risk that users will not step the cursor through some code they copied from a website, or a patch with tens or hundreds of lines. This means that they might miss the indication that we have.