From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: starback@stp.lingfil.uu.se (Per =?UTF-8?Q?Starb=C3=A4ck?=) Newsgroups: gmane.emacs.bugs Subject: bug#13745: c1-acronyms Date: Mon, 18 Feb 2013 18:00:45 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1361209186 27744 80.91.229.3 (18 Feb 2013 17:39:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Feb 2013 17:39:46 +0000 (UTC) To: 13745@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 18 18:40:07 2013 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 1U7Uh7-0003ND-V1 for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Feb 2013 18:40:02 +0100 Original-Received: from localhost ([::1]:41228 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7Ugn-0005uS-UE for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Feb 2013 12:39:41 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:54149) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7U6a-0006ax-MM for bug-gnu-emacs@gnu.org; Mon, 18 Feb 2013 12:02:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U7U6L-0001BG-Vq for bug-gnu-emacs@gnu.org; Mon, 18 Feb 2013 12:02:14 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57724) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7U6L-0001BC-Qx for bug-gnu-emacs@gnu.org; Mon, 18 Feb 2013 12:02:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U7U7J-0007f9-TS for bug-gnu-emacs@gnu.org; Mon, 18 Feb 2013 12:03:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: starback@stp.lingfil.uu.se (Per =?UTF-8?Q?Starb=C3=A4ck?=) Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Feb 2013 17:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 13745 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.136120695929423 (code B ref -1); Mon, 18 Feb 2013 17:03:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 Feb 2013 17:02:39 +0000 Original-Received: from localhost ([127.0.0.1]:34955 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U7U6x-0007eV-1C for submit@debbugs.gnu.org; Mon, 18 Feb 2013 12:02:39 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:42537) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U7U6u-0007eO-Ij for submit@debbugs.gnu.org; Mon, 18 Feb 2013 12:02:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U7U5o-00010W-1C for submit@debbugs.gnu.org; Mon, 18 Feb 2013 12:01:35 -0500 Original-Received: from lists.gnu.org ([208.118.235.17]:39348) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7U5n-00010S-TB for submit@debbugs.gnu.org; Mon, 18 Feb 2013 12:01:27 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:53771) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7U5g-0005nk-3s for bug-gnu-emacs@gnu.org; Mon, 18 Feb 2013 12:01:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U7U5Q-0000uh-Vz for bug-gnu-emacs@gnu.org; Mon, 18 Feb 2013 12:01:14 -0500 Original-Received: from numerus.lingfil.uu.se ([130.238.78.148]:52427) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7U5Q-0000qo-N6 for bug-gnu-emacs@gnu.org; Mon, 18 Feb 2013 12:01:04 -0500 Original-Received: from numerus.lingfil.uu.se (numerus.lingfil.uu.se [130.238.78.148]) by numerus.lingfil.uu.se (8.14.4/8.14.4) with ESMTP id r1IH0jvb019845; Mon, 18 Feb 2013 18:00:48 +0100 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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.x 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:71481 Archived-At: In GNU Emacs 24.2.93.1. char-acronym-table has three entries with "XXX". They are from lisp/international/characters.el : > (let ((c1-acronyms '("XXX" "XXX" "BPH" "NBH" "IND" "NEL" "SSA" "ESA" > "HTS" "HTJ" "VTS" "PLD" "PLU" "R1" "SS2" "SS1" > "DCS" "PU1" "PU2" "STS" "CCH" "MW" "SPA" "EPA" > "SOS" "XXX" "SC1" "CSI" "ST" "OSC" "PM" "APC"))) These are the three C1 control characters that are listed with no name in Unicode and that aren't part of ISO/IEC 6429. These had the acros PAD, HOP, SGCI in draft DIS 10646, but weren't standardized (not accepted to ISO 10646). http://en.wikipedia.org/wiki/C0_and_C1_control_codes#C1_set http://www.aivosto.com/vbtips/control-characters.html I don't like the acronym feature showing different characters the same, so I suggest that "XXX" is replaced by the inofficial PAD, HOP, SGCI here. Alternatively, if that is not OK, that the target c1-control for glyphless-char-display skips these three characters. ====================================================================== $ diff -cp lisp/international/characters.el lisp/international/characters-fixc1.el *** lisp/international/characters.el 2013-01-01 21:37:17.000000000 +0100 --- lisp/international/characters-fixc1.el 2013-02-18 17:58:29.103018508 +0100 *************** Setup char-width-table appropriate for n *** 1354,1363 **** (aset char-acronym-table i (car c0-acronyms)) (setq c0-acronyms (cdr c0-acronyms)))) ! (let ((c1-acronyms '("XXX" "XXX" "BPH" "NBH" "IND" "NEL" "SSA" "ESA" "HTS" "HTJ" "VTS" "PLD" "PLU" "R1" "SS2" "SS1" "DCS" "PU1" "PU2" "STS" "CCH" "MW" "SPA" "EPA" ! "SOS" "XXX" "SC1" "CSI" "ST" "OSC" "PM" "APC"))) (dotimes (i 32) (aset char-acronym-table (+ #x0080 i) (car c1-acronyms)) (setq c1-acronyms (cdr c1-acronyms)))) --- 1354,1363 ---- (aset char-acronym-table i (car c0-acronyms)) (setq c0-acronyms (cdr c0-acronyms)))) ! (let ((c1-acronyms '("PAD" "HOP" "BPH" "NBH" "IND" "NEL" "SSA" "ESA" "HTS" "HTJ" "VTS" "PLD" "PLU" "R1" "SS2" "SS1" "DCS" "PU1" "PU2" "STS" "CCH" "MW" "SPA" "EPA" ! "SOS" "SGCI" "SC1" "CSI" "ST" "OSC" "PM" "APC"))) (dotimes (i 32) (aset char-acronym-table (+ #x0080 i) (car c1-acronyms)) (setq c1-acronyms (cdr c1-acronyms)))) ======================================================================