From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Helmut Eller Newsgroups: gmane.emacs.devel Subject: Re: Entering Unicode characters Date: Sat, 06 Feb 2016 14:59:15 +0100 Message-ID: References: <83twmkkv16.fsf@gnu.org> <8360y2t48k.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1454767190 10722 80.91.229.3 (6 Feb 2016 13:59:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 6 Feb 2016 13:59:50 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 06 14:59:46 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 1aS3Op-0004Xw-4b for ged-emacs-devel@m.gmane.org; Sat, 06 Feb 2016 14:59:43 +0100 Original-Received: from localhost ([::1]:53882 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aS3Oo-0000Kc-MJ for ged-emacs-devel@m.gmane.org; Sat, 06 Feb 2016 08:59:42 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39515) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aS3OX-0000Hk-1t for emacs-devel@gnu.org; Sat, 06 Feb 2016 08:59:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aS3OW-0008Jn-00 for emacs-devel@gnu.org; Sat, 06 Feb 2016 08:59:24 -0500 Original-Received: from mail-wm0-x229.google.com ([2a00:1450:400c:c09::229]:34588) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aS3OQ-0008GN-9S; Sat, 06 Feb 2016 08:59:18 -0500 Original-Received: by mail-wm0-x229.google.com with SMTP id 128so103759398wmz.1; Sat, 06 Feb 2016 05:59:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=d3yXsdKVUkJ6TEn7raBF6XCVrBtxMPPScFU+rqtXp10=; b=vrUbGVlV5e74glT7EazMKscVp477Gn4bw6wwrGm3U1z4Y1iGazo1HDJvNIuk9VrcMY 4tbc+hKeSIKLEwrvPWe7hzboJEwpITIiOoh81pf51h8D9qWMebFEt4skxjpiyhJ3hhRe 4wAm5c31H6qWKP3UO0ZdBhsvPmnxaDwXL+hJpf0NvIC2LQDMx+G3UUk5DiH89rPTrK/j 1LIX14CIRqZtMTmKXEMZVPDh3/laMB8w1waiFXnC2o0jmnf6lH5FjMFYZaXpY3MWM6Kk FY9IZNSLUktPjDbGe3BtJzVUmVSYKrNfoJCSmiaAlb9v0Fcm5PPGvCXye5Nf4wAnGBRu zbvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=d3yXsdKVUkJ6TEn7raBF6XCVrBtxMPPScFU+rqtXp10=; b=E+ffkp46yV4EZOmboMo/elVHJ6RQrwPR0sQ7XHJa+hMtgqU25nbMS9QH3NVHBGCJJK ev4J5FNsFzOmwzuzGL1ri3vGOGjPjYFDWfN4trClh6BM5XRKxCqWqA7GIZv2Y4YE6vDA eE8OZ2mBzijq1tvGD+9fBen0b3xWiLLfn5sF++dcJ1Ew+2TgoRRvncU831xLAsm+8kSc jXPkZc6IH5qInKzOsSVKYiilPR6q+RqFb7BvwJ3fJ2tuciqIOM9k/svraxZAOVDIVFx9 d3g/xKFfp5BzEJJj2J5cRmnmi5qtNxfGXx3wkrVsExAbH2QZ/WE2xdQDDExGrh54v59C oYsQ== X-Gm-Message-State: AG10YORuRiZJkxjP8tFHSf3wmiTkHZQLKcu5esjy7b6yLnf5r8AbRhL7LdEKnITLMDdQ0w== X-Received: by 10.194.52.8 with SMTP id p8mr18562712wjo.62.1454767157294; Sat, 06 Feb 2016 05:59:17 -0800 (PST) Original-Received: from ix ([212.46.169.192]) by smtp.gmail.com with ESMTPSA id i1sm5574757wjs.45.2016.02.06.05.59.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 06 Feb 2016 05:59:16 -0800 (PST) Original-Received: from helmut by ix with local (Exim 4.84) (envelope-from ) id 1aS3ON-0000hM-UK; Sat, 06 Feb 2016 14:59:16 +0100 In-Reply-To: <8360y2t48k.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 06 Feb 2016 14:25:47 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::229 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:199412 Archived-At: On Sat, Feb 06 2016, Eli Zaretskii wrote: > One aspect where some improvement is probably needed is when > displaying large ranges of characters. For example, select > "Scripts->symbol" from the "Character-Browser" menu -- this displays > all the punctuation characters defined by Unicode. You get 160 lines > that display something like 4K characters, which takes a long time to > display (because Emacs looks for a suitable font), and somewhat hard > to view. Maybe we should display with those +/- widgets that allow > showing and hiding portions of the characters, so that each 256 > characters could be shown or hidden separately? Maybe. That's definitely more difficult to implement. In general, there is no way around that some sets are just big and that some people will want see all characters. Maybe some work could be done with "background" timers, e.g. insert 20 lines then wait a bit before starting the next timer and so on. > Also, I think unassigned codepoints should not be shown, and the same > for Surrogates and Private-Area codepoints. They will never yield > anything but those rectangles with a codepoint in hex inside them. Not sure about this. E.g. if somebody want to see an Unicode block he may well want to see the range defined by the standard. I also think that some fonts do assign glyphs in private-use areas. A part of the high surrogates seems to be available for private-use as well. However, using the same glyph for all unassigned codepoints might speed up things a bit. > Finally, I think a command to insert the character at point into > another buffer would be a good addition. It's not so easy to know where the charactor should be inserted. Maybe a marker could be used, but I suspect that that would be confusing. I had implement a insert-char command that called the browser in a recursive edit. It worked but it definitely was confusing. So my thinking is that the usual commands for copying a character to the kill ring or copy&pasting it with the mouse is sufficient. Helmut