From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Ask" Newsgroups: gmane.emacs.help Subject: Re: emacs 21.1 color highligh Date: 30 Jan 2007 05:42:54 -0800 Organization: http://groups.google.com Message-ID: <1170164574.673194.213300@h3g2000cwc.googlegroups.com> References: <1170159601.079090.112030@a75g2000cwd.googlegroups.com> <878xfkpupt.fsf@main.mainworld> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1170168047 20851 80.91.229.12 (30 Jan 2007 14:40:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 30 Jan 2007 14:40:47 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 30 15:40:30 2007 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.50) id 1HBu9s-00068C-Ly for geh-help-gnu-emacs@m.gmane.org; Tue, 30 Jan 2007 15:40:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HBu9s-0000gY-8U for geh-help-gnu-emacs@m.gmane.org; Tue, 30 Jan 2007 09:40:28 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!h3g2000cwc.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 29 Original-NNTP-Posting-Host: 64.104.129.137 Original-X-Trace: posting.google.com 1170164581 26937 127.0.0.1 (30 Jan 2007 13:43:01 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 30 Jan 2007 13:43:01 +0000 (UTC) In-Reply-To: <878xfkpupt.fsf@main.mainworld> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 Application and Content Networking System Software 5.5.3 Complaints-To: groups-abuse@google.com Injection-Info: h3g2000cwc.googlegroups.com; posting-host=64.104.129.137; posting-account=0Ak7zA0AAAArmwslMryOgmdhMK3ZKZeR Original-Xref: shelby.stanford.edu gnu.emacs.help:145151 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:40757 Archived-At: On Jan 30, 5:25 pm, Phil Jackson wrote: > "Ask" writes: > > I am using Emacs 21.1 using ssh client (windows machine) on a Unix/ > > Linux server. Emacs opens the file in console itself which I am fine > > with. X-type of environment my ssh client is incapable of providing. > > Even though it is emacs *21.1*, it doesn't show the color higlighting. > > I did execute Alt-X font-lock-mode. All it did, instead of showing > > colors, made language constructs for exampke keywords, comments etc > > bolder. My console still looked Black & White. I noticed I was using > > bash shell and TERM was set to vt100. > > > What am I missing to get the colors seen ? > > I don't know which OS you are on but try setting your TERM to one of: > > xterm > xterm-color > xterm-256color > dtterm > The last one seems to work. But at some of the places areas overlap. For example, few lines after the comments block are shown in the same color as that of the comments block. A String is shown in different color but few characters following the string are shown in the same color as that of the string, etc. Colors are seen but do not seem to be 'desciplined'.