[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/progmodes/verilog-mode.el,v
From: |
Miles Bader |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/progmodes/verilog-mode.el,v |
Date: |
Mon, 10 Mar 2008 00:49:54 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Miles Bader <miles> 08/03/10 00:49:48
Index: lisp/progmodes/verilog-mode.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/progmodes/verilog-mode.el,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- lisp/progmodes/verilog-mode.el 24 Feb 2008 10:08:51 -0000 1.12
+++ lisp/progmodes/verilog-mode.el 10 Mar 2008 00:49:47 -0000 1.13
@@ -115,9 +115,9 @@
;;; Code:
;; This variable will always hold the version number of the mode
-(defconst verilog-mode-version "399"
+(defconst verilog-mode-version "404"
"Version of this Verilog mode.")
-(defconst verilog-mode-release-date "2008-02-19-GNU"
+(defconst verilog-mode-release-date "2008-03-02-GNU"
"Release date of this Verilog mode.")
(defconst verilog-mode-release-emacs t
"If non-nil, this version of Verilog mode was released with Emacs itself.")
@@ -276,6 +276,7 @@
(defgroup verilog-mode nil
"Facilitates easy editing of Verilog source text."
+ :version "22.2"
:group 'languages)
; (defgroup verilog-mode-fonts nil
@@ -530,6 +531,15 @@
:type 'boolean)
(put 'verilog-highlight-p1800-keywords 'safe-local-variable 'verilog-booleanp)
+(defcustom verilog-highlight-grouping-keywords nil
+ "*True means highlight grouping keywords 'begin' and 'end' more dramatically.
+If false, these words are in the font-lock-type-face; if True then they are in
+`verilog-font-lock-ams-face'. Some find that special highlighting on these
+grouping constructs allow the structure of the code to be understood at a
glance."
+ :group 'verilog-mode-indent
+ :type 'boolean)
+(put 'verilog-highlight-grouping-keywords 'safe-local-variable
'verilog-booleanp)
+
(defcustom verilog-auto-endcomments t
"*True means insert a comment /* ... */ after 'end's.
The name of the function or case will be set between the braces."
@@ -1901,8 +1911,11 @@
"\\$[a-zA-Z][a-zA-Z0-9_\\$]*"
"\\)\\>")
;; Fontify all types
- (cons (concat "\\(\\<" verilog-font-grouping-keywords "\\)\\>")
+ (if verilog-highlight-grouping-keywords
+ (cons (concat "\\<\\(" verilog-font-grouping-keywords "\\)\\>")
'verilog-font-lock-ams-face)
+ (cons (concat "\\<\\(" verilog-font-grouping-keywords "\\)\\>")
+ 'font-lock-type-face))
(cons (concat "\\<\\(" verilog-type-font-keywords "\\)\\>")
'font-lock-type-face)
;; Fontify IEEE-P1800 keywords appropriately
- [Emacs-diffs] Changes to emacs/lisp/progmodes/verilog-mode.el,v,
Miles Bader <=
- [Emacs-diffs] Changes to emacs/lisp/progmodes/verilog-mode.el,v, Stefan Monnier, 2008/03/19
- [Emacs-diffs] Changes to emacs/lisp/progmodes/verilog-mode.el,v, Dan Nicolaescu, 2008/03/20
- [Emacs-diffs] Changes to emacs/lisp/progmodes/verilog-mode.el,v, Dan Nicolaescu, 2008/03/20
- [Emacs-diffs] Changes to emacs/lisp/progmodes/verilog-mode.el,v, Dan Nicolaescu, 2008/03/25
- [Emacs-diffs] Changes to emacs/lisp/progmodes/verilog-mode.el,v, Dan Nicolaescu, 2008/03/28