all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* keyword specification 19.x vs. 20.x
@ 2002-07-26 21:30 Sylvia Murphy
  0 siblings, 0 replies; only message in thread
From: Sylvia Murphy @ 2002-07-26 21:30 UTC (permalink / raw)


greetings,

i am creating a major emacs mode for the NCAR command language (NCL).  

I started with simple syntax highting.  This worked great in v. 19.34 but
not in v. 20.x

Since I am hacking this together from various examples on the web, I am
undoubtedly missing something.

The form of my keywords specifications is as follows:
(defvar ncl-keywords
   '(( "\\<\\(.....\\)\\>" 1 font-lock-keyword-face)
     (........ 1 font-lock-variable-face)
     (........ 1 font-lock-function-face))
     "keywords used in ncl-mode")


then in defun ncl-mode() i have
  (setq font-lock-keywords ncl-keywords)
  (font-lock-mode 1)
  (setq font-lock-maximum-decoration t)
  (make-local-variable 'font-lock-defaults)
  (setq font-lock-defaults 'ncl-keywords)
  
  
  
  etc.
  
  when i run in emacs 20.x  and even try to manually institute the 
global-font-lock i get the following error:
  
  "wrong type of arguments listp ncl-keywords"
  
  
  This seems to point to a syntax error in the creation of ncl-keywords. What
  has changed between 19.x and 20.x that effect this?
  
  
  thanks,
  
  sylvia


******************************************************
Sylvia Murphy                    EML: murphys@ucar.edu               
NCAR CGD/CAS                     PHN: 303-497-1720
1850 Table Mesa Dr               FAX: 303-497-1333 
Boulder, CO 80305
	                        
WEB: http://www.cgd.ucar.edu/csm/support/
     http://www.cgd.ucar.edu/csm/support/CSM_Graphics/
          
******************************************************

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-07-26 21:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-26 21:30 keyword specification 19.x vs. 20.x Sylvia Murphy

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.