1. 09 Jul, 2012 1 commit
  2. 11 Jan, 2012 1 commit
  3. 05 Jan, 2012 1 commit
  4. 16 Nov, 2011 1 commit
  5. 26 Jan, 2011 1 commit
  6. 25 Jan, 2011 1 commit
  7. 15 Jan, 2011 1 commit
  8. 02 Jan, 2011 1 commit
  9. 10 Dec, 2010 1 commit
    • Stefan Monnier's avatar
      Derive from prog-mode, use derived-mode-p, and fix up various · 175069ef
      Stefan Monnier authored
      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.
      175069ef
  10. 10 Sep, 2010 1 commit
    • Stefan Monnier's avatar
      New syntax-propertize functionality. · cf38dd42
      Stefan Monnier authored
      * lisp/font-lock.el (font-lock-syntactic-keywords): Make obsolete.
      (font-lock-fontify-syntactic-keywords-region): Move handling of
      font-lock-syntactically-fontified to...
      (font-lock-default-fontify-region): ...here.
      Let syntax-propertize-function take precedence.
      (font-lock-fontify-syntactically-region): Cal syntax-propertize.
      
      * lisp/emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
      
      * lisp/emacs-lisp/syntax.el (syntax-propertize-function)
      (syntax-propertize-chunk-size, syntax-propertize--done)
      (syntax-propertize-extend-region-functions): New vars.
      (syntax-propertize-wholelines, syntax-propertize-multiline)
      (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
      (syntax-propertize): New functions.
      (syntax-propertize-rules): New macro.
      (syntax-ppss-flush-cache): Set syntax-propertize--done.
      (syntax-ppss): Call syntax-propertize.
      
      * lisp/progmodes/ada-mode.el (ada-set-syntax-table-properties)
      (ada-after-change-function, ada-initialize-syntax-table-properties)
      (ada-handle-syntax-table-properties): Only define when
      syntax-propertize is not available.
      (ada-mode): Use syntax-propertize-function.
      
      * lisp/progmodes/autoconf.el (autoconf-mode):
      Use syntax-propertize-function.
      (autoconf-font-lock-syntactic-keywords): Remove.
      
      * lisp/progmodes/cfengine.el (cfengine-mode):
      Use syntax-propertize-function.
      (cfengine-font-lock-syntactic-keywords): Remove.
      
      * lisp/progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
      
      * lisp/progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
      (fortran--font-lock-syntactic-keywords): New var.
      (fortran-line-length): Update syntax-propertize-function and
      fortran--font-lock-syntactic-keywords.
      
      * lisp/progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
      replaces gdb-script-font-lock-syntactic-keywords.
      (gdb-script-mode): Use it.
      
      * lisp/progmodes/js.el (js--regexp-literal): Define while compiling.
      (js-syntax-propertize-function): New var; replaces
      js-font-lock-syntactic-keywords.
      (js-mode): Use it.
      
      * lisp/progmodes/make-mode.el (makefile-syntax-propertize-function):
      New var; replaces makefile-font-lock-syntactic-keywords.
      (makefile-mode): Use it.
      (makefile-imake-mode): Adjust.
      
      * lisp/progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
      replaces mixal-font-lock-syntactic-keywords.
      (mixal-mode): Use it.
      
      * lisp/progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
      to replace octave-font-lock-close-quotes.
      (octave-syntax-propertize-function): New function to replace
      octave-font-lock-syntactic-keywords.
      (octave-mode): Use it.
      
      * lisp/progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
      replace perl-font-lock-syntactic-keywords.
      (perl-syntax-propertize-special-constructs): New fun to replace
      perl-font-lock-special-syntactic-constructs.
      (perl-font-lock-syntactic-face-function): New fun.
      (perl-mode): Use it.
      
      * lisp/progmodes/python.el (python-syntax-propertize-function): New var to
      replace python-font-lock-syntactic-keywords.
      (python-mode): Use it.
      (python-quote-syntax): Simplify and adjust to new use.
      
      * lisp/progmodes/ruby-mode.el (ruby-here-doc-beg-re):
      Define while compiling.
      (ruby-here-doc-end-re, ruby-here-doc-beg-match)
      (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
      (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
      (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
      (ruby-here-doc-end-syntax): Only define when
      syntax-propertize is not available.
      (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
      New functions.
      (ruby-in-ppss-context-p): Update to new syntax of heredocs.
      (electric-indent-chars): Silence bytecompiler.
      (ruby-mode): Use prog-mode, syntax-propertize-function, and
      electric-indent-chars.
      
      * lisp/progmodes/sh-script.el (sh-st-symbol): Remove.
      (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
      (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
      (sh-font-lock-quoted-subshell): Assume we've already matched $(.
      (sh-font-lock-paren): Set syntax-multiline.
      (sh-font-lock-syntactic-keywords): Remove.
      (sh-syntax-propertize-function): New function to replace it.
      (sh-mode): Use it.
      
      * lisp/progmodes/simula.el (simula-syntax-propertize-function): New var to
      replace simula-font-lock-syntactic-keywords.
      (simula-mode): Use it.
      
      * lisp/progmodes/tcl.el (tcl-syntax-propertize-function): New var to
      replace tcl-font-lock-syntactic-keywords.
      (tcl-mode): Use it.
      
      * lisp/progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
      if available.
      (vhdl-fontify-buffer): Adjust.
      
      * lisp/textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
      
      * lisp/textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
      since we don't use it.
      
      * lisp/textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
      replace sgml-font-lock-syntactic-keywords.
      (sgml-mode): Use it.
      
      * lisp/textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
      Use syntax-propertize-function.
      
      * lisp/textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
      to replace texinfo-font-lock-syntactic-keywords.
      (texinfo-mode): Use it.
      
      * test/indent/octave.m: Remove some `fixindent' not needed any more.
      cf38dd42
  11. 13 Jan, 2010 1 commit
  12. 27 Sep, 2009 1 commit
    • Chong Yidong's avatar
      * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools · 15120dec
      Chong Yidong authored
      menu.
      
      * ediff-hook.el: Move menu-bar-ediff-misc-menu into
      menu-bar-ediff-menu.
      
      * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
      define-overloadable-function.
      
      * progmodes/autoconf.el: Provide autoconf as well, so that this
      file can be `require'd.
      
      * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
      
      * emacs-lisp/autoload.el (generated-autoload-feature)
      (generated-autoload-load-name): New vars.
      (autoload-rubric, autoload-generate-file-autoloads): Use them.
      (make-autoload): Recognize define-overloadable-function and
      defclass forms (for EIEIO).
      
      * Makefile.in (update-subdirs): Exclude cedet directory.
      15120dec
  13. 20 Sep, 2009 1 commit
  14. 05 Jan, 2009 1 commit
  15. 06 May, 2008 1 commit
  16. 10 Apr, 2008 1 commit
  17. 07 Jan, 2008 1 commit
  18. 07 Sep, 2007 1 commit
  19. 25 Jul, 2007 1 commit
  20. 21 Jan, 2007 1 commit
  21. 10 Dec, 2006 1 commit
  22. 10 Feb, 2006 1 commit
  23. 09 Feb, 2006 1 commit
  24. 30 Aug, 2005 1 commit
  25. 01 Aug, 2005 1 commit
  26. 04 Jul, 2005 1 commit
  27. 26 May, 2005 1 commit
    • Lute Kamstra's avatar
      * progmodes/ada-mode.el (ada-mode): · 9a969196
      Lute Kamstra authored
      * 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.
      9a969196
  28. 29 Oct, 2004 1 commit
  29. 16 Apr, 2004 1 commit
  30. 10 Apr, 2004 1 commit
    • Miles Bader's avatar
      Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-196 · 1f3ddf11
      Miles Bader authored
      Remove RCS keywords
      
      2004-04-10  Miles Bader  <miles@gnu.org>
      
         RCS keyword removal (only non-comment changes are enumerated here):
      
         * lisp/emacs-lisp/bytecomp.el (byte-compile-version): Variable removed.
         (byte-compile-insert-header): Don't use `byte-compile-version'.
         * lisp/url/url-vars.el (url-version): Use the constant string "Emacs"
         instead of calculating something from the RCS `State' keyword
         [the latter is almost entirely useless anyway].
         * lisp/forms.el (forms-version): Variable removed.
         (forms-mode): Don't use `forms-version'.
         * lisp/recentf.el (recentf-version): Variable removed.
         * lisp/progmodes/delphi.el (delphi-version): Variable removed.
         * lisp/progmodes/ada-mode.el (ada-mode): RCS keyword removed from docstring.
      1f3ddf11
  31. 24 Dec, 2003 1 commit
  32. 07 Nov, 2003 1 commit
  33. 08 Sep, 2003 1 commit
  34. 01 Sep, 2003 1 commit
  35. 13 May, 2003 1 commit
  36. 31 Oct, 2001 1 commit
  37. 16 Jul, 2001 1 commit
  38. 07 Mar, 2000 1 commit