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: Fri, 12 Feb 2016 12:32:02 +0100 Message-ID: References: <83twmkkv16.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 1455276761 18826 80.91.229.3 (12 Feb 2016 11:32:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Feb 2016 11:32:41 +0000 (UTC) Cc: emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 12 12:32:37 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 1aUBxe-000465-Ty for ged-emacs-devel@m.gmane.org; Fri, 12 Feb 2016 12:32:31 +0100 Original-Received: from localhost ([::1]:59923 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUBxd-0007GB-OX for ged-emacs-devel@m.gmane.org; Fri, 12 Feb 2016 06:32:29 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33586) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUBxL-0007FY-Gt for emacs-devel@gnu.org; Fri, 12 Feb 2016 06:32:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUBxK-0001hL-IZ for emacs-devel@gnu.org; Fri, 12 Feb 2016 06:32:11 -0500 Original-Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]:33052) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUBxF-0001fg-Lf; Fri, 12 Feb 2016 06:32:05 -0500 Original-Received: by mail-wm0-x234.google.com with SMTP id g62so58525318wme.0; Fri, 12 Feb 2016 03:32:05 -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:content-transfer-encoding; bh=oym4s/UqzgZUj9Az/DjT8MUcpimgxbspzzfPvBy9kSA=; b=WkUBCsO3apHgXfOcrBR1yWFyVbrzlFbINO1qr57cBsjwNU/RchIi+zd4pYpUdZO7bp d4vbwm0AIC97wE+uqJ7oQgQA+Ugg/O7MhuXaao4NP7Vq8ddL0Sge8a2RSab8f2iWJs88 S/VFaPRHyrr2+ftb+DHt0/Rwom30uOMGb1JjAO5i+1qHZq4K6m1ARbmkqSuSaguvXNrA k2B803r9bi07rH1YZ3fuV2HUr9DAGik1twi8GJgqxtjZQG2IAoMUvetDd6iXXYtI2gdj KFui6oVeojxYfJ0X6Auo1tENNmGi+DTXJfcWb3MIVzW7gJ5Rd5GdxTfgQn8v1Sk2u81z TRww== 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 :content-transfer-encoding; bh=oym4s/UqzgZUj9Az/DjT8MUcpimgxbspzzfPvBy9kSA=; b=GCl+gsuucAYsLNFMemtpl7KX1ujX/8LkdbYHFfuPhYus8PwBHyd7emaQsTfb4KWYae izSnDzuHO9mpj2R3hZTpKx0NWjsjiSVSbNvaBe8R3bymjxPV46oWJ7I+dZHhnjqN35i1 W6k3RFC2irbpBYE1bS50+igjHdT/4eQveAud3lREltAjI6gFBbwLpfOwFs7uq4qKXEJw Rv8N5X6lKCvkrS//Z5HKCGw9dmpKfPFx3YerSAG+DNSHe+TybSMQLStVdNscyA1ysLK4 cfeB91lZIorCgB+IOHeqYomhnNWzb+l4SsXYOJE0NNiClb8YjE7MHR4TNTytVDqzHKiG lhbw== X-Gm-Message-State: AG10YOTMo3g6CXEC+sS1mkoYPoVrwlV+YUCs1dItqUJKnoodLb+IkAhlXXBXhq+Qxwkjow== X-Received: by 10.28.144.10 with SMTP id s10mr2322438wmd.97.1455276724931; Fri, 12 Feb 2016 03:32:04 -0800 (PST) Original-Received: from ix ([212.46.169.78]) by smtp.gmail.com with ESMTPSA id ka4sm11627470wjc.47.2016.02.12.03.32.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Feb 2016 03:32:04 -0800 (PST) Original-Received: from helmut by ix with local (Exim 4.84) (envelope-from ) id 1aUBxD-0000gh-J3; Fri, 12 Feb 2016 12:32:03 +0100 In-Reply-To: (Richard Stallman's message of "Sun, 07 Feb 2016 13:33:43 -0500") 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::234 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:199809 Archived-At: On Sun, Feb 07 2016, Richard Stallman wrote: > It needs to be a little more self-documenting; for instance, it should > say how to switch to another block. I tried to improve the docstring of ubb-mode. > Many of the characters don't display on my console, > Have we got a way to tell, in Emacs Lisp, whether a certain > character code can actually display? I think there is one. char-displayable-p seems to do this and it has, or more precisely terminal_glyph_code has, special code for the Linux console. So I think it works on the Linux console and X but not with terminal emulators like xterm. > Could this use that to show something meaningful, > for characters that can't really display? For instance, > a sequence of 2 or 3 characters that somehow stands for > the real character? > > For instance, the sequence << could stand for =C2=AB, and > the sequence i-. could stand for dotless i. I added the command ubb-toggle-ascii-replacements (bound to ~) for this. It uses the translations from term/internal.el. E.g. dotless i becomes "i.". Helmut