From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Dr. Arne Babenhauserheide" Newsgroups: gmane.emacs.devel Subject: Re: Colorizing source code in Info manuals Date: Thu, 05 Dec 2024 23:33:42 +0100 Message-ID: <87ttbh4v5l.fsf@web.de> References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40055"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel To: Cecilio Pardo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 05 23:34:45 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tJKQm-000ACH-2K for ged-emacs-devel@m.gmane-mx.org; Thu, 05 Dec 2024 23:34:44 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tJKPx-0003n4-1C; Thu, 05 Dec 2024 17:33:53 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tJKPv-0003mZ-2R for emacs-devel@gnu.org; Thu, 05 Dec 2024 17:33:51 -0500 Original-Received: from mout.web.de ([212.227.15.14]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tJKPt-0003JM-Az for emacs-devel@gnu.org; Thu, 05 Dec 2024 17:33:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de; s=s29768273; t=1733438026; x=1734042826; i=arne_bab@web.de; bh=+dsYWE82S60pMmkgQZesDMUudnhkoEJ7lHSYVNaM8o4=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=vCMM9k+5gU+83X1Er4EO+zFSCkXDSyAaWngru6Ghzv8wiuouQMQz+tp0uwXnG+gY ufzVsHp8bD1qJDvZTxRO5m22+t8oB9tduQ2yjQRfqH/1qNXW70H7u+wtnH6VoQr6h d8Mmh6PHlExspb6m4cneYApuqjfGILRn4gyz+MEGzP91gNygSZYSsfFxJUj7pi+EM U6Nuf+/4/RBVNZj0wFKbXSHU+Dp5+u3qEI671z86KRkRjDvxHuf9cJoT5NLGTfDgo 3S8bo1EA2P0bmOqdOTa8+BGN7XQk/3L3OJiHAS3kOUk1Zj4xJ6XzMAh9+lTuD7KVH RCtr8RrPFWXBAF/ATA== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Original-Received: from fluss ([84.165.21.171]) by smtp.web.de (mrweb006 [213.165.67.108]) with ESMTPSA (Nemesis) id 1N0Zs0-1tXr6E07mO-00txLd; Thu, 05 Dec 2024 23:33:46 +0100 In-Reply-To: (Cecilio Pardo's message of "Thu, 5 Dec 2024 23:06:37 +0100") X-Provags-ID: V03:K1:fH5DSPDs+N4C7IQEkOxEG8wUn+XGtgEP/aa+AuHLpSn6cdXskJV Mx8lTYyJG+1axeOpBeVhdlZ9Sq2xeksQs2NDZbCjTAl+NkGddC8E45nDWWGqvmuOaW+EDuH rgVPBoo7fUl3EdZD4nVlLxqH/jkmSiY0U4HL6gwE+cfJL02MmxPD1rx4ktuq2Kj8AITWi2m GUoP+kWl7Xfq0C2RTLVfA== UI-OutboundReport: notjunk:1;M01:P0:ekyvi2nmW2w=;weKXrEErTotmlUFHsAST1L50Yl5 rLmHLikZGRvcIeeJMy1RVNkYDXhaGk6N8oUZwUHXuAd+eFlY3Jve9tIklYqHklaZXff9sN2Gn JJG4Oca8m6MX8fFtL7i+afFv9WIGbUJDN7zRk91bSijoGjWwoyGqAkAD79Bjp90zop5xOGPqx aohuDKcHAjQht/ZDPRimpe7URUGOLF6YRG5kIuQIcy1rdSxJ0DsayqdnCuldoPHv1/Tq9fXKy BMkRY98g/7aOCQF1XoCffjdzlR9noUksEDyk/DoOqTDOfZr3+VYW0GwTpF0JnwymM8xHD3Lsi 2K/OjENz2a6Lximcw4rGcDXL08UfQJ1dS2jb2SU4qJi/eNph/DjtzlOLtopVPuo6io88WQJpp Pylg3S1cmCvWHB8uwwq0DnBF2i2CFRkVKU2J4dZV7KwYFttke+NiRKkjrZJZLD88reavKbWTJ fBdfhKdz9wlffInnJVIdD7o7js6M5UQAqz6fEFKBJrpukLsy2h3C9cWYAifwagqYyLFyczgLM zEkdg0h+DCpfaDST2BGCIkBLzKpKsf9l56SpxRpaV1zIjsevYFv5+LltVkhSl1nofpZBDYPAM FP3me3rGeyDftEJ5R1HizuAoocoB2A8SWyFYijnUaBMVvzZGbudit0QJFZM2aEwMhZ4/BafMa KfEg/W+36Ayh8HX0eAyLaSpk2ZkTtL1xO7OOKrTvRe9nnwCmgKsHO372/DBZb7NUr3irgtQxn G6mrJXwBs6kvNePoCSTy+Tw6KmzS2bNfUNpOUCDDbPTvSjuZanniNAT4cD1IZExkvQtiCpUn Received-SPF: pass client-ip=212.227.15.14; envelope-from=arne_bab@web.de; helo=mout.web.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:326106 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cecilio Pardo writes: > As texinfo is not going to add features like color to the Info format, This could also be added in HTML Exports via Javascript-Libraries. > I think maybe emacs could add some itself. > > For example, the Emacs Lisp Intro uses @smallexample blocks for > presenting lisp code. I modified makeinfo more or less successfully to > generate a file with the line numbers where these blocks start. With > this kind of information, emacs could fontify the source code. > > Does this sound good? That definitely sounds interesting! Could it also detect source blocks in *info* on the fly and then highlight the block like orgmode does it? Best wishes, Arne =2D-=20 Unpolitisch sein hei=C3=9Ft politisch sein, ohne es zu merken. draketo.de --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJEBAEBCAAuFiEE801qEjXQSQPNItXAE++NRSQDw+sFAmdSKkcQHGFybmVfYmFi QHdlYi5kZQAKCRAT741FJAPD653OEADMPgges8ATvWgcrLFTCxmO5vIcgh90EkjC IZIPX6BT0Ocrybc+PPNV0U8GqmkM/5J8Eb0XtNbB/04NlSd/KVazsXeO5pdCrZjb tfgKYp+dfGRtPPhmer5bfOiYP4sXAefKAwXPDUknztyFMHk+CgTjfQW55JW8qVnz wZaQ055+cl8fJCq01C69hC9mHl72kZod9calP7SKV+XjAF1dUA6/yaAwqsZzIdd2 3BsxrKEfej0V35qO4svBPrG6WrCIXvY6RaPAr3IAYnfPwQpCfYUR8n0swGqxKoPE NuapEUFu3ulnIc3XNntHJCm5+IUqiu50/w8dFz1E+vILvIDAoabufTh+/FU3mh6C gKDcsLKxeAWei3Hrdzxo/7GD6A1UpDvT8r6mSxa8fxPuJJgMTvs2fRI70ugZ8Apa WeVFxmNIHLjJs3FDvELAF/AjPTjDAeKMGT1sGkvcmpVJYERvgxVUgH/E7bRHi5pv eAjLviDwNyEorbRqJZcbb6h86CxlMrfrsOlFjwLQtT0xBsz2K5ExTK42+xnmiV/Z pJSINGKvDq7A9FmGg1chzfmcbZ0WhmNIXDs3vp65l+ltaVHwhLDtBA/FwP0nHKfo xjCnD9FctoPZuZ8cNmCC89eFiYQadGOTMnVexFJPwIpF8km39qzmY/PcoKAHJA7o 1KFe05oMPojEBAEBCAAuFiEE3Si95tmHXKvOSosd3M8NswvBBUgFAmdSKkcQHGFy bmVfYmFiQHdlYi5kZQAKCRDczw2zC8EFSMxpBACR+PuJIgfnv+FxJGkr0eA6Tea2 MN1iOPkOB4b8vJSR3xgM5xu3lS2WKGy59619Ix8hXunT16W1p7Acg3IchTPIfLJH hy82657cnrEBgoD5LIpGzjci9Y0pv5YYLO7DJEVG0FPxLJUEsducrw2k+dUFLnx6 Sttkm0GafypZBg4jcA== =XjIp -----END PGP SIGNATURE----- --=-=-=--