Chong Yidong
|
fb7ada5f94
|
Remove * characters from the front of variable docstrings.
|
2012-04-09 21:05:48 +08:00 |
|
Paul Eggert
|
f6b1b0a848
|
Spelling fixes.
|
2011-11-12 23:48:23 -08:00 |
|
Glenn Morris
|
0d9f702fd0
|
Nuke arch-tags.
|
2011-01-15 15:16:57 -08:00 |
|
Stefan Monnier
|
175069efeb
|
Derive from prog-mode, use derived-mode-p, and fix up various
minor style issues in lisp/progmodes.
* lisp/progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
(vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
make-local-hook.
* lisp/progmodes/sh-script.el (sh-require-final-newline): Remove.
(sh-set-shell): Don't set require-final-newline since it's already done
by prog-mode.
* lisp/progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
since we never set it.
* lisp/progmodes/ebrowse.el (ebrowse-set-tree-indentation):
Use read-string and standard prompt.
* lisp/progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
* lisp/progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
(meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
(meta-common-mode-map): Rename from meta-mode-map.
Remove C-m binding, which is a user preference, not mode specific.
(meta-common-mode): New major mode; replace meta-common-initialization.
* lisp/progmodes/js.el (js-mode): Call syntax-propertize rather than messing
around with font-lock.
* lisp/progmodes/etags.el (select-tags-table-mode):
Derive from special-mode.
* lisp/progmodes/octave-mod.el (octave-mode):
* lisp/progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
(gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
(gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
Let define-derived-mode do its job.
* lisp/progmodes/cpp.el (cpp-edit-mode-map):
Move initialization into declaration.
(cpp-edit-mode): Use define-derived-mode.
(cpp-edit-load): Use derived-mode-p.
* lisp/progmodes/mixal-mode.el (mixal-mode):
* lisp/progmodes/f90.el (f90-mode):
* lisp/progmodes/cfengine.el (cfengine-mode): Don't bother setting
require-final-newline since prog-mode does it already.
* lisp/progmodes/cc-cmds.el (c-update-modeline): Use match-string.
* lisp/progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
* lisp/progmodes/antlr-mode.el: Require cc-mode upfront.
(antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
the declaration.
(antlr-directory-dependencies, antlr-show-makefile-rules):
Use derived-mode-p.
(antlr-language-option): Don't assume point-min==1.
(antlr-mode): Use define-derived-mode.
* lisp/progmodes/ada-mode.el: Use derived-mode-p.
(ada-mode): Use define-derived-mode.
Use hack-local-variables-hook.
* lisp/progmodes/vhdl-mode.el (vhdl-mode):
* lisp/progmodes/verilog-mode.el (verilog-mode):
* lisp/progmodes/vera-mode.el (vera-mode):
* lisp/progmodes/sql.el (sql-mode):
* lisp/progmodes/scheme.el (scheme-mode):
* lisp/progmodes/perl-mode.el (perl-mode):
* lisp/progmodes/octave-inf.el (inferior-octave-mode):
* lisp/progmodes/autoconf.el (autoconf-mode):
* lisp/progmodes/m4-mode.el (m4-mode):
* lisp/progmodes/inf-lisp.el (inferior-lisp-mode):
* lisp/progmodes/idlwave.el (idlwave-mode):
* lisp/progmodes/icon.el (icon-mode):
* lisp/progmodes/idlw-help.el (idlwave-help-mode):
* lisp/progmodes/dcl-mode.el (dcl-mode):
* lisp/progmodes/idlw-shell.el (idlwave-shell-mode):
* lisp/progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
(ebrowse-member-mode, ebrowse-electric-position-mode):
Use define-derived-mode.
* lisp/progmodes/xscheme.el (xscheme-start)
(local-set-scheme-interaction-buffer, scheme-interaction-mode):
* lisp/progmodes/which-func.el (which-function):
* lisp/progmodes/vhdl-mode.el (vhdl-set-style):
* lisp/progmodes/verilog-mode.el (verilog-set-compile-command)
(verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
(verilog-set-define, verilog-auto-reeval-locals):
* lisp/progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
* lisp/progmodes/simula.el (simula-mode):
* lisp/progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
* lisp/progmodes/python.el (python-check, python-mode):
* lisp/progmodes/prolog.el (prolog-mode-variables):
* lisp/progmodes/gud.el (gud-tooltip-activate-mouse-motions):
* lisp/progmodes/ebrowse.el (ebrowse-view-file-other-frame):
* lisp/progmodes/delphi.el (delphi-mode):
* lisp/progmodes/cc-styles.el (c-setup-paragraph-variables):
* lisp/progmodes/cc-mode.el (c-basic-common-init, c-common-init)
(c-font-lock-init): Move make-local-variable to their setq.
* lisp/progmodes/xscheme.el (exit-scheme-interaction-mode)
(xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
(xscheme-debugger-mode-p, xscheme-send-string-1):
* lisp/progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
(tcl-load-file, tcl-restart-with-file):
* lisp/progmodes/ps-mode.el (ps-run-running):
* lisp/progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
* lisp/progmodes/js.el (js--get-all-known-symbols):
* lisp/progmodes/inf-lisp.el (inferior-lisp-proc):
* lisp/progmodes/idlwave.el (idlwave-beginning-of-statement)
(idlwave-template, idlwave-update-buffer-routine-info)
(idlwave-update-current-buffer-info)
(idlwave-get-routine-info-from-buffers, idlwave-choose)
(idlwave-scan-class-info, idlwave-fix-keywords)
(idlwave-list-buffer-load-path-shadows):
* lisp/progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
(idlwave-toolbar-remove):
* lisp/progmodes/idlw-shell.el (idlwave-shell-save-and-action)
(idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
(idlwave-shell-menu-def):
* lisp/progmodes/idlw-complete-structtag.el
(idlwave-prepare-structure-tag-completion):
* lisp/progmodes/gud.el (gud-set-buffer):
* lisp/progmodes/f90.el (f90-backslash-not-special):
* lisp/progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
|
2010-12-10 15:00:25 -05:00 |
|
Stefan Monnier
|
cbf83ce9f9
|
* lisp/progmodes/modula2.el: Use SMIE and skeleton.
(m2-mode-syntax-table): (*..*) can be nested.
Add //...\n. Fix paren syntax.
(m2-mode-map): Remove LF and TAB bindings.
(m2-indent): Add safety property.
(m2-smie-grammar): New var.
(m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
(m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
(m2-mode): Use define-derived-mode.
(m2-newline, m2-tab): Remove.
(m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
(m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
(m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
(m2-import): Use define-skeleton.
* test/indent/modula2.mod: New file.
|
2010-11-11 16:06:15 -05:00 |
|
Dan Nicolaescu
|
a0310a6c22
|
Declare and define in one step various mode maps.
* lisp/shell.el (shell-mode-map):
* lisp/progmodes/modula2.el (m2-mode-map):
* lisp/progmodes/inf-lisp.el (inferior-lisp-mode-map):
* lisp/play/mpuz.el (mpuz-mode-map):
* lisp/play/landmark.el (lm-mode-map):
* lisp/play/decipher.el (decipher-mode-map):
* lisp/play/5x5.el (5x5-mode-map):
* lisp/net/telnet.el (telnet-mode-map):
* lisp/net/quickurl.el (quickurl-list-mode-map):
* lisp/net/mairix.el (mairix-searches-mode-map):
* lisp/net/eudc-hotlist.el (eudc-hotlist-mode-map):
* lisp/net/dig.el (dig-mode-map):
* lisp/mail/mspools.el (mspools-mode-map):
* lisp/hexl.el (hexl-mode-map):
* lisp/emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
(wordstar-C-o-map, wordstar-C-q-map):
* lisp/emacs-lisp/edebug.el (edebug-eval-mode-map):
* lisp/emacs-lisp/chart.el (chart-map):
* lisp/edmacro.el (edmacro-mode-map):
* lisp/array.el (array-mode-map): Declare and define in one step.
* lisp/erc/erc-list.el (erc-list-menu-mode-map): Declare and define in one step.
|
2010-10-10 16:12:30 -07:00 |
|
Stefan Monnier
|
cbee283dd7
|
Fix up comment convention on the arch-tag lines.
|
2008-04-10 14:10:46 +00:00 |
|
Thien-Thi Nguyen
|
2503f22288
|
(m2-definition, m2-module): Don't use previous-line.
|
2007-08-27 13:38:50 +00:00 |
|
Juri Linkov
|
8ec3bce045
|
Add :link (custom-group-link font-lock-faces) to defgroup.
|
2005-11-17 07:40:11 +00:00 |
|
Juanma Barranquero
|
2f3806694c
|
(m2-for): Fix spellings.
|
2005-06-16 16:24:28 +00:00 |
|
Lute Kamstra
|
9a9691963d
|
* progmodes/ada-mode.el (ada-mode):
* progmodes/antlr-mode.el (antlr-mode):
* progmodes/autoconf.el (autoconf-mode):
* progmodes/dcl-mode.el (dcl-mode):
* progmodes/delphi.el (delphi-mode):
* progmodes/ebrowse.el (ebrowse-tree-mode)
(ebrowse-electric-list-mode, ebrowse-member-mode)
(ebrowse-electric-position-mode):
* progmodes/f90.el (f90-mode):
* progmodes/fortran.el (fortran-mode):
* progmodes/icon.el (icon-mode):
* progmodes/idlw-help.el (idlwave-help-mode):
* progmodes/idlw-shell.el (idlwave-shell-mode):
* progmodes/idlwave.el (idlwave-mode):
* progmodes/inf-lisp.el (inferior-lisp-mode):
* progmodes/m4-mode.el (m4-mode):
* progmodes/meta-mode.el (metafont-mode, metapost-mode):
* progmodes/modula2.el (modula-2-mode):
* progmodes/octave-inf.el (inferior-octave-mode):
* progmodes/octave-mod.el (octave-mode):
* progmodes/pascal.el (pascal-mode):
* progmodes/sh-script.el (sh-mode):
* progmodes/sql.el (sql-mode, sql-interactive-mode):
* progmodes/vhdl-mode.el (vhdl-mode):
* progmodes/xscheme.el (scheme-interaction-mode): Use run-mode-hooks.
|
2005-05-26 16:43:37 +00:00 |
|
Richard M. Stallman
|
c3b575e1ac
|
(modula-2-mode): Use mode-require-final-newline.
|
2004-12-31 14:54:45 +00:00 |
|
Miles Bader
|
ab5796a9f9
|
Add arch taglines
|
2003-09-01 15:45:59 +00:00 |
|
Juanma Barranquero
|
a1506d2977
|
Trailing whitepace deleted.
|
2003-02-04 13:24:35 +00:00 |
|
Pavel Janík
|
5553563924
|
Some fixes to follow coding conventions in files maintained by FSF.
|
2001-07-15 16:15:35 +00:00 |
|
Stephen Eglen
|
5636765c52
|
Customized.
|
1998-02-22 19:51:45 +00:00 |
|
Simon Marshall
|
883212ce69
|
Changed font-lock-reference-face to font-lock-constant-face.
|
1998-02-20 14:58:27 +00:00 |
|
Richard M. Stallman
|
896546cd9b
|
Add provide call.
|
1997-06-22 18:57:55 +00:00 |
|
Simon Marshall
|
52bb674b93
|
Do <* *> via syntax table not regexps; use regexp-opt.
|
1997-06-19 08:55:24 +00:00 |
|
Richard M. Stallman
|
d03b8a2d00
|
Comment changes.
|
1997-05-28 03:50:36 +00:00 |
|
Richard M. Stallman
|
ac50039319
|
Comment change.
|
1997-05-27 20:53:24 +00:00 |
|
Richard M. Stallman
|
a80d3563db
|
(m2-end-comment-column): New defvar.
(modula-2-mode, m2-end-comment): Use m2-end-comment-column
instead of end-comment-column.
(m2-compile, m2-link): Don't set `modulename',
|
1997-04-22 04:42:21 +00:00 |
|
Simon Marshall
|
94d175889a
|
Font Lock support.
|
1997-04-17 07:32:31 +00:00 |
|
Karl Heuer
|
f951869d02
|
(m2-case, m2-for, m2-if): Doc fix.
|
1996-01-04 23:45:36 +00:00 |
|
Richard M. Stallman
|
a4eecfc9a3
|
(m2-execute-monitor-command): Renamed from execute-monitor-command.
|
1995-08-27 17:15:57 +00:00 |
|
Boris Goldowsky
|
6f2096a7d4
|
(modula-2-mode): Remove ^ from paragraph-start & paragraph-separate.
|
1995-03-02 15:31:55 +00:00 |
|
Eric S. Raymond
|
edbd2f74bc
|
Added or corrected Commentary sections
|
1993-03-22 05:42:35 +00:00 |
|
Eric S. Raymond
|
e41b2db1da
|
Added or corrected Commentary sections
|
1993-03-22 03:27:18 +00:00 |
|
Eric S. Raymond
|
5814274441
|
entered into RCS
|
1992-07-22 02:58:48 +00:00 |
|
Eric S. Raymond
|
fd7fa35a05
|
*** empty log message ***
|
1992-07-17 08:15:29 +00:00 |
|
Eric S. Raymond
|
841763034c
|
*** empty log message ***
|
1992-07-16 04:23:17 +00:00 |
|
Richard M. Stallman
|
2f4b997c3d
|
*** empty log message ***
|
1992-05-31 01:25:27 +00:00 |
|
Eric S. Raymond
|
6594deb0dc
|
*** empty log message ***
|
1992-05-30 22:12:04 +00:00 |
|
Jim Blandy
|
f9f9507e1d
|
*** empty log message ***
|
1991-05-09 21:50:55 +00:00 |
|
Brian Preble
|
5d11560e4c
|
*** empty log message ***
|
1991-04-10 14:06:18 +00:00 |
|
Richard M. Stallman
|
66f565252f
|
Initial revision
|
1989-04-04 03:33:01 +00:00 |
|