Mercurial > hg > xemacs-beta
comparison lisp/modes/verilog-mode.el @ 30:ec9a17fef872 r19-15b98
Import from CVS: tag r19-15b98
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:52:29 +0200 |
parents | 8fc7fe29b841 |
children |
comparison
equal
deleted
inserted
replaced
29:7976500f47f9 | 30:ec9a17fef872 |
---|---|
22 ;; along with this program; if not, write to the Free Software | 22 ;; along with this program; if not, write to the Free Software |
23 ;; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | 23 ;; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
24 | 24 |
25 ;;; Commentary: | 25 ;;; Commentary: |
26 | 26 |
27 ;; $Header: /afs/informatik.uni-tuebingen.de/local/web/xemacs/xemacs-cvs/XEmacs/xemacs-19/lisp/modes/verilog-mode.el,v 1.1 1997/02/13 18:53:08 steve Exp $ | 27 ;; $Header: /afs/informatik.uni-tuebingen.de/local/web/xemacs/xemacs-cvs/XEmacs/xemacs-19/lisp/modes/verilog-mode.el,v 1.2 1997/03/09 02:37:23 steve Exp $ |
28 ;; For help figuring out what to do with this file, visit | 28 ;; For help figuring out what to do with this file, visit |
29 ;; <http://www.silicon-sorcery.com/emacs_install.html> | 29 ;; <http://www.silicon-sorcery.com/emacs_install.html> |
30 | 30 |
31 ;; This mode borrows heavily from the pascal-mode and the cc-mode of emacs | 31 ;; This mode borrows heavily from the pascal-mode and the cc-mode of emacs |
32 | 32 |
323 ;;; Code: | 323 ;;; Code: |
324 | 324 |
325 (provide 'verilog-mode) | 325 (provide 'verilog-mode) |
326 | 326 |
327 ;; This variable will always hold the version number of the mode | 327 ;; This variable will always hold the version number of the mode |
328 (defconst verilog-mode-version "$$Revision: 1.1 $$" | 328 (defconst verilog-mode-version "$$Revision: 1.2 $$" |
329 "Version of this verilog mode.") | 329 "Version of this verilog mode.") |
330 | 330 |
331 (defvar verilog-indent-level 3 | 331 (defvar verilog-indent-level 3 |
332 "*Indentation of Verilog statements with respect to containing block.") | 332 "*Indentation of Verilog statements with respect to containing block.") |
333 | 333 |
862 verilog-cexp-indent (default 1) | 862 verilog-cexp-indent (default 1) |
863 Indentation of Verilog statements broken across lines. | 863 Indentation of Verilog statements broken across lines. |
864 verilog-case-indent (default 2) | 864 verilog-case-indent (default 2) |
865 Indentation for case statements. | 865 Indentation for case statements. |
866 verilog-auto-newline (default nil) | 866 verilog-auto-newline (default nil) |
867 Non-nil means automatically newline after simcolons and the punctation mark | 867 Non-nil means automatically newline after semicolons and the punctuation mark |
868 after an end. | 868 after an end. |
869 verilog-auto-indent-on-newline (default t) | 869 verilog-auto-indent-on-newline (default t) |
870 Non-nil means automatically indent line after newline | 870 Non-nil means automatically indent line after newline |
871 verilog-tab-always-indent (default t) | 871 verilog-tab-always-indent (default t) |
872 Non-nil means TAB in Verilog mode should always reindent the current line, | 872 Non-nil means TAB in Verilog mode should always reindent the current line, |
873 regardless of where in the line point is when the TAB command is used. | 873 regardless of where in the line point is when the TAB command is used. |
874 verilog-indent-begin-after-if (default t) | 874 verilog-indent-begin-after-if (default t) |
875 Non-nil means to indent begin statements following a preceeding | 875 Non-nil means to indent begin statements following a preceding |
876 if, else, while, for and repeat statements, if any. otherwise, | 876 if, else, while, for and repeat statements, if any. otherwise, |
877 the begin is lined up with the preceeding token. If t, you get: | 877 the begin is lined up with the preceding token. If t, you get: |
878 if (a) | 878 if (a) |
879 begin | 879 begin |
880 otherwise you get: | 880 otherwise you get: |
881 if (a) | 881 if (a) |
882 begin | 882 begin |