1. 03 Oct, 2010 1 commit
    • Glenn Morris's avatar
      * lisp/subr.el (make-local-hook): Remove function obsolete since 21.1. · 922ad43e
      Glenn Morris authored
      * lisp/progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
      (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
      * lisp/progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
      (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
      * lisp/gnu/gnus-util.el (gnus-make-local-hook): Simplify.
      * etc/NEWS: Mention above change.
  2. 25 Sep, 2010 2 commits
    • Ulrich Mueller's avatar
      Add more xz compression support. · 4c964351
      Ulrich Mueller authored
      * doc/man/etags.1: xz compression is now supported.
      * doc/misc/woman.texi (Interface Options): xz compression is now supported.
      * lib-src/etags.c (compressors, print_language_names): Support xz compression.
      * lisp/eshell/em-ls.el (eshell-ls-archive-regexp):
      * lisp/eshell/esh-util.el (eshell-tar-regexp):
      * lisp/ibuffer.el (ibuffer-compressed-file-name-regexp):
      * lisp/info.el (Info-suffix-list):
      * lisp/international/mule.el (auto-coding-alist):
      * lisp/woman.el (woman-file-regexp, woman-file-compression-regexp):
      * lisp/progmodes/etags.el (tags-compression-info-list):
      Support xz compression.
    • Juanma Barranquero's avatar
      Fix typos. · 40b1a3a9
      Juanma Barranquero authored
      * lisp/finder.el (finder-unknown-keywords):
      * lisp/progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
      * lisp/progmodes/etags.el (tags-table-including): Fix typos in docstrings.
      * lisp/cedet/semantic/lex.el (semantic-ignore-comments): Doc fix.
      * lisp/cedet/semantic/symref/list.el (semantic-symref-list-rename-open-hits):
        Fix typo in error message.
        (semantic-symref-list-map-open-hits): Fix typo in docstring.
      * lisp/org/org-agenda.el (org-agenda-hide-tags-regexp):
      * lisp/org/org.el (org-refile-targets): Fix typos in docstrings.
  3. 24 Sep, 2010 1 commit
    • Glenn Morris's avatar
      Move some autoloaded auto-mode-alist entries to files.el. · 5e339ee2
      Glenn Morris authored
      * image-mode.el, progmodes/compile.el, progmodes/gud.el:
      * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
      * textmodes/css-mode.el, textmodes/dns-mode.el:
      Move autoloaded auto-mode-alist entries to files.el.
      * files.el (auto-mode-alist): Move entries here.
  4. 23 Sep, 2010 1 commit
  5. 20 Sep, 2010 2 commits
  6. 19 Sep, 2010 1 commit
    • Michael Mauger's avatar
      SQL Mode, Version 2.8 - sql-list-all and sql-list-table functions. · 74790210
      Michael Mauger authored
      	* progmodes/sql.el: Version 2.8
      	(sql-login-params): Updated widget structure; changes still
      	(sql-product-alist): Add :list-all and :list-table features for
      	SQLite, Postgres and MySQL products.
      	(sql-redirect): Handle default value.
      	(sql-execute, sql-execute-feature): New functions.
      	(sql-read-table-name): New function.
      	(sql-list-all, sql-list-table): New functions. User API
      	(sql-mode-map, sql-interactive-mode-map): Add key definitions
      	for above functions.
      	(sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
      	for above functions.
      	(sql-postgres-login-params): Add user and database defaults.
      	(sql-buffer-live-p): Bug fix.
      	(sql-product-history); New variable.
      	(sql-read-product): New function. Use it.
      	(sql-set-product, sql-product-interactive): Use it.
      	(sql-connection-history): New variable.
      	(sql-read-connection): New function. Use it.
      	(sql-connect): New function.
      	(sql-for-each-login): Redesign function interface.
      	(sql-make-alternate-buffer-name, sql-save-connection): Use it.
      	(sql-get-login-ext, sql-get-login): Use it. Handle default values.
      	(sql-comint): Check for program. Existing live buffer.
      	(sql-comint-postgres): Add port parameter.
  7. 18 Sep, 2010 1 commit
    • Stefan Monnier's avatar
      Fix and improve last syntax-propertize patch · b879a6e2
      Stefan Monnier authored
      * lisp/emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
      (syntax-propertize-rules): Add var-ref case.  Fix offset computation
      when adding surrounding \(..\).
      * lisp/progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
      (fortran-make-syntax-propertize-function): New function; replaces
      (fortran-mode): Use it.
      (fortran-line-length): Use it.  Improve interactive spec.
      * lisp/progmodes/js.el (js-mode): Fix last change (bug#7054).
      * lisp/textmodes/tex-mode.el (tex-syntax-propertize-rules)
      (latex-syntax-propertize-rules): New consts; replace
      (tex-env-mark, latex-env-before-change): New functions.
      (latex-electric-env-pair-mode): New minor mode.
      (tex-font-lock-verb): Change arguments; do move point.
      (tex-font-lock-syntactic-face-function): Adjust to new verbatim
      representation as a form of comment.
      (tex-font-lock-keywords-1): Remove workaround, now unneeded.
      (doctex-syntax-propertize-rules): New const; replaces
      (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
  8. 15 Sep, 2010 2 commits
  9. 13 Sep, 2010 1 commit
    • Michael Mauger's avatar
      SQL Mode 2.7: Code cleanup and primatives for SQL redirection · a386ac70
      Michael Mauger authored
      	* progmodes/sql.el: Version 2.7.
      	(sql-buffer-live-p): Improve detection.
      	(sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
      	(sql-set-sqli-buffer): Use it.
      	(sql-product-interactive): Run `sql-set-sqli-hook'.
      	(sql-rename-buffer): Code cleanup.
      	(sql-redirect, sql-redirect-value): New functions.  More to come.
  10. 11 Sep, 2010 1 commit
    • Michael Mauger's avatar
      SQL Mode, Version 2.6 · 9250002f
      Michael Mauger authored
      	* progmodes/sql.el: Version 2.6
      	(sql-dialect): Synonym for "sql-product".
      	(sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
      	(sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
      	Set "sql-buffer" to buffer name not buffer object so multiple sql
      	interactive buffers work properly.  Reverts misguided changes in
      	earlier work.
      	(sql-comint): Make sure different buffer name is used if "*SQL*"
      	buffer is for a different product.
      	(sql-make-alternate-buffer-name): Fix bug with "sql-database"
      	login param.
      	(sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
      	(sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
      	(sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
      	Accept new buffer name or prompt for one.
      	(sql-port): Default to zero.
      	(sql-comint-mysql): Handle "sql-port" as a numeric.
      	(sql-port-history): Delete unused variable.
      	(sql-get-login): Default "sql-port" to a number.
      	(sql-product-alist): Correct Postgres prompt and terminator
      	(sql-sqlite-program): Dynamically detect presence of "sqlite" or
      	"sqlite3" executables.
      	(sql-sqlite-login-params): Add "*.sqlite[23]?" database name
      	(sql-buffer-live-p): New function.
      	(sql-mode-menu, sql-send-string): Use it.
      	(sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
      	syntax pattern.
      	(sql-mode-postgres-font-lock-keywords): Support Postgres V9.
      	(sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
  11. 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.
  12. 08 Sep, 2010 3 commits
    • 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.
      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.
    • Stefan Monnier's avatar
      * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist): · 331b2b90
      Stefan Monnier authored
      Not a const.
      (compilation-error-regexp-alist-alist): Rule out ": " in file names
      for the `gnu' messages.
      (compilation-set-skip-threshold): New command.
      (compilation-start): Use \' rather than $.
      (compilation-forget-errors): Use clrhash.
    • Masatake YAMATO's avatar
      Close bug#6976. · 33bd47be
      Masatake YAMATO authored
      * lisp/progmodes/antlr-mode.el (antlr-font-lock-additional-keywords): Fix typo.
  13. 04 Sep, 2010 1 commit
    • Chong Yidong's avatar
      Fix Ruby compilation error matching. · 13ef65a4
      Chong Yidong authored
      * progmodes/compile.el (compilation-error-regexp-alist-alist):
      Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
      Recognize leading tab in gcc-include regexp.  Ignore names with
      leading "from" or "in" in gnu regexp (Bug#6937).
  14. 03 Sep, 2010 1 commit
    • Stefan Monnier's avatar
      Use SMIE's blink-paren for octave-mode. · 89acf735
      Stefan Monnier authored
      * lisp/progmodes/octave-mod.el (octave-font-lock-close-quotes):
      Backslashes do not escape single-quotes, single-quotes do.
      (octave-block-else-regexp, octave-block-end-regexp)
      (octave-block-match-alist): Remove.
      (octave-smie-bnf-table): New var, with old content.
      (octave-smie-op-levels): Use it.
      (octave-smie-closer-alist): New var.
      (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
      (octave-blink-matching-block-open): Remove.
      (octave-reindent-then-newline-and-indent, octave-electric-semi)
      (octave-electric-space): Let self-insert-command run expand-abbrev and
      blink parens.
  15. 31 Aug, 2010 1 commit
    • Stefan Monnier's avatar
      Remove old indentation and navigation code on octave-mode. · ec5d3ff7
      Stefan Monnier authored
      * lisp/progmodes/octave-mod.el (octave-mode-map): Remap down-list to
      smie-down-list rather than add a binding for octave-down-block.
      (octave-mark-block, octave-blink-matching-block-open):
      Rely on forward-sexp-function.
      (octave-fill-paragraph): Don't narrow, so you can use
      (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
      (octave-in-block-p, octave-re-search-forward-kw)
      (octave-re-search-backward-kw, octave-indent-calculate)
      (octave-end-as-array-index-p, octave-block-end-offset)
      (octave-scan-blocks, octave-forward-block, octave-backward-block)
      (octave-down-block, octave-backward-up-block, octave-up-block)
      (octave-before-magic-comment-p, octave-indent-line): Remove.
  16. 30 Aug, 2010 2 commits
    • 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.
    • Stefan Monnier's avatar
      Use `declare' in defmacros. · f291fe60
      Stefan Monnier authored
      * lisp/window.el (save-selected-window):
      * lisp/subr.el (with-temp-file, with-temp-message, with-syntax-table):
      * lisp/progmodes/python.el (def-python-skeleton):
      * lisp/net/dbus.el (dbus-ignore-errors):
      * lisp/jka-cmpr-hook.el (with-auto-compression-mode):
      * lisp/international/mule.el (with-category-table):
      * lisp/emacs-lisp/timer.el (with-timeout):
      * lisp/emacs-lisp/lisp-mnt.el (lm-with-file):
      * lisp/emacs-lisp/eieio.el (with-slots):
      * lisp/emacs-lisp/easymenu.el (easy-menu-define):
      * lisp/emacs-lisp/debug.el (debugger-env-macro):
      * lisp/emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
      (Multiple-value-call, Multiple-value-prog1):
      * lisp/emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
      (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
      edebug rule to definition.
      * lisp/emacs-lisp/lisp-mode.el (save-selected-window)
      (with-current-buffer, combine-after-change-calls)
      (with-output-to-string, with-temp-file, with-temp-buffer)
      (with-temp-message, with-syntax-table, read-if, eval-after-load)
      (dolist, dotimes, when, unless):
      * lisp/emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
  17. 29 Aug, 2010 2 commits
  18. 26 Aug, 2010 2 commits
  19. 24 Aug, 2010 2 commits
    • Kevin Ryde's avatar
    • Chong Yidong's avatar
      * lisp/progmodes/python.el: Add Ipython support (Bug#5390). · edfd00fa
      Chong Yidong authored
      Based on a patch by Fabian Ezequiel Gallina.
      (python-shell-continuation-prompt-alist): New options.
      (python--set-prompt-regexp): New function.
      (inferior-python-mode, run-python, python-shell): Require
      ansi-color.  Use python--set-prompt-regexp to set the comint
      prompt based on the Python interpreter.
      (python--prompt-regexp): New var.
      (python-comint-output-filter-function): Use it.
      (run-python): Use a pipe (Bug#5694).
      (python-send-region): Send a different Python command if Ipython is in use.
      (python-check-version): Use a Python command to find the version.
  20. 23 Aug, 2010 1 commit
  21. 21 Aug, 2010 1 commit
  22. 18 Aug, 2010 3 commits
  23. 17 Aug, 2010 2 commits
    • Stefan Monnier's avatar
      Font-lock '...' strings, plus various simplifications and fixes. · ff80a446
      Stefan Monnier authored
      * lisp/progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
      (octave-font-lock-close-quotes): New function.
      (octave-font-lock-syntactic-keywords): New var.
      (octave-mode): Use it.  Set beginning-of-defun-function.
      (octave-mode-map): Don't override the <foo>-defun commands.
      (octave-mode-menu): Pass it directly to easy-menu-define;
      remove (now generic) <foo>-defun commands; use info-lookup-symbol.
      (octave-block-match-alist): Fix up last change so that
      octave-close-block uses the more specific keyword.
      (info-lookup-mode): Silence byte-compiler.
      (octave-beginning-of-defun): Not interactive any more.
      Optimize slightly.
      (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
      (octave-indent-defun, octave-send-defun): Use mark-defun instead.
      (octave-completion-at-point-function): Make sure point is within
      Use reindent-then-newline-and-indent.
      (octave-add-octave-menu): Remove.
    • Glenn Morris's avatar
      Silence some cc-mode compiler warnings. · f3b554af
      Glenn Morris authored
      * lisp/progmodes/cc-engine.el (c-new-BEG, c-new-END)
      (c-fontify-recorded-types-and-refs): Define for compiler.
      * lisp/progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
      before use.
  24. 15 Aug, 2010 1 commit
  25. 14 Aug, 2010 1 commit
  26. 12 Aug, 2010 3 commits
    • Stefan Monnier's avatar
      Introduce a new comment style "c" flag. · c5683ceb
      Stefan Monnier authored
      * src/syntax.c (SYNTAX_FLAGS_COMMENT_STYLEB)
      (SYNTAX_FLAGS_COMMENT_STYLE): Use them, add an argument.
      (syntax_prefix_flag_p): New function.
      (Fstring_to_syntax): Understand new "c" flag.
      (Finternal_describe_syntax_value): Recognize new flag; use the
      SYNTAX_FLAGS_* macros.
      (scan_sexps_forward, Fparse_partial_sexp): Change representation of
      comment style to accomodate the new styles.
      (back_comment, forw_comment, Fforward_comment, scan_lists)
      (scan_sexps_forward): Update code to obey the new comment style flag.
      * src/syntax.h: Move SYNTAX_FLAGS_FOO() macros to syntax.c.
      * src/casefiddle.c (casify_region): Use the new syntax_prefix_flag_p.
      * lisp/progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
      comment style.
      * lisp/progmodes/scheme.el (scheme-mode-syntax-table):
      * lisp/emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
      "b" flag in "14b" syntax.
      Fixes: debbugs:6834
    • Stefan Monnier's avatar
      Fix last change. · 7e82caa7
      Stefan Monnier authored
      * lisp/progmodes/octave-mod.el (octave-mode-syntax-table):
      Better describe the problem.
      (octave-fill-paragraph): Also update caller.
      (octave-completion-at-point-function): Fix up typo.
    • Stefan Monnier's avatar
      Misc code cleanup of octave-mode.el. · c82d5b11
      Stefan Monnier authored
      * lisp/progmodes/octave-mod.el (octave-mode-map): Remove special bindings
      for (un)commenting the region and performing completion.
      (octave-mode-menu): Use standard commands for help and completion.
      (octave-mode-syntax-table): Support %{..%} comments (sort of).
      (octave-mode): Use define-derived-mode.
      Set completion-at-point-functions and don't set columns.
      Don't disable adaptive-fill-regexp.
      (octave-describe-major-mode, octave-comment-region)
      (octave-uncomment-region, octave-comment-indent)
      (octave-indent-for-comment): Remove.
      (octave-indent-calculate): Rename from calculate-octave-indent.
      (octave-indent-line): Update caller.
      (octave-initialize-completions): No need to make an alist.
      (octave-completion-at-point-function): New function.
      (octave-complete-symbol): Use it.
      (octave-insert-defun): Use define-skeleton.