From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Can watermarking Unicode text using invisible differences sneak through Emacs, or can Emacs detect it? Date: Sat, 29 Jan 2022 23:17:21 -0500 Message-ID: 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> <3E718CA2-889F-4AEE-B79C-EB3A221D1CB2@gnu.org> <83o83wc7gs.fsf@gnu.org> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37859"; mail-complaints-to="usenet@ciao.gmane.io" Cc: psainty@orcon.net.nz, luangruo@yahoo.com, kevin.legouguec@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jan 30 05:22:29 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 1nE1jQ-0009iF-Vi for ged-emacs-devel@m.gmane-mx.org; Sun, 30 Jan 2022 05:22:29 +0100 Original-Received: from localhost ([::1]:49280 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nE1jP-00081s-9e for ged-emacs-devel@m.gmane-mx.org; Sat, 29 Jan 2022 23:22:27 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47676) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nE1eW-0005lT-OX for emacs-devel@gnu.org; Sat, 29 Jan 2022 23:17:24 -0500 Original-Received: from [2001:470:142:3::e] (port=40094 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 1nE1eU-00081s-6l; Sat, 29 Jan 2022 23:17:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=+jpQgs26s3+pwoKXRThzfUj7SMkfo+1rgBa0n4JP9Do=; b=iW4/+ubV7LFP jtw+ybpXIfTP8XmERSSGxEraAIzLsF5Gv4zf+xK8kgpActXVgBDXoHWpxu9I9uzeHlMR8/PyF7XTt jyiGolxLGRNj4q/3tiaA3eEsngyr5UdtJJikNga1Sdx6HMUsuSUvbt5u3Z6ipZcEhmGDpZAJjJ8RK xgzC0KhTSB6XjUBMZvS2jcZGaMQQDNN9zBAbMnj2egMGzAaYL6bX/yeZeuvtB9QfN8/QTFhYWRCSY PywQm9h9Q3LsB5zqckQz80YR3i/2rr4/Zxg/d0evAmYH+ydbYGW39WR785LtlNH97VZ6TlaVjuK4w m6cxXyoiit9jI7nFED8MNw==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1nE1eT-0006oH-WB; Sat, 29 Jan 2022 23:17:22 -0500 In-Reply-To: <83o83wc7gs.fsf@gnu.org> (message from Eli Zaretskii on Fri, 28 Jan 2022 15:31:31 +0200) 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:285582 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > Since my terminal handles many of those characters, they work ok for > > me. But there are some it does not support. Many Vietnamese > > characters, for instance. > > > > If this feature is implemented to handle ligatures, it could handle > > the letters with diacritics too. That would be as easy as populating > > the table of the sequences they stand for. > IIUC what you mean by "this feature", we already have that in > latin1-disp.el. It is the same general idea, but (according to the comments at the start) it handles only the characters in the ISO 8859 character sets. It should handle all the Unicode characters that could sensibly be represented as characters to be composed, including ligatures and all Latin and Greek characters with diacritics. Maybe some others can be handled too. I customized the variable to enable that mode but I don't know how to make it actually do anything. Maybe it needs something else to truly enable it. I inserted แบต (latin small letter a with breve and tilde); it does not do anything special to that. > Given the enormously large number of such sequences, I doubt that > terminfo is the right means for determining which sequences are > supported. We have a solution for the Linux console, We do? What is it? > and for the rest > we allow the user to customize the value of auto-composition-mode to > disable it if the terminal misbehaves with these sequences. We are talking about different issues. I am talking about how to display complex characters _in the buffer_. NOT generated by auto-composition. I don't think auto-composition does anything in my Emacs. If I insert an f and an i in the buffer, they display as two characters, f followed by i. Not as a ligature. -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)