* lisp/textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
[bpt/emacs.git] / lisp / ChangeLog
index 1612fbe..130bc61 100644 (file)
@@ -1,3 +1,504 @@
+2010-12-11  Glenn Morris  <rgm@gnu.org>
+
+       * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
+
+2010-12-11  Karel Klíč  <kklic@redhat.com>
+
+       * files.el (auto-mode-alist): Use html-mode for *.xhtml.  (Bug#7606)
+
+2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       Derive from prog-mode, use derived-mode-p, and fix up various
+       minor style issues in lisp/progmodes.
+
+       * progmodes/vhdl-mode.el (vhdl-mode):
+       * progmodes/verilog-mode.el (verilog-mode):
+       * progmodes/vera-mode.el (vera-mode):
+       * progmodes/sql.el (sql-mode):
+       * progmodes/scheme.el (scheme-mode):
+       * progmodes/perl-mode.el (perl-mode):
+       * progmodes/octave-inf.el (inferior-octave-mode):
+       * progmodes/autoconf.el (autoconf-mode):
+       * progmodes/m4-mode.el (m4-mode):
+       * progmodes/inf-lisp.el (inferior-lisp-mode):
+       * progmodes/idlwave.el (idlwave-mode):
+       * progmodes/icon.el (icon-mode):
+       * progmodes/idlw-help.el (idlwave-help-mode):
+       * progmodes/dcl-mode.el (dcl-mode):
+       * progmodes/idlw-shell.el (idlwave-shell-mode):
+       * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
+       (ebrowse-member-mode, ebrowse-electric-position-mode):
+       Use define-derived-mode.
+
+       * progmodes/xscheme.el (exit-scheme-interaction-mode)
+       (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
+       (xscheme-debugger-mode-p, xscheme-send-string-1):
+       * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
+       (tcl-load-file, tcl-restart-with-file):
+       * progmodes/ps-mode.el (ps-run-running):
+       * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
+       * progmodes/js.el (js--get-all-known-symbols):
+       * progmodes/inf-lisp.el (inferior-lisp-proc):
+       * progmodes/idlwave.el (idlwave-beginning-of-statement)
+       (idlwave-template, idlwave-update-buffer-routine-info)
+       (idlwave-update-current-buffer-info)
+       (idlwave-get-routine-info-from-buffers, idlwave-choose)
+       (idlwave-scan-class-info, idlwave-fix-keywords)
+       (idlwave-list-buffer-load-path-shadows):
+       * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
+       (idlwave-toolbar-remove):
+       * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
+       (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
+       (idlwave-shell-menu-def):
+       * progmodes/idlw-complete-structtag.el
+       (idlwave-prepare-structure-tag-completion):
+       * progmodes/gud.el (gud-set-buffer):
+       * progmodes/f90.el (f90-backslash-not-special):
+       * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
+
+       * progmodes/xscheme.el (xscheme-start)
+       (local-set-scheme-interaction-buffer, scheme-interaction-mode):
+       * progmodes/which-func.el (which-function):
+       * progmodes/vhdl-mode.el (vhdl-set-style):
+       * progmodes/verilog-mode.el (verilog-set-compile-command)
+       (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
+       (verilog-set-define, verilog-auto-reeval-locals):
+       * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
+       * progmodes/simula.el (simula-mode):
+       * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
+       * progmodes/python.el (python-check, python-mode):
+       * progmodes/prolog.el (prolog-mode-variables):
+       * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
+       * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
+       * progmodes/delphi.el (delphi-mode):
+       * progmodes/cc-styles.el (c-setup-paragraph-variables):
+       * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
+       (c-font-lock-init): Move make-local-variable to their setq.
+
+       * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
+       (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
+       make-local-hook.
+       * progmodes/sh-script.el (sh-require-final-newline): Remove.
+       (sh-set-shell): Don't set require-final-newline since it's already done
+       by prog-mode.
+       * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
+       since we never set it.
+       * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
+       Use read-string and standard prompt.
+       * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
+       * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
+       (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
+       (meta-common-mode-map): Rename from meta-mode-map.
+       Remove C-m binding, which is a user preference, not mode specific.
+       (meta-common-mode): New major mode; replace meta-common-initialization.
+       * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
+       around with font-lock.
+       * progmodes/etags.el (select-tags-table-mode):
+       Derive from special-mode.
+       * progmodes/octave-mod.el (octave-mode):
+       * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
+       (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
+       (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
+       Let define-derived-mode do its job.
+       * progmodes/cpp.el (cpp-edit-mode-map):
+       Move initialization into declaration.
+       (cpp-edit-mode): Use define-derived-mode.
+       (cpp-edit-load): Use derived-mode-p.
+       * progmodes/mixal-mode.el (mixal-mode):
+       * progmodes/f90.el (f90-mode):
+       * progmodes/cfengine.el (cfengine-mode): Don't bother setting
+       require-final-newline since prog-mode does it already.
+       * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
+       * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
+       * progmodes/antlr-mode.el: Require cc-mode upfront.
+       (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
+       the declaration.
+       (antlr-directory-dependencies, antlr-show-makefile-rules):
+       Use derived-mode-p.
+       (antlr-language-option): Don't assume point-min==1.
+       (antlr-mode): Use define-derived-mode.
+       * progmodes/ada-mode.el: Use derived-mode-p.
+       (ada-mode): Use define-derived-mode.
+       Use hack-local-variables-hook.
+
+2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
+       (texinfo-mode): Don't disable adaptive-fill-mode.
+       (texinfo-insert-block): Adjust cursor placement for blocks with arg.
+       (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
+       (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
+       (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
+       (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
+       (texinfo-insert-@quotation, texinfo-insert-@samp)
+       (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
+       (texinfo-insert-@uref): Use define-skeleton.
+       (texinfo-insert-@-with-arg): Delete.
+
+2010-12-10  Eli Zaretskii  <eliz@gnu.org>
+
+       * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
+       nil, do quote archive member names.  (Bug#6144)
+
+2010-12-10  Glenn Morris  <rgm@gnu.org>
+
+       * files.el (diff-no-select): Declare.
+
+       * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
+       (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
+
+       * comint.el (comint-input-ring-file-name): Doc fix.
+
+2010-12-09  Eli Zaretskii  <eliz@gnu.org>
+
+       * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
+       New functions.
+       (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
+       Use them instead of `nil' and `>', respectively.
+       (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
+       instead of `nil'.
+       (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
+       and menu-bar-positive-p instead of `nil' and `>', respectively.
+       (Bug#1077)
+
+2010-12-09  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
+
+       * whitespace.el (whitespace-newline-mode): Code fix.
+
+2010-12-09  Glenn Morris  <rgm@gnu.org>
+
+       * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
+       Rename functions without commas, update callers.
+
+2010-12-08  Jeff Dairiki  <dairiki@dairiki.org>  (tiny change)
+
+       * whitespace.el (whitespace-cleanup-region):
+       Clean up spaces before tabs.  (Bug#7582)
+
+2010-12-08  Karl Fogel  <kfogel@red-bean.com>
+
+       * bookmark.el: Adjust parameter names and doc strings to resolve
+       confusion over whether "bookmark" meant a bookmark name or a
+       bookmark record.  Along the way, shorten one function's name for
+       similar reasons.  (Issue #7548)
+       (bookmark-name-from-record): New name for
+       `bookmark-name-from-full-record'.  All callers changed.
+       (bookmark-get-bookmark, bookmark-get-bookmark-record)
+       (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
+       (bookmark-get-annotation, bookmark-set-annotation)
+       (bookmark-get-filename, bookmark-set-filename)
+       (bookmark-get-position, bookmark-set-position)
+       (bookmark-get-front-context-string, bookmark-set-front-context-string)
+       (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
+       (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
+       (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
+       Rename `bookmark' parameter to `bookmark-name-or-record', to
+       clearly show its role, and shorten or adjust doc strings accordingly.
+       (bookmark-set-name): Same, and pass the parameter directly to
+       `bookmark-get-bookmark' instead of redundantly doing the callee's work.
+       (bookmark-default-annotation-text, bookmark-send-edited-annotation)
+       (bookmark-relocate, bookmark-insert-location, bookmark-insert)
+       (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
+       and in some cases shorten doc string accordingly.
+       (bookmark-rename): Change `old' and `new' parameters to `old-name'
+       and `new-name', and adjust an internal variable to avoid confusion.
+       (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
+       parameter in doc string.
+
+2010-12-08  Glenn Morris  <rgm@gnu.org>
+
+       * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
+       from gdb's history file.  (Bug#7575)
+
+       * mail/emacsbug.el (report-emacs-bug):
+       Try to handle some other mail clients.
+
+2010-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * files.el (dir-locals-collect-variables): Don't let errors stop us.
+       Use string-prefix-p.
+       (file-name-version-regexp): New var.
+       (file-name-sans-versions):
+       * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
+       (jka-compr-get-compression-info): Use dolist.
+       (jka-compr-compression-info-list): Don't bother specifying
+       version/backup regexps.
+
+2010-12-07  Tassilo Horn  <tassilo@member.fsf.org>
+
+       * simple.el (just-one-space): Make argument n default to 1 if
+       omitted.
+
+2010-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * electric.el (electric-indent-post-self-insert-function):
+       Delete trailing newlines even if we don't reindent.
+
+2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * minibuffer.el (completion-at-point): Remove the `arg'.
+       * bindings.el (complete-symbol): Move back from minibuffer.el.
+
+2010-12-06  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
+
+       * simple.el (just-one-space): Delete newlines for negative arg.
+
+2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
+       (ansi-color-filter-apply): Simplify.
+       (ansi-color-apply): Use `font-lock-face' rather than `face'.
+
+2010-12-05  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
+
+       * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
+
+2010-12-04  Chong Yidong  <cyd@stupidchicken.com>
+
+       * dired.el (dired-use-ls-dired): Set default to a special
+       "unspecified" value.
+       (dired-insert-directory): When called the first time, check
+       whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
+
+2010-12-04  Tak Ota  <Takaaki.Ota@am.sony.com>
+
+       * replace.el: Add "collect" feature to occur.
+       (occur-collect-regexp-history): New var.
+       (occur-read-primary-args): Return a replace string for nlines,
+       if needed.
+       (occur): Extend the meaning of nlines.
+
+2010-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * progmodes/which-func.el (which-func-ff-hook): Log the error message.
+       (which-func-update-1): Distinguish symbols from strings.
+       (which-function): Stay within 80 columns.
+
+2010-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * subr.el (with-demoted-errors): Distinguish symbols from strings.
+
+       * newcomment.el (comment-styles): Add docs to each style (bug#7509).
+       Improve docstring.
+       (comment-style): Use comment-styles's docs to describe values.
+
+2010-12-03  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
+       and ns-show-prefs (Bug#7535).
+
+       * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
+       bindings (Bug#7535).
+
+2010-12-03  Glenn Morris  <rgm@gnu.org>
+
+       * nxml/nxml-mode.el: Require rng-nxml.
+       (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
+       Remove declarations.
+
+       * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
+       * nxml/rng-nxml.el, nxml/rng-valid.el:
+       Remove leading `*' from defcustom docs.
+
+       * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
+       (normal-top-level-add-to-load-path, tty-handle-args):
+       Convert comments to basic doc-strings.
+
+       * net/browse-url.el (browse-url-url-at-point)
+       (browse-url-default-browser): Remove autoload cookies.
+
+       * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
+       Remove more undefined cl functions.
+
+       * vc/diff.el (diff-sentinel): Make new arguments optional.
+       * ibuf-ext.el (diff-sentinel): Update declaration.
+
+2010-12-03  Daiki Ueno  <ueno@unixuser.org>
+
+       * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
+       "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
+       (epg-context-set-passphrase-callback): Mention that the callback
+       is not called when used with GnuPG 2.x.
+
+2010-12-02  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
+       (tramp-file-name-port): Check also for `tramp-default-port'.
+       (tramp-get-connection-name): New defun.
+       (tramp-get-connection-process): Use it.
+       (tramp-debug-message): Extend function exclude list.
+       (tramp-drop-volume-letter): Fix doc string.
+
+       * net/tramp-cmds.el: Remove solved todo item.
+
+       * net/tramp-efs.el:
+       * net/tramp-ftp.el:
+       * net/tramp-gvfs.el:
+       * net/tramp-gw.el:
+       * net/tramp-imap.el:
+       * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
+       and `tramp-default-user-alist', respectively.
+
+       * net/tramp-gw.el (tramp-gw-open-connection):
+       Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
+
+       * net/tramp-imap.el (tramp-imap-make-iht): Use just
+       `tramp-file-name-port'.
+
+       * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
+       and "psftp".  Exchange "%k" marker with options.
+       (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
+       Compute size of link target.
+       (tramp-do-copy-or-rename-file-out-of-band). Move setting of
+       `tramp-current-*' up due to gateway methods.  Optimze computing of
+       copy arguments.  Use `tramp-get-connection-name' and
+       `tramp-get-connection-buffer'.  Improve debug messages.
+       (tramp-compute-multi-hops): Remove port determination.
+       (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
+
+       * net/trampver.el: Update release number.
+
+2010-12-02  Glenn Morris  <rgm@gnu.org>
+
+       * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
+       Avoid infinite loop over windows.  (Bug#7492)
+
+       * progmodes/flymake.el (flymake-check-file-limit):
+       Allow nil to mean "no limit".
+       (flymake-check-patch-master-file-buffer): Update for above change.
+       Allow a .tex file-name extension to be optional.
+       (flymake-master-tex-init): Also match \include statements.
+
+2010-11-30  Sam Steingold  <sds@gnu.org>
+
+       * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
+       (nxml-parent-document-set): A function to set `nxml-parent-document'.
+       (nxml-mode): Define using `define-derived-mode' instead of `defun'.
+       (nxml-mode-hook): Remove `defcustom' (auto-defined by
+       define-derived-mode').
+       * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
+       users who want to call `nxml-parent-document-set'.
+
+2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
+
+       * log-edit.el (log-edit-font-lock-keywords): Don't try matching
+       stand-alone lines, since that is handled by log-edit-match-to-eoh
+       (Bug#6465).
+
+2010-11-27  Eduard Wiebe  <usenet@pusto.de>
+
+       * dired.el (dired-get-filename): Replace backslashes with slashes
+       in file names on MS-Windows, needed by `locate'.  (Bug#7308)
+       * locate.el (locate-default-make-command-line): Don't consider
+       drive letter and root directory part of
+       `directory-listing-before-filename-regexp'.  (Bug#7308)
+       (locate-post-command-hook, locate-post-command-hook): New defcustoms.
+
+2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
+       of :smie-open/close-alist.
+       (smie-next-sexp): Make it accept a "start token" as argument.
+       (smie-indent-keyword): Be careful not to misidentify tokens that span
+       more than one line, as empty lines.  Add argument `token'.
+
+2010-11-27  Kenichi Handa  <handa@m17n.org>
+
+       * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
+       multipart subtypes, insert all as usual.
+
+       * mail/rmail.el: Require rfc2047.
+
+2010-11-27  Kenichi Handa  <handa@m17n.org>
+
+       * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
+       (rmail-mime-entity-disposition)
+       (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
+       (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
+       (rmail-mime-save): Handle the case that the button's `data' is a
+       MIME entity.
+       (rmail-mime-insert-text): New function.
+       (rmail-mime-insert-image): Handle the case that DATA is a MIME
+       entity.
+       (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
+       (rmail-mime-insert-bulk): New function mostly copied from the old
+       rmail-mime-bulk-handler.
+       (rmail-mime-multipart-handler): Just call
+       rmail-mime-process-multipart.
+       (rmail-mime-process-multipart): New funciton mostly copied from
+       the old rmail-mime-multipart-handler.
+       (rmail-mime-show): Just call rmail-mime-process.
+       (rmail-mime-process): New funciton mostly copied from the old
+       rmail-mime-show.
+       (rmail-mime-insert-multipart, rmail-mime-parse)
+       (rmail-mime-insert, rmail-show-mime)
+       (rmail-insert-mime-forwarded-message)
+       (rmail-insert-mime-resent-message): New functions.
+       (rmail-insert-mime-forwarded-message-function): Set to
+       rmail-insert-mime-forwarded-message.
+       (rmail-insert-mime-resent-message-function): Set to
+       rmail-insert-mime-resent-message.
+
+       * mail/rmailsum.el: Require rfc2047.
+       (rmail-header-summary): Handle multiline Subject: field.
+       (rmail-summary-line-decoder): Change the default to
+       rfc2047-decode-string.
+
+       * mail/rmail.el (rmail-enable-mime): Change the default to t.
+       (rmail-mime-feature): Change the default to `rmailmm'.
+       (rmail-quit): Delete the specifal code for rmail-enable-mime.
+       (rmail-display-labels): Likewise.
+       (rmail-show-message-1): Check rmail-enable-mime, and use
+       rmail-show-mime-function for a MIME message.  Decode the headers
+       according to RFC2047.
+
+2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * progmodes/which-func.el (which-func-imenu-joiner-function):
+       Return a string, as expected.
+       (which-function-mode): Make sure we stop any previous timer before
+       starting a new one.
+
+2010-11-27  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp.el (tramp-default-method-alist)
+       (tramp-default-user-alist, tramp-default-proxies-alist):
+       Adapt custom options type.  (Bug#7445)
+
+2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
+
+       * progmodes/python.el: Add Ipython support (Bug#5390).
+       (python-shell-prompt-alist)
+       (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-check-comint-prompt)
+       (python-comint-output-filter-function): Use it.
+       (run-python): Use a pipe (Bug#5694).
+
+2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
+
+       * progmodes/python.el (run-python): Doc fix.
+       (python-keep-current-directory-in-path): New var (Bug#7454).
+
+2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
+
+       * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
+       Prompt user before actually printing.
+
+2010-11-27  Glenn Morris  <rgm@gnu.org>
+
+       * startup.el (package-enable-at-startup, package-initialize):
+       Remove unnecessary declarations.
+
+2010-11-27  Eli Zaretskii  <eliz@gnu.org>
+
+       * international/characters.el (glyphless-char-display-control):
+       Exclude newline and TAB from the c0-control group.
+
 2010-11-27  Glenn Morris  <rgm@gnu.org>
 
        * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
 
        * shell.el (shell): Use current-buffer by default if it's already
        a shell mode buffer and its process is dead.
-       Suggested by <jemarch@gnu.org>.
+       Suggested by Jose E. Marchesi <jemarch@gnu.org>.
 
 2010-11-23  Tassilo Horn  <tassilo@member.fsf.org>
 
 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * simple.el (kill-new, kill-append, kill-region):
-       * comint.el (comint-kill-region): Make the yank-handler argument obsolete.
+       * comint.el (comint-kill-region): Make the yank-handler argument
+       obsolete.
 
 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
 
 2010-11-13  Eli Zaretskii  <eliz@gnu.org>
 
        * international/characters.el (glyphless-char-display-control):
-       Renamed from glyphless-char-control; all users changed.  Doc fix.
+       Rename from glyphless-char-control; all users changed.  Doc fix.
        Signal an error if display method is not one of the recognized
        symbols.
 
 
        * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
        x-cut-buffer-or-selection-value renamed to x-selection-value
-       (x-selection-value): Renamed from x-cut-buffer-or-selection-value.
+       (x-selection-value): Rename from x-cut-buffer-or-selection-value.
        (x-select-text): Remove argument PUSH, update documentation.
 
        * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
        whitespace-toggle-options (Bug#6479).  Allow to use fill-column
        instead of whitespace-line-column (from EmacsWiki).  New version
        13.1.
-       (whitespace-style): Added new value 'face.  Adjust docstring.
+       (whitespace-style): Add new value 'face.  Adjust docstring.
        (whitespace-space, whitespace-hspace, whitespace-tab):
        Adjust foreground property face.
        (whitespace-line-column): Adjust docstring and type declaration.
        * progmodes/sql.el: Version 2.3.
        (sql-connection-alist): Changed keys from symbols to strings;
        enhanced the widget definition.
-       (sql-mode-menu): Added submenu to select connections.
-       (sql-interactive-mode-menu): Added "Save Connection" item.
-       (sql-add-product): Fixed menu item.
+       (sql-mode-menu): Add submenu to select connections.
+       (sql-interactive-mode-menu): Add "Save Connection" item.
+       (sql-add-product): Fix menu item.
        (sql-get-product-feature): Improved error handling.
        (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
        (sql-make-alternate-buffer-name): Simplified.
        (sql-ms-login-params, sql-postgres-login-params)
        (sql-interbase-login-params, sql-db2-login-params)
        (sql-linter-login-params): Add `port' option.
-       (sql-get-product-feature): Added NO-INDIRECT parameter.
+       (sql-get-product-feature): Add NO-INDIRECT parameter.
        (sql-comint-oracle, sql-comint-sybase)
        (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
        (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
        (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
-       (sql-comint-linter): Renamed sql-connect-* functions to
+       (sql-comint-linter): Rename sql-connect-* functions to
        sql-comint-*.
-       (sql-product-alist, sql-mode-menu): Renamed as above and
+       (sql-product-alist, sql-mode-menu): Rename as above and
        :sqli-connect-func to :sqli-comint-func.
        (sql-connection): New variable.
        (sql-interactive-mode): Set it.
        * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
        VC backend.  Use it when non-nil.
        (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
-       (Bug#6487)
+       (Bug#6487).
 
        Fix vc-annotate-show-changeset-diff-revision-at-line for git.
        * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
 
 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
 
-       * vc-bzr.el (vc-bzr-dir-extra-headers): Disable the pending merges header.
+       * vc-bzr.el (vc-bzr-dir-extra-headers):
+       Disable the pending merges header.
 
 2010-02-05  Juri Linkov  <juri@jurta.org>
 
 
 2009-12-25  Kenichi Handa  <handa@m17n.org>
 
-       * language/indian.el (devanagari-composable-pattern): Fixed to
+       * language/indian.el (devanagari-composable-pattern): Fix to
        handle ZWNJ and ZWJ.  Use it in composition-function-table for
        Devanagari.
        (malayalam-composable-pattern): Fix previous change.
        (newsticker-treeview-next-new-or-immortal-item): Doc change.
        (newsticker--treeview-first-feed): Doc change.
        (newsticker-treeview-list-menu)
-       (newsticker-treeview-item-menu): Added menu entries.
+       (newsticker-treeview-item-menu): Add menu entries.
        (newsticker-treeview-item-mode): New.
 
        * net/newst-backend.el (newsticker-customize): Delete other
        Don't modify last-coding-system-used by accident.
        (tramp-completion-file-name-handler): Apply the checks here,
        instead during registration.
-       (tramp-register-file-name-handlers): Renamed from
+       (tramp-register-file-name-handlers): Rename from
        `tramp-register-file-name-handler'.  Register both
        `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
        (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
        'update signal.  Instead, update all disassembly buffers only after
        threads list.
        (gdb): Send -target-detach when buffer is killed (Bug#3794).
-       (gdb-starting): Moved -data-list-register-names...
+       (gdb-starting): Move -data-list-register-names...
        (gdb-stopped): ...here so it's sent when first thread stops.
        (gdb-registers-handler-custom): Do nothing if register names are
        unknown yet.
 
        * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
        (gdb-var-create-handler): Rewritten using JSON parser.
-       (gdb-propertize-header): Moved earlier.
-       (gdb-set-header): Removed to avoid duplication.
+       (gdb-propertize-header): Move earlier.
+       (gdb-set-header): Remove to avoid duplication.
        (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
        Refresh disassembly buffers only after threads list have been
        update.
        (gdb-locals-handler-custom): Now prints data like in variable
        declarations.
        (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
-       Removed confusing buttons.
+       Remove confusing buttons.
        (gdb-invalidate-threads): Append --frame.
        (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
        between breakpoints/threads buffers.
        (def-gdb-auto-update-handler): New nopreserve optional argument.
        (gdb-stack-list-frames-custom): Print stack from top to bottom.
 
-       * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
+       * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
        (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
        (gdb-parent-mode): New mode to derive other GDB modes from.
        (gdb-display-disassembly-for-thread)
        (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
        (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
        New commands which show buffers bound to thread.
-       (gdb-stack-list-locals-regexp): Removed unused regexp.
+       (gdb-stack-list-locals-regexp): Remove unused regexp.
 
        * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
        (gdb-locals-buffer-name, gdb-registers-buffer-name)