From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#12086: 24.1; character groups and `glyphless-char-display-control' Date: Sun, 29 Jul 2012 15:28:47 -0700 Message-ID: <668B252039BF4F4C94CA192B9D2D68DE@us.oracle.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1343601002 2752 80.91.229.3 (29 Jul 2012 22:30:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 29 Jul 2012 22:30:02 +0000 (UTC) To: 12086@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 30 00:30:03 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1Svbzo-0008Ot-VO for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Jul 2012 00:29:57 +0200 Original-Received: from localhost ([::1]:43822 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Svbzo-0003Gs-2Z for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 Jul 2012 18:29:56 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49784) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Svbzl-0003Gc-Ai for bug-gnu-emacs@gnu.org; Sun, 29 Jul 2012 18:29:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Svbzk-00005n-7P for bug-gnu-emacs@gnu.org; Sun, 29 Jul 2012 18:29:53 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39876) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Svbzk-00005j-3y for bug-gnu-emacs@gnu.org; Sun, 29 Jul 2012 18:29:52 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Svc6f-0007Nu-RR for bug-gnu-emacs@gnu.org; Sun, 29 Jul 2012 18:37:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 29 Jul 2012 22:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12086 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Original-Received: via spool by submit@debbugs.gnu.org id=B.134360137828333 (code B ref -1); Sun, 29 Jul 2012 22:37:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 Jul 2012 22:36:18 +0000 Original-Received: from localhost ([127.0.0.1]:49421 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Svc5x-0007Mv-NM for submit@debbugs.gnu.org; Sun, 29 Jul 2012 18:36:18 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54344) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Svc5v-0007Mn-1Q for submit@debbugs.gnu.org; Sun, 29 Jul 2012 18:36:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Svbyx-0008SR-Qr for submit@debbugs.gnu.org; Sun, 29 Jul 2012 18:29:04 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:53397) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Svbyx-0008SN-Nv for submit@debbugs.gnu.org; Sun, 29 Jul 2012 18:29:03 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59617) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Svbyw-0003DR-Ju for bug-gnu-emacs@gnu.org; Sun, 29 Jul 2012 18:29:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Svbyv-0008Ri-BN for bug-gnu-emacs@gnu.org; Sun, 29 Jul 2012 18:29:02 -0400 Original-Received: from rcsinet15.oracle.com ([148.87.113.117]:20168) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Svbyv-0008RY-4d for bug-gnu-emacs@gnu.org; Sun, 29 Jul 2012 18:29:01 -0400 Original-Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by rcsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q6TMSxFD028824 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 29 Jul 2012 22:29:00 GMT Original-Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q6TMSwU3017539 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 29 Jul 2012 22:28:59 GMT Original-Received: from abhmt108.oracle.com (abhmt108.oracle.com [141.146.116.60]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q6TMSwVY006059 for ; Sun, 29 Jul 2012 17:28:58 -0500 Original-Received: from dradamslap1 (/71.202.147.44) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 29 Jul 2012 15:28:58 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: Ac1t2YVOKYFnXg2zSGWaKPXiN9cZVA== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:62587 Archived-At: 1. Both the doc string and the doc in the Elisp manual have this problem: Nothing is said about what the display is for a group that is NOT included in the value of option `glyphless-char-display-control'. IOW, this option apparently lets you specify, for one or more given character groups, how its chars are to be displayed. But nothing is said about how the chars are displayed for a group that is not specified using this option. Presumably, some reference should be made here to `glyphless-char-display'. But even for that variable there is no explanation of what normally sets that variable value, and based on what. How is someone to know how a character group is displayed that is not listed in `glyphless-char-display-control'? 2. I also wonder about the critter called a character "group", which is apparently new with Emacs 24. Where is the notion of character group defined? Although new with Emacs 24, I find it mentioned nowhere in NEWS. And how does this critter relate, for instance, to a character set (charset)? For example, `c1-control' is a character group and `control-1' is a charset. But these seem to include the same set of characters: `describe-character-set control-1' says that it is the 8-bit control codes (0x80..0x9F). The doc for `glyphless-char-display-control' says that group `c1-control' is the non-ASCII, non-printing characters `U+0080' to `U+009F'. Is that a coincidence or a deliberate correspondence? Any rational relation between char groups and charsets should be documented. The relation between char group `c1-control' and charset `control-1' seems to be one such presumably rational relation. 3. How, if it is even possible, can a programmer turn off the effect of the glyphless display, which uses face `glyphless-char'? For example, for a non-breaking hyphen you can set `nobreak-char-display' to nil and then use ordinary font-lock with any face you want, to display the character other than with the default face `escape-glyph'. How to do the same thing for glyphless characters? Is it even possible? Or is the only control a programmer or user has is to set `glyphless-char-display-control'? That option controls the METHOD, but not the face used. 4. If I do (insert-char #x80 4), I see four \200 chars in what appears to be face `escape-glyph', and NOT in face `glyphless-char'. Doesn't the doc say that `glyphless-char' is used? And `C-u C-x =' does not say anything about either of those faces. What is going on here? In GNU Emacs 24.1.1 (i386-mingw-nt5.1.2600) of 2012-06-10 on MARVIN Windowing system distributor `Microsoft Corp.', version 5.1.2600 Configured using: `configure --with-gcc (4.6) --cflags -ID:/devel/emacs/libs/libXpm-3.5.8/include -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include -ID:/devel/emacs/libs/giflib-4.1.4-1/include -ID:/devel/emacs/libs/jpeg-6b-4/include -ID:/devel/emacs/libs/tiff-3.8.2-1/include -ID:/devel/emacs/libs/gnutls-3.0.9/include'