From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: karl@freefriends.org (Karl Berry) Newsgroups: gmane.emacs.devel Subject: Re: terminal escapes in Info files? Date: Tue, 28 Oct 2003 15:09:05 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200310282009.h9SK95E06713@f7.net> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1067372065 23007 80.91.224.253 (28 Oct 2003 20:14:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 28 Oct 2003 20:14:25 +0000 (UTC) Cc: eliz@elta.co.il, emacs-devel@gnu.org, dirt@gtk.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Oct 28 21:14:23 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 1AEaER-0006TO-00 for ; Tue, 28 Oct 2003 21:14:23 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AEaER-0007lC-00 for ; Tue, 28 Oct 2003 21:14:23 +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 1AEa9z-0003wp-6g for emacs-devel@quimby.gnus.org; Tue, 28 Oct 2003 15:09:47 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AEa9s-0003wX-SQ for emacs-devel@gnu.org; Tue, 28 Oct 2003 15:09:40 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AEa9M-0003ta-0B for emacs-devel@gnu.org; Tue, 28 Oct 2003 15:09:39 -0500 Original-Received: from [209.61.216.22] (helo=f7.net) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AEa9L-0003tM-Ka for emacs-devel@gnu.org; Tue, 28 Oct 2003 15:09:07 -0500 Original-Received: (from karl@localhost) by f7.net (8.11.7-20030920/8.11.7) id h9SK95E06713; Tue, 28 Oct 2003 15:09:05 -0500 Original-To: monnier@IRO.UMontreal.CA 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:17512 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17512 rms: I am actually coming to believe that using the raw terminal escape sequences is as clean as anything else in this particular limited context. We specifically want to support what terminals can support. Aren't the ANSI escape sequences as reasonable a way of specifying that as anything? I don't see any particular advantage to writing ^H^[bold^H^] (or or whatever) instead of ^[[3m, and the implementation in both info and M-x info gets much more complex if we introduce a layer of indirection, which all it really amounts to. This discussion is telling me that we may want a better output format in general than Info, but any significant/large extensions are hard to mark and turn Info into something other than what it was designed to be: output on a terminal. So, as far as improving Info itself goes in the short term, this seems as good as anything. What do you think?