From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: On language-dependent defaults for character-folding Date: Thu, 25 Feb 2016 20:57:32 +0600 Message-ID: References: <834mdc5w6o.fsf@gnu.org> <838u2hu6aq.fsf@gnu.org> <871t899tde.fsf@gnus.org> <83y4ahru04.fsf@gnu.org> <83fuwproyf.fsf@gnu.org> <837fi0sz29.fsf@gnu.org> <83egc8qzjh.fsf@gnu.org> <87egc7evu3.fsf@gnus.org> <83io1jpt4u.fsf@gnu.org> <87povqhj25.fsf@gnus.org> <87povqe5tr.fsf@gnus.org> <87ziuta4l4.fsf@gnus.org> <87y4adzcia.fsf@gnus.org> <83twl0k1k5.fsf@gnu.org> <83k2lvi99c.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1456412296 15592 80.91.229.3 (25 Feb 2016 14:58:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Feb 2016 14:58:16 +0000 (UTC) Cc: Eli Zaretskii , lokedhs@gmail.com, Lars Ingebrigtsen , Emacs developers To: "rms@gnu.org" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 25 15:58:15 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aYxMs-0002DC-Uq for ged-emacs-devel@m.gmane.org; Thu, 25 Feb 2016 15:58:15 +0100 Original-Received: from localhost ([::1]:43774 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYxMs-0006aR-E5 for ged-emacs-devel@m.gmane.org; Thu, 25 Feb 2016 09:58:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35213) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYxMd-0006ZZ-Fy for emacs-devel@gnu.org; Thu, 25 Feb 2016 09:58:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYxMX-0006Pd-Uh for emacs-devel@gnu.org; Thu, 25 Feb 2016 09:57:59 -0500 Original-Received: from mail-lb0-x235.google.com ([2a00:1450:4010:c04::235]:32836) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYxMX-0006PX-Lr; Thu, 25 Feb 2016 09:57:53 -0500 Original-Received: by mail-lb0-x235.google.com with SMTP id x4so30531333lbm.0; Thu, 25 Feb 2016 06:57:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; bh=EF6VQcyf2f5mVyyS384fopt+4wMgNkuMaJAyQnSeXIc=; b=GZb7yN3uXZwQXav7zhv9EAZzRxQlx9ZS4LduJoDj9LzQNUKmbLUjYwjgh7CnCVU1MH PdJuDOBuLDWAOZYaz9mZyBn702qtBEd3YWhPNly7FRfVDsiTRA4+qoV50zeVFo3iZggg OQKA8ARZPiUKTlmC77LK6O4U62NKg4x5gE19dg3fNVtOG8Yrd4N2rpGJfi1ntnsBUc2L +iPcqpJYU2xsAMmQZPOOKeZk1qspRZ5ftyX8dT1L1jQW7+HXpiZyu4wXkCdAMws7DYb0 O/T3++URA0yPHsqyUOhYpLzdH4oqSMfjd/PUtp34fg4A5o5kUJYQ6A6Ymahc2HKj40fI p7hA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=EF6VQcyf2f5mVyyS384fopt+4wMgNkuMaJAyQnSeXIc=; b=UzzpuqXHSQzDzELWjETETzJ3H6PgpWux6i1rQz4tR+aoGbY4j1dWZGeNwuYppz2uFk is6aiD7AzCzXGIzn5mvuseoqwJs7b9OIe6/DQN4LLEYoWSc+9HwhfiNko0R1gscNaa5H g+ZIz3IURd2AeOV1uzJ1mp9iRXXJhevC0FrPl+psS80YlncMZdHiQuZy5wWgKSDNhCHp tiMzL3UpqRv7Bb8LUjtA8BVH8n76f4rtcz8pDzArrGsU0/7a2KtnvVFIZaeCcZIAA4vU xwIjL41s2s6p2aGyGfPBl5nCQ7gDW3k6UrdP6oGnQf6E1f+DAlMqY03CzY2SArFitYF7 JNeQ== X-Gm-Message-State: AG10YOSSDlH3IKNU0RCVEBPDMuIzr+E3IMzHayGfLwqEai7nD5qqrcHuTsWIlYAxdLIgdIu4EbDLxN6g8hMdWw== X-Received: by 10.112.137.7 with SMTP id qe7mr12082159lbb.28.1456412272358; Thu, 25 Feb 2016 06:57:52 -0800 (PST) Original-Received: by 10.112.239.42 with HTTP; Thu, 25 Feb 2016 06:57:32 -0800 (PST) In-Reply-To: X-Google-Sender-Auth: t45flgTo2rcSk_fSC7x1yfA6ZKw X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c04::235 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:200658 Archived-At: On Thu, Feb 25, 2016 at 6:11 PM, Richard Stallman wrote: > > When looking for confusables, you don=E2=80=99t want to fold. You wan= t to make > > letters of different scripts stand out, e.g. by font-locking. > > That might be a good feature, but the devil is in the details. > Would you like to discuss possible details here? No. > Meanwhile, I don't think it has to be one or the other. > It might be good to do both. What specific user scenario do you want to solve by folding Latin/Greek/Cyrillic confusables? > It might be difficult to design a convention to distinguish > Latin a and Cyrillic a with fonts _all the time_. There is no reason to distinguish them _all the time_. For convenient reading, they should in fact be indistinguishable. The reader knows from the surrounding context which letters are Latin and which are Cyrillic. It is when you are proof-reading text that it becomes important to distinguish Latin and Cyrillic, to check that you don=E2=80=99t have a stra= y Cyrillic letter within an English word, or vice-versa. (For that matter, in this same mode it becomes important to distinguish various kinds of Unicode spaces, hyphen/en dash/em dash/minus/figure dash, degree sign/masculine ordinal, empty set/Latin letter o with stroke, etc. A trained eye and a specially designed font goes a long way.) > So here's an idea: > when you search for Latin a and it finds Cyrillic a, it could put a speci= al > font or color (this tty has no fonts) on the Cyrillic a > to show it matched as a confusable. Likewise, if you search for Cyrillic= a > and it finds Latin a, it would put that same font on the Latin a. > > This needs just one font or color -- to indicate a confusable in search. That=E2=80=99s assuming we *do* want to fold confusables. I=E2=80=99d like = to know a use case first.