From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Oliver Scholz Newsgroups: gmane.emacs.devel Subject: Re: terminal escapes in Info files? Date: Wed, 29 Oct 2003 16:28:07 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200310282009.h9SK95E06713@f7.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1067441585 19277 80.91.224.253 (29 Oct 2003 15:33:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 29 Oct 2003 15:33:05 +0000 (UTC) Cc: emacs-devel@gnu.org, dirt@gtk.org, karl@freefriends.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Oct 29 16:33:02 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AEsJi-00046K-00 for ; Wed, 29 Oct 2003 16:33:02 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AEsJi-00012I-00 for ; Wed, 29 Oct 2003 16:33:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AEsGX-0004yt-Uo for emacs-devel@quimby.gnus.org; Wed, 29 Oct 2003 10:29:45 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AEsFp-0004qP-Hn for emacs-devel@gnu.org; Wed, 29 Oct 2003 10:29:01 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AEsFI-0004ju-Qb for emacs-devel@gnu.org; Wed, 29 Oct 2003 10:28:59 -0500 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.24) id 1AEsFH-0004jS-F2 for emacs-devel@gnu.org; Wed, 29 Oct 2003 10:28:27 -0500 Original-Received: (qmail 17096 invoked by uid 65534); 29 Oct 2003 15:28:24 -0000 Original-Received: from dialin-145-254-191-019.arcor-ip.net (EHLO HERMES) (145.254.191.19) by mail.gmx.net (mp002) with SMTP; 29 Oct 2003 16:28:24 +0100 X-Authenticated: #1497658 Original-To: Eli Zaretskii In-Reply-To: (Eli Zaretskii's message of "29 Oct 2003 16:14:28 +0200") X-Attribution: os X-Face: "HgH2sgK|bfH$; PiOJI6|qUCf.ve<51_Od(%ynHr?=>znn#~#oS>",F%B8&\vus),2AsPYb -n>PgddtGEn}s7kH?7kH{P_~vu?]OvVN^qD(L)>G^gDCl(U9n{:d>'DkilN!_K"eNzjrtI4Ya6; Td% IZGMbJ{lawG+'J>QXPZD&TwWU@^~A}f^zAb[Ru;CT(UA]c& User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (windows-nt) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:17551 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17551 Eli Zaretskii writes: >> From: Oliver Scholz [...] >> Maybe old tty info readers would send the escape sequences >> to the terminal, but you'd still need an Emacs info reader which is up >> to date, anyways. > > The assumption was that the Emacs Info reader can easily translate the > escapes into faces. ansi-colors.el already shows how. And yet you'd need to hack the Emacs info reader in order to make sure that it uses ansi-color.el. Maybe the patch is trivial, even easier than stripping markup using format.el. But it won't work out of the box for all users. >> Given that you have compatibility issues in either >> case, I'd like to plea for a syntactical markup. > > So you propose to have 2 problems instead of one, yes? Yes, indeed, because IMO using ANSI escape sequences is a step into the wrong direction, while introducing (a few) syntactical markup tags is a step into the right direction. YMMV, but my personal opinion: Iff you want to change the info format at all, please do it by introducing syntactical markup. Oliver -- Oliver Scholz 8 Brumaire an 212 de la Révolution Taunusstr. 25 Liberté, Egalité, Fraternité! 60329 Frankfurt a. M. http://www.jungdemokratenhessen.de Tel. (069) 97 40 99 42 http://www.jdjl.org