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