* progmodes/compile.el (compilation-goto-locus): Use next-error-move-function.
[bpt/emacs.git] / lisp / ChangeLog
index 2f3ea14..c4268c4 100644 (file)
@@ -1,5 +1,413 @@
+2009-08-13  Richard Stallman  <rms@gnu.org>
+
+       * progmodes/compile.el (compilation-goto-locus):
+       Use next-error-move-function.
+
+       * simple.el (next-error-move-function): New variable.
+
+2009-08-12  Juri Linkov  <juri@jurta.org>
+
+       * progmodes/grep.el (lgrep): Ensure that `default-directory' is
+       always non-nil.  (Bug#4052)
+
+       * replace.el (read-regexp): Return empty string when
+       `default-value' is nil.
+       (keep-lines-read-args): Don't use empty string as the
+       default value for `read-regexp'.  (Bug#2495)
+
+2009-08-12  Juri Linkov  <juri@jurta.org>
+
+       * international/mule-cmds.el (ucs-insert): Change arguments
+       from `arg' to `character', `count', `inherit' to be the same
+       as in `insert-char'.  Doc fix.  (Bug#4039)
+
+       * international/mule-conf.el (utf-16be-with-signature): Doc fix.
+
+2009-08-12  Juri Linkov  <juri@jurta.org>
+
+       * files-x.el: New file.
+
+       * files.el: Move code that deals with adding/deleting
+       file/directory-local variables to files-x.el.
+
+       * Makefile.in (ELCFILES): Add files-x.elc.
+
+2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
+
+       * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
+       to use `goto-line'.
+       (gdb-place-breakpoints, gdb-get-location): Rewritten without
+       `goto-line'.
+       (gdb-invalidate-disassembly): Do not refresh upon receiving
+       'update signal. Instead, update all disassembly buffers only after
+       threads list.
+       (gdb): Send -target-detach when buffer is killed (#3794).
+       (gdb-starting): Moved -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/gud.el (gud-stop-subjob): Rewritten without macros
+       from `gdb-mi.el' to avoid extra tangling.
+
+       * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
+       change which breaks `gud-def' definitions. used in `gdb'.
+       (gdb-update-gud-running): No extra fuss for updating frame number.
+
+2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
+       (describe-language-environment-map, setup-language-environment-map)
+       (set-coding-system-map): Move initialization into declaration.
+       (set-language-info-alist): Last arg to define-key-after can be skipped.
+
+       * international/quail.el (quail-completion-1): Simplify.
+       (quail-define-rules): Use slightly more compact code.
+       (quail-insert-decode-map): Propertize keys, compact columns.
+
+       * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
+       Add goto-line.
+
+2009-08-10  Miles Bader  <miles@gnu.org>
+
+       * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
+       (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
+       (js2-instance-member, js2-private-member, js2-private-function-call)
+       (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
+       (js2-magic-paren, js2-external-variable):
+       Remove "-face" suffix from face names.
+       (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
+       (js2-highlight-undeclared-vars, js2-peek-token)
+       (js2-parse-function-params, js2-mode-show-errors)
+       (js2-mode-show-warnings, js2-make-magic-delimiter)
+       (js2-mode-highlight-magic-parens): Update to use new face names.
+
+2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
+       (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
+
+2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
+
+       * subr.el: Provide hashtable-print-readable.
+
+       * progmodes/hideshow.el (hs-special-modes-alist): Don't use
+       hs-c-like-adjust-block-beginning.
+       (hs-hide-block-at-point): Stop hiding at the beginning of
+       hs-block-end-regexp (Bug#700).
+
+2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
+
+       * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
+       a macro.
+       (gdb-registers-handler-custom): Do not fail when register names
+       are unavailable.
+
+2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
+
+       * progmodes/gdb-mi.el (gdb-control-all-threads)
+       (gdb-control-current-thread): Interactive setters for
+       `gdb-gud-control-all-threads' to use in menu.
+       (gdb-show-run-p): Show «Go» when process is not active.
+       (gud-tool-bar-map): Add non-stop/A,T indicator. Uses
+       gud/thread.xpm and gud/all.xpm.
+
+2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
+
+       * net/net-utils.el (net-utils-font-lock-keywords): New var.
+       (nslookup-font-lock-keywords): Make it a variable.
+       (net-utils-mode): New mode for viewing diagnostic network output.
+       (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
+       (net-utils-run-simple): New function.
+       (ifconfig, iwconfig, netstat, arp, route): Use it.
+
+2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
+
+       * progmodes/gdb-mi.el (gdb-read-memory-custom)
+       (gdb-memory-set-address, def-gdb-set-positive-number)
+       (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
+       after changing settings.
+       (gdb-invalidate-disassembly): Update when first shown.
+       (gdb-edit-locals-value): Fixed.
+       (gdb-registers-handler-custom): Print registers in right order and
+       allow changing register values (only for current thread yet).
+       (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
+       (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
+       (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
+       (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
+       info in mode name.
+       (gdb-registers-mode-map): TAB to switch to locals.
+
+2009-08-08  Eli Zaretskii  <eliz@gnu.org>
+
+       * mail/rmail.el (rmail-add-mbox-headers)
+       (rmail-set-message-counters-counter): Search for
+       rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
+
+2009-08-08  Glenn Morris  <rgm@gnu.org>
+
+       * Makefile.in (ELCFILES): Update.
+
+2009-08-07  Eli Zaretskii  <eliz@gnu.org>
+
+       * mail/sendmail.el (mail-yank-original): Set
+       buffer-file-coding-system from the one used by the message whose
+       text is yanked.
+
+       * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
+       to "windows" when "pgnuplot" is used.
+       (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
+       call accept-process-output if "pgnuplot" is used.
+       (calc-graph-init): Don't send -display and -geometry to
+       "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
+       running "pgnuplot -V" with shell-command-to-string.
+
+       * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
+       the default.
+
+2009-08-07  Eli Zaretskii  <eliz@gnu.org>
+
+       * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
+       org/org-latex.elc.
+
+2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * vc-dispatcher.el (vc-resynch-window): Update comment.
+
+       * term.el (term-handle-ansi-escape): Add comments with the
+       terminfo capabilities implemented.
+
+2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
+
+       * 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-thread-list-handler-custom, gdb-invalidate-disassembly):
+       Refresh disassembly buffers only after threads list have been
+       update.
+       (gdb-threads-header, gdb-registers-header): Per-buffer header line
+       variables.
+
+2009-08-04  Juri Linkov  <juri@jurta.org>
+
+       * files.el: Commands to add/delete file/directory-local variables.
+       (read-file-local-variable, read-file-local-variable-value)
+       (read-file-local-variable-mode, modify-file-local-variable)
+       (modify-file-local-variable-prop-line)
+       (modify-dir-local-variable): New functions.
+       (add-file-local-variable, delete-file-local-variable)
+       (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
+       (add-dir-local-variable, delete-dir-local-variable)
+       (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
+       (copy-dir-locals-to-file-locals-prop-line): New commands.
+
+2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
+
+       * abbrev.el (insert-abbrev-table-description): Prettify output.
+       Suggested by Karl Chen.
+
+2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
+
+       * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
+       (gdb-overlay-arrow-position): Renamed to
+       `gdb-disassembly-position'.
+       (gdb-overlay-arrow-position, gdb-thread-position)
+       (gdb-disassembly-position): Declare variables.
+       (gdb-wait-for-pending): Function now.
+       (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
+       (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
+       compilation goes smoothly.
+       (gdb, gdb-non-stop, gdb-buffers): New customization groups.
+       (gdb-non-stop-setting): New customization setting which replaces
+       `gdb-non-stop' so changing it doesn't break active GDB session.
+       (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
+       (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
+       (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
+       (gdb-show-threads-by-default): New customization options.
+       (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
+       routines.
+       (gdb-get-buffer-create): Send buffers update signal when they are
+       created.
+       (gdb-invalidate-locals, gdb-invalidate-registers)
+       (gdb-invalidate-breakpoints)
+       (gdb-invalidate-threads, gdb-invalidate-disassembly)
+       (gdb-invalidate-memory): Accept update signal.
+       (gdb-current-context-command): Use --frame option.
+       (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
+       Implement `gdb-frame-number' selection logic.
+       (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
+       whether to show GUD toolbar buttons.
+       (gdb-thread-exited): Unselect current thread when it exits.
+       (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
+       (gdb-mark-line): Routine which sets overlay arrow or inverses
+       video on fringeless displays.
+       (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
+       to build aligned columns of data in GDB buffers and set text
+       properties line-by-line.
+       (gdb-invalidate-breakpoints)
+       (gdb-breakpoints-list-handler-custom)
+       (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
+       (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
+       (gdb-registers-handler-custom): Align data columns.
+       (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.
+       (gdb-invalidate-threads): Append --frame.
+       (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
+       between breakpoints/threads buffers.
+       (gdb-set-window-buffer): Now can ignore dedicated windows.
+       (gdb-propertize-header): Use `gdb-set-window-buffer'.
+       (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
+       (def-gdb-thread-buffer-gud-command): Replaces
+       `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
+       for fine thread control.
+       (gdb-preempt-existing-or-display-buffer): New function used to
+       display bound buffers without breaking window layout.
+       (gdb-frame-location): Replaces `gdb-insert-frame-location'.
+       (gdb-select-frame): New version of `gdb-frames-select' which now
+       sets `gdb-frame-number' so commands may use --frame option instead
+       of inner debugger state.
+       (gdb-frame-handler): Do not set `gdb-frame-number'.
+       (gdb-threads-mode-map): Select threads with mouse.
+
+       * progmodes/gud.el (gdb-gud-context-call): Declare function to
+       avoid compilation warning.
+       (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
+       `gdb-show-stop-p`.
+
+       * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
+       Argument `key' renamed to `buffer-type'.
+       (gdb-current-context-buffer-name): Do not add thread info to
+       buffer name when no thread is selected.
+       (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
+       command (bug 3794).
+       (gdb-thread-selected): Handle `=thread-selected' notification.
+       (gdb-wait-for-pending): New macro to deal with congestion problems.
+       (gdb-breakpoints-list-handler-custom): Don't fail on pending
+       breakpoints.
+       (gdb-invalidate-disassembly): Use 'fullname instead of 'file. This
+       fixes problem similar to one described in bug 3947.
+       (gud-menu-map): More menu items.
+       (gdb-init-1): Reset `gdb-thread-number' to nil.
+
+       * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
+       non-stop settings.
+
+       * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
+       (gdb-current-context-command): Do not append --thread if
+       `gdb-thread-number' is nil.
+       (gdb-running-threads-count, gdb-stopped-threads-count): New
+       variables.
+       (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
+       (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
+       customization options.
+       (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
+       GUD commands.
+       (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'
+       (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
+       (gdb-setq-thread-number, gdb-update-gud-running): New functions to
+       set `gdb-thread-number' and update `gud-running' properly.
+       (gdb-running): Update threads list when new threads appear.
+       (gdb-stopped): Support non-stop operation and new thread switching
+       logic.
+       (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
+       (gdb-json-partial-output): New set of JSON routines.
+       (def-gdb-auto-update-trigger): New `signal-list' optional
+       argument.
+       (gdb-thread-list-handler-custom): Update `gud-running',
+       `gdb-stopped-threads-count' and `gdb-running-threads-count'.
+       (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
+       (gdb-continue-thread, gdb-step-thread): New commands for fine
+       thread execution control.
+       (gud-menu-map): New menu items to switch non-stop options.
+       (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
+       (gdb-send): Mimic RET properly (bug 3794).
+
+       * progmodes/gdb-mi.el (gdb-rules-name-maker)
+       (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
+       gdb-buffer-rules.
+       (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.
+       (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-frame-disassembly-for-thread): New commands for threads
+       buffer.
+
+       * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
+       (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
+       (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
+       (gdb-update): We now store all GDB buffers in a list so that they
+       can be updated by traversing a list instead of calling invalidate
+       triggers explicitly
+       (def-gdb-trigger-and-handler): New macro to define trigger-handler
+       pair for GDB buffer.
+       (gdb-stack-buffer-name): Add thread information.
+       (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
+       handle pending triggers.
+       (gdb-threads-mode-map, def-gdb-thread-buffer-command)
+       (def-gdb-thread-buffer-simple-command)
+       (gdb-display-stack-for-thread, gdb-display-locals-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.
+
+       * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name,gdb-locals-buffer-name)
+       (gdb-registers-buffer-name)
+       (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
+       to (gud-comint-buffer) in *-buffer-name functions
+       because (gdb-get-target-string) already does that.
+       (gdb-locals-handler-custom, gdb-registers-handler-custom)
+       (gdb-changed-registers-handler): Rewritten without regexps.
+
+       * progmodes/gdb-mi.el Basic thread selection support.
+       (gdb-thread-number): New variable.
+       (gdb-current-context-command): New macro which adds --thread
+       option to command.
+       (gdb-threads-mode-map): Select thread with SPC
+       (gdb-thread-list-handler-custom): Mark current thread with overlay
+       arrow. Synchronize GDB thread and Emacs thread.
+       (gdb-select-thread): New command which selects current thread.
+       (gdb-invalidate-frames, gdb-invalidate-locals)
+       (gdb-invalidate-registers): Use --thread option.
+
+2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp.el (top): Make check for tramp-gvfs loading more
+       robust.  (Bug#3977)
+       (tramp-handle-insert-file-contents): `unwind-protect' must be
+       inside `with-parsed-tramp-file-name'.
+
+       * net/tramp-gvfs.el (top): Remove superfluous message when loading
+       fails.
+
+2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
+
+       * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
+       directory if CLASSPATH is not set.
+
+2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp) New
+       defconst.
+       (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
+
+2009-08-02  Kevin Ryde  <user42@zip.com.au>
+
+       * net/newst-backend.el (newsticker--raw-url-list-defaults): Update
+       freshmeat link.  Delete newsforge.com as it seems gone.
+
 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
 
+       * select.el (x-set-selection): Doc fix (Bug#4021).
+
+       * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
+
        * help-fns.el (describe-variable): Treat list return values from
        dir-locals-find-file properly (Bug#4005).