From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Eliot Handelman Newsgroups: gmane.emacs.help Subject: scheme mode font-lock problems Date: Mon, 27 Oct 2003 23:15:32 -0500 Organization: Posted via Supernews, http://www.supernews.com Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1067315513 31240 80.91.224.253 (28 Oct 2003 04:31:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 28 Oct 2003 04:31:53 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 28 05:31:51 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AELWI-0001ev-01 for ; Tue, 28 Oct 2003 05:31:51 +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 1AELVA-0005sT-Dr for geh-help-gnu-emacs@m.gmane.org; Mon, 27 Oct 2003 23:30:40 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-01!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en Original-X-Complaints-To: abuse@supernews.com Original-Lines: 38 Original-Xref: shelby.stanford.edu gnu.emacs.help:117642 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:13574 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:13574 Hi, I'm using Emacs 20.7.1 on win98 and I'm having some trouble with font-lock not coming on in scheme-mode unless I explicitly type M-x scheme-mode. A related problem -- the indentation functions in my .emacs aren't being recognized, until M-x scheme-mode. The mode-line clearly announces that the buffer is in scheme-mode (and I can send processes to scheme, etc). Key bindings and such defined in .emacs ARE recognized, however. This *used to* work and I haven't fidgeted with .emacs for a LONG time. The relevant forms are: (require 'font-lock) (font-lock-add-keywords 'scheme-mode '(("\\(\\sw\\sw*:[^a-z0-9-A-Z\+]\\)" . font-lock-type-face) ;; dsssl keywords ("with-access" . font-lock-type-face) (... etc)) (add-hook 'scheme-mode-hook 'turn-on-font-lock) so I'm now clueless -- any suggestions as to what may be going wrong? thanks for all help, -- eliot