From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: zwz Newsgroups: gmane.emacs.help Subject: Re: conditional font faces Date: Sat, 06 Mar 2010 01:03:45 +0800 Message-ID: <87d3ziem4u.fsf@gmail.com> References: <4B89BF15.1070605@gmail.com> <87aauokos5.fsf@gmail.com> <4B901D31.1010301@gmail.com> <87hboueoy6.fsf@gmail.com> <4B913353.2080503@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1267809171 31155 80.91.229.12 (5 Mar 2010 17:12:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 5 Mar 2010 17:12:51 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 05 18:12:44 2010 connect(): Connection refused Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Nnb4b-0004mg-Ll for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Mar 2010 18:12:41 +0100 Original-Received: from localhost ([127.0.0.1]:34915 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nnb4U-0000LB-El for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Mar 2010 12:12:18 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nnawt-0006DX-QI for help-gnu-emacs@gnu.org; Fri, 05 Mar 2010 12:04:27 -0500 Original-Received: from [140.186.70.92] (port=37769 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nnawr-0006Cx-RJ for help-gnu-emacs@gnu.org; Fri, 05 Mar 2010 12:04:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nnawq-0000kP-EN for help-gnu-emacs@gnu.org; Fri, 05 Mar 2010 12:04:25 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:41263) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nnawp-0000kG-Qh for help-gnu-emacs@gnu.org; Fri, 05 Mar 2010 12:04:24 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Nnawg-0008CB-L7 for help-gnu-emacs@gnu.org; Fri, 05 Mar 2010 18:04:14 +0100 Original-Received: from 61.164.42.188 ([61.164.42.188]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Mar 2010 18:04:14 +0100 Original-Received: from zhangweize by 61.164.42.188 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Mar 2010 18:04:14 +0100 X-Injected-Via-Gmane: http://gmane.org/ connect(): Connection refused Original-Lines: 42 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 61.164.42.188 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt) Cancel-Lock: sha1:K+hYnMmXTgny768N2WdAKdjnlD4= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:72374 Archived-At: Suvayu Ali writes: > On 05/03/10 05:02 PM, zwz wrote: >> Suvayu Ali writes: >> >>> On 04/03/10 05:57 PM, zwz wrote: >>>> Not cutting to your problem but hope it helps a little. >>>> >>>> I work on tty quite much, and I have configured my emacs so that it >>>> presents a similar view no matter windowed or no-windowed. I did this >>>> based on the library "color-theme". And my consistent-theme is available >>>> at http://www.emacswiki.org/emacs/zwz. >>> >>> I'm glad you posted this, your colour theme almost suits my needs. That was >>> exactly what I was aiming for, a consistent scheme for both no-window and >>> x-window and I much prefer the no-window scheme except for some like the >>> minibuffer prompt. I think I will use your theme with minor modifications. :) >>> >>> Thanks a lot. >> >> You are welcome. :) >> I am happy that my work fits your need. >> It takes me quite much time to figure out the theme that looks OK >> (personally), as there are only 8 colors available on the tty (but I >> don't know why, in fact I have enabled the framebuffer, and can watch >> videos on the tty. I hope that someone can help me out on the problem. >> If there are 256 colors, I think I can get a prettier theme easily). > > ... and I have a solution for you. Install the package ncurses-term (applicable > for Ubuntu/Debian/Fedora and maybe others too but I'm not too sure). Then, > > $ export TERM=xterm-256color Yes, in this way I could get 256 colors on xterm. But sometimes I work on a tty (I mean I do not start X at all), and I want to have a consistent view in such case. The weird problem I described is that I can watch videos (which are colorful) but can not get the 256 colors on the tty. > > and vallah! you have 256 colours on an xterm. ;) I will be waiting for your > theme update very eagerly.