[ESS] SAS mode font-lock-mode problem

Scott E. Chapal Scott.Chapal at mchsi.com
Sat Feb 4 16:01:32 CET 2006


I have been using ESS off and on for several years, orignally with
Xemacs and more recently with GNU Emacs ... but always in X.

Now, i am using Emacs via PuTTY from Windows :(

When I open a SAS file, I get this this Lisp error:
wrong-type-argument symbolp ""

If  I try to open the file a second time, it opens, but font-locking
isn't enabled. Any idea how to handle this?

Thanks,

Scott Chapal

[schapal at goblin ~]$ uname -a
Linux goblin 2.4.21-27.0.2.ELsmp #1 SMP Wed Jan 12 23:35:44 EST 2005
i686 i686 i386 GNU/Linux
[schapal at goblin ~]$ emacs -version
GNU Emacs 21.3.1
Copyright (C) 2002 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

Debugger entered--Lisp error: (wrong-type-argument symbolp "")
   fboundp("")
   font-lock-eval-keywords("")
   font-lock-eval-keywords(SAS-mode-font-lock-keywords)
   font-lock-set-defaults()
   font-lock-mode()
   turn-on-font-lock()
   turn-on-font-lock-if-enabled()
   global-font-lock-mode-buffers()
   run-hooks(find-file-hooks)
   after-find-file(nil t)
   find-file-noselect-1(#<buffer baseball.sas>
"~/ess/ess-5.2.11/fontlock-test/b$
   find-file-noselect("~/ess/ess-5.2.11/fontlock-test/baseball.sas" nil
nil 1)
   find-file("~/ess/ess-5.2.11/fontlock-test/baseball.sas" 1)
   call-interactively(find-file)




More information about the ESS-help mailing list