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