1. 06 Oct, 2012 1 commit
    • Glenn Morris's avatar
      Add missing :version tags · d1a1c7e6
      Glenn Morris authored
      * profiler.el (profiler): Add missing group :version tag.
      * avoid.el (mouse-avoidance-banish-position):
      * proced.el (proced-renice-command):
      * calc/calc.el (calc-ensure-consistent-units):
      * calendar/icalendar.el (icalendar-import-format-uid):
      * net/tramp.el (tramp-save-ad-hoc-proxies):
      * progmodes/bug-reference.el (bug-reference-bug-regexp):
      * progmodes/flymake.el (flymake-error-bitmap)
      (flymake-warning-bitmap, flymake-fringe-indicator-position):
      * progmodes/sh-script.el (sh-indent-after-continuation):
      * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
      (verilog-before-save-font-hook, verilog-after-save-font-hook):
      * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
      (vhdl-array-index-record-field-in-sensitivity-list)
      (vhdl-indent-comment-like-next-code-line):
      * textmodes/reftex-vars.el (reftex-ref-style-alist)
      (reftex-ref-macro-prompt, reftex-ref-style-default-list)
      (reftex-cite-key-separator, reftex-create-bibtex-header)
      (reftex-create-bibtex-footer):
      * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
      (rst-indent-literal-normal, rst-indent-literal-minimized)
      (rst-indent-comment): Add missing custom :version tags.
      
      * cedet/semantic/complete.el (semantic-displayor-tooltip-mode)
      (semantic-displayor-tooltip-initial-max-tags)
      (semantic-displayor-tooltip-max-tags): Add missing custom :version tags.
      * cedet/ede/linux.el (project-linux): Add missing group :version tag.
      
      * cedet/semantic/complete.el (semantic-displayor-tooltip-max-tags): Doc fix.
      
      * erc/erc.el (erc-lurker):
      * erc/erc-desktop-notifications.el (erc-notifications):
      Add missing group :version tags.
      
      * gnus/gnus-notifications.el (gnus-notifications):
      Add missing group :version tag.
      * gnus/gnus-msg.el (gnus-gcc-pre-body-encode-hook)
      (gnus-gcc-post-body-encode-hook):
      * gnus/gnus-sync.el (gnus-sync-lesync-name)
      (gnus-sync-lesync-install-topics): Add missing custom :version tags.
      d1a1c7e6
  2. 25 Sep, 2012 1 commit
    • Chong Yidong's avatar
      Use declare forms, where possible, to mark obsolete functions. · 59f7af81
      Chong Yidong authored
      * lisp/allout.el (allout-passphrase-hint-string): Likewise.
      (allout-init): Use a declare form to mark obsolete.
      
      * lisp/calendar/calendar.el (calendar-version):
      * lisp/calendar/icalendar.el (icalendar-extract-ical-from-buffer)
      (icalendar-convert-diary-to-ical):
      * lisp/cus-edit.el (custom-mode):
      * lisp/ansi-color.el (ansi-color-unfontify-region):
      * lisp/international/latin1-disp.el (latin1-char-displayable-p):
      * lisp/progmodes/cwarn.el (turn-on-cwarn-mode):
      * lisp/progmodes/which-func.el (which-func-update-1): Use
      define-obsolete-function-alias.
      
      * lisp/bookmark.el (bookmark-jump-noselect): Use a declare form to mark
      this function obsolete.
      
      * lisp/calendar/cal-x.el (calendar-two-frame-setup)
      (calendar-only-one-frame-setup, calendar-one-frame-setup):
      * lisp/calendar/calendar.el (american-calendar, european-calendar)
      (calendar-for-loop):
      * lisp/comint.el (comint-dynamic-simple-complete)
      (comint-dynamic-complete-as-filename, comint-unquote-filename):
      * lisp/desktop.el (desktop-load-default):
      * lisp/dired-x.el (dired-omit-here-always)
      (dired-hack-local-variables, dired-default-directory):
      * lisp/emacs-lisp/derived.el (derived-mode-class):
      * lisp/emacs-lisp/timer.el (timer-set-time-with-usecs):
      * lisp/emacs-lock.el (toggle-emacs-lock):
      * lisp/epa.el (epa-display-verify-result):
      * lisp/epg.el (epg-sign-keys, epg-start-sign-keys)
      (epg-passphrase-callback-function):
      * lisp/eshell/esh-util.el (eshell-for):
      * lisp/eshell/eshell.el (eshell-remove-from-window-buffer-names)
      (eshell-add-to-window-buffer-names):
      * lisp/files.el (locate-file-completion):
      * lisp/imenu.el (imenu-example--create-c-index)
      (imenu-example--create-lisp-index)
      (imenu-example--lisp-extract-index-name)
      (imenu-example--name-and-position):
      * lisp/international/mule-cmds.el (princ-list):
      * lisp/international/mule-diag.el (decode-codepage-char):
      * lisp/international/mule-util.el (detect-coding-with-priority):
      * lisp/iswitchb.el (iswitchb-read-buffer):
      * lisp/mail/mailalias.el (mail-complete):
      * lisp/mail/sendmail.el (mail-sent-via):
      * lisp/mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
      (mouse-major-mode-menu):
      * lisp/password-cache.el (password-read-and-add):
      * lisp/pcomplete.el (pcomplete-parse-comint-arguments):
      * lisp/progmodes/sh-script.el (sh-maybe-here-document):
      * lisp/replace.el (query-replace-regexp-eval):
      * lisp/savehist.el (savehist-load):
      * lisp/simple.el (choose-completion-delete-max-match):
      * lisp/term.el (term-dynamic-simple-complete):
      * lisp/vc/ediff-init.el (ediff-check-version):
      * lisp/vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
      * lisp/vc/vc.el (vc-diff-switches-list):
      * lisp/view.el (view-return-to-alist-update): Likewise.
      
      * lisp/iswitchb.el (iswitchb-read-buffer): Move code of
      iswitchb-define-mode-map here, and delete that obsolete function.
      
      * lisp/subr.el (eval-next-after-load, makehash, insert-string)
      (assoc-ignore-representation, assoc-ignore-case): Use declare to
      mark obsolete.
      (mode-line-inverse-video): Variable deleted.
      
      * lisp/emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
      this applies to functions.
      
      * lisp/erc/erc.el (erc-send-command): Use define-obsolete-function-alias.
      
      * lisp/international/mule-util.el (string-to-sequence): Remove.
      
      * lisp/net/newst-backend.el (newsticker-cache-filename):
      * lisp/net/newst-treeview.el (newsticker-groups-filename): Fix
      incorrect obsolescence declaration.
      
      * lisp/net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
      font-lock-reference-face.
      
      * lisp/url/url-parse.el (url-recreate-url-attributes):
      * lisp/url/url-util.el (url-generate-unique-filename): Use declare to mark
      obsolete.
      
      * src/xdisp.c (mode_line_inverse_video): Delete obsolete variable.
      59f7af81
  3. 29 Aug, 2012 1 commit
  4. 27 Aug, 2012 2 commits
  5. 15 Aug, 2012 1 commit
  6. 18 Jul, 2012 1 commit
  7. 17 Jul, 2012 1 commit
  8. 10 Jul, 2012 1 commit
    • Stefan Monnier's avatar
      Reduce use of (require 'cl). · f58e0fd5
      Stefan Monnier authored
      * admin/bzrmerge.el: Use cl-lib.
      * leim/quail/hangul.el: Don't require CL.
      * leim/quail/ipa.el: Use cl-lib.
      * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
      * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
      * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
      * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
      * international/quail.el, info-xref.el, imenu.el, image-mode.el:
      * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
      * battery.el, avoid.el, abbrev.el: Use cl-lib.
      * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
      * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
      * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
      * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
      * calculator.el, autorevert.el, apropos.el: Don't require CL.
      * emacs-bytecomp.el (byte-recompile-directory, display-call-tree)
      (byte-compile-unfold-bcf, byte-compile-check-variable):
      * emacs-byte-opt.el (byte-compile-trueconstp)
      (byte-compile-nilconstp):
      * emacs-autoload.el (make-autoload): Use pcase.
      * face-remap.el (text-scale-adjust): Simplify pcase patterns.
      f58e0fd5
  9. 09 Jul, 2012 1 commit
  10. 11 May, 2012 1 commit
    • Stefan Monnier's avatar
      * lisp/progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode. · ff46c759
      Stefan Monnier authored
      Provide SMIE-based indentation (not enabled by default yet).
      (sh-mode-map): Don't bind electric keys.
      Use electric-pair-mode instead of skeleton-pair.
      (sh-assignment-regexp): Fit within 80 columns.
      (sh-indent-supported): Specify actual shell name instead of boolean.
      (sh--maybe-here-document): New fun, from sh-maybe-here-document.
      (sh-maybe-here-document): Use it.  Make obsolete.
      (sh-electric-here-document-mode) New minor mode.
      (sh-mode): Use it.  Don't set sh-indent-supported-here here.
      (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
      (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
      (sh-smie-rc-grammar, sh-use-smie): New vars.
      (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
      (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
      (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
      (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
      (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
      (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
      (sh-set-shell): Use smie-setup if requested.
      ff46c759
  11. 09 Apr, 2012 1 commit
  12. 11 Jan, 2012 1 commit
  13. 05 Jan, 2012 1 commit
  14. 19 Nov, 2011 1 commit
  15. 17 Nov, 2011 2 commits
  16. 22 Aug, 2011 1 commit
  17. 03 Aug, 2011 2 commits
  18. 22 Apr, 2011 1 commit
  19. 18 Feb, 2011 1 commit
  20. 09 Feb, 2011 1 commit
  21. 05 Feb, 2011 2 commits
    • Stefan Monnier's avatar
      * lisp/progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the · ba70ab1c
      Stefan Monnier authored
      font-lock-syntax-table remappings.
      (sh-here-doc-markers, sh-here-doc-re): Remove.
      (sh-font-lock-close-heredoc): Remove.
      (sh-syntax-propertize-here-doc): New function.
      (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
      instead of the sh-here-doc-re.
      (sh-font-lock-paren): Don't do anything in comments or strings.
      Handle line continuations.  Accept a few more chars.
      Don't rely on the font-lock-syntax-table remappings.
      `esac' is not a valid pattern.
      (sh-syntax-propertize-function): Handle here-docs differently, so we
      don't bother syntax-propertizing the insides.
      
      Fixes: debbugs:7947
      ba70ab1c
    • Stefan Monnier's avatar
      * lisp/progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing): · 7cb76591
      Stefan Monnier authored
      Handle new bashisms ";&" and ";;&".
      
      Fixes: debbugs:7947
      7cb76591
  22. 26 Jan, 2011 1 commit
  23. 25 Jan, 2011 1 commit
  24. 16 Jan, 2011 1 commit
  25. 14 Jan, 2011 1 commit
  26. 02 Jan, 2011 1 commit
  27. 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
  28. 09 Nov, 2010 1 commit
    • Glenn Morris's avatar
      Replace still more end-of-line etc with line-end-position, etc. · 9b026d9f
      Glenn Morris authored
      * lisp/gnus/nnbabyl.el (nnbabyl-request-move-article, nnbabyl-delete-mail)
      (nnbabyl-check-mbox): Use point-at-bol.
      
      * lisp/cedet/semantic/lex.el (semantic-lex-ignore-comments, semantic-flex):
      * lisp/cedet/semantic/grammar.el (semantic-grammar-epilogue):
      * lisp/cedet/ede/speedbar.el (ede-find-nearest-file-line):
      * lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
      * lisp/cedet/ede/autoconf-edit.el (autoconf-delete-parameter):
      Use point-at-bol and point-at-eol.
      
      * lisp/vc/emerge.el (emerge-line-number-in-buf):
      * lisp/textmodes/ispell.el (ispell-region):
      * lisp/textmodes/fill.el (current-fill-column):
      * lisp/progmodes/xscheme.el (xscheme-send-current-line):
      * lisp/progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
      * lisp/progmodes/tcl.el (tcl-hairy-scan-for-comment):
      * lisp/progmodes/sh-script.el (sh-handle-prev-do):
      * lisp/progmodes/meta-mode.el (meta-indent-line):
      * lisp/progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
      (idlwave-in-quote):
      * lisp/progmodes/idlw-shell.el (idlwave-shell-current-frame)
      (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
      * lisp/progmodes/fortran.el (fortran-looking-at-if-then):
      * lisp/progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
      * lisp/progmodes/cperl-mode.el (cperl-sniff-for-indent)
      (cperl-find-pods-heres):
      * lisp/progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
      * lisp/net/quickurl.el (quickurl-list-insert):
      * lisp/net/ldap.el (ldap-search-internal):
      * lisp/net/eudc.el (eudc-expand-inline):
      * lisp/mail/sendmail.el (sendmail-send-it):
      * lisp/mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
      * lisp/emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
      (viper-brac-function):
      * lisp/calc/calc-yank.el (calc-do-grab-region):
      * lisp/calc/calc-keypd.el (calc-keypad-press):
      * lisp/term.el (term-move-columns, term-insert-spaces):
      * lisp/speedbar.el (speedbar-highlight-one-tag-line):
      * lisp/simple.el (current-word):
      * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
      * lisp/info.el (Info-find-node-in-buffer-1, Info-follow-reference)
      (Info-scroll-down):
      * lisp/hippie-exp.el (he-line-beg):
      * lisp/epa.el (epa--marked-keys):
      * lisp/dired-aux.el (dired-kill-line, dired-do-kill-lines)
      (dired-update-file-line, dired-add-entry, dired-remove-entry)
      (dired-relist-entry):
      * lisp/buff-menu.el (Buffer-menu-buffer):
      * lisp/array.el (current-line):
      * lisp/allout.el (allout-resolve-xref)
      (allout-latex-verbatim-quote-curr-line):
      Replace yet more uses of end-of-line etc with line-end-position.
      9b026d9f
  29. 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
  30. 26 Aug, 2010 1 commit
  31. 14 May, 2010 2 commits
  32. 13 May, 2010 1 commit
  33. 28 Feb, 2010 1 commit
  34. 13 Jan, 2010 1 commit
  35. 01 Nov, 2009 1 commit