1. 30 Aug, 2010 5 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.
    • Eli Zaretskii's avatar
      Fix bug #6944. · 42b6a73b
      Eli Zaretskii authored
       menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
       CLIPBOARD, not in PRIMARY.
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take · ee992a8c
      Stefan Monnier authored
      a list of parents.
      (smie-indent-column): Allow indirection through variables.
    • 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.
    • 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.
  2. 29 Aug, 2010 2 commits
    • Chong Yidong's avatar
      Merge Finder and package-menu functionality. · 96ae4c8f
      Chong Yidong authored
      * lisp/finder.el: Require `package'.
      (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
      (finder-package-info): Var deleted.
      (finder-keywords-hash, finder--builtins-alist): New vars.
      (finder-compile-keywords): Compute package--builtins and
      finder-keywords-hash instead of finder-keywords-hash, respecting
      the "Package" header.
      (finder-unknown-keywords, finder-list-matches): Use
      finder-keywords-hash and package--list-packages.
      (finder-mode): Don't set font-lock-defaults.
      (finder-exit): We don't use "*Finder-package*" and "*Finder
      Category*" buffers anymore.
      * lisp/info.el (Info-finder-find-node): Search package-alist instead of
      * lisp/emacs-lisp/package.el (package--builtins-base): Var deleted.
      (package--builtins): Set default value to nil.
      (package-initialize): Load precomputed value of package--builtins
      from finder-inf.el.
      (package-alist, package-compute-transaction)
      (package-download-transaction): Improve docstring.
      (package-read-all-archive-contents): Do not change
      package--builtins here.
      (list-packages): Make package-list-packages an alias for this.
      Sort by status by default.
      (package--list-packages): Add optional PACKAGES arg.
      (describe-package-1): Use font-lock-face property.  For built-in
      packages, insert file commentary.
      (package--generate-package-list): Rename from
      package-list-packages-internal; all callers changed.  Add optional
      PACKAGES arg.  Add alphabetical sort fallbacks.
      (package-menu--version-predicate, package-menu--status-predicate)
      (package-menu--name-predicate): New functions.
    • Chong Yidong's avatar
      Let version-to-list handle versions like "10.3d". · e2046ecf
      Chong Yidong authored
      * lisp/subr.el (version-regexp-alist): Don't use "a" and "b" for
      "alpha" and "beta".
      (version-to-list): Handle versions like "10.3d".
  3. 28 Aug, 2010 1 commit
  4. 27 Aug, 2010 1 commit
  5. 26 Aug, 2010 5 commits
  6. 25 Aug, 2010 3 commits
  7. 24 Aug, 2010 5 commits
  8. 23 Aug, 2010 2 commits
  9. 22 Aug, 2010 4 commits
    • Juri Linkov's avatar
      Move reading an extended command to Elisp (bug#5364, bug#5214). · 7133b7ee
      Juri Linkov authored
      * lisp/simple.el (read-extended-command): New function with the logic
      for `completing-read' moved to Elisp from `execute-extended-command'.
      Use `function-called-at-point' in `minibuffer-default-add-function'
      to get a command name for M-n (bug#5364, bug#5214).
      * src/keyboard.c (Fexecute_extended_command): Move reading a command name
      with `completing-read' to a new Elisp function `read-extended-command'.
      Call it to read a command to `function'  (bug#5364, bug#5214).
    • Chong Yidong's avatar
      Make obsolete --unibyte argument do nothing (Bug#6886). · 198a7a97
      Chong Yidong authored
      * src/emacs.c (main): Remove --unibyte handling (Bug#6886).
      * lisp/startup.el (command-line-1): Issue warning for ignored arguments
      --unibyte, etc (Bug#6886).
      * doc/lispref/nonascii.texi (Text Representations):
      * doc/lispref/loading.texi (Loading Non-ASCII):
      * doc/lispref/compile.texi (Byte Compilation): Don't mention obsolete
      --unibyte command-line argument.
    • Chong Yidong's avatar
      Doc fix for define-minor-mode (Bug#6880). · bc7d7ea6
      Chong Yidong authored
      * doc/lispref/modes.texi (Defining Minor Modes): Doc fix (Bug#6880).
      * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
    • Chong Yidong's avatar
      merge whitespace.el change from trunk · 41a20de9
      Chong Yidong authored
  10. 21 Aug, 2010 10 commits
  11. 20 Aug, 2010 2 commits