lisp/ChangeLog: Update.
[bpt/emacs.git] / lisp / ChangeLog
index 5e763ca..d7e1686 100644 (file)
@@ -1,3 +1,135 @@
+2008-02-21  Michael Olson  <mwolson@gnu.org>
+
+       * net/json.el: Install new file by Edward O'Connor.  json.el is a
+       JavaScript Object Notation parser / generator.  Replace XEmacs
+       compatibility code to get rid of compiler warnings.
+
+       * time.el: Fix compiler warning.
+
+2008-02-21  Dave Love  <fx@gnu.org>
+
+       * progmodes/sym-comp.el: New file.
+
+       * progmodes/python.el: Merge from Dave Love's 2008-01-20 version.
+       Require sym-comp.  Add Python buffer to same-window-buffer-names.
+       Fixup whitespaces.
+       (python-font-lock-keywords): Add highlighting for Python builtins.
+       (python-font-lock-syntactic-keywords): Rewrite.
+       (python-quote-syntax): Use syntax-ppss-context instead of parsing
+       ppss directly.
+       (python-mode-map): Add binding for python-find-function.
+       (python-calculate-indentation): Clean up the logic.
+       (python-beginning-of-defun): Explicitly set return value.
+       (python-beginning-of-statement): Stop looping if we get stuck
+       going backwards.
+       (python-next-statement): Stop looping if we somehow end up inside
+       a string while advancing.
+       (python-preoutput-continuation, python-version-checked): New vars.
+       (python-check-version): New function.
+       (run-python): Set default command to python-command instead of
+       python-python-command.
+       (run-python): Use python-check-version.  Give PYTHONPATH
+       precedence over data-directory in the process environment.  Load
+       function definitions in python process after.
+       (python-check-comint-prompt): New function.
+       (python-send-command, python-send-receive): Use it.
+       (python-complete-symbol, python-try-complete): Functions deleted.
+       Use symbol-complete instead of python-complete-symbol throughout.
+       (python-fill-paragraph): Further refine the fenced-string regexp.
+       (def-python-skeleton): Expand to the original abbrev instead if in
+       a comment or string.  Tweak skeletons for `if', `while', `for',
+       `try/except', `try/finally', `name'.
+       (python-pea-hook, python-abbrev-pc-hook): New functions.
+       (python-abbrev-syntax-table): New var.
+       (python-mode): Add python-pea-hook to pre-abbrev-expand-hook.  Use
+       symbol-completion-try-complete for hippie expansion.  Turn on font
+       lock unconditionally.
+       (python-mode-hook): Defcustom it.  No need to use make-local
+       variable on indent-tabs-mode in "Turn off Indent Tabs mode"
+       option, since it's buffer-local.
+
+2008-02-21  Juanma Barranquero  <lekktu@gmail.com>
+
+       * play/hanoi.el (hanoi-internal): Set `show-trailing-whitespace' to nil.
+
+2008-02-21  Drew Adams  <drew.adams@oracle.com>
+
+       * mouse.el (minor-mode-menu-from-indicator): Create a menu with a
+       "Turn off" and a "Help" entry when the minor mode has no menu.
+
+2008-02-21  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * vc.el (vc-status-mark, vc-status-unmark): New functions.
+       (vc-status-mode-map, vc-status-mode-menu): Bind them instead of
+       vc-status-mark-file and vc-status-unmark-file.
+       (vc-status-mark-unmark): New function.
+       (vc-status-previous-line, vc-status-next-line): No longer interactive.
+
+2008-02-21  Glenn Morris  <rgm@gnu.org>
+
+       * composite.el (encode-composition-rule): Fix typo in error message.
+       (composition-function-table, auto-composition-mode): Doc fixes.
+
+       * subr.el (sit-for): Fix obsolete form for nil second argument.
+
+       * textmodes/spell.el (spell-buffer, spell-word, spell-region)
+       (spell-string): Make obsolete, in favor of ispell.
+
+2008-02-21  Kenichi Handa  <handa@ni.aist.go.jp>
+
+       * composite.el (compose-chars-after): Fix arguments for a function
+       in composition-function-table.
+       (auto-compose-region): Likewise.
+
+       * ps-mule.el (ps-mule-font-info-database-bdf): Use ethio16f-uni.bdf
+       for Ethiopic.
+       (ps-mule-plot-string): Ignore glyph-string based compositions.
+
+2008-02-21  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * doc-view.el: Allow different windows to show different pages.
+       (doc-view-current-page, doc-view-current-slice, doc-view-current-info)
+       (doc-view-current-image, doc-view-current-overlay): Remove variables,
+       add them back as macros instead, using image-mode-winprops instead.
+       Update all users of those variables.
+       (doc-view-new-window-function): New function to create a new overlay
+       for each new window.
+       (doc-view-mode): Use it and image-mode-setup-winprops.
+       (doc-view-clone-buffer-hook): Rewrite accordingly.
+
+       * image-mode.el: Extend [hv]scroll support to per-window properties.
+       (image-mode-current-vscroll, image-mode-current-hscroll): Remove.
+       (image-mode-winprops-alist): New var to replace them.
+       (image-mode-new-window-functions): New hook.
+       (image-mode-winprops, image-mode-window-get, image-mode-window-put):
+       New funs.
+       (image-set-window-vscroll, image-set-window-hscroll): Use them.
+       Remove the `window' argument, update callers.
+       (image-mode-reapply-winprops): Rename image-reset-current-vhscroll.
+       Use the new functions.
+       (image-mode-reapply-winprops): New fun.
+       (image-mode): Use it.
+
+2008-02-20  Jay Belanger  <jay.p.belanger@gmail.com>
+
+       * calc/calc-math.el (math-sin-raw): Add optional argument
+       to keep track of original argument.
+       (math-cos-raw): Use optional argument when calling math-sin-raw.
+       (math-sin-raw-2, math-cos-raw-2): Check for a zero argument
+       with close to original precision.
+
+2008-02-20  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
+
+       * textmodes/bibtex.el (bibtex-convert-alien): Do not use optional
+       args in calls of sit-for.
+
+2008-02-20  Juanma Barranquero  <lekktu@gmail.com>
+
+       * vc-svn.el (vc-svn-program): Fix typo in docstring.
+       (vc-svn-checkin): Fix typo in error message.
+
+       * help-mode.el: Require easymenu when compiling.
+
 2008-02-20  Dan Nicolaescu  <dann@ics.uci.edu>
 
        * help-mode.el (help-mode-menu): New menu.
 
 2008-02-20  Kenichi Handa  <handa@ni.aist.go.jp>
 
+       * ps-mule.el (ps-mule-encode-region): Return a single string.
+       (ps-mule-plot-string): Adjust for the above change.
+       (ps-mule-encode-header-string): Likewise.
+
        * international/latin1-disp.el (latin1-display): Don't use
-       ucs-mule-8859-to-mule-unicode.  Fix the way of resettting
+       ucs-mule-8859-to-mule-unicode.  Fix the way of resetting
        standard-display-table.
-       (latin1-display-identities): Adjusted for the change of what is
+       (latin1-display-identities): Adjust for the change of what is
        returned by (get-language-info charset 'charset).
 
        * international/mule-util.el (char-displayable-p): Fix for Latin-1
        characters and terminal case.
 
-2008-02-19    Ken Manheimer  <ken.manheimer@gmail.com>
-       Minor Adaptions by Nick Roberts  <nickrob@snap.net.nz> for Emacs.
+2008-02-19  Ken Manheimer  <ken.manheimer@gmail.com>
+
+       Minor Adaptions by Nick Roberts <nickrob@snap.net.nz> for Emacs.
 
        * progmodes/python.el: Also require comint when loading.
-       (python-mode-map): Bind python-pdbtrack-toggle-stack-tracking,
-       Replace python-shell with run-python on menu bar,
+       (python-mode-map): Bind python-pdbtrack-toggle-stack-tracking.
+       Replace python-shell with run-python on menu bar.
        (python-shell-map): New map.
        (python-default-interpreter, python-python-command-args)
        (python-jython-command-args, python-pdbtrack-do-tracking-p):
        (python-which-shell, python-which-args, python-which-bufname):
        New buffer local variables.
        (python-file-queue, python-pdbtrack-is-tracking-p):
+
        * progmodes/python.el (python-pdbtrack-stack-entry-regexp)
        (python-pdbtrack-input-prompt, python-pdbtrack-track-range):
        New constants.
 
        * vc-hooks.el (vc-find-root): Take optional arg INVERT.
        If non-nil, reverse the sense of the check.
+
        * vc-rcs.el (vc-rcs-root): New func.
        * vc-cvs.el (vc-cvs-root): New func.
        * vc-svn.el (vc-svn-root): New func.
        * language/japanese.el ("Japanese"): Set exit-function to
        use-default-char-width-table.
 
-       * international/characters.el: Delete occurances of non-Unicode
+       * international/characters.el: Delete occurrences of non-Unicode
        tibetan and ethiopic characters.
        (cjk-char-width-table): New variable.
-       (use-cjk-char-width-table, use-default-char-width-table): New
-       functions.
+       (use-cjk-char-width-table, use-default-char-width-table):
+       New functions.
 
 2008-02-19  Dan Nicolaescu  <dann@ics.uci.edu>
 
 
 2008-02-11 Drew Adams  <drew.adams@oracle.com>
 
-       * isearch.el:
-       (isearch-fail): New face.
        * isearch.el (isearch-fail): New face.
        (isearch-message): Highlight failure part of input.
 
        category `|'.
 
        * descr-text.el (describe-char): Make it work on *Help* buffer.
-       Suppress auto-compostion on a region describing about composition.
+       Suppress auto-composition on a region describing about composition.
 
        * language/european.el (diacritic-compose-region)
        (diacritic-compose-string, diacritic-composition-function):