1. 21 Aug, 2011 2 commits
  2. 18 Aug, 2011 1 commit
    • Juri Linkov's avatar
      * lisp/faces.el (error, warning, success): New faces with definitions · bc987f8b
      Juri Linkov authored
      copied from old default values of `font-lock-warning-face',
      `compilation-warning', `compilation-info'.
      
      * lisp/font-lock.el (font-lock-warning-face): Inherit from `error'.
      
      * lisp/progmodes/compile.el (compilation-error): Inherit from `error'.
      (compilation-warning): Inherit from `warning'.
      (compilation-info): Inherit from `success'.
      
      * lisp/dired.el (dired-marked): Inherit from `warning'.
      (dired-flagged): Inherit from `error'.
      
      Fixes: debbugs:6117
      bc987f8b
  3. 14 Jul, 2011 1 commit
  4. 13 Jul, 2011 1 commit
  5. 05 Jul, 2011 2 commits
  6. 04 Jul, 2011 1 commit
  7. 01 Jun, 2011 1 commit
    • Stefan Monnier's avatar
      Silence various byte-compiler warnings. · 2403c841
      Stefan Monnier authored
      * lisp/emacs-lisp/byte-run.el (make-obsolete-variable): New argument
      `access-type' and new obsolescence format.
      * lisp/emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
      new format.
      (byte-compile-check-variable): New `access-type' argument.
      Only warn if the access-type is obsolete.
      (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
      (byte-compile-variable-set): Adjust callers.
      * lisp/help-fns.el (describe-variable): Adjust to new obsolescence format.
      * lisp/mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
      setting it as obsolete.
      * lisp/simple.el (minibuffer-completing-symbol):
      * lisp/font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
      access as obsolete.
      * lisp/minibuffer.el (minibuffer-completing-file-name): Don't make it
      obsolete yet.
      * lisp/international/quail.el (quail-mouse-choose-completion): Remove unused
      code referring to obsolete var.
      (quail-choose-completion-string): Remove.
      * lisp/server.el (server-clients-with, server-kill-buffer-query-function)
      (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
      * lisp/proced.el (proced-send-signal):
      * lisp/emacs-lisp/lisp.el (lisp-complete-symbol):
      Replace completion-annotate-function with completion-extra-properties.
      2403c841
  8. 05 Apr, 2011 1 commit
    • Juanma Barranquero's avatar
      lisp/font-lock.el: Remove obsolete code. · 33256f14
      Juanma Barranquero authored
      * font-lock.el (font-lock-refresh-defaults):
        Don't bind `hi-lock--inhibit-font-lock-hook', removed in
        2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com
      33256f14
  9. 08 Mar, 2011 1 commit
  10. 25 Jan, 2011 1 commit
  11. 16 Jan, 2011 1 commit
  12. 13 Jan, 2011 1 commit
  13. 02 Jan, 2011 1 commit
  14. 06 Oct, 2010 1 commit
    • Glenn Morris's avatar
      Remove obsolete variable font-lock-defaults-alist. · 6aecca99
      Glenn Morris authored
      * lisp/font-core.el (font-lock-defaults-alist): Remove variable.
      (font-lock-mode): Doc fix.
      (font-lock-default-function): Do not consult font-lock-defaults-alist.
      * lisp/font-lock.el (font-lock-refresh-defaults): Doc fix.
      (font-lock-set-defaults): Doc fix.
      Do not consult font-lock-defaults-alist.
      
      * etc/NEWS: Mention above change.
      6aecca99
  15. 11 Sep, 2010 1 commit
  16. 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
  17. 08 Sep, 2010 1 commit
    • Stefan Monnier's avatar
      Misc cleanups and simplifications. · b073dc4b
      Stefan Monnier authored
      * lisp/font-lock.el (save-buffer-state): Remove `varlist' arg.
      (font-lock-unfontify-region, font-lock-default-fontify-region):
      Update usage correspondingly.
      (font-lock-fontify-syntactic-keywords-region):
      Set parse-sexp-lookup-properties buffer-locally here.
      (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
      * lisp/progmodes/ada-mode.el: Replace "(set '" with setq.
      (ada-mode): Simplify.
      (ada-create-case-exception, ada-adjust-case-interactive)
      (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
      (ada-search-ignore-string-comment, ada-move-to-start)
      (ada-move-to-end): Use with-syntax-table.
      * lisp/progmodes/fortran.el (fortran-line-length): Don't recompute
      syntactic keywords redundantly a second time.
      * lisp/progmodes/js.el (require): Require is already "eval-and-compile".
      (js--re-search-forward): Avoid `eval'.  Preserve the error data.
      (js--re-search-backward): Use js--re-search-forward.
      * lisp/progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
      b073dc4b
  18. 30 Aug, 2010 1 commit
    • Stefan Monnier's avatar
      Use with-silent-modifications. · d36b74ca
      Stefan Monnier authored
      * lisp/composite.el (save-buffer-state): Delete, unused.
      * lisp/font-lock.el (save-buffer-state): Use with-silent-modifications.
      (font-lock-default-fontify-region): Use with-syntax-table.
      * lisp/jit-lock.el (with-buffer-unmodified): Remove.
      (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
      d36b74ca
  19. 29 Aug, 2010 1 commit
  20. 14 Aug, 2010 1 commit
  21. 16 Jun, 2010 1 commit
    • Stefan Monnier's avatar
      * lisp/font-lock.el (font-lock-major-mode): Rename from · 36901266
      Stefan Monnier authored
      font-lock-mode-major-mode to distinguish it from
      global-font-lock-mode's own font-lock-mode-major-mode.
      (font-lock-set-defaults):
      * lisp/font-core.el (font-lock-default-function): Adjust users.
      (font-lock-mode): Don't set it at all.
      
      Fixes: debbugs:6135
      36901266
  22. 03 Apr, 2010 1 commit
  23. 13 Jan, 2010 1 commit
  24. 28 Dec, 2009 1 commit
  25. 02 Oct, 2009 1 commit
  26. 12 Sep, 2009 1 commit
    • Stefan Monnier's avatar
      * startup.el (tutorial-directory): Make it a defcustom. · 45448e64
      Stefan Monnier authored
      Use custom-initialize-delay rather than eval-at-startup to set it.
      * image.el (image-load-path): Make it a defcustom.
      Use custom-initialize-delay rather than eval-at-startup to set it.
      * subr.el (eval-at-startup): Remove.
      * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
      45448e64
  27. 05 Sep, 2009 1 commit
  28. 02 Aug, 2009 1 commit
  29. 02 Mar, 2009 2 commits
  30. 19 Feb, 2009 1 commit
  31. 10 Jan, 2009 1 commit
  32. 05 Jan, 2009 1 commit
  33. 19 Dec, 2008 1 commit
  34. 03 Dec, 2008 1 commit
    • Lute Kamstra's avatar
      * align.el: · 9201cc28
      Lute Kamstra authored
      * allout.el:
      * apropos.el:
      * arc-mode.el:
      * autoinsert.el:
      * avoid.el:
      * battery.el:
      * bookmark.el:
      * buff-menu.el:
      * calculator.el:
      * chistory.el:
      * cmuscheme.el:
      * comint.el:
      * compare-w.el:
      * dabbrev.el:
      * delim-col.el:
      * desktop.el:
      * diff-mode.el:
      * diff.el:
      * dired-aux.el:
      * dired-x.el:
      * dired.el:
      * dos-vars.el:
      * ediff-diff.el:
      * ediff-help.el:
      * ediff-init.el:
      * ediff-merg.el:
      * ediff-mult.el:
      * ediff-ptch.el:
      * ediff-vers.el:
      * ediff-wind.el:
      * ediff.el:
      * emerge.el:
      * facemenu.el:
      * faces.el:
      * ffap.el:
      * filecache.el:
      * find-dired.el:
      * font-core.el:
      * font-lock.el:
      * forms.el:
      * fringe.el:
      * help-at-pt.el:
      * hippie-exp.el:
      * ido.el:
      * image-file.el:
      * imenu.el:
      * indent.el:
      * info.el:
      * isearchb.el:
      * iswitchb.el:
      * jit-lock.el:
      * jka-compr.el:
      * log-edit.el:
      * lpr.el:
      * ls-lisp.el:
      * man.el:
      * menu-bar.el:
      * midnight.el:
      * mouse-sel.el:
      * mouse.el:
      * msb.el:
      * outline.el:
      * paren.el:
      * pcmpl-cvs.el:
      * pcmpl-gnu.el:
      * pcomplete.el:
      * pcvs-info.el:
      * pcvs-parse.el:
      * printing.el:
      * ps-mule.el:
      * ps-print.el:
      * replace.el:
      * ruler-mode.el:
      * saveplace.el:
      * sb-image.el:
      * scroll-bar.el:
      * sha1.el:
      * shadowfile.el:
      * shell.el:
      * sort.el:
      * speedbar.el:
      * strokes.el:
      * tempo.el:
      * term.el:
      * terminal.el:
      * time-stamp.el:
      * time.el:
      * tree-widget.el:
      * type-break.el:
      * vc-cvs.el:
      * vc-hg.el:
      * vc-mcvs.el:
      * vc-rcs.el:
      * vc-sccs.el:
      * vc.el:
      * view.el:
      * w32-vars.el:
      * whitespace.el:
      * wid-edit.el: Remove leading * from docstrings of defcustoms,
      deffaces, defconsts and defuns.
      9201cc28
  35. 04 Nov, 2008 1 commit
  36. 03 Nov, 2008 1 commit
  37. 02 Nov, 2008 1 commit