]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
(what-page): Don't move to beginning of line.
[gnu-emacs] / lisp / ChangeLog
1 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * textmodes/page.el (what-page): Don't move to beginning of line.
4 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
5
6 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
7
8 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
9
10 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
11
12 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
13 * help.el (help-for-help-internal): Add purecopy calls for text.
14
15 * vc.el (top): print-log method now takes an optional SHORTLOG
16 argument. Add a new method: root.
17 (vc-root-diff, vc-print-root-log): New functions.
18 (vc-log-short-style): New variable.
19 (vc-print-log-internal): Add support for showing short logs.
20
21 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
22 vc-print-root-log and vc-print-root-diff.
23
24 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
25 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
26 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
27 short logs.
28
29 * vc-cvs.el (vc-cvs-print-log):
30 * vc-mtn.el (vc-mtn-print-log):
31 * vc-rcs.el (vc-rcs-print-log):
32 * vc-sccs.el (vc-sccs-print-log):
33 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
34 that is ignored for now.
35
36 * vc-mtn.el (vc-mtn-annotate-command):
37 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
38
39 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
40
41 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
42 to function-key-map, and give them ascii-character property.
43 * term/x-win.el (x-alternatives-map):
44 * term/ns-win.el (ns-alternatives-map):
45 * term/internal.el (msdos-key-remapping-map):
46 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
47
48 2009-09-14 Glenn Morris <rgm@gnu.org>
49
50 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
51 temp-buffers (2009-09-12).
52
53 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
54
55 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
56 the new read-key function.
57
58 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
59
60 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
61 is defined (Bug#4405).
62
63 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
64
65 * recentf.el (recentf-cleanup): Use a hash table to find
66 duplicates (Bug#4407).
67
68 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
69
70 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
71 kp-0 to ascii equivalents (Bug#4325).
72
73 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
74
75 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
76
77 * eshell/em-hist.el:
78 * eshell/em-dirs.el (eshell-complete-user-reference):
79 Declare pcomplete functions and variables to avoid compiler warnings.
80
81 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
82
83 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
84 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
85 * eshell/em-alias.el (eshell-aliases-file):
86 * eshell/em-hist.el (eshell-history-file-name):
87 Use expand-file-name instead of concat to make file names (Bug#4308).
88
89 2009-09-13 Glenn Morris <rgm@gnu.org>
90
91 * ediff-merg.el (ediff-do-merge):
92 * filesets.el (filesets-run-cmd):
93 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
94 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
95 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
96 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
97 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
98 Replace empty `let's with `progn'.
99
100 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
101
102 * mail/sendmail.el (send-mail-function):
103 * tooltip.el (tooltip-mode):
104 * simple.el (transient-mark-mode):
105 * rfn-eshadow.el (file-name-shadow-mode):
106 * frame.el (blink-cursor-mode):
107 * font-core.el (global-font-lock-mode):
108 * files.el (temporary-file-directory)
109 (small-temporary-file-directory, auto-save-file-name-transforms):
110 * epa-hook.el (auto-encryption-mode):
111 * composite.el (global-auto-composition-mode):
112 Use custom-initialize-delay.
113 * startup.el (command-line): Don't explicitly call
114 custom-reevaluate-setting for all the above vars.
115 * custom.el (custom-initialize-safe-set)
116 (custom-initialize-safe-default): Delete.
117
118 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
119
120 * term/x-win.el (x-initialize-window-system):
121 * term/w32-win.el (w32-initialize-window-system):
122 * term/ns-win.el (ns-initialize-window-system): Don't call
123 mouse-wheel-mode since it's enabled globally by default already.
124
125 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
126 actually define the variable, but only silences the byte-compiler.
127 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
128 before looking it up.
129 (mouse-wheel-scroll-amount): Also reset the bindings if this value
130 is changed.
131
132 2009-09-12 Glenn Morris <rgm@gnu.org>
133
134 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
135 1000.
136 (elint-add-required-env): Don't beep on error.
137 (elint-forms): In case of error, return ENV unchanged.
138 (elint-init-env): Skip non-list forms.
139 (elint-log): Handle unknown file positions.
140
141 2009-09-12 Daiki Ueno <ueno@unixuser.org>
142
143 * epg.el (epg-make-context): Add autoload cookie.
144 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
145 (epg-decrypt-string, epg-start-verify, epg-verify-file)
146 (epg-verify-string, epg-start-sign, epg-sign-file)
147 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
148 (epg-encrypt-string, epg-start-export-keys)
149 (epg-export-keys-to-file, epg-export-keys-to-string)
150 (epg-start-import-keys, epg-import-keys-from-file)
151 (epg-import-keys-from-string, epg-start-receive-keys)
152 (epg-receive-keys, epg-import-keys-from-server)
153 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
154 (epg-sign-keys, epg-start-generate-key)
155 (epg-generate-key-from-file, epg-generate-key-from-string):
156 Remove autoload cookie.
157
158 2009-09-12 Eli Zaretskii <eliz@gnu.org>
159
160 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
161 reevaluation of trash-directory.
162
163 * mwheel.el: Fix last change.
164 (mouse-wheel-mode): New defvar.
165 (mouse-wheel-mode): Remove autoload cookie.
166
167 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
168
169 * mwheel.el (mwheel-installed-bindings): New var.
170 (mouse-wheel-mode): Use it, so as to make sure we really remove all
171 the bindings we set last time. Use custom-initialize-delay.
172 * loadup.el: Load mwheel after term/*-win.el.
173 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
174 and mouse-wheel-up-event now that their first evaluation is done
175 sufficiently late to be correct.
176
177 * startup.el (tutorial-directory): Make it a defcustom.
178 Use custom-initialize-delay rather than eval-at-startup to set it.
179 * image.el (image-load-path): Make it a defcustom.
180 Use custom-initialize-delay rather than eval-at-startup to set it.
181 * subr.el (eval-at-startup): Remove.
182 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
183
184 * subr.el (do-after-load-evaluation): Warn the user after loading an
185 obsolete package.
186
187 2009-09-12 Glenn Morris <rgm@gnu.org>
188
189 * proced.el (proced-mark-alt): Remove alias.
190 (proced-mode-map): Remove proced-mark-alt.
191
192 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
193 Elint file and directory. Remove initialization entry.
194
195 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
196 commands.
197 (elint-current-buffer): Set mode-line-process.
198 (elint-init-env): Handle define-derived-mode.
199 Fix declare-function with unspecified arglist. Guard against odd
200 defalias statements (eg iso-insert's 8859-1-map).
201 (elint-add-required-env): Use a temp buffer.
202 (elint-form): Just print the function/macro name, not the whole form.
203 Return env unchanged if we fail to parse a macro.
204 (elint-forms): Guard against parse errors.
205 (elint-output): New function, to handle batch mode.
206 (elint-log-message): Add optional argument. Use elint-output.
207 (elint-set-mode-line): New function.
208
209 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
210
211 * emacs-lisp/elp.el (elp-not-profilable): Add more
212 functions (Bug#4233).
213
214 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
215
216 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
217 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
218
219 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
220
221 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
222 (gdb-var-list-children): Use json parsing.
223
224 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
225
226 * progmodes/js.el (js--proper-indentation): Handle the case where
227 char-before is null. Reported by Deniz Dogan.
228
229 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
230
231 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
232
233 2009-09-11 Daiki Ueno <ueno@unixuser.org>
234
235 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
236 (epg-digest-algorithm-alist): Add SHA224.
237 (epg-context-set-passphrase-callback)
238 (epg-context-set-progress-callback): Add description about
239 callback function.
240
241 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
242
243 * custom.el (custom-delayed-init-variables): New var.
244 (custom-initialize-delay): New function.
245 * startup.el (command-line): "Re"evaluate all vars in
246 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
247 explicitly any more.
248 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
249 to avoid creating a ~/.emacs.d at build-time (bug#4347).
250
251 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
252
253 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
254
255 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
256 (gdb-var-update-handler): Use json parsing.
257
258 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
259
260 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
261 decode annotated text, regardless of language environment. (Bug#2741)
262
263 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
264
265 * Makefile.in (autoloads): Make rmail.el writable as well.
266
267 2009-09-11 Glenn Morris <rgm@gnu.org>
268
269 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
270 loaddefs.el.
271 * dired.el: Regenerate with extracted autoloads.
272 * Makefile.in (autoloads): Make dired.el writable.
273
274 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
275 * ibuffer.el: Regenerate with extracted autoloads.
276 * Makefile.in (autoloads): Make ibuffer.el writable.
277
278 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
279 * version.el (emacs-copyright, emacs-major-version)
280 (emacs-minor-version): Reformat doc-strings for make-docfile.
281
282 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
283 functions and variables, since they must be stuff specific to some other
284 platform.
285 (apropos-print): Make mouse-click message less specific about button.
286
287 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
288 that records where a macro was defined.
289 * help-fns.el (describe-function-1): Mention if a function has a
290 compiler-macro.
291 * help-mode.el (help-function-cmacro): New button.
292
293 * locate.el (top-level): Always require dired.
294 (locate-mode-map): Initialize inside the defvar.
295
296 * net/ange-ftp.el (dired-compress-file): Declare.
297 (ange-ftp-dired-compress-file): Add doc string.
298
299 * term/ns-win.el (x-display-name, x-setup-function-keys):
300 Unify doc-strings with X versions.
301
302 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
303
304 * emulation/crisp.el (crisp-mode-map): Move initialization
305 into declaration.
306 (crisp-mode): Use define-minor-mode.
307
308 * progmodes/xscheme.el (xscheme-evaluation-commands):
309 Put a :advertised-binding property rather than using
310 advertised-xscheme-send-previous-expression.
311 (advertised-xscheme-send-previous-expression): Declare obsolete.
312 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
313 `advertised-undo'.
314 (crisp-mode): Add corresponding bindings to
315 undo's :advertised-binding instead.
316 * dired.el (dired-mode-map): Put a :advertised-binding property rather
317 than using dired-advertised-find-file.
318 (dired-advertised-find-file):
319 * simple.el (advertised-undo):
320 * wid-edit.el (advertised-widget-backward): Declare obsolete.
321 (widget-keymap): Put a :advertised-binding property rather
322 than using advertised-widget-backward.
323 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
324 than using advertised-undo.
325 * tutorial.el (tutorial--default-keys): Adjust accordingly.
326
327 2009-09-10 Simon South <ssouth@slowcomputing.org>
328
329 * progmodes/delphi.el (delphi-tab): Indent region when Transient
330 Mark mode is enabled and region is active; otherwise indent or
331 insert TAB as usual.
332 (delphi-mode): Update description of TAB-key binding.
333
334 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
335
336 * subr.el (define-key-rebound-commands): Mark obsolete.
337 * startup.el (precompute-menubar-bindings): Remove.
338 (normal-top-level): Remove obsolete code that tried to precompute
339 menubar bindings.
340 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
341 define-key-rebound-commands and precompute-menubar-bindings.
342
343 2009-09-10 Glenn Morris <rgm@gnu.org>
344
345 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
346
347 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
348 (byte-compile-file-form-autoload): Don't warn about unknown functions
349 where the autoload statement comes after the use.
350 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
351 that any handlers inside the body (eg require) are in turn respected.
352
353 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
354 effects.
355
356 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
357 and syntax and abbrev tables basic docs, if they don't have any.
358
359 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
360
361 * international/mule-cmds.el (top-level): Require cl when compiling.
362 (view-hello-file): Use default-value rather than
363 default-enable-multibyte-characters.
364
365 * progmodes/fortran.el: Move all safe and risky properties into the
366 defcustoms.
367
368 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
369 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
370 * mail/undigest.el:
371 Put autoloads in rmail.el rather than loaddefs.el.
372 * mail/rmail.el: Regenerate with extracted autoloads.
373
374 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
375 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
376
377 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
378
379 Reported in thread for Bug#4375.
380 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
381 "-data-evaluate-expression" instead of print.
382 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
383 (gdb-tooltip-print): Parse output from above MI command.
384 (gdb): Revert 2009-08-11 change. User should detach inferior
385 manually.
386
387 Remove the word "separate" from IO functions as inferior
388 output is now never displayed in the GUD buffer.
389
390 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
391
392 * startup.el (command-line-normalize-file-name): On Windows and
393 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
394
395 2009-09-10 Juri Linkov <juri@jurta.org>
396
397 * isearch.el (isearch-text-char-description): Propertize escape
398 character sequences with the `escape-glyph' face. (Bug#4344)
399
400 * simple.el (shell-command): Set asynchronous process filter to
401 `comint-output-filter'. (Bug#4343)
402
403 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
404 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
405 the list. Move "asm" to the bottom.
406 (grep-find-ignored-directories): Add `choice' with nil value
407 to empty the list easily.
408 (grep-find-ignored-files): New option.
409 (grep-files-history): Set to nil by default instead of '("ch" "el").
410 (grep-compute-defaults): Add "<X>" to `grep-template'.
411 (grep-read-files): Bind new local variables `default-alias' and
412 `default-extension'. Use a list of default values for the file prompt.
413 (lgrep): Add `--exclude=' command line options composed from
414 `grep-find-ignored-files'.
415 (rgrep): Add `-name' command line options composed from
416 `grep-find-ignored-files'. (Bug#4301)
417
418 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
419
420 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
421 (bug#4368).
422
423 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
424
425 * calendar/time-date.el (autoload):
426 Expand define-obsolete-function-alias into defalias and make-obsolete
427 for old Emacsen that Gnus supports.
428 (with-no-warnings): Define it for old Emacsen.
429 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
430 is available.
431 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
432 float-time is available; suppress compile warning for time-to-seconds.
433
434 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
435
436 * net/imap.el (imap-message-map): Docstring fix.
437
438 2009-09-09 Glenn Morris <rgm@gnu.org>
439
440 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
441 line numbers too. (Bug#4374)
442
443 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
444
445 * smerge-mode.el (smerge-remove-props, smerge-refine):
446 Use with-silent-modifications (bug#4342).
447
448 * subr.el (with-silent-modifications): New macro.
449
450 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
451
452 * files.el (top-level): Require `cl' when compiling.
453
454 2009-09-07 Glenn Morris <rgm@gnu.org>
455
456 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
457
458 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
459 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
460
461 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
462
463 * vc-git.el (vc-git-annotate-command): Use separator to parse
464 arguments correctly.
465
466 2009-09-06 Eli Zaretskii <eliz@gnu.org>
467
468 * proced.el (proced-mode): Doc fix.
469
470 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
471
472 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
473 lstat fails.
474 (tramp-do-file-attributes-with-ls): Check for file existence at
475 remote end.
476 (tramp-do-file-attributes-with-stat): Likewise.
477 (tramp-convert-file-attributes): Return nil when attr is nil.
478
479 2009-09-05 Glenn Morris <rgm@gnu.org>
480
481 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
482 properties to this button.
483 (diary-fancy-display): Don't extend the button to the final newline.
484 (diary-fancy-display-mode): Continue to define "q" as a local key.
485
486 * calendar/cal-china.el (holiday-chinese): Make it slightly more
487 efficient.
488
489 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
490
491 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
492 (byte-compile-dest-file-function): New option.
493 (byte-compile-dest-file): Doc fix.
494 Obey byte-compile-dest-file-function.
495 (byte-compile-cl-file-p): New function.
496 (byte-compile-eval): Only suppress noruntime warnings about cl functions
497 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
498 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
499 than for file being previously loaded.
500 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
501 (byte-compile-file-form-require): Handle the case where requiring a file
502 indirectly causes CL to be loaded.
503
504 2009-09-05 Karl Fogel <kfogel@red-bean.com>
505
506 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
507 before killing the old buffer, since by the time `kill-buffer' is
508 run so many buffer variables have been set to nil that it may not
509 behave as expected. (Bug#4061)
510
511 2009-09-05 Karl Fogel <kfogel@red-bean.com>
512
513 * files.el (find-alternate-file): If the old buffer is modified
514 and visiting a file, behave similarly to `kill-buffer' when
515 killing it, thus reverting to the pre-1.878 behavior; see
516 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
517 for discussion. Also, consult `buffer-file-name' as a variable
518 not as a function, for consistency with the rest of the code.
519
520 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
521
522 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
523 also when adding a new directory.
524
525 * net/tramp-compat.el (tramp-compat-line-beginning-position): New
526 defun.
527
528 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
529
530 * files.el (locate-file-completion-table): Make it provide boundary
531 information, so partial-completion works better.
532
533 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
534
535 * mail/footnote.el (Footnote-text-under-cursor):
536 Check footnote-text-marker-alist before using it (bug#4324).
537
538 2009-09-04 Glenn Morris <rgm@gnu.org>
539
540 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
541 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
542 * play/solitaire.el, play/tetris.el:
543 Remove leading * from defcustom and defface docs.
544
545 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
546 necessary.
547 (diary-fancy-overriding-map): New variable.
548 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
549 Use view-mode.
550
551 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
552 goto-line.
553
554 2009-09-03 Glenn Morris <rgm@gnu.org>
555
556 * arc-mode.el (archive-mode):
557 * dos-fns.el (set-default-process-coding-system):
558 * man.el (Man-getpage-in-background):
559 * menu-bar.el (menu-bar-describe-menu):
560 * server.el (server-process-filter):
561 * startup.el (command-line):
562 * tar-mode.el (tar-header-block-tokenize, tar-extract):
563 * w32-fns.el (set-default-process-coding-system):
564 * x-dnd.el (x-dnd-handle-file-name):
565 * international/mule-cmds.el (mule-menu-keymap)
566 (set-default-coding-systems, language-info-alist, set-language-info)
567 (set-language-environment, standard-display-european-internal)
568 (set-locale-environment):
569 * international/mule-diag.el (mule-diag):
570 * mail/emacsbug.el (report-emacs-bug):
571 * mail/rmail.el (rmail-mode):
572 * mail/sendmail.el (mail-setup):
573 Use default-value rather than default-enable-multibyte-characters.
574
575 * progmodes/f90.el: Move all safe properties into the defcustoms.
576 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
577
578 * calendar/appt.el (appt-check):
579 * calendar/diary-lib.el (diary-set-header, diary-live-p)
580 (diary-check-diary-file, diary-list-entries)
581 (diary-include-other-diary-files, diary-simple-display)
582 (diary-fancy-display, diary-print-entries)
583 (diary-mark-included-diary-files, diary-make-entry):
584 Don't call substitute-in-file-name on diary-file.
585
586 2009-09-03 Eduard Wiebe <usenet@pusto.de>
587 Stefan Monnier <monnier@iro.umontreal.ca>
588
589 * mail/footnote.el (footnote-prefix): Make it a defcustom.
590 (footnote-mode-map): Move initialization into the declaration.
591 (footnote-minor-mode-map): Define it rather than changing global-map.
592 (footnote-mode): Use define-minor-mode.
593
594 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
595
596 * net/tramp.el (tramp-handle-file-attributes-with-ls)
597 (tramp-do-file-attributes-with-perl)
598 (tramp-do-file-attributes-with-stat): Rename from
599 `tramp-handle-file-attributes-with-*'.
600 (tramp-handle-file-attributes): Use them.
601 (tramp-do-directory-files-and-attributes-with-perl)
602 (tramp-do-directory-files-and-attributes-with-stat): Rename from
603 `tramp-handle-directory-files-and-attributes-with-*'.
604 (tramp-handle-directory-files-and-attributes): Use them.
605 (tramp-method-out-of-band-p): Additional parameter SIZE.
606 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
607 (tramp-handle-write-region): Use it.
608 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
609 (tramp-handle-vc-registered): Check, whether the first run did
610 return files to be tested.
611 (tramp-advice-make-auto-save-file-name): Do not call directly
612 `tramp-handle-make-auto-save-file-name', because this would bypass
613 the locking mechanism.
614
615 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
616 (file-remote-p, process-file, start-file-process, set-file-times)
617 (tramp-compat-file-attributes): Compatibility functions shall not
618 call directly `tramp-handle-*', because this would bypass the
619 locking mechanism.
620 (tramp-compat-number-sequence): New defun.
621
622 2009-09-02 Glenn Morris <rgm@gnu.org>
623
624 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
625 alias for float-time.
626 (time-to-number-of-days): In Emacs, use float-time.
627 * net/newst-backend.el (time-add): Suppress warnings from compat
628 function.
629 * time.el (emacs-uptime, emacs-init-time):
630 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
631 Use float-time rather than time-to-seconds.
632
633 * minibuffer.el (completion-initials-expand): Fix typo.
634
635 * faces.el (modeline, modeline-inactive, modeline-highlight)
636 (modeline-buffer-id):
637 * info.el (info-menu-5): Mark these face aliases as obsolete.
638
639 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
640
641 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
642 space ...
643 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
644 no "--thread" option.
645 (gdb-stopped): Don't print "Switched to thread" message when it is
646 unchanged.
647
648 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
649
650 * minibuffer.el (completion-try-completion)
651 (completion-all-completions): Remove ill-defined (and
652 mistakenly installed and luckily never used nor documented)
653 `completion-styles' property.
654 (completion-initials-expand, completion-initials-all-completions)
655 (completion-initials-try-completion): New functions.
656 (completion-styles-alist): Add doc to each entry.
657 Add new `initials' entry.
658
659 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
660
661 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
662 MI command -var-evaluate-expression.
663 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
664 and tweak for case of string child.
665 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
666
667 2009-09-01 Glenn Morris <rgm@gnu.org>
668
669 * add-log.el (change-log-date-face, change-log-name-face)
670 (change-log-email-face, change-log-file-face, change-log-list-face)
671 (change-log-conditionals-face, change-log-function-face)
672 (change-log-acknowledgement-face):
673 * cus-edit.el (custom-invalid-face, custom-rogue-face)
674 (custom-modified-face, custom-set-face, custom-changed-face)
675 (custom-saved-face, custom-button-face, custom-button-pressed-face)
676 (custom-documentation-face, custom-state-face, custom-comment-face)
677 (custom-comment-tag-face, custom-variable-tag-face)
678 (custom-variable-button-face, custom-face-tag-face)
679 (custom-group-tag-face-1, custom-group-tag-face):
680 * diff-mode.el (diff-header-face, diff-file-header-face)
681 (diff-index-face, diff-hunk-header-face, diff-removed-face)
682 (diff-added-face, diff-changed-face, diff-function-face)
683 (diff-context-face, diff-nonexistent-face):
684 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
685 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
686 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
687 (Info-title-4-face):
688 * isearch.el (isearch-lazy-highlight-face):
689 * log-view.el (log-view-file-face, log-view-message-face):
690 * paren.el (show-paren-match-face, show-paren-mismatch-face):
691 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
692 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
693 (cvs-msg-face):
694 * smerge-mode.el (smerge-mine-face, smerge-other-face)
695 (smerge-base-face, smerge-markers-face):
696 * wid-edit.el (widget-documentation-face, widget-button-face)
697 (widget-field-face, widget-single-line-field-face)
698 (widget-inactive-face, widget-button-pressed-face):
699 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
700 (woman-addition-face):
701 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
702 (eshell-ls-executable-face, eshell-ls-readonly-face)
703 (eshell-ls-unreadable-face, eshell-ls-special-face)
704 (eshell-ls-missing-face, eshell-ls-archive-face)
705 (eshell-ls-backup-face, eshell-ls-product-face)
706 (eshell-ls-clutter-face):
707 * eshell/em-prompt.el (eshell-prompt-face):
708 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
709 * obsolete/old-whitespace.el (whitespace-highlight-face):
710 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
711 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
712 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
713 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
714 (antlr-font-lock-literal-face):
715 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
716 (ebrowse-root-class-face, ebrowse-file-name-face)
717 (ebrowse-default-face, ebrowse-member-attribute-face)
718 (ebrowse-member-class-face, ebrowse-progress-face):
719 * progmodes/make-mode.el (makefile-space-face):
720 * progmodes/sh-script.el (sh-heredoc-face):
721 * textmodes/flyspell.el (flyspell-incorrect-face)
722 (flyspell-duplicate-face):
723 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
724 * textmodes/texinfo.el (texinfo-heading-face):
725 Mark face aliases with "-face" suffix as obsolete.
726
727 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
728 compiler.
729
730 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
731 (eudc-bob-sound-menu): Use defvar rather than defconst, since
732 easy-menu-define wants to modify these.
733
734 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
735
736 * net/browse-url.el (browse-url-file-url):
737 * term/internal.el (dos-codepage-setup):
738 Use default-value rather than default-enable-multibyte-characters.
739
740 * progmodes/etags.el (etags-goto-tag-location):
741 * progmodes/flymake.el (flymake-highlight-line)
742 (flymake-goto-file-and-line, flymake-goto-line):
743 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
744 (gdb-goto-breakpoint):
745 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
746 * progmodes/python.el (python-find-function)
747 (python-pdbtrack-track-stack-file):
748 * progmodes/verilog-mode.el (verilog-surelint-off):
749 * term/ns-win.el (ns-open-file-select-line):
750 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
751 Use forward-line rather than goto-line.
752
753 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
754 * textmodes/reftex-index.el (reftex-display-index):
755 * textmodes/reftex-ref.el (reftex-offer-label-menu):
756 * textmodes/reftex-toc.el (reftex-toc):
757 Remove unnecessary bindings of default-major-mode (all are followed by
758 major-mode check and possible mode switch).
759
760 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
761
762 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
763 Handle watchpoints (bug#4282).
764 (def-gdb-thread-buffer-command): Enable thread to be selected by
765 clicking without selecting threads buffer first.
766 (gdb-current-context-command): Use selected frame so that "up",
767 "down" etc work in the GUD buffer.
768 (gdb-update): Find selected frame before rendering stack buffer.
769 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
770
771 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
772
773 * progmodes/sym-comp.el (displayed-completions): Remove.
774 (symbol-complete): Use minibuffer-complete.
775
776 2009-08-31 Glenn Morris <rgm@gnu.org>
777
778 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
779
780 * apropos.el (apropos-symbols-internal):
781 Handle (obsolete) face aliases.
782
783 * faces.el (describe-face): Adjust the output format to be more like
784 describe-variable, and to mention (obsolete) face aliases.
785 Adjust the whitespace so that help-setup-xref works.
786
787 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
788 * calendar/diary-lib.el (diary-button-face):
789 Mark these face aliases as obsolete.
790
791 * calendar/calendar.el (calendar-today): Doc fix.
792
793 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
794
795 * progmodes/gdb-mi.el (gdb-control-all-threads)
796 (gdb-control-current-thread): Force tool bar update.
797 (gdb-non-stop-handler): New function.
798 (gdb-init-1): Use it to test if non-stop mode is supported.
799 Remove unused gdbmi buffer type.
800
801 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
802
803 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
804 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
805
806 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
807
808 * comint.el (comint-exec-1): Check command is non-null first.
809 Part of gdb-mi.el change (2009-08-28).
810
811 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
812
813 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
814
815 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
816
817 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
818 instead of `dolist' to avoid a recursive require when bootstrapping.
819
820 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
821
822 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
823
824 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
825
826 * net/imap.el (imap-send-command): Simplify.
827 (imap-wait-for-tag): point-max -> buffer-size.
828
829 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
830
831 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
832 with constant argument.
833
834 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
835
836 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
837
838 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
839 Change default, since most of our files don't have a history.
840 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
841 the user.
842
843 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
844 Add comint-run.
845
846 * calc/calc.el: Improve commenting convention.
847 (calc-digit-map, toplevel): Simplify.
848
849 * comint.el (comint-insert-input): Be careful to only set point if we
850 don't delegate to some other command.
851
852 * proced.el (proced-signal-list): Make it an alist.
853 (proced-grammar-alist): Capitalize names.
854 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
855 Disable undo manually and make it read-only.
856 Use completion-annotate-function.
857
858 * minibuffer.el (minibuffer-message): If the current buffer is not
859 a minibuffer, insert the message in the echo area rather than at the
860 end of the buffer.
861 (completion-annotate-function): New variable.
862 (minibuffer-completion-help): Use it.
863 (completion--embedded-envvar-table): Environment vars are
864 always case-sensitive.
865
866 2009-08-30 Glenn Morris <rgm@gnu.org>
867
868 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
869 from fortran-current-defun.
870 (fortran-beginning-of-subprogram): Be more precise about finding the
871 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
872 (fortran-end-of-subprogram): Simplify.
873 (fortran-current-defun): Use fortran-start-prog-re.
874
875 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
876
877 * subr.el (do-after-load-evaluation): Simplify.
878
879 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
880
881 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
882
883 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
884 (vc-rcs-print-log): Use it.
885
886 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
887
888 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
889
890 * paths.el (abbrev-file-name): Move to abbrev.el.
891 * abbrev.el (abbrev-file-name): Move from paths.el.
892 Obey user-emacs-directory.
893 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
894 user-emacs-directory.
895 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
896 abbrev-file-name and calc-settings-file any more.
897 * startup.el (command-line): Recompute abbrev-file-name and
898 abbreviated-home-dir.
899 (normal-no-mouse-startup-screen): Improve the generic code and get rid
900 of the special code for when C-h bindings haven't been changed.
901 (display-startup-echo-area-message): Use with-current-buffer.
902 (command-line-1): Use a list of strings, rather than a list of lists
903 of strings for longopts.
904
905 * files.el (get-free-disk-space): Use / for default-directory.
906
907 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
908 Use with-current-buffer.
909
910 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
911 Recognize immutable variables like most-positive-fixnum.
912 (byte-compile-setq-default): Check and warn if trying to assign
913 to an immutable variable, or a non-variable.
914
915 * progmodes/cc-vars.el (c-comment-continuation-stars):
916 * progmodes/cc-engine.el (c-looking-at-bos):
917 * progmodes/cc-cmds.el (c-toggle-auto-state)
918 (c-forward-into-nomenclature, c-backward-into-nomenclature)
919 (c-comment-line-break-function): Add version of obsolescence.
920
921 2009-08-28 Juri Linkov <juri@jurta.org>
922
923 * files.el (magic-fallback-mode-alist): Add ZIP magic number
924 associated with `archive-mode'.
925
926 * image.el (image-type-header-regexps): Use only JPEG magic number
927 to determine JPEG images, and don't use `image-jpeg-p' because
928 Emacs can display non-JFIF non-Exif JPEG images.
929
930 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
931
932 * arc-mode.el (archive-mode):
933 * emacs-lisp/re-builder.el (re-builder-unload-function):
934 Protect against the default value of `major-mode' being nil.
935
936 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
937
938 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
939 Fix typos in docstrings.
940
941 * progmodes/js.el (js--macro-decl-re): Doc fix.
942 (js--plain-method-re, js--split-name): Refloc docstring.
943 (js--class-styles, js--make-merged-item, js--splice-into-items):
944 Fix typos in docstrings; reflow docstrings.
945 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
946 (js--variable-decl-matcher, js--inside-pitem-p)
947 (js--parse-state-at-point, js--get-all-known-symbols)
948 (js--symbol-history, js-find-symbol, js--js-references)
949 (js--moz-interactor, js--js-encode-value, js--read-tab):
950 Fix typos in docstrings.
951
952 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
953
954 * textmodes/reftex.el (reftex-get-file-buffer-force):
955 * progmodes/verilog-mode.el (verilog-batch-execute-func):
956 * emulation/viper.el (viper-go-away, viper-set-hooks):
957 * emacs-lisp/re-builder.el (re-builder-unload-function):
958 * emacs-lisp/bytecomp.el (byte-compile-file):
959 * ses.el (ses-unload-function):
960 * hexl.el (hexl-find-file):
961 * files.el (normal-mode):
962 * ehelp.el (with-electric-help):
963 * autoinsert.el (auto-insert-alist):
964 * arc-mode.el (archive-mode):
965 Use (default-value 'major-mode) instead of default-major-mode.
966
967 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
968 * international/mule.el (load-with-code-conversion):
969 * emacs-lisp/debug.el (debug):
970 * ediff-vers.el (ediff-rcs-get-output-buffer):
971 * dired.el (dired-internal-noselect): Don't let-bind
972 default-major-mode around code that doesn't use it.
973 E.g. buffer creation via get-buffer-create doesn't use it.
974
975 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
976
977 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
978 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
979 when writing the temp file. Otherwise, epa-file gets confused.
980 (tramp-register-file-name-handlers): Make it a defun. Move also
981 `epa-file-handler' to the front of `file-name-handler-alist'.
982
983 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
984
985 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
986 start right after a ^M.
987 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
988 (tramp-completion-file-name-regexp-separate)
989 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
990 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
991 Don't modify last-coding-system-used by accident.
992 (tramp-completion-file-name-handler): Apply the checks here,
993 instead during registration.
994 (tramp-register-file-name-handlers) Renamed from
995 `tramp-register-file-name-handler'. Register both
996 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
997 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
998
999 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
1000
1001 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
1002 Remove variable ...
1003 (gdb-init-1, gdb-display-separate-io-buffer)
1004 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
1005 references to it.
1006 (gdb-inferior-io-mode): Use make-comint-in-buffer.
1007 (gdb-inferior-filter): Use comint-output-filter to stop
1008 echoing and remove ^M characters.
1009
1010 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1011
1012 * emulation/viper-init.el (viper-restore-cursor-type):
1013 * emulation/cua-base.el (cua--update-indications):
1014 Replace default-cursor-type with (default-value 'cursor-type).
1015
1016 * mail/sendmail.el (mail-recover-1):
1017 * international/mule-diag.el (describe-current-coding-system-briefly)
1018 (describe-current-coding-system):
1019 * international/mule-cmds.el (select-safe-coding-system)
1020 (select-message-coding-system)
1021 (set-language-environment-coding-systems, set-locale-environment):
1022 * hexl.el (hexl-insert-multibyte-char):
1023 * dos-w32.el (find-buffer-file-type-coding-system):
1024 * simple.el (what-cursor-position):
1025 Replace uses of default-buffer-file-coding-system
1026 with (default-value 'buffer-file-coding-system).
1027
1028 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
1029 Replace uses of default-cursor-in-non-selected-windows
1030 with (default-value 'cursor-in-non-selected-windows).
1031 Use with-current-buffer.
1032
1033 * mail/feedmail.el: Use CL macros.
1034 (feedmail-run-the-queue, feedmail-send-it-immediately):
1035 * dos-w32.el (find-buffer-file-type): Replace uses of
1036 default-buffer-file-type with (default-value 'buffer-file-type).
1037
1038 2009-08-28 Glenn Morris <rgm@gnu.org>
1039
1040 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
1041 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
1042 Use default-value of major-mode rather than default-major-mode.
1043
1044 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
1045
1046 * Makefile.in (update-elcfiles): Report left over elc files.
1047
1048 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
1049 expand-file-name and with-current-buffer.
1050 (mail-get-names, mail-directory): Use with-current-buffer.
1051
1052 * vc.el (vc-read-revision): New function.
1053 (vc-version-diff, vc-merge): Use it.
1054
1055 2009-08-27 Sam Steingold <sds@gnu.org>
1056
1057 * simple.el (kill-do-not-save-duplicates): New user option.
1058 (kill-new): When it is non-nil, and the new string is the same as
1059 the latest kill, set replace to t to avoid duplicates in kill-ring.
1060
1061 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
1062
1063 * net/tramp.el (tramp-handle-process-file): Do not flush all
1064 caches when `process-file-side-effects' is set.
1065 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
1066 instead of `tramp-find-file-exists-command'.
1067 Unset `process-file-side-effects'.
1068
1069 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
1070
1071 * net/tramp.el (tramp-methods): New method "rsyncc".
1072 (top): Add completion function for "rsyncc".
1073 (tramp-message-show-message): New defvar.
1074 (tramp-message, tramp-error): Use it.
1075 (tramp-do-copy-or-rename-file-directly): Extend check for direct
1076 remote copying.
1077 (tramp-do-copy-or-rename-file-out-of-band): Handle new
1078 `tramp-methods' entry `copy-env' of "rsyncc".
1079 (tramp-vc-registered-read-file-names): New defconst.
1080 (tramp-vc-registered-file-names): New defvar.
1081 (tramp-handle-vc-registered): Implement optimization strategy.
1082 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
1083 (tramp-vc-file-name-handler): New defun.
1084 (tramp-get-ls-command, tramp-get-test-command)
1085 (tramp-get-file-exists-command, tramp-get-remote-ln)
1086 (tramp-get-remote-perl, tramp-get-remote-stat)
1087 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
1088
1089 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
1090 (tramp-cache-inhibit-cache): Extend doc string. It allows also
1091 timestamps.
1092 (tramp-get-file-property): Check for timestamps in
1093 `tramp-cache-inhibit-cache'.
1094 (tramp-set-file-property): Write timestamp.
1095
1096 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
1097
1098 * language/japan-util.el (japanese-symbol-table): Add entries for
1099 cp932-2-byte.
1100
1101 * international/characters.el: Add category `j' to cp932-2-byte.
1102
1103 2009-08-27 Kenichi Handa <handa@m17n.org>
1104
1105 * international/fontset.el (build-default-fontset-data): New macro.
1106 (setup-default-fontset): Use build-default-fontset-data for CJK,
1107 tibetan, ethiopic, and ipa.
1108
1109 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
1110
1111 * cus-start.el (default-major-mode): Customize `major-mode' instead.
1112 (enable-multibyte-characters): Not customizable any more.
1113
1114 * subr.el (default-mode-line-format, default-header-line-format)
1115 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
1116 (default-direction-reversed, default-truncate-lines)
1117 (default-left-margin, default-tab-width, default-case-fold-search)
1118 (default-left-margin-width, default-right-margin-width)
1119 (default-left-fringe-width, default-right-fringe-width)
1120 (default-fringes-outside-margins, default-scroll-bar-width)
1121 (default-vertical-scroll-bar, default-indicate-empty-lines)
1122 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
1123 (default-fringe-cursor-alist, default-scroll-up-aggressively)
1124 (default-scroll-down-aggressively, default-fill-column)
1125 (default-cursor-type, default-buffer-file-type)
1126 (default-cursor-in-non-selected-windows)
1127 (default-buffer-file-coding-system, default-major-mode)
1128 (default-enable-multibyte-characters): Mark as obsolete.
1129
1130 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
1131
1132 * vc-dir.el (vc-dir-update): Remove debug helper.
1133
1134 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
1135
1136 2009-08-26 Sam Steingold <sds@gnu.org>
1137
1138 * simple.el (save-interprogram-paste-before-kill): New user option.
1139 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
1140 save the interprogram-paste into kill-ring before overriding it
1141 with the Emacs kill.
1142
1143 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
1144
1145 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
1146 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
1147 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
1148 and move to vc-rcs.el.
1149 (vc-default-next-revision): Rename to vc-rcs-next-revision and
1150 move to vc-rcs.el.
1151 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
1152 (vc-rcs-update-changelog): Remove.
1153 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
1154 and move to vc-rcs.el.
1155
1156 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
1157 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
1158 renaming.
1159 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
1160 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
1161 vc.el, renamed to be RCS specific.
1162
1163 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
1164 New functions.
1165 (vc-cvs-update-changelog): Move here from vc.el.
1166
1167 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
1168 New functions.
1169
1170 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
1171
1172 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
1173
1174 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
1175
1176 * vc-git.el (vc-git-register): Use "git add" for directories.
1177 (vc-git-stash, vc-git-stash-show): New functions.
1178 (vc-git-extra-menu-map): Bind them.
1179
1180 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
1181 directory correctly in case the item is a directory itself.
1182
1183 * vc.el: Document the desired behavior for reverted files in the
1184 `added' state.
1185 (vc-default-prettify-state-info): Remove function, unused.
1186
1187 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
1188
1189 2009-08-26 Glenn Morris <rgm@gnu.org>
1190
1191 * bindings.el (standard-mode-line-format): Reposition dashes in
1192 which-func entry. (Bug#4217)
1193
1194 * files.el (enable-local-variables, enable-local-eval)
1195 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
1196 the defcustoms.
1197 (auto-mode-alist, ignored-local-variables)
1198 (save-some-buffers-action-alist): Move risky declarations to the
1199 definitions.
1200 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
1201 (font-lock-defaults, format-alist, imenu--index-alist)
1202 (imenu-generic-expression, input-method-alist, minor-mode-alist)
1203 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
1204 (mode-line-modified, mode-line-mule-info, mode-line-position)
1205 (mode-line-process, mode-line-remote, outline-level)
1206 (parse-time-rules, rmail-output-file-alist)
1207 (special-display-buffer-names, vc-mode):
1208 Move risky declarations to the relevant files.
1209 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
1210 (mode-line-modified, mode-line-process, mode-line-position)
1211 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
1212 * font-core.el (font-lock-defaults):
1213 * format.el (format-alist):
1214 * vc-hooks.el (vc-mode):
1215 * window.el (special-display-buffer-names):
1216 * international/mule-cmds.el (input-method-alist):
1217 Define riskiness here (dumped file) rather than in files.el.
1218 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
1219 * imenu.el (imenu-generic-expression, imenu--index-alist):
1220 * outline.el (outline-level):
1221 * time.el (display-time-string):
1222 * calendar/parse-time.el (parse-time-rules):
1223 * mail/rmailout.el (rmail-output-file-alist):
1224 Autoload riskiness here, rather than placing in files.el.
1225
1226 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
1227
1228 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
1229
1230 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
1231
1232 * simple.el (process-file-side-effects): New defvar.
1233
1234 * dired-aux.el (dired-show-file-type):
1235 * vc.el (vc-diff-internal):
1236 * vc-arch.el (vc-arch-diff):
1237 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
1238 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
1239 * vc-git.el (vc-git-registered, vc-git-working-revision)
1240 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
1241 (vc-git--empty-db-p):
1242 * vc-hooks.el (vc-user-login-name):
1243 * vc-svn.el (vc-svn-registered, vc-svn-state)
1244 (vc-svn-dir-extra-headers, vc-svn-find-revision):
1245 * progmodes/grep.el (grep-probe): Let-bind
1246 `process-file-side-effects' with nil.
1247
1248 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
1249
1250 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
1251 daemon. Replace ping by checking for running service for bluez
1252 and zeroconf. (Bug#4239)
1253
1254 2009-08-25 Kevin Ryde <user42@zip.com.au>
1255
1256 * net/dig.el (dig): Add autoload cookie.
1257
1258 2009-08-25 Glenn Morris <rgm@gnu.org>
1259
1260 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
1261 load-history for absolute file-names.
1262 (byte-compile-file-form-require): Warn about use of the cl package.
1263
1264 * format.el (format-alist): Doc fix.
1265
1266 * play/bubbles.el (top-level): Don't require cl at run-time.
1267
1268 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
1269 run-time cl).
1270
1271 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
1272
1273 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
1274 from cl package.
1275 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
1276
1277 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
1278
1279 * calc/calc-alg.el (math-trig-rewrite)
1280 (math-hyperbolic-trig-rewrite): New functions.
1281 (calc-simplify): Simplify trig functions when asked.
1282
1283 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
1284
1285 * diff-mode.el (diff-find-source-location): Avoid goto-line.
1286
1287 2009-08-24 Kenichi Handa <handa@m17n.org>
1288
1289 * language/ind-util.el (mapthread): Delete it.
1290 (combinatorial): New function.
1291 (indian--puthash-cv): Use combinatorial instead of mapthread.
1292
1293 2009-08-22 Kevin Ryde <user42@zip.com.au>
1294
1295 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
1296 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
1297 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
1298 Clarify docstring that the value is strings not symbols.
1299 (checkdoc-list-of-strings-p): New function.
1300
1301 2009-08-22 Glenn Morris <rgm@gnu.org>
1302
1303 * files.el (auto-mode-alist):
1304 * hippie-exp.el (he-concat-directory-file-name):
1305 * lpr.el (lpr-windows-system, printer-name):
1306 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
1307 * ps-print.el (ps-windows-system):
1308 * startup.el (command-line):
1309 * emulation/viper-ex.el (viper-glob-function):
1310 * international/mule-cmds.el (set-language-environment-coding-systems):
1311 * net/ange-ftp.el (ange-ftp-write-region):
1312 * obsolete/fast-lock.el (fast-lock-cache-name):
1313 Remove code for defunct system-types emx, macos, mswindows, next-mach,
1314 unisoft-unix, vax-vms, win32, w32.
1315
1316 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
1317 given name if the pattern is not more specific.
1318
1319 * calendar/lunar.el (lunar-phase-names): New option.
1320 (lunar-phase): Doc fix.
1321 (lunar-cycles-per-year): New constant.
1322 (lunar-index): New function.
1323 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
1324 (lunar-phase-name): Use lunar-phase-names.
1325 (calendar-lunar-phases): Use format.
1326 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
1327
1328 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
1329 Copy imenu-example--name-and-position function here for own use.
1330 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
1331
1332 * bs.el (bs--redisplay):
1333 * cus-edit.el (custom-redraw):
1334 * ibuffer.el (ibuffer-bury-buffer):
1335 * server.el (server-goto-line-column):
1336 * startup.el (command-line-1):
1337 * strokes.el (strokes-xpm-for-stroke):
1338 * term.el (term-display-buffer-line):
1339 * view.el (View-goto-line):
1340 * calc/calc.el (calc-do, calc-trail-buffer):
1341 * play/gamegrid.el (gamegrid-add-score-insecure):
1342 * progmodes/ada-mode.el (ada-compile-goto-error):
1343 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
1344 (ebrowse-select-1st-to-9nth):
1345 * progmodes/cperl-mode.el (cperl-time-fontification):
1346 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
1347 * progmodes/gud.el (gud-display-line):
1348 (idlwave-shell-display-line):
1349 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
1350 * progmodes/make-mode.el (makefile-browser-toggle):
1351 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
1352 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
1353 * textmodes/picture.el (picture-draw-rectangle):
1354 * textmodes/reftex-index.el (reftex-index-goto-letter):
1355 (reftex-select-jump-to-previous):
1356 * textmodes/reftex-sel.el (reftex-find-start-point)
1357 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
1358 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
1359 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
1360 * textmodes/tex-mode.el (tex-compilation-parse-errors):
1361 * textmodes/two-column.el (2C-associated-buffer):
1362 Use forward-line rather than goto-line.
1363
1364 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
1365 goto-line.
1366
1367 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
1368 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
1369 (quick-check-list-to-regexp): Declare.
1370
1371 * progmodes/make-mode.el (makefile-browser-insert-selection):
1372 Use goto-char rather than goto-line.
1373
1374 * progmodes/prolog.el (compilation-error-regexp-alist)
1375 (compilation-forget-errors): Declare.
1376
1377 2009-08-22 Juri Linkov <juri@jurta.org>
1378
1379 * progmodes/grep.el (lgrep, rgrep): At the beginning
1380 set `dir' to `default-directory' unless `dir' is a non-nil
1381 readable directory. (Bug#4052)
1382 (lgrep, rgrep): Change a weird way to report an error
1383 from using `read-string' to using `error'.
1384 Instead of using interactive arguments in the function body,
1385 add new argument `confirm'.
1386
1387 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
1388
1389 * textmodes/remember.el (remember-buffer):
1390 * progmodes/cperl-mode.el (cperl-vc-header-alist):
1391 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
1392 (icalendar-extract-ical-from-buffer):
1393 * net/newst-treeview.el (newsticker-groups-filename):
1394 * net/newst-backend.el (newsticker-cache-filename):
1395 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
1396 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
1397 (speedbar-add-ignored-path-regexp, speedbar-line-path)
1398 (speedbar-buffers-line-path, speedbar-path-line)
1399 (speedbar-buffers-line-path):
1400 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
1401 (epg-sign-keys):
1402 * epa.el (epa-display-verify-result):
1403 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
1404
1405 2009-08-21 Glenn Morris <rgm@gnu.org>
1406
1407 * progmodes/js.el (inferior-moz-process): Fix declaration.
1408
1409 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
1410
1411 * obsolete/rnewspost.el (news-mail-reply):
1412 Use goto-char rather than goto-line.
1413
1414 * term/ns-win.el (ns-open-file-select-line):
1415 Use line-beginning-position rather than goto-line.
1416
1417 * apropos.el (apropos-command):
1418 * ehelp.el (electric-helpify):
1419 * printing.el (pr-show-setup):
1420 * strokes.el (strokes-help):
1421 * tutorial.el (tutorial--describe-nonstandard-key)
1422 (tutorial--detailed-help):
1423 * woman.el (woman-mini-help, woman-display-extended-fonts):
1424 * calc/calc-help.el (calc-describe-key):
1425 * emulation/edt.el (edt-electric-helpify):
1426 * international/mule-diag.el (mule-diag):
1427 * play/yow.el (apropos-zippy):
1428 * progmodes/python.el (python-describe-symbol):
1429 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
1430 * textmodes/table.el (*table--cell-describe-mode)
1431 (*table--cell-describe-bindings):
1432 Use help-print-return-message rather than the now obsolete alias.
1433
1434 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
1435 (calendar-cursor-to-visible-date):
1436 * play/5x5.el (5x5-position-cursor):
1437 * play/decipher.el (decipher):
1438 * play/gomoku.el (gomoku-goto-xy):
1439 * play/landmark.el (lm-goto-xy):
1440 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
1441 (mpuz-paint-digit):
1442 Use forward-line, not goto-line.
1443
1444 * mail/rmail.el (rmail-obsolete): Delete custom group.
1445 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
1446 (rmail-remote-password, rmail-remote-password-required):
1447 Remove unneeded :set-after and :set properties.
1448
1449 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
1450
1451 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
1452
1453 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
1454
1455 * loadup.el: Remove leftover macos code.
1456
1457 * vc-git.el (vc-git-annotate-command): Run asynchronously.
1458 Explicitly pass the date format to git blame so that user local
1459 so that the output format can be parsed.
1460
1461 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
1462
1463 * net/dbus.el (top): Don't check for (getenv
1464 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
1465
1466 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
1467
1468 * log-edit.el (log-edit-strip-single-file-name): New var.
1469 (log-edit-insert-changelog): Use it. Bug#3571
1470
1471 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
1472
1473 * subr.el (read-passwd): Use read-key so keypad keys work as well.
1474 Bug#3287
1475
1476 * help.el (help-print-return-message): Rename from
1477 print-help-return-message.
1478
1479 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
1480 cvs-mode-map parent hack.
1481 (log-view-mode): Derive from special-mode.
1482
1483 * linum.el (linum-mode): window-size-change-functions is redundant.
1484 Adapt to new window-configuration-change-hook behavior.
1485 (linum-after-size, linum-after-config): Remove.
1486
1487 * imenu.el (imenu-example--name-and-position)
1488 (imenu-example--lisp-extract-index-name)
1489 (imenu-example--create-lisp-index, imenu-example--create-c-index):
1490 Mark as obsolete.
1491
1492 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
1493 (inferior-prolog-mode): Use it.
1494 (inferior-prolog-load-file): Reset list of errors.
1495
1496 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
1497
1498 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
1499
1500 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
1501
1502 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
1503
1504 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
1505 is running already.
1506
1507 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
1508
1509 * subr.el (listify-key-sequence-1): Use normal syntax since those
1510 integers are nowadays always represented by the same (positive) number
1511 on all platforms.
1512 (read-key-empty-map): New const.
1513 (read-key-delay): New var.
1514 (read-key): New function.
1515 (force-mode-line-update): Use with-current-buffer.
1516 (locate-user-emacs-file): Don't forget to abbreviate the file name.
1517 (start-process-shell-command, start-file-process-shell-command):
1518 Discourage the use of command-args.
1519
1520 2009-08-19 Glenn Morris <rgm@gnu.org>
1521
1522 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
1523
1524 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
1525
1526 * simple.el (choose-completion-string): Don't rely on
1527 minibuffer-completing-file-name and ad-hoc checks to decide whether
1528 to continue completion or not.
1529
1530 * minibuffer.el (minibuffer-hide-completions): New function.
1531 (completion--do-completion): Use it.
1532 (completions-annotations): New face.
1533 (completion--insert-strings): Use it.
1534 (completion-pcm--delim-wild-regex): Add docstring.
1535 (completion-pcm--string->pattern): Add support for 0-width delimiters
1536 in completion-pcm--delim-wild-regex.
1537
1538 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
1539
1540 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
1541 Remove unused var `buffer-modified-p'.
1542
1543 * minibuffer.el (completion--do-completion): Move point for the #b001
1544 case as well (bug#4176).
1545 (minibuffer-complete, minibuffer-complete-word): Don't move point.
1546
1547 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
1548
1549 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
1550 and :session buses.
1551
1552 2009-08-18 Kenichi Handa <handa@m17n.org>
1553
1554 * international/ucs-normalize.el (ucs-normalize-version):
1555 Change to 1.1.
1556 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
1557 (utf-8-hfs): Make it perform normalization on encoding too.
1558
1559 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
1560 (sentence-end-without-space): Delete duplicated chars.
1561 (sentence-end-base): Likewise.
1562
1563 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
1564 (html-mode): Delete duplicated chars from sentence-end-base.
1565
1566 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
1567 (texinfo-mode): Delete duplicated chars from sentence-end-base.
1568
1569 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
1570
1571 * files.el (hack-one-local-variable): If the mode function is for
1572 a minor mode, pass it an argument (Bug#4148).
1573
1574 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
1575
1576 * net/tramp.el (tramp-register-completion-file-name-handler):
1577 Check also for (member 'partial-completion completion-styles).
1578
1579 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
1580
1581 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
1582 abbrev (Bug#3943).
1583
1584 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
1585
1586 * progmodes/cperl-mode.el: Merge upstream 6.2.
1587 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
1588 (cperl-forward-re): Check cperl-brace-recursing.
1589 (cperl-highlight-charclass): New function.
1590 (cperl-find-pods-heres): Use it.
1591 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
1592 (cperl-beautify-regexp-piece): Fix column calculation.
1593 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
1594 (cperl-beautify-level): Don't process entire regexp.
1595 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
1596 calling man.
1597 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
1598 (cperl-init-faces): Build a list in the normal way.
1599
1600 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
1601
1602 * calendar/parse-time.el (parse-time-string-chars): Save match
1603 data.
1604
1605 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
1606
1607 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
1608 (sql-product): Use it.
1609 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
1610 (sql-set-product): Add completion.
1611 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
1612 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
1613 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
1614 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
1615 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
1616 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
1617 (sql-highlight-db2-keywords): Remove.
1618 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
1619 (sql-highlight-product): Use derived-mode-p.
1620 (sql-set-sqli-buffer): Use with-current-buffer.
1621 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
1622 Simplify.
1623
1624 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
1625
1626 * term.el: Fix commenting convention, turn comments into docstrings.
1627
1628 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
1629
1630 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
1631
1632 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
1633
1634 * calendar/parse-time.el (parse-time-string-chars): Compute using
1635 character classes, to handle non-ascii characters (Bug#3190).
1636
1637 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
1638
1639 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
1640 another heredoc if the user adds another < (Bug#3226).
1641
1642 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
1643 Don't initialize based on window-system (Bug#4124).
1644
1645 * facemenu.el (facemenu-read-color): Use a completion function
1646 that accepts any defined color, such as RGB triplets (Bug#3677).
1647
1648 * files.el (get-free-disk-space): Change fallback default
1649 directory to /. Expand DIR argument before switching to fallback.
1650 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
1651
1652 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
1653
1654 * files.el (load-library): Doc fix.
1655
1656 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
1657
1658 * viper-cmd.el (viper-insert-isearch-string): New function.
1659 (viper-if-string): Redefine C-s in the minibuffer to insert the last
1660 incremental search string.
1661
1662 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
1663 XEmacs.
1664
1665 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
1666 (ediff-merge-region-is-non-clash)
1667 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
1668 Also check if the job is really a merge job.
1669
1670 * ediff.el (ediff-current-file): New function.
1671
1672 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
1673
1674 * progmodes/js.el: Edit docstrings throughout to follow Emacs
1675 conventions.
1676 (js-insert-and-indent): Delete function.
1677 (js-mode-map): Don't bind keys to js-insert-and-indent.
1678 (js-beginning-of-defun): Rename from js--beginning-of-defun.
1679 (js-end-of-defun): Rename from js--end-of-defun.
1680 (js-auto-indent-flag): Delete variable.
1681
1682 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
1683
1684 * progmodes/js.el: Remove proclaim statement.
1685 Defvar which-func-imenu-joiner-function to silence compiler.
1686
1687 * files.el (auto-mode-alist): Use js-mode for .js files.
1688
1689 * progmodes/js2-mode.el: Remove file.
1690
1691 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
1692
1693 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
1694
1695 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
1696
1697 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
1698 Karl Landstrom <karl.landstrom@brgeight.se>
1699
1700 * progmodes/js.el: New file.
1701
1702 2009-08-14 Mark A. Hershberger <mah@everybody.org>
1703
1704 * timezone.el (timezone-parse-date): Add ability to understand ISO
1705 basic format (minimal separators) dates in addition to the
1706 already-supported extended format dates.
1707
1708 2009-08-14 Eli Zaretskii <eliz@gnu.org>
1709
1710 * international/ucs-normalize.el: Add a `coding' file variable.
1711
1712 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
1713
1714 2009-08-14 Sam Steingold <sds@gnu.org>
1715
1716 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
1717
1718 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
1719
1720 * faces.el (help-argument-name): Define it here instead of
1721 help-fns.el, because in daemon mode help-fns.el may be loaded when
1722 faces are still uninitialized (Bug#1078).
1723
1724 * help-fns.el (help-argument-name): Move defface to faces.el.
1725
1726 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
1727
1728 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
1729 create buffer with a pty but no process so that GDB can make the
1730 inferior the controlling process.
1731
1732 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
1733
1734 * international/ucs-normalize.el: New file.
1735
1736 2009-08-13 Richard Stallman <rms@gnu.org>
1737
1738 * mail/rmail.el (rmail-get-attr-names):
1739 Accept an attribute header that is too short.
1740
1741 * mail/rmail.el (rmail-forget-messages):
1742 Ignore nil elt in rmail-message-vector. Use dotimes.
1743
1744 * progmodes/compile.el (compilation-goto-locus):
1745 Use next-error-move-function.
1746
1747 * simple.el (next-error-move-function): New variable.
1748
1749 2009-08-12 Juri Linkov <juri@jurta.org>
1750
1751 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
1752 always non-nil. (Bug#4052)
1753
1754 * replace.el (read-regexp): Return empty string when
1755 `default-value' is nil.
1756 (keep-lines-read-args): Don't use empty string as the
1757 default value for `read-regexp'. (Bug#2495)
1758
1759 2009-08-12 Juri Linkov <juri@jurta.org>
1760
1761 * international/mule-cmds.el (ucs-insert): Change arguments
1762 from `arg' to `character', `count', `inherit' to be the same
1763 as in `insert-char'. Doc fix. (Bug#4039)
1764
1765 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
1766
1767 2009-08-12 Juri Linkov <juri@jurta.org>
1768
1769 * files-x.el: New file.
1770
1771 * files.el: Move code that deals with adding/deleting
1772 file/directory-local variables to files-x.el.
1773
1774 * Makefile.in (ELCFILES): Add files-x.elc.
1775
1776 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
1777
1778 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
1779 to use `goto-line'.
1780 (gdb-place-breakpoints, gdb-get-location): Rewritten without
1781 `goto-line'.
1782 (gdb-invalidate-disassembly): Do not refresh upon receiving
1783 'update signal. Instead, update all disassembly buffers only after
1784 threads list.
1785 (gdb): Send -target-detach when buffer is killed (#3794).
1786 (gdb-starting): Moved -data-list-register-names...
1787 (gdb-stopped): ...here so it's sent when first thread stops.
1788 (gdb-registers-handler-custom): Do nothing if register names are
1789 unknown yet.
1790
1791 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
1792 from `gdb-mi.el' to avoid extra tangling.
1793
1794 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
1795 change which breaks `gud-def' definitions used in `gdb'.
1796 (gdb-update-gud-running): No extra fuss for updating frame number.
1797
1798 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1799
1800 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
1801 (describe-language-environment-map, setup-language-environment-map)
1802 (set-coding-system-map): Move initialization into declaration.
1803 (set-language-info-alist): Last arg to define-key-after can be skipped.
1804
1805 * international/quail.el (quail-completion-1): Simplify.
1806 (quail-define-rules): Use slightly more compact code.
1807 (quail-insert-decode-map): Propertize keys, compact columns.
1808
1809 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1810 Add goto-line.
1811
1812 2009-08-10 Miles Bader <miles@gnu.org>
1813
1814 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
1815 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
1816 (js2-instance-member, js2-private-member, js2-private-function-call)
1817 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
1818 (js2-magic-paren, js2-external-variable):
1819 Remove "-face" suffix from face names.
1820 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
1821 (js2-highlight-undeclared-vars, js2-peek-token)
1822 (js2-parse-function-params, js2-mode-show-errors)
1823 (js2-mode-show-warnings, js2-make-magic-delimiter)
1824 (js2-mode-highlight-magic-parens): Update to use new face names.
1825
1826 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
1827
1828 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
1829 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
1830
1831 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
1832
1833 * subr.el: Provide hashtable-print-readable.
1834
1835 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
1836 hs-c-like-adjust-block-beginning.
1837 (hs-hide-block-at-point): Stop hiding at the beginning of
1838 hs-block-end-regexp (Bug#700).
1839
1840 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
1841
1842 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
1843 a macro.
1844 (gdb-registers-handler-custom): Do not fail when register names
1845 are unavailable.
1846
1847 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
1848
1849 * progmodes/gdb-mi.el (gdb-control-all-threads)
1850 (gdb-control-current-thread): Interactive setters for
1851 `gdb-gud-control-all-threads' to use in menu.
1852 (gdb-show-run-p): Show «Go» when process is not active.
1853 (gud-tool-bar-map): Add non-stop/A,T indicator. Uses
1854 gud/thread.xpm and gud/all.xpm.
1855
1856 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
1857
1858 * net/net-utils.el (net-utils-font-lock-keywords): New var.
1859 (nslookup-font-lock-keywords): Make it a variable.
1860 (net-utils-mode): New mode for viewing diagnostic network output.
1861 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
1862 (net-utils-run-simple): New function.
1863 (ifconfig, iwconfig, netstat, arp, route): Use it.
1864
1865 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
1866
1867 * progmodes/gdb-mi.el (gdb-read-memory-custom)
1868 (gdb-memory-set-address, def-gdb-set-positive-number)
1869 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
1870 after changing settings.
1871 (gdb-invalidate-disassembly): Update when first shown.
1872 (gdb-edit-locals-value): Fixed.
1873 (gdb-registers-handler-custom): Print registers in right order and
1874 allow changing register values (only for current thread yet).
1875 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
1876 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
1877 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
1878 (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
1879 info in mode name.
1880 (gdb-registers-mode-map): TAB to switch to locals.
1881
1882 2009-08-08 Eli Zaretskii <eliz@gnu.org>
1883
1884 * mail/rmail.el (rmail-add-mbox-headers)
1885 (rmail-set-message-counters-counter): Search for
1886 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
1887
1888 2009-08-08 Glenn Morris <rgm@gnu.org>
1889
1890 * Makefile.in (ELCFILES): Update.
1891
1892 2009-08-07 Eli Zaretskii <eliz@gnu.org>
1893
1894 * mail/sendmail.el (mail-yank-original): Set
1895 buffer-file-coding-system from the one used by the message whose
1896 text is yanked.
1897
1898 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
1899 to "windows" when "pgnuplot" is used.
1900 (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
1901 call accept-process-output if "pgnuplot" is used.
1902 (calc-graph-init): Don't send -display and -geometry to
1903 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
1904 running "pgnuplot -V" with shell-command-to-string.
1905
1906 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
1907 the default.
1908
1909 2009-08-07 Eli Zaretskii <eliz@gnu.org>
1910
1911 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
1912 org/org-latex.elc.
1913
1914 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
1915
1916 * vc-dispatcher.el (vc-resynch-window): Update comment.
1917
1918 * term.el (term-handle-ansi-escape): Add comments with the
1919 terminfo capabilities implemented.
1920
1921 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
1922
1923 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
1924 (gdb-var-create-handler): Rewritten using JSON parser.
1925 (gdb-propertize-header): Moved earlier.
1926 (gdb-set-header): Removed to avoid duplication.
1927 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
1928 Refresh disassembly buffers only after threads list have been
1929 update.
1930 (gdb-threads-header, gdb-registers-header): Per-buffer header line
1931 variables.
1932
1933 2009-08-04 Juri Linkov <juri@jurta.org>
1934
1935 * files.el: Commands to add/delete file/directory-local variables.
1936 (read-file-local-variable, read-file-local-variable-value)
1937 (read-file-local-variable-mode, modify-file-local-variable)
1938 (modify-file-local-variable-prop-line)
1939 (modify-dir-local-variable): New functions.
1940 (add-file-local-variable, delete-file-local-variable)
1941 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
1942 (add-dir-local-variable, delete-dir-local-variable)
1943 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
1944 (copy-dir-locals-to-file-locals-prop-line): New commands.
1945
1946 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
1947
1948 * abbrev.el (insert-abbrev-table-description): Prettify output.
1949 Suggested by Karl Chen.
1950
1951 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
1952
1953 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
1954 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
1955 (gdb-overlay-arrow-position, gdb-thread-position)
1956 (gdb-disassembly-position): Declare variables.
1957 (gdb-wait-for-pending): Function now.
1958 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
1959 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
1960 compilation goes smoothly.
1961 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
1962 (gdb-non-stop-setting): New customization setting which replaces
1963 `gdb-non-stop' so changing it doesn't break active GDB session.
1964 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
1965 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
1966 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
1967 (gdb-show-threads-by-default): New customization options.
1968 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
1969 routines.
1970 (gdb-get-buffer-create): Send buffers update signal when they are
1971 created.
1972 (gdb-invalidate-locals, gdb-invalidate-registers)
1973 (gdb-invalidate-breakpoints)
1974 (gdb-invalidate-threads, gdb-invalidate-disassembly)
1975 (gdb-invalidate-memory): Accept update signal.
1976 (gdb-current-context-command): Use --frame option.
1977 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
1978 Implement `gdb-frame-number' selection logic.
1979 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
1980 whether to show GUD toolbar buttons.
1981 (gdb-thread-exited): Unselect current thread when it exits.
1982 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
1983 (gdb-mark-line): Routine which sets overlay arrow or inverses
1984 video on fringeless displays.
1985 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
1986 to build aligned columns of data in GDB buffers and set text
1987 properties line-by-line.
1988 (gdb-invalidate-breakpoints)
1989 (gdb-breakpoints-list-handler-custom)
1990 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
1991 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
1992 (gdb-registers-handler-custom): Align data columns.
1993 (gdb-locals-handler-custom): Now prints data like in variable
1994 declarations.
1995 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
1996 Removed confusing buttons.
1997 (gdb-invalidate-threads): Append --frame.
1998 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
1999 between breakpoints/threads buffers.
2000 (gdb-set-window-buffer): Now can ignore dedicated windows.
2001 (gdb-propertize-header): Use `gdb-set-window-buffer'.
2002 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
2003 (def-gdb-thread-buffer-gud-command): Replaces
2004 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
2005 for fine thread control.
2006 (gdb-preempt-existing-or-display-buffer): New function used to
2007 display bound buffers without breaking window layout.
2008 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
2009 (gdb-select-frame): New version of `gdb-frames-select' which now
2010 sets `gdb-frame-number' so commands may use --frame option instead
2011 of inner debugger state.
2012 (gdb-frame-handler): Do not set `gdb-frame-number'.
2013 (gdb-threads-mode-map): Select threads with mouse.
2014
2015 * progmodes/gud.el (gdb-gud-context-call): Declare function to
2016 avoid compilation warning.
2017 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
2018 `gdb-show-stop-p`.
2019
2020 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
2021 Argument `key' renamed to `buffer-type'.
2022 (gdb-current-context-buffer-name): Do not add thread info to
2023 buffer name when no thread is selected.
2024 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
2025 command (bug 3794).
2026 (gdb-thread-selected): Handle `=thread-selected' notification.
2027 (gdb-wait-for-pending): New macro to deal with congestion problems.
2028 (gdb-breakpoints-list-handler-custom): Don't fail on pending
2029 breakpoints.
2030 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
2031 This fixes problem similar to one described in bug 3947.
2032 (gud-menu-map): More menu items.
2033 (gdb-init-1): Reset `gdb-thread-number' to nil.
2034
2035 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
2036 non-stop settings.
2037
2038 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
2039 (gdb-current-context-command): Do not append --thread if
2040 `gdb-thread-number' is nil.
2041 (gdb-running-threads-count, gdb-stopped-threads-count): New
2042 variables.
2043 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
2044 (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
2045 customization options.
2046 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
2047 GUD commands.
2048 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
2049 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
2050 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
2051 set `gdb-thread-number' and update `gud-running' properly.
2052 (gdb-running): Update threads list when new threads appear.
2053 (gdb-stopped): Support non-stop operation and new thread switching
2054 logic.
2055 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
2056 (gdb-json-partial-output): New set of JSON routines.
2057 (def-gdb-auto-update-trigger): New `signal-list' optional
2058 argument.
2059 (gdb-thread-list-handler-custom): Update `gud-running',
2060 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
2061 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
2062 (gdb-continue-thread, gdb-step-thread): New commands for fine
2063 thread execution control.
2064 (gud-menu-map): New menu items to switch non-stop options.
2065 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
2066 (gdb-send): Mimic RET properly (bug 3794).
2067
2068 * progmodes/gdb-mi.el (gdb-rules-name-maker)
2069 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
2070 gdb-buffer-rules.
2071 (def-gdb-auto-update-handler): New nopreserve optional argument.
2072 (gdb-stack-list-frames-custom): Print stack from top to bottom.
2073
2074 * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
2075 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
2076 (gdb-parent-mode): New mode to derive other GDB modes from.
2077 (gdb-display-disassembly-for-thread)
2078 (gdb-frame-disassembly-for-thread): New commands for threads
2079 buffer.
2080
2081 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
2082 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
2083 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
2084 (gdb-update): We now store all GDB buffers in a list so that they
2085 can be updated by traversing a list instead of calling invalidate
2086 triggers explicitly.
2087 (def-gdb-trigger-and-handler): New macro to define trigger-handler
2088 pair for GDB buffer.
2089 (gdb-stack-buffer-name): Add thread information.
2090 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
2091 handle pending triggers.
2092 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
2093 (def-gdb-thread-buffer-simple-command)
2094 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
2095 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
2096 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
2097 New commands which show buffers bound to thread.
2098 (gdb-stack-list-locals-regexp): Removed unused regexp.
2099
2100 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
2101 (gdb-locals-buffer-name, gdb-registers-buffer-name)
2102 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
2103 to (gud-comint-buffer) in *-buffer-name functions
2104 because (gdb-get-target-string) already does that.
2105 (gdb-locals-handler-custom, gdb-registers-handler-custom)
2106 (gdb-changed-registers-handler): Rewritten without regexps.
2107
2108 * progmodes/gdb-mi.el Basic thread selection support.
2109 (gdb-thread-number): New variable.
2110 (gdb-current-context-command): New macro which adds --thread
2111 option to command.
2112 (gdb-threads-mode-map): Select thread with SPC.
2113 (gdb-thread-list-handler-custom): Mark current thread with overlay
2114 arrow. Synchronize GDB thread and Emacs thread.
2115 (gdb-select-thread): New command which selects current thread.
2116 (gdb-invalidate-frames, gdb-invalidate-locals)
2117 (gdb-invalidate-registers): Use --thread option.
2118
2119 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
2120
2121 * net/tramp.el (top): Make check for tramp-gvfs loading more
2122 robust. (Bug#3977)
2123 (tramp-handle-insert-file-contents): `unwind-protect' must be
2124 inside `with-parsed-tramp-file-name'.
2125
2126 * net/tramp-gvfs.el (top): Remove superfluous message when loading
2127 fails.
2128
2129 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
2130
2131 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
2132 directory if CLASSPATH is not set.
2133
2134 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
2135
2136 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
2137 New defconst.
2138 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
2139
2140 2009-08-02 Kevin Ryde <user42@zip.com.au>
2141
2142 * net/newst-backend.el (newsticker--raw-url-list-defaults):
2143 Update freshmeat link. Delete newsforge.com as it seems gone.
2144
2145 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
2146
2147 * select.el (x-set-selection): Doc fix (Bug#4021).
2148
2149 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
2150
2151 * help-fns.el (describe-variable): Treat list return values from
2152 dir-locals-find-file properly (Bug#4005).
2153
2154 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
2155
2156 * net/tramp.el (tramp-debug-message): Print also microseconds.
2157
2158 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
2159
2160 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
2161 or END is non-nil.
2162 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
2163 (tramp-get-debug-buffer): Change `outline-regexp' according to new
2164 format.
2165
2166 * net/tramp-cache.el (tramp-cache-inhibit-cache ): New defvar.
2167 (tramp-get-file-property): Use it.
2168
2169 * autorevert.el (auto-revert-handler): Allow
2170 `auto-revert-tail-mode' for remote files.
2171
2172 2009-08-02 Jason Rumney <jasonr@gnu.org>
2173
2174 * minibuffer.el (read-file-name): Treat confirm options to
2175 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
2176
2177 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
2178
2179 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
2180 (font-lock-variable-name-face, font-lock-constant-face): Darken
2181 the colors for light backgrounds.
2182
2183 2009-08-01 Eli Zaretskii <eliz@gnu.org>
2184
2185 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
2186 month names. (Bug#3987)
2187
2188 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
2189
2190 * simple.el (line-move-finish): Pass whole number to
2191 line-move-to-column.
2192 (line-move-visual): Perform hscroll to the recorded position.
2193
2194 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
2195
2196 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
2197
2198 2009-07-29 Alan Mackenzie <acm@muc.de>
2199
2200 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
2201
2202 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
2203
2204 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
2205 (gdb-place-breakpoints): Use full path when setting breakpoints.
2206
2207 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
2208
2209 * calc/calc.el (calc-mode-map): Add keybinding for
2210 `calc-transpose-lines'.
2211
2212 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
2213
2214 * calc/calc-misc.el (calc-transpose-lines): New function.
2215
2216 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
2217
2218 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
2219 Simplify check for out-of-band methods.
2220 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
2221 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
2222
2223 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
2224
2225 * vc-git.el (vc-git-checkin): Fix typo.
2226
2227 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
2228
2229 * progmodes/js2-mode.el: New file.
2230
2231 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
2232
2233 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
2234 (gud-menu-map): Adjust tooltip accordingly.
2235
2236 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
2237
2238 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
2239 (vc-bzr-log-view-mode): Adjust log-view-file-re.
2240
2241 * add-log.el (change-log-mode-map): Add a menu.
2242
2243 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
2244
2245 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
2246 function returns nil.
2247 (dbus-handle-event): Handle special return value :ignore.
2248 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
2249
2250 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
2251
2252 * view.el (view-mode-enable): Don't define Helper-return-blurb if
2253 it's not needed.
2254
2255 2009-07-25 Eli Zaretskii <eliz@gnu.org>
2256
2257 Fix Bug#3888:
2258
2259 * w32-vars.el (x-select-enable-clipboard): Doc fix.
2260
2261 * term/pc-win.el (x-display-name, x-colors)
2262 (x-select-enable-clipboard, x-select-text): Doc fix.
2263
2264 * term/common-win.el (x-display-name, x-colors): Doc fix.
2265
2266 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
2267 (xw-defined-colors): Doc fix.
2268
2269 * w32-fns.el (x-select-text, x-setup-function-keys)
2270 (x-get-selection, x-set-selection): Doc fix.
2271
2272 * term/x-win.el (x-select-text, x-setup-function-keys)
2273 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
2274
2275 * select.el (x-set-selection): Doc fix.
2276
2277 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
2278
2279 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
2280 instead of "IsNSSSupportAvailable". Avahi ought to work also when
2281 "IsNSSSupportAvailable" method is not available. Reported by
2282 Steve Youngs <steve@sxemacs.org>.
2283
2284 2009-07-24 Kenichi Handa <handa@m17n.org>
2285
2286 * international/characters.el: Fix setting of category ?C, ?|, ?K,
2287 and ?H. Fix setting of case for Latin Extended and Greek Extended.
2288 (build-unicode-category-table): Fix range checks.
2289
2290 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
2291
2292 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
2293 the buffer we try to sync is current when calling
2294 vc-resynch-buffer.
2295
2296 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
2297 not show up to date files.
2298
2299 2009-07-24 Glenn Morris <rgm@gnu.org>
2300
2301 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
2302 Add autoload cookies. If necessary, initialize.
2303 (elint-log): Handle non-file buffers.
2304 (elint-initialize): Add optional argument to reinitialize.
2305 (elint-find-builtin-variables): Save excursion.
2306
2307 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
2308
2309 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
2310 for Lint.
2311
2312 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
2313
2314 * vc.el (vc-print-log-internal): New function, split out from ...
2315 (vc-print-log): ... here.
2316 (vc-dir-move-to-goal-column): Declare.
2317
2318 * vc-git.el (vc-git-add-signoff): New variable.
2319 (vc-git-checkin): Use it.
2320 (vc-git-toggle-signoff): New function.
2321 (vc-git-extra-menu-map): Bind it to menu.
2322 (vc-git--run-command-string): Accept a nil FILE argument.
2323 (vc-git-stash-list): New function.
2324 (vc-git-dir-extra-headers): Use it.
2325
2326 2009-07-23 Glenn Morris <rgm@gnu.org>
2327
2328 * help-fns.el (describe-variable): Describe ignored and risky local
2329 variables in a similar way to that in which we describe safe ones.
2330
2331 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
2332 (byte-compile-output-file-form, byte-compile-output-docform)
2333 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
2334 Give some more local variables with common names a "bytecomp-" prefix,
2335 so as not to shadow things during compilation.
2336 * emacs-lisp/cl-macs.el (load-time-value)
2337 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
2338 `outbuffer' to `bytecomp-outbuffer'.
2339
2340 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
2341 since the next two variables cover them automatically now.
2342 (elint-builtin-variables, elint-autoloaded-variables): New.
2343 (elint-unknown-builtin-args): Remove all members, since they can be
2344 parsed automatically now.
2345 (elint-extra-errors): New.
2346 (elint-env-add-env, elint-env-add-macro): Use cadr.
2347 (elint-current-buffer): Use or. Change final message.
2348 (elint-get-top-forms): Use line-end-position.
2349 (elint-init-env): Use cadr. Handle autoload, declare-function,
2350 and defalias.
2351 (elint-add-required-env): Doc fix. Use or. Standardize error.
2352 (regexp-assoc): Remove unused function.
2353 (elint-top-form): Set elint-current-pos, to record the start of the
2354 top-level form, for compilation-mode.
2355 (elint-form): Trap errors in macro expansion. Use dolist.
2356 (elint-unbound-variable): Use elint-builtin-variables and
2357 elint-autoloaded-variables.
2358 (elint-get-args): Use cadr, or.
2359 (elint-check-cond-form): Use dolist, cadr.
2360 (elint-check-condition-case-form): Doc fix. Use cadr.
2361 Use elint-extra-errors.
2362 (elint-log): New function.
2363 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
2364 Distinguish errors and warnings.
2365 (elint-log-message): Use with-current-buffer. Inhibit read-only.
2366 Use a bytecomp-style format.
2367 (elint-clear-log): Preserve default-directory. Inhibit read-only.
2368 (elint-get-log-buffer): Use compilation mode. Disable undo.
2369 Don't truncate lines.
2370 (elint-initialize): Set builtin and autoloaded variable lists.
2371 Only process elint-unknown-builtin-args if non-nil.
2372 (elint-find-builtin-variables, elint-find-autoloaded-variables):
2373 New functions.
2374 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
2375
2376 2009-07-22 Kevin Ryde <user42@zip.com.au>
2377
2378 * net/newst-backend.el (newsticker--parse-atom-1.0)
2379 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
2380 (newsticker--parse-rss-1.0):
2381 * progmodes/idlwave.el (idlwave-mode):
2382 * progmodes/idlw-shell.el (idlwave-shell-mode):
2383 * progmodes/vera-mode.el (vera-mode):
2384 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
2385 * progmodes/vhdl-mode.el (vhdl-mode):
2386 * textmodes/table.el (table-generate-source)
2387 (table--warn-incompatibility):
2388 Hyperlink urls in docstrings with URL `...'.
2389
2390 2009-07-22 Glenn Morris <rgm@gnu.org>
2391
2392 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
2393 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
2394 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
2395 Remove leading * from defcustom docs.
2396
2397 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
2398
2399 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
2400 defcustom doc.
2401 (list-load-path-shadows): Optionally, just return shadows as a string.
2402
2403 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
2404
2405 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
2406
2407 * mail/rmailedit.el (rmail-edit-mode): Use
2408 auto-save-include-big-deletions.
2409
2410 * mail/rmail.el (rmail-variables): Use
2411 auto-save-include-big-deletions.
2412
2413 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
2414 changes.
2415
2416 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
2417
2418 * calc/calc.el (calc-undo-length): New variable.
2419 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
2420
2421 2009-07-21 Richard Stallman <rms@gnu.org>
2422
2423 * files.el (auto-save-mode): Handle buffer-save-size = -2
2424 for toggling mode.
2425
2426 2009-07-21 Glenn Morris <rgm@gnu.org>
2427
2428 * textmodes/ispell.el (ispell-looking-back): Update declaration.
2429
2430 * calendar/todo-mode.el (calendar-current-date): Update declaration.
2431
2432 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
2433 silence compiler. Instead...
2434 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
2435 (ps-print-ensure-fontified): Update for above function name changes.
2436
2437 * printing.el (pr-mh-get-msg-num, pr-mh-show)
2438 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
2439 silence compiler. Instead...
2440 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
2441 (mh-show-buffer): Only define for compiler.
2442 (pr-mh-current-message): Update for above function name changes.
2443
2444 * files.el (abort-if-file-too-large): Explicitly pass `filename'
2445 as an argument.
2446 (find-file-noselect, insert-file-1): Update for above change.
2447
2448 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
2449
2450 * mail/mailclient.el (mailclient-send-it): Fix message.
2451
2452 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
2453 (edebug-eval): Check cl-debug-env is bound.
2454 (print-level, print-circle): Don't redefine built-in variables.
2455
2456 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
2457 (custom-print-vectors): Remove old comments from doc.
2458
2459 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
2460 (emerge-version): Make the variable an obsolete alias for the
2461 emacs-version variable. Make the function obsolete.
2462 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
2463 Emerge options, rather than merging in into the main Options menu.
2464 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
2465 and auto advance modes. Disable edit/fast items when not relevant.
2466
2467 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
2468
2469 * term/vt420.el (terminal-init-vt420): Fix typo.
2470
2471 2009-07-20 Sam Steingold <sds@gnu.org>
2472
2473 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
2474 variable (removed from compile.el on 2004-03-11).
2475
2476 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
2477
2478 * files.el (hack-local-variables-filter): Fix last change.
2479
2480 2009-07-19 Juri Linkov <juri@jurta.org>
2481
2482 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
2483 (dir-local-variables-alist): New buffer-local variable.
2484 (hack-local-variables-filter): If variable is not dir-local,
2485 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
2486 because file-local overrides dir-local.
2487 (c-postprocess-file-styles)<declare-function>:
2488 Remove obsolete declaration.
2489 (hack-dir-local-variables): Add dir-local variable/value pair to
2490 `dir-local-variables-alist' and remove duplicates. Doc fix.
2491
2492 * help-fns.el (describe-variable): Add information about
2493 file-local and dir-local variables.
2494
2495 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
2496
2497 * files.el (hack-local-variables-filter): Rewrite.
2498
2499 2009-07-19 Glenn Morris <rgm@gnu.org>
2500
2501 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
2502 Silence compiler by only defining on XEmacs.
2503
2504 * international/mule.el (auto-coding-regexp-alist): Only match
2505 BABYL... at the start of buffer, not of lines. (Bug#3790)
2506
2507 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
2508 non-calendar buffers (Bug#3862). Restore "not on a date" message.
2509 (cal-menu-context-mouse-menu): Doc fix.
2510
2511 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
2512
2513 * simple.el (mail-user-agent): Doc fix. Set :version tag.
2514
2515 2009-07-18 Juri Linkov <juri@jurta.org>
2516
2517 * info.el: Virtual Info keyword finder.
2518 (add-to-list)<Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
2519 (Info-finder-file): New variable.
2520 (Info-finder-find-file): New function.
2521 (finder-known-keywords, finder-package-info)
2522 (find-library-name, lm-commentary): Use defvar and
2523 declare-function to silence compiler warnings.
2524 (Info-finder-find-node): New function.
2525 (info-finder): New command.
2526
2527 * subr.el (process-kill-buffer-query-function): New function.
2528 (add-hook)<kill-buffer-query-functions>: Add hook
2529 `process-kill-buffer-query-function'.
2530
2531 2009-07-18 Alan Mackenzie <acm@muc.de>
2532
2533 * progmodes/cc-mode.el (c-before-hack-hook)
2534 (c-postprocess-file-styles): Give invocation of `c-set-style'
2535 DONT-OVERRIDE parameter of t. Already set style variables will
2536 thus not be overridden by style settings given by `c-file-syle'.
2537
2538 * files.el (hack-local-variables-filter): Remove entries with
2539 duplicate keys from `file-local-variables-alist'.
2540
2541 2009-07-18 Eli Zaretskii <eliz@gnu.org>
2542
2543 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
2544 x-set-selection if display-selections-p returns nil for the
2545 current frame.
2546
2547 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
2548
2549 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
2550
2551 2009-07-18 Eli Zaretskii <eliz@gnu.org>
2552
2553 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
2554 Accept nil in addition to a regexp.
2555 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
2556 Accept nil in addition to a regexp.
2557 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
2558 buffers that have an associated file. Handle nil values of
2559 desktop-buffers-not-to-save and desktop-files-not-to-save.
2560 (Bug#3833)
2561
2562 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2563 (x-disown-selection-internal): New functions.
2564
2565 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
2566
2567 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
2568 warning.
2569 (gdb-breakpoints-header): Move forward to avoid compiler warning.
2570 (gdb-make-header-line-mouse-map): Remove duplicate definition.
2571
2572 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
2573
2574 * simple.el (set-mark): Revert last change.
2575
2576 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
2577
2578 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
2579 rendering of pngs is not possible instead of messaging a long
2580 description.
2581
2582 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
2583
2584 * w32-fns.el (x-selection-owner-p): New function.
2585
2586 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
2587 (mouse-yank-at-click, mouse-yank-primary): If
2588 select-active-regions is non-nil, deactivate the mark before
2589 insertion.
2590
2591 * simple.el (deactivate-mark, set-mark): Only save selection if we
2592 own it.
2593
2594 2009-07-17 Kenichi Handa <handa@m17n.org>
2595
2596 * case-table.el (describe-buffer-case-table): Fix for the case
2597 that KEY is a cons.
2598
2599 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
2600
2601 * vc-rcs.el (vc-rcs-find-file-hook):
2602 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
2603
2604 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
2605
2606 * net/tramp.el (tramp-wait-for-output): Handle the case when
2607 commands do not return a newline but a null byte before the shell
2608 prompt. (Bug#3858)
2609
2610 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2611
2612 * term/ns-win.el (ns-set-alpha): Don't declare.
2613 (ns-set-background-alpha): Remove function.
2614
2615 2009-07-16 Kevin Ryde <user42@zip.com.au>
2616
2617 * emacs-lisp/copyright.el (copyright-update): Save match-data across
2618 y-or-n-p, for safety.
2619
2620 2009-07-16 Richard Stallman <rms@gnu.org>
2621
2622 * files.el (auto-save-mode): If buffer-saved-size is -2,
2623 don't clobber it.
2624
2625 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
2626 (rmail-retry-ignored-headers): Add more uninteresting fields.
2627
2628 2009-07-15 Jari Aalto <jari.aalto@cante.net>
2629
2630 * net/rcirc.el (rcirc): Use history variables.
2631 (rcirc-server-name-history, rcirc-nick-name-history)
2632 (rcirc-server-port-history): New variables.
2633
2634 2009-07-15 Kenichi Handa <handa@m17n.org>
2635
2636 * international/mule-cmds.el (set-language-environment-charset):
2637 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
2638 ignore them.
2639
2640 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
2641 Delete unibyte-display.
2642
2643 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
2644
2645 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
2646
2647 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
2648
2649 * simple.el (deactivate-mark): Optional argument FORCE.
2650 (set-mark): Use deactivate-mark.
2651
2652 * info.el (Info-search): No need to check transient-mark-mode
2653 before calling deactivate-mark.
2654
2655 * select.el (x-set-selection): Doc fix.
2656 (x-valid-simple-selection-p): Allow buffer values.
2657 (xselect--selection-bounds): Handle buffer values. Suggested by
2658 David De La Harpe Golden.
2659
2660 * mouse.el (mouse-set-region, mouse-drag-track): Call
2661 copy-region-as-kill before setting the mark, to let
2662 select-active-regions work.
2663
2664 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
2665
2666 * simple.el (deactivate-mark): If select-active-regions is
2667 non-nil, copy the selection data into a string.
2668 (activate-mark): If select-active-regions is non-nil, set the
2669 selection to the current buffer.
2670 (set-mark): Update selection if select-active-regions is non-nil.
2671
2672 * select.el (x-valid-simple-selection-p): Allow buffer values.
2673
2674 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
2675
2676 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
2677 and more featureful message-mode.
2678
2679 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
2680
2681 * select.el (x-set-selection): Doc fix.
2682 (x-valid-simple-selection-p): Disallow selection data consisting
2683 of a list or cons of integers, since that is not used.
2684 (xselect--selection-bounds, xselect--int-to-cons): New functions.
2685 (xselect-convert-to-string, xselect-convert-to-length)
2686 (xselect-convert-to-filename, xselect-convert-to-charpos)
2687 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
2688
2689 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
2690
2691 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
2692 output in -break-info command (Emacs bug #3794).
2693
2694 2009-07-14 Glenn Morris <rgm@gnu.org>
2695
2696 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
2697 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
2698 (edebug-print-length, edebug-print-level, edebug-print-circle)
2699 (edebug-sit-for-seconds, edebug-view-outside)
2700 (edebug-bounce-point, edebug-set-global-break-condition)
2701 (edebug-Go-nonstop-mode, edebug-trace-mode)
2702 (edebug-Trace-fast-mode, edebug-continue-mode)
2703 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
2704 (edebug-visit-eval-list): Doc fixes.
2705
2706 * subr.el (def-edebug-spec): Doc fix.
2707
2708 2009-07-14 Kenichi Handa <handa@m17n.org>
2709
2710 * international/characters.el: Fix setting of category ?C.
2711
2712 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
2713
2714 * term/ns-win.el (x-select-font): defalias x-select-font to
2715 ns-popup-font-panel instead of generate-fontset-menu.
2716
2717 2009-07-12 Eli Zaretskii <eliz@gnu.org>
2718
2719 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
2720
2721 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
2722
2723 * arc-mode.el (archive-find-type): Allow for a PK00 string before
2724 the PK\003\004 header (Bug#3770).
2725
2726 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
2727
2728 * pcomplete.el (pcomplete-comint-setup): Check for
2729 shell-dynamic-complete-filename too.
2730
2731 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
2732
2733 * simple.el (temporary-goal-column): Change the value for
2734 line-move-visual to a cons cell.
2735 (line-move-visual): Record or set the window hscroll, if
2736 necessary (Bug#3494).
2737 (line-move-1): Handle cons value of temporary-goal-column.
2738
2739 2009-07-11 Kenichi Handa <handa@m17n.org>
2740
2741 * international/mule-diag.el (describe-character-set): Don't show
2742 width.
2743
2744 2009-07-10 Sam Steingold <sds@gnu.org>
2745
2746 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2747 Omake sometimes indents the errors it prints, so allow all
2748 regexps to start with spaces.
2749
2750 2009-07-10 Eli Zaretskii <eliz@gnu.org>
2751
2752 * cus-edit.el (customize-changed-options-previous-release):
2753 Bump value to 22.1. (Bug#3804)
2754
2755 2009-07-08 Sam Steingold <sds@gnu.org>
2756
2757 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
2758 to be a cons cell (test . ignored-directory) to selectively ignore
2759 some directories depending on the location of the search.
2760
2761 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
2762
2763 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
2764 remote user is root, on the local host.
2765 (tramp-local-host-p): Either the local user or the remote user
2766 must be root. (Bug#3771)
2767
2768 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
2769
2770 * progmodes/gdb-mi.el (gdb): Remove description of
2771 gdb-use-separate-io-buffer.
2772 (menu): Don't allow toggling of or enable
2773 gdb-use-separate-io-buffer from menubar.
2774
2775 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
2776
2777 * mail/unrmail.el (unrmail): Make sure the message ends with two
2778 newlines (Bug#3769).
2779
2780 2009-07-08 Glenn Morris <rgm@gnu.org>
2781
2782 * calendar/calendar.el (calendar-current-date): Rework previous change.
2783
2784 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
2785
2786 * calendar/calendar.el (calendar-current-date):
2787 Add an optional argument giving an offset from today.
2788
2789 2009-07-08 Glenn Morris <rgm@gnu.org>
2790
2791 * tutorial.el (tutorial--describe-nonstandard-key):
2792 Adjust the message for when a key has been unbound.
2793 (help-with-tutorial): Hide the arch-tag.
2794
2795 2009-07-08 Kenichi Handa <handa@m17n.org>
2796
2797 * international/fontset.el (setup-default-fontset): For each
2798 script, append (not set) font-specs.
2799
2800 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
2801 docstring.
2802
2803 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
2804
2805 * progmodes/gdb-mi.el (gdb-init-1): Move sending
2806 -data-list-register-names to ...
2807 (gdb-starting): ... here because GDB 7.0 requires execution to
2808 have started when using this MI command.
2809 (gdb-set-header): New function to distinguish select and
2810 unselected tabs in gdb buffers.
2811 (gdb-propertize-header): New macro that uses gdb-set-header.
2812 (gdb-breakpoints-header, gdb-locals-header): Use it.
2813 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
2814
2815 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
2816
2817 * Makefile.in (ELCFILES): Remove fadr.elc.
2818
2819 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
2820
2821 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
2822 may contain frame information, so `string-match' should be used.
2823 (gdb-update): Disassembly is invalidated through
2824 `gdb-get-selected-frame'.
2825 (gdb-pad-string): New function to pad string with spaces.
2826 (gdb-invalidate-disassembly): Invalidate only if the buffer
2827 exists.
2828 (gdb-disassembly-handler-custom): Column alignment.
2829 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
2830 placing new ones.
2831 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
2832 end of line, too.
2833 (gdb-frame-handler): Match convention to for disassembly buffer
2834 mode name.
2835 (gdb-stack-list-frames-handler): Rewritten without regexps.
2836 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
2837 not highlight breakpoints without line information.
2838 (gdb-input): Add trailing newline to command.
2839
2840 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
2841 buffer properly.
2842 (gdb-breakpoints-list-handler-custom): Replacement for
2843 `gdb-break-list-handler'. Using real parser instead of regexps
2844 now.
2845 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
2846 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
2847 to place breakpoints.
2848 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
2849 functions.
2850 (gdb-disassembly-handler-custom): Show overlay arrow.
2851 (gdb-disassembly-place-breakpoints): Show breakpoints in
2852 disassembly buffer.
2853 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
2854 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
2855 instead of parsing breakpoints buffer. Fixed old menu references
2856 in `gud-menu-map'.
2857
2858 * fadr.el: Remove.
2859
2860 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
2861 (gdb-memory-address): New variable which holds top address of
2862 memory page shown in memory buffer.
2863 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
2864 customization variables.
2865 New functions:
2866 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
2867 display the memory buffer.
2868 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
2869 buffer display parameters.
2870 (def-gdb-memory-format, gdb-memory-format-binary)
2871 (gdb-memory-format-octal, gdb-memory-format-unsigned)
2872 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
2873 Functions for setting memory buffer format.
2874 (gdb-memory-unit-word, gdb-memory-unit-halfword)
2875 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
2876 unit size used in memory buffer.
2877 (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
2878 to next/previous page of memory buffer.
2879 Now using (bindat-get-field) instead of fadr functions.
2880
2881 2009-07-07 Sam Steingold <sds@gnu.org>
2882
2883 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
2884 non-top-level files.
2885
2886 2009-07-07 Kenichi Handa <handa@m17n.org>
2887
2888 * international/mule-cmds.el (reset-language-environment): Put
2889 the highset priority to the charset iso-8859-1.
2890
2891 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
2892
2893 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
2894 to the end of the line when locating the block (Bug#700).
2895
2896 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
2897
2898 * net/tramp.el (tramp-handle-write-region): Flush file properties
2899 in case of short track.
2900
2901 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
2902
2903 * verilog-mode.el (verilog-error-regexp-emacs-alist): Coded custom
2904 representation of verilog error regular expressions to work with
2905 Emacs-22's new format.
2906 (verilog-error-regexp-xemacs-alist): Coded custom representation
2907 of verilog error regular expressions to work with XEmacs format.
2908 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
2909 error recognition into XEmacs.
2910 (verilog-error-regexp-add-emacs): Hook routine to install verilog
2911 error recognition into Emacs-22.
2912
2913 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
2914
2915 * woman.el: Remove stand-alone closing parentheses.
2916 (woman-file-name, woman2-format-paragraphs)
2917 (woman-leave-blank-lines): Code cleanup.
2918 (woman-use-own-frame): Change default to nil.
2919 (woman-italic, woman-bold, woman-unknown, woman-addition): Change
2920 defaults to inherit from default faces.
2921 (woman2-process-escapes): Consume the newline after a stand-alone
2922 filler character (Bug#3651).
2923
2924 2009-07-06 Glenn Morris <rgm@gnu.org>
2925
2926 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
2927 (top-level): Move provide to the end.
2928 (ffap): Remove defunct URL from custom group.
2929
2930 * subr.el (eval-after-load): Doc fix.
2931
2932 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
2933
2934 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
2935 `calc-embedded-word' is called twice.
2936
2937 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
2938
2939 * files.el (find-alternate-file-other-window, find-alternate-file):
2940 Obey confirm-nonexistent-file-or-buffer.
2941
2942 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
2943
2944 * dired-aux.el (dired-show-file-type): Handle remote files.
2945
2946 2009-07-05 Jari Aalto <jari.aalto@cante.net>
2947
2948 * desktop.el (desktop-globals-to-save):
2949 Add file-name-history (Bug#2750).
2950
2951 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
2952
2953 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
2954
2955 2009-07-04 Johan Bockgård <bojohan@gnu.org>
2956
2957 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
2958 property on entire argument since this is what eshell-lisp-command
2959 expects.
2960
2961 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
2962
2963 * net/tramp-gvfs.el (tramp-gvfs-methods)
2964 (tramp-gvfs-zeroconf-domain)
2965 (tramp-bluez-discover-devices-timeout): Add version flag.
2966 (tramp-gvfs-handler-mounted-unmounted)
2967 (tramp-gvfs-connection-mounted-p): Polish handling of
2968 incompatibilities between GVFS 0.2 and 1.0.
2969
2970 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
2971
2972 * cus-start.el (all): Add make-pointer-invisible.
2973
2974 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
2975
2976 * calc-math.el (math-use-emacs-fn): Make sure that the number is
2977 formatted correctly.
2978
2979 2009-07-02 Juri Linkov <juri@jurta.org>
2980
2981 * info.el: Virtual Info files and nodes.
2982 (Info-virtual-files, Info-virtual-nodes): New variables.
2983 (Info-current-node-virtual): New variable.
2984 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
2985 New functions.
2986 (Info-file-supports-index-cookies): Use Info-virtual-file-p
2987 to check for a virtual file instead of checking a fixed list
2988 of node names.
2989 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
2990 instead of ad-hoc processing of "dir" and (apropos history toc).
2991 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
2992 instead of ad-hoc processing of "dir" and (apropos history toc).
2993 Reread a file when moving from a virtual node.
2994 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
2995 (Info-directory-toc-nodes, Info-directory-find-file)
2996 (Info-directory-find-node): New functions.
2997 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
2998 (Info-history): Move part of code to
2999 `Info-history-find-node'.
3000 (Info-history-toc-nodes, Info-history-find-file)
3001 (Info-history-find-node): New functions.
3002 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
3003 (Info-toc): Move part of code to `Info-toc-find-node'.
3004 (Info-toc-find-node): New function.
3005 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
3006 the current Info file name to references because now the node
3007 "*TOC*" belongs to the same Info manual.
3008 (Info-toc-build): Rename from `Info-build-toc'.
3009 (Info-toc-nodes): Rename input argument `file' to `filename'.
3010 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
3011 instead of ad-hoc processing of ("dir" apropos history toc).
3012 (Info-index-nodes): Use Info-virtual-file-p
3013 to check for a virtual file instead of checking a fixed list
3014 of node names.
3015 (Info-index-node): Add check for `Info-current-node-virtual'.
3016 Raise `save-match-data' higher up the tree to contain
3017 `search-forward' too (bug fix).
3018 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
3019 (Info-virtual-index-nodes): New variable.
3020 (Info-virtual-index-find-node, Info-virtual-index): New functions.
3021 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
3022 (Info-apropos-file, Info-apropos-nodes): New variables.
3023 (Info-apropos-toc-nodes, Info-apropos-find-file)
3024 (Info-apropos-find-node, Info-apropos-matches): New functions.
3025 (info-apropos): Move part of code to `Info-apropos-find-node' and
3026 `Info-apropos-matches'.
3027 (Info-mode-map): Bind "I" to `Info-virtual-index'.
3028 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
3029 for a virtual file instead of checking a fixed list of node names.
3030
3031 * simple.el (async-shell-command): New command.
3032
3033 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
3034
3035 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
3036 instead of `mount-info'.
3037
3038 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
3039
3040 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
3041 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
3042
3043 2009-07-02 Kenichi Handa <handa@m17n.org>
3044
3045 * international/mule.el (set-keyboard-coding-system): Force *-unix
3046 coding-system to avoid eol conversion.
3047
3048 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
3049
3050 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3051 Add handler for `process-file', `shell-command' and
3052 `start-file-process'.
3053 (tramp-gvfs-handle-shell-command)
3054 (tramp-gvfs-handle-start-file-process)
3055 (tramp-gvfs-handle-process-file): New defuns.
3056 (tramp-synce-list-devices): Simplify check for existence of property.
3057
3058 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
3059
3060 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
3061
3062 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
3063
3064 * language/korean.el (set-language-info-alist): Add korean-cp949,
3065 cp949 to spec.
3066
3067 2009-07-01 Kenichi Handa <handa@m17n.org>
3068
3069 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
3070
3071 * international/encoded-kb.el: Deleted.
3072
3073 * international/mule.el (set-keyboard-coding-system): Perform the
3074 necessary setup here instead of calling encoded-kbd-setup-display.
3075
3076 2009-07-01 Glenn Morris <rgm@gnu.org>
3077
3078 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
3079
3080 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
3081
3082 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
3083
3084 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
3085
3086 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
3087 Handle also the 'rename case, when setting file modes. (Bug#3712)
3088 (tramp-default-file-modes) Remove execute permissions.
3089
3090 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
3091 (top): Add a default for "synce" in `tramp-default-user-alist'.
3092 Add completion function for "synce" method.
3093 (tramp-hal-service, tramp-hal-path-manager)
3094 (tramp-hal-interface-manager, tramp-hal-interface-device):
3095 New defconst.
3096 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
3097 (tramp-synce-list-devices, tramp-synce-parse-device-names):
3098 New defuns.
3099
3100 * net/trampver.el: Update release number.
3101
3102 2009-06-30 Kenichi Handa <handa@m17n.org>
3103
3104 * international/fontset.el (setup-default-fontset): Add CJK fonts
3105 for symbols and the other miscellaneous characters.
3106
3107 * language/korea-util.el (setup-korean-environment-internal):
3108 Make char-width-table suitable for Korean environments.
3109 (exit-korean-environment): Cancel above.
3110
3111 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
3112 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
3113 setup-funcion to make char-widht-table suitable for respective
3114 environments, and an exit-function to cancel that.
3115
3116 * language/japan-util.el (setup-japanese-environment-internal):
3117 Call use-cjk-char-width-table with arg `ja_JP'.
3118
3119 * international/characters.el (cjk-char-width-table): Delete it.
3120 (cjk-char-width-table-list): New variable.
3121 (use-cjk-char-width-table): New arg local-name.
3122 (use-default-char-width-table): Fix for the case that Emacs is
3123 already using the default char-width-table.
3124
3125 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
3126
3127 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
3128 modes mandatory. (Bug#3712)
3129
3130 2009-06-29 Alan Mackenzie <acm@muc.de>
3131
3132 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
3133 correction between the visible width of TABs and their number of bytes.
3134
3135 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
3136
3137 * server.el (server-buffer-done): Prevent kill-buffer from
3138 prompting by clearing the buffer modification flag (Bug#3696).
3139
3140 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
3141
3142 * verilog-mode.el (verilog-beg-of-statement)
3143 (verilog-endcomment-reason-re): Support unique case and priority case.
3144 (verilog-basic-complete-re): Support localparam lineup.
3145 (verilog-beg-of-statement-1): Fix for robustness, unique case.
3146 (verilog-set-auto-endcomments): Fix for unique case, always_comb
3147 commenting.
3148 (verilog-leap-to-case-head): Now support *nested* unique &
3149 priority case statements.
3150 (verilog-auto-lineup): Make just declarations the default (as it
3151 had been).
3152 (verilog-leap-to-case-head): Support priority/unique case statements.
3153 (verilog-auto-lineup): Rework to give users radio buttons to
3154 select the various styles of automatic lineup.
3155 (verilog-error-regexp-alist): Rework to support the XEmacs style
3156 of error regular expressions from compilers, lint tools &
3157 simulators. Note that GNU Emacs has made it impossible for a mode
3158 to load such things.
3159 (electric-verilog-terminate-line, verilog-indent-declaration)
3160 (verilog-auto-wiure): Rework for radio button selection of
3161 auto-lineup selection of specification of auto lineup.
3162 (verilog-beg-of-statement-1): Redesign to support proper operation
3163 in additional code, based on testing with auto-lineup.
3164 (verilog-calculate-indent, assignments & declarations)
3165 (verilog-backward-token): Enhance to support auto-lineup of
3166 assignments & declarations.
3167 (verilog-in-directive-p, verilog-at-struct-p): New function for
3168 easy test of whether we are.
3169 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
3170 to support safe execution at almost anyline.
3171 (verilog-calc-1): Properly support indenting deep inside generate
3172 blocks.
3173 (verilog-init-font) Remove definition & use of verilog-init-font,
3174 as it is redundant with font-lock-defaults.
3175 (verilog-mode): Alter the definition of verilog-font-lock-defualts
3176 to avoid circular calls if syntax-ppss is a function (as is the
3177 case now in 22.x GNU Emacs) as that function would sometimes call
3178 itself, leading to (nearly) infinite recursion.
3179 (verilog-ovm-begin-re, verilog-ovm-end-re)
3180 (verilog-ovm-statement-re, verilog-leap-to-head)
3181 (verilog-backward-token): Add support for OVM macros. Some are
3182 complete statements, and others open and close scopes like begin
3183 and end.
3184 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
3185 (verilog-defun-level-generate-only-re): Really fix the defun-list
3186 compilation issue.
3187 (verilog-calc-1) (verilog-beg-of-statement): Enhance support for
3188 coverpoint, constraint and cross statements.
3189 (verilog-defun-level-list, verilog-generate-defun-level-list)
3190 (verilog-all-defun-level-list): Redo these specifications - it is
3191 too hard to support eval-when compile aggregation of lists also
3192 built at when-compile time.
3193 (verilog-defun-level-list): Place defconsts of variables used in
3194 building regular expressions which are built in eval-when-compile
3195 bodies in the same eval-when-compile body to facilitate compile
3196 without load.
3197 (verilog-beg-block-re-ordered): Support indenting
3198 virtual/protected tasks and functions.
3199 (verilog-defun-level-list, verilog-in-generate-region-p)
3200 (verilog-backward-ws&directives, verilog-calc-1): Speed up
3201 indentation of some module items (generate items).
3202 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
3203 across virtual/protected tasks and functions.
3204
3205 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
3206
3207 * verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
3208 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
3209 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
3210 in concatenations. Reported by Yishay Belkind.
3211 (verilog-auto-ascii-enum): Support one-hot state machines in
3212 AUTOASCIIENUM. Suggested by Lloyd Gomez.
3213 (verilog-auto-inst, verilog-auto-inst-port): Include interface
3214 modport in AUTOINST and add vl-modport for users. Reported by
3215 David Rogoff.
3216 (verilog-auto-inout-module, verilog-auto-inst)
3217 (verilog-decls-get-interfaces, verilog-insert-definition)
3218 (verilog-insert-one-definition, verilog-read-decls)
3219 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
3220 (verilog-sig-modport, verilog-signals-combine-bus)
3221 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
3222 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
3223 Suggested by David Rogoff.
3224 (verilog-repair-open-comma): Fix non-insertion of comma when
3225 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
3226 (verilog-make-width-expression): Simplify [A-1:0] expression
3227 widths to just {A{1'b0}}.
3228 (verilog-mode): Cleanup checkdoc warnings.
3229 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
3230 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
3231 inputs/outputs or data type. Suggested by Vasu Kandadi.
3232 (next-error-last-buffer): Fix byte-compiler warning.
3233 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
3234 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
3235 or shell command text during AUTO expansion. Suggested by Tad Truex.
3236 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
3237 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
3238 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
3239 in AUTOINOUT. Reported by Matthew Lovell.
3240 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
3241 causing use of <= assignments. Reported by Alex Reed.
3242 (verilog-read-decls): Fix triand, trior, wand, wor to be
3243 recognized by AUTOWIRE. Reported by Spencer Isaacson.
3244 (verilog-extended-complete-re): Support import "DPI-C" functions.
3245 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
3246 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
3247 (verilog-insert-date, verilog-insert-year)
3248 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
3249 Windows systems. Reported by Michael Potts.
3250 (verilog-read-module-name): Fix AUTOINST when the child module
3251 declaration's name is a tick define. Reported by Elliot Mednick.
3252 (verilog-read-decls): Fix V2K parameter bit subscripts getting
3253 passed to next parameter's definition. Reported by Bruce T.
3254 (verilog-read-decls): Fix detecting "parameter int" when using
3255 AUTOINSTPARAM. Reported by Bruce T.
3256 (verilog-goto-defun): Fix goto not finding modules unless first
3257 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
3258 (verilog-mode): Expand -f flag arguments on entry to mode so
3259 verilog-goto-defun will work. Reported by Lawrence Butcher.
3260 (verilog-getopt): Expand environment variables in -f file
3261 arguments. Suggested by Lawrence Butcher.
3262 (verilog-set-define): Fix "Symbol's value as variable is void"
3263 when reading enumerations.
3264 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
3265 Suggested by Stephen Peltan.
3266 (verilog-read-defines): Fix reading of enumerations in include
3267 files. Reported by Steve Peltan.
3268
3269 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
3270
3271 * files.el (trash-directory): Fix defcustom type.
3272
3273 2009-06-28 Juri Linkov <juri@jurta.org>
3274
3275 * help-fns.el (describe-function-1): Correctly locate adviced
3276 functions in hyperlink (Bug#2438).
3277
3278 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
3279
3280 * files.el (trash-directory): Change default to nil.
3281 (move-file-to-trash): If trash-directory is nil and
3282 system-move-file-to-trash is unbound, perform freedesktop-style
3283 trashing.
3284
3285 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
3286
3287 * files.el (move-file-to-trash): Add freedesktop trash
3288 support (Bug#973).
3289
3290 2009-06-28 Glenn Morris <rgm@gnu.org>
3291
3292 * autorevert.el (global-auto-revert-non-file-buffers)
3293 (global-auto-revert-mode): Doc fixes.
3294
3295 2009-06-27 Johan Bockgård <bojohan@gnu.org>
3296
3297 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
3298
3299 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
3300
3301 * faces.el (x-handle-named-frame-geometry): Ensure that we have
3302 opened an X connection before calling x-get-resource (Bug#3194).
3303
3304 * play/doctor.el: Remove reference to obsolete website.
3305 (make-doctor-variables): Correct grammar mistake (Bug#2633).
3306
3307 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
3308
3309 Remove find-file-not-found-hook VC method. (Bug#2757)
3310 * vc-hooks.el (vc-file-not-found-hook)
3311 (vc-default-find-file-not-found-hook): Remove functions.
3312 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
3313 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
3314 * vc.el:
3315 * vc-hg.el:
3316 * vc-git.el: Do not mention find-file-not-found-hook VC method.
3317
3318 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
3319
3320 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
3321 compatibility function for `looking-back'.
3322
3323 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
3324 Use `ispell-looking-back'.
3325
3326 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
3327
3328 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
3329 rather than `filename'.
3330
3331 2009-06-23 Miles Bader <miles@gnu.org>
3332
3333 * face-remap.el (text-scale-set): New function.
3334
3335 2009-06-23 Glenn Morris <rgm@gnu.org>
3336
3337 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
3338
3339 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
3340
3341 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
3342
3343 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
3344
3345 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
3346 Simplify Persian conditionals.
3347
3348 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
3349 variable `filename'.
3350
3351 * comint.el (comint-insert-input): Doc fix.
3352
3353 * Makefile.in (ELCFILES): Fix typo in previous change.
3354
3355 2009-06-23 Miles Bader <miles@gnu.org>
3356
3357 * cus-start.el: Add entry for `recenter-redisplay'.
3358
3359 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
3360
3361 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
3362 Add an optional argument for the backend, use it instead of
3363 calling vc-backend.
3364 (vc-mode-line): Add an optional argument for the backend.
3365 Pass the backend to vc-state and vc-working-revision. Move code for
3366 special handling for vc-state being a buffer to ...
3367
3368 * vc-rcs.el (vc-rcs-find-file-hook):
3369 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
3370
3371 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
3372 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
3373 vc-stay-local-p and vc-mode-line calls.
3374
3375 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
3376 (vc-cvs-diff, vc-cvs-annotate-command)
3377 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
3378 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
3379 vc-mode-line calls.
3380
3381 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
3382 direct comparison.
3383 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
3384 backend when calling vc-mode-line.
3385 (vc-register): Do not create a closure for calling the vc register
3386 function, call it directly.
3387
3388 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
3389
3390 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
3391 to make it obvious item can be clicked.
3392
3393 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
3394
3395 2009-06-23 Kenichi Handa <handa@m17n.org>
3396
3397 * language/korea-util.el (korean-key-bindings): Change the binding
3398 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
3399 same command.
3400
3401 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
3402
3403 Sync with Tramp 2.1.16.
3404
3405 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
3406
3407 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
3408 when a loading of a package fails. Completion function for rsync
3409 is `tramp-completion-function-alist-ssh'.
3410 (all): Replace all calls of `split-string' and
3411 `tramp-split-string' by `tramp-compat-split-string'.
3412 (tramp-default-method): Use `tramp-compat-process-running-p'.
3413 (tramp-default-proxies-alist): Allow also Lisp forms.
3414 (tramp-remote-path): Add choice "Private Directories".
3415 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
3416 (tramp-domain-regexp): Allow also "-", "_" and ".".
3417 (tramp-end-of-output): Remove newlines, and add "$" at the end.
3418 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
3419 (tramp-debug-message): Insert header line in debug buffer.
3420 (tramp-handle-directory-files-and-attributes-with-stat):
3421 Care about filenames with spaces, or starting with "-".
3422 (tramp-handle-dired-uncache): New defun.
3423 (tramp-handle-insert-directory): Don't flush the directory from
3424 cache, this is handled by `dired-uncache' now.
3425 (tramp-handle-insert-file-contents): Improve error handling.
3426 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3427 Quote `tramp-end-of-output'.
3428 (tramp-action-password): Improve trace message.
3429 (tramp-check-for-regexp): Both echoes must be present, before removing.
3430 (tramp-open-connection-setup-interactive-shell): Trace coding system.
3431 (tramp-compute-multi-hops): Eval cons cells of
3432 `tramp-default-proxies-alist'.
3433 (tramp-maybe-open-connection): Use the same command pattern for
3434 first hop and further hops.
3435 (tramp-wait-for-output): Remove handling of newlines.
3436 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
3437 (tramp-split-string): Remove function. It is handled in
3438 tramp-compat now.
3439
3440 * net/tramp-cmds.el (tramp-bug):
3441 Recommend `tramp-cleanup-all-connections' in the bug mail.
3442
3443 * net/tramp-compat.el (tramp-compat-split-string)
3444 (tramp-compat-process-running-p): New defuns.
3445
3446 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
3447 for `dired-uncache'.
3448
3449 * net/tramp-gvfs.el: New package.
3450
3451 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3452 Add handler for `dired-uncache'.
3453 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
3454
3455 * net/trampver.el: Update release number. Make version check fit
3456 for SXEmacs 22.
3457
3458 2009-06-22 Jim Meyering <meyering@redhat.com>
3459
3460 Automatically handle .xz suffix (XZ-compressed files), too.
3461 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
3462 XZ is the successor to LZMA: <http://tukaani.org/xz/>
3463
3464 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
3465 Nick Roberts <nickrob@snap.net.nz>
3466
3467 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
3468 repository (http://sphinx.net.ru/hg/gdb-mi/).
3469
3470 2009-06-22 Glenn Morris <rgm@gnu.org>
3471
3472 * files.el (dir-locals-collect-mode-variables): Allow for any number of
3473 `mode' and `eval' entries. (Bug#3430)
3474
3475 * Makefile.in (ELCFILES): Add fadr.elc.
3476
3477 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
3478 differing behavior of \n and ^ in strings. (Bug#3385)
3479
3480 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
3481
3482 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
3483 property.
3484 (lisp-indent-function): Make it a defcustom.
3485
3486 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
3487
3488 * progmodes/gdb-ui.el: Replace with ...
3489 * progmodes/gdb-mi.el: ... this file.
3490 * progmodes/gud.el: Modify for gdb-mi.el.
3491
3492 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
3493
3494 * fadr.el: New file.
3495
3496 See ChangeLog.14 for earlier changes.
3497
3498 ;; Local Variables:
3499 ;; coding: utf-8
3500 ;; End:
3501
3502 Copyright (C) 2009 Free Software Foundation, Inc.
3503
3504 This file is part of GNU Emacs.
3505
3506 GNU Emacs is free software: you can redistribute it and/or modify
3507 it under the terms of the GNU General Public License as published by
3508 the Free Software Foundation, either version 3 of the License, or
3509 (at your option) any later version.
3510
3511 GNU Emacs is distributed in the hope that it will be useful,
3512 but WITHOUT ANY WARRANTY; without even the implied warranty of
3513 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3514 GNU General Public License for more details.
3515
3516 You should have received a copy of the GNU General Public License
3517 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
3518
3519 ;; arch-tag: d3e45e38-19e2-49b6-8dc2-7cb26adcc5a1