From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "dunnil" Newsgroups: gmane.emacs.help Subject: Re: Persist background and forecolor Date: 5 Feb 2006 04:11:31 -0800 Organization: http://groups.google.com Message-ID: <1139141491.005030.168470@g14g2000cwa.googlegroups.com> References: <1139097966.270855.121190@g43g2000cwa.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1139141572 19139 80.91.229.2 (5 Feb 2006 12:12:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 5 Feb 2006 12:12:52 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 05 13:12:51 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F5il7-0001r4-TQ for geh-help-gnu-emacs@m.gmane.org; Sun, 05 Feb 2006 13:12:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F5ioM-0006DO-ON for geh-help-gnu-emacs@m.gmane.org; Sun, 05 Feb 2006 07:16:10 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!g14g2000cwa.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 17 Original-NNTP-Posting-Host: 217.219.250.5 Original-X-Trace: posting.google.com 1139141496 28120 127.0.0.1 (5 Feb 2006 12:11:36 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sun, 5 Feb 2006 12:11:36 +0000 (UTC) In-Reply-To: User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; en) Opera 8.51,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: g14g2000cwa.googlegroups.com; posting-host=217.219.250.5; posting-account=-sRQ8wwAAABkaFO4xKy1FDSMWrgvBJ-o Original-Xref: shelby.stanford.edu gnu.emacs.help:137382 Original-To: help-gnu-emacs@gnu.org 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:33006 Archived-At: Thanks, it works like a charm. I have just another question, how shold I enable auto-complete for a mode? I'm using ruby; I copied all 5 *.el [1] files to C:\emacs-21.3\lisp\progmodes, and enabled _global font lock_ (through the menu) I have the syntax coloring but not auto-complete or anything else. Here is what I've added to .emacs: (autoload 'ruby-mode "ruby-mode" "Ruby editing mode." t) (setq auto-mode-alist (cons '("\\.rb$" . ruby-mode) auto-mode-alist)) [1] http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/misc/ Thanks again, - H