From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: display-supports-face-attributes-p bug? Date: Fri, 10 Jun 2005 09:34:21 +0300 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1118385560 20463 80.91.229.2 (10 Jun 2005 06:39:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 10 Jun 2005 06:39:20 +0000 (UTC) Cc: cloos@jhcloos.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 10 08:39:19 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DgdAW-0001nP-QR for ged-emacs-devel@m.gmane.org; Fri, 10 Jun 2005 08:39:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DgdHb-0006Yc-3e for ged-emacs-devel@m.gmane.org; Fri, 10 Jun 2005 02:46:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dgd9K-0004Wj-GE for emacs-devel@gnu.org; Fri, 10 Jun 2005 02:37:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dgd9I-0004Vg-Am for emacs-devel@gnu.org; Fri, 10 Jun 2005 02:37:48 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dgd9H-0004Uo-Jv for emacs-devel@gnu.org; Fri, 10 Jun 2005 02:37:47 -0400 Original-Received: from [192.114.186.24] (helo=legolas.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dgd6Y-0003Qc-UB; Fri, 10 Jun 2005 02:34:59 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-84-228-242-216.inter.net.il [84.228.242.216]) by legolas.inter.net.il (MOS 3.5.8-GR) with ESMTP id EOT17221 (AUTH halo1); Fri, 10 Jun 2005 09:34:19 +0300 (IDT) Original-To: miles@gnu.org In-reply-to: (message from Miles Bader on Fri, 10 Jun 2005 09:59:04 +0900) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:38494 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:38494 > Date: Fri, 10 Jun 2005 09:59:04 +0900 > From: Miles Bader > Cc: Eli Zaretskii , cloos@jhcloos.com, emacs-devel@gnu.org > > That's correct for the linux console, but underlining _does_ work > properly on xterm (and on every other X terminal emulator I've > tried). Right. And that includes many xterm emulators running on Windows as well, such as PuTTY. > As it seems unlikely for terminfo to be changed anytime soon (and > broken installations would remain for a long time anyway), it seems > that Emacs just needs to special-case the terminal name "linux" to > reflect that underlining isn't supported there. Yuck! I'd prefer we invest our energy in talking the Linux maintainers into changing their terminfo entries. Hardcoding terminal names is ugly and would be a maintenance mess if that terminal expands its capabilities in the future. We always insisted in behaving as the terminfo entry says. The only places where we currently look at the terminal's name is when there's no known way if figuring out something, like with the (unknown) default background color of the terminal. > Currently there doesn't seem to be a mechanism for overriding the > low-level C terminal code from lisp though. Right. The only existing mechanism is through the tty-color-mode frame parameter, and it only supports overriding the number of available colors.