X-Loop: help-debbugs@HIDDEN Subject: bug#6534: Suggestion for character references in html-mode Resent-From: Esa Peuha <esa.peuha@HIDDEN> Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org Resent-To: owner <at> debbugs.gnu.org Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 28 Jun 2010 21:52:01 +0000 Resent-Message-ID: <handler.6534.B.127776191118010 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 6534 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 6534 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.127776191118010 (code B ref -1); Mon, 28 Jun 2010 21:52:01 +0000 Received: (at submit) by debbugs.gnu.org; 28 Jun 2010 21:51:51 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1OTMF4-0004gR-5R for submit <at> debbugs.gnu.org; Mon, 28 Jun 2010 17:51:50 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <esa.peuha@HIDDEN>) id 1OTM3f-0004bA-18 for submit <at> debbugs.gnu.org; Mon, 28 Jun 2010 17:40:03 -0400 Received: from lists.gnu.org ([199.232.76.165]:44955) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from <esa.peuha@HIDDEN>) id 1OTM3a-0005C9-Rq for submit <at> debbugs.gnu.org; Mon, 28 Jun 2010 17:39:58 -0400 Received: from [140.186.70.92] (port=54801 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OTM3Z-0002bW-Ex for bug-gnu-emacs@HIDDEN; Mon, 28 Jun 2010 17:39:58 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE, T_DKIM_INVALID, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from <esa.peuha@HIDDEN>) id 1OTM3Y-0005OW-Ii for bug-gnu-emacs@HIDDEN; Mon, 28 Jun 2010 17:39:57 -0400 Received: from mail-ww0-f41.google.com ([74.125.82.41]:55725) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from <esa.peuha@HIDDEN>) id 1OTM3Y-0005OL-Ej for bug-gnu-emacs@HIDDEN; Mon, 28 Jun 2010 17:39:56 -0400 Received: by wwf26 with SMTP id 26so3425008wwf.0 for <bug-gnu-emacs@HIDDEN>; Mon, 28 Jun 2010 14:39:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=p0sazm6BorX4+hA7IhsOM2gLBB23JjWalm84Um/0/PM=; b=jz+J+n+MeaWRmaXLb+f2A4EMmosuG6uPih1X2+DvRpRdS0JFplNMsIucv6TmlwOgXb CdBFQQ5CAVeJuhHncNEKk9bzOXZJOI6iXrJpZ86qQDdXZhrCMXC0HKoKW/XXCgpF7jFm SRzfOalYKxLw9d2bfANdbuThehbm/tz1tqdJU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=HtRhJ2WHDfjxuC18H4245GuucXZFG5H5fXrRL4N3ZKZVF1pOHLdsNiLUr/3HLnxBtw u3FSHy8uRrDfWmAnWECRgie6m8FBrleivXKwTPFbd6TNC6kdddCM3kn5AsFkUM6a1O7y WoNz0xdg97O/YRty1XSRs+0q5nF/nip0R6M5w= MIME-Version: 1.0 Received: by 10.216.85.74 with SMTP id t52mr4291084wee.99.1277761194850; Mon, 28 Jun 2010 14:39:54 -0700 (PDT) Received: by 10.216.29.137 with HTTP; Mon, 28 Jun 2010 14:39:54 -0700 (PDT) Date: Tue, 29 Jun 2010 00:39:54 +0300 Message-ID: <AANLkTil_x6HfwE7joR6BMmf5pPWnJUX6EH_uzYeq4ylP@HIDDEN> From: Esa Peuha <esa.peuha@HIDDEN> Content-Type: multipart/alternative; boundary=0016e6db24d1207b13048a1df667 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.9 (-----) X-Mailman-Approved-At: Mon, 28 Jun 2010 17:51:48 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -5.9 (-----) --0016e6db24d1207b13048a1df667 Content-Type: text/plain; charset=ISO-8859-1 In nxml-mode, numeric character references (such as  ) are displayed with the referred-to character following the reference. It would be nice if html-mode did the same. (The format of these references is the same in xml and html, so sharing code for this should be simple.) --0016e6db24d1207b13048a1df667 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable In nxml-mode, numeric character references (such as &#160;) are<br>disp= layed with the referred-to character following the reference. It<br>would b= e nice if html-mode did the same. (The format of these<br>references is the= same in xml and html, so sharing code for this<br> should be simple.)<br><br> --0016e6db24d1207b13048a1df667--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Esa Peuha <esa.peuha@HIDDEN> Subject: bug#6534: Acknowledgement (Suggestion for character references in html-mode) Message-ID: <handler.6534.B.127776191118010.ack <at> debbugs.gnu.org> References: <AANLkTil_x6HfwE7joR6BMmf5pPWnJUX6EH_uzYeq4ylP@HIDDEN> X-Gnu-PR-Message: ack 6534 X-Gnu-PR-Package: emacs Reply-To: 6534 <at> debbugs.gnu.org Date: Mon, 28 Jun 2010 21:52:01 +0000 Thank you for filing a new bug report with GNU. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 6534 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 6534: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D6534 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#6534: Suggestion for character references in html-mode Resent-From: Juri Linkov <juri@HIDDEN> Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org Resent-To: owner <at> debbugs.gnu.org Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 29 Jun 2010 09:38:02 +0000 Resent-Message-ID: <handler.6534.B6534.12778042475910 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 6534 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Esa Peuha <esa.peuha@HIDDEN> Cc: 6534 <at> debbugs.gnu.org Received: via spool by 6534-submit <at> debbugs.gnu.org id=B6534.12778042475910 (code B ref 6534); Tue, 29 Jun 2010 09:38:02 +0000 Received: (at 6534) by debbugs.gnu.org; 29 Jun 2010 09:37:27 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1OTXFu-0001XF-7M for submit <at> debbugs.gnu.org; Tue, 29 Jun 2010 05:37:27 -0400 Received: from smtp-out2.starman.ee ([85.253.0.4] helo=mx2.starman.ee) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <juri@HIDDEN>) id 1OTXFs-0001Wz-QA for 6534 <at> debbugs.gnu.org; Tue, 29 Jun 2010 05:37:25 -0400 X-Virus-Scanned: by Amavisd-New at mx2.starman.ee Received: from mail.starman.ee (82.131.30.159.cable.starman.ee [82.131.30.159]) by mx2.starman.ee (Postfix) with ESMTP id 907853F40EE; Tue, 29 Jun 2010 12:37:18 +0300 (EEST) From: Juri Linkov <juri@HIDDEN> Organization: JURTA References: <AANLkTil_x6HfwE7joR6BMmf5pPWnJUX6EH_uzYeq4ylP@HIDDEN> Date: Tue, 29 Jun 2010 12:06:55 +0300 In-Reply-To: <AANLkTil_x6HfwE7joR6BMmf5pPWnJUX6EH_uzYeq4ylP@HIDDEN> (Esa Peuha's message of "Tue, 29 Jun 2010 00:39:54 +0300") Message-ID: <87k4pis09k.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -3.6 (---) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -3.6 (---) > In nxml-mode, numeric character references (such as  ) are > displayed with the referred-to character following the reference. It > would be nice if html-mode did the same. (The format of these > references is the same in xml and html, so sharing code for this > should be simple.) I think this functionality should be separated into a new package because it's useful for character notations of other modes as well, e.g. Emacs Lisp with #x, C with 0x, Perl with \x, etc. -- Juri Linkov http://www.jurta.org/emacs/
X-Loop: help-debbugs@HIDDEN Subject: bug#6534: Suggestion for character references in html-mode Resent-From: Lars Ingebrigtsen <larsi@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 01 Mar 2016 14:15:02 +0000 Resent-Message-ID: <handler.6534.B6534.1456841664803 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 6534 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juri Linkov <juri@HIDDEN> Cc: 6534 <at> debbugs.gnu.org, Esa Peuha <esa.peuha@HIDDEN> Received: via spool by 6534-submit <at> debbugs.gnu.org id=B6534.1456841664803 (code B ref 6534); Tue, 01 Mar 2016 14:15:02 +0000 Received: (at 6534) by debbugs.gnu.org; 1 Mar 2016 14:14:24 +0000 Received: from localhost ([127.0.0.1]:54878 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1aal4C-0000Ct-Cv for submit <at> debbugs.gnu.org; Tue, 01 Mar 2016 09:14:24 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:59620) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from <larsi@HIDDEN>) id 1aal4A-0000Ck-9C for 6534 <at> debbugs.gnu.org; Tue, 01 Mar 2016 09:14:23 -0500 Received: from 2.151.173.136.tmi.telenormobil.no ([2.151.173.136] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <larsi@HIDDEN>) id 1aal3U-0005pp-2N; Tue, 01 Mar 2016 15:13:40 +0100 From: Lars Ingebrigtsen <larsi@HIDDEN> In-Reply-To: <87k4pis09k.fsf@HIDDEN> (Juri Linkov's message of "Tue, 29 Jun 2010 12:06:55 +0300") Date: Tue, 01 Mar 2016 17:04:42 +1100 Message-ID: <87ziuiu41x.fsf@HIDDEN> References: <AANLkTil_x6HfwE7joR6BMmf5pPWnJUX6EH_uzYeq4ylP@HIDDEN> <87k4pis09k.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1aal3U-0005pp-2N X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@HIDDEN MailScanner-NULL-Check: 1457446420.96566@hm1QdOLaRXpYuenYO50skQ X-Spam-Status: No X-Spam-Score: 1.1 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Juri Linkov <juri@HIDDEN> writes: >> In nxml-mode, numeric character references (such as  ) are >> displayed with the referred-to character following the reference. It >> would be nice if html-mode did the same. (The format of these >> references is the same in xml and html, so sharing code for this >> should be simple.) > > I think this functionality should be separated into a new package > because it's useful for character notations of other modes as well, > e.g. Emacs Lisp with #x, C with 0x, Perl with \x, etc. [...] Content analysis details: (1.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.91.224.195 listed in list.dnswl.org] 1.1 DATE_IN_PAST_06_12 Date: is 6 to 12 hours before Received: date X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 1.1 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Juri Linkov <juri@HIDDEN> writes: >> In nxml-mode, numeric character references (such as  ) are >> displayed with the referred-to character following the reference. It >> would be nice if html-mode did the same. (The format of these >> references is the same in xml and html, so sharing code for this >> should be simple.) > > I think this functionality should be separated into a new package > because it's useful for character notations of other modes as well, > e.g. Emacs Lisp with #x, C with 0x, Perl with \x, etc. [...] Content analysis details: (1.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.91.224.195 listed in list.dnswl.org] 1.1 DATE_IN_PAST_06_12 Date: is 6 to 12 hours before Received: date Juri Linkov <juri@HIDDEN> writes: >> In nxml-mode, numeric character references (such as  ) are >> displayed with the referred-to character following the reference. It >> would be nice if html-mode did the same. (The format of these >> references is the same in xml and html, so sharing code for this >> should be simple.) > > I think this functionality should be separated into a new package > because it's useful for character notations of other modes as well, > e.g. Emacs Lisp with #x, C with 0x, Perl with \x, etc. That does sound exceedingly useful... Hm... perhaps I should have a go at it unless this already exists somewhere? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
X-Loop: help-debbugs@HIDDEN Subject: bug#6534: Suggestion for character references in html-mode Resent-From: Juri Linkov <juri@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Wed, 02 Mar 2016 00:34:02 +0000 Resent-Message-ID: <handler.6534.B6534.145687881519660 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 6534 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen <larsi@HIDDEN> Cc: 6534 <at> debbugs.gnu.org, Esa Peuha <esa.peuha@HIDDEN> Received: via spool by 6534-submit <at> debbugs.gnu.org id=B6534.145687881519660 (code B ref 6534); Wed, 02 Mar 2016 00:34:02 +0000 Received: (at 6534) by debbugs.gnu.org; 2 Mar 2016 00:33:35 +0000 Received: from localhost ([127.0.0.1]:56831 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1aaujP-000571-F4 for submit <at> debbugs.gnu.org; Tue, 01 Mar 2016 19:33:35 -0500 Received: from sub3.mail.dreamhost.com ([69.163.253.7]:59860 helo=homiemail-a101.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from <juri@HIDDEN>) id 1aaujN-00056s-KA for 6534 <at> debbugs.gnu.org; Tue, 01 Mar 2016 19:33:34 -0500 Received: from homiemail-a101.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a101.g.dreamhost.com (Postfix) with ESMTP id A3813117E06A; Tue, 1 Mar 2016 16:33:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jurta.org; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version: content-type; s=jurta.org; bh=Nl2zRDSDzcBte2NeCWa+zq7WXNc=; b=d7 MSdMh4yTlPRK9fKVmJrcz6whdbJhzMkyqj/JPagxEnWpr6eiaXQTtNavzpTT2bdC 7vyUbkdH3ZK6hxs+9H9fBsr8daJkZ1dakd+F9FBLXdQCac+goHaab516t9Pno0sN 7lJGP2iUMbIfBreRpPyPfaM8E5cp07uG+HNgtwH/U= Received: from localhost.linkov.net (82.131.10.45.cable.starman.ee [82.131.10.45]) (Authenticated sender: jurta@HIDDEN) by homiemail-a101.g.dreamhost.com (Postfix) with ESMTPA id 97092117E065; Tue, 1 Mar 2016 16:33:30 -0800 (PST) From: Juri Linkov <juri@HIDDEN> Organization: LINKOV.NET References: <AANLkTil_x6HfwE7joR6BMmf5pPWnJUX6EH_uzYeq4ylP@HIDDEN> <87k4pis09k.fsf@HIDDEN> <87ziuiu41x.fsf@HIDDEN> Date: Wed, 02 Mar 2016 02:28:29 +0200 In-Reply-To: <87ziuiu41x.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Tue, 01 Mar 2016 17:04:42 +1100") Message-ID: <87k2ll205u.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.91 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) > Juri Linkov <juri@HIDDEN> writes: > >>> In nxml-mode, numeric character references (such as  ) are >>> displayed with the referred-to character following the reference. It >>> would be nice if html-mode did the same. (The format of these >>> references is the same in xml and html, so sharing code for this >>> should be simple.) >> >> I think this functionality should be separated into a new package >> because it's useful for character notations of other modes as well, >> e.g. Emacs Lisp with #x, C with 0x, Perl with \x, etc. > > That does sound exceedingly useful... Hm... perhaps I should have a go > at it unless this already exists somewhere? When I looked at prior art the closest matches were the package rainbow-mode from ELPA that displays colors by character codes, and prettify-symbols-mode that transforms characters into alternative representation. But doing this using font-lock-keywords is so trivial, it was easier to just put a small piece of code in ~/.emacs.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.