From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?K=C3=A9vin_Le_Gouguec?= Newsgroups: gmane.emacs.devel Subject: Re: Can watermarking Unicode text using invisible differences sneak through Emacs, or can Emacs detect it? Date: Thu, 27 Jan 2022 09:13:37 +0100 Message-ID: <87y231k34e.fsf@gmail.com> References: <87sftk49ih.fsf@yahoo.com> <837dawt0h4.fsf@gnu.org> <838rv9plyf.fsf@gnu.org> <837dasntoj.fsf@gnu.org> <834k5tl4a9.fsf@gnu.org> <87mtjkt6m9.fsf@gmail.com> <83ilu8htws.fsf@gnu.org> <87ee4uykli.fsf@igel.home> <83h79pfzrm.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40279"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: psainty@orcon.net.nz, luangruo@yahoo.com, schwab@linux-m68k.org, rms@gnu.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jan 27 09:36:38 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 1nD0Gk-000AJG-2t for ged-emacs-devel@m.gmane-mx.org; Thu, 27 Jan 2022 09:36:38 +0100 Original-Received: from localhost ([::1]:46474 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nD0Gi-0006Ot-Fn for ged-emacs-devel@m.gmane-mx.org; Thu, 27 Jan 2022 03:36:36 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54490) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCzua-00084n-3p for emacs-devel@gnu.org; Thu, 27 Jan 2022 03:13:44 -0500 Original-Received: from [2a00:1450:4864:20::333] (port=40656 helo=mail-wm1-x333.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nCzuY-0003XQ-7r; Thu, 27 Jan 2022 03:13:43 -0500 Original-Received: by mail-wm1-x333.google.com with SMTP id d138-20020a1c1d90000000b0034e043aaac7so2718639wmd.5; Thu, 27 Jan 2022 00:13:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=+4w542Q0ePJl8+3AHKmjAgm82kRC+Bx4xv9wy+jWkeA=; b=iJTnZxOUohnp8UQTcVIDNDXo9xm/xSmDMnBOnLVlaGV+h4KVZzV1wvhfjMjNaoqcfi HFviMhhu6PvJYecYymsHGSG7l5sU9tHwhiq7fkJfWCxTGYeyDuYWhM2TpKduPpu/sKMW +XkJFeII4xgTwd/khND/uyYBRvUjDDB8P63Uvc6vNScik2rKEsbwuehqKQSxCD5GPXuI G8Jo4CX7VUH8IjV+ncpWAkG9E3u9DeQ/nSk6LtYVrFhlu5NHL12fyvZtaJfy+rjrIsaC iyWK4YYwOYlDXsB3URaiukdgih1B7x5cm0/9ja5wOWkPr7nGVLVNtGMaaYhxoEn3n07B ya3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=+4w542Q0ePJl8+3AHKmjAgm82kRC+Bx4xv9wy+jWkeA=; b=jgYcirUHd1lxdCY+kv242/9IRKtwVVIP5srfNDRpmipt7GYGCSx9YCbiCXamxrFMsf QBQ+hcGcmDCf+gVZ1mtr3Jh+/Srmu5/GlTLeXmfPuVhgh2eu8yFAeCxS5iwEMJP+TOxV cpBfDONZvkHELWgWKokjwHZhM4gScvXS81f02qrt328XVi9usJt90tkd+XvJ19nZUE/L JAcxNnk1KGa/2EOiOUSgAjLNZKG2WmEaYkI7LQyf0cTJMCnn9Tt5Phx8XK7hP3+GslRn yBJgXQd4ne9SN243ef6K8MmrVRr4iloMspz7G1fy6K95gT6K6dN1hh9nwF/i/qJmVISM rUrQ== X-Gm-Message-State: AOAM533hQlvnIS60ZsO+x1vi7mHN+HgnE8JyF4S8FFrB4qD/XP/0EdZJ mSak+iW7Gj9coLw1QFoSYo4MX+pRZ5w= X-Google-Smtp-Source: ABdhPJxm02kT1ieHAfErM20RaV6i1iYg/IRJwG42yAIila+URTCEihIgIWV2jAKkeJGkanSsdvaN4g== X-Received: by 2002:a1c:cc07:: with SMTP id h7mr10978138wmb.50.1643271219083; Thu, 27 Jan 2022 00:13:39 -0800 (PST) Original-Received: from amdahl30 ([2a01:e0a:253:fe0:2ef0:5dff:fed2:7b49]) by smtp.gmail.com with ESMTPSA id v124sm5252089wme.30.2022.01.27.00.13.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jan 2022 00:13:38 -0800 (PST) In-Reply-To: <83h79pfzrm.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 27 Jan 2022 08:39:41 +0200") X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::333 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=kevin.legouguec@gmail.com; helo=mail-wm1-x333.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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:285480 Archived-At: Eli Zaretskii writes: >> From: Richard Stallman >> Cc: eliz@gnu.org, psainty@orcon.net.nz, luangruo@yahoo.com, >> emacs-devel@gnu.org, kevin.legouguec@gmail.com >> Date: Wed, 26 Jan 2022 23:13:47 -0500 >>=20 >> When it is impossible to display the character's ligature, it would be >> more useful to display the two ASCII characters than to display an >> unhelpful diamond. >>=20 >> We should try to do what is most helpful, not be quick to give up. > > Would it be good enough to have a command that will arrange for these > ligatures to be displayed as their ASCII equivalents, using the > facilities in latin1-disp.el? Such a command could be invoked either > manually or from your init file. latin1-disp.el also provides a > special face to display such equivalents, so you could have them stand > out on display if you want. Reading the documentation of the various glyphless-* knobs, I wonder if it would make sense to provide another group for glyphless-char-display-control? 'no-font is not helpful on my TTY, IIUC because terminal-coding-system says "utf-8-unix"?). Maybe 'no-display, meaning (null (char-displayable-p CHAR))? That would at least allow users to tell Emacs to use the 'hex-code method, which would be more immediately informative than the diamond. Though not by a lot. Maybe adding a new method? Something like 'char-name? Obviously it'd be ugly to see=E2=80=A6 > Please refer to the o\N{LATIN SMALL LIGATURE FFI}cial documentation =E2=80=A6 but (1) it would be more informative (though maybe not less confu= sing) than "Please refer to the o=E2=97=86cial documentation", (2) it would also = serve as a decent fallback for symbols and emojis, which we see more and more on this list. I'm thinking of situations like ; not saying we should encourage using symbols over words, but TTY users would probably appreciate this kind of fallback? (I hope at least some of this message makes sense; apologies if not)