(linum-mode): window-size-change-functions is redundant.
[emacs.git] / lisp / ChangeLog
blob8a59e798edf60d490b498951070483d993d7de77
1 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3         * linum.el (linum-mode): window-size-change-functions is redundant.
4         Adapt to new window-configuration-change-hook behavior.
5         (linum-after-size, linum-after-config): Remove.
7         * imenu.el (imenu-example--name-and-position)
8         (imenu-example--lisp-extract-index-name)
9         (imenu-example--create-lisp-index, imenu-example--create-c-index):
10         Mark as obsolete.
12         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
13         (inferior-prolog-mode): Use it.
14         (inferior-prolog-load-file): Reset list of errors.
16 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
18         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
20         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
22 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
24         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
25         is running already.
27 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
29         * subr.el (listify-key-sequence-1): Use normal syntax since those
30         integers are nowadays always represented by the same (positive) number
31         on all platforms.
32         (read-key-empty-map): New const.
33         (read-key-delay): New var.
34         (read-key): New function.
35         (force-mode-line-update): Use with-current-buffer.
36         (locate-user-emacs-file): Don't forget to abbreviate the file name.
37         (start-process-shell-command, start-file-process-shell-command):
38         Discourage the use of command-args.
40 2009-08-19  Glenn Morris  <rgm@gnu.org>
42         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
44 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
46         * simple.el (choose-completion-string): Don't rely on
47         minibuffer-completing-file-name and ad-hoc checks to decide whether
48         to continue completion or not.
50         * minibuffer.el (minibuffer-hide-completions): New function.
51         (completion--do-completion): Use it.
52         (completions-annotations): New face.
53         (completion--insert-strings): Use it.
54         (completion-pcm--delim-wild-regex): Add docstring.
55         (completion-pcm--string->pattern): Add support for 0-width delimiters
56         in completion-pcm--delim-wild-regex.
58 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
60         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
61         Remove unused var `buffer-modified-p'.
63         * minibuffer.el (completion--do-completion): Move point for the #b001
64         case as well (bug#4176).
65         (minibuffer-complete, minibuffer-complete-word): Don't move point.
67 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
69         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
70         and :session buses.
72 2009-08-18  Kenichi Handa  <handa@m17n.org>
74         * international/ucs-normalize.el (ucs-normalize-version):
75         Change to 1.1.
76         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
77         (utf-8-hfs): Make it perform normalization on encoding too.
79         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
80         (sentence-end-without-space): Delete duplicated chars.
81         (sentence-end-base): Likewise.
83         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
84         (html-mode): Delete duplicated chars from sentence-end-base.
86         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
87         (texinfo-mode): Delete duplicated chars from sentence-end-base.
89 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
91         * files.el (hack-one-local-variable): If the mode function is for
92         a minor mode, pass it an argument (Bug#4148).
94 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
96         * net/tramp.el (tramp-register-completion-file-name-handler):
97         Check also for (member 'partial-completion completion-styles).
99 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
101         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
102         abbrev (Bug#3943).
104 2007-10-08  Ilya Zakharevich  <ilyaz@cpan.org>
106         * progmodes/cperl-mode.el: Merge upstream 6.2.
107         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
108         (cperl-forward-re): Check cperl-brace-recursing.
109         (cperl-highlight-charclass): New function.
110         (cperl-find-pods-heres): Use it.
111         (cperl-fill-paragraph): Synch to save-excursion placement used
112         upstream.
113         (cperl-beautify-regexp-piece): Fix column calculation.
114         (cperl-make-regexp-x): Handle case where point is between "q" and
115         "rs".
116         (cperl-beautify-level): Don't process entire regexp.
117         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
118         calling man.
119         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
120         (cperl-init-faces): Build a list in the normal way.
122 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
124         * calendar/parse-time.el (parse-time-string-chars): Save match
125         data.
127 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
129         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
130         (sql-product): Use it.
131         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
132         (sql-set-product): Add completion.
133         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
134         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
135         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
136         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
137         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
138         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
139         (sql-highlight-db2-keywords): Remove.
140         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
141         (sql-highlight-product): Use derived-mode-p.
142         (sql-set-sqli-buffer): Use with-current-buffer.
143         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
144         Simplify.
146         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
148         * term.el: Fix commenting convention, turn comments into docstrings.
150 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
152         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
154 2009-08-16  Jan Seeger <jan.seeger@thenybble.de>  (tiny change)
156         * calendar/parse-time.el (parse-time-string-chars): Compute using
157         character classes, to handle non-ascii characters (Bug#3190).
159 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
161         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
162         another heredoc if the user adds another < (Bug#3226).
164         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
165         Don't initialize based on window-system (Bug#4124).
167         * facemenu.el (facemenu-read-color): Use a completion function
168         that accepts any defined color, such as RGB triplets (Bug#3677).
170         * files.el (get-free-disk-space): Change fallback default
171         directory to /.  Expand DIR argument before switching to fallback.
172         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
174 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
176         * files.el (load-library): Doc fix.
178 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
180         * viper-cmd.el (viper-insert-isearch-string): New function.
181         (viper-if-string): Redefine C-s in the minibuffer to insert the last
182         incremental search string.
184         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
185         XEmacs.
187         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
188         (ediff-merge-region-is-non-clash)
189         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
190         Also check if the job is really a merge job.
192         * ediff.el (ediff-current-file): New function.
194 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
196         * progmodes/js.el: Edit docstrings throughout to follow Emacs
197         conventions.
198         (js-insert-and-indent): Delete function.
199         (js-mode-map): Don't bind keys to js-insert-and-indent.
200         (js-beginning-of-defun): Rename from js--beginning-of-defun.
201         (js-end-of-defun): Rename from js--end-of-defun.
202         (js-auto-indent-flag): Delete variable.
204 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
206         * progmodes/js.el: Remove proclaim statement.
207         Defvar which-func-imenu-joiner-function to silence compiler.
209         * files.el (auto-mode-alist): Use js-mode for .js files.
211         * progmodes/js2-mode.el: Remove file.
213         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
215         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
217         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
219 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
220         Karl Landstrom  <karl.landstrom@brgeight.se>
222         * progmodes/js.el: New file.
224 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
226         * timezone.el (timezone-parse-date): Add ability to understand ISO
227         basic format (minimal separators) dates in addition to the
228         already-supported extended format dates.
230 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
232         * international/ucs-normalize.el: Add a `coding' file variable.
234         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
236 2009-08-14  Sam Steingold  <sds@gnu.org>
238         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
240 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
242         * faces.el (help-argument-name): Define it here instead of
243         help-fns.el, because in daemon mode help-fns.el may be loaded when
244         faces are still uninitialized (Bug#1078).
246         * help-fns.el (help-argument-name): Move defface to faces.el.
248 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
250         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
251         create buffer with a pty but no process so that GDB can make the
252         inferior the controlling process.
254 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
256         * international/ucs-normalize.el: New file.
258 2009-08-13  Richard Stallman  <rms@gnu.org>
260         * mail/rmail.el (rmail-get-attr-names):
261         Accept an attribute header that is too short.
263         * mail/rmail.el (rmail-forget-messages):
264         Ignore nil elt in rmail-message-vector.  Use dotimes.
266         * progmodes/compile.el (compilation-goto-locus):
267         Use next-error-move-function.
269         * simple.el (next-error-move-function): New variable.
271 2009-08-12  Juri Linkov  <juri@jurta.org>
273         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
274         always non-nil.  (Bug#4052)
276         * replace.el (read-regexp): Return empty string when
277         `default-value' is nil.
278         (keep-lines-read-args): Don't use empty string as the
279         default value for `read-regexp'.  (Bug#2495)
281 2009-08-12  Juri Linkov  <juri@jurta.org>
283         * international/mule-cmds.el (ucs-insert): Change arguments
284         from `arg' to `character', `count', `inherit' to be the same
285         as in `insert-char'.  Doc fix.  (Bug#4039)
287         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
289 2009-08-12  Juri Linkov  <juri@jurta.org>
291         * files-x.el: New file.
293         * files.el: Move code that deals with adding/deleting
294         file/directory-local variables to files-x.el.
296         * Makefile.in (ELCFILES): Add files-x.elc.
298 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
300         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
301         to use `goto-line'.
302         (gdb-place-breakpoints, gdb-get-location): Rewritten without
303         `goto-line'.
304         (gdb-invalidate-disassembly): Do not refresh upon receiving
305         'update signal. Instead, update all disassembly buffers only after
306         threads list.
307         (gdb): Send -target-detach when buffer is killed (#3794).
308         (gdb-starting): Moved -data-list-register-names...
309         (gdb-stopped): ...here so it's sent when first thread stops.
310         (gdb-registers-handler-custom): Do nothing if register names are
311         unknown yet.
313         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
314         from `gdb-mi.el' to avoid extra tangling.
316         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
317         change which breaks `gud-def' definitions. used in `gdb'.
318         (gdb-update-gud-running): No extra fuss for updating frame number.
320 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
322         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
323         (describe-language-environment-map, setup-language-environment-map)
324         (set-coding-system-map): Move initialization into declaration.
325         (set-language-info-alist): Last arg to define-key-after can be skipped.
327         * international/quail.el (quail-completion-1): Simplify.
328         (quail-define-rules): Use slightly more compact code.
329         (quail-insert-decode-map): Propertize keys, compact columns.
331         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
332         Add goto-line.
334 2009-08-10  Miles Bader  <miles@gnu.org>
336         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
337         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
338         (js2-instance-member, js2-private-member, js2-private-function-call)
339         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
340         (js2-magic-paren, js2-external-variable):
341         Remove "-face" suffix from face names.
342         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
343         (js2-highlight-undeclared-vars, js2-peek-token)
344         (js2-parse-function-params, js2-mode-show-errors)
345         (js2-mode-show-warnings, js2-make-magic-delimiter)
346         (js2-mode-highlight-magic-parens): Update to use new face names.
348 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
350         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
351         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
353 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
355         * subr.el: Provide hashtable-print-readable.
357         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
358         hs-c-like-adjust-block-beginning.
359         (hs-hide-block-at-point): Stop hiding at the beginning of
360         hs-block-end-regexp (Bug#700).
362 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
364         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
365         a macro.
366         (gdb-registers-handler-custom): Do not fail when register names
367         are unavailable.
369 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
371         * progmodes/gdb-mi.el (gdb-control-all-threads)
372         (gdb-control-current-thread): Interactive setters for
373         `gdb-gud-control-all-threads' to use in menu.
374         (gdb-show-run-p): Show «Go» when process is not active.
375         (gud-tool-bar-map): Add non-stop/A,T indicator. Uses
376         gud/thread.xpm and gud/all.xpm.
378 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
380         * net/net-utils.el (net-utils-font-lock-keywords): New var.
381         (nslookup-font-lock-keywords): Make it a variable.
382         (net-utils-mode): New mode for viewing diagnostic network output.
383         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
384         (net-utils-run-simple): New function.
385         (ifconfig, iwconfig, netstat, arp, route): Use it.
387 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
389         * progmodes/gdb-mi.el (gdb-read-memory-custom)
390         (gdb-memory-set-address, def-gdb-set-positive-number)
391         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
392         after changing settings.
393         (gdb-invalidate-disassembly): Update when first shown.
394         (gdb-edit-locals-value): Fixed.
395         (gdb-registers-handler-custom): Print registers in right order and
396         allow changing register values (only for current thread yet).
397         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
398         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
399         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
400         (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
401         info in mode name.
402         (gdb-registers-mode-map): TAB to switch to locals.
404 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
406         * mail/rmail.el (rmail-add-mbox-headers)
407         (rmail-set-message-counters-counter): Search for
408         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
410 2009-08-08  Glenn Morris  <rgm@gnu.org>
412         * Makefile.in (ELCFILES): Update.
414 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
416         * mail/sendmail.el (mail-yank-original): Set
417         buffer-file-coding-system from the one used by the message whose
418         text is yanked.
420         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
421         to "windows" when "pgnuplot" is used.
422         (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
423         call accept-process-output if "pgnuplot" is used.
424         (calc-graph-init): Don't send -display and -geometry to
425         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
426         running "pgnuplot -V" with shell-command-to-string.
428         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
429         the default.
431 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
433         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
434         org/org-latex.elc.
436 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
438         * vc-dispatcher.el (vc-resynch-window): Update comment.
440         * term.el (term-handle-ansi-escape): Add comments with the
441         terminfo capabilities implemented.
443 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
445         * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
446         (gdb-var-create-handler): Rewritten using JSON parser.
447         (gdb-propertize-header): Moved earlier.
448         (gdb-set-header): Removed to avoid duplication.
449         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
450         Refresh disassembly buffers only after threads list have been
451         update.
452         (gdb-threads-header, gdb-registers-header): Per-buffer header line
453         variables.
455 2009-08-04  Juri Linkov  <juri@jurta.org>
457         * files.el: Commands to add/delete file/directory-local variables.
458         (read-file-local-variable, read-file-local-variable-value)
459         (read-file-local-variable-mode, modify-file-local-variable)
460         (modify-file-local-variable-prop-line)
461         (modify-dir-local-variable): New functions.
462         (add-file-local-variable, delete-file-local-variable)
463         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
464         (add-dir-local-variable, delete-dir-local-variable)
465         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
466         (copy-dir-locals-to-file-locals-prop-line): New commands.
468 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
470         * abbrev.el (insert-abbrev-table-description): Prettify output.
471         Suggested by Karl Chen.
473 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
475         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
476         (gdb-overlay-arrow-position): Renamed to
477         `gdb-disassembly-position'.
478         (gdb-overlay-arrow-position, gdb-thread-position)
479         (gdb-disassembly-position): Declare variables.
480         (gdb-wait-for-pending): Function now.
481         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
482         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
483         compilation goes smoothly.
484         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
485         (gdb-non-stop-setting): New customization setting which replaces
486         `gdb-non-stop' so changing it doesn't break active GDB session.
487         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
488         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
489         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
490         (gdb-show-threads-by-default): New customization options.
491         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
492         routines.
493         (gdb-get-buffer-create): Send buffers update signal when they are
494         created.
495         (gdb-invalidate-locals, gdb-invalidate-registers)
496         (gdb-invalidate-breakpoints)
497         (gdb-invalidate-threads, gdb-invalidate-disassembly)
498         (gdb-invalidate-memory): Accept update signal.
499         (gdb-current-context-command): Use --frame option.
500         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
501         Implement `gdb-frame-number' selection logic.
502         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
503         whether to show GUD toolbar buttons.
504         (gdb-thread-exited): Unselect current thread when it exits.
505         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
506         (gdb-mark-line): Routine which sets overlay arrow or inverses
507         video on fringeless displays.
508         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
509         to build aligned columns of data in GDB buffers and set text
510         properties line-by-line.
511         (gdb-invalidate-breakpoints)
512         (gdb-breakpoints-list-handler-custom)
513         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
514         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
515         (gdb-registers-handler-custom): Align data columns.
516         (gdb-locals-handler-custom): Now prints data like in variable
517         declarations.
518         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
519         Removed confusing buttons.
520         (gdb-invalidate-threads): Append --frame.
521         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
522         between breakpoints/threads buffers.
523         (gdb-set-window-buffer): Now can ignore dedicated windows.
524         (gdb-propertize-header): Use `gdb-set-window-buffer'.
525         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
526         (def-gdb-thread-buffer-gud-command): Replaces
527         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
528         for fine thread control.
529         (gdb-preempt-existing-or-display-buffer): New function used to
530         display bound buffers without breaking window layout.
531         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
532         (gdb-select-frame): New version of `gdb-frames-select' which now
533         sets `gdb-frame-number' so commands may use --frame option instead
534         of inner debugger state.
535         (gdb-frame-handler): Do not set `gdb-frame-number'.
536         (gdb-threads-mode-map): Select threads with mouse.
538         * progmodes/gud.el (gdb-gud-context-call): Declare function to
539         avoid compilation warning.
540         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
541         `gdb-show-stop-p`.
543         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
544         Argument `key' renamed to `buffer-type'.
545         (gdb-current-context-buffer-name): Do not add thread info to
546         buffer name when no thread is selected.
547         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
548         command (bug 3794).
549         (gdb-thread-selected): Handle `=thread-selected' notification.
550         (gdb-wait-for-pending): New macro to deal with congestion problems.
551         (gdb-breakpoints-list-handler-custom): Don't fail on pending
552         breakpoints.
553         (gdb-invalidate-disassembly): Use 'fullname instead of 'file. This
554         fixes problem similar to one described in bug 3947.
555         (gud-menu-map): More menu items.
556         (gdb-init-1): Reset `gdb-thread-number' to nil.
558         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
559         non-stop settings.
561         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
562         (gdb-current-context-command): Do not append --thread if
563         `gdb-thread-number' is nil.
564         (gdb-running-threads-count, gdb-stopped-threads-count): New
565         variables.
566         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
567         (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
568         customization options.
569         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
570         GUD commands.
571         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'
572         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
573         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
574         set `gdb-thread-number' and update `gud-running' properly.
575         (gdb-running): Update threads list when new threads appear.
576         (gdb-stopped): Support non-stop operation and new thread switching
577         logic.
578         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
579         (gdb-json-partial-output): New set of JSON routines.
580         (def-gdb-auto-update-trigger): New `signal-list' optional
581         argument.
582         (gdb-thread-list-handler-custom): Update `gud-running',
583         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
584         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
585         (gdb-continue-thread, gdb-step-thread): New commands for fine
586         thread execution control.
587         (gud-menu-map): New menu items to switch non-stop options.
588         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
589         (gdb-send): Mimic RET properly (bug 3794).
591         * progmodes/gdb-mi.el (gdb-rules-name-maker)
592         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
593         gdb-buffer-rules.
594         (def-gdb-auto-update-handler): New nopreserve optional argument.
595         (gdb-stack-list-frames-custom): Print stack from top to bottom.
597         * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
598         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
599         (gdb-parent-mode): New mode to derive other GDB modes from.
600         (gdb-display-disassembly-for-thread)
601         (gdb-frame-disassembly-for-thread): New commands for threads
602         buffer.
604         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
605         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
606         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
607         (gdb-update): We now store all GDB buffers in a list so that they
608         can be updated by traversing a list instead of calling invalidate
609         triggers explicitly
610         (def-gdb-trigger-and-handler): New macro to define trigger-handler
611         pair for GDB buffer.
612         (gdb-stack-buffer-name): Add thread information.
613         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
614         handle pending triggers.
615         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
616         (def-gdb-thread-buffer-simple-command)
617         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
618         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
619         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread): New
620         commands which show buffers bound to thread.
621         (gdb-stack-list-locals-regexp): Removed unused regexp.
623         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name,gdb-locals-buffer-name)
624         (gdb-registers-buffer-name)
625         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
626         to (gud-comint-buffer) in *-buffer-name functions
627         because (gdb-get-target-string) already does that.
628         (gdb-locals-handler-custom, gdb-registers-handler-custom)
629         (gdb-changed-registers-handler): Rewritten without regexps.
631         * progmodes/gdb-mi.el Basic thread selection support.
632         (gdb-thread-number): New variable.
633         (gdb-current-context-command): New macro which adds --thread
634         option to command.
635         (gdb-threads-mode-map): Select thread with SPC
636         (gdb-thread-list-handler-custom): Mark current thread with overlay
637         arrow. Synchronize GDB thread and Emacs thread.
638         (gdb-select-thread): New command which selects current thread.
639         (gdb-invalidate-frames, gdb-invalidate-locals)
640         (gdb-invalidate-registers): Use --thread option.
642 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
644         * net/tramp.el (top): Make check for tramp-gvfs loading more
645         robust.  (Bug#3977)
646         (tramp-handle-insert-file-contents): `unwind-protect' must be
647         inside `with-parsed-tramp-file-name'.
649         * net/tramp-gvfs.el (top): Remove superfluous message when loading
650         fails.
652 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
654         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
655         directory if CLASSPATH is not set.
657 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
659         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp) New
660         defconst.
661         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
663 2009-08-02  Kevin Ryde  <user42@zip.com.au>
665         * net/newst-backend.el (newsticker--raw-url-list-defaults): Update
666         freshmeat link.  Delete newsforge.com as it seems gone.
668 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
670         * select.el (x-set-selection): Doc fix (Bug#4021).
672         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
674         * help-fns.el (describe-variable): Treat list return values from
675         dir-locals-find-file properly (Bug#4005).
677 2009-08-02  Julian Scheid <julians37@googlemail.com>  (tiny change)
679         * net/tramp.el (tramp-debug-message): Print also microseconds.
681 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
683         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
684         or END is non-nil.
685         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
686         (tramp-get-debug-buffer): Change `outline-regexp' according to new
687         format.
689         * net/tramp-cache.el (tramp-cache-inhibit-cache ): New defvar.
690         (tramp-get-file-property): Use it.
692         * autorevert.el (auto-revert-handler): Allow
693         `auto-revert-tail-mode' for remote files.
695 2009-08-02  Jason Rumney  <jasonr@gnu.org>
697         * minibuffer.el (read-file-name): Treat confirm options to
698         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
700 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
702         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
703         (font-lock-variable-name-face, font-lock-constant-face): Darken
704         the colors for light backgrounds.
706 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
708         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
709         month names.  (Bug#3987)
711 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
713         * simple.el (line-move-finish): Pass whole number to
714         line-move-to-column.
715         (line-move-visual): Perform hscroll to the recorded position.
717 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
719         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
721 2009-07-29  Alan Mackenzie  <acm@muc.de>
723         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
725 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
727         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
728         (gdb-place-breakpoints): Use full path when setting breakpoints.
730 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
732         * calc/calc.el (calc-mode-map): Add keybinding for
733         `calc-transpose-lines'.
735 2009-07-29  Vincent Belaïche <vincent.belaiche@gmail.com>
737         * calc/calc-misc.el (calc-transpose-lines): New function.
739 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
741         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
742         Simplify check for out-of-band methods.
743         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
744         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
746 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
748         * vc-git.el (vc-git-checkin): Fix typo.
750 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>>
752         * progmodes/js2-mode.el: New file.
754 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
756         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
757         (gud-menu-map): Adjust tooltip accordingly.
759 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
761         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
762         (vc-bzr-log-view-mode): Adjust log-view-file-re.
764         * add-log.el (change-log-mode-map): Add a menu.
766 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
768         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
769         function returns nil.
770         (dbus-handle-event): Handle special return value :ignore.
771         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
773 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
775         * view.el (view-mode-enable): Don't define Helper-return-blurb if
776         it's not needed.
778 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
780         Fix Bug#3888:
782         * w32-vars.el (x-select-enable-clipboard): Doc fix.
784         * term/pc-win.el (x-display-name, x-colors)
785         (x-select-enable-clipboard, x-select-text): Doc fix.
787         * term/common-win.el (x-display-name, x-colors): Doc fix.
789         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
790         (xw-defined-colors): Doc fix.
792         * w32-fns.el (x-select-text, x-setup-function-keys)
793         (x-get-selection, x-set-selection): Doc fix.
795         * term/x-win.el (x-select-text, x-setup-function-keys)
796         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
798         * select.el (x-set-selection): Doc fix.
800 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
802         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
803         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
804         "IsNSSSupportAvailable" method is not available.  Reported by
805         Steve Youngs <steve@sxemacs.org>.
807 2009-07-24  Kenichi Handa  <handa@m17n.org>
809         * international/characters.el: Fix setting of category ?C, ?|, ?K,
810         and ?H.  Fix setting of case for Latin Extended and Greek
811         Extended.
812         (build-unicode-category-table): Fix range checks.
814 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
816         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
817         the buffer we try to sync is current when calling
818         vc-resynch-buffer.
820         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
821         not show up to date files.
823 2009-07-24  Glenn Morris  <rgm@gnu.org>
825         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
826         Add autoload cookies.  If necessary, initialize.
827         (elint-log): Handle non-file buffers.
828         (elint-initialize): Add optional argument to reinitialize.
829         (elint-find-builtin-variables): Save excursion.
831 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
833         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
834         for Lint.
836 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
838         * vc.el (vc-print-log-internal): New function, split out from ...
839         (vc-print-log): ... here.
840         (vc-dir-move-to-goal-column): Declare.
842         * vc-git.el (vc-git-add-signoff): New variable.
843         (vc-git-checkin): Use it.
844         (vc-git-toggle-signoff): New function.
845         (vc-git-extra-menu-map): Bind it to menu.
846         (vc-git--run-command-string): Accept a nil FILE argument.
847         (vc-git-stash-list): New function.
848         (vc-git-dir-extra-headers): Use it.
850 2009-07-23  Glenn Morris  <rgm@gnu.org>
852         * help-fns.el (describe-variable): Describe ignored and risky local
853         variables in a similar way to that in which we describe safe ones.
855         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
856         (byte-compile-output-file-form, byte-compile-output-docform)
857         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
858         Give some more local variables with common names a "bytecomp-" prefix,
859         so as not to shadow things during compilation.
860         * emacs-lisp/cl-macs.el (load-time-value)
861         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
862         `outbuffer' to `bytecomp-outbuffer'.
864         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
865         since the next two variables cover them automatically now.
866         (elint-builtin-variables, elint-autoloaded-variables): New.
867         (elint-unknown-builtin-args): Remove all members, since they can be
868         parsed automatically now.
869         (elint-extra-errors): New.
870         (elint-env-add-env, elint-env-add-macro): Use cadr.
871         (elint-current-buffer): Use or.  Change final message.
872         (elint-get-top-forms): Use line-end-position.
873         (elint-init-env): Use cadr.  Handle autoload, declare-function,
874         and defalias.
875         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
876         (regexp-assoc): Remove unused function.
877         (elint-top-form): Set elint-current-pos, to record the start of the
878         top-level form, for compilation-mode.
879         (elint-form): Trap errors in macro expansion.  Use dolist.
880         (elint-unbound-variable): Use elint-builtin-variables and
881         elint-autoloaded-variables.
882         (elint-get-args): Use cadr, or.
883         (elint-check-cond-form): Use dolist, cadr.
884         (elint-check-condition-case-form): Doc fix.  Use cadr.
885         Use elint-extra-errors.
886         (elint-log): New function.
887         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
888         Distinguish errors and warnings.
889         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
890         Use a bytecomp-style format.
891         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
892         (elint-get-log-buffer): Use compilation mode.  Disable undo.
893         Don't truncate lines.
894         (elint-initialize): Set builtin and autoloaded variable lists.
895         Only process elint-unknown-builtin-args if non-nil.
896         (elint-find-builtin-variables, elint-find-autoloaded-variables):
897         New functions.
898         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
900 2009-07-22  Kevin Ryde  <user42@zip.com.au>
902         * net/newst-backend.el (newsticker--parse-atom-1.0)
903         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
904         (newsticker--parse-rss-1.0):
905         * progmodes/idlwave.el (idlwave-mode):
906         * progmodes/idlw-shell.el (idlwave-shell-mode):
907         * progmodes/vera-mode.el (vera-mode):
908         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
909         * progmodes/vhdl-mode.el (vhdl-mode):
910         * textmodes/table.el (table-generate-source)
911         (table--warn-incompatibility):
912         Hyperlink urls in docstrings with URL `...'.
914 2009-07-22  Glenn Morris  <rgm@gnu.org>
916         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
917         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
918         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
919         Remove leading * from defcustom docs.
921         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
923         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
924         defcustom doc.
925         (list-load-path-shadows): Optionally, just return shadows as a string.
927         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
929 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
931         * mail/rmailedit.el (rmail-edit-mode): Use
932         auto-save-include-big-deletions.
934         * mail/rmail.el (rmail-variables): Use
935         auto-save-include-big-deletions.
937         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
938         changes.
940 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
942         * calc/calc.el (calc-undo-length): New variable.
943         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
945 2009-07-21  Richard Stallman  <rms@gnu.org>
947         * files.el (auto-save-mode): Handle buffer-save-size = -2
948         for toggling mode.
950 2009-07-21  Glenn Morris  <rgm@gnu.org>
952         * textmodes/ispell.el (ispell-looking-back): Update declaration.
954         * calendar/todo-mode.el (calendar-current-date): Update declaration.
956         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
957         silence compiler.  Instead...
958         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
959         (ps-print-ensure-fontified): Update for above function name changes.
961         * printing.el (pr-mh-get-msg-num, pr-mh-show)
962         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
963         silence compiler.  Instead...
964         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
965         (mh-show-buffer): Only define for compiler.
966         (pr-mh-current-message): Update for above function name changes.
968         * files.el (abort-if-file-too-large): Explicitly pass `filename'
969         as an argument.
970         (find-file-noselect, insert-file-1): Update for above change.
972         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
974         * mail/mailclient.el (mailclient-send-it): Fix message.
976         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
977         (edebug-eval): Check cl-debug-env is bound.
978         (print-level, print-circle): Don't redefine built-in variables.
980         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
981         (custom-print-vectors): Remove old comments from doc.
983         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
984         (emerge-version): Make the variable an obsolete alias for the
985         emacs-version variable.  Make the function obsolete.
986         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
987         Emerge options, rather than merging in into the main Options menu.
988         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
989         and auto advance modes.  Disable edit/fast items when not relevant.
991 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
993         * term/vt420.el (terminal-init-vt420): Fix typo.
995 2009-07-20  Sam Steingold  <sds@gnu.org>
997         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
998         variable (removed from compile.el on 2004-03-11).
1000 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
1002         * files.el (hack-local-variables-filter): Fix last change.
1004 2009-07-19  Juri Linkov  <juri@jurta.org>
1006         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
1007         (dir-local-variables-alist): New buffer-local variable.
1008         (hack-local-variables-filter): If variable is not dir-local,
1009         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
1010         because file-local overrides dir-local.
1011         (c-postprocess-file-styles)<declare-function>:
1012         Remove obsolete declaration.
1013         (hack-dir-local-variables): Add dir-local variable/value pair to
1014         `dir-local-variables-alist' and remove duplicates.  Doc fix.
1016         * help-fns.el (describe-variable): Add information about
1017         file-local and dir-local variables.
1019 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
1021         * files.el (hack-local-variables-filter): Rewrite.
1023 2009-07-19  Glenn Morris  <rgm@gnu.org>
1025         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
1026         Silence compiler by only defining on XEmacs.
1028         * international/mule.el (auto-coding-regexp-alist): Only match
1029         BABYL... at the start of buffer, not of lines.  (Bug#3790)
1031         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
1032         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
1033         (cal-menu-context-mouse-menu): Doc fix.
1035         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
1037         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
1039 2009-07-18  Juri Linkov  <juri@jurta.org>
1041         * info.el: Virtual Info keyword finder.
1042         (add-to-list)<Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
1043         (Info-finder-file): New variable.
1044         (Info-finder-find-file): New function.
1045         (finder-known-keywords, finder-package-info)
1046         (find-library-name, lm-commentary): Use defvar and
1047         declare-function to silence compiler warnings.
1048         (Info-finder-find-node): New function.
1049         (info-finder): New command.
1051         * subr.el (process-kill-buffer-query-function): New function.
1052         (add-hook)<kill-buffer-query-functions>: Add hook
1053         `process-kill-buffer-query-function'.
1055 2009-07-18  Alan Mackenzie  <acm@muc.de>
1057         * progmodes/cc-mode.el (c-before-hack-hook),
1058         (c-postprocess-file-styles): Give invocation of `c-set-style'
1059         DONT-OVERRIDE parameter of t.  Already set style variables will
1060         thus not be overridden by style settings given by `c-file-syle'.
1062         * files.el (hack-local-variables-filter): Remove entries with
1063         duplicate keys from `file-local-variables-alist'.
1065 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
1067         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
1068         x-set-selection if display-selections-p returns nil for the
1069         current frame.
1071 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
1073         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
1075 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
1077         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
1078         Accept nil in addition to a regexp.
1079         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
1080         Accept nil in addition to a regexp.
1081         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
1082         buffers that have an associated file.  Handle nil values of
1083         desktop-buffers-not-to-save and desktop-files-not-to-save.
1084         (Bug#3833)
1086         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1087         (x-disown-selection-internal): New functions.
1089 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
1091         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
1092         warning.
1093         (gdb-breakpoints-header): Move forward to avoid compiler warning.
1094         (gdb-make-header-line-mouse-map): Remove duplicate definition.
1096 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
1098         * simple.el (set-mark): Revert last change.
1100 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
1102         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
1103         rendering of pngs is not possible instead of messaging a long
1104         description.
1106 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
1108         * w32-fns.el (x-selection-owner-p): New function.
1110         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
1111         (mouse-yank-at-click, mouse-yank-primary): If
1112         select-active-regions is non-nil, deactivate the mark before
1113         insertion.
1115         * simple.el (deactivate-mark, set-mark): Only save selection if we
1116         own it.
1118 2009-07-17  Kenichi Handa  <handa@m17n.org>
1120         * case-table.el (describe-buffer-case-table): Fix for the case
1121         that KEY is a cons.
1123 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
1125         * vc-rcs.el (vc-rcs-find-file-hook):
1126         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
1128 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
1130         * net/tramp.el (tramp-wait-for-output): Handle the case when
1131         commands do not return a newline but a null byte before the shell
1132         prompt.  (Bug#3858)
1134 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
1136         * term/ns-win.el (ns-set-alpha): Don't declare.
1137         (ns-set-background-alpha): Remove function.
1139 2009-07-16  Kevin Ryde  <user42@zip.com.au>
1141         * emacs-lisp/copyright.el (copyright-update): Save match-data across
1142         y-or-n-p, for safety.
1144 2009-07-16  Richard Stallman  <rms@gnu.org>
1146         * files.el (auto-save-mode): If buffer-saved-size is -2,
1147         don't clobber it.
1149         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
1150         (rmail-retry-ignored-headers): Add more uninteresting fields.
1152 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
1154         * net/rcirc.el (rcirc): Use history variables.
1155         (rcirc-server-name-history, rcirc-nick-name-history)
1156         (rcirc-server-port-history): New variables.
1158 2009-07-15  Kenichi Handa  <handa@m17n.org>
1160         * international/mule-cmds.el (set-language-environment-charset):
1161         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
1162         ignore them.
1164         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
1165         Delete unibyte-display.
1167 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
1169         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
1171 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
1173         * simple.el (deactivate-mark): Optional argument FORCE.
1174         (set-mark): Use deactivate-mark.
1176         * info.el (Info-search): No need to check transient-mark-mode
1177         before calling deactivate-mark.
1179         * select.el (x-set-selection): Doc fix.
1180         (x-valid-simple-selection-p): Allow buffer values.
1181         (xselect--selection-bounds): Handle buffer values.  Suggested by
1182         David De La Harpe Golden.
1184         * mouse.el (mouse-set-region, mouse-drag-track): Call
1185         copy-region-as-kill before setting the mark, to let
1186         select-active-regions work.
1188 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
1190         * simple.el (deactivate-mark): If select-active-regions is
1191         non-nil, copy the selection data into a string.
1192         (activate-mark): If select-active-regions is non-nil, set the
1193         selection to the current buffer.
1194         (set-mark): Update selection if select-active-regions is non-nil.
1196         * select.el (x-valid-simple-selection-p): Allow buffer values.
1198 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1200         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
1201         and more featureful message-mode.
1203 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
1205         * select.el (x-set-selection): Doc fix.
1206         (x-valid-simple-selection-p): Disallow selection data consisting
1207         of a list or cons of integers, since that is not used.
1208         (xselect--selection-bounds, xselect--int-to-cons): New functions.
1209         (xselect-convert-to-string, xselect-convert-to-length)
1210         (xselect-convert-to-filename, xselect-convert-to-charpos)
1211         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
1213 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
1215         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
1216         output in -break-info command (Emacs bug #3794).
1218 2009-07-14  Glenn Morris  <rgm@gnu.org>
1220         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
1221         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
1222         (edebug-print-length, edebug-print-level, edebug-print-circle)
1223         (edebug-sit-for-seconds, edebug-view-outside)
1224         (edebug-bounce-point, edebug-set-global-break-condition)
1225         (edebug-Go-nonstop-mode, edebug-trace-mode)
1226         (edebug-Trace-fast-mode, edebug-continue-mode)
1227         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
1228         (edebug-visit-eval-list): Doc fixes.
1230         * subr.el (def-edebug-spec): Doc fix.
1232 2009-07-14  Kenichi Handa  <handa@m17n.org>
1234         * international/characters.el: Fix setting of category ?C.
1236 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
1238         * term/ns-win.el (x-select-font): defailias x-select-font to
1239         ns-popup-font-panel instead of generate-fontset-menu.
1241 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
1243         * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
1245 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
1247         * arc-mode.el (archive-find-type): Allow for a PK00 string before
1248         the PK\003\004 header (Bug#3770).
1250 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
1252         * pcomplete.el (pcomplete-comint-setup): Check for
1253         shell-dynamic-complete-filename too.
1255 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
1257         * simple.el (temporary-goal-column): Change the value for
1258         line-move-visual to a cons cell.
1259         (line-move-visual): Record or set the window hscroll, if
1260         necessary (Bug#3494).
1261         (line-move-1): Handle cons value of temporary-goal-column.
1263 2009-07-11  Kenichi Handa  <handa@m17n.org>
1265         * international/mule-diag.el (describe-character-set): Don't show
1266         width.
1268 2009-07-10  Sam Steingold  <sds@gnu.org>
1270         * progmodes/compile.el (compilation-mode-font-lock-keywords):
1271         Omake sometimes indents the errors it prints, so allow all
1272         regexps to start with spaces.
1274 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
1276         * cus-edit.el (customize-changed-options-previous-release):
1277         Bump value to 22.1.  (Bug#3804)
1279 2009-07-08  Sam Steingold  <sds@gnu.org>
1281         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
1282         to be a cons cell (test . ignored-directory) to selectively ignore
1283         some directories depending on the location of the search.
1285 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
1287         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
1288         remote user is root, on the local host.
1289         (tramp-local-host-p): Either the local user or the remote user
1290         must be root.  (Bug#3771)
1292 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
1294         * progmodes/gdb-mi.el (gdb): Remove description of
1295         gdb-use-separate-io-buffer.
1296         (menu): Don't allow toggling of or enable
1297         gdb-use-separate-io-buffer from menubar.
1299 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
1301         * mail/unrmail.el (unrmail): Make sure the message ends with two
1302         newlines (Bug#3769).
1304 2009-07-08  Glenn Morris  <rgm@gnu.org>
1306         * calendar/calendar.el (calendar-current-date): Rework previous change.
1308 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
1310         * calendar/calendar.el (calendar-current-date):
1311         Add an optional argument giving an offset from today.
1313 2009-07-08  Glenn Morris  <rgm@gnu.org>
1315         * tutorial.el (tutorial--describe-nonstandard-key):
1316         Adjust the message for when a key has been unbound.
1317         (help-with-tutorial): Hide the arch-tag.
1319 2009-07-08  Kenichi Handa  <handa@m17n.org>
1321         * international/fontset.el (setup-default-fontset): For each
1322         script, append (not set) font-specs.
1324         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
1325         docstring.
1327 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
1329         * progmodes/gdb-mi.el (gdb-init-1): Move sending
1330         -data-list-register-names to ...
1331         (gdb-starting): ... here because GDB 7.0 requires execution to
1332         have started when using this MI command.
1333         (gdb-set-header): New function to distinguish select and
1334         unselected tabs in gdb buffers.
1335         (gdb-propertize-header): New macro that uses gdb-set-header.
1336         (gdb-breakpoints-header, gdb-locals-header): Use it.
1337         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
1339 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
1341         * Makefile.in (ELCFILES): Remove fadr.elc.
1343 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
1345         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
1346         may contain frame information, so `string-match' should be used.
1347         (gdb-update): Disassembly is invalidated through
1348         `gdb-get-selected-frame'.
1349         (gdb-pad-string): New function to pad string with spaces.
1350         (gdb-invalidate-disassembly): Invalidate only if the buffer
1351         exists.
1352         (gdb-disassembly-handler-custom): Column alignment.
1353         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
1354         placing new ones.
1355         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
1356         end of line, too.
1357         (gdb-frame-handler): Match convention to for disassembly buffer
1358         mode name.
1359         (gdb-stack-list-frames-handler): Rewritten without regexps.
1360         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
1361         not highlight breakpoints without line information.
1362         (gdb-input): Add trailing newline to command.
1364         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
1365         buffer properly.
1366         (gdb-breakpoints-list-handler-custom): Replacement for
1367         `gdb-break-list-handler'. Using real parser instead of regexps
1368         now.
1369         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
1370         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
1371         to place breakpoints.
1372         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
1373         functions.
1374         (gdb-disassembly-handler-custom): Show overlay arrow.
1375         (gdb-disassembly-place-breakpoints): Show breakpoints in
1376         disassembly buffer.
1377         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
1378         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
1379         instead of parsing breakpoints buffer. Fixed old menu references
1380         in `gud-menu-map'.
1382         * fadr.el: Remove.
1384         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el
1385         (gdb-memory-address): New variable which holds top address of
1386         memory page shown in memory buffer
1387         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
1388         customization variables.
1389         New functions:
1390         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
1391         display the memory buffer.
1392         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
1393         buffer display parameters.
1394         (def-gdb-memory-format, gdb-memory-format-binary)
1395         (gdb-memory-format-octal, gdb-memory-format-unsigned)
1396         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
1397         Functions for setting memory buffer format.
1398         (gdb-memory-unit-word, gdb-memory-unit-halfword)
1399         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
1400         unit size used in memory buffer.
1401         (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
1402         to next/previous page of memory buffer.
1403         Now using (bindat-get-field) instead of fadr functions.
1405 2009-07-07  Sam Steingold  <sds@gnu.org>
1407         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
1408         non-top-level files.
1410 2009-07-07  Kenichi Handa  <handa@m17n.org>
1412         * international/mule-cmds.el (reset-language-environment): Put
1413         the highset priority to the charset iso-8859-1.
1415 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
1417         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
1418         to the end of the line when locating the block (Bug#700).
1420 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
1422         * net/tramp.el (tramp-handle-write-region): Flush file properties
1423         in case of short track.
1425 2009-07-07  Michael McNamara  <mac@mail.brushroad.com>
1427         * verilog-mode.el (verilog-error-regexp-emacs-alist): Coded custom
1428         representation of verilog error regular expressions to work with
1429         Emacs-22's new format.
1430         (verilog-error-regexp-xemacs-alist): Coded custom representation
1431         of verilog error regular expressions to work with XEmacs format
1432         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
1433         error recognition into XEmacs.
1434         (verilog-error-regexp-add-emacs): Hook routine to install verilog
1435         error recognition into Emacs-22.
1437 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
1439         * woman.el: Remove stand-alone closing parentheses.
1440         (woman-file-name, woman2-format-paragraphs)
1441         (woman-leave-blank-lines): Code cleanup.
1442         (woman-use-own-frame): Change default to nil.
1443         (woman-italic, woman-bold, woman-unknown, woman-addition): Change
1444         defaults to inherit from default faces.
1445         (woman2-process-escapes): Consume the newline after a stand-alone
1446         filler character (Bug#3651).
1448 2009-07-06  Glenn Morris  <rgm@gnu.org>
1450         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
1451         (top-level): Move provide to the end.
1452         (ffap): Remove defunct URL from custom group.
1454         * subr.el (eval-after-load): Doc fix.
1456 2009-07-06  Vincent Belaïche <vincent.belaiche@gmail.com>
1458         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
1459         `calc-embedded-word' is called twice.
1461 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1463         * files.el (find-alternate-file-other-window, find-alternate-file):
1464         Obey confirm-nonexistent-file-or-buffer.
1466 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
1468         * dired-aux.el (dired-show-file-type): Handle remote files.
1470 2009-03-22  Jari Aalto  <jari.aalto@cante.net>
1472         * desktop.el (desktop-globals-to-save):
1473         Add file-name-history (Bug#2750).
1475 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
1477         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
1479 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
1481         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
1482         property on entire argument since this is what eshell-lisp-command
1483         expects.
1485 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
1487         * net/tramp-gvfs.el (tramp-gvfs-methods)
1488         (tramp-gvfs-zeroconf-domain)
1489         (tramp-bluez-discover-devices-timeout): Add version flag.
1490         (tramp-gvfs-handler-mounted-unmounted)
1491         (tramp-gvfs-connection-mounted-p): Polish handling of
1492         incompatibilities between GVFS 0.2 and 1.0.
1494 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
1496         * cus-start.el (all): Add make-pointer-invisible.
1498 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
1500         * calc-math.el (math-use-emacs-fn): Make sure that the number is
1501         formatted correctly.
1503 2009-07-02  Juri Linkov  <juri@jurta.org>
1505         * info.el: Virtual Info files and nodes.
1506         (Info-virtual-files, Info-virtual-nodes): New variables.
1507         (Info-current-node-virtual): New variable.
1508         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
1509         New functions.
1510         (Info-file-supports-index-cookies): Use Info-virtual-file-p
1511         to check for a virtual file instead of checking a fixed list
1512         of node names.
1513         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
1514         instead of ad-hoc processing of "dir" and (apropos history toc).
1515         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
1516         instead of ad-hoc processing of "dir" and (apropos history toc).
1517         Reread a file when moving from a virtual node.
1518         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
1519         (Info-directory-toc-nodes, Info-directory-find-file)
1520         (Info-directory-find-node): New functions.
1521         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
1522         (Info-history): Move part of code to
1523         `Info-history-find-node'.
1524         (Info-history-toc-nodes, Info-history-find-file)
1525         (Info-history-find-node): New functions.
1526         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
1527         (Info-toc): Move part of code to `Info-toc-find-node'.
1528         (Info-toc-find-node): New function.
1529         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
1530         the current Info file name to references because now the node
1531         "*TOC*" belongs to the same Info manual.
1532         (Info-toc-build): Rename from `Info-build-toc'.
1533         (Info-toc-nodes): Rename input argument `file' to `filename'.
1534         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
1535         instead of ad-hoc processing of ("dir" apropos history toc).
1536         (Info-index-nodes): Use Info-virtual-file-p
1537         to check for a virtual file instead of checking a fixed list
1538         of node names.
1539         (Info-index-node): Add check for `Info-current-node-virtual'.
1540         Raise `save-match-data' higher up the tree to contain
1541         `search-forward' too (bug fix).
1542         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
1543         (Info-virtual-index-nodes): New variable.
1544         (Info-virtual-index-find-node, Info-virtual-index): New functions.
1545         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
1546         (Info-apropos-file, Info-apropos-nodes): New variables.
1547         (Info-apropos-toc-nodes, Info-apropos-find-file)
1548         (Info-apropos-find-node, Info-apropos-matches): New functions.
1549         (info-apropos): Move part of code to `Info-apropos-find-node' and
1550         `Info-apropos-matches'.
1551         (Info-mode-map): Bind "I" to `Info-virtual-index'.
1552         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
1553         for a virtual file instead of checking a fixed list of node names.
1555         * simple.el (async-shell-command): New command.
1557         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
1559         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
1560         instead of `mount-info'.
1562 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
1564         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
1565         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
1567 2009-07-02  Kenichi Handa  <handa@m17n.org>
1569         * international/mule.el (set-keyboard-coding-system): Force *-unix
1570         coding-system to avoid eol conversion.
1572 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
1574         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1575         Add handler for `process-file', `shell-command' and
1576         `start-file-process'.
1577         (tramp-gvfs-handle-shell-command)
1578         (tramp-gvfs-handle-start-file-process)
1579         (tramp-gvfs-handle-process-file): New defuns.
1580         (tramp-synce-list-devices): Simplify check for existence of property.
1582 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
1584         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
1586 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
1588         * language/korean.el (set-language-info-alist): Add korean-cp949,
1589         cp949 to spec.
1591 2009-07-01  Kenichi Handa  <handa@m17n.org>
1593         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
1595         * international/encoded-kb.el: Deleted.
1597         * international/mule.el (set-keyboard-coding-system): Perform the
1598         necessary setup here instead of calling encoded-kbd-setup-display.
1600 2009-07-01  Glenn Morris  <rgm@gnu.org>
1602         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
1604 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
1606         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
1608 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
1610         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
1611         Handle also the 'rename case, when setting file modes.  (Bug#3712)
1612         (tramp-default-file-modes) Remove execute permissions.
1614         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
1615         (top): Add a default for "synce" in `tramp-default-user-alist'.
1616         Add completion function for "synce" method.
1617         (tramp-hal-service, tramp-hal-path-manager)
1618         (tramp-hal-interface-manager, tramp-hal-interface-device):
1619         New defconst.
1620         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
1621         (tramp-synce-list-devices, tramp-synce-parse-device-names):
1622         New defuns.
1624         * net/trampver.el: Update release number.
1626 2009-06-30  Kenichi Handa  <handa@m17n.org>
1628         * international/fontset.el (setup-default-fontset): Add CJK fonts
1629         for symbols and the other miscellaneous characters.
1631         * language/korea-util.el (setup-korean-environment-internal):
1632         Make char-width-table suitable for Korean environments.
1633         (exit-korean-environment): Cancel above.
1635         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
1636         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
1637         setup-funcion to make char-widht-table suitable for respective
1638         environments, and an exit-function to cancel that.
1640         * language/japan-util.el (setup-japanese-environment-internal):
1641         Call use-cjk-char-width-table with arg `ja_JP'.
1643         * international/characters.el (cjk-char-width-table): Delete it.
1644         (cjk-char-width-table-list): New variable.
1645         (use-cjk-char-width-table): New arg local-name.
1646         (use-default-char-width-table): Fix for the case that Emacs is
1647         already using the default char-width-table.
1649 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
1651         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
1652         modes mandatory.  (Bug#3712)
1654 2009-06-29  Alan Mackenzie  <acm@muc.de>
1656         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
1657         correction between the visible width of TABs and their number of bytes.
1659 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
1661         * server.el (server-buffer-done): Prevent kill-buffer from
1662         prompting by clearing the buffer modification flag (Bug#3696).
1664 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
1666         * verilog-mode.el (verilog-beg-of-statement)
1667         (verilog-endcomment-reason-re): Support unique case and priority case.
1668         (verilog-basic-complete-re): Support localparam lineup.
1669         (verilog-beg-of-statement-1): Fix for robustness, unique case.
1670         (verilog-set-auto-endcomments): Fix for unique case, always_comb
1671         commenting.
1672         (verilog-leap-to-case-head): Now support *nested* unique &
1673         priority case statements.
1674         (verilog-auto-lineup): Make just declarations the default (as it
1675         had been).
1676         (verilog-leap-to-case-head): Support priority/unique case statements.
1677         (verilog-auto-lineup): Rework to give users radio buttons to
1678         select the various styles of automatic lineup
1679         (verilog-error-regexp-alist): Rework to support the XEmacs style
1680         of error regular expressions from compilers, lint tools &
1681         simulators.  Note that GNU Emacs has made it impossible for a mode
1682         to load such things.
1683         (electric-verilog-terminate-line, verilog-indent-declaration)
1684         (verilog-auto-wiure): Rework for radio button selection of
1685         auto-lineup selection of specification of auto lineup.
1686         (verilog-beg-of-statement-1): Redesign to support proper operation
1687         in additional code, based on testing with auto-lineup.
1688         (verilog-calculate-indent, assignments & declarations)
1689         (verilog-backward-token): Enhance to support auto-lineup of
1690         assignments & declarations.
1691         (verilog-in-directive-p, verilog-at-struct-p): New function for
1692         easy test of whether we are.
1693         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
1694         to support safe execution at almost anyline.
1695         (verilog-calc-1): Properly support indenting deep inside generate
1696         blocks.
1697         (verilog-init-font) Remove definition & use of verilog-init-font,
1698         as it is redundant with font-lock-defaults.
1699         (verilog-mode): Alter the definition of verilog-font-lock-defualts
1700         to avoid circular calls if syntax-ppss is a function (as is the
1701         case now in 22.x GNU Emacs) as that function would sometimes call
1702         itself, leading to (nearly) infinite recursion
1703         (verilog-ovm-begin-re, verilog-ovm-end-re)
1704         (verilog-ovm-statement-re, verilog-leap-to-head)
1705         (verilog-backward-token): Add support for OVM macros.  Some are
1706         complete statements, and others open and close scopes like begin
1707         and end.
1708         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
1709         (verilog-defun-level-generate-only-re): Really fix the defun-list
1710         compilation issue
1711         (verilog-calc-1) (verilog-beg-of-statement): Enhance support for
1712         coverpoint, constraint and cross statements
1713         (verilog-defun-level-list, verilog-generate-defun-level-list)
1714         (verilog-all-defun-level-list): Redo these specifications - it is
1715         too hard to support eval-when compile aggregation of lists also
1716         built at when-compile time.
1717         (verilog-defun-level-list): Place defconsts of variables used in
1718         building regular expressions which are built in eval-when-compile
1719         bodies in the same eval-when-compile body to facilitate compile
1720         without load.
1721         (verilog-beg-block-re-ordered): Support indenting
1722         virtual/protected tasks and functions.
1723         (verilog-defun-level-list,verilog-in-generate-region-p)
1724         (verilog-backward-ws&directives, verilog-calc-1): Speed up
1725         indentation of some module items (generate items).
1726         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
1727         across virtual/protected tasks and functions.
1729 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
1731         * verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
1732         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
1733         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
1734         in concatenations.  Reported by Yishay Belkind.
1735         (verilog-auto-ascii-enum): Support one-hot state machines in
1736         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
1737         (verilog-auto-inst, verilog-auto-inst-port): Include interface
1738         modport in AUTOINST and add vl-modport for users.  Reported by
1739         David Rogoff.
1740         (verilog-auto-inout-module, verilog-auto-inst)
1741         (verilog-decls-get-interfaces, verilog-insert-definition)
1742         (verilog-insert-one-definition, verilog-read-decls)
1743         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
1744         (verilog-sig-modport, verilog-signals-combine-bus)
1745         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
1746         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
1747         Suggested by David Rogoff.
1748         (verilog-repair-open-comma): Fix non-insertion of comma when
1749         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
1750         (verilog-make-width-expression): Simplify [A-1:0] expression
1751         widths to just {A{1'b0}}.
1752         (verilog-mode): Cleanup checkdoc warnings.
1753         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
1754         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
1755         inputs/outputs or data type.  Suggested by Vasu Kandadi.
1756         (next-error-last-buffer): Fix byte-compiler warning.
1757         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
1758         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
1759         or shell command text during AUTO expansion.  Suggested by Tad Truex.
1760         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
1761         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
1762         Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
1763         in AUTOINOUT. Reported by Matthew Lovell.
1764         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
1765         causing use of <= assignments.  Reported by Alex Reed.
1766         (verilog-read-decls): Fix triand, trior, wand, wor to be
1767         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
1768         (verilog-extended-complete-re): Support import "DPI-C" functions.
1769         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
1770         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
1771         (verilog-insert-date, verilog-insert-year)
1772         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
1773         Windows systems.  Reported by Michael Potts.
1774         (verilog-read-module-name): Fix AUTOINST when the child module
1775         declaration's name is a tick define. Reported by Elliot Mednick.
1776         (verilog-read-decls): Fix V2K parameter bit subscripts getting
1777         passed to next parameter's definition. Reported by Bruce T.
1778         (verilog-read-decls): Fix detecting "parameter int" when using
1779         AUTOINSTPARAM.  Reported by Bruce T.
1780         (verilog-goto-defun): Fix goto not finding modules unless first
1781         perform a verilog-auto expansion. Suggested by Lawrence Butcher.
1782         (verilog-mode): Expand -f flag arguments on entry to mode so
1783         verilog-goto-defun will work.  Reported by Lawrence Butcher.
1784         (verilog-getopt): Expand environment variables in -f file
1785         arguments.  Suggested by Lawrence Butcher.
1786         (verilog-set-define): Fix "Symbol's value as variable is void"
1787         when reading enumerations.
1788         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
1789         Suggested by Stephen Peltan.
1790         (verilog-read-defines): Fix reading of enumerations in include
1791         files.  Reported by Steve Peltan.
1793 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
1795         * files.el (trash-directory): Fix defcustom type.
1797 2009-06-28  Juri Linkov  <juri@jurta.org>
1799         * help-fns.el (describe-function-1): Correctly locate adviced
1800         functions in hyperlink (Bug#2438).
1802 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
1804         * files.el (trash-directory): Change default to nil.
1805         (move-file-to-trash): If trash-directory is nil and
1806         system-move-file-to-trash is unbound, perform freedesktop-style
1807         trashing.
1809 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
1811         * files.el (move-file-to-trash): Add freedesktop trash
1812         support (Bug#973).
1814 2009-06-28  Glenn Morris  <rgm@gnu.org>
1816         * autorevert.el (global-auto-revert-non-file-buffers)
1817         (global-auto-revert-mode): Doc fixes.
1819 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
1821         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
1823 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
1825         * faces.el (x-handle-named-frame-geometry): Ensure that we have
1826         opened an X connection before calling x-get-resource (Bug#3194).
1828         * play/doctor.el: Remove reference to obsolete website.
1829         (make-doctor-variables): Correct grammar mistake (Bug#2633).
1831 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
1833         Remove find-file-not-found-hook VC method.  (Bug#2757)
1834         * vc-hooks.el (vc-file-not-found-hook)
1835         (vc-default-find-file-not-found-hook): Remove functions.
1836         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
1837         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
1838         * vc.el:
1839         * vc-hg.el:
1840         * vc-git.el: Do not mention find-file-not-found-hook VC method.
1842 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
1844         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
1845           compatibility function for `looking-back'
1847         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
1848         Use `ispell-looking-back'
1850 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
1852         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
1853         rather than `filename'.
1855 2009-06-23  Miles Bader  <miles@gnu.org>
1857         * face-remap.el (text-scale-set): New function.
1859 2009-06-23  Glenn Morris  <rgm@gnu.org>
1861         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
1863         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
1865         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
1867         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
1869         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
1870         Simplify Persian conditionals.
1872         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
1873         variable `filename'.
1875         * comint.el (comint-insert-input): Doc fix.
1877         * Makefile.in (ELCFILES): Fix typo in previous change.
1879 2009-06-23  Miles Bader  <miles@gnu.org>
1881         * cus-start.el: Add entry for `recenter-redisplay'.
1883 2009-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
1885         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
1886         Add an optional argument for the backend, use it instead of
1887         calling vc-backend.
1888         (vc-mode-line): Add an optional argument for the backend.
1889         Pass the backend to vc-state and vc-working-revision.  Move code for
1890         special handling for vc-state being a buffer to ...
1892         * vc-rcs.el (vc-rcs-find-file-hook):
1893         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
1895         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
1896         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
1897         vc-stay-local-p and vc-mode-line calls.
1899         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
1900         (vc-cvs-diff, vc-cvs-annotate-command)
1901         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
1902         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
1903         vc-mode-line calls.
1905         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
1906         direct comparison.
1907         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
1908         backend when calling vc-mode-line.
1909         (vc-register): Do not create a closure for calling the vc register
1910         function, call it directly.
1912 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
1914         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
1915         to make it obvious item can be clicked.
1917         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
1919 2009-06-23  Kenichi Handa  <handa@m17n.org>
1921         * language/korea-util.el (korean-key-bindings): Change the binding
1922         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
1923         same command.
1925 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
1927         Sync with Tramp 2.1.16.
1929         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
1931         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
1932         when a loading of a package fails.  Completion function for rsync
1933         is `tramp-completion-function-alist-ssh'.
1934         (all): Replace all calls of `split-string' and
1935         `tramp-split-string' by `tramp-compat-split-string'.
1936         (tramp-default-method): Use `tramp-compat-process-running-p'.
1937         (tramp-default-proxies-alist): Allow also Lisp forms.
1938         (tramp-remote-path): Add choice "Private Directories".
1939         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
1940         (tramp-domain-regexp): Allow also "-", "_" and ".".
1941         (tramp-end-of-output): Remove newlines, and add "$" at the end.
1942         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
1943         (tramp-debug-message): Insert header line in debug buffer.
1944         (tramp-handle-directory-files-and-attributes-with-stat):
1945         Care about filenames with spaces, or starting with "-".
1946         (tramp-handle-dired-uncache): New defun.
1947         (tramp-handle-insert-directory): Don't flush the directory from
1948         cache, this is handled by `dired-uncache' now.
1949         (tramp-handle-insert-file-contents): Improve error handling.
1950         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1951         Quote `tramp-end-of-output'.
1952         (tramp-action-password): Improve trace message.
1953         (tramp-check-for-regexp): Both echoes must be present, before removing.
1954         (tramp-open-connection-setup-interactive-shell): Trace coding system.
1955         (tramp-compute-multi-hops): Eval cons cells of
1956         `tramp-default-proxies-alist'.
1957         (tramp-maybe-open-connection): Use the same command pattern for
1958         first hop and further hops.
1959         (tramp-wait-for-output): Remove handling of newlines.
1960         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
1961         (tramp-split-string): Remove function.  It is handled in
1962         tramp-compat now.
1964         * net/tramp-cmds.el (tramp-bug):
1965         Recommend `tramp-cleanup-all-connections' in the bug mail.
1967         * net/tramp-compat.el (tramp-compat-split-string)
1968         (tramp-compat-process-running-p): New defuns.
1970         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
1971         for `dired-uncache'.
1973         * net/tramp-gvfs.el: New package.
1975         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1976         Add handler for `dired-uncache'.
1977         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
1979         * net/trampver.el: Update release number.  Make version check fit
1980         for SXEmacs 22.
1982 2009-06-22  Jim Meyering  <meyering@redhat.com>
1984         Automatically handle .xz suffix (XZ-compressed files), too.
1985         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
1986         XZ is the successor to LZMA: <http://tukaani.org/xz/>
1988 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
1989             Nick Roberts  <nickrob@snap.net.nz>
1991         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
1992         repository (http://sphinx.net.ru/hg/gdb-mi/).
1994 2009-06-22  Glenn Morris  <rgm@gnu.org>
1996         * files.el (dir-locals-collect-mode-variables): Allow for any number of
1997         `mode' and `eval' entries.  (Bug#3430)
1999         * Makefile.in (ELCFILES): Add fadr.elc.
2001         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
2002         differing behavior of \n and ^ in strings.  (Bug#3385)
2004         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
2006         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
2007         property.
2008         (lisp-indent-function): Make it a defcustom.
2010 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
2012         * progmodes/gdb-ui.el: Replace with ...
2013         * progmodes/gdb-mi.el: ... this file.
2014         * progmodes/gud.el: Modify for gdb-mi.el.
2016 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
2018         * fadr.el: New file.
2020 See ChangeLog.14 for earlier changes.
2022 ;; Local Variables:
2023 ;; coding: utf-8
2024 ;; End:
2026     Copyright (C) 2009  Free Software Foundation, Inc.
2028   This file is part of GNU Emacs.
2030   GNU Emacs is free software: you can redistribute it and/or modify
2031   it under the terms of the GNU General Public License as published by
2032   the Free Software Foundation, either version 3 of the License, or
2033   (at your option) any later version.
2035   GNU Emacs is distributed in the hope that it will be useful,
2036   but WITHOUT ANY WARRANTY; without even the implied warranty of
2037   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
2038   GNU General Public License for more details.
2040   You should have received a copy of the GNU General Public License
2041   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
2043 ;; arch-tag: d3e45e38-19e2-49b6-8dc2-7cb26adcc5a1