From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Entering Unicode characters Date: Tue, 26 Jan 2016 17:10:30 +0200 Message-ID: <83mvrs1imx.fsf@gnu.org> References: <83twmkkv16.fsf@gnu.org> <87d1sobjkk.fsf@mbork.pl> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1453821024 21442 80.91.229.3 (26 Jan 2016 15:10:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Jan 2016 15:10:24 +0000 (UTC) Cc: tianxiang.xiong@gmail.com, rms@gnu.org, emacs-devel@gnu.org To: Marcin Borkowski Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 26 16:10:19 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 1aO5G6-0005SO-UE for ged-emacs-devel@m.gmane.org; Tue, 26 Jan 2016 16:10:19 +0100 Original-Received: from localhost ([::1]:44592 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aO5G6-0007Jv-3M for ged-emacs-devel@m.gmane.org; Tue, 26 Jan 2016 10:10:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33825) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aO5G2-0007Jl-Sw for emacs-devel@gnu.org; Tue, 26 Jan 2016 10:10:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aO5Fx-0005VD-SI for emacs-devel@gnu.org; Tue, 26 Jan 2016 10:10:14 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37805) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aO5Fx-0005V0-OK; Tue, 26 Jan 2016 10:10:09 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1339 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aO5Fq-0007ka-FS; Tue, 26 Jan 2016 10:10:02 -0500 In-reply-to: <87d1sobjkk.fsf@mbork.pl> (message from Marcin Borkowski on Tue, 26 Jan 2016 13:40:11 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:198851 Archived-At: > From: Marcin Borkowski > Date: Tue, 26 Jan 2016 13:40:11 +0100 > Cc: Tianxiang Xiong , emacs-devel@gnu.org > > > I want a system that lets me choose them by seeing them on the screen. > > I want to specify a language or script and see all its characters. > > > > For instance, if I enter 'turkish' it should show me all the > > characters used in Turkish. Then I could pick the dotless i from the > > buffer. > > > > Would someone please implement this? > > I like this idea, though I do not know enough about Unicode etc to > implement it... I don't think any deep knowledge about Unicode is needed. What you need is: . a way to display a range of Unicode characters and let the user select the one she wants (this should be able to handle a large range without annoying delays, e.g., by breaking such long ranges into smaller blocks and providing buttons to unhide and hide them) . a database of languages and the corresponding Unicode blocks (we already have that for scripts, but languages sometimes select narrower ranges, in particular in the Latin and Greek script parts) The somewhat tricky part about the last item is that some languages use non-contiguous portions of a block that is shared with other languages. The Cyrillic block is one good examples. IWBNI the feature would either refrain from displaying irrelevant characters, or maybe display them with pale colors, to indicate that they are not relevant to the language. TIA