1. 29 Oct, 2011 1 commit
    • Ulf Jasper's avatar
      newsticker: Fixed bug#9763 · 6d6a626c
      Ulf Jasper authored
      2011-10-29  Ulf Jasper  <ulf.jasper@web.de>
      	* trunk/test/automated/newsticker-tests.el
      	(newsticker--group-manage-orphan-feeds): Prevent updating
      	newsticker treeview. Fixed bug#9763.
  2. 20 Oct, 2011 2 commits
  3. 15 Oct, 2011 1 commit
  4. 27 Sep, 2011 1 commit
  5. 26 Jul, 2011 1 commit
    • Ulf Jasper's avatar
      icalendar: Take care of multiple vcalendars in a single file. · 68575ab0
      Ulf Jasper authored
      	* calendar/icalendar.el (icalendar--all-events): Take care of
      	multiple vcalendars in a single file.
      	(icalendar--convert-float-to-ical): checkdoc fixes.
      	* automated/icalendar-tests.el (icalendar-tests--compare-strings):
      	Removed, simply use string=.
      	(icalendar-tests--do-test-cycle) : Changed argument order of
      	string= to EXPECTED ACTUAL.
      	(icalendar-real-world): Adjusted to string= instead of
      	(icalendar-import-multiple-vcalendars): New.
  6. 11 May, 2011 2 commits
  7. 09 May, 2011 2 commits
  8. 08 May, 2011 1 commit
  9. 06 Apr, 2011 1 commit
  10. 10 Mar, 2011 1 commit
    • Stefan Monnier's avatar
      Rewrite the cconv conversion algorithm, for clarity. · 6c075cd7
      Stefan Monnier authored
      * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand): Adjust check for
      new byte-code representation.
      * lisp/emacs-lisp/cconv.el (cconv--convert-function): Rename from
      (cconv-convert): Rename from cconv-closure-convert-rec.
      (cconv--analyse-use): Rename from cconv-analyse-use.
      (cconv--analyse-function): Rename from cconv-analyse-function.
      (cconv--analyse-use): Change some patterns to silence compiler.
      (cconv-convert, cconv--convert-function): Rewrite.
      * test/automated/lexbind-tests.el: New file.
  11. 07 Mar, 2011 1 commit
  12. 05 Mar, 2011 1 commit
    • Glenn Morris's avatar
      Move eshell's self-tests to the test/ directory. · 81fb60b2
      Glenn Morris authored
      * lisp/eshell/esh-var.el: Don't require esh-test when compiling.
      * lisp/eshell/em-banner.el, lisp/eshell/esh-cmd.el, lisp/eshell/esh-mode.el:
      * lisp/eshell/esh-var.el, lisp/eshell/eshell.el: Move tests to esh-test.
      * lisp/eshell/esh-test.el: Move to ../../test/eshell.el
      * test/eshell.el: Move here from lisp/eshell/esh-test.el.
  13. 03 Mar, 2011 1 commit
    • Christian Ohler's avatar
      Added fast path to ERT explanation of `equal'. · de69c0a8
      Christian Ohler authored
      * emacs-lisp/ert.el (ert--explain-equal): New function.
      (ert--explain-equal-rec): Renamed from `ert--explain-not-equal'.
      All callers changed.
      (ert--explain-equal-including-properties): Renamed from
      `ert--explain-not-equal-including-properties'.  All callers
      * automated/ert-tests.el (ert-test-explain-not-equal-keymaps):
      New test.
  14. 01 Mar, 2011 1 commit
  15. 20 Feb, 2011 1 commit
  16. 14 Feb, 2011 1 commit
  17. 09 Feb, 2011 1 commit
  18. 27 Jan, 2011 1 commit
  19. 26 Jan, 2011 1 commit
  20. 25 Jan, 2011 1 commit
  21. 15 Jan, 2011 1 commit
  22. 13 Jan, 2011 1 commit
  23. 12 Jan, 2011 1 commit
    • Christian Ohler's avatar
      Add ERT, a tool for automated testing in Emacs Lisp. · d221e780
      Christian Ohler authored
      * Makefile.in, configure.in, doc/misc/Makefile.in, doc/misc/makefile.w32-in:
      Add ERT.  Make "make check" run tests in test/automated.
      * doc/misc/ert.texi, lisp/emacs-lisp/ert.el, lisp/emacs-lisp/ert-x.el:
      New files.
      * test/automated: New directory.
  24. 02 Jan, 2011 1 commit
  25. 11 Nov, 2010 1 commit
    • Stefan Monnier's avatar
      * lisp/progmodes/modula2.el: Use SMIE and skeleton. · cbf83ce9
      Stefan Monnier authored
      (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.
  26. 27 Oct, 2010 1 commit
  27. 23 Oct, 2010 1 commit
  28. 20 Sep, 2010 1 commit
  29. 18 Sep, 2010 1 commit
  30. 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
      * 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-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-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-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
      * 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.
  31. 30 Aug, 2010 1 commit
    • Stefan Monnier's avatar
      Use SMIE for octave-mode. · e17b68ed
      Stefan Monnier authored
      * test/indent/octave.m: New file.
      * lisp/progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
      (octave-mode-map): Remove special bindings for forward/backward-block
      and octave-backward-up-block.  Use smie-close-block.
      (octave-continuation-marker-regexp): New var.
      (octave-continuation-regexp): Use it.
      (octave-operator-table, octave-smie-op-levels)
      (octave-operator-regexp, octave-smie-indent-rules): New vars.
      (octave-smie-backward-token, octave-smie-forward-token): New funs.
      (octave-mode): Use SMIE.
      (octave-close-block): Delete.
  32. 08 Aug, 2010 1 commit
    • Ulf Jasper's avatar
      Fixed bug#6766 (icalendar.el) · 81ee9410
      Ulf Jasper authored
      	* calendar/icalendar.el (icalendar-uid-format): Doc fix.
      	(icalendar--split-value): Fixed splitting regexp. (Bug#6766)
      	(icalendar--get-weekday-numbers): New
      	(icalendar--create-uid, icalendar-export-region)
      	(icalendar--parse-summary-and-rest): Code formatting.
      	(icalendar--convert-recurring-to-diary): Handle multiple byday
      	values in weekly rules. (Bug#6766)
      	* icalendar-testsuite.el (icalendar-testsuite-run): Added internal tests.
      	(icalendar-testsuite--trim, icalendar-testsuite--compare-strings)
      	(icalendar-testsuite--run-internal-tests): New.
      	(icalendar-testsuite--do-test-export): Code formatting.
      	(icalendar-testsuite--test-parse-vtimezone): Doc fix.
      	(icalendar-testsuite--do-test-cycle): Use icalendar-testsuite--compare-strings
      	(icalendar-testsuite--run-import-tests): Comment added.
      	(icalendar-testsuite--run-real-world-tests): Fixed expected results.
  33. 25 Jun, 2010 1 commit
  34. 11 Jun, 2010 1 commit
  35. 02 Jun, 2010 1 commit
  36. 08 May, 2010 1 commit
  37. 30 Mar, 2010 1 commit
    • Juri Linkov's avatar
      Make occur handle multi-line matches cleanly with context. · dc2d2590
      Juri Linkov authored
      * replace.el (occur-accumulate-lines): Add optional arg `pt'.
      (occur-engine): Add local variables `ret', `prev-after-lines',
      `prev-lines'.  Use more arguments for `occur-context-lines'.
      Set first elem of its returned list to `data', and the second elem
      to `prev-after-lines'.  Don't print the separator line.
      In the end, print remaining context after-lines.
      (occur-context-lines): Add new arguments `begpt', `endpt',
      `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
      after-lines of the previous match with before-lines of the
      current match and not overlap them.  Return a list with two
      values: the output line and the list of context after-lines.
      * search.texi (Other Repeating Search): Remove line that `occur'
      can not handle multiline matches.
      * occur-testsuite.el (occur-tests): Add tests for context lines.