*** empty log message ***
[bpt/emacs.git] / lisp / ChangeLog
1 2007-10-29 Glenn Morris <rgm@gnu.org>
2
3 * textmodes/org-publish.el (org-publish-get-plist-from-filename):
4 Use mapc rather than mapcar (reinstall change deleted without log
5 entry 2007-10-22).
6
7 2007-10-29 Martin Rudalics <rudalics@gmx.at>
8
9 * wdired.el (wdired-next-line, wdired-previous-line):
10 Use next-line and previous-line wrapped in with-no-warnings.
11
12 2007-10-29 Ryan Yeske <rcyeske@gmail.com>
13
14 * net/rcirc.el (rcirc-server-alist): Use keywords for parameter names.
15 (rcirc-recent-quit-alist): New function.
16 (rcirc): Print a better message when there is only one connected server.
17 (rcirc-complete-nick): Do not update the nick table here.
18 (rcirc-mode-map): Add M-o.
19 (rcirc-current-line): Add variable.
20 (rcirc-mode): Setup variables for line based omit.
21 (rcirc-edit-multiline): Strip text properties.
22 (rcirc-omit-responses): Add NICK.
23 (rcirc-omit-threshold): Add variable.
24 (rcirc-last-quit-line, rcirc-last-line, rcirc-elapsed-lines):
25 Add functions.
26 (rcirc-print): Keep track of current line. Do not fill text if
27 `rcirc-fill-flag' is null. Only omit text if the last activity
28 from the sender is more than `rcirc-omit-threshold' lines ago.
29 (rcirc-put-nick-channel, rcirc-handler-PRIVMSG): Track line
30 numbers instead of time.
31 (rcirc-channel-nicks): Sort by line numbers instead of time.
32 (rcirc-omit-mode): Add `...' when omitting text and recenter.
33 (rcirc-handler-JOIN): Restore the joiners linestamp.
34 (rcirc-maybe-remember-nick-quit): Add function.
35 (rcirc-handler-QUIT): Record sender in table of recently quit nicks.
36
37 2007-10-29 Juanma Barranquero <lekktu@gmail.com>
38
39 * loadhist.el (unload-feature-special-hooks):
40 Add `delete-frame-functions' and `suspend-tty-functions'.
41
42 * server.el (server-unload-function): Rename from `server-unload-hook'
43 and adapt to new `unload-feature' functionality. Remove hook from
44 `kill-buffer-hook' buffer-locally.
45 (server-unload-hook): Remove.
46 (server-unload-function): New var; replaces `server-unload-hook'.
47
48 2007-10-29 Glenn Morris <rgm@gnu.org>
49
50 * dirtrack.el (dirtrack-debug): Doc fix.
51 (dirtrack-mode, dirtrack-debug-mode): New names for
52 dirtrack-toggle and dirtrack-debug-toggle. Use define-minor-mode.
53 (dirtrack-toggle, dirtrack-debug-toggle, dirtrackp, dirtrack-debug):
54 Make obsolete.
55 (dirtrack-debug-message): Only print message if
56 dirtrack-debug-mode is non-nil. Use with-current-buffer.
57 (dirtrack): Doc fix. Use dirtrack-mode rather than dirtrackp.
58 Remove dirtrack-debug checks now that dirtrack-debug-message does this.
59
60 2007-10-28 Glenn Morris <rgm@gnu.org>
61
62 * emacs-lisp/bytecomp.el (byte-compile-warnings): Document `not'.
63 (byte-compile-warnings-safe-p): Handle `not'.
64 (byte-compile-warning-enabled-p, byte-compile-disable-warning)
65 (byte-compile-enable-warning): New functions.
66 (byte-compile-eval-before-compile)
67 (byte-compile-file-form-require): Use byte-compile-disable-warning.
68 (byte-compile-close-variables): Locally bind byte-compile-warnings,
69 but do not modify it.
70 (byte-compile-eval, byte-compile-obsolete)
71 (byte-compile-warn-about-unresolved-functions)
72 (byte-compile-file-form-defvar)
73 (byte-compile-file-form-custom-declare-variable)
74 (byte-compile-file-form-require)
75 (byte-compile-file-form-defmumble, byte-compile-lambda)
76 (byte-compile-form, byte-compile-normal-call)
77 (byte-compile-variable-ref, byte-compile-defvar)
78 (byte-compile-make-variable-buffer-local):
79 Use byte-compile-warning-enabled-p.
80 * emacs-lisp/advice.el (ad-compile-function):
81 Use byte-compile-disable-warning.
82 * emacs-lisp/cl.el: Move local variables to end of file, and set
83 byte-compile-warnings to `(not cl-functions)'.
84 * emacs-lisp/cl-compat.el: Add a local variables section, and set
85 byte-compile-warnings to `(not cl-functions)'.
86 * emacs-lisp/cl-macs.el: Unify local variable section, and set
87 byte-compile-warnings to `(not cl-functions)'.
88 (cl-do-proclaim): Use byte-compile-disable-warning and
89 byte-compile-enable-warning.
90 * emacs-lisp/cl-seq.el: Unify local variable section, and set
91 byte-compile-warnings to `(not cl-functions)'.
92 * progmodes/cc-bytecomp.el (cc-bytecomp-ignore-obsolete):
93 Use byte-compile-disable-warning.
94
95 2007-10-28 Dan Nicolaescu <dann@ics.uci.edu>
96
97 * cus-edit.el (custom-browse-insert-prefix):
98 * emulation/edt.el (edt-x-emacs19-p): Use featurep 'xemacs.
99
100 2007-10-28 Juanma Barranquero <lekktu@gmail.com>
101
102 * server.el (server-process-filter): Fix typo in docstring.
103 (server-log): Reflow docstrings.
104 (server-delete-client, server-kill-emacs-query-function): Doc fixes.
105 (server-goto-line-column): Use `when'.
106
107 2007-10-28 Juri Linkov <juri@jurta.org>
108
109 * isearch.el (isearch-other-meta-char): Call `isearch-edit-string'
110 when mouse is clicked on the isearch message.
111 (isearch-resume): Call `isearch-update' at the end.
112 Rename argument `search' to `string' to conform to the
113 isearch terminology.
114
115 2007-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
116
117 Rewrite abbrev.c in Elisp.
118 * abbrev.el (abbrev-mode): Move custom group from cus-edit.el.
119 (abbrev-table-get, abbrev-table-put, abbrev-get)
120 (abbrev-put, make-abbrev-table, abbrev-table-p, clear-abbrev-table)
121 (define-abbrev, abbrev--check-chars, define-global-abbrev)
122 (define-mode-abbrev, abbrev--active-tables, abbrev-symbol)
123 (abbrev-expansion, abbrev--before-point, expand-abbrev)
124 (unexpand-abbrev, abbrev--write, abbrev--describe)
125 (insert-abbrev-table-description, define-abbrev-table):
126 New funs, largely transcribed from abbrev.c.
127 (abbrev-with-wrapper-hook): New macro.
128 (abbrev-table-name-list, global-abbrev-table)
129 (abbrev-minor-mode-table-alist, fundamental-mode-abbrev-table)
130 (abbrevs-changed, abbrev-all-caps, abbrev-start-location)
131 (abbrev-start-location-buffer, last-abbrev, last-abbrev-text)
132 (last-abbrev-location, pre-abbrev-expand-hook, abbrev-expand-function):
133 New vars, largely transcribed from abbrev.c.
134 * cus-edit.el (abbrev-mode): Remove. Move to abbrev.el.
135 * cus-start.el: Remove abbrev-all-caps and pre-abbrev-expand-hook.
136 * loadup.el: Load "abbrev.el" before "lisp-mode.el".
137
138 2007-10-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
139
140 * ps-print.el: Now detect if text foreground and background colors are
141 equal and replace the foreground color by another color, so the text
142 becomes visible. Doc fix.
143 (ps-print-version): New version 6.8.
144 (ps-default-fg, ps-default-bg): Docstring fix.
145 (ps-postscript-code-directory): Fix default value code.
146 (ps-fg-list, ps-fg-validate-p): New options.
147 (ps-foreground-list): New var.
148 (ps-setup, ps-begin-job, ps-plot-region): Fix code.
149
150 2007-10-27 Glenn Morris <rgm@gnu.org>
151
152 * shell.el (shell-dirtrack-verbose, shell-directory-tracker): Doc fix.
153 (shell-dirtrack-toggle): Mark as obsolete.
154 (dirtrack-toggle, dirtrack-mode): No longer alias to
155 shell-dirtrack-mode.
156
157 2007-10-27 Jay Belanger <jay.p.belanger@gmail.com>
158
159 * calc/calc.el (math-standard-opers): Lower the precedence
160 of negation.
161 * calc/calc-lang.el (math-oper-table): Lower precedence of
162 negation for C, TeX, and eqn.
163
164 2007-10-27 Dan Nicolaescu <dann@ics.uci.edu>
165
166 * progmodes/cc-defs.el: Reorder conditions to avoid warnings.
167
168 2007-10-27 Juanma Barranquero <lekktu@gmail.com>
169
170 * desktop.el (desktop-load-locked-desktop, desktop-base-lock-name)
171 (desktop-not-loaded-hook): Fix :version tags.
172
173 2007-10-27 Michael Albinus <michael.albinus@gmx.de>
174
175 * net/tramp.el (tramp-wrong-passwd-regexp): Tune regexp.
176 (tramp-get-remote-tmpdir): New defun.
177 (tramp-make-tramp-temp-file): Use it.
178 (tramp-local-call-process): New defun. Replace all calls of
179 `call-process' by this when appropriate.
180 (tramp-handle-write-region): Replace calls of `file-attributes' by
181 `tramp-compat-file-attributes'.
182 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
183 Make the first command a `tramp-send-command' call, with let-bind
184 of `tramp-end-of-output'.
185 (tramp-version, tramp-bug, tramp-reporter-dump-variable)
186 (tramp-load-report-modules, tramp-append-tramp-buffers):
187 Move to tramp-cmds.el.
188
189 * net/tramp-fish.el (tramp-fish-handle-copy-file)
190 (tramp-fish-do-copy-or-rename-file)
191 (tramp-fish-do-copy-or-rename-file-directly):
192 * net/tramp-smb.el (tramp-smb-handle-copy-file):
193 Add parameter PRESERVE-UID-GID.
194
195 2007-10-27 Eli Zaretskii <eliz@gnu.org>
196
197 * time.el (zoneinfo-style-world-list, legacy-style-world-list):
198 New defcustoms.
199 (display-time-world-list): Use them as appropriate for the current
200 value of `system-type'.
201
202 2007-10-26 Vinicius Jose Latorre <viniciusjl@ig.com.br>
203
204 * printing.el: Pacify byte compiler, that is, no compiler warnings.
205 Move (again) some variable definitions before use, define some fun
206 aliases, no code change.
207 (pr-version): New version 6.9.2.
208 (pr-path-style, pr-auto-region, pr-menu-char-height)
209 (pr-menu-char-width, pr-menu-lock, pr-ps-printer-alist)
210 (pr-txt-printer-alist, pr-ps-utility-alist): Options declaration
211 via (defvar VAR).
212 (pr-menu-lookup, pr-menu-lock, pr-menu-alist, pr-even-or-odd-pages)
213 (pr-menu-get-item, pr-menu-set-item-name, pr-menu-set-utility-title)
214 (pr-menu-set-ps-title, pr-menu-set-txt-title, pr-region-active-p)
215 (pr-do-update-menus, pr-update-mode-line, pr-f-read-string)
216 (pr-f-set-keymap-parents, pr-keep-region-active): Fun aliases.
217 (pr-menu-print-item, pr-ps-printer-menu-modified)
218 (pr-txt-printer-menu-modified, pr-ps-utility-menu-modified)
219 (pr-even-or-odd-alist): Vars definition moved.
220
221 2007-10-26 Dan Nicolaescu <dann@ics.uci.edu>
222
223 * emulation/pc-select.el (next-line-mark, next-line-nomark)
224 (previous-line-mark, previous-line-nomark): Wrap with-no-warnings
225 around uses of previous-line and next-line.
226
227 * diff.el (diff-old-file, diff-new-file, diff-extra-args):
228 New defvars.
229
230 * textmodes/css-mode.el (comment-continue):
231 * net/browse-url.el (url-handler-regexp):
232 * progmodes/idlw-help.el (idlwave-system-routines):
233 Pacify byte-compiler.
234
235 * textmodes/fill.el (fill-nobreak-p): Replace obsolete alias
236 line-move-invisible-p with its former definition: invisible-p.
237 line-move-invisible-p was removed on 2007-08-29.
238
239 2007-10-26 Juanma Barranquero <lekktu@gmail.com>
240
241 * files.el (kill-emacs-query-functions): Doc fix;
242 `save-buffers-kill-emacs' is no longer bound to a key.
243
244 2007-10-26 Richard Stallman <rms@gnu.org>
245
246 * isearch-multi.el (isearch-buffers-multi): New option.
247 (isearch-buffers-search-fun): Test it.
248
249 * progmodes/ps-mode.el (ps-mode-map): Delete C-c v binding.
250 Put ps-run-clear on C-c C-l.
251
252 * newcomment.el (comment-styles): New style indent-or-triple.
253 (comment-style): Make that the default.
254 (comment-add defvar): Doc fix.
255 (comment-add): Delete arg EXTRA.
256 (comment-region-default): Open code call to comment-add.
257 Handle indent-or-triple style which uses `multi-char' for INDENT.
258
259 2007-10-26 Juanma Barranquero <lekktu@gmail.com>
260
261 * eshell/em-unix.el (nil-blank-string): Doc fix.
262
263 2007-10-26 John Wiegley <johnw@newartisans.com>
264
265 * eshell/em-unix.el (eshell/diff): Before calling the `diff'
266 function, ensure that the third argument is turned into a nil if
267 the string is otherwise completely empty (either no characters, or
268 all tabs/spaces). This fixes a bug from a user who found himself
269 unable to customize `diff-switches' and still use Eshell's diff
270 command.
271
272 2007-10-26 Glenn Morris <rgm@gnu.org>
273
274 * emacs-lisp/bytecomp.el (byte-compile-warnings): Autoload the
275 safe-local-variable property.
276
277 2007-10-26 Gwern Branwen <gwern0@gmail.com> (tiny change)
278
279 * net/browse-url.el (browse-url-browser-function): Delete grail.
280 (browse-url-grail): Function and variable deleted.
281 (browse-url-browser-function): Delete IXI Mosaic.
282 (browse-url-default-browser): Don't try IXI Mosaic.
283 (browse-url-iximosaic): Function deleted.
284 (browse-url-browser-function): Delete MMM.
285 (browse-url-default-browser): Don't try MMM.
286 (browse-url-mmm): Function deleted.
287
288 2007-10-26 Drew Adams <drew.adams@oracle.com>
289
290 * custom.el (custom-note-var-changed): New function.
291
292 2007-10-25 Dan Nicolaescu <dann@ics.uci.edu>
293
294 * emulation/edt-mapper.el (edt-emacs-variant): Replace the only
295 use with the definition. Remove.
296
297 * add-log.el (change-log-start-entry-re): New defconst.
298 (change-log-sortable-date-at): Use it.
299 (change-log-beginning-of-defun, change-log-end-of-defun):
300 New functions.
301 (change-log-mode): Use them for beginning-of-defun-function and
302 end-of-defun-function.
303
304 2007-10-25 Jonathan Yavner <jyavner@member.fsf.org>
305
306 * ses.el: Make `ses--symbolic-formulas' a safe local variable.
307 (ses-mode-print-map): Add `c' and `t' (suggested by Gareth Rees).
308 (ses-recalculate-cell): Deal with point being just beyond end of
309 data area (why does this happen?)
310 (ses-set-curcell): Ditto.
311 (ses-column-letter): Handle columns beyond 702. Code written by
312 Gareth Rees.
313
314 2007-10-25 Carsten Dominik <dominik@science.uva.nl>
315
316 * textmodes/org.el (org-agenda-get-restriction-and-command):
317 Use `mapc' instead of `mapcar'.
318 (org-agenda-list): Numeric prefix argument can specify the number
319 of days.
320 (remember-register, remember-buffer): Prevent byte compiler from
321 complaining.
322 (org-todo): Save and restore match data.
323 (org-no-warnings): New macro.
324 (org-columns-eval): Use `org-no-warnings'.
325
326 2007-10-25 Chris Moore <christopher.ian.moore@gmail.com>
327
328 * comint.el (comint-password-prompt-regexp):
329 Handle `[sudo] password'-style prompt.
330
331 2007-10-25 Glenn Morris <rgm@gnu.org>
332
333 * custom.el (custom-declare-variable): Add :risky and :safe keywords.
334 (defcustom): Doc fix.
335
336 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re):
337 Add `non_intrinsic'.
338 (f90-constants-re): Add ieee modules.
339 (f90-typedef-matcher, f90-typedec-matcher)
340 (f90-imenu-type-matcher): New functions.
341 (f90-font-lock-keywords-1): Give module procedures function-name face.
342 Use `f90-typedef-matcher' for derived types. Fix `abstract interface'.
343 Add `use, intrinsic'.
344 (f90-font-lock-keywords-2): Use `f90-typedec-matcher' for derived types.
345 Move start of `enum' blocks to separate entry.
346 (f90-start-block-re): Fix `type', `abstract interface'.
347 (f90-imenu-generic-expression): Use `f90-imenu-type-matcher' for
348 derived types.
349 (f90-mode-abbrev-table): Add `abstract interface', `asynchronous',
350 `elemental', change `enumerator'.
351 (f90-no-block-limit): Fix `abstract interface'.
352
353 * progmodes/f90.el (f90-indented-comment-re)
354 (f90-directive-comment-re, f90-break-delimiters):
355 * progmodes/fortran.el (fortran-comment-line-start-skip)
356 (fortran-directive-re):
357 * textmodes/conf-mode.el (conf-space-keywords): Mark these regexps
358 as safe if they are strings.
359
360 2007-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
361
362 * startup.el (window-system): Remove. Don't make it frame-local.
363
364 2007-10-24 Richard Stallman <rms@gnu.org>
365
366 * savehist.el (savehist-save): Omit unreadable elements.
367
368 * loadhist.el (unload-function-defs-list): Renamed from
369 unload-function-features-list.
370 (unload-feature-special-hooks, unload-feature): Doc fixes.
371
372 * indent.el (indent-to-left-margin): If point's in the indentation,
373 move to the end of the indentation.
374
375 * cus-edit.el (customize-changed-options): Make arg optional.
376
377 2007-10-24 Juanma Barranquero <lekktu@gmail.com>
378
379 * bs.el (bs-select, bs-select-other-window): Fix typos in docstrings.
380
381 2007-10-24 Dan Nicolaescu <dann@ics.uci.edu>
382
383 * textmodes/org-publish.el (org-publish-attachment): Re-install
384 accidentally deleted change.
385
386 2007-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
387
388 * term/iris-ansi.el (iris-function-map): Move init into declaration.
389
390 2007-10-24 Juanma Barranquero <lekktu@gmail.com>
391
392 * buff-menu.el (Buffer-menu-sort-column): Doc fix.
393 (Buffer-menu-mode-map): Initialize in the declaration.
394 (Buffer-menu-mode): Define with `define-derived-mode'.
395
396 2007-10-24 Carsten Dominik <dominik@science.uva.nl>
397
398 * textmodes/org.el (org-version): Change to 5.13e.
399 (org-agenda-file-regexp): Fix typo in docstring.
400 (org-add-planning-info): Fix bug in parenthesis settings.
401 (org-scan-tags): Catch the case of indirect buffers with no filename.
402 (org-fast-tag-selection, org-export-as-ascii, org-export-as-html):
403 Re-install switch to mapc, had been removed by accident.
404 (org-columns-map): New binding `C-c C-o'.
405 (org-columns-menu): Change menu text and added new entry.
406 (org-columns-eval): Document the use of `next-line'.
407 (org-columns-open-link): New function.
408 (org-columns-follow-link): Remove function.
409 (org-open-link-from-string): New function.
410 (org-read-date-get-relative): Fix typo in docstring.
411 (org-read-date-get-relative): Leading +/- is not optional.
412 (org-agenda-get-restriction-and-command): Always resize window on
413 first loop cycle.
414 (org-agenda-open-link): Make sure the link abbreviations are
415 present in the agenda buffer.
416 (org-agenda-copy-local-variable): New function.
417
418 2007-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
419
420 * vc.el (vc-update-changelog-rcs2log): Remove incorrect `backend' arg.
421
422 2007-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
423
424 * simple.el (reindent-then-newline-and-indent): Use a `move after
425 insert' kind of marker in the save-excursion.
426
427 2007-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
428
429 * textmodes/css-mode.el: Require CL.
430 (comment-continue): Declare.
431
432 * subr.el (make-variable-frame-localizable): Remove.
433 (make-variable-frame-local): Mark obsolete.
434
435 2007-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
436
437 * textmodes/tex-mode.el (tex-uptodate-p): Don't signal an error if one
438 of the subdirs is unreadable.
439
440 2007-10-23 Michael Albinus <michael.albinus@gmx.de>
441
442 * net/tramp.el (tramp-set-file-uid-gid): Protect `call-process'
443 when we are local.
444
445 2007-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
446
447 * progmodes/python.el (python-current-defun): Remove left-over
448 assignment to `start'.
449
450 2007-10-23 Juanma Barranquero <lekktu@gmail.com>
451
452 * ibuf-ext.el (ibuffer-auto-update-changed): Use `dolist' rather
453 than `mapcar'; return value is not used.
454
455 2007-10-23 Dan Nicolaescu <dann@ics.uci.edu>
456
457 * progmodes/gud.el (gdb-source-window, gud-tooltip-mode)
458 (hl-line-mode, hl-line-sticky-flag): Pacify byte compiler.
459
460 2007-10-23 Juanma Barranquero <lekktu@gmail.com>
461
462 * ibuf-ext.el (ibuffer-switch-to-saved-filters)
463 (ibuffer-switch-to-saved-filter-groups): Doc fixes.
464
465 2007-10-23 Dan Nicolaescu <dann@ics.uci.edu>
466
467 * term/xterm.el (terminal-init-xterm): Experiment with a longer timeout.
468
469 2007-10-23 Katsumi Yamaoka <yamaoka@jpl.org>
470
471 * emacs-lisp/advice.el (ad-make-advised-docstring):
472 Add ad-advice-info text property to doc string.
473
474 2007-10-23 Glenn Morris <rgm@gnu.org>
475
476 * progmodes/f90.el (f90-do-indent, f90-if-indent)
477 (f90-type-indent, f90-program-indent, f90-associate-indent)
478 (f90-continuation-indent, f90-comment-region)
479 (f90-beginning-ampersand, f90-smart-end)
480 (f90-break-before-delimiters, f90-auto-keyword-case)
481 (f90-leave-line-no, f90-mode-hook):
482 Give an appropriate safe-local-variable property.
483
484 * progmodes/fortran.el (fortran-tab-mode-default)
485 (fortran-tab-mode-string, fortran-do-indent, fortran-if-indent)
486 (fortran-structure-indent, fortran-continuation-indent)
487 (fortran-comment-indent, fortran-comment-line-extra-indent)
488 (fortran-comment-line-start)
489 (fortran-minimum-statement-indent-fixed)
490 (fortran-minimum-statement-indent-tab)
491 (fortran-comment-indent-char, fortran-line-number-indent)
492 (fortran-check-all-num-for-matching-do)
493 (fortran-blink-matching-if, fortran-continuation-string)
494 (fortran-comment-region, fortran-electric-line-number)
495 (fortran-column-ruler-fixed, fortran-column-ruler-tab)
496 (fortran-analyze-depth, fortran-break-before-delimiters):
497 Give an appropriate safe-local-variable property.
498
499 2007-10-23 Dan Nicolaescu <dann@ics.uci.edu>
500
501 * printing.el: Move variable definitions before use.
502 (pr-menu-char-width, pr-menu-char-height): Pacify byte compiler.
503
504 2007-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
505
506 * emulation/tpu-edt.el (tpu-edt-old-global-values): New var.
507 (tpu-edt-off): Use it.
508 (tpu-edt-on): Set it. Make sure the tpu-global-map is not already on
509 the global-map before adding it to global-map.
510
511 * menu-bar.el (global-buffers-menu-map): New var.
512 (global-map, menu-bar-update-buffers): Use it.
513 * msb.el (msb-menu-bar-update-buffers): Use it.
514 (msb-sort-by-directory, msb--choose-menu, msb--mode-menu-cond)
515 (msb--most-recently-used-menu, msb--create-buffer-menu-2):
516 Use with-current-buffer.
517
518 2007-10-22 Juri Linkov <juri@jurta.org>
519
520 * isearch-multi.el: New file.
521
522 * isearch.el (isearch-search-string): After finding the next
523 occurrence switch to buffer isearch-buffers-current-buffer when
524 isearch-buffers-next-buffer-function is non-nil and
525 isearch-buffers-current-buffer is live.
526
527 * add-log.el (change-log-mode): Make and set buffer-local variable
528 isearch-buffers-next-buffer-function to change-log-next-buffer.
529 Call isearch-buffers-minor-mode.
530 (change-log-next-buffer): New function.
531
532 2007-10-22 Carsten Dominik <dominik@science.uva.nl>
533
534 * textmodes/org.el (org-read-date-get-relative): New function.
535 (org-agenda-file-regexp): New variable.
536 (org-agenda-files): Allow directories in the variable.
537 (org-agenda-get-restriction-and-command): New function.
538 (org-agenda): Use `org-agenda-get-restriction-and-command'.
539 (org-todo-blocker-hook, org-todo-trigger-hook): New hooks.
540 (org-entry-is-todo-p, org-entry-is-done-p, org-get-todo-state):
541 New functions.
542 (org-entry-add-to-multivalued-property)
543 (org-entry-remove-from-multivalued-property)
544 (org-entry-member-in-multivalued-property): New functions.
545 (org-remember-apply-template): Catch C-g and make sure window
546 configuration is restored.
547 (org-agenda-open-link): Make it work with several links in the line.
548 (org-drawers, org-set-regexps-and-options)
549 (org-get-current-options): Add support for a DRAWERS in-buffer option.
550 (org-agenda-window-frame-fractions): New option.
551 (org-fit-agenda-window): Use `org-agenda-window-frame-fractions'.
552 (org-columns-cleanup-item, org-find-entry-with-id)
553 (org-insert-columns-dblock, org-listtable-to-string)
554 (org-dblock-write:columnview, org-columns-capture-view)
555 (org-edit-headline): New functions.
556 (org-agenda-to-appt): Require calendar.
557 (org-entry-get-with-inheritance): Widen for search.
558 (org-columns-display-here): Don't mark buffer as modified when
559 adding space characters to accomodate column overlays.
560 (org-export-as-html): Better formatting of tags in the toc.
561 (org-columns-display-here): Make the ITEM column as compact as possible.
562 (org-remember-templates): Customization interface improved.
563 (org-export-with-property-drawer): Variable removed.
564 (org-export-with-drawers): New option.
565 (org-complex-heading-regexp): New variable.
566 (org-sort-entries): Rewrite using `sort-subr'.
567 (org-set-property): More appropriate completion during interactive use.
568 (org-sort-entries): Allow sorting by property.
569 (org-additional-option-like-keywords): Add more values.
570 (org-sort-entries-or-items): Rename from `org-sort-entries'.
571
572 2007-10-22 Carsten Dominik <dominik@science.uva.nl>
573
574 * textmodes/org.el (org-get-date-from-calendar): New function.
575 (org-at-timestamp-p, org-timestamp-change)
576 (org-remember-templates): First element of each entry is now a
577 name for the template.
578 (org-store-log-note): Check for `org-note-abort'.
579 (org-kill-note-or-show-branches): New command.
580 (org-fontify-priorities): New option.
581 (org-fontify-priorities): New function.
582 (org-cut-subtree, org-copy-subtree): New argument N to
583 act on N sequential subtrees.
584 (org-paste-subtree): Fix the level at which a tree is pasted.
585 (org-fit-agenda-window): Limitations on window size removed.
586 (org-agenda-find-same-or-today-or-agenda): Rename from
587 `org-agenda-find-today-or-agenda'.
588 (org-scheduled-past-days): New option.
589 (org-agenda-scheduled-leaders)
590 (org-agenda-deadline-leaders): New options.
591 (org-agenda-get-deadlines): Use `org-agenda-deadline-leaders'.
592 (org-agenda-get-scheduled): Use `org-agenda-scheduled-leaders'.
593 (org-export-with-tags, org-export-plist-vars)
594 (org-infile-export-plist): New "tags" option.
595 (org-use-property-inheritance): New option.
596 (org-cached-entry-get): Use `org-use-property-inheritance'.
597 (org-remember-apply-template): Fix typo.
598
599 2007-10-22 Michael Albinus <michael.albinus@gmx.de>
600
601 * net/tramp.el (tramp-find-shell)
602 (tramp-open-connection-setup-interactive-shell): Improve sending
603 initial commands.
604 (tramp-action-terminal): Send debug message.
605 (tramp-wait-for-shell-prompt, tramp-send-command-internal): Remove.
606 (tramp-barf-if-no-shell-prompt): Insert code of
607 `tramp-wait-for-shell-prompt'.
608
609 2007-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
610
611 * term/AT386.el (terminal-init-AT386): Use input-decode-map.
612
613 * term/vt200.el (terminal-init-vt200):
614 * term/vt201.el (terminal-init-vt201):
615 * term/vt220.el (terminal-init-vt220):
616 * term/vt240.el (terminal-init-vt240):
617 * term/vt300.el (terminal-init-vt300):
618 * term/vt320.el (terminal-init-vt320):
619 * term/vt400.el (terminal-init-vt400):
620 * term/vt420.el (terminal-init-vt420): Use input-decode-map.
621
622 * term/wyse50.el (wyse50-terminal-map): New var.
623 (terminal-init-wyse50): Use it and input-decode-map.
624 (enable-arrow-keys): Emasculate.
625
626 * term/tvi970.el (tvi970-terminal-map): New var.
627 (terminal-init-tvi970): Use it and input-decode-map.
628 (tvi970-keypad-numeric): Remove.
629 (tvi970-set-keypad-mode): Use a terminal-parameter rather than var.
630
631 * term/sun.el (sun-raw-prefix): Fill as part of declaration.
632 (terminal-init-sun): Use it and input-decode-map.
633
634 * term/news.el (terminal-init-news):
635 * term/lk201.el (terminal-init-lk201):
636 * term/iris-ansi.el (terminal-init-iris-ansi): Use input-decode-map.
637
638 2007-10-22 Sean O'Rourke <sorourke@cs.ucsd.edu>
639
640 * complete.el (PC-expand-many-files): Remove.
641 (PC-do-completion): Call file-expand-wildcards instead of
642 PC-expand-many-files.
643
644 * net/tramp.el (tramp-handle-expand-many-files): Remove.
645 (PC-expand-many-files): Remove advice.
646
647 2007-10-22 Glenn Morris <rgm@gnu.org>
648
649 * progmodes/f90.el: Remove leading "*" from defcustom doc-strings.
650 Add some support for Fortran 2003 syntax:
651 (f90-type-indent): Now also applies to `enum'.
652 (f90-associate-indent): New user option.
653 (f90-keywords-re, f90-keywords-level-3-re, f90-procedures-re):
654 Add some F2003 keywords.
655 (f90-constants-re): New constant.
656 (f90-font-lock-keywords-1): Add `associate' blocks, and `abstract
657 Interface'.
658 (f90-font-lock-keywords-2): Add `enumerator', `generic', `procedure',
659 `class'. Arguments for `type'/`class' may have spaces. Add a new
660 element for functions with specified types. Add `end enum' and
661 `select type'. Add `implicit enumerator' and `procedure'.
662 Add `class default' and `type is', `class is'. Fix `go to' regexp.
663 (f90-font-lock-keywords-3): Add `asynchronous' attribute.
664 (f90-font-lock-keywords-4): Add `f90-constants-re'.
665 (f90-blocks-re): Add `enum' and `associate'.
666 (f90-else-like-re): Add `class is', `type is', and `class default'.
667 (f90-end-type-re): Add `enum'.
668 (f90-end-associate-re, f90-typeis-re): New constants.
669 (f90-end-block-re): Add `enum' and `associate'. Change from
670 optional whitespace to end-of-word, to avoid `enumerator'.
671 (f90-start-block-re): Add `select type', `abstract interface', and
672 `enum'. Avoid `type is', and `type (sometype)'.
673 (f90-mode-abbrev-table): Add `enumerator', `protected', and `volatile'.
674 (f90-mode): Doc fix.
675 (f90-looking-at-select-case): Doc fix. Add `select type'.
676 (f90-looking-at-associate): New function.
677 (f90-looking-at-type-like): Avoid `type is' and `type (sometype)'.
678 Add `enum' and `abstract interface'.
679 (f90-no-block-limit): Add `select type' and `abstract interface'.
680 (f90-get-correct-indent, f90-calculate-indent)
681 (f90-end-of-block, f90-beginning-of-block, f90-next-block)
682 (f90-indent-region, f90-match-end): Handle `associate' blocks.
683
684 2007-10-22 Martin Rudalics <rudalics@gmx.at>
685
686 * progmodes/fortran.el (fortran-mode-map, fortran-window-create):
687 Use window-full-width-p.
688
689 2007-10-22 Dan Nicolaescu <dann@ics.uci.edu>
690
691 * mail/vms-pmail.el (insert-signature): Don't use end-of-buffer.
692
693 * tooltip.el: Use featurep 'xemacs.
694
695 * printing.el: Move variable definitions before use, no code change.
696
697 2007-10-22 Juri Linkov <juri@jurta.org>
698
699 * simple.el (goto-history-element): Allow minibuffer-default to be
700 a list of default values accessible by typing M-n in the minibuffer.
701
702 * dired-x.el (dired-guess-shell-command): Put all guesses to the
703 minibuffer default value list instead of pushing them temporarily
704 to the history list.
705
706 2007-10-21 Dan Nicolaescu <dann@ics.uci.edu>
707
708 * hexl.el (hexl-menu): New major mode menu.
709
710 2007-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
711
712 * emacs-lisp/byte-opt.el (byte-optimize-featurep): Fix paren typo.
713
714 2007-10-21 Dan Nicolaescu <dann@ics.uci.edu>
715
716 * w32-fns.el (w32-quote-process-args):
717 * dos-w32.el (print-region-function, lpr-headers-switches)
718 (ps-print-region-function): Pacify byte-compiler.
719
720 * emulation/edt-mapper.el (function-key-map):
721 (edt-map-key): Make it a function instead of using fset.
722 Inline edt-gnu-map-key and edt-lucid-map-key. Use featurep 'xemacs.
723 (edt-gnu-map-key, edt-lucid-map-key): Remove.
724 (edt-x-emacs-p): Remove.
725 (edt-emacs-variant, edt-window-system, edt-xserver):
726 Use featurep 'xemacs.
727
728 * net/eudc.el: Use (featurep 'xemacs) instead of the string test.
729 Replace eudc-xemacs-p with its definition.
730 (eudc-xemacs-p, eudc-emacs-p, eudc-xemacs-mule-p)
731 (eudc-emacs-mule-p): Remove.
732 (eudc-install-menu, eudc-mode): Replace eudc-emacs-p and
733 eudc-xemacs-p with feature tests.
734
735 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-mail-keymap)
736 (eudc-bob-url-keymap, eudc-bob-sound-keymap)
737 (eudc-bob-generic-keymap, eudc-bob-popup-menu)
738 (eudc-bob-toggle-inline-display):
739 * net/eudc-hotlist.el (eudc-hotlist-emacs-menu):
740 Replace eudc-emacs-p and eudc-xemacs-p with feature tests.
741
742 * net/eudcb-ph.el (eudc-ph-open-session):
743 Replace eudc-xemacs-mule-p with its former definition.
744
745 * progmodes/octave-mod.el (octave-xemacs-p): Remove.
746 (octave-abbrev-start): Replace octave-xemacs-p with (featurep 'xemacs).
747
748 * progmodes/vera-mode.el (vera-xemacs): Remove.
749 (vera-mode-syntax-table): Replace vera-xemacs with (featurep 'xemacs).
750
751 * progmodes/vhdl-mode.el (vhdl-xemacs): Remove.
752 (vhdl-doc-mode, vhdl-doc-variable, vhdl-compile-init)
753 (vhdl-speedbar-initialize, vhdl-ps-print-init)
754 (vhdl-forward-comment, vhdl-mode-map-init, vhdl-show-messages)
755 (vhdl-emacs-22, vhdl-emacs-21): Replace vhdl-xemacs
756 with (featurep 'xemacs).
757
758 * progmodes/antlr-mode.el (cond-emacs-xemacs-macfn, defunx)
759 (save-buffer-state-x):
760 * obsolete/fast-lock.el (fast-lock-verbose):
761 * emulation/viper-init.el (viper-xemacs-p)
762 (viper-cond-compile-for-xemacs-or-emacs):
763 * emacs-lisp/checkdoc.el (checkdoc-minor-mode-map):
764 * ps-print.el (case-fold-search):
765 * ediff-hook.el (ediff-cond-compile-for-xemacs-or-emacs):
766 * calculator.el (calculator-help): Use featurep 'xemacs.
767
768 * progmodes/prolog.el: Undo previous change.
769 (comint-prompt-regexp, comint-process-echoes): Pacify byte-compiler.
770
771 * progmodes/dcl-mode.el:
772 * play/yow.el:
773 * calendar/todo-mode.el:
774 * calendar/cal-hebrew.el:
775 * vc-hg.el: Undo previous change.
776
777 * vms-patch.el: Likewise.
778 (print-region-function): Pacify byte-compiler.
779
780 2007-10-21 Michael Albinus <michael.albinus@gmx.de>
781
782 * files.el (backup-buffer-copy): Call `copy-file' with non-nil
783 preserve-uid-gid.
784
785 * net/ange-ftp.el (ange-ftp-copy-file): Add PRESERVE-UID-GID for
786 compatibility. It is not used, though.
787
788 * net/tramp.el (top): Put load of all tramp-* files into a dolist.
789 Require tramp-cmds.el.
790 (tramp-make-tramp-temp-file): We can get rid of DONT-CREATE.
791 (tramp-handle-file-name-all-completions): Expand DIRECTORY.
792 (tramp-do-copy-or-rename-file-directly): Make more rigid checks.
793 (tramp-do-copy-or-rename-file-out-of-band)
794 (tramp-maybe-open-connection): Use `make-temp-name'. This is
795 possible, because we don't need to create the temporary file, but
796 we need a prefix for ssh, which has its own temporary file handling.
797 (tramp-handle-delete-directory): Add "-f" to rmdir.
798 (tramp-handle-dired-recursive-delete-directory): Call "rm -rf".
799 (tramp-handle-insert-file-contents): Don't raise a tramp-error but
800 a signal, in order to give the callee a chance to suppress.
801 (tramp-handle-write-region): Set owner also in case of short
802 track. Don't use compatibility calls for `write-region' anymore.
803 (tramp-clear-passwd): Add parameter VEC. Adapt all callees.
804 (tramp-append-tramp-buffers): Apply `tramp-list-tramp-buffers'.
805
806 * net/tramp-cmds.el: New file.
807
808 * net/tramp-gw.el (tramp-gw-basic-authentication): Apply VEC to
809 `tramp-clear-passwd'.
810
811 * net/trampver.el: Update release number.
812
813 2007-10-21 Dan Nicolaescu <dann@ics.uci.edu>
814
815 * progmodes/gud.el (gud-target-name): Move definition before use.
816
817 * progmodes/dcl-mode.el: Require imenu at compile time.
818
819 * progmodes/cc-engine.el (c-maybe-stale-found-type):
820 Pacify byte-compiler.
821
822 * obsolete/fast-lock.el: Use featurep test instead of string-match.
823
824 * eshell/esh-mode.el (eshell-handle-ansi-color):
825 Require ansi-color at compile time too.
826
827 * eshell/em-unix.el (eshell/info): Require info at compile time too.
828
829 * w32-fns.el: Require w32-vars.
830
831 * diff-mode.el (diff-refine-hunk): Require smerge-mode at compile
832 time too.
833
834 2007-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
835
836 * double.el ([ignore]): Use `ignore'.
837 (double-setup): Inline into double-mode.
838 (double-mode): Use define-minor-mode.
839
840 2007-10-21 Dan Nicolaescu <dann@ics.uci.edu>
841
842 * textmodes/reftex.el: Move require easymenu before first use.
843 (reftex-info): Require info at compile too.
844
845 * textmodes/org-publish.el (org-publish-org-to-html)
846 (org-publish-org-to): Require org at compile time too.
847 (org-publish-attachment): Require at compile time too.
848
849 * term/tty-colors.el (w32-tty-standard-colors):
850 Pacify byte-compiler.
851
852 * term/pc-win.el (frame-creation-function-alist): Add to this
853 instead of setting frame-creation-function.
854
855 * play/blackbox.el (bb-up, bb-down): Use forward-line.
856
857 * net/rcirc.el (rcirc-markup-text-functions): Move definition earlier.
858
859 * calendar/todo-mode.el: Require calendar at compile time.
860
861 * calendar/cal-hebrew.el: Require holidays at compile time.
862
863 * w32-vars.el: Provide w32-vars.
864
865 * term/w32-win.el: Require w32-vars.
866 (w32-color-map): Pacify byte-compiler.
867
868 * loadup.el: Load w32-vars before term/w32-win.
869
870 2007-10-20 Juri Linkov <juri@jurta.org>
871
872 * textmodes/fill.el (fill-paragraph): When the region is active,
873 don't try other `or' branches regardless of the value returned by
874 fill-region; just return t.
875
876 2007-10-20 Eric S. Raymond <esr@snark.thyrsus.com>
877
878 * vc.el (vc-do-command): Condition out a misleading message when
879 running asynchronously.
880 (vc-deduce-fileset): New argument enables using an unregistered
881 visited file as a singleton fileset if nothing else is available.
882 (vc-next-action): Restore file-registering behavior.
883
884 2007-10-20 Jay Belanger <jay.p.belanger@gmail.com>
885
886 * calc/README: Add recent news.
887
888 2007-10-20 Dan Nicolaescu <dann@ics.uci.edu>
889
890 * term/x-win.el (x-gtk-stock-map, icon-map-list)
891 (x-gtk-map-stock): Delete duplicated definitions from merge.
892
893 * progmodes/compile.el (compilation-skip-to-next-location)
894 (compilation-skip-threshold, compilation-skip-visited):
895 Move definitions earlier.
896
897 * play/decipher.el (decipher-keypress):
898 * play/zone.el (zone-fall-through-ws):
899 * play/landmark.el (lm-move-down, lm-move-up):
900 * play/handwrite.el (handwrite):
901 * mail/mspools.el (mspools-visit-spool):
902 * wdired.el (wdired-next-line, wdired-previous-line):
903 * tar-mode.el (tar-subfile-save-buffer):
904 * scroll-lock.el (scroll-lock-next-line)
905 (scroll-lock-previous-line):
906 * image-dired.el (image-dired-next-line)
907 (image-dired-previous-line):
908 * ediff-help.el (ediff-help-message-line-length):
909 Use forward-line.
910
911 * smerge-mode.el (smerge-auto-refine):
912 * diff-mode.el (diff-auto-refine): Add :group.
913
914 * play/yow.el: Require doctor at compile time.
915
916 * vmsproc.el: Provide vmsproc.
917 (command-send-input): Use forward-line.
918
919 * vms-patch.el: Require ps-print and vmsproc at compile time.
920
921 * vc-mtn.el (log-view-message-re, log-view-file-re)
922 (log-view-font-lock-keywords): Pacify byte-compiler.
923
924 * vc-hg.el: Require log-view at compile time.
925
926 2007-10-20 Eric S. Raymond <esr@snark.thyrsus.com>
927
928 * log-view.el (log-view-diff): Adapt log-view-diff for new VC API.
929
930 2007-10-20 Glenn Morris <rgm@gnu.org>
931
932 * progmodes/f90.el (f90-font-lock-keywords-2)
933 (f90-looking-at-type-like): Fix regexp typos.
934
935 2007-10-19 Juanma Barranquero <lekktu@gmail.com>
936
937 * bs.el (bs--track-window-changes): Don't refresh the whole list.
938 (bs-mode): Set mode-class property to special.
939
940 2007-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
941
942 * diff-mode.el (diff-auto-refine): New var.
943 (diff-hunk): Use it.
944 (diff-ignore-whitespace-hunk): Rename diff-refine-ignore-spaces-hunk.
945 (diff-refine-change): Rename from diff-fine-change. Change it.
946 (diff-refine-preproc): Rename from diff-fine-highlight-preproc.
947 (diff-refine-hunk): Rename from diff-fine-highlight.
948
949 2007-10-20 John Paul Wallington <jpw@pobox.com>
950
951 * help-fns.el (describe-variable-custom-version-info): New function
952 to return variable's version or package version note.
953 (describe-variable): Use it, display result.
954
955 2007-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
956
957 * smerge-mode.el (smerge-auto-refine): New var.
958 (smerge-next, smerge-prev): Use it.
959 (smerge-batch-resolve): Ad-hoc trick for Arch's .rej files.
960
961 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
962 Add `body' arg. Cleanup the check-narrow-maybe/re-narrow-maybe mess.
963
964 * vc-bzr.el (vc-bzr-diff-tree):
965 * vc-git.el (vc-git-diff-tree):
966 * vc-hg.el (vc-hg-diff-tree):
967 * vc-mcvs.el (vc-mcvs-diff-tree):
968 * vc-mtn.el (vc-mtn-diff-tree):
969 * vc-svn.el (vc-svn-diff-tree): Remove.
970
971 * vc-mtn.el (vc-mtn-revision-completion-table):
972 * vc-cvs.el (vc-cvs-revision-completion-table):
973 * vc-arch.el (vc-arch-revision-completion-table):
974 * vc-hg.el (vc-hg-revision-completion-table, vc-hg-revision-table):
975 * vc-git.el (vc-git-revision-completion-table, vc-git-revision-table):
976 Make it work when the arg is a list of files.
977
978 2007-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
979
980 * vc.el: Remove `diff-tree' operation, now subsumed by `diff'.
981 Also `revision-completion-table' now takes a list of files.
982 (vc-deduce-fileset): Remove unused var `regexp'.
983 Only obey allow-directory-wildcard in dired buffers.
984 (vc-default-diff-tree): Remove.
985 (vc-diff-added-files): New var.
986 (vc-diff-internal): Use it. Remove arg `backend'. Update callers.
987 (vc-version-diff): Revert from `vc-history-diff' to the original name.
988 Remove the `backend' arg.
989 (vc-contains-version-controlled-file): Remove.
990 (vc-diff): Bring it closer to the version in Emacs-22.
991 (vc-revert): Fix typo in let-binding.
992 (vc-default-unregister): Remove.
993 (vc-dired-buffers-for-dir): Remove N^2 behavior.
994
995 2007-10-19 Dan Nicolaescu <dann@ics.uci.edu>
996
997 * textmodes/two-column.el (2C-split, 2C-merge):
998 * textmodes/bib-mode.el (bib-find-key, mark-bib):
999 * progmodes/idlw-shell.el (idlwave-shell-move-or-history):
1000 * progmodes/etags.el (find-tag-in-order, etags-tags-apropos)
1001 * progmodes/ada-xref.el (ada-get-all-references):
1002 * obsolete/mlsupport.el (ml-next-line, ml-previous-line):
1003 * emulation/vi.el (vi-previous-line-first-nonwhite)
1004 (vi-effective-range, vi-put-before):
1005 * emulation/edt.el (edt-next-line, edt-previous-line)
1006 (edt-paragraph-forward): Use forward-line.
1007
1008 * progmodes/etags.el (tags-apropos): Require apropos at compile
1009 time too.
1010
1011 * progmodes/prolog.el: Require comint when compiling.
1012 (inferior-prolog-flavor): Move defvar before use.
1013
1014 2007-10-19 Richard Stallman <rms@gnu.org>
1015
1016 * font-core.el (turn-on-font-lock-if-desired):
1017 Rename from `turn-on-font-lock-if-enabled'.
1018 Fully obey `font-lock-global-modes'.
1019
1020 2007-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1021
1022 * diff-mode.el (diff-fine-highlight-preproc): Stick to minimal changes
1023 which will not affect the behavior of things like forward-word.
1024 (diff-fine-highlight): Preserve point.
1025
1026 * doc-view.el (doc-view-mode-map): Use remapping.
1027 Don't rebind C-v, M-v to their default value.
1028 Don't bind mouse-4 and mouse-5: it's mwheel.el's job.
1029
1030 * smerge-mode.el: Add word-granularity refinement.
1031 (smerge-refine-forward-function, smerge-refine-ignore-whitespace)
1032 (smerge-refine-weight-hack): New vars.
1033 (smerge-refine-forward): New fun.
1034 (smerge-refine-chopup-region, smerge-refine-highlight-change): Use them.
1035 (smerge-refine-subst): Use them as well. Preserve point.
1036
1037 2007-10-19 Juanma Barranquero <lekktu@gmail.com>
1038
1039 * follow.el (follow-unload-function): New function.
1040
1041 * loadhist.el (unload-function-features-list):
1042 Rename from `unload-hook-features-list'.
1043 (unload-hook-features-list): Add as obsolete alias.
1044 (unload-feature): Use `unload-function-features-list'
1045 and new FEATURE-unload-function.
1046
1047 2007-10-19 Glenn Morris <rgm@gnu.org>
1048
1049 * bindings.el (mouse-minor-mode-menu)
1050 (minor-mode-menu-from-indicator): Move to mouse.el.
1051 * mouse.el (mouse-minor-mode-menu, minor-mode-menu-from-indicator):
1052 Move here from bindings.el.
1053
1054 2007-10-19 Richard Stallman <rms@gnu.org>
1055
1056 * help-fns.el (describe-function-1): Don't use the advice origname
1057 if it has no function definition.
1058
1059 2007-10-18 Johan Bockg\e,Ae\e(Brd <bojohan@gnu.org>
1060
1061 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Save excursion.
1062 Use `save-restriction' rather than `widen'.
1063
1064 2007-10-18 Richard Stallman <rms@gnu.org>
1065
1066 * time.el (display-time-world-time-format): Display day # not month #.
1067
1068 2007-10-18 Reiner Steib <Reiner.Steib@gmx.de>
1069
1070 * files.el (auto-mode-alist): Don't use doc-view for PS and EPS.
1071
1072 * doc-view.el: Remove version keyword.
1073 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
1074 (doc-view-ps2pdf-program): Use executable-find. Simplify custom type.
1075 (doc-view-ghostscript-options): Improve custom type.
1076 (doc-view-cache-directory, doc-view-conversion-buffer)
1077 (doc-view-conversion-refresh-interval): Simplify custom type.
1078
1079 2007-10-18 Tassilo Horn <tassilo@member.fsf.org>
1080
1081 * doc-view.el (doc-view-dvi->pdf-sentinel, doc-view-dvi->pdf)
1082 (doc-view-pdf/ps->png-sentinel, doc-view-pdf/ps->png)
1083 (doc-view-pdf->txt-sentinel, doc-view-pdf->txt)
1084 (doc-view-ps->pdf-sentinel, doc-view-ps->pdf):
1085 Remove superfluous messages.
1086 (doc-view-mode-map): Use the image-mode scrolling commands.
1087 Don't rebind C-x k.
1088
1089 2007-10-18 Reiner Steib <Reiner.Steib@gmx.de>
1090
1091 * doc-view.el (doc-view-ghostscript-options, doc-view-ps->pdf):
1092 Add comment about "-dSAFER".
1093
1094 2007-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1095
1096 * term/xterm.el: Don't require xt-mouse.
1097 (terminal-init-xterm): Run terminal-init-xterm-hook rather than
1098 calling turn-on-xterm-mouse-tracking-on-terminal directly.
1099
1100 * xt-mouse.el: Don't change the global function-key-map anny more.
1101 (xterm-mouse-mode): Use terminal-init-xterm-hook.
1102 Don't use after-make-frame-functions now that term/xterm.el calls
1103 us directly.
1104 (turn-on-xterm-mouse-tracking, turn-off-xterm-mouse-tracking):
1105 Use turn-*-xterm-mouse-tracking-on-terminal. Only once per terminal.
1106 (turn-on-xterm-mouse-tracking-on-terminal): Make param optional.
1107 Setup input-decode-map and remember that xterm-mouse-mode was
1108 enabled in this terminal.
1109 (turn-off-xterm-mouse-tracking-on-terminal): Only disable on those
1110 terminals where it has been enabled.
1111
1112 * faces.el (tty-create-frame-with-faces): Make sure not only
1113 tty-run-terminal-initialization but also set-locale-environment
1114 are run only once per terminal.
1115 (tty-run-terminal-initialization): Don't check if the terminal was
1116 already initted.
1117
1118 * international/encoded-kb.el (encoded-kbd-setup-display): Be careful
1119 not to remove keymaps that just happen to inherit from one of ours.
1120 When setting up our keymap, make sure it won't be accidentally
1121 modified by someone else.
1122
1123 2007-10-18 Thien-Thi Nguyen <ttn@gnuvola.org>
1124
1125 * textmodes/artist.el (artist-previous-line, artist-next-line):
1126 * dired.el (dired-next-line, dired-previous-line):
1127 * progmodes/delphi.el (delphi-newline):
1128 * textmodes/org.el (org-columns-eval):
1129 Use forward-line.
1130
1131 * emerge.el (emerge-setup): Use insert-buffer-substring.
1132 (emerge-prepare-error-list, emerge-setup-with-ancestor): Likewise.
1133
1134 2007-10-18 Juanma Barranquero <lekktu@gmail.com>
1135
1136 * textmodes/fill.el (fill-individual-paragraphs): Doc fix.
1137 (adaptive-fill-function): Doc fix. Remove * from docstring.
1138
1139 2007-10-18 Tom Horsley <tom.horsley@att.net>
1140
1141 * simple.el (interprogram-paste-function): Doc fix.
1142 (current-kill): Accept list of strings as well
1143 as single string from `interprogram-paste-function'.
1144
1145 2007-10-18 Glenn Morris <rgm@gnu.org>
1146
1147 * ibuf-ext.el (ibuffer-saved-filter-groups): Doc fix.
1148
1149 2007-10-18 Drew Adams <drew.adams@oracle.com>
1150
1151 * bindings.el (mode-line-minor-mode-keymap):
1152 Add mouse-minor-mode-menu on mouse-1.
1153 (mode-line-modes): Add mouse-1 to help-echo text.
1154 (mouse-minor-mode-menu, minor-mode-menu-from-indicator):
1155 New functions.
1156 (mode-line-minor-mode-help): Doc fix.
1157
1158 2007-10-17 Juri Linkov <juri@jurta.org>
1159
1160 * textmodes/fill.el (fill-paragraph-or-region): Remove function
1161 at the request of RMS.
1162 (fill-paragraph): Change `arg' to optional `justify'. Add interactive
1163 arg `region'. Fix docstring. At the first `or' branch add call to
1164 `fill-region' if it the region is active in transient-mark-mode.
1165
1166 * bindings.el (esc-map): Bind M-q to fill-paragraph
1167 instead of fill-paragraph-or-region.
1168
1169 * tutorial.el (tutorial--default-keys): Replace fill-paragraph-or-region
1170 with fill-paragraph.
1171
1172 * textmodes/ispell.el (ispell-word): Add interactive arg `region'.
1173 Fix docstring.
1174
1175 * indent.el (indent-for-tab-command): Change interactive spec from
1176 "P" to "p". Add check for interactive arg before indenting the
1177 active region.
1178
1179 * files.el (auto-mode-alist): Add \\. before PDF/PS/DVI extensions.
1180 Regroup.
1181
1182 2007-10-17 Juanma Barranquero <lekktu@gmail.com>
1183
1184 * emacs-lisp/find-func.el: Don't require loadhist.
1185
1186 * loadhist.el (feature-symbols, file-provides, file-requires)
1187 (file-set-intersect, file-dependents): Simplify.
1188 (unload-feature-special-hooks): Update list of special hooks.
1189
1190 2007-10-17 Tassilo Horn <tassilo@member.fsf.org>
1191
1192 * bindings.el (completion-ignored-extensions): Remove pdf and dvi
1193 extensions since they can be viewed with doc-view.
1194
1195 * files.el (auto-mode-alist): Make doc-view-mode the default mode
1196 for pdf, ps and dvi files.
1197
1198 * doc-view.el: Make doc-view-mode the standard mode for viewing
1199 pdf, [e]ps and dvi files and add binding C-c C-c to toggle between
1200 text and image display. Add binding C-c C-e to switch to an
1201 editing mode.
1202 (doc-view-ghostscript-options, doc-view-ps->pdf): Add "-dSAFER" to
1203 avoid security problems when rendering files from untrusted sources.
1204
1205 2007-10-17 Aaron Hawley <aaronh@garden.org>
1206
1207 * tutorial.el (tutorial--save-tutorial): Display message when tutorial
1208 position is not saved.
1209
1210 2007-10-17 Reiner Steib <Reiner.Steib@gmx.de>
1211
1212 * doc-view.el: Mention xpdf. Fix spelling of Ghostscript.
1213 (doc-view-ghostscript-options): Fix typo in doc string.
1214
1215 2007-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1216
1217 * progmodes/compile.el (compilation-next-error-function): Fix timestamp
1218 handling, so compilation-fake-loc works again.
1219
1220 * server.el (server-select-display): Nop if we do not support m-f-o-d.
1221 (server-process-filter): Revert last change.
1222
1223 * vc.el (vc-diff-sentinel, vc-diff-internal): Revert some change in the
1224 behavior unrelated to filesets.
1225
1226 2007-10-17 Chong Yidong <cyd@stupidchicken.com>
1227
1228 * longlines.el (longlines-wrap-follows-window-size): Integer value
1229 specifies wrapping margin.
1230 (longlines-mode, longlines-window-change-function):
1231 Set window-specific wrapping margin based on the above.
1232
1233 2007-10-17 John Wiegley <johnw@newartisans.com>
1234
1235 * eshell/esh-cmd.el (eshell-complex-commands): Add "ls".
1236
1237 2007-10-17 Dan Nicolaescu <dann@ics.uci.edu>
1238
1239 * server.el (server-process-filter): Only set display if X11 is
1240 supported.
1241
1242 2007-10-17 Glenn Morris <rgm@gnu.org>
1243
1244 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
1245 Tweak regexp to avoid stack overflow.
1246
1247 2007-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
1248
1249 * simple.el (reindent-then-newline-and-indent): Don't assume that
1250 indent-according-to-mode preserves point.
1251
1252 2007-10-16 Juanma Barranquero <lekktu@gmail.com>
1253
1254 * bs.el (bs--make-header-match-string, bs-show-in-buffer)
1255 (bs--nth-wrapper): Simplify.
1256 (bs-select, bs--insert-one-entry): Simplify. Use `when'.
1257 (bs-buffer-list): Simplify. Use `when'. Use `string-match-p'.
1258 (bs-sort-buffer-interns-are-last): Use `string-match-p'.
1259 (bs-attributes-list, bs-max-window-height, bs-must-always-show-regexp)
1260 (bs-maximal-buffer-name-column, bs-minimal-buffer-name-column)
1261 (bs-configurations, bs-default-configuration)
1262 (bs-alternative-configuration, bs-cycle-configuration-name)
1263 (bs-string-show-always, bs-string-show-never, bs-string-current)
1264 (bs-string-current-marked, bs-string-marked, bs-string-show-normally)
1265 (bs-sort-functions, bs-default-sort-name): Remove * in docstrings.
1266 (bs--redisplay, bs--goto-current-buffer, bs--current-buffer, bs-delete)
1267 (bs-apply-sort-faces, bs-next-config-aux): Use `when'.
1268 (bs--window-config-coming-from): Revert 2006-11-09 change.
1269 (bs--restore-window-config): Keep the selected frame.
1270 (bs--track-window-changes, bs--remove-hooks): New functions.
1271 (bs-mode): Use `define-derived-mode'. Set hook to track window changes.
1272 (bs--create-header): Remove.
1273 (bs--create-header-line): New function, based on `bs--create-header'.
1274 (bs--show-header): Use `bs--create-header-line'.
1275 (bs--show-with-configuration): Revert 2006-11-09 change.
1276 Don't reuse window unless it is visible on the selected frame.
1277 Restore window configuration (possibly in a different frame)
1278 before creating any window.
1279
1280 2007-10-16 Glenn Morris <rgm@gnu.org>
1281
1282 * simple.el (blink-matching-open): Don't report false errors with
1283 the `$' syntax class.
1284
1285 2007-10-16 Richard Stallman <rms@gnu.org>
1286
1287 * emacs-lisp/advice.el (ad-get-advice-info): Change to a function.
1288 (ad-get-advice-info-macro): New macro, like old ad-get-advice-info.
1289 (ad-is-advised, ad-get-advice-info-field)
1290 (ad-set-advice-info-field): Use ad-get-advice-info-macro.
1291
1292 2007-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
1293
1294 * vc-hooks.el (vc-workfile-version): Compatibility alias.
1295 (vc-default-working-revision): Compatibility for backends.
1296
1297 2007-10-15 Juanma Barranquero <lekktu@gmail.com>
1298
1299 * filesets.el (filesets-alist-get): Use `let' rather than `let*'.
1300 (filesets-ormap, filesets-sort-case-sensitive-flag)
1301 (filesets-remake-shortcut, filesets-ingroup-collect-files):
1302 Fix typos in docstrings.
1303 (filesets-conditional-sort, filesets-find-or-display-file)
1304 (filesets-data-get-name, filesets-data-get-data)
1305 (filesets-data-set, filesets-cmd-query-replace-getargs)
1306 (filesets-ingroup-collect): Doc fixes.
1307
1308 2007-10-15 Sam Steingold <sds@gnu.org>
1309
1310 * mail/sendmail.el (sendmail-error-reporting-interactive)
1311 (sendmail-error-reporting-non-interactive): New variables for
1312 sendmail error reporting options to simplify support for imperfect
1313 sendmail emulators.
1314 (sendmail-send-it): Use them instead of list literals.
1315
1316 2007-10-15 Juanma Barranquero <lekktu@gmail.com>
1317
1318 * help-fns.el: Revert previous change; it creates a
1319 dependency loop between advice.el and help-fns.el.
1320
1321 2007-10-15 Juanma Barranquero <lekktu@gmail.com>
1322
1323 * help-fns.el: Require advice when compiling.
1324
1325 2007-10-14 Drew Adams <drew.adams@oracle.com>
1326
1327 * emacs-lisp/ring.el (ring-convert-sequence-to-ring)
1328 (ring-insert+extend, ring-remove+insert+extend, ring-member)
1329 (ring-next, ring-previous): New functions.
1330
1331 2007-10-14 Richard Stallman <rms@gnu.org>
1332
1333 * emacs-lisp/advice.el (documentation): Advice deleted.
1334 Doc for advised functions is now handled at C level.
1335 (ad-stop-advice, ad-start-advice): Don't enable or disable
1336 advice for `documentation'.
1337 (ad-advised-definition-docstring-regexp): Var deleted.
1338 (ad-make-advised-definition-docstring): Store orig name
1339 as text property of string.
1340 (ad-advised-definition-p): Check for text property of docstring.
1341
1342 * help-fns.el (describe-function-1): Find source of advised functions.
1343
1344 2007-10-14 Juri Linkov <juri@jurta.org>
1345
1346 * faces.el (describe-face): Allow handling a string as the face name.
1347
1348 * textmodes/ispell.el (ispell-word): Call `ispell-region' on the
1349 active region in transient-mark-mode.
1350 (ispell-region): Change messages displayed at the start and end of
1351 the spell-checking to be the same.
1352
1353 * startup.el (fancy-startup-tail): Say exactly what does the button
1354 dismiss ("Dismiss this startup screen"). Use text "Never show
1355 it again" for the checkbox after this button.
1356 (fancy-startup-screen, fancy-about-screen): Put point before the
1357 first link, so the user can quickly select links with the keyboard.
1358 (normal-mouse-startup-screen): Add more useful text describing how
1359 to follow a link.
1360
1361 2007-10-14 Glenn Morris <rgm@gnu.org>
1362
1363 * progmodes/etags.el (select-tags-table): Disable undo in the
1364 `*Tags Table List*' buffer.
1365
1366 2007-10-13 Eli Zaretskii <eliz@gnu.org>
1367
1368 * dired.el (dired-warn-writable): New face.
1369 (dired-warn-writable-face): New variable.
1370 (dired-font-lock-keywords): Use dired-warn-writable-face, instead
1371 of dired-warning-face, for group- and world-writable files.
1372
1373 2007-10-13 Richard Stallman <rms@gnu.org>
1374
1375 * files.el (directory-abbrev-alist): Doc fix.
1376
1377 2007-10-13 Jari Aalto <jari.aalto@cante.net>
1378
1379 * comint.el (comint-password-prompt-regexp): Add 'LDAP'.
1380
1381 2007-10-12 Martin Rudalics <rudalics@gmx.at>
1382
1383 * frame.el (set-frame-configuration): Assign name parameter only
1384 if it has been set explicitly before.
1385
1386 2007-10-11 Tom Tromey <tromey@redhat.com>
1387
1388 * progmodes/gdb-ui.el (gdb-info-stack-custom): Ensure current
1389 frame is visible.
1390
1391 2007-10-10 Richard Stallman <rms@gnu.org>
1392
1393 * emacs-lisp/debug.el (debugger-setup-buffer): Disable undo
1394 in *Backtrace*.
1395
1396 * faces.el (face-font-selection-order): Doc fix.
1397
1398 * loadhist.el (unload-feature): Doc fix.
1399
1400 2007-10-13 Glenn Morris <rgm@gnu.org>
1401
1402 * progmodes/octave-mod.el (octave-looking-at-kw): Add doc string.
1403 (octave-re-search-forward-kw, octave-re-search-backward-kw):
1404 Add doc string, and an explicit COUNT argument.
1405 (octave-scan-blocks, octave-beginning-of-defun): Explicitly pass
1406 `inc' to search functions.
1407
1408 * faces.el (face-spec-set): When FRAME is nil, set the default for
1409 new frames (restores pre-2007-09-17 behavior). Doc fix.
1410
1411 2007-10-13 John W. Eaton <jwe@octave.org>
1412
1413 * progmodes/octave-mod.el (octave-looking-at-kw)
1414 (octave-re-search-forward-kw, octave-re-search-backward-kw):
1415 New functions.
1416 (octave-in-defun-p, calculate-octave-indent)
1417 (octave-blink-matching-block-open, octave-beginning-of-defun)
1418 (octave-auto-fill): Use octave-looking-at-kw instead of looking-at,
1419 to search for regexps that contain case-sensitive keywords.
1420 (octave-beginning-of-defun): Likewise, for octave-re-search-backward-kw.
1421 (octave-scan-blocks): Likewise, for octave-re-search-forward-kw.
1422
1423 2007-10-13 Dan Nicolaescu <dann@ics.uci.edu>
1424
1425 * frame.el (select-frame-set-input-focus): Fix typo "max" -> "mac".
1426 Do not use a single clause cond.
1427
1428 * cus-start.el (all): Use test that does not match the X11 version
1429 for mac.
1430
1431 2007-10-13 Markus Gritsch <m.gritsch@gmail.com> (tiny change)
1432
1433 * progmodes/ebrowse.el (ebrowse-tree-mode): Disable undo in the
1434 BROWSE buffer.
1435
1436 2007-10-13 Dan Nicolaescu <dann@ics.uci.edu>
1437
1438 * cus-start.el (all): Undo previous change.
1439
1440 2007-10-13 Glenn Morris <rgm@gnu.org>
1441
1442 * woman.el (woman0-rename): Fix paren typo.
1443
1444 * mail/feedmail.el (feedmail-run-the-queue)
1445 (feedmail-look-at-queue-directory):
1446 * mail/reporter.el (reporter-dump-state):
1447 * net/eudc-hotlist.el (eudc-edit-hotlist):
1448 * net/eudc.el (eudc-display-records)
1449 (eudc-filter-duplicate-attributes)
1450 (eudc-distribute-field-on-records, eudc-query-form, eudc-process-form):
1451 * net/eudcb-bbdb.el (eudc-bbdb-filter-non-matching-record)
1452 (eudc-bbdb-query-internal):
1453 * net/eudcb-ldap.el (eudc-ldap-simple-query-internal):
1454 * net/socks.el (socks-build-auth-list):
1455 * progmodes/cc-cmds.el (top level):
1456 * progmodes/cc-styles.el (c-make-styles-buffer-local, c-set-style):
1457 * progmodes/cperl-mode.el (top level, cperl-imenu-addback)
1458 (cperl-write-tags, cperl-tags-treeify):
1459 * progmodes/ebnf-yac.el (ebnf-yac-token-table):
1460 * progmodes/ebnf2ps.el (ebnf-map-name, ebnf-dimensions):
1461 * progmodes/idlw-shell.el (idlwave-shell-filter-bp, top level):
1462 * progmodes/idlw-toolbar.el (idlwave-toolbar-add-everywhere)
1463 (idlwave-toolbar-remove-everywhere):
1464 * progmodes/idlwave.el (idlwave-indent-line)
1465 (idlwave-sintern-keyword-list, idlwave-scan-user-lib-files)
1466 (idlwave-write-paths, idlwave-all-method-classes)
1467 (idlwave-all-method-keyword-classes, idlwave-entry-keywords)
1468 (idlwave-fix-keywords, idlwave-display-calling-sequence)
1469 (idlwave-complete-in-buffer):
1470 * textmodes/org.el (org-export-as-html, org-export-as-ascii)
1471 (org-fast-tag-selection):
1472 * textmodes/reftex-sel.el (reftex-select-item): Use mapc rather
1473 than mapcar.
1474
1475 2007-10-13 Dan Nicolaescu <dann@ics.uci.edu>
1476
1477 * diff-mode.el (diff-fine-change): Add :group.
1478
1479 2007-10-12 Dan Nicolaescu <dann@ics.uci.edu>
1480
1481 * cus-start.el (all): Use the same test as the 22.2 branch.
1482
1483 2007-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1484
1485 * diff-mode.el (diff-current-defun): Force recomputation of
1486 change-log-default-name.
1487
1488 2007-10-12 Chong Yidong <cyd@stupidchicken.com>
1489
1490 * startup.el (fancy-startup-screen): Remove an unnecessary newline
1491 and some leftover logic regarding dedicated frames. If showing
1492 concise startup screen, fit window to buffer.
1493 (command-line-1): If we will be using the splash screen, use
1494 find-file instead of find-file-other-window to find additional files.
1495 Comment out unused code for coping with the old sit-for behavior.
1496
1497 2007-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1498
1499 * term/xterm.el (xterm-function-map, xterm-alternatives-map): Use the
1500 `meta' modifier consistently, rather than using sometimes meta
1501 sometimes alt.
1502
1503 2007-10-12 Martin Rudalics <rudalics@gmx.at>
1504
1505 * window.el (handle-select-window): Revert part of 2007-10-08
1506 change setting the input focus.
1507
1508 2007-10-12 Glenn Morris <rgm@gnu.org>
1509
1510 * startup.el (command-line): Do not read abbrev file in batch mode.
1511
1512 * emacs-lisp/byte-opt.el (top level):
1513 * mail/rmail.el (rmail-list-to-menu):
1514 * obsolete/hilit19.el (hilit-mode):
1515 * progmodes/cc-mode.el (c-postprocess-file-styles)
1516 (c-submit-bug-report):
1517 * textmodes/org-publish.el (org-publish-get-plist-from-filename):
1518 * textmodes/reftex.el (reftex-erase-all-selection-and-index-buffers)
1519 (reftex-access-parse-file):
1520 * textmodes/reftex-cite.el (reftex-do-citation)
1521 (reftex-insert-bib-matches):
1522 * textmodes/reftex-ref.el (reftex-offer-label-menu):
1523 * textmodes/reftex-sel.el (reftex-select-unmark):
1524 * textmodes/reftex-toc.el (reftex-toc-do-promote):
1525 * vc-mcvs.el (vc-mcvs-checkin): Use mapc rather than mapcar.
1526
1527 * cus-edit.el (custom-variable-menu, custom-face-menu)
1528 (custom-group-menu): Check init-file-user rather than
1529 user-init-file, in case cus-edit is loaded by site-run-file.
1530
1531 2007-10-11 Dan Nicolaescu <dann@ics.uci.edu>
1532
1533 * vc.el (vc-deduce-fileset): Delete unused code.
1534 (vc-next-action): Fix typos.
1535
1536 2007-10-11 Juanma Barranquero <lekktu@gmail.com>
1537
1538 * bs.el (bs--mark-unmark): New function.
1539 (bs-mark-current, bs-unmark-current): Use it.
1540
1541 2007-10-11 Eric S. Raymond <esr@snark.thyrsus.com>
1542
1543 * vc.el (vc-diff):
1544 (vc-diff-internal): Merge a patch by Juanma Barranquero. Also,
1545 temporarily disable the check for his edge case of
1546 vc-diff (stopping it from grinding when called from $HOME), as
1547 it's calling some brittle code in vc-hooks.el.
1548 (with-vc-properties): Fix evaluation time of a macro argument.
1549 * ediff-vers.el (ediff-vc-internal):
1550 * vc-hooks.el:
1551 * loaddefs.el: Follow up on VC terminology change.
1552
1553 2007-10-11 Juanma Barranquero <lekktu@gmail.com>
1554
1555 * follow.el (follow-stop-intercept-process-output):
1556 Use `follow-call-process-filter' rather than `process-filter'.
1557 Simplify.
1558 * vc.el (vc0iff): Prevent errors in an edge case.
1559
1560 2007-10-11 Eric S. Raymond <esr@snark.thyrsus.com>
1561
1562 * vc-hooks.el (vc-registered): Robustify this function a bit
1563 against filenames with no directory component.
1564
1565 2007-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1566
1567 * international/characters.el: Undo unwanted and unexplained change.
1568
1569 2007-10-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1570
1571 * ps-print.el: Fix the usage of :foreground and :background face
1572 attributes. Reported by Nikolaj Schumacher <n_schumacher@web.de>.
1573 (ps-print-version): New version 6.7.6.
1574 (ps-face-attributes, ps-face-attribute-list, ps-face-background):
1575 Fix code.
1576 (ps-face-foreground-color-p, ps-face-background-color-p)
1577 (ps-face-color-p): New inline funs.
1578
1579 2007-10-10 Carsten Dominik <dominik@science.uva.nl>
1580
1581 * textmodes/org.el (org-additional-option-like-keywords): New constant.
1582 (org-complete): Use `org-additional-option-like-keywords'.
1583 (org-parse-local-options): New function.
1584
1585 2007-10-10 Carsten Dominik <dominik@science.uva.nl>
1586
1587 * textmodes/org.el (org-in-clocktable-p): New function.
1588 (org-clock-report): Only update the table at point, or insert a new one.
1589 (org-clock-goto): New function.
1590 (org-open-file): Use `start-process-shell-command' instead of
1591 `shell-command' with an ampersand.
1592 (org-deadline, org-schedule): New argument REMOVE to remove the
1593 date from the entry.
1594 (org-agenda-schedule, org-agenda-deadline): Pass the prefix
1595 argument to `org-schedule' and `org-deadline'.
1596 (org-trim): Use the correct expressions for beginning and end of
1597 the string.
1598 (org-get-cleaned-entry): Trim the string before returning it.
1599 (org-clock-find-position): New function.
1600 (org-clock-into-drawer): New option.
1601 (org-agenda-tags-column): Rename from
1602 `org-agenda-align-tags-to-column'.
1603 (org-agenda-align-tags): Allow negative values for
1604 `org-agenda-tags-column'.
1605 (org-insert-labeled-timestamps-before-properties-drawer): Remove var.
1606 (org-agenda-to-appt): New optional argument FILTER.
1607 (org-completion-fallback-command): New variable.
1608 (org-complete): Use `org-completion-fallback-command'.
1609 (org-find-base-buffer-visiting): Catch the case that there is no
1610 buffer visiting the file.
1611 (org-property-or-variable-value): New function.
1612 (org-todo): Use `org-property-or-variable-value'
1613 (org-agenda-compact-blocks): New option.
1614 (org-prepare-agenda, org-agenda-list): Use `org-agenda-compact-blocks'.
1615 (org-agenda-schedule, org-agenda-deadline):
1616 Call `org-agenda-show-new-time'.
1617 (org-agenda-show-new-time): New argument PREFIX.
1618 (org-colgroup-info-to-vline-list): Fix but that cause a
1619 shift in the vertical lines.
1620 (org-buffer-property-keys): New argument INCLUDE-DEFAULTS.
1621 (org-maybe-renumber-ordered-list, org-cycle-list-bullet)
1622 (org-indent-item): No arg in call to `org-fix-bullet-type'.
1623 (org-fix-bullet-type): Remove argument.
1624 (org-read-date): Check for am/pm twice, to catch the end time.
1625 (org-goto-map): Use `suppress-keymap'.
1626 (org-remember-apply-template): Respect the dynamically scoped
1627 selection character.
1628
1629 2007-10-10 Bastien Guerry <Bastien.Guerry@ens.fr>
1630
1631 * textmodes/org-export-latex.el (org-export-latex-protect-string):
1632 Renaming of `org-latex-protect'.
1633 (org-export-latex-emphasis-alist): By default, don't protect
1634 any emphasis formatter from further conversion.
1635 (org-export-latex-tables): Honor column grouping for tables.
1636 (org-export-latex-title-command): New option.
1637 (org-export-latex-treat-backslash-char): Use \textbackslash{} to
1638 export backslash character.
1639
1640 2007-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1641
1642 * frame.el (frame-inherited-parameters): Remove unused `environment'
1643 parameter, and let server.el add `client' when needed.
1644
1645 * server.el (server-create-tty-frame)
1646 (server-create-window-system-frame): Set frame-inherited-parameters.
1647
1648 * frame.el (frame-inherited-parameters): New var.
1649 (make-frame): Use it.
1650
1651 * font-lock.el (lisp-font-lock-keywords-2): Remove let-environment.
1652
1653 * env.el (let-environment): Remove. Unused.
1654 (read-envvar-name): Simplify.
1655 (setenv): Remove unused arg `frame'.
1656
1657 * help-fns.el (describe-variable): Add missing " " for multiline
1658 obsolescence info and missing EOL after global value.
1659
1660 2007-10-10 Eric S. Raymond <esr@snark.thyrsus.com>
1661
1662 * add-log.el:
1663 * ediff-vers.el:
1664 * log-view.el:
1665 * pcvs.el:
1666 * vc-arch.el:
1667 * vc-bzr.el:
1668 * vc-cvs.el:
1669 * vc.el:
1670 * vc-git.el:
1671 * vc-hg.el:
1672 * vc-hooks.el:
1673 * vc-mcvs.el:
1674 * vc-mtn.el:
1675 * vc-rcs.el:
1676 * vc-sccs.el:
1677 * vc-svn.el: Terminology cleanup: workfile-version -> working-revision,
1678 {find,init,next,previous,annotate-*,log}-version ->
1679 {find,init,next,previous,annotate-*,log}-revision,
1680 annotate-focus-version -> annotate-working-revision, The term
1681 'focus' is gone. The term 'revision' is now used consistently
1682 everywhere that reference to a revision ID is intended, replacing
1683 older use of 'version'.
1684
1685 2007-10-10 Juanma Barranquero <lekktu@gmail.com>
1686
1687 * follow.el: Change all instances of "Follow Mode" to "Follow
1688 mode" in docstrings and messages.
1689 (follow-menu-filter): Fix arg passed to `bound-and-true-p'.
1690
1691 2007-10-10 Eric S. Raymond <esr@snark.thyrsus.com>
1692
1693 * vc.el (vc-next-action): Rewrite completely; this principal
1694 entry point now operates on a current fileset selected either
1695 explicitly via VC-Dired or implicitly by visiting a file buffer,
1696 rather than always operating on the file of the current buffer as
1697 in older versions. Rewrite the rest of the mode to match.
1698 (with-vc-properties): Rewrite to operate on a file list.
1699 (with-vc-file): vc-checkin takes a file list argument now.
1700 (vc-post-command-functions): This hook now receives a file list.
1701 (vc-do-command): Take a either a file or a file list as argument.
1702 (vc-deduce-fileset): New function for deducing a file list to
1703 operate on.
1704 (vc-next-action-on-file, vc-next-action-dired): Remove.
1705 Merge into vc-next-action.
1706 (vc-register): Adapt to the fact that vc-start-entry now takes a
1707 file list.
1708 (vc-register-with): New function.
1709 (vc-start-entry): Take a file list argument rather than a
1710 file argument.
1711 (vc-checkout): Cope with vc-start-entry taking a file list.
1712 (vc-steal-lock): Cope with with-vc-properties taking a
1713 file list.
1714 (vc-checkin): Take a file list argument rather than a file argument.
1715 (vc-finish-logentry): Use the filelist passed by vc-start-entry.
1716 (vc-diff-internal): Rewrite for filesets.
1717 (vc-diff-sentinel): New function, tests whether changes were
1718 written into a diff buffer.
1719 (vc-diff): Rewrite for filesets.
1720 (vc-version-diff): Rewrite for filesets.
1721 (vc-print-log): Take a fileset argument.
1722 (vc-revert): Revert the entire selected fileset, not just the
1723 current buffer.
1724 (vc-rollback): Roll back the entire selected fileset, if
1725 possible. No longer accepts a prefix argument.
1726 (vc-update): Merge new changes for the entire selected
1727 fileset, not just the current buffer.
1728 (vc-revert-file): Cope with with-vc-properties taking a file list.
1729 (vc-default-dired-state-info): Add + status suffix if the file is
1730 modified.
1731 (vc-annotate-warp-version): Use the new diff machinery.
1732 (vc-log-edit): Take a file list argument rather than a file argument.
1733
1734 2007-10-10 Michael Albinus <michael.albinus@gmx.de>
1735
1736 Sync with Tramp 2.1.11.
1737
1738 * net/tramp.el (tramp-open-connection-setup-interactive-shell):
1739 Pacify byte compiler.
1740
1741 * net/trampver.el: Update release number.
1742
1743 2007-10-09 Richard Stallman <rms@gnu.org>
1744
1745 * play/gamegrid.el (gamegrid-setup-default-font): Use face-spec-set.
1746
1747 2007-10-09 Juanma Barranquero <lekktu@gmail.com>
1748
1749 * follow.el: Require easymenu.
1750 (follow-mode-hook, follow-mode): Doc fixes.
1751 (follow-mode-off-hook): Mark as obsolete.
1752
1753 2007-10-08 Martin Rudalics <rudalics@gmx.at>
1754
1755 * window.el (mouse-autoselect-window-cancel): Don't cancel for
1756 select-window or select-frame events.
1757 (handle-select-window): When autoselecting window set input
1758 focus. Restructure.
1759
1760 * frame.el (focus-follows-mouse): Move to frame.c.
1761 * cus-start.el (all): Add focus-follows-mouse.
1762
1763 2007-10-08 Juanma Barranquero <lekktu@gmail.com>
1764
1765 * bs.el (bs-mode): Make sure global-font-lock-mode doesn't
1766 activate font-locking in the *buffer-selection* buffer.
1767 (bs-show-sorted): Doc fix.
1768
1769 * bs.el (bs--get-marked-string, bs--get-modified-string)
1770 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
1771 (bs--get-mode-name, bs-mode): Fix typos in docstrings.
1772 (bs--format-aux): Doc fix.
1773
1774 2007-10-08 Micha\e,Ak\e(Bl Cadilhac <michael@cadilhac.name>
1775
1776 * progmodes/gud.el (gud-gud-gdb-command-name): Fix typo in docstring.
1777
1778 2007-10-08 Nick Roberts <nickrob@snap.net.nz>
1779
1780 * progmodes/gud.el (gud-gud-gdb-command-name): New option.
1781 (gud-gdb): New function for old M-x gdb (text command mode).
1782 (gud-gdb-command-name, gdb): Move to...
1783
1784 * progmodes/gdb-ui.el: ...here and adapt doc string.
1785 (gud-gdba-command-name, gdba): Delete.
1786
1787 2007-10-08 Juanma Barranquero <lekktu@gmail.com>
1788
1789 * bs.el: Don't defvar `font-lock-verbose'.
1790 (bs-config-clear, bs-kill, bs-string-show-normally, bs-sort-functions)
1791 (bs--get-file-name): Fix typos in docstrings.
1792 (bs--show-header): Use `dolist' instead of `mapcar'.
1793 (bs-mode): Set `show-trailing-whitespace' to nil.
1794 (bs-buffer-sort-function, bs-mouse-select-other-frame)
1795 (bs-visits-non-file, bs-sort-buffer-interns-are-last, bs-show):
1796 Doc fixes.
1797
1798 2007-10-08 Adam Hupp <adam@hupp.org> (tiny change)
1799
1800 * progmodes/gdb-ui.el (pdb): Specify file for gud-break.
1801
1802 2007-10-08 Nick Roberts <nickrob@snap.net.nz>
1803
1804 * progmodes/gud.el (gdb): Make graphical mode the default and
1805 switch to text command mode if appropriate, i.e., reverse previous
1806 arrangement.
1807 (gud-gdb-marker-filter): Adapt for above change.
1808
1809 * progmodes/gdb-ui.el (gdb-init-1): Don't set the values
1810 gud-minor-mode and gud-marker-filter.
1811 (gdb-fullname-regexp): New variable.
1812 (gud-gdba-marker-filter): Use it to switch to text command
1813 mode if appropriate.
1814
1815 2007-10-08 Nick Roberts <nickrob@snap.net.nz>
1816
1817 * progmodes/gud.el (gud-display-line): Find source buffer even when
1818 GUD buffer has its own frame.
1819
1820 2007-10-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
1821
1822 * term/x-win.el (icon-map-list): Set to nil for 22.1 compatibility.
1823
1824 2007-10-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
1825
1826 * term/x-win.el (x-gtk-stock-map): Version is 22.2.
1827
1828 2007-10-08 Martin Rudalics <rudalics@gmx.at>
1829
1830 * allout.el (allout-before-change-handler): Replace got-char by
1831 goto-char.
1832
1833 2007-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1834
1835 * vc-svn.el (vc-svn-resolve-when-done, vc-svn-find-file-hook): New funs.
1836 Used to try and automatically enabled smerge-mode in the presence of
1837 conflicts and to call `svn resolved' when the conflicts are gone.
1838 (vc-svn-parse-status): Remember the svn-specific status.
1839
1840 2007-10-08 Eli Zaretskii <eliz@gnu.org>
1841
1842 * menu-bar.el (menu-bar-search-documentation-menu): Rename from
1843 menu-bar-apropos-menu. All users changed.
1844 (menu-bar-help-menu): Change menu symbols to better match the text
1845 displayed by the menu.
1846
1847 2007-10-08 Dan Nicolaescu <dann@ics.uci.edu>
1848
1849 * files.el (file-name-sans-versions): Use [:alnum:] and also allow
1850 #, @, : and ^.
1851
1852 2007-10-08 Dan Nicolaescu <dann@ics.uci.edu>
1853
1854 * pcvs-defs.el (cvs-mode-map): Bind TAB and backtab.
1855
1856 * log-view.el (log-view-mode-map): Likewise.
1857
1858 * diff-mode.el (diff-mode-shared-map): Likewise.
1859
1860 2007-10-08 Dan Nicolaescu <dann@ics.uci.edu>
1861
1862 * files.el (file-name-sans-versions): Also allow `A-Z'.
1863
1864 * vc.el: Mention all supported VC backends.
1865
1866 2007-10-08 Richard Stallman <rms@gnu.org>
1867
1868 * wid-edit.el (widget-specify-button): Don't merge mouse-face with
1869 neighbouring buttons.
1870
1871 2007-10-08 Andreas Schwab <schwab@suse.de>
1872
1873 * files.el (file-name-sans-versions): Also allow `_'.
1874
1875 2007-10-08 Dan Nicolaescu <dann@ics.uci.edu>
1876
1877 * files.el (file-name-sans-versions): Allow - and a-z in version names.
1878
1879 * log-view.el (log-view-mode-map, log-view-mode-menu):
1880 Bind log-view-annotate-version.
1881 (log-view-beginning-of-defun, log-view-end-of-defun)
1882 (log-view-annotate-version): New functions.
1883 (log-view-mode): Use log-view-beginning-of-defun and
1884 log-view-end-of-defun.
1885
1886 2007-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1887
1888 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix staging.
1889
1890 2007-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1891
1892 * wid-edit.el (widget-image-insert): Don't merge mouse-face with
1893 neighbouring buttons.
1894
1895 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1896 Recognize gcc's use of "note" for informational messages.
1897
1898 2007-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1899
1900 * textmodes/css-mode.el (css-electric-keys): electrick->electric.
1901 (css-mode): Update correspondingly.
1902
1903 2007-10-08 Dan Nicolaescu <dann@ics.uci.edu>
1904
1905 * vc-git.el (vc-git-log-view-mode): Add font-lock patterns for
1906 Signed-off-by, Acked-by and Merge.
1907
1908 2007-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1909
1910 * ediff-init.el (ediff-verbose-p): This var is not a constant.
1911
1912 2007-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1913
1914 * vc-mtn.el: New file.
1915
1916 * vc-hooks.el (vc-handled-backends): Add Mtn.
1917
1918 2007-10-08 Eli Zaretskii <eliz@gnu.org>
1919
1920 * files.el (find-file, find-file-other-window)
1921 (find-file-other-frame, find-file-existing, find-file-read-only)
1922 (find-file-read-only-other-window)
1923 (find-file-read-only-other-frame)
1924 (find-alternate-file-other-window, find-alternate-file): Doc fixes.
1925
1926 2007-10-08 Nick Roberts <nickrob@snap.net.nz>
1927
1928 * progmodes/gud.el (gdb-ready): New variable.
1929 (gdb): Set it to nil. Set gud-running to nil here...
1930 (gud-common-init): ...instead of here.
1931
1932 * progmodes/gdb-ui.el (gdba, gdb-send, gdb-source-info):
1933 Use gdb-ready. Discard input until GDB is ready to accept it.
1934
1935 2007-10-08 Martin Rudalics <rudalics@gmx.at>
1936
1937 * dired.el (dired-warning): Inherit from font-lock-warning-face to
1938 make it show up with eight colors.
1939
1940 2007-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1941
1942 * diff-mode.el (diff-sanity-check-hunk): Fix up the case when unified
1943 diffs are concatenated with no intervening line.
1944
1945 2007-10-08 Dave Love <fx@gnu.org>
1946
1947 * progmodes/python.el: Merge changes from Dave Love's v2007-Sep-10.
1948 (python-font-lock-keywords): Update to the 2.5 version of the language.
1949 (python-quote-syntax): Let-bind font-lock-syntactic-keywords to nil.
1950 (python-backspace): Only behave funny in code.
1951 (python-compilation-regexp-alist): Add PDB stack trace regexp.
1952 (inferior-python-mode): Add PDB prompt regexp.
1953 (python-fill-paragraph): Refine the fenced-string regexp.
1954 (python-find-imports): Handle imports spanning several lines.
1955 (python-mode): Add `class' to hideshow support.
1956
1957 2007-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1958
1959 * pcvs.el (cvs-mode-add-change-log-entry-other-window):
1960 Use add-log-buffer-file-name-function rather than binding
1961 buffer-file-name, so we don't end up calling change-log-mode in *cvs*
1962 when `fi' is the ChangeLog file itself.
1963
1964 * outline.el (outline-flag-region): Use front-advance.
1965
1966 2007-10-08 Ilya Zakharevich <ilyaz@cpan.org>
1967
1968 * progmodes/cperl-mode.el: Merge upstream 5.23.
1969 (cperl-where-am-i): Remove function.
1970 (cperl-backward-to-noncomment): Don't go too far when skipping POD/HEREs
1971 (cperl-sniff-for-indent): De-invert [string] and [comment].
1972 When looking for label, skip s:m:y:tr.
1973 (cperl-indent-line): Likewise.
1974 (cperl-mode): Don't assume `font-lock-multiline' is auto-local.
1975 (cperl-windowed-init): Wrong `ps-print' handling.
1976 Both thanks to Chong Yidong.
1977 (cperl-look-at-leading-count): Could fail with unfinished RExen.
1978 (cperl-find-pods-heres): If the second part of s()[] is missing,
1979 don't try to highlight delimiters...
1980
1981 2007-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1982
1983 * progmodes/compile.el (compilation-get-file-structure): Complete last
1984 change by also using spec-directory in the puthash.
1985
1986 2007-10-08 Riccardo Murri <riccardo.murri@gmail.com>
1987
1988 * vc-bzr.el (vc-bzr-file-name-relative): Use 'when' instead of 'and'.
1989 (vc-bzr-status): Fix shadowing of variable 'status'.
1990 (vc-bzr-workfile-version): Use correct path to 'last-revision' file.
1991 Use `expand-file-name' instead of `concat'.
1992 (vc-bzr-annotate-command): Use option name '--long' instead of '-l'.
1993 Update annotation line regexp. Fixes launchpad.net [Bug 137435].
1994
1995 2007-10-08 Jason Rumney <jasonr@gnu.org>
1996
1997 * frame.el (focus-follows-mouse): Doc-fix. Change default on w32.
1998
1999 2007-10-08 Richard Stallman <rms@gnu.org>
2000
2001 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Make defcustom.
2002 Add `safe-local-variable' property.
2003 (lisp-body-indent): Likewise.
2004
2005 2007-10-08 Richard Stallman <rms@gnu.org>
2006
2007 * files.el (hack-local-variables-confirm): Rename arg VARS to ALL-VARS.
2008 Add doc string.
2009
2010 2007-10-08 Martin Rudalics <rudalics@gmx.at>
2011
2012 * files.el (backup-buffer-copy): Try to overwrite old backup first.
2013
2014 2007-10-08 Martin Rudalics <rudalics@gmx.at>
2015
2016 * repeat.el (repeat): Use last-repeatable-command instead of
2017 real-last-command. Run pre- and post-command hooks for
2018 self-insertion. Update doc-string.
2019
2020 2007-10-08 Alexandre Julliard <julliard@winehq.org>
2021
2022 * vc-git.el (vc-git-state): Call git-add --refresh to update the
2023 state of the file.
2024 (vc-git-workfile-unchanged-p): Delegate implementation to vc-git-state.
2025 (vc-git-create-repo): Fix invalid command.
2026
2027 2007-10-08 Richard Stallman <rms@gnu.org>
2028
2029 * textmodes/flyspell.el (flyspell-mode):
2030 Catch errors in flyspell-mode-on.
2031
2032 2007-10-09 Juanma Barranquero <lekktu@gmail.com>
2033
2034 * term/x-win.el (x-alternatives-map): Remove spurious parenthesis.
2035
2036 2007-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2037
2038 * international/encoded-kb.el (encoded-kbd-setup-display):
2039 Use input-decode-map rather than local-key-translation-map.
2040
2041 * term/rxvt.el (rxvt-alternatives-map): New map.
2042 (terminal-init-rxvt): Use it.
2043 Bind rxvt-function-map in input-decode-map.
2044
2045 * term/xterm.el (xterm-alternatives-map): New map.
2046 (terminal-init-xterm): Use it.
2047 Bind xterm-function-map in input-decode-map.
2048
2049 * term/x-win.el (x-alternatives-map): New var.
2050 (x-setup-function-keys): Use it.
2051
2052 * help-fns.el (describe-variable): Slightly change the layout of
2053 meta-info to separate it better from the docstring.
2054 Standardize insertion of extra empty lines in various circumstances.
2055
2056 * diff-mode.el (diff-hunk-style): New fun.
2057 (diff-end-of-hunk): Use it.
2058 (diff-context->unified): Use the new `apply' undo element,
2059 if applicable, so as to save undo-log space.
2060 (diff-fine-change): New face.
2061 (diff-fine-highlight-preproc): New function.
2062 (diff-fine-highlight): New command.
2063 (diff-mode-map, diff-mode-menu): Add diff-fine-highlight.
2064
2065 * smerge-mode.el (smerge-refine-chopup-region): Add `preproc' argument.
2066 (smerge-refine-highlight-change): Add `props' argument.
2067 (smerge-refine-subst): New function holding most of smerge-refine.
2068 (smerge-refine): Use it.
2069
2070 2007-10-08 Eric S. Raymond <esr@snark.thyrsus.com>
2071
2072 * vc.el (vc-default-wash-log): Remove unused code, the
2073 log washers all live in the backends now.
2074 (vc-default-comment-history): Correct for the fact
2075 that wash-log is argumentless in the new API.
2076
2077 2007-10-08 Michael Albinus <michael.albinus@gmx.de>
2078
2079 * net/tramp.el (tramp-find-foreign-file-name-handler): Check also host.
2080 (tramp-maybe-send-script): Apply `member' but `memq'.
2081 (tramp-advice-file-expand-wildcards): Simplify implementation.
2082
2083 2007-10-08 Juanma Barranquero <lekktu@gmail.com>
2084
2085 * follow.el (follow-mode): Don't run hooks twice. Use `when'.
2086
2087 * mb-depth.el (minibuf-depth-indicator-function): New variable.
2088 (minibuf-depth-setup-minibuffer): Use it.
2089
2090 2007-10-07 Glenn Morris <rgm@gnu.org>
2091
2092 * simple.el (bad-packages-alist): Clarify Semantic and CEDET
2093 version numbers.
2094
2095 2007-10-06 Juri Linkov <juri@jurta.org>
2096
2097 * textmodes/fill.el (fill-paragraph-or-region): New function.
2098
2099 * bindings.el (esc-map): Bind M-q to fill-paragraph-or-region
2100 instead of fill-paragraph.
2101
2102 * tutorial.el (tutorial--default-keys): Replace fill-paragraph
2103 with fill-paragraph-or-region. Suspend command is now the same
2104 `suspend-frame' on window systems and on tty.
2105
2106 * image.el (image-type): Check if image-types is bound to not fail
2107 on tty.
2108
2109 * delsel.el (delete-selection-pre-hook):
2110 * emulation/cua-base.el (cua-paste): Check if mouse-region-match
2111 is fbound to not fail on mouseless tty.
2112
2113 2007-10-06 Michael Albinus <michael.albinus@gmx.de>
2114
2115 * net/tramp.el (top): Move loading of tramp-util.el and
2116 tramp-vc.el to tramp-compat.el.
2117 (tramp-make-tramp-temp-file): Complete rewrite. Create remote
2118 temporary file if possible, in order to avoid a security hole.
2119 (tramp-do-copy-or-rename-file-out-of-band)
2120 (tramp-maybe-open-connection): Call `tramp-make-tramp-temp-file'
2121 with DONT-CREATE, because the connection is not setup yet.
2122 (tramp-handle-process-file): Rewrite temporary file handling.
2123 (tramp-completion-mode): New defvar.
2124 (tramp-completion-mode-p): Use it.
2125
2126 * net/tramp-compat.el (top): Load tramp-util.el and tramp-vc.el.
2127
2128 * net/tramp-fish.el (tramp-fish-handle-process-file):
2129 Rewrite temporary file handling.
2130
2131 2007-10-06 Eric S. Raymond <esr@snark.thyrsus.com>
2132
2133 * vc.el: Workfile version -> focus version change. Port various
2134 comments from new VC to reduce the noise in the diff.
2135 Patch in the new vc-create-repo function to go with the
2136 header comment about it already present.
2137 There are no changes to existing logic in this patch.
2138 (vc-revert-buffer1): Rename to vc-revert-buffer-internal.
2139
2140 2007-10-06 Aaron Hawley <aaronh@garden.org>
2141
2142 * autoinsert.el (auto-insert-alist): Add a Texinfo entry.
2143
2144 2007-10-05 Chris Moore <dooglus@gmail.com>
2145
2146 * server.el (server-kill-new-buffers): Doc fix.
2147
2148 2007-10-05 John W. Eaton <jwe@octave.org>
2149
2150 * progmodes/octave-mod.el (octave-abbrev-table): Add "until".
2151 (octave-begin-keywords): Add "do".
2152 (octave-end-keywords): Remove "end".
2153 (octave-reserved-words): Add "end". Remove "all_va_args",
2154 "gplot", and 'gsplot".
2155 (octave-text-functions): Remove "gset", "gshow", "set", and "show".
2156 (octave-variables): Remove "IMAGEPATH", "INFO_FILE",
2157 "INFO_PROGRAM", "LOADPATH", "__error_text__", "automatic_replot",
2158 "default_return_value", "define_all_return_values",
2159 "do_fortran_indexing", "empty_list_elements_ok",
2160 "gnuplot_has_multiplot", "implicit_str_to_num_ok",
2161 "ok_to_lose_imaginary_part", "prefer_column_vectors",
2162 "prefer_zero_one_indexing", "propagate_empty_matrices",
2163 "resize_on_range_error", "treat_neg_dim_as_zero",
2164 "warn_assign_as_truth_value", "warn_comma_in_global_decl",
2165 "warn_divide_by_zero", "warn_function_name_clash",
2166 "warn_missing_semicolon", "whitespace_in_literal_matrix".
2167 Add "DEFAULT_EXEC_PATH", "DEFAULT_LOADPATH", "IMAGE_PATH",
2168 "crash_dumps_octave_core", "sighup_dumps_octave_core",
2169 "sigterm_dumps_octave_core".
2170 (octave-block-match-alist): Remove "end" from block-end keywords.
2171 (octave-mode): Update ftp site address.
2172
2173 2007-10-05 Dan Nicolaescu <dann@ics.uci.edu>
2174
2175 * vc.el: Reorder functions, no code changes.
2176
2177 2007-10-04 Michael Albinus <michael.albinus@gmx.de>
2178
2179 * net/tramp.el (tramp-make-temp-file): Move to tramp-compat.el.
2180 (tramp-do-copy-or-rename-file-directly): Handle tmpfile only in
2181 the cond clauses where needed.
2182 (tramp-handle-write-region): Rearrange code for proper handling of
2183 tmpfile.
2184
2185 * net/tramp-compat.el (tramp-compat-make-temp-file): New defsubst.
2186
2187 * net/tramp.el:
2188 * net/tramp-fish.el:
2189 * net/tramp-ftp.el:
2190 * net/tramp-smb.el: Rename `tramp-make-temp-file' to
2191 `tramp-compat-make-temp-file'.
2192
2193 2007-10-04 Juanma Barranquero <lekktu@gmail.com>
2194
2195 * image-dired.el (image-dired-image-at-point-p): Fix typo in docstring.
2196
2197 2007-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2198
2199 * emacs-lisp/copyright.el (copyright-update): Don't update if the file
2200 already uses a more recent copyright version than the "current" one.
2201
2202 2007-10-03 Micha\e,Ak\e(Bl Cadilhac <michael@cadilhac.name>
2203
2204 * doc-view.el (doc-view-dvi->pdf-sentinel, doc-view-reset-slice)
2205 (doc-view-insert-image): Minor aesthetical docstring changes.
2206
2207 2007-10-03 Tassilo Horn <tassilo@member.fsf.org>
2208
2209 * doc-view.el (doc-view): Don't ignore pdf and dvi files when
2210 completing filename.
2211 (doc-view-search-internal): Docstring change.
2212
2213 2007-10-03 Michael Albinus <michael.albinus@gmx.de>
2214
2215 * net/tramp.el (top): Add tramp-compat to `tramp-unload-hook'.
2216 (tramp-file-name-handler-alist):
2217 Add `tramp-handle-insert-file-contents-literally'. Needed for XEmacs.
2218 (tramp-make-temp-file): Use `make-temp-name'. `make-temp-file',
2219 used before, creates the file already, which is not desired.
2220 (tramp-do-copy-or-rename-file-directly): Simplify handling of
2221 temporary file.
2222 (tramp-handle-insert-file-contents): Assign the result in the
2223 short track case.
2224 (tramp-handle-insert-file-contents-literally): New defun.
2225 (tramp-completion-mode-p): Revert change from 2007-09-24.
2226 Checking for `return' etc as last character is not sufficient, for
2227 example in dired-mode when entering <g> (revert-buffer) or
2228 <s> (dired-sort).
2229
2230 * net/tramp-compat.el (top): Add also compatibility code for loading
2231 appropriate timer package.
2232 (tramp-compat-copy-tree): Check for `subrp' and `symbol-file' in
2233 order to avoid autoloading problems.
2234
2235 * net/tramp-fish.el:
2236 * net/tramp-smb.el: Move further compatibility code to tramp-compat.el.
2237
2238 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Handle the case
2239 where the second parameter of `copy-file' or `rename-file' is a
2240 remote file but not via ftp.
2241
2242 2007-10-02 Richard Stallman <rms@gnu.org>
2243
2244 * frame.el (cursor-in-non-selected-windows): Doc fix.
2245
2246 2007-10-01 Thien-Thi Nguyen <ttn@gnuvola.org>
2247
2248 * play/zone.el (zone): Let-bind show-trailing-whitespace to nil.
2249 Suggested by Chris Moore <christopher.ian.moore@gmail.com>.
2250
2251 2007-10-01 Jay Belanger <jay.p.belanger@gmail.com>
2252
2253 * calc/calc-math.el (math-largest-emacs-expt): Handle the cases
2254 when `expt' doesn't give range errors.
2255
2256 2007-10-01 Markus Triska <markus.triska@gmx.at>
2257
2258 * calc/calc-math.el (math-smallest-emacs-expt):
2259 Make the computation more robust.
2260
2261 2007-09-30 David Kastrup <dak@gnu.org>
2262
2263 * startup.el (argv): Alias for `command-line-args-left' to use as
2264 `(pop argv)' inside of --eval command sequences. Allows for
2265 passing shell commands into Emacs verbatim without need for Lisp
2266 quoting.
2267
2268 * autorevert.el (auto-revert-handler): In `auto-revert-tail-mode',
2269 check only for changed size.
2270 (auto-revert-tail-handler): Get size from caller. If the file has
2271 shrunk, tail the whole file again (the file presumably has been
2272 rewritten).
2273
2274 * woman.el (woman-topic-all-completions, woman-mini-help):
2275 Fix fallout from 2007-09-07 introduction of `dolist' when the list
2276 actually was being manipulated in the loop.
2277 (woman-Cyg-to-Win, woman-pre-process-region)
2278 (woman-horizontal-escapes, woman-if-body, woman-unescape)
2279 (woman-strings, woman-special-characters, woman1-hc)
2280 (woman-change-fonts, woman-find-next-control-line):
2281 Use `match-beginning' rather than `match-string' when the result is
2282 just used as a flag.
2283
2284 2007-09-30 Michael Albinus <michael.albinus@gmx.de>
2285
2286 * net/tramp-compat.el: New file.
2287
2288 * net/tramp.el:
2289 * net/tramp-fish.el:
2290 * net/tramp-smb.el:
2291 * net/tramp-uu.el:
2292 * net/trampver.el: Move compatibility code to tramp-compat.el.
2293 Apply `mapc' instead of `mapcar' when the code needs side effects
2294 only. Move utf-8 coding cookie to the second line.
2295
2296 2007-09-30 Reiner Steib <Reiner.Steib@gmx.de>
2297
2298 * term/x-win.el (x-gtk-stock-map): Add Gnus and MH-E icons.
2299 Improve custom type.
2300 (icon-map-list): Make it customizable. Document how to disable
2301 stock icons.
2302
2303 2007-09-30 Richard Stallman <rms@gnu.org>
2304
2305 * play/zone.el (zone-hiding-modeline): Use mode-line-format.
2306
2307 2007-09-29 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
2308
2309 * term/x-win.el (x-gtk-stock-map): Version is 22.2.
2310
2311 2007-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2312
2313 * t-mouse.el (gpm-mouse-mode): Rename from t-mouse-mode. Rewrite.
2314 (t-mouse-mode): New compatibility alias.
2315
2316 2007-09-28 Dan Nicolaescu <dann@ics.uci.edu>
2317
2318 * server.el (server-delete-client): Only delete the terminal if it
2319 is non-nil.
2320
2321 2007-09-28 Michael Albinus <michael.albinus@gmx.de>
2322
2323 * net/tramp.el (with-file-property, with-connection-property):
2324 Highlight as keyword.
2325 (tramp-rfn-eshadow-setup-minibuffer)
2326 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
2327 (tramp-set-file-uid-gid, tramp-do-copy-or-rename-file-via-buffer)
2328 (tramp-do-copy-or-rename-file-directly)
2329 (tramp-do-copy-or-rename-file-out-of-band)
2330 (tramp-handle-shell-command, tramp-get-debug-buffer)
2331 (tramp-send-command-and-read, tramp-equal-remote)
2332 (tramp-get-local-gid): Pacify byte-compiler.
2333 (tramp-handle-file-name-directory): Result shall not be expanded.
2334 (tramp-find-foreign-file-name-handler): Rewrite.
2335 (tramp-dissect-file-name): Add optional parameter NODEFAULT.
2336
2337 * net/tramp-cache.el (tramp-cache-print): Pacify byte-compiler.
2338
2339 * net/tramp-fish.el (tramp-fish-handle-expand-file-name):
2340 Apply `tramp-completion-mode-p'.
2341 (tramp-fish-handle-set-file-times)
2342 (tramp-fish-handle-executable-find)
2343 (tramp-fish-handle-process-file, tramp-fish-get-file-entries)
2344 (tramp-fish-retrieve-data): Pacify byte-compiler.
2345
2346 * net/tramp-gw.el (tramp-gw-basic-authentication):
2347 Call `tramp-read-passwd' with first parameter `nil'.
2348
2349 2007-09-28 Glenn Morris <rgm@gnu.org>
2350
2351 * mail/supercite.el (sc-attribs-filter-namelist): Use mapc rather
2352 than mapcar.
2353
2354 * textmodes/tex-mode.el (tex-suscript-height-ratio)
2355 (tex-suscript-height-minimum): New customizable variables.
2356 (tex-suscript-height): New function.
2357 (superscript, subscript): Set height using tex-suscript-height
2358 rather than fixing at 0.8.
2359 (tex-fontify-script, tex-font-script-display): Add :version tag.
2360
2361 2007-09-27 Juanma Barranquero <lekktu@gmail.com>
2362
2363 * progmodes/python.el (python-eldoc-function): Doc fix.
2364
2365 2007-09-27 Glenn Morris <rgm@gnu.org>
2366
2367 * image.el (image-type-auto-detected-p): Doc fix. Don't detect an
2368 image if it is not in image-type-auto-detectable, or is there with
2369 a nil value.
2370
2371 2007-09-27 Michael Albinus <michael.albinus@gmx.de>
2372
2373 * net/tramp.el (tramp-maybe-open-connection): Make test for alive
2374 connection more robust.
2375
2376 2007-09-26 Juanma Barranquero <lekktu@gmail.com>
2377
2378 * emacs-lisp/eldoc.el (eldoc-function-argstring-format):
2379 Deal with the case that special &keywords are at the beginning or
2380 end of the argument list. Also add some (incomplete) support for
2381 non-standard arglists.
2382
2383 2007-09-26 Juanma Barranquero <lekktu@gmail.com>
2384
2385 * emacs-lisp/eldoc.el (eldoc-message-commands-table-size)
2386 (eldoc-message-commands, eldoc-current-idle-delay)
2387 (eldoc-function-argstring-format): Fix typos in docstrings.
2388
2389 2007-09-26 Jay Belanger <jay.p.belanger@gmail.com>
2390
2391 * calc/calc-units.el (calc-convert-units)
2392 (calc-convert-temperature): Remove unnecessary colons.
2393
2394 2007-09-26 Bastien Guerry <bzg@altern.org>
2395
2396 * textmodes/org-export-latex.el (org-export-latex-tables-verbatim):
2397 New function.
2398 (org-export-latex-remove-from-headlines): Name changed because of typo.
2399 (org-export-latex-quotation-marks-convention): Option removed.
2400 (org-export-latex-make-preamble): Handle the DATE option.
2401 (org-export-latex-cleaned-string): Now the only cleaning function,
2402 synched up with org.el.
2403 (org-export-latex-lists, org-export-latex-parse-list)
2404 (org-export-list-to-latex): New functions.
2405
2406 2007-09-26 Carsten Dominik <dominik@science.uva.nl>
2407
2408 * textmodes/org.el (org-kill-is-subtree-p): Use `org-outline-regexp'.
2409 (org-outline-regexp): New constant.
2410 (org-remember-handler): Throw error when the target file is not in
2411 org-mode.
2412 (org-cleaned-string-for-export): No longer call
2413 `org-export-latex-cleaned-string' with an argument.
2414 (org-get-tags): Returns now a list, not a string.
2415 (org-get-tags-string): New function.
2416 (org-archive-subtree): No need to split return of `org-get-tags'.
2417 (org-set-tags, org-entry-properties): Call `org-get-tags-string'
2418 instead of `org-get-tags'.
2419 (org-agenda-format-date): Rename from `org-agenda-date-format'.
2420 (org-time-from-absolute, org-agenda-format-date-aligned): New funs.
2421 (org-compatible-face): New argument INHERITS. Inherit from this
2422 face if possible.
2423 (org-level-1, org-level-2, org-level-3, org-level-4)
2424 (org-level-5, org-level-6, org-level-7, org-level-8)
2425 (org-special-keyword, org-drawer, org-column, org-warning)
2426 (org-archived, org-todo, org-done, org-headline-done, org-table)
2427 (org-formula, org-code, org-agenda-structure)
2428 (org-scheduled-today, org-scheduled-previously)
2429 (org-upcoming-deadline, org-time-grid): Call `org-compatible-face'
2430 in the new way.
2431 (org-get-heading): New argument NO-TAGS.
2432 (org-fast-tag-selection-include-todo): Made defvar instead of
2433 defcustom, feature is not deprecated.
2434 (org-remember-store-without-prompt): New default value t.
2435 (org-todo-log-states): New variable.
2436 (org-set-regexps-and-options): #+TODO is an alias for SEQ_TODO.
2437 Compute the log states.
2438 (org-goto-map): More commands copied from global map. Also bind
2439 `org-occur'.
2440 (org-goto): Made into a general lookup command.
2441 (org-get-location): Complete rewrite.
2442 (org-goto-exit-command): New variable.
2443 (org-goto-selected-point): New variable.
2444 (org-goto-ret, org-goto-left, org-goto-right, org-goto-quit):
2445 Set the new variables.
2446 (org-paste-subtree): Whitespace insertion strategy revised.
2447 (org-remember-apply-template): Protect v-A from the possibility
2448 that v-a might be nil.
2449 (org-remember-handler): Insertion rules revised.
2450 (org-todo): Respect org-todo-log-states.
2451 (org-up-heading-safe): New function.
2452 (org-entry-get-with-inheritance): Use `org-up-heading-safe'.
2453
2454 2007-09-26 Dan Nicolaescu <dann@ics.uci.edu>
2455
2456 * progmodes/cc-cmds.el (c-indent-line-or-region): Only indent the
2457 region if in transient-mark-mode.
2458
2459 2007-09-26 Juanma Barranquero <lekktu@gmail.com>
2460
2461 * calc/calc-ext.el (calc-init-extensions, calc-reset):
2462 * calc/calc-help.el (calc-full-help):
2463 * calc/calc-misc.el (another-calc):
2464 * calc/calc-store.el (calc-var-name-map):
2465 * calc/calc-stuff.el (calc-flush-caches):
2466 * calc/calc-units.el (math-build-units-table):
2467 * calc/calc.el (calc-digit-map, calc-dispatch-map, calc-mode)
2468 (calc-quit):
2469 * calendar/icalendar.el (icalendar--format-ical-event)
2470 (icalendar--convert-ical-to-diary):
2471 * emacs-lisp/authors.el (authors):
2472 * emacs-lisp/cust-print.el (custom-print-install)
2473 (custom-print-uninstall):
2474 * emacs-lisp/disass.el (disassemble-1):
2475 * emacs-lisp/easy-mmode.el (easy-mmode-define-syntax):
2476 * emacs-lisp/edebug.el (byte-compile-resolve-functions):
2477 * emacs-lisp/elint.el (elint-current-buffer, elint-check-defun-form)
2478 (elint-check-let-form, elint-check-condition-case-form)
2479 (elint-initialize):
2480 * emacs-lisp/elp.el (elp-results):
2481 * emacs-lisp/generic.el (generic-mode-internal):
2482 * emacs-lisp/re-builder.el (reb-delete-overlays):
2483 * emacs-lisp/regi.el (regi-interpret):
2484 * emacs-lisp/sregex.el (sregex--char-aux):
2485 * emulation/cua-rect.el (cua--deactivate-rectangle)
2486 (cua--highlight-rectangle, cua--rectangle-post-command):
2487 * emulation/viper-keym.el (viper-toggle-key, viper-ESC-key):
2488 * emulation/viper-macs.el (viper-describe-kbd-macros)
2489 (viper-describe-one-macro):
2490 * emulation/viper-util.el (viper-setup-master-buffer):
2491 * emulation/viper.el (set-viper-state-in-major-mode):
2492 * international/mule-diag.el (describe-current-coding-system):
2493 * language/ethio-util.el (ethio-fidel-to-sera-buffer):
2494 * mail/emacsbug.el (report-emacs-bug):
2495 * net/ange-ftp.el (ange-ftp-call-chmod, ange-ftp-parse-bs2000-listing):
2496 * obsolete/hilit19.el (hilit-unhighlight-region)
2497 (hilit-set-mode-patterns):
2498 * play/solitaire.el (solitaire-check, solitaire-solve):
2499 * play/zone.el (zone-pgm-rotate):
2500 * progmodes/ada-mode.el (ada-save-exceptions-to-file):
2501 * progmodes/ada-prj.el (ada-prj-display-page):
2502 * progmodes/delphi.el (delphi-search-directory, delphi-find-unit-file)
2503 (delphi-debug-mode-map, delphi-mode-map, delphi-mode):
2504 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-view-exit-fn)
2505 (ebrowse-member-mode, ebrowse-save-tree-as, ebrowse-save-class):
2506 * progmodes/sh-script.el (sh-make-vars-local)
2507 (sh-reset-indent-vars-to-global-values):
2508 * progmodes/sql.el (top):
2509 * progmodes/vhdl-mode.el (vhdl-set-style, vhdl-regress-line):
2510 * progmodes/xscheme.el (top):
2511 * textmodes/artist.el (artist-mt-get-symbol-from-keyword-sub)
2512 (artist-go-retrieve-from-symbol-sub, artist-go-get-symbol-shift-sub)
2513 (artist-fc-retrieve-from-symbol-sub, artist-vaporize-line)
2514 (artist-vaporize-lines, artist-ellipse-compute-fill-info)
2515 (artist-submit-bug-report):
2516 * textmodes/flyspell.el (flyspell-delay-commands)
2517 (flyspell-deplacement-commands):
2518 * textmodes/table.el (table--generate-source-epilogue, table-insert)
2519 (table--generate-source-cells-in-a-row, table--make-cell-map)
2520 (*table--cell-describe-bindings): Use `mapc' rather than `mapcar'.
2521
2522 2007-09-25 Juanma Barranquero <lekktu@gmail.com>
2523
2524 * allout.el (produce-allout-mode-map, allout-process-exposed):
2525 * ansi-color.el (ansi-color-make-color-map):
2526 * autoinsert.el (auto-insert):
2527 * bookmark.el (bookmark-bmenu-list, bookmark-show-all-annotations):
2528 * dired-aux.el (dired-create-files):
2529 * dired.el (dired-restore-desktop-buffer):
2530 * ediff-diff.el (ediff-setup-fine-diff-regions):
2531 * ediff-mult.el (ediff-intersect-directories)
2532 (ediff-redraw-directory-group-buffer, ediff-dir-diff-copy-file)
2533 (ediff-redraw-registry-buffer):
2534 * ediff-ptch.el (ediff-fixup-patch-map):
2535 * ediff-util.el (ediff-toggle-multiframe, ediff-toggle-use-toolbar)
2536 (ediff-really-quit, ediff-clear-diff-vector):
2537 * emerge.el (emerge-really-quit):
2538 * ffap.el (ffap-replace-file-component):
2539 * filecache.el (file-cache-add-directory)
2540 (file-cache-add-directory-recursively)
2541 (file-cache-add-from-file-cache-buffer, file-cache-delete-file-regexp)
2542 (file-cache-delete-directory, file-cache-files-matching-internal)
2543 (file-cache-display):
2544 * files.el (cd):
2545 * find-lisp.el (find-lisp-insert-directory):
2546 * finder.el (finder-compile-keywords):
2547 * help.el (view-emacs-news):
2548 * hi-lock.el (hi-lock-write-interactive-patterns):
2549 * ido.el (ido-to-end, ido-set-matches-1):
2550 * image-dired.el (image-dired-display-thumbs, image-dired-remove-tag)
2551 (image-dired-mark-tagged-files):
2552 * jka-cmpr-hook.el (jka-compr-get-compression-info):
2553 * printing.el (pr-eval-local-alist, pr-eval-setting-alist):
2554 * ps-print.el (ps-background, ps-begin-file)
2555 (ps-build-reference-face-lists):
2556 * simple.el (clone-buffer):
2557 * startup.el (command-line):
2558 * tempo.el (tempo-insert-template, tempo-is-user-element)
2559 (tempo-forward-mark, tempo-backward-mark):
2560 * woman.el (woman-dired-define-keys): Use `mapc' rather than `mapcar'.
2561
2562 2007-09-25 Glenn Morris <rgm@gnu.org>
2563
2564 * textmodes/tex-mode.el (tex-font-script-display): Doc fix.
2565
2566 * view.el (view-search-no-match-lines): Add a doc string.
2567 Rewrite to simplify and work better.
2568
2569 2007-09-24 Dan Nicolaescu <dann@ics.uci.edu>
2570
2571 * progmodes/cc-mode.el (c-mode-base-map):
2572 Use c-indent-line-or-region instead of c-indent-line.
2573
2574 * indent.el (indent-for-tab-command): First check if the region is
2575 active.
2576
2577 2007-09-24 Micha\e,Ak\e(Bl Cadilhac <michael@cadilhac.name>
2578
2579 * whitespace.el (whitespace-tickle-timer): Don't install the timer if
2580 whitespace-rescan-timer-time is 0.
2581
2582 2007-09-24 Karl Berry <karl@gnu.org>
2583
2584 * international/mule.el (coding-system-base): Fix doc string grammar.
2585
2586 2007-09-24 Michael Albinus <michael.albinus@gmx.de>
2587
2588 * net/tramp.el (tramp-completion-mode-p): Rename from
2589 `tramp-completion-mode'. Revert logic, check `return', `newline'
2590 and such alike. Packages like Icicles tend to use other completion
2591 characters but `tab' and `space' only.
2592
2593 2007-09-24 Adam Hupp <adam@hupp.org>
2594
2595 * progmodes/python.el (run-python): Import emacs module without
2596 waiting; prevents lockup on error.
2597
2598 2007-09-23 Richard Stallman <rms@gnu.org>
2599
2600 * mail/sendmail.el (mail-bury): Delete the frame
2601 if this frame looks like it was made for this message.
2602
2603 * completion.el (completion-separator-self-insert-command)
2604 (completion-separator-self-insert-autofilling):
2605 If `self-insert-command' has been remapped, use the substitute.
2606
2607 * simple.el (copy-region-as-kill): Doc fix.
2608
2609 * textmodes/org.el (org-confirm-shell-link-function)
2610 (org-confirm-elisp-link-function): Doc fixes.
2611
2612 2007-09-23 Glenn Morris <rgm@gnu.org>
2613
2614 * ses.el (ses-calculate-cell): Don't evaluate unsafe formulae.
2615
2616 2007-09-23 Dan Nicolaescu <dann@ics.uci.edu>
2617
2618 * term/w32-win.el (w32-drag-n-drop): Use mapc instead of mapcar.
2619
2620 * term/tvi970.el (terminal-init-tvi970): Likewise.
2621
2622 * term/sun-mouse.el (print-mouse-format): Likewise.
2623
2624 * term/sun.el (scroll-down-in-place, scroll-up-in-place):
2625 Use forward-line instead of previous-line and next-line.
2626
2627 2007-09-22 Juri Linkov <juri@jurta.org>
2628
2629 * textmodes/org.el (org-confirm-shell-link-function): Doc fix.
2630
2631 * tutorial.el (tutorial--default-keys): Update standard bindings:
2632 rename `iconify-or-deiconify-frame' to `suspend-frame',
2633 and `save-buffers-kill-emacs' to `save-buffers-kill-terminal'.
2634
2635 2007-09-22 Juri Linkov <juri@jurta.org>
2636
2637 * startup.el (fancy-startup-text, fancy-about-text, fancy-startup-tail):
2638 Add help-echo to external links and to links without description.
2639 (fancy-splash-insert): Use help-echo from the 3rd element of the
2640 link specification list, or "Follow this link" if it's nil. Doc fix.
2641
2642 2007-09-22 Juri Linkov <juri@jurta.org>
2643
2644 * startup.el (command-line): Rename `inhibit-startup-message' to
2645 `inhibit-startup-screen'.
2646 (fancy-about-text): Use shorter label for "Ordering Manuals".
2647 (fancy-startup-tail): Add optional arg `concise'. When `concise'
2648 is nil, display a line with "To start..." and 3 links to useful
2649 tasks. Display the "Dismiss" button and "Don't show this message
2650 again" only when concise is non-nil.
2651 (fancy-startup-screen): Call `fancy-startup-tail' with optional
2652 arg `concise'. If CONCISE is non-nil, display a concise version
2653 of the splash screen in another window. Otherwise, switch to the
2654 startup buffer in the same window.
2655 (startup-echo-area-message): Change displayed binding from
2656 C-h C-p (describe-project) to C-h C-a (about-emacs), and change
2657 text "about the GNU system and GNU/Linux" to "about GNU Emacs and
2658 the GNU system".
2659 (display-startup-screen): Fix buffer name from "*About GNU Emacs*"
2660 to "*GNU Emacs*".
2661 (display-about-screen): Don't check the existence of the buffer
2662 "*About GNU Emacs*".
2663 (display-splash-screen): Make alias to `display-startup-screen'.
2664 (command-line-1): Rename `inhibit-startup-message' to
2665 `inhibit-startup-screen'. Inhibit startup screen when Emacs is
2666 started with command line options "-f", "-funcall", "-e", "-eval",
2667 "-execute", "-insert", "-find-file", "-file", "-visit".
2668 Inhibit startup screen when Emacs is started with a file name only
2669 on tty (i.e. don't inhibit it when started with a file name like
2670 "emacs FILE..." on a window system).
2671 (command-line-1): Simplify logic of displaying the startup screen:
2672 if file-count > 0, then display the concise version in another
2673 window, otherwise display full version in the same window.
2674
2675 * help.el (help-map): Bind C-h C-a to about-emacs.
2676 (help-for-help-internal): Add C-a description to C-h help text.
2677
2678 2007-09-22 Dan Nicolaescu <dann@ics.uci.edu>
2679
2680 * emacs-lisp/checkdoc.el (checkdoc-force-docstrings-flag)
2681 (checkdoc-permit-comma-termination-flag): Autoload the
2682 safe-local-variable setting.
2683
2684 * bookmark.el (bookmark-xemacsp): Remove.
2685 (bookmark-make): Don't use bookmark-xemacsp,
2686 use (featurep 'xemacs) instead.
2687
2688 * speedbar.el (speedbar-frame-mode)
2689 (speedbar-frame-reposition-smartly)
2690 (speedbar-set-mode-line-format, speedbar-reconfigure-keymaps)
2691 (speedbar-check-vc): Remove use of non-existent variable
2692 dframe-xemacsp, use (featurep 'xemacs) instead.
2693
2694 * indent.el (indent-for-tab-command): Indent the region if
2695 transient-mark-mode and the region is active.
2696
2697 2007-09-21 Francesco Potort\e,Al\e(B <pot@gnu.org>
2698
2699 * progmodes/octave-inf.el (inferior-octave-mode): Use add-hook to
2700 add inferior-octave-directory-tracker to the buffer-local value
2701 of comint-input-filter-functions.
2702
2703 2007-09-21 Dan Nicolaescu <dann@ics.uci.edu>
2704
2705 * xt-mouse.el (xterm-mouse-mode): Re-enable suspend-tty-functions.
2706
2707 2007-09-21 Juanma Barranquero <lekktu@gmail.com>
2708
2709 * frame.el (suspend-frame): Call `iconify-or-deiconify-frame' also
2710 on w32 frames.
2711
2712 2007-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
2713
2714 * startup.el (normal-top-level): Remove DISPLAY from
2715 process-environment to let it be computed dynamically in callproc.c.
2716
2717 * frame.el (frame-initialize, make-frame):
2718 * faces.el (tty-set-up-initial-frame-faces):
2719 * env.el (setenv): Don't set display-environment-variable.
2720
2721 * server.el (server-getenv-from): Remove. Use getenv-internal instead.
2722 (server-create-tty-frame): Don't set unused `tty' property.
2723 Set `display' instead of display-environment-variable.
2724 (server-create-window-system-frame): No display-environment-variable.
2725
2726 2007-09-21 Michael Albinus <michael.albinus@gmx.de>
2727
2728 * rfn-eshadow.el (rfn-eshadow-setup-minibuffer-hook)
2729 (rfn-eshadow-update-overlay-hook): New defvars.
2730 (rfn-eshadow-setup-minibuffer, rfn-eshadow-update-overlay):
2731 Run the hooks.
2732
2733 * net/tramp.el (tramp-rfn-eshadow-overlay): New defvar.
2734 (tramp-rfn-eshadow-setup-minibuffer)
2735 (tramp-rfn-eshadow-update-overlay): New defuns. Hook into
2736 rfn-eshadow.el.
2737
2738 * net/tramp-smb.el (tramp-smb-errors): Add error message for call
2739 timeout.
2740
2741 2007-09-21 Glenn Morris <rgm@gnu.org>
2742
2743 * obsolete/sun-fns.el (emacs-quit-menu): Remove emacstool-related code.
2744 * term/sun-mouse.el (suspend-emacstool): Remove.
2745 * term/sun.el: Remove emacstool-related code.
2746
2747 * emacs-lisp/bytecomp.el (byte-compile-warnings)
2748 (byte-compile-warnings-safe-p): Add `mapcar'.
2749 (byte-compile-warning-types): Add mapcar and make-local.
2750 (byte-compile-normal-call): Add option to suppress mapcar warning.
2751 (top-level): Use mapc rather than mapcar in eval-when-compile.
2752
2753 * textmodes/tex-mode.el (tex-validate-region): Handle escaped parens.
2754 (tex-next-unmatched-eparen, tex-last-unended-eparen): New functions.
2755 (latex-forward-sexp-1, latex-backward-sexp-1): Doc fix.
2756 Handle escaped parens.
2757 (latex-forward-sexp): Doc fix.
2758
2759 * eshell/esh-mode.el (eshell-output-filter-functions):
2760 Add eshell-postoutput-scroll-to-bottom.
2761
2762 * loadup.el: Remove termdev.
2763
2764 * progmodes/fortran.el (fortran-mode-abbrev-table, fortran-line-length):
2765 * progmodes/f90.el (f90-mode-abbrev-table): Use mapc rather than mapcar.
2766
2767 2007-09-21 Markus Triska <markus.triska@gmx.at>
2768
2769 * emacs-lisp/bytecomp.el (byte-compile-normal-call): Warn when
2770 `mapcar' is called for effect.
2771
2772 2007-09-21 Kevin Ryde <user42@zip.com.au>
2773
2774 * international/mule.el (sgml-html-meta-auto-coding-function):
2775 Bind `case-fold-search' to t.
2776
2777 2007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2778
2779 * termdev.el: Remove.
2780
2781 * frame.el (get-device-terminal): New function. Moved from termdev.el.
2782 (frames-on-display-list): Use it.
2783
2784 * bindings.el: Bind C-z to suspend-frame instead of suspend-emacs.
2785
2786 * termdev.el (terminal-id): Ask terminal-live-p before giving up.
2787
2788 2007-09-20 Richard Stallman <rms@gnu.org>
2789
2790 * newcomment.el (comment-add): If EXTRA, double `comment-add' value.
2791
2792 2007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2793
2794 * add-log.el (add-log-current-defun): Fix thinko w.r.t derived-mode-p.
2795
2796 2007-09-20 Glenn Morris <rgm@gnu.org>
2797
2798 * textmodes/tex-mode.el (tex-validate-buffer): Use paragraph
2799 motion functions, rather than hard-coding "\n\n".
2800 (tex-validate-region): Check for eobp, to speed up.
2801 (tex-next-unmatched-end): Doc fix.
2802
2803 2007-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2804
2805 * files.el (auto-mode-alist): Use archive-mode for .rar files.
2806
2807 * international/mule.el (auto-coding-alist): Rar archives are binary.
2808
2809 * arc-mode.el: Add basic support for Rar.
2810 (archive-find-type): Recognize Rar's signature.
2811 (archive-desummarize): New fun.
2812 (archive-summarize): Use it to restore the buffer's data in case
2813 someone wants to switch to some other major mode.
2814 (archive-resummarize): Use it as well.
2815 (archive-rar-summarize, archive-rar-extract): New functions.
2816
2817 * filesets.el: Remove spurious * in docstrings.
2818 (filesets-running-xemacs): Remove. Use (featurep 'xemacs) instead.
2819 (filesets-conditional-sort): Remove unused arg `simply-do-it'.
2820 (filesets-ingroup-collect): Remove unused arg `depth'.
2821 (filesets-update): Remove unused arg `version'.
2822
2823 * finder.el (finder-compile-keywords): Fix up comment style.
2824 (finder-mouse-face-on-line): previous-line -> forward-line.
2825
2826 * recentf.el: Remove spurious * in docstrings.
2827 (recentf-save-list): Fix up comment style.
2828
2829 * progmodes/octave-mod.el: Remove spurious * in docstrings.
2830 (octave-mode-map): Move init into declaration and remove \t binding.
2831 (octave-mode-startup-message): Remove unused var.
2832 (octave-scan-blocks): Remove unused arg `from'.
2833 (octave-forward-block, octave-down-block, octave-up-block):
2834 Update callers.
2835
2836 * progmodes/meta-mode.el (meta-mode-syntax-table): Move init into decl.
2837 (meta-mode-map): Likewise and remove \t binding.
2838
2839 * net/snmp-mode.el: Remove spurious * in docstrings.
2840 (snmp-rfc1155-types, snmp-rfc1213-types, snmp-rfc1902-types)
2841 (snmp-rfc1903-types, snmp-rfc1155-access, snmp-rfc1902-access)
2842 (snmp-rfc1212-status, snmp-rfc1902-status): Remove list wrappers now
2843 that completion accepts lists of strings.
2844 (snmp-mode-syntax-table): Move initialization into declaration.
2845 (snmp-mode-map): Likewise and remove \t binding.
2846 (snmp-common-mode): Set tab-always-indent according to snmp-t-a-i.
2847 (snmp-indent-line, snmp-mode-imenu-create-index): Remove unused var.
2848 (snmp-indent-command): Remove.
2849
2850 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Use the default TAB
2851 binding, so tab-always-indent works right.
2852
2853 2007-09-19 Johannes Weiner <hannes@saeurebad.de>
2854
2855 * net/browse-url.el (browse-url-elinks-new-window): New function.
2856 (browse-url-elinks): Use browse-url-elinks-new-window.
2857 Accept optional second argument `new-window'. Fix typo in doc-string.
2858 (browse-url-elinks-sentinel): Use browse-url-elinks-new-window.
2859 Improve error message.
2860
2861 2007-09-19 Micha\e,Ak\e(Bl Cadilhac <michael@cadilhac.name>
2862
2863 * net/browse-url.el (browse-url-url-encode-chars): Use the right
2864 parameter name in the function body.
2865 Reported by Johannes Weiner.
2866
2867 2007-09-19 Glenn Morris <rgm@gnu.org>
2868
2869 * net/socks.el (socks-open-network-stream): Signal an explicit
2870 error if the port associated with a service string can't be found.
2871
2872 * textmodes/tex-mode.el (tex-terminate-paragraph):
2873 Use backward-paragraph.
2874
2875 2007-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2876
2877 * server.el (server-running-p): New function.
2878
2879 2007-09-18 Jason Rumney <jasonr@gnu.org>
2880
2881 * term/w32-win.el (w32-focus-frame): Make obsolete alias for
2882 x-focus-frame.
2883
2884 * frame.el (select-frame-set-input-focus, select-frame-by-name):
2885 Use x-focus-frame for w32.
2886
2887 2007-09-17 David Kastrup <dak@gnu.org>
2888
2889 * textmodes/tex-mode.el (tex-verbatim-environments):
2890 Eliminate CL dependency.
2891
2892 2007-09-17 Richard Stallman <rms@gnu.org>
2893
2894 * newcomment.el (comment-add): New arg EXTRA.
2895 (comment-region-default): Pass EXTRA if not indenting lines.
2896
2897 2007-09-17 Micha\e,Ak\e(Bl Cadilhac <michael@cadilhac.name>
2898
2899 * net/browse-url.el (browse-url-url-encode-chars): New function.
2900 URL-encode some chars in a string.
2901 (browse-url-encode-url): Rewrite using the previous function.
2902 (browse-url-file-url): Use `browse-url-url-encode-chars'.
2903 (browse-url-elinks-sentinel): Fix typo.
2904 (browse-url-new-window-flag): Doc change.
2905
2906 2007-09-17 Glenn Morris <rgm@gnu.org>
2907
2908 * textmodes/tex-mode.el (tex-compilation-parse-errors): Prefer the
2909 filename from `--file-line-error', if it is available.
2910
2911 2007-09-17 Joe Wells <jbw@macs.hw.ac.uk> (tiny change)
2912
2913 * textmodes/tex-mode.el (tex-compilation-parse-errors): Also match
2914 TeX `--file-line-error' format.
2915
2916 2007-09-17 Dan Nicolaescu <dann@ics.uci.edu>
2917
2918 * xt-mouse.el: Delete add-hook calls that were moved to
2919 xterm-mouse-mode.
2920 (xterm-mouse-mode): Disable resume-tty-functions, explain why it
2921 does not work.
2922
2923 2007-09-17 Richard Stallman <rms@gnu.org>
2924
2925 * cus-face.el (custom-theme-set-faces): Undo previous change.
2926
2927 * faces.el (face-spec-set): When FRAME nil, look up each frame in SPEC.
2928
2929 2007-09-17 Glenn Morris <rgm@gnu.org>
2930
2931 * textmodes/tex-mode.el (tex-region): Simplify previous change,
2932 handling the case where the region is not in `tex-main-file'.
2933 (tex-region-1): Delete.
2934 (tex-region-header): New function, doing the header part of the
2935 old tex-region-1.
2936
2937 2007-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2938
2939 * simple.el (newline): Simplify use of prefix-numeric-value.
2940 (line-move-partial): Remove unused var `ppos'.
2941 (line-move-1): Replace 9999 with most-positive-fixnum.
2942 (move-end-of-line): Use more efficient single-property search.
2943 (move-beginning-of-line): Remove unused var `start'.
2944 (blink-matching-open): Restructure in a more functional style.
2945
2946 2007-09-16 Micha\e,Ak\e(Bl Cadilhac <michael@cadilhac.name>
2947
2948 * calendar/holidays.el (list-holidays): Remove the cyclic alias.
2949
2950 2007-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2951
2952 * server.el (server-clients): Only keep procs, no properties any more.
2953 (server-client): Remove.
2954 (server-client-get, server-client-set): Remove, replace all callers by
2955 process-get and process-put resp.
2956 (server-clients-with, server-add-client, server-delete-client)
2957 (server-create-tty-frame, server-create-window-system-frame)
2958 (server-process-filter, server-execute, server-visit-files)
2959 (server-buffer-done, server-kill-buffer-query-function)
2960 (server-kill-emacs-query-function, server-switch-buffer)
2961 (server-save-buffers-kill-terminal): Update accordingly.
2962
2963 * server.el (server-with-environment): Simplify.
2964 (server-select-display, server-unselect-display): Re-add functions that
2965 seem to have been lost in the multi-tty merge.
2966 (server-eval-and-print, server-create-tty-frame)
2967 (server-create-window-system-frame, server-goto-toplevel)
2968 (server-execute, server-return-error): New functions extracted from
2969 server-process-filter.
2970 (server-execute-continuation): New functions.
2971 (server-process-filter): Restructure so that all arguments are analysed
2972 first and then acted upon in a subsequent stage. This way
2973 server-goto-toplevel can be executed later, when we know if
2974 it's necessary.
2975 Remove the "-version" and "-version-good" support.
2976
2977 2007-09-16 Drew Adams <drew.adams@oracle.com>
2978
2979 * cus-edit.el (custom-face-edit-activate): Doc fix.
2980
2981 2007-09-16 Glenn Morris <rgm@gnu.org>
2982
2983 * calendar/cal-menu.el, calendar/calendar.el, calendar/diary-lib.el:
2984 Following cal-bahai renaming, update all instances of
2985 list-bahai-diary-entries to diary-bahai-list-entries,
2986 mark-bahai-diary-entries to diary-bahai-mark-entries,
2987 calendar-goto-bahai-date to calendar-bahai-goto-date,
2988 insert-bahai-diary-entry to diary-bahai-insert-entry,
2989 insert-monthly-bahai-diary-entry to diary-bahai-insert-monthly-entry,
2990 insert-yearly-bahai-diary-entry to diary-bahai-insert-yearly-entry, and
2991 calendar-print-bahai-date to calendar-bahai-print-date.
2992
2993 * textmodes/tex-mode.el (tex-region): Handle the case where the
2994 region is not in `tex-main-file'. Move the old code that applies
2995 to both cases...
2996 (tex-region-1): ...to this new function.
2997
2998 2007-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
2999
3000 * vc.el (vc-process-sentinel): New function.
3001 (vc-exec-after): Use it instead of using ugly hackish analysis and
3002 construction of Elisp code.
3003 (vc-sentinel-movepoint): New dynamically scoped var.
3004 (vc-print-log, vc-annotate): Set it to move the user's point.
3005
3006 * vc-cvs.el (vc-cvs-annotate-time): Use inhibit-read-only and
3007 inhibit-modification-hooks.
3008
3009 * calendar/cal-bahai.el (mark-bahai-diary-entries): Fix up typo.
3010 (calendar-bahai-print-date, calendar-bahai-goto-date)
3011 (diary-bahai-list-entries, diary-bahai-insert-entry):
3012 New names to clean up the namespace a bit more.
3013 (calendar-goto-bahai-date, calendar-print-bahai-date): Compat aliases.
3014
3015 2007-09-15 Glenn Morris <rgm@gnu.org>
3016
3017 * calendar/holidays.el (holiday-list): Rename it back to
3018 `list-holidays', but leave `holiday-list' as an alias.
3019
3020 * textmodes/bibtex-style.el (bibtex-style-indent-basic): Specify a
3021 custom group.
3022
3023 * textmodes/css-mode.el (css): New custom group.
3024 (css-electrick-keys, css-selector, css-property)
3025 (css-indent-offset): Specify custom group.
3026
3027 2007-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
3028
3029 * pcvs.el (cvs-tags-list, cvs-retrieve-revision, cvs-find-modif)
3030 (cvs-execute-single-file): Use process-file.
3031 (cvs-run-process): Use start-file-process.
3032
3033 2007-09-15 Dan Nicolaescu <dann@ics.uci.edu>
3034
3035 * xt-mouse.el (xterm-mouse-mode): Add hooks here not at the top
3036 level. Remove the hooks when turning off the mode.
3037
3038 * term/xterm.el: Require xt-mouse at compile time.
3039 (terminal-init-xterm): Turn on xterm mouse tracking for this
3040 terminal if xterm-mouse-mode is enabled.
3041
3042 2007-09-14 Dan Nicolaescu <dann@ics.uci.edu>
3043
3044 * term/xterm.el (xterm-function-map): Replace bindings that were
3045 deleted by the merge.
3046
3047 2007-09-14 Ulf Jasper <ulf.jasper@web.de>
3048
3049 * play/bubbles.el (bubbles-version): Bump value to "0.5".
3050 (bubbles-mode-map): Move define-key statements here.
3051 (bubbles-game-theme-menu): Ditto.
3052 (bubbles-graphics-theme-menu): Ditto.
3053 (bubbles-menu): Ditto.
3054 (bubbles-mode): Initialize buffer-undo-list, redisplay.
3055 (bubbles--initialize): Reset buffer-undo-list, redisplay.
3056 (bubbles-plop): Set buffer-undo-list, redisplay.
3057 (bubbles-undo): Reset buffer-undo-list, redisplay.
3058 (bubbles--show-images): Take care of missing text properties.
3059
3060 2007-09-14 Glenn Morris <rgm@gnu.org>
3061
3062 * startup.el (fancy-startup-text, fancy-about-text): Fix face
3063 quoting.
3064
3065 * calendar/cal-hebrew.el, calendar/cal-menu.el
3066 * calendar/calendar.el, calendar/diary-lib.el
3067 * calendar/holidays.el: Rename all instances of
3068 list-calendar-holidays callers to calendar-list-holidays,
3069 list-holidays to holiday-list, check-calendar-holidays to
3070 calendar-check-holidays, mark-calendar-holidays to
3071 calendar-mark-holidays, and filter-visible-calendar-holidays to
3072 holiday-filter-visible-calendar.
3073
3074 2007-09-14 Dan Nicolaescu <dann@ics.uci.edu>
3075
3076 * term/xterm.el (xterm-function-map): Add C-M- bindings.
3077
3078 2007-09-13 Sascha Wilde <wilde@sha-bang.de> (tiny change)
3079
3080 * play/bubbles.el (bubbles--initialize-images): Fix bug:
3081 Use transparent background for empty cells in graphics mode.
3082
3083 2007-09-13 Jari Aalto <jari.aalto@cante.net>
3084
3085 * man.el (Man-default-man-entry): At end of line, continue looking
3086 to the next line for possible end of hyphenated command.
3087
3088 2007-09-13 Chris Moore <dooglus@gmail.com>
3089
3090 * shell.el (shell-resync-dirs): Don't move the cursor relative to
3091 the command being edited.
3092
3093 2007-09-12 Jim Meyering <jim@meyering.net> (tiny change)
3094
3095 * emacs-lisp/copyright.el (copyright-names-regexp): Doc fix: typo.
3096
3097 2007-09-12 Dan Nicolaescu <dann@ics.uci.edu>
3098
3099 * term/xterm.el (xterm-function-map): Add bindings for M-S- and
3100 C-M-S- keys.
3101
3102 * term/rxvt.el (rxvt-function-map): Initialize in the declaration.
3103
3104 2007-09-12 Micha\e,Ak\e(Bl Cadilhac <michael@cadilhac.name>
3105
3106 * net/browse-url.el (browse-url-encode-url): Fix an infinite loop.
3107 New argument `filename-p' to use one set of confusing chars or another.
3108 (browse-url-file-url): Use the argument.
3109 Suggested by Johannes Weiner.
3110
3111 2007-09-12 Romain Francoise <romain@orebokech.com>
3112
3113 * cus-start.el (all): Revert 2007-09-08 change.
3114
3115 2007-09-12 Aaron Hawley <aaronh@garden.org>
3116
3117 * jka-cmpr-hook.el (jka-compr-compression-info-list): Use gzip to
3118 extract .Z files, since it is more common than uncompress.
3119
3120 2007-09-12 Glenn Morris <rgm@gnu.org>
3121
3122 * textmodes/org-publish.el (org-publish-org-to-html): Remove
3123 duplicate function definition.
3124
3125 2007-09-10 Chris Moore <dooglus@gmail.com>
3126
3127 * diff-mode.el (diff-sanity-check-hunk):
3128 Also accept single-line hunks.
3129
3130 2007-09-10 Chong Yidong <cyd@stupidchicken.com>
3131
3132 * startup.el (startup-screen-inhibit-startup-screen)
3133 (pure-space-overflow-message): New vars.
3134 (fancy-splash-insert): Allow functions for face and link specs.
3135 (fancy-splash-head): Remove unused arg. Move splash text...
3136 (fancy-startup-text, fancy-about-text): ...here.
3137 (fancy-startup-tail): Rename from fancy-splash-tail.
3138 (fancy-startup-screen, fancy-about-screen): Split off from
3139 fancy-splash-screens.
3140 (display-startup-screen): New function.
3141 (display-about-screen): Rename from display-splash-screen.
3142 (command-line-1): Use concise startup screen if necessary.
3143
3144 2007-09-10 Thien-Thi Nguyen <ttn@gnuvola.org>
3145
3146 * net/browse-url.el (browse-url-encode-url): Use copy-sequence.
3147 Reported by Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>.
3148
3149 2007-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3150
3151 * progmodes/python.el: Merge changes from Dave Love's v2007-Sep-10.
3152 (python-font-lock-keywords): Update to the 2.5 version of the language.
3153 (python-quote-syntax): Let-bind font-lock-syntactic-keywords to nil.
3154 (python-backspace): Only behave funny in code.
3155 (python-compilation-regexp-alist): Add PDB stack trace regexp.
3156 (inferior-python-mode): Add PDB prompt regexp.
3157 (python-fill-paragraph): Refine the fenced-string regexp.
3158 (python-find-imports): Handle imports spanning several lines.
3159 (python-mode): Add `class' to hideshow support.
3160
3161 2007-09-10 Dave Love <fx@gnu.org>
3162
3163 * outline.el (outline-4, outline-5, outline-7):
3164 Move font-lock-builtin-face down from 4 to 7 to better keep the
3165 progression of color brightness, and to better match Org-mode's faces.
3166
3167 2007-09-10 Micha\e,Ak\e(Bl Cadilhac <michael@cadilhac.name>
3168
3169 * progmodes/meta-mode.el (meta-font-lock-keywords)
3170 (font-lock-match-meta-declaration-item-and-skip-to-next)
3171 (meta-comment-indent, meta-indent-previous-line)
3172 (meta-indent-unfinished-line, meta-beginning-of-defun)
3173 (meta-end-of-defun, meta-common-initialization): Handle \f.
3174 (meta-indent-unfinished-line): Do not handle a `%' in a string as
3175 a comment-start.
3176
3177 * files.el (file-modes-char-to-who, file-modes-char-to-right)
3178 (file-modes-rights-to-number): Auxiliary functions for symbolic to
3179 numeric notation of file modes.
3180 (file-modes-symbolic-to-number): New. Convert symbolic modes to its
3181 numeric value.
3182 (read-file-modes): New. Read either an octal value of a file mode or a
3183 symbolic value, and return its numeric value.
3184
3185 * dired-aux.el (dired-do-chmod): Change to use the built-in
3186 `set-file-modes' and the previous symbolic mode parsing functions.
3187
3188 2007-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3189
3190 * textmodes/texinfo.el: Remove spurious * in docstrings.
3191 (texinfo-mode-syntax-table, texinfo-mode-map):
3192 Initialize in the declaration.
3193
3194 * tmm.el: Remove spurious * in docstrings.
3195 (tmm-prompt): Use with-current-buffer.
3196
3197 * vcursor.el: Remove spurious * in docstrings.
3198 (vcursor-map): Initialize in the declaration.
3199 (vcursor-use-vcursor-map): Use define-minor-mode.
3200 (vcursor-toggle-vcursor-map): Keep as an obsolete alias.
3201
3202 * wid-browse.el (widget-browse-mode-map, widget-minor-mode-map):
3203 Initialize in the declaration.
3204 (widget-minor-mode): Use define-minor-mode.
3205
3206 * woman.el (woman-mode-map, woman-syntax-table):
3207 Initialize in the declaration.
3208
3209 2007-09-09 Tassilo Horn <tassilo@member.fsf.org>
3210
3211 * doc-view.el: New file.
3212
3213 2007-09-09 Juri Linkov <juri@jurta.org>
3214
3215 * Makefile.in (update-authors): Add etc/ to AUTHORS.
3216
3217 * makefile.w32-in (update-authors): Add etc/ to AUTHORS.
3218
3219 * startup.el (initial-buffer-choice): Rename choice "Splash screen"
3220 to "Startup screen". Fix docstring.
3221 (inhibit-startup-screen): Rename from `inhibit-splash-screen'.
3222 (inhibit-splash-screen): Make alias to `inhibit-startup-screen'.
3223 (inhibit-startup-message): Change alias to `inhibit-startup-screen'.
3224 (initial-scratch-message): Fix docstring.
3225 (fancy-startup-text): Move link to Emacs Manual below Emacs Guided
3226 Tour (which is a kind of tutorial and will be next to Emacs Tutorial).
3227 Add link to "Customize Startup" and set interval between links to
3228 5 spaces.
3229 (fancy-about-text): Add links "Authors" and "Contributing".
3230 (fancy-splash-head): Add text "Welcome to " on the startup screen,
3231 and "This is " on the about screen. Add link to
3232 "http://www.gnu.org/software/emacs/" for "GNU Emacs".
3233 For the about screen move emacs version to the header from
3234 `fancy-splash-tail' (as it's done already for normal about screen).
3235 (fancy-splash-tail): Insert emacs version only for startup screen.
3236 (normal-splash-screen): Remove duplicate empty lines.
3237 (normal-about-screen): Add links "Authors" and "Contributing".
3238
3239 * menu-bar.el (menu-bar-help-menu):
3240 Move "About Emacs" and "About GNU" to the end of the Help menu.
3241 Move "Emacs Psychotherapist" after "Send Bug Report...".
3242 Move "External Packages" after "Find Emacs Packages".
3243
3244 2007-09-09 Michael Albinus <michael.albinus@gmx.de>
3245
3246 * net/tramp.el (top): Remove declarations of `tramp-gw-*' symbols,
3247 they are useless with the byte compiler.
3248 (tramp-make-temp-file, tramp-make-tramp-temp-file): Move up.
3249 (tramp-do-copy-or-rename-file-directly): Rearrange let-bindings.
3250 (tramp-compute-multi-hops): Mask `tramp-gw-*' symbols.
3251 (tramp-file-name-real-host, tramp-file-name-port)
3252 (tramp-find-method, tramp-find-user, tramp-find-host): Make them
3253 defuns.
3254
3255 * net/tramp-cache.el (top): Improve error message when
3256 `tramp-persistency-file-name' is corrupted.
3257
3258 2007-09-09 Carsten Dominik <dominik@science.uva.nl>
3259
3260 * textmodes/org.el (org-re): Also replace the :alpha: class.
3261 (org-todo-tag-alist): Variable removed.
3262 (org-todo-key-alist, org-todo-key-trigger) New variables.
3263 (org-use-fast-todo-selection): New option.
3264 (org-log-done): Docstring fixed.
3265 (org-deadline-warning-days): New default value 14.
3266 (org-edit-timestamp-down-means-later) New option.
3267 (org-tag-alist): Docstring fixed.
3268 (org-fast-tag-selection-include-todo): New option.
3269 (org-export-language-setup): New languages added.
3270 (org-set-regexps-and-options): Compute the new variables.
3271 (org-paste-subtree): Cleaning up.
3272 (org-remember-apply-template): New escape %A.
3273 (org-todo): Call fast TODO selection.
3274 (org-fast-todo-selection): New function.
3275 (org-add-log-note): Allow prefix for abort exit.
3276 (org-at-property-p, org-entry-properties)
3277 (org-columns-get-autowidth-alist): Use :alpha: class.
3278 (org-get-wdays): New function.
3279 (org-agenda-remove-date): New variable.
3280 (org-agenda-get-deadlines): Use `org-get-wdays'.
3281 (org-agenda-get-deadlines): Reverse ee before returning.
3282 (org-format-agenda-item): New argument REMOVE-RE.
3283 (org-agenda-convert-date): Baha'i calendar added.
3284 (org-infile-export-plist): Also find DATE line.
3285 (org-get-min-level): New function.
3286 (org-export-as-html, org-export-as-ascii): Use the date format.
3287 (org-shiftup, org-shiftdown): Use.
3288 `org-edit-timestamp-down-means-later'.
3289 (org-assign-fast-keys): New function.
3290
3291 2007-09-08 Fredrik Axelsson <f.axelsson@gmail.com>
3292
3293 * cus-start.el (all): Add prefer-window-split-horizontally from
3294 window.c.
3295
3296 2007-09-08 Eli Zaretskii <eliz@gnu.org>
3297
3298 * net/browse-url.el (browse-url-galeon): Fix last change.
3299 (top-level): Require cl when compiling.
3300
3301 2007-09-08 Carsten Dominik <dominik@science.uva.nl>
3302
3303 * textmodes/org-export-latex.el: arch-tag restored.
3304
3305 * textmodes/org-publish.el: arch-tag restored.
3306
3307 2007-09-08 Masatake YAMATO <jet@gyve.org>
3308
3309 * progmodes/which-func.el (which-func-modes): Add diff-mode.
3310
3311 * progmodes/cc-langs.el: Support new keywords added to
3312 objective-c frontend of gcc.
3313 (c-simple-stmt-kwds): Add @throw.
3314 (c-block-stmt-2-kwds): Add @synchronized.
3315 (c-block-stmt-1-kwds): Add @finally and @try.
3316
3317 2007-09-07 Carsten Dominik <dominik@science.uva.nl>
3318
3319 * textmodes/org.el (org-edit-timestamp-down-means-later): New option.
3320 (org-agenda-after-show-hook): New variable.
3321 (org-columns-compile-format)
3322 (org-columns-get-autowidth-alist, org-buffer-property-keys)
3323 (org-entry-properties, org-at-property-p): Allow [:alnum:] in
3324 property names.
3325 (org-get-wdays): New function.
3326
3327 2007-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3328
3329 * simple.el (normal-erase-is-backspace-setup-frame): Massage.
3330
3331 * term/xterm.el (xterm-function-map): Initialize in the declaration.
3332
3333 * vc-arch.el (vc-arch-checkin): Fix typo.
3334
3335 2007-09-07 Johan Bockg\e,Ae\e(Brd <bojohan@gnu.org>
3336
3337 * cus-face.el (custom-theme-set-faces): Set face attributes
3338 locally for each frame.
3339
3340 2007-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3341
3342 * progmodes/fortran.el (fortran-mode): Set font-lock-syntactic-keywords
3343 via font-lock-defaults.
3344
3345 * emacs-lisp/bytecomp.el (byte-compile-log-file): Check major-mode via
3346 derived-mode-p.
3347
3348 2007-09-07 Thien-Thi Nguyen <ttn@gnuvola.org>
3349
3350 * progmodes/autoconf.el (autoconf-definition-regexp):
3351 Handle optional square brackets around definition name.
3352
3353 2007-09-07 Johannes Weiner <hannes@saeurebad.de>
3354
3355 * net/browse-url.el (browse-url-browser-function): Add elinks.
3356 (browse-url-elinks-wrapper): New option.
3357 (browse-url-encode-url, browse-url-elinks)
3358 (browse-url-elinks-sentinel): New functions.
3359 (browse-url-file-url, browse-url-netscape, browse-url-mozilla)
3360 (browse-url-firefox, browse-url-galeon, browse-url-epiphany):
3361 Use new function browse-url-encode-url.
3362
3363 2007-09-07 Glenn Morris <rgm@gnu.org>
3364
3365 * version.el (emacs-version): Revert 2007-08-29 change: no need to
3366 say if multi-tty is present.
3367
3368 2007-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3369
3370 * cus-start.el (split-window-preferred-function): Add custom info.
3371
3372 * calendar/holidays.el (holiday-list, calendar-check-holidays)
3373 (calendar-mark-holidays, calendar-list-holidays)
3374 (holiday-filter-visible-calendar): New names to clean up namespace.
3375 (filter-visible-calendar-holidays, list-calendar-holidays)
3376 (mark-calendar-holidays, check-calendar-holidays, list-holidays):
3377 Add compatibility aliases.
3378 (calendar-check-holidays, calendar-mark-holidays)
3379 (calendar-holiday-list, holiday-filter-visible-calendar): Use dolist.
3380 (holiday-sexp): Replace append with list.
3381 (holiday-filter-visible-calendar): Replace append with push.
3382
3383 * woman.el: Remove spurious * in docstrings.
3384 (woman-mini-help, woman-non-underline-faces, woman0-rename)
3385 (woman-topic-all-completions-merge, woman-file-name-all-completions)
3386 (woman-select-symbol-fonts, woman-expand-directory-path): Use dolist.
3387 (woman-write-directory-cache, woman-display-extended-fonts)
3388 (WoMan-log-begin, WoMan-log-1): Use with-current-buffer.
3389 (woman-really-find-file): Use pop-to-buffer if switch-to-buffer fails.
3390 (woman-mode): Use inhibit-read-only.
3391 (woman-negative-vertical-space): Use dotimes.
3392 (woman2-tagged-paragraph, woman-tab-to-tab-stop): Use insert-char.
3393
3394 2007-09-06 Romain Francoise <romain@orebokech.com>
3395
3396 * vc-bzr.el (vc-bzr-admin-lastrev): New defconst.
3397 (vc-bzr-workfile-version): Use it.
3398
3399 2007-09-06 Sean O'Rourke <sorourke@cs.ucsd.edu>
3400
3401 * complete.el (PC-do-completion): Don't try to treat
3402 empty string as an abbreviation.
3403
3404 2007-09-06 Johan Bockg\e,Ae\e(Brd <bojohan@dd.chalmers.se>
3405
3406 * help-fns.el (describe-variable): Keep doc's text properties.
3407
3408 2007-09-06 Dan Nicolaescu <dann@ics.uci.edu>
3409
3410 * vc.el (vc-default-diff-tree): Pass a list to the diff vc command
3411 instead of a file.
3412
3413 2007-09-06 Glenn Morris <rgm@gnu.org>
3414
3415 * emacs-lisp/checkdoc.el (checkdoc-minor-mode-string): New.
3416 (checkdoc-minor-mode): Allow user to specify lighter via
3417 checkdoc-minor-mode-string.
3418
3419 2007-09-05 Richard Stallman <rms@gnu.org>
3420
3421 * startup.el (fancy-startup-text): Rename from fancy-splash-text.
3422 Several items removed, simplified, or put on one line.
3423 (fancy-about-text): Add substantial contents, part of startup text.
3424 (fancy-splash-head): Make "GNU" or "GNU/Linux" a link.
3425 (normal-splash-screen): Call normal-mouse-startup-screen,
3426 normal-no-mouse-startup-screen, or normal-about-screen.
3427 (normal-mouse-startup-screen): New fn, broken out, shortened.
3428 (normal-no-mouse-startup-screen): New fn, broken out.
3429 (normal-about-screen): New function, contents all new.
3430
3431 2007-09-05 Micha\e,Ak\e(Bl Cadilhac <michael@cadilhac.name>
3432
3433 * emacs-lisp/rx.el (rx): Fix typo in docstring.
3434
3435 2007-09-05 Glenn Morris <rgm@gnu.org>
3436
3437 * cus-edit.el (custom-buffer-create-internal): Check tool-bar-mode
3438 is bound.
3439
3440 2007-09-05 Johan Bockg\e,Ae\e(Brd <bojohan@dd.chalmers.se>
3441
3442 * emacs-lisp/advice.el (ad-make-advised-docstring): Highlight note
3443 in doc string.
3444
3445 2007-09-04 Dan Nicolaescu <dann@ics.uci.edu>
3446
3447 * server.el (server-start, server-unload-hook): Undo previous change.
3448
3449 * xt-mouse.el: Undo previous change.
3450
3451 2007-09-04 Juri Linkov <juri@jurta.org>
3452
3453 * startup.el (fancy-about-text): New variable.
3454 (fancy-splash-delay, fancy-splash-max-time): Remove user options.
3455 (fancy-current-text, fancy-splash-stop-time)
3456 (fancy-splash-outer-buffer): Remove variables.
3457 (fancy-splash-head, fancy-splash-tail): Add new optional argument
3458 `startup' and use it to conditionally display different texts for
3459 Startup and About screens. Don't display Help commands on the About
3460 screen.
3461 (fancy-splash-screens-1): Remove function and move its content to
3462 `fancy-splash-screens' to the part that dislpays the About screen.
3463 (exit-splash-screen): Don't treat specially exiting from
3464 alternating screens.
3465 (fancy-splash-screens): Rename argument `static' to `startup'.
3466 Fix docstring. Remove code for displaying alternating screens.
3467 Use arg `startup' in calls to `fancy-splash-head', `fancy-splash-tail'.
3468 Remove let-bind for `fancy-splash-outer-buffer' and add let-bind
3469 for `inhibit-read-only'.
3470 (normal-splash-screen): Rename argument `static' to `startup'.
3471 Fix docstring. Use argument `startup' to conditionally display
3472 different texts for Startup and About screens. Don't display Help
3473 commands on the About screen. Remove `unwind-protect' `sit-for'
3474 delay and `kill-buffer' after it.
3475 (display-startup-echo-area-message): Remove call to
3476 `use-fancy-splash-screens-p' because image.el is preloaded and
3477 doesn't display "Loading image... done".
3478 (display-splash-screen): Rename argument `static' to `startup'.
3479 Fix docstring.
3480
3481 2007-09-04 Dan Nicolaescu <dann@ics.uci.edu>
3482
3483 * server.el (server-start, server-unload-hook):
3484 suspend-tty-functions has been renamed to suspend-tty-hook.
3485
3486 * xt-mouse.el: Likewise. resume-tty-functions has been renamed to
3487 resume-tty-hook.
3488
3489 2007-09-03 Emanuele Giaquinta <e.giaquinta@glauco.it> (tiny change)
3490
3491 * loadup.el: Fix merge problem, only load "button" once.
3492
3493 2007-09-03 Glenn Morris <rgm@gnu.org>
3494
3495 * vc-svn.el (vc-svn-print-log): If there is only one file, use
3496 "Working file:" as the prefix, for the sake of
3497 log-view-current-file.
3498
3499 2007-09-02 Dan Nicolaescu <dann@ics.uci.edu>
3500
3501 * term/xterm.el (xterm-modify-other-keys-terminal-list): New variable.
3502 (xterm-turn-on-modify-other-keys): Only turn on modify-other-keys
3503 if the selected frames is in
3504 xterm-modify-other-keys-terminal-list.
3505 (xterm-turn-off-modify-other-keys): Add an optional frame
3506 parameter. Only turn off modify-other-keys if FRAME is in
3507 xterm-modify-other-keys-terminal-list.
3508 (xterm-remove-modify-other-keys): New function.
3509 (terminal-init-xterm): Use it. Deal with delete-frame hook.
3510 Add the selected frame to xterm-modify-other-keys-terminal-list.
3511
3512 2007-09-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
3513
3514 * term/x-win.el (x-gtk-stock-map): Map diropen to system-file-manager.
3515 (icon-map-list): New variable.
3516 (x-gtk-map-stock): Use icon-map-list.
3517
3518 2007-09-02 Romain Francoise <romain@orebokech.com>
3519
3520 * log-view.el (log-view-current-file): Balance parens.
3521
3522 2007-09-02 Glenn Morris <rgm@gnu.org>
3523
3524 * comint.el (comint-mode): Don't set scroll-conservatively.
3525
3526 * eshell/em-unix.el (eshell/time): Stringify and flatten the
3527 non-command arguments.
3528
3529 * log-view.el (log-view-current-file): Give a more explicit error
3530 if log-view-file-re fails to find a match.
3531
3532 2007-09-01 Thien-Thi Nguyen <ttn@gnuvola.org>
3533
3534 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3535 Fix bug: Don't expand top-level file name more than once.
3536 Reported by Dmitry Antipov <dmantipov@yandex.ru>.
3537
3538 2007-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
3539
3540 * server.el (server-process-filter): Don't display the splash screen.
3541 It's annoying enough on the initial screen and becomes positively
3542 obnoxious here.
3543
3544 2007-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
3545
3546 * emacs-lisp/avl-tree.el: Use defstruct rather than macros.
3547 Change naming to use "avl-tree--" for internal functions.
3548
3549 2007-08-31 Dan Nicolaescu <dann@ics.uci.edu>
3550
3551 * term/x-win.el (x-menu-bar-open): Delete duplicated function from
3552 the merge.
3553 (global-set-key): Delete f10 mapping, now done in menu-bar.el.
3554 (provide): Move to the end of file.
3555
3556 * vc-svn.el (vc-svn-diff-tree): Pass a list to vc-svn-diff.
3557
3558 2007-08-31 Micha\e,Ak\e(Bl Cadilhac <michael@cadilhac.name>
3559
3560 * textmodes/flyspell.el (flyspell-mark-duplications-exceptions):
3561 New variable. List of exceptions for the duplicated word rule.
3562 (flyspell-mark-duplications-flag): Mention it.
3563 (flyspell-word): Treat it.
3564
3565 * files.el (create-file-buffer): If the filename sans directory starts
3566 with spaces, remove them.
3567
3568 2007-08-31 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
3569
3570 * term/x-win.el (x-gtk-stock-map): Add etc/images to keys.
3571 (x-gtk-map-stock): Use two directory elements when matching
3572 file name.
3573
3574 2007-08-31 James Wright <james@chumsley.org>
3575
3576 * eshell/em-unix.el (eshell/info): New function.
3577
3578 2007-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
3579
3580 * frame.el (frame-initialize, make-frame):
3581 * server.el (server-process-filter):
3582 * faces.el (tty-set-up-initial-frame-faces): Don't set
3583 term-environment-variable since it's not used any more.
3584
3585 * env.el (setenv): Don't treat $TERM specially.
3586
3587 * startup.el (normal-top-level): Set $TERM to `dumb' so that unless
3588 stated otherwise, subprocesses do not send back escape sequences
3589 corresponding to the terminal from which Emacs was started.
3590
3591 2007-08-31 Thien-Thi Nguyen <ttn@gnuvola.org>
3592
3593 * calculator.el: Require cl for compilation.
3594
3595 2007-08-30 Daniel Pfeiffer <occitan@esperanto.org>
3596
3597 * outline.el (outline-font-lock-levels): Comment out unused var.
3598 (outline-font-lock-face): Wrap around face list to handle any
3599 nesting depth gracefully.
3600
3601 2007-08-30 Michael Albinus <michael.albinus@gmx.de>
3602
3603 * net/ange-ftp.el: Add ange-ftp property to `set-file-modes' and
3604 `set-file-times'.
3605
3606 2007-08-30 Carsten Dominik <dominik@science.uva.nl>
3607
3608 * textmodes/org.el (org-export-visible): Fix drawers before export.
3609 (org-do-sort): Allow sorting by priority.
3610 (org-agenda-files): Ignore non-existing files.
3611 (org-agenda-skip-unavailable-files): New variable.
3612 (org-ellipsis): All a face as value.
3613 (org-mode): Interprete the face value of `org-ellipsis'.
3614 (org-archive-save-context-info): New option.
3615 (org-archive-subtree): Store context info in archived entry.
3616 (org-fast-tag-selection-can-set-todo-state): New variable.
3617 (org-fast-tag-selection): Allow setting TODO states through this
3618 interface.
3619 (org-cycle): Docstring updated.
3620 (org-todo-keyword-faces): New option.
3621 (org-get-todo-face): New function.
3622 (org-set-font-lock-defaults, org-agenda-highlight-todo):
3623 Use `org-get-todo-face'.
3624 (org-switch-to-buffer-other-window): New function.
3625 (org-table-edit-field, org-table-show-reference)
3626 (org-table-edit-formulas, org-add-log-note)
3627 (org-fast-tag-selection, org-agenda, org-prepare-agenda)
3628 (org-timeline): Use `org-switch-to-buffer-other-window' instead of
3629 `switch-to-buffer-other-window' to make sure that the temporary
3630 windows show up on the current frame.
3631 (org-mhe-get-message-real-folder, org-batch-store-agenda-views)
3632 (org-get-entries-from-diary, org-replace-region-by-html):
3633 Don't allow pop-up frames.
3634 (org-agenda-get-deadlines, org-agenda-get-scheduled):
3635 Fix problems with time-of-day.
3636 (org-export-get-title-from-subtree): New function.
3637 (org-agenda-get-scheduled, org-agenda-get-deadlines): Fix problems
3638 with listing items that are DONE.
3639 (org-change-tag-in-region): New command.
3640 (org-agenda-skip-scheduled-if-done)
3641 (org-agenda-skip-deadline-if-done): Docstring clarified.
3642 (org-mode): Hide drawers on startup.
3643 (org-get-todo-face): New function.
3644 (org-todo-keyword-faces): New option.
3645 (org-set-regexps-and-options): Use `org-remove-keyword-keys'.
3646 (org-remove-keyword-keys): New function.
3647
3648 2007-08-30 Jari Aalto <jari.aalto@cante.net> (tiny change)
3649
3650 * progmodes/grep.el (grep-find-ignored-directories):
3651 Add monotone _MTN bookkeeping directory in workspaces.
3652 Add RCS control directory. List items in alphabetical order.
3653
3654 * progmodes/grep.el (grep-files-aliases): Add cc alias.
3655 Sort items in alphabetical order. Fix parens.
3656
3657 2007-08-29 Dan Nicolaescu <dann@ics.uci.edu>
3658
3659 * vc-hg.el (vc-hg-extra-menu-map): New variable.
3660 (vc-hg-extra-menu, vc-hg-outgoing, vc-hg-incoming, vc-hg-push)
3661 (vc-hg-pull): New functions.
3662 (vc-hg-outgoing-mode, vc-hg-incoming-mode): New derived modes.
3663
3664 * term/mac-win.el: Don't require url, only autoloaded url
3665 functions are used in this file.
3666
3667 2007-08-29 Andreas Schwab <schwab@suse.de>
3668
3669 * shell.el (shell): Return correct value from interactive spec.
3670
3671 2007-08-29 Glenn Morris <rgm@gnu.org>
3672
3673 * version.el (emacs-version): Increase to 23.0.50.
3674
3675 2007-08-29 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
3676
3677 * term/x-win.el (x-gtk-stock-map): :version changed to 23.1.
3678
3679 2007-08-29 Juri Linkov <juri@jurta.org>
3680
3681 * loadup.el: Add "button" loading after "faces" and move "startup"
3682 to load after "button".
3683
3684 2007-08-29 Dan Nicolaescu <dann@ics.uci.edu>
3685
3686 * loadup.el: Load term/mac-win on a Mac using Carbon.
3687
3688 * term/mac-win.el: Provide mac-win.
3689 (mac-initialized): New variable.
3690 (mac-initialize-window-system): New function. Move global setup here.
3691 (handle-args-function-alist, frame-creation-function-alist):
3692 (window-system-initialization-alist): Add mac entries.
3693 (x-setup-function-keys): New function containing all the
3694 top level function key definitions.
3695
3696 * term/x-win.el (x-menu-bar-open): Use accelerate-menu.
3697
3698 * env.el (read-envvar-name): Don't consider the environment frame param.
3699
3700 * env.el (setenv):
3701 * frame.el (frame-initialize, make-frame):
3702 * faces.el (tty-set-up-initial-frame-faces):
3703 * server.el (server-process-filter): Set
3704 display-environment-variable and term-environment-variable.
3705
3706 * server.el (server-process-filter): Set COLORFGBG and COLORTERM.
3707
3708 2007-08-29 Jason Rumney <jasonr@gnu.org>
3709
3710 * loadup.el: Only load term/x-win when X is compiled in.
3711 Load term/w32-win and dependencies on windows-nt.
3712
3713 * term/w32-win.el: Reorder to match x-win.el more closely.
3714 Provide w32-win. Don't throw error when global window-system not w32.
3715 (internal-face-interactive): Remove obsolete function.
3716 (x-setup-function-keys): Use local-function-key-map.
3717 (w32-initialized): New variable.
3718 (w32-initialize-window-system): Set it.
3719 Move more global setup here.
3720 (x-setup-function-keys): New function.
3721 (w32-initialize-window-system): Move non function key global setup here.
3722 (x-cut-buffer-max): Remove.
3723 (w32-initialize-window-system): New function.
3724 (handle-args-function-alist, frame-creation-function-alist):
3725 (window-system-initialization-alist): Add w32 entries.
3726
3727 2007-08-29 David Kastrup <dak@gnu.org>
3728
3729 * env.el (getenv): Pass frame to getenv-internal.
3730
3731 2007-08-29 K\e,Aa\e(Broly L\e$,1 q\e(Brentey <lorentey@elte.hu>
3732
3733 * version.el (emacs-version): Show if multi-tty is present.
3734
3735 * loadup.el: Delay loading env; mule-conf gets confused by cl
3736 during bootstrap. Also load termdev and term/x-win.
3737
3738 * bindings.el (mode-line-client): New variable.
3739 (help-echo): Add it to the default mode-line format.
3740
3741 * cus-start.el: Remove bogus window-system reference from GTK test.
3742
3743 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map)
3744 (ebrowse-electric-position-mode-map):
3745 * ebuff-menu.el (electric-buffer-menu-mode-map):
3746 * echistory.el (electric-history-map): Bind C-z to `suspend-frame',
3747 not `suspend-emacs'.
3748
3749 * ediff-wind.el (ediff-setup-windows-automatic): New function.
3750 (ediff-window-setup-function): Use it as default.
3751
3752 * files.el (save-buffers-kill-terminal): New function.
3753 (ctl-x-map): Change binding of C-x C-c to save-buffers-kill-terminal.
3754
3755 * font-lock.el (lisp-font-lock-keywords-2): Add `let-environment'
3756 and `with-selected-frame'.
3757
3758 * help-fns.el (describe-variable): Describe frame-local variables
3759 correctly.
3760
3761 * simple.el (normal-erase-is-backspace-mode): Rewrite for multiple
3762 display support.
3763 (normal-erase-is-backspace-setup-frame): New function.
3764
3765 * subr.el (with-selected-frame): New function.
3766 (read-quoted-char): Use terminal-local binding of
3767 local-function-key-map instead of function-key-map.
3768
3769 * talk.el (talk): New function.
3770 (talk-handle-delete-frame): New function.
3771 (talk-add-display): Open a new frame only if FRAME was not a frame.
3772
3773 * termdev.el: New file.
3774
3775 * menu-bar.el (menu-bar-open): New function. Bind it to f10.
3776 * term/x-win.el: Don't bind f10.
3777 * tmm.el: Remove autoload binding for f10.
3778
3779 * international/encoded-kb.el (encoded-kbd-setup-display): Use
3780 `set-input-meta-mode'. Fix broken condition before set-input-mode.
3781 Store the saved input method as a terminal parameter. Add keymap
3782 parameter. Use it instead of changing key-translation-map directly.
3783 (saved-key-translation-map, encoded-kbd-mode, saved-input-mode):
3784 Remove.
3785 (encoded-kbd-setup-display): New function.
3786
3787 * international/mule-cmds.el (set-locale-environment): Fix getenv
3788 call. Use save-buffers-kill-terminal. Ignore window-system; always
3789 set the keyboard coding system. Add DISPLAY parameter.
3790 (set-display-table-and-terminal-coding-system): Add DISPLAY
3791 parameter. Pass it to set-terminal-coding-system.
3792
3793 * international/mule.el (keyboard-coding-system): Test for
3794 encoded-kbd-setup-display, not encoded-kbd-mode.
3795 (set-terminal-coding-system, set-keyboard-coding-system): Add
3796 DISPLAY parameter.
3797 (set-keyboard-coding-system): Use encoded-kbd-setup-display.
3798
3799 * term/README: Update.
3800
3801 * term/linux.el (terminal-init-linux): Use `set-input-meta-mode'.
3802
3803 * term/x-win.el (x-setup-function-keys): New function. Move
3804 function-key-map tweaks here. Protect against multiple calls on
3805 the same terminal. Use terminal-local binding of
3806 local-function-key-map instead of function-key-map.
3807 (x-initialize-window-system): Make a copy of pure list. Pass a
3808 frame getenv.
3809
3810 * term/vt200.el, term/vt201.el, term/vt220.el, term/vt240.el:
3811 * term/vt300.el, term/vt320.el, term/vt400.el, term/vt420.el:
3812 * term/AT386.el, term/internal.el, term/iris-ansi.el, term/lk201.el:
3813 * term/mac-win.el, term/news.el, term/rxvt.el, term/sun.el:
3814 * term/tvi970.el, term/wyse50.el: Use terminal-local binding of
3815 local-function-key-map instead of function-key-map.
3816
3817 * term/rxvt.el, term/xterm.el: Speed up load time by protecting
3818 `substitute-key-definition' and `define-key' calls against
3819 multiple execution. Use terminal-local binding of
3820 local-function-key-map instead of function-key-map. Pass a frame
3821 to getenv.
3822
3823 * edmacro.el (edmacro-format-keys):
3824 * emulation/cua-base.el (cua--pre-command-handler):
3825 * isearch.el (isearch-other-meta-char):
3826 * xt-mouse.el: Use terminal-local binding of
3827 local-function-key-map instead of function-key-map.
3828
3829 * fringe.el (set-fringe-mode): Simplify and fix using
3830 `modify-all-frames-parameters'.
3831 * scroll-bar.el (set-scroll-bar-mode): Ditto.
3832 * tool-bar.el (tool-bar-mode): Ditto. Remove 'tool-bar-map length
3833 check before calling `tool-bar-setup'.
3834 (tool-bar-setup): New variable.
3835 (tool-bar-setup): Use it to guard against multiple calls. Add
3836 optional frame parameter, and select that frame before adding items.
3837 (toggle-tool-bar-mode-from-frame): New function.
3838
3839 * menu-bar.el (toggle-menu-bar-mode-from-frame): New function.
3840 (menu-bar-showhide-menu): Use toggle-menu-bar-mode-from-frame and
3841 toggle-tool-bar-mode-from-frame to change "Menu-bar" and
3842 "Tool-bar" toggles to reflect the state of the current frame.
3843 (menu-bar-mode): Simplify and fix using `modify-all-frames-parameters'.
3844
3845 * env.el: Require cl for byte compilation (for `block' and `return').
3846 (environment, setenv-internal): New functions.
3847 (let-environment): New macro.
3848 (setenv, getenv): Add optional terminal parameter. Update docs.
3849 (setenv): Use setenv-internal. Always set process-environment.
3850 Handle `local-environment-variables'.
3851 (read-envvar-name, setenv, getenv): Use frame parameters
3852 to store the local environment, not terminal parameters. Include
3853 `process-environment' as well.
3854
3855 * faces.el (tty-run-terminal-initialization): New function.
3856 (tty-create-frame-with-faces): Use it. Set up faces and
3857 background mode only after the terminal has been initialized.
3858 Call terminal-init-*. Don't load the initialization file more
3859 than once. Call set-locale-environment.
3860 (frame-set-background-mode): Handle the 'background-mode terminal
3861 parameter.
3862 (tty-find-type): New function.
3863 (x-create-frame-with-faces): Remove bogus check for
3864 first frame. Call `tool-bar-setup'. Don't make frame visible
3865 until we are done setting up all its parameters. Call
3866 x-setup-function-keys.
3867
3868 * frame.el (make-frame): Always inherit 'environment and 'client
3869 parameters. Set up the 'environment frame parameter, when needed.
3870 Also inherit 'client parameter. Don't override explicitly
3871 specified values with inherited ones. Add 'terminal frame
3872 parameter. Append window-system-default-frame-alist to parameters
3873 before calling frame-creation-function.
3874 (frame-initialize): Copy the environment from the initial frame.
3875 (window-system-default-frame-alist): Enhance doc string.
3876 (frame-notice-user-settings): Don't put 'tool-bar-lines in
3877 `default-frame-alist' when initial frame is on a tty.
3878 (modify-all-frames-parameters): Simplify using `assq-delete-all'.
3879 Remove specified parameters from `window-system-default-frame-alist'.
3880 (make-frame-on-tty, framep-on-display, suspend-frame):
3881 Extend doc string, update parameter names.
3882 (frames-on-display-list): Use terminal-id to get the display id.
3883 (frame-notice-user-settings): Extend to apply
3884 settings in `window-system-default-frame-alist' as well.
3885 (terminal-id, terminal-parameters, terminal-parameter)
3886 (set-terminal-parameter, terminal-handle-delete-frame): New functions.
3887 (delete-frame-functions): Add to `delete-frame-functions' hook.
3888 (blink-cursor-mode): Adapt blink-cursor-mode default
3889 value from startup.el.
3890 (make-frame-on-display): Protect condition on x-initialized when
3891 x-win.el is not loaded. Update doc.
3892 (suspend-frame): Use display-controlling-tty-p to decide between
3893 suspend-emacs and suspend-tty.
3894 (frames-on-display-list): Update for display ids.
3895 (framep-on-display): Ditto.
3896 (suspend-frame): Use display-name, not frame-tty-name.
3897 (selected-terminal): New function.
3898
3899 * server.el: Use `device' instead of `display' or `display-id' in
3900 variable and client parameter names.
3901 (server-select-display): Remove (unused).
3902 (server-tty-live-p, server-handle-delete-tty): Remove.
3903 (server-unquote-arg, server-quote-arg, server-buffer-clients):
3904 Update docs.
3905 (server-getenv-from, server-with-environment, server-send-string)
3906 (server-save-buffers-kill-terminal): New functions.
3907 (server-delete-client): Handle quits in kill-buffer. Don't kill
3908 modified buffers. Add extra logging. Delete frames after
3909 deleting the tty. Clear 'client parameter before deleting a frame.
3910 Use delete-display, not delete-tty.
3911 (server-visit-files): Don't set `server-existing-buffer' if the
3912 buffer already has other clients. Return list of buffers
3913 created. Update doc. Don't set client-record when nowait.
3914 (server-handle-delete-frame): Delete the client if this was its
3915 last frame. Check that the frame is alive. Remove bogus comment.
3916 Add note on possible race condition. Delete tty clients, if needed.
3917 (server-handle-suspend-tty): Use server-send-string. Kill the
3918 client in case of errors from process-send-string. Use the display
3919 parameter.
3920 (server-unload-hook): Remove obsolete delete-tty hook.
3921 (server-start): Ask before restarting if the old server still has
3922 clients. Add feedback messages. Remove obsolete delete-tty hook.
3923 (server-process-filter): Use server-send-string. Accept `-dir'
3924 command. Switch to *scratch* immediately after creating the frame,
3925 before evaluating any -evals. Protect `display-splash-screen'
3926 call in a condition-case. Explain why. Call
3927 `display-startup-echo-area-message' before
3928 `display-splash-screen'. Don't display the splash screen when no
3929 frame was created. Show the Emacs splash screen and startup echo
3930 area message. Display the *scratch* buffer by default. Store the
3931 local environment in a frame (not terminal) parameter. Do not try
3932 to decode environment strings. Fix reference to the 'display
3933 frame parameter. Change syntax of environment variables. Put
3934 environment into terminal parameters, not client parameters. Use
3935 a dummy client with --no-wait's X frames. In `-position LINE'
3936 handler, don't ruin the request string until the line number is
3937 extracted. Log opened files. Handle -current-frame command.
3938 Don't create frames when it is given. Don't bind X frames to the
3939 client when we are in -no-wait mode. Set locale environment
3940 variables from client while creating tty frames. Disable call to
3941 configure-display-for-locale. When processing -position command,
3942 don't change the request string until the parameters are
3943 extracted. Don't try to create an X frame when Emacs does not
3944 support it. Improve logging. Temporarily set ncurses-related
3945 environment variables to those of the client while creating a new
3946 tty frame. Select buffers opened by nowait clients, don't leave
3947 them buried under others. Set the display parameter, and use it
3948 when appropriate.
3949
3950 * startup.el (display-startup-echo-area-message): Handle
3951 `inhibit-startup-echo-area-message' here.
3952 (command-line-1): Moved from here.
3953 (fancy-splash-screens): Use `overriding-local-map' instead of
3954 `overriding-terminal-local-map' for now; the latter doesn't work
3955 right, it looses keypresses to another terminal. Use
3956 `overriding-terminal-local-map' to set up keymap. Install a
3957 `delete-frame-functions' hook to catch `delete-frame' events.
3958 Ignore `select-window' events to cope better with
3959 `focus-follows-mouse'. Don't switch back to the original buffer
3960 if the splash frame has been killed. Restore previous buffer, even
3961 if it's *scratch*.
3962 (normal-splash-screen): Don't let-bind `mode-line-format'; it
3963 changes the global binding - setq it instead. Use
3964 `save-buffers-kill-terminal'.
3965 (display-splash-screen): Don't do anything if the splash screen is
3966 already displayed elsewhere.
3967 (fancy-splash-exit, fancy-splash-delete-frame): New functions.
3968 (command-line): Replace duplicated code with a call to
3969 tty-run-terminal-initialization. Don't load the terminal
3970 initialization file more than once. Remove call to nonexistent
3971 function `set-locale-translation-file-name'.
3972
3973 * xt-mouse.el (xterm-mouse-x, xterm-mouse-y): Convert to terminal
3974 parameters.
3975 (xterm-mouse-position-function, xterm-mouse-event): Update.
3976 (xterm-mouse-mode): Don't depend on current value of window-system.
3977 (turn-on-xterm-mouse-tracking, turn-off-xterm-mouse-tracking):
3978 Update for multi-tty.
3979 (turn-on-xterm-mouse-tracking-on-terminal)
3980 (turn-off-xterm-mouse-tracking-on-terminal)
3981 (xterm-mouse-handle-delete-frame): New functions.
3982 (delete-frame-functions, after-make-frame-functions)
3983 (suspend-tty-functions, resume-tty-functions): Install extra hooks
3984 for multi-tty.
3985
3986 2007-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3987
3988 * simple.el (invisible-p): Remove: implemented in C now.
3989 (line-move-invisible-p): Remove obsolete alias.
3990
3991 2007-08-28 Juri Linkov <juri@jurta.org>
3992
3993 * image-mode.el (image-type): New variable.
3994 (image-mode): Set default major mode name to "Image[text]".
3995 (image-minor-mode): Change LIGHTER to display image-type in the
3996 mode line.
3997 (image-minor-mode): Set default image-type to "text".
3998 (image-toggle-display): After switching to text mode, set
3999 image-type to "text" and major mode name to "Image[text]".
4000 After switching to image mode, set image-type to actual image
4001 type, and add image type to major mode name. Let-bind the same
4002 variable names as arguments of `image-type' and `create-image'.
4003 Bind `type' to the result of `image-type' and use it as arg
4004 of `create-image' to not determine the image type twice.
4005
4006 2007-08-28 Michael Albinus <michael.albinus@gmx.de>
4007
4008 * net/tramp.el (tramp-handle-set-file-times): Flush the file properties.
4009 (tramp-set-file-uid-gid, tramp-get-local-uid)
4010 (tramp-get-local-gid): New defuns.
4011 (tramp-handle-copy-file): Handle new parameter PRESERVE-UID-GID.
4012 (tramp-do-copy-or-rename-file): New parameter PRESERVE-UID-GID.
4013 Improve fast track.
4014 (tramp-do-copy-or-rename-file-directly): Sync parameter list with
4015 the other tramp-do-copy-or-rename-file-* functions. Major rewrite.
4016 (tramp-handle-file-local-copy, tramp-handle-insert-file-contents)
4017 (tramp-handle-write-region): Improve fast track.
4018 (tramp-handle-file-remote-p): IDENTIFICATION can also be `localname'.
4019 (tramp-maybe-open-connection): Let `process-adaptive-read-buffering'
4020 be nil.
4021
4022 2007-08-28 Ivan Kanis <apple@kanis.eu>
4023
4024 * time.el: New feature to display several time zones in a buffer.
4025 (display-time-world-mode, display-time-world-display)
4026 (display-time-world, display-time-world-timer): New functions.
4027 (display-time-world-list, display-time-world-time-format)
4028 (display-time-world-buffer-name, display-time-world-timer-enable)
4029 (display-time-world-timer-second, display-time-world-mode-map):
4030 New variables.
4031
4032 2007-08-28 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
4033
4034 * term/x-win.el (x-gtk-stock-map): New variable.
4035 (x-gtk-map-stock): New function.
4036
4037 * info.el (info-tool-bar-map): Add :rtl keyword to right/left-arrow and
4038 prev/next-node.
4039
4040 2007-08-28 Johan Bockg\e,Ae\e(Brd <bojohan@dd.chalmers.se> (tiny change)
4041
4042 * play/gamegrid.el (gamegrid-init): Set line-spacing to 0.
4043
4044 2007-08-28 Glenn Morris <rgm@gnu.org>
4045
4046 * progmodes/cc-langs.el (c-constant-kwds): Add java: null, true, false.
4047
4048 2007-08-27 Thien-Thi Nguyen <ttn@gnuvola.org>
4049
4050 * progmodes/modula2.el (m2-definition, m2-module):
4051 Don't use previous-line. Reported by T. V. Raman.
4052
4053 2007-08-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4054
4055 * term/mac-win.el (mac-handle-toolbar-switch-mode): Add explicit
4056 argument to tool-bar-mode call.
4057
4058 2007-08-27 Glenn Morris <rgm@gnu.org>
4059
4060 * diff-mode.el (diff-find-file-name): Only accept regular files,
4061 to rule out /dev/null, directories, etc.
4062
4063 * vc-svn.el (vc-svn-diff): If the repository version of all the
4064 files is the same as the specified OLDVERS, do a local diff.
4065
4066 2007-08-25 Stefan Monnier <monnier@iro.umontreal.ca>
4067
4068 * uniquify.el (uniquify-rationalize-file-buffer-names): Check liveness
4069 of buffers in uniquify-managed.
4070
4071 * simple.el (invisible-p): Rename from text-invisible-p.
4072 Update callers.
4073
4074 2007-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4075
4076 * progmodes/cperl-mode.el (defcustom, x-color-defined-p, cperl-is-face)
4077 (cperl-is-face, cperl-force-face, cperl-etags-snarf-tag, cperl-mode)
4078 (cperl-etags-snarf-tag, cperl-etags-goto-tag-location, cperl-init-faces)
4079 (cperl-etags-goto-tag-location): Use new style backquotes.
4080
4081 * net/browse-url.el: Remove spurious * in custom docstrings.
4082 (browse-url-filename-alist): Use new-style backquote.
4083
4084 * emacs-lisp/backquote.el (backquote-unquote-symbol)
4085 (backquote-splice-symbol): Clarify they're not new-style unquotes.
4086
4087 * emacs-lisp/edebug.el (edebug-list-form, edebug-match-symbol, \,)
4088 (\,@): Backslash the , and ,@ which are not new-style unquotes.
4089
4090 * textmodes/texinfmt.el (\,): Clarify it's not a new-style unquote.
4091
4092 * net/socks.el (socks-username/password-auth-filter):
4093 Remove unused vars `state' and `desired-len'.
4094 (socks-parse-services, socks-nslookup-host): Use with-current-buffer.
4095 (socks-wait-for-state-change): Use new-style backquotes.
4096
4097 * pcvs.el (cvs-mode-status): Fix long-standing typo.
4098
4099 * emacs-lisp/bytecomp.el (byte-compile-from-buffer): Check old-style
4100 backquotes after each `read' rather than once per buffer.
4101
4102 * dframe.el: Remove spurious * in custom docstrings.
4103 (dframe-xemacsp): Remove, use (featurep 'xemacs) instead.
4104 (dframe-xemacs20p): Remove, inline at the sole use point.
4105 (defface): Don't defvar the face, don't use old-style backquote.
4106 (defcustom): Don't use old-style backquote.
4107 (dframe-frame-parameter, dframe-mouse-event-p):
4108 Make it obvious that it's always defined.
4109 (dframe-popup-kludge): New function to replace
4110 dframe-xemacs-popup-kludge and dframe-xemacs-popup-kludge.
4111 (dframe-frame-mode, dframe-set-timer-internal)
4112 (dframe-mouse-set-point): Remove use of with-no-warnings from
4113 XEmacs-specific code.
4114 (dframe-set-timer-internal): Fix very old bug with
4115 post-command-idle-hook.
4116
4117 * emacs-lisp/byte-opt.el (byte-optimize-featurep): Handle `sxemacs'.
4118
4119 2007-08-27 Thien-Thi Nguyen <ttn@gnuvola.org>
4120
4121 * emacs-lisp/avl-tree.el: New file.
4122
4123 2007-08-26 Micha\e,Ak\e(Bl Cadilhac <michael@cadilhac.name>
4124
4125 * hi-lock.el (hi-lock-unface-buffer): Show a x-menu only if the mouse
4126 was used.
4127
4128 2007-08-26 Sean O'Rourke <seano@cs.ucsd.edu>
4129
4130 * complete.el (PC-do-completion): Make RET accept a non-unique but
4131 complete expansion again.
4132
4133 2007-08-26 Thien-Thi Nguyen <ttn@gnuvola.org>
4134
4135 * eshell/esh-opt.el (eshell-eval-using-options):
4136 Add debug declaration.
4137
4138 2007-08-26 Dan Nicolaescu <dann@ics.uci.edu>
4139
4140 * log-view.el (log-view-toggle-mark-entry): Add docstring.
4141 (log-view-get-marked): Likewise.
4142
4143 * vc-hooks.el (vc-registered): Use mapc instead of mapcar.
4144 (vc-delete-automatic-version-backups): Likewise.
4145
4146 * vc.el (vc-dired-buffers-for-dir): Likewise.
4147
4148 2007-08-25 Dan Nicolaescu <dann@ics.uci.edu>
4149
4150 * progmodes/cperl-mode.el (cperl-indent-level): Autoload the
4151 safe-local-variable setting.
4152 * progmodes/perl-mode.el (perl-indent-level): Likewise.
4153
4154 * log-view.el (log-view-marked-list): Delete variable.
4155 (log-view-mode): Don't use it.
4156 (log-view-toggle-mark-entry): Likewise, simplify.
4157 (log-view-current-tag): Don't return properties.
4158 (log-view-get-marked): New function.
4159
4160 2007-08-25 Alexandre Julliard <julliard@winehq.org>
4161
4162 * vc-git.el (vc-git-mode-line-string): New function.
4163
4164 2007-08-25 Alan Mackenzie <acm@muc.de>
4165
4166 * progmodes/cc-langs.el (c-other-decl-block-key-in-symbols-alist):
4167 new language variable.
4168
4169 * progmodes/cc-engine.el (c-brace-anchor-point): new function.
4170 (c-add-stmt-syntax): Give accurate anchor points for "namespace",
4171 "extern" etc., rather than BOI. Fix addition of spurious
4172 syntactic-symbol 'defun-block-intro, replacing it with
4173 'innamespace, etc.
4174
4175 2007-08-25 Juri Linkov <juri@jurta.org>
4176
4177 * files.el (auto-mode-alist): Move "\\.x[bp]m\\'" to image-mode.el.
4178
4179 * image-mode.el: Add autoloads to put associations in auto-mode-alist:
4180 associate "\\.x[bp]m\\'" with c-mode and image-mode-maybe, and
4181 "\\.svgz?\\'" with xml-mode and image-mode-maybe.
4182
4183 * image.el (image-type-header-regexps): Use more complex regexp for svg.
4184 (image-type-file-name-regexps): Add ("\\.svgz?\\'" . svg).
4185 (image-type-auto-detectable): Add (svg . maybe).
4186
4187 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add .svgz
4188 to treat it like .tgz.
4189
4190 * calendar/cal-bahai.el: Add file coding cookie.
4191
4192 2007-08-25 Reiner Steib <Reiner.Steib@gmx.de>
4193
4194 * pcvs.el (cvs-query-directory): Only prompt when prefix is given.
4195 Don't behave differently when executed via M-x. Add doc string.
4196
4197 * sort.el (sort-fold-case, sort-numeric-base): Mark as
4198 safe-local-variable.
4199
4200 2007-08-25 Jay Belanger <jay.p.belanger@gmail.com>
4201
4202 * calc/calc-forms.el (var-TimeZone): Make nil explicitly
4203 the default value.
4204 (math-calendar-tzinfo): New variable.
4205 (math-get-calendar-tzinfo): New function.
4206 (calcFunc-tzone, calcFunc-dst): Use Emacs's calendar
4207 to get information when zone is nil.
4208
4209 2007-08-24 Dan Nicolaescu <dann@ics.uci.edu>
4210
4211 * log-view.el (log-view-toggle-mark-entry): New function.
4212 (log-view-mode-map): Bind it.
4213 (log-view-marked-list): New variable.
4214 (log-view-mode): Make it local.
4215
4216 2007-08-24 Thien-Thi Nguyen <ttn@gnuvola.org>
4217
4218 * play/zone.el (zone-pgm-rat-race): New func.
4219 (zone-programs): Add `zone-pgm-rat-race'.
4220
4221 2007-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
4222
4223 * emacs-lisp/byte-opt.el (byte-optimize-if): Don't presume `clause' is
4224 a list.
4225
4226 2007-08-24 Thien-Thi Nguyen <ttn@gnuvola.org>
4227
4228 * progmodes/hideshow.el (hs-match-data): Delete alias.
4229 (hs-hide-block-at-point, hs-find-block-beginning)
4230 (hs-show-block): Use `match-data' directly.
4231
4232 2007-08-24 Martin Rudalics <rudalics@gmx.at>
4233
4234 * format.el (format-alist): Fix typo in doc-string.
4235
4236 2007-08-24 Michael Albinus <michael.albinus@gmx.de>
4237
4238 * net/tramp.el (tramp-local-host-p): New defun.
4239 (tramp-handle-file-local-copy, tramp-handle-write-region):
4240 Implement fast track when being on the local host.
4241 (tramp-file-name-handler): Don't set "started" property. It shall
4242 be reserved for the "ftp" method.
4243 (tramp-make-copy-program-file-name): Use `tramp-file-name-real-host'.
4244
4245 * net/tramp-ftp.el (top): Autoload `tramp-set-connection-property'.
4246 (tramp-ftp-file-name-handler): Set "started" property.
4247
4248 2007-08-24 Ulrich Mueller <ulm@gentoo.org> (tiny change)
4249
4250 * files.el (backup-buffer-copy): Don't wrap delete in
4251 condition-case, only try to delete if file exists.
4252
4253 2007-08-24 Glenn Morris <rgm@gnu.org>
4254
4255 * files.el (backup-buffer-copy): Revert 2007-08-22 change.
4256
4257 * startup.el (tutorial-directory): Set with eval-at-startup so it
4258 gets the right value in an installed Emacs.
4259
4260 2007-08-24 Nikolaj Schumacher <n_schumacher@web.de> (tiny change)
4261
4262 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): New face.
4263 (eldoc-highlight-function-argument): Use it.
4264
4265 2007-08-23 Masatake YAMATO <jet@gyve.org>
4266
4267 * progmodes/cc-fonts.el (gtkdoc-font-lock-doc-comments): Highlight
4268 name of parameters in document body.
4269
4270 2007-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4271
4272 * emacs-lisp/bytecomp.el (byte-compile-output-docform)
4273 (byte-compile-output-as-comment): Use with-current-buffer rather than
4274 a weird set-buffer&prog1 combination.
4275
4276 * emacs-lisp/byte-opt.el (byte-optimize-if): Move `progn' out of the
4277 test so as to optimise cases where the `progn's result is constant.
4278
4279 2007-08-23 Thien-Thi Nguyen <ttn@gnuvola.org>
4280
4281 * locate.el (locate-get-file-positions):
4282 Use line-beginning-position and line-end-position.
4283
4284 2007-08-23 John Wiegley <johnw@newartisans.com>
4285
4286 * calendar/cal-bahai.el: Added in the diacriticals that were
4287 missing for many of the month names.
4288
4289 2007-08-22 Jason Rumney <jasonr@gnu.org>
4290
4291 * vc-hooks.el (vc-menu-map-filter): Reapply 2007-08-06 bugfix.
4292
4293 2007-08-22 Chong Yidong <cyd@stupidchicken.com>
4294
4295 * image-mode.el (image-minor-mode): Use image-mode-text-map.
4296
4297 2007-08-22 Sean O'Rourke <sorourke@cs.ucsd.edu>
4298
4299 * dabbrev.el (dabbrev--progress-reporter): New variable.
4300 (dabbrev--scanning-message): Delete func.
4301 (dabbrev--find-expansion): Use a progress reporter
4302 instead of dabbrev--scanning-message.
4303
4304 2007-08-22 Michael Albinus <michael.albinus@gmx.de>
4305
4306 * comint.el (comint-exec-1): Raise an error if
4307 `start-file-process' does not return a process object.
4308
4309 * shell.el (shell): Prompt for `default-directory' if it is a
4310 remote file name, and if called with a prefix arg.
4311
4312 2007-08-22 Sam Steingold <sds@gnu.org>
4313
4314 * pcvs.el (cvs-vc-command-advice): Fix a typo in code (file->files).
4315
4316 2007-08-22 Carsten Dominik <dominik@science.uva.nl>
4317
4318 * textmodes/org-export-latex.el: New file.
4319
4320 * textmodes/org-publish.el (org-publish-org-to-latex): New function.
4321
4322 * textmodes/org.el (org-agenda-skip): Allow a form for
4323 `org-agenda-skip-function'.
4324 (org-agenda-redo): Re-use local settings.
4325 (org-agenda): Store local settings.
4326 (org-agenda-deadline-faces): New option.
4327 (org-agenda-deadline-face): New function.
4328 (org-agenda-get-deadlines, org-agenda-get-scheduled): Also handle
4329 entries on their due date.
4330 (org-agenda-get-timestamps): No longer handle the due dates of
4331 schedules and deadline items.
4332 (org-insert-link-global, org-open-at-point-global): New commands.
4333 (org-export-as-ascii): Call `org-cleaned-string-for-export' with a
4334 :for-ascii parameter.
4335 (org-skip-comments): Function removed.
4336 (org-cleaned-string-for-export): Handle special table lines.
4337 (org-global-properties): New option.
4338 (org-entry-get-with-inheritance): Check global properties.
4339 (org-local-properties): New variable.
4340 (org-set-regexps-and-options): Find the #+PROPERTY line.
4341 (org-link-types): Change type into variable (was constant).
4342 (org-make-link-regexps): New function.
4343 (org-link-re-with-space, org-link-re-with-space2)
4344 (org-angle-link-re, org-plain-link-re, org-bracket-link-regexp)
4345 (org-bracket-link-analytic-regexp, org-any-link-re): Creation of
4346 these regular expressions happens now in the function
4347 `org-make-link-regexps'.
4348 (org-store-link): Call the functions in
4349 `org-store-link-functions'.
4350 (org-add-link-type): New function.
4351 (org-store-link-functions): New variable.
4352 (org-activate-tags): Force matches to be in headlines.
4353 (org-batch-store-agenda-views): Fix bug with killing agenda buffer.
4354 (org-columns-display-here): Make sure this works in a narrowed
4355 buffer by checking for point-min.
4356 (org-columns-display-here): Make the rest of the line intangible,
4357 so that point never can be there.
4358 (org-cleaned-string-for-export): Use `with-current-buffer'.
4359 (org-replace-region-by-html): Use `with-current-buffer'.
4360 (org-unfontify-region, org-do-occur, org-columns-display-here)
4361 (org-columns-remove-overlays, org-columns-quit)
4362 (org-columns-edit-value, org-columns-next-allowed-value)
4363 (org-eval-in-calendar, org-agenda-undo, org-no-read-only)
4364 (org-finalize-agenda, org-remove-subtree-entries-from-agenda)
4365 (org-agenda-todo, org-agenda-change-all-lines)
4366 (org-agenda-align-tags, org-agenda-priority)
4367 (org-agenda-set-tags, org-agenda-toggle-archive-tag)
4368 (org-agenda-show-new-time, org-cleaned-string-for-export)
4369 (org-export-grab-title-from-buffer)
4370 (org-export-as-ascii, org-export-as-html): Use `inhibit-read-only'
4371 instead of `buffer-read-only'.
4372 (org-export-as-html): Set `coding-system-for-write'.
4373 (org-remember-store-without-prompt): New option.
4374 (org-archive-subtree): Fixed bug with modifying TODO keyword.
4375 (org-beginning-of-line): Also treat C-a special in items.
4376 (org-table-convert-refs-to-rc): Fixed problem with column
4377 reference after "..".
4378 (org-columns-compute): Don't mark buffer modified because of text
4379 properties.
4380 (org-batch-store-agenda-views): Use the variable
4381 `default-directory', not the function.
4382 (org-clock-out-if-current): Respect `org-clock-out-when-done'.
4383 (org-clock-out-when-done): New option.
4384 (org-html-entities): Added HTML entities for smileys.
4385
4386 2007-08-22 Glenn Morris <rgm@gnu.org>
4387
4388 * image.el (create-image): Doc fix.
4389
4390 * startup.el (tutorial-directory): New constant.
4391 (fancy-splash-text): Tutorials now in tutorial-directory.
4392 * tutorial.el (help-with-tutorial): Tutorials now in
4393 tutorial-directory.
4394
4395 2007-08-22 Michael Albinus <michael.albinus@gmx.de>
4396
4397 * net/tramp.el (top): Require cl.el, when `copy-tree' is not available
4398 otherwise.
4399 (tramp-get-remote-path): New defun. Replace occurrences of
4400 `tramp-default-remote-path' by this function.
4401 (tramp-set-remote-path): Move most of the code to
4402 `tramp-get-remote-path'.
4403 (tramp-get-ls-command, tramp-get-remote-id): Don't check for not
4404 existing directories, this is done already in
4405 `tramp-get-remote-path'.
4406
4407 2007-08-22 Paul Pogonyshev <pogonyshev@gmx.net>
4408
4409 * image-file.el (image-file-name-extensions): Add "svg".
4410 * image.el (image-type-header-regexps): Add svg entry.
4411
4412 2007-08-22 Glenn Morris <rgm@gnu.org>
4413
4414 * files.el (backup-buffer-copy): Check backup directory is
4415 writable, to avoid infloop deleting old backup.
4416
4417 * mail/rmail.el (rmail-movemail-variant-p): Call on load to set
4418 movemail related variables.
4419 (rmail-insert-inbox-text): Use only rmail-movemail-program, which
4420 will now be set before this is called.
4421
4422 2007-08-21 Juri Linkov <juri@jurta.org>
4423
4424 * delsel.el (delete-selection-pre-hook):
4425 * emulation/cua-base.el (cua-paste): Use `mouse-region-match'
4426 instead of checking last-command.
4427
4428 2007-08-21 Juri Linkov <juri@jurta.org>
4429
4430 * loadup.el: Preload "button".
4431
4432 2007-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4433
4434 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4435 Add previous-line and next-line.
4436
4437 * vc-arch.el (vc-arch-extra-menu-map): New var and fun.
4438 (vc-arch-find-file-not-found-hook): Remove, it's now the default.
4439
4440 * vc-hooks.el (vc-menu-entry): New var.
4441 (vc-mode-line-map): Use it so that this menu also uses the extra-menu.
4442 (menu-bar-tools-menu): Add the VC menu here rather than in menu-bar.el.
4443 (vc-menu-map): Declare and initialize in one step.
4444 (vc-menu-map-filter): Move&rename from menu-bar.el:menu-bar-vc-filter.
4445
4446 * menu-bar.el (vc-menu-map): Don't setup any more.
4447 Instead, just create the proper spot in the menu.
4448
4449 2007-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4450
4451 * smerge-mode.el (smerge-resolve): New arg `safe'.
4452 (smerge-resolve-all, smerge-batch-resolve): New function.
4453 (smerge-refine): Make sure `diff' returns the expected result.
4454 (smerge-parsep-re): New const.
4455 (smerge-mode): Use it to adjust paragraph-separate.
4456
4457 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
4458 Correctly match / regexp matchers as first char on a line when
4459 fontifying only that line.
4460
4461 * emacs-lisp/cl-macs.el (cl-transform-lambda): Preserve the match-data.
4462
4463 2007-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4464
4465 * vc-bzr.el: Don't fiddle with vc-handled-backend.
4466 (vc-bzr-registered): Don't redundantly protect against
4467 file-error. Actually use the format-specific code.
4468 (vc-bzr-buffer-nonblank-p): Remove.
4469 (vc-bzr-status): Change `kindchange' -> `kindchanged'.
4470
4471 2007-08-20 Juri Linkov <juri@jurta.org>
4472
4473 * startup.el (fancy-splash-text): Change multiple tabs into one
4474 tab. Remove "Useful File menu items" section (with "Exit Emacs"
4475 and "Recover Crashed Session").
4476 (fancy-splash-screens): Set tab-width to 22.
4477 (normal-splash-screen): Replace literal tabs with \t and
4478 fix whitespace. Remove "Useful File menu items" section (with
4479 "Exit Emacs" and "Recover Crashed Session").
4480
4481 2007-08-20 Johannes Weiner <hannes@saeurebad.de> (tiny change)
4482
4483 * emacs-lisp/lisp-mode.el (preceding-sexp): New fun, the code was
4484 extracted from `eval-last-sexp-1'.
4485 (eval-last-sexp-1): Call `preceding-sexp'.
4486
4487 2007-08-20 Thien-Thi Nguyen <ttn@gnuvola.org>
4488
4489 * vc-rcs.el (vc-rcs-annotate-command):
4490 Fix bug introduced 2007-07-18T16:32:40Z!esr@snark.thyrsus.com:
4491 Add back :vc-annotate-prefix propertization.
4492
4493 2007-08-20 Andreas Schwab <schwab@suse.de>
4494
4495 * mail/rmail.el (rmail-autodetect): Doc fix.
4496
4497 2007-08-19 Juri Linkov <juri@jurta.org>
4498
4499 * startup.el (normal-splash-screen): Add more links.
4500
4501 2007-08-19 Juri Linkov <juri@jurta.org>
4502
4503 * startup.el (splash-screen-keymap): Rename from `fancy-splash-keymap'
4504 because it's common to both types of splash screen: fancy and normal.
4505 Bind SPC to scroll-up, DEL to scroll-down and `q' to exit-splash-screen.
4506 (exit-splash-screen): Rename from `fancy-splash-quit'.
4507 Use `quit-window' instead of `kill-buffer'.
4508 (fancy-splash-head): Use make-button to insert GNU image link.
4509 (fancy-splash-screens, normal-splash-screen): Rename " About GNU
4510 Emacs" to "*About GNU Emacs*", and " GNU Emacs" to "*GNU Emacs*".
4511 (normal-splash-screen): Put "Browse manuals" on the same line with
4512 "Emacs manual". Remove descriptions from "Useful tasks" and put
4513 all links in two columns on two lines.
4514
4515 2007-08-19 Michael Kifer <kifer@cs.stonybrook.edu>
4516
4517 * emulation/viper.el (viper-remove-hooks): Remove some additional
4518 viper hooks when the user calls viper-go-away.
4519 (viper-go-away): Restore the default of default-major-mode.
4520 Save the value of default-major-mode before vaperization.
4521
4522 * emulation/viper-cmd.el: Replace error "" with "Viper bell".
4523
4524 * emulation/viper-ex.el: Replace error "" with "Viper bell".
4525
4526 * ediff-util.el (ediff-make-temp-file): Use the coding system of the
4527 buffer for which file is created.
4528
4529 2007-08-19 Glenn Morris <rgm@gnu.org>
4530
4531 * Makefile.in (custom-deps, finder-data, autoloads, recompile)
4532 (progmodes/cc-mode.elc, mh-e/mh-loaddefs.el): Use $(emacs) rather
4533 than $(EMACS), so that EMACSLOADPATH is set. Prevents any system
4534 shadow files messing up the compilation.
4535
4536 2007-08-18 Glenn Morris <rgm@gnu.org>
4537
4538 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string): Add doc
4539 string. Also apply eldoc-argument-case in the help-split-fundoc
4540 case. Adapt for changed behavior of eldoc-function-argstring,
4541 eldoc-function-argstring-format, and
4542 eldoc-highlight-function-argument.
4543 (eldoc-highlight-function-argument): Handle nil INDEX argument,
4544 just call eldoc-docstring-format-sym-doc in that case.
4545 (eldoc-function-argstring): Change the behavior. Now it converts
4546 an argument list to a string.
4547 (eldoc-function-argstring-format): Change the behavior. Now it
4548 applies `eldoc-argument-case' to a string.
4549
4550 * progmodes/scheme.el (scheme-mode-variables): Set
4551 font-lock-comment-start-skip.
4552
4553 2007-08-18 Martin Rudalics <rudalics@gmx.at>
4554
4555 * progmodes/ada-mode.el (ada-create-syntax-table): Move
4556 set-syntax-table from here to ...
4557 (ada-mode): ... here. Do not change global value of
4558 comment-multi-line. Call new function
4559 ada-initialize-syntax-table-properties and add new function
4560 ada-handle-syntax-table-properties to font-lock-mode-hook.
4561 (ada-deactivate-properties, ada-initialize-properties): Replace
4562 by new functions ...
4563 (ada-handle-syntax-table-properties)
4564 (ada-initialize-syntax-table-properties)
4565 (ada-set-syntax-table-properties): ... to set up syntax-table
4566 properties uniformly, independently from whether font-lock-mode
4567 is enabled or not. Handle read-only buffers and do not change
4568 undo-list when setting syntax-table properties.
4569 (ada-after-change-function): Use ada-set-syntax-table-properties.
4570
4571 2007-08-18 Micha\e,Ak\e(Bl Cadilhac <michael@cadilhac.name>
4572
4573 * progmodes/meta-mode.el (meta-indent-calculate-last): Remove.
4574 (meta-indent-current-nesting): Use a computation of the nesting
4575 instead.
4576 (meta-indent-current-indentation): Indentation is given according
4577 to nesting and if the previous line was finished or not.
4578 (meta-indent-unfinished-line): Tell if the current line ends with
4579 a finished expression.
4580 (meta-indent-looking-at-code): Like `looking-at', but checks if
4581 the point is in a string before.
4582 (meta-indent-level-count): Use it. Don't count parenthesis as it's
4583 done in the nesting function.
4584 (meta-indent-in-string-p): Tell if the current point is in a
4585 string.
4586 (meta-indent-calculate): Treat b-o-b as a special case. Use the
4587 previous functions.
4588
4589 2007-08-17 Thien-Thi Nguyen <ttn@gnuvola.org>
4590
4591 * emacs-lisp/copyright.el (copyright-limit): New defsubst.
4592 (copyright-update-year, copyright-update)
4593 (copyright-fix-years): Use it.
4594
4595 2007-08-17 Kimit Yada <kimitto@gmail.com> (tiny change)
4596
4597 * emacs-lisp/copyright.el (copyright-update-year):
4598 Fix bug: Handle nil copyright-limit.
4599
4600 2007-08-17 Jay Belanger <jay.p.belanger@gmail.com>
4601
4602 * calc/calc-units.el (math-standard-units): Give exact
4603 conversion for tsp.
4604
4605 * calc/calc.el (math-bignum-digit-length): Compute the
4606 appropriate value.
4607
4608 * calc/calc-bin.el (math-bignum-logb-digit-size)
4609 (math-bignum-digit-power-of-two):
4610 * calc/calc-comb.el (math-small-factorial-table):
4611 * calc/calc-ext.el (math-approx-pi, math-approx-sqrt-e)
4612 (math-approx-gamma-const):
4613 * calc/calc-funcs.el (math-besJ0, math-besJ1, math-besY0)
4614 (math-besY1, math-bernoulli-b-cache):
4615 * calc/calc-math.el (math-approx-ln-10, math-approx-ln-2):
4616 Remove `eval-when-compile's.
4617
4618 2007-08-17 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change)
4619
4620 * progmodes/cperl-mode.el (cperl-look-at-leading-count)
4621 (cperl-find-pods-heres): Fix an error when typing expressions like
4622 `s{a}{b}'.
4623
4624 2007-08-17 Micha\e,Ak\e(Bl Cadilhac <michael@cadilhac.name>
4625
4626 * mail/emacsbug.el (report-emacs-bug): Remove the last number of
4627 `emacs-version', use the topic prefix ``version; ''. Make MS-DOS
4628 a special case (there's no build number).
4629
4630 2007-08-17 T. V. Raman <raman@users.sf.net> (tiny change)
4631
4632 * completion.el (symbol-under-point, symbol-before-point)
4633 (symbol-before-point-for-complete): Use buffer-substring-no-properties.
4634
4635 2007-08-17 Glenn Morris <rgm@gnu.org>
4636
4637 * progmodes/compile.el (compilation-get-file-structure): Make use
4638 of the directory part when checking for an existing entry, to
4639 handle files with same basename in different directories.
4640
4641 2007-08-17 Jay Belanger <jay.p.belanger@gmail.com>
4642
4643 * calc/calc.el (calc-language-alist): Add texinfo-mode.
4644
4645 2007-08-16 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4646
4647 * ps-print.el (ps-header-font-size, ps-header-title-font-size)
4648 (ps-footer-font-size, ps-line-number-font-size, ps-line-spacing)
4649 (ps-paragraph-spacing): Docstring fix.
4650
4651 2007-08-16 Glenn Morris <rgm@gnu.org>
4652
4653 * ps-print.el (ps-font-size): Doc fix.
4654
4655 2007-08-16 Richard Stallman <rms@gnu.org>
4656
4657 * emacs-lisp/copyright.el (copyright-names-regexp): Add custom group.
4658
4659 2007-08-15 Juri Linkov <juri@jurta.org>
4660
4661 * startup.el (initialization): Change parent group from `internal'
4662 to `environment'.
4663 (initial-buffer-choice): New variable.
4664 (command-line): Revert 2007-07-02 change that sets
4665 buffer-offer-save in *scratch* and enables auto-save in it.
4666 (fancy-splash-text): Add links to existing items. Add new items
4667 with links for useful tasks. Move information about Control-g to
4668 fancy-splash-head. Move "Emacs Guided Tour" to the end.
4669 (fancy-splash-keymap): New variable.
4670 (fancy-splash-last-input-event): Remove variable.
4671 (fancy-splash-insert): Add processing of `:link' element.
4672 (fancy-splash-head): Replace "Type Control-l to begin editing"
4673 with "Type `q' to exit".
4674 (fancy-splash-screens-1): Let-bind inhibit-read-only to t.
4675 (fancy-splash-default-action, fancy-splash-special-event-action):
4676 Remove functions.
4677 (fancy-splash-quit): New function.
4678 (fancy-splash-screens): Rename input arg from `hide-on-input' to
4679 `static' and reverse the condition of its usage. Don't preserve
4680 original values of `minor-mode-map-alist',
4681 `emulation-mode-map-alists', `special-event-map'.
4682 Rename startup-buffer from "*About GNU Emacs*" to " GNU Emacs".
4683 Rename about-buffer from " GNU Emacs" to " About GNU Emacs".
4684 Remove processing of special events. Use local key map
4685 `fancy-splash-keymap'. Set buffer to read-only.
4686 (normal-splash-screen): Rename input arg from `hide-on-input' to
4687 `static' and reverse the condition of its usage.
4688 Rename startup-buffer from "*About GNU Emacs*" to " GNU Emacs".
4689 Rename about-buffer from " GNU Emacs" to " About GNU Emacs".
4690 Add links to existing items. Add new items with links for useful
4691 tasks. Use local key map `fancy-splash-keymap'.
4692 (display-splash-screen): Rename input arg from `hide-on-input' to
4693 `static'.
4694 (about-emacs): Add alias to display-splash-screen.
4695 (command-line-1): Use `initial-buffer-choice'.
4696
4697 * menu-bar.el (menu-bar-help-menu):
4698 * term/mac-win.el (mac-apple-event-map): Bind About Emacs menu
4699 item to about-emacs instead of display-splash-screen.
4700
4701 2007-08-15 Jay Belanger <jay.p.belanger@gmail.com>
4702
4703 * calc/calc-units.el (math-standard-units): Update values.
4704 Put in exact, rational values when possible.
4705 (math-unit-prefixes): Replace floats with powers of ten.
4706 (math-standard-units-systems): Replace floats with integers.
4707 (math-make-unit-string): Remove extra spaces in output.
4708
4709 2007-08-15 Glenn Morris <rgm@gnu.org>
4710
4711 * mail/undigest.el (rmail-digest-parse-rfc1153sloppy): Be even
4712 sloppier, for the sake of GNU Mailman.
4713 (rmail-digest-rfc1153): Initialize `result' correctly.
4714
4715 2007-08-15 Micha\e,Ak\e(Bl Cadilhac <michael@cadilhac.name>
4716
4717 * mail/emacsbug.el (report-emacs-bug): Put `Bug: emacs-version; '
4718 in the mail title. Suggested by Reiner Steib.
4719
4720 2007-08-14 Chris Hecker <checker@d6.com> (tiny change)
4721
4722 * calc/calc-aent.el (calc-do-quick-calc): Add binary
4723 representation of integers to the list of outputs.
4724
4725 2007-08-14 Glenn Morris <rgm@gnu.org>
4726
4727 * simple.el (bad-packages-alist): New constant.
4728 (bad-package-check): New function. Together, these two add elements
4729 to `after-load-alist' to check for problematic external packages.
4730 * emulation/cua-base.el: Move CUA-mode check to `bad-packages-alist'.
4731
4732 2007-08-14 Jay Belanger <jay.p.belanger@gmail.com>
4733
4734 * calc/calc-units.el (math-get-standard-units)
4735 (math-get-units, math-make-unit-string)
4736 (math-get-default-units, math-put-default-units): New functions.
4737 (math-default-units-table): New variable.
4738 (calc-convert-units, calc-convert-temperature): Add machinery
4739 to supply default values.
4740
4741 2007-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
4742
4743 * emulation/tpu-edt.el: Add tpu-extras's autoloads.
4744 (tpu-gold-map, tpu-global-map): Comment-out the bindings to nil.
4745 (tpu-gold-map): Bind F to tpu-cursor-free-mode.
4746 (minibuffer-local-map): Use funkey symbols rather than esc-sequence.
4747
4748 * emulation/tpu-extras.el: Remove spurious * in docstrings.
4749 Put its autoloads into tpu-edt.el rather than loaddefs.el.
4750 (tpu-cursor-free-mode): Rename from tpu-cursor-free.
4751 Make into a proper minor-mode.
4752 (tpu-backward-char, tpu-next-line, tpu-previous-line)
4753 (tpu-next-end-of-line, tpu-current-end-of-line): Use new name.
4754 (tpu-trim-line-ends-if-needed): Rename from tpu-before-save-hook.
4755 (tpu-set-cursor-free, tpu-set-cursor-bound):
4756 Delegate to tpu-cursor-free-mode.
4757 (tpu-next-line, tpu-previous-line, tpu-forward-line)
4758 (tpu-backward-line, tpu-scroll-window-down, tpu-scroll-window-up):
4759 Use line-move or forward-line instead of next-line-internal.
4760
4761 2007-08-13 Nick Roberts <nickrob@snap.net.nz>
4762
4763 * progmodes/gdb-ui.el (gdb-send): Handle CTRL-D more carefully.
4764
4765 2007-08-12 Richard Stallman <rms@gnu.org>
4766
4767 * pcvs.el (cvs-reread-cvsrc, cvs-checkout, cvs-mode-checkout)
4768 (cvs-execute-single-file): Use new name split-string-and-unquote.
4769 (cvs-header-msg): Use new name combine-and-quote-strings.
4770
4771 * emulation/vi.el (vi-next-line): Ignore return value of line-move.
4772
4773 * progmodes/gud.el (gud-common-init): Use new name
4774 split-string-and-unquote.
4775
4776 * progmodes/flymake.el (flymake-err-line-patterns): Fix infloop
4777 in javac regexp.
4778
4779 * pcvs-util.el (cvs-qtypedesc-strings): Use new names
4780 combine-and-quote-strings and split-string-and-unquote.
4781
4782 * subr.el (combine-and-quote-strings): Rename from strings->string.
4783 (split-string-and-unquote): Rename from string->strings.
4784
4785 2007-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4786
4787 * log-view.el (log-view-font-lock-keywords): Use `eval' so as to adapt
4788 to buffer-local settings.
4789
4790 * emacs-lisp/backquote.el (backquote-delay-process): New function.
4791 (backquote-process): Add internal arg `level'. Use the two to
4792 correctly handle nested backquotes.
4793
4794 2007-08-09 Riccardo Murri <riccardo.murri@gmail.com>
4795
4796 * vc-bzr.el (vc-bzr-registered): Use \0 instead of literal NULs.
4797 (vc-bzr-state-words): Add "kind changed" state word.
4798 (vc-bzr-status): New function. Return Bzr idea of file status,
4799 which is different from VC's.
4800 (vc-bzr-state): Use vc-bzr-status.
4801 (vc-workfile-unchanged-p): Use vc-bzr-status.
4802 (vc-bzr-revert): Use synchronous process; expect exitcode 0.
4803 (vc-dired-state): Process "kind changed" state word.
4804
4805 2007-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4806
4807 * vc-hooks.el (vc-default-find-file-not-found-hook): Do nothing.
4808
4809 * vc-rcs.el (vc-rcs-find-file-not-found-hook):
4810 Move from vc-default-find-file-not-found-hook.
4811
4812 2007-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4813
4814 * man.el: Remove spurious * in docstrings.
4815 Merge defvars and toplevel setq-defaults.
4816 (Man-highlight-references0): Limit=nil rather than point-max.
4817 (Man-mode-map): Move initialization into the declaration.
4818 (Man-strip-page-headers, Man-unindent): Use dolist & inhibit-read-only.
4819 (Man-view-header-file): Use expand-file-name rather than concat.
4820 (Man-notify-when-ready, Man-bgproc-sentinel): Use with-current-buffer.
4821
4822 * man.el (Man-next-section): Make sure we do not move backward.
4823
4824 2007-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4825
4826 * files.el (auto-mode-alist): Use the purecopied text (duh!).
4827
4828 2007-08-08 Glenn Morris <rgm@gnu.org>
4829
4830 * Replace `iff' in doc-strings and comments.
4831
4832 2007-08-08 Martin Rudalics <rudalics@gmx.at>
4833
4834 * dired.el (dired-pop-to-buffer):
4835 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
4836 * calendar/calendar.el (generate-calendar-window):
4837 * progmodes/compile.el (compilation-set-window-height):
4838 * textmodes/two-column.el (2C-two-columns, 2C-merge):
4839 Use window-full-width-p instead of comparing frame-width and
4840 window-width.
4841
4842 * progmodes/compile.el (compilation-find-buffer): Remove extra
4843 argument in call to compilation-buffer-internal-p.
4844
4845 2007-08-07 Tom Tromey <tromey@redhat.com>
4846
4847 * progmodes/tcl.el (tcl-indent-level, tcl-continued-indent-level):
4848 Add safe-local-variable property.
4849
4850 2007-08-07 Chong Yidong <cyd@stupidchicken.com>
4851
4852 * image-mode.el (image-toggle-display): Use image-refresh.
4853
4854 2007-08-07 Riccardo Murri <riccardo.murri@gmail.com>
4855
4856 * vc-bzr.el: Remove comments about vc-bzr.el being a modified
4857 unofficial version.
4858 (vc-bzr-command): Remove redundant setting of process-connection-type.
4859 (vc-bzr-admin-checkout-format-file): Add autoload.
4860 (vc-bzr-root-dir): Remove in favor of vc-bzr-root.
4861 (vc-bzr-root): Switch to implementation of vc-bzr-root-dir.
4862 (vc-bzr-registered): Compare dirstate format tag with known good
4863 value, abort parsing if match fails. Warn user in docstring.
4864 (vc-bzr-workfile-version): Case for different Bzr branch formats.
4865 See bzrlib/branch.py in Bzr sources.
4866 (vc-bzr-diff): First argument FILES may be a string rather than a list.
4867 (vc-bzr-shell-command): Remove in favor of
4868 vc-bzr-command-discarding-stderr.
4869 (vc-bzr-command-discarding-stderr): New function.
4870
4871 2007-08-06 Riccardo Murri <riccardo.murri@gmail.com>
4872
4873 * vc-bzr.el (vc-bzr-registered): Gracefully handle missing "bzr"
4874 program, and return nil.
4875 (vc-bzr-state): Gracefully handle missing "bzr" program, and return nil.
4876 (vc-bzr-state): Look for path names relative to the repository
4877 root after status keyword.
4878 (vc-bzr-file-name-relative): New function.
4879 (vc-bzr-admin-dirname): Reinstate, as other vc-bzr-admin-... paths
4880 depend on it.
4881 (vc-bzr-admin-dirname, ...-checkout-format-file)
4882 (...-branch-format-file, ...-revhistory): Paths to some Bzr internal
4883 files that we now parse directly for speed.
4884 (vc-bzr-root-dir): Use `vc-bzr-admin-checkout-format-file' as witness.
4885 (vc-bzr-registered): Only parse vc-bzr-admin-dirstate file if it exists.
4886 (vc-bzr-state): "bzr status" successful only if exitcode is 0.
4887 (vc-bzr-root): Use `vc-bzr-shell-command'. Stderr may contain
4888 Bzr warnings, so we must discard it.
4889 (vc-bzr-workfile-version): Speedup counting lines from
4890 `vc-bzr-admin-revhistory' file, but fallback to spawning "bzr revno"
4891 if that file doesn't exist.
4892 (vc-bzr-responsible-p): Use `vc-bzr-root' instead of
4893 `vc-bzr-root-dir' for speed. Add `vc-bzr-admin-dirname' (not ".bzr"!)
4894 to `vc-directory-exclusion-list'.
4895 (vc-bzr-shell-command): New function.
4896
4897 2007-08-06 Tom Tromey <tromey@redhat.com>
4898
4899 * diff-mode.el (diff-unified->context, diff-reverse-direction)
4900 (diff-fixup-modifs): Typo in docstring.
4901
4902 2007-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4903
4904 * emulation/tpu-edt.el (tpu-current-line): Use posn-at-point and
4905 count-screen-lines.
4906 (tpu-edt-off): Disable relevant pieces of advice.
4907
4908 * emulation/tpu-extras.el (tpu-before-save-hook): Rename from
4909 tpu-write-file-hook. Activate it with add-hook on buffer-save-hook.
4910 (newline, newline-and-indent, do-auto-fill): Use advice instead of
4911 redefining the function.
4912 (tpu-set-scroll-margins): Activate the pieces of advice.
4913
4914 2007-08-06 Martin Rudalics <rudalics@gmx.at>
4915
4916 * help.el (resize-temp-buffer-window): Use window-full-width-p
4917 instead of comparing frame-width and window-width.
4918
4919 2007-08-13 Stephen Leake <stephen_leake@stephe-leake.org>
4920
4921 * pcvs-parse.el (cvs-parse-table): Handle additional instance of
4922 optional quotes around files in NEED-UPDATE . REMOVED case.
4923
4924 * progmodes/ada-xref.el (ada-gnatls-args): Fix docstring.
4925 (ada-treat-cmd-string): Improve error message.
4926 (ada-do-file-completion): Call `ada-require-project-file', so
4927 project variables are set properly.
4928 (ada-prj-find-prj-file): Delete Emacs 20.2 support.
4929 (ada-gnatfind-buffer-name): New constant.
4930 (ada-find-any-references): Use new constant. Set buffer name
4931 properly in compilation-start. Toggle read-only properly.
4932 (ada-find-in-src-path): Fix spelling error in docstring.
4933
4934 * progmodes/vhdl-mode.el (vhdl-update-progress-info): Avoid divide
4935 by zero error.
4936
4937 2007-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4938
4939 * emacs-lisp/autoload.el (autoload-print-form): Use print-quoted.
4940
4941 2007-08-12 Richard Stallman <rms@gnu.org>
4942
4943 * progmodes/sh-script.el (sh): Delete group `unix'.
4944
4945 * progmodes/gud.el (gud): Change to group `processes'.
4946
4947 2007-08-11 Glenn Morris <rgm@gnu.org>
4948
4949 * progmodes/compile.el (compilation-buffer-name): Don't check
4950 compilation-arguments. It is superfluous, and the variable isn't
4951 even set when this function is called.
4952
4953 2007-08-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4954
4955 * term/mac-win.el (mac-ae-reopen-application): New function.
4956 (mac-apple-event-map): Bind "reopen application" Apple event to it.
4957
4958 2007-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4959
4960 * textmodes/tex-mode.el (tex-font-lock-unfontify-region): Fix to
4961 take tex-font-script-display into account.
4962 (tex-font-script-display, tex-font-lock-suscript): Change from a cons
4963 cell to a list of 2 elements to simplify the unfontify code.
4964
4965 2007-08-08 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4966
4967 * ps-print.el (ps-default-fg, ps-default-bg): Docstring fix.
4968 (ps-begin-job): Use ps-default-fg and ps-default-bg only when
4969 ps-print-color-p is neither nil nor black-white. Reported by Christian
4970 Schlauer <cs-muelleimer-rubbish.bin@arcor.de>.
4971
4972 2007-08-08 Andreas Schwab <schwab@suse.de>
4973
4974 * mail/mailabbrev.el (sendmail-pre-abbrev-expand-hook): Check for
4975 self-insert-command, not self-insert.
4976
4977 2007-08-08 Glenn Morris <rgm@gnu.org>
4978
4979 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string): Make second
4980 argument optional, for backwards compatibility, and only highlight
4981 args when present. Fix symbol name typo (doc/args).
4982
4983 * help-mode.el (help-make-xrefs): Search for symbol constituents,
4984 rather than just `-'.
4985
4986 2007-08-07 Jay Belanger <jay.p.belanger@gmail.com>
4987
4988 * calc/calc-units.el (calc-convert-temperature):
4989 Use `/' to create fractions.
4990
4991 2007-08-07 Michael Albinus <michael.albinus@gmx.de>
4992
4993 * net/tramp.el (tramp-wrong-passwd-regexp): Make the regexp more
4994 global matching.
4995 (tramp-handle-shell-command): Handle OUTPUT-BUFFER and
4996 ERROR-BUFFER more robust. Display output.
4997 (tramp-file-name-handler): Add a connection property when we found
4998 a foreign file name handler. This allows backends like ftp to
4999 profit also from usr/host name completion based on connection
5000 cache.
5001 (tramp-send-command-and-read): Search for trash after the regexp
5002 until eol only. In XEmacs, there is a problem with \n.
5003
5004 * net/tramp-cache.el (top): Read persistent connection history
5005 when cache is empty.
5006
5007 2007-08-07 Nic Ferrier <nferrier@tapsellferrier.co.uk> (tiny change)
5008
5009 * net/tramp.el (tramp-handle-process-file): Fix bug inserting
5010 resulting output.
5011
5012 2007-08-07 Sam Steingold <sds@gnu.org>
5013
5014 * progmodes/compile.el (compilation-start): Pass nil as startfile
5015 to comint-exec.
5016
5017 2007-08-07 Chong Yidong <cyd@stupidchicken.com>
5018
5019 * longlines.el (longlines-decoded): New variable.
5020 (longlines-mode): Avoid encoding or decoding the buffer twice.
5021
5022 2007-08-07 Martin Rudalics <rudalics@gmx.at>
5023
5024 * format.el (format-insert-file): Make sure that at most one undo
5025 entry is recorded for the insertion. Inhibit point-motion and
5026 modification hooks around call to insert-file-contents.
5027
5028 2007-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5029
5030 * vc.el (vc-annotate): Select temp-buffer before running vc-exec-after.
5031 Select the buffer's window before moving point.
5032
5033 2007-08-07 Richard Stallman <rms@gnu.org>
5034
5035 * term.el (term): Remove parent group `unix'.
5036
5037 * simple.el (default-indent-new-line): New function.
5038 It calls comment-line-break-function if there are comments.
5039 (do-auto-fill): Use that.
5040
5041 2007-08-07 Sean O'Rourke <sorourke@cs.ucsd.edu>
5042
5043 * complete.el (PC-lisp-complete-symbol): Complete symbol around point.
5044 (PC-do-completion): Add "acronym completion" for symbols and
5045 filenames, so e.g. "mvbl" expands to "make-variable-buffer-local".
5046
5047 2007-08-06 Sam Steingold <sds@gnu.org>
5048
5049 * mouse.el (mouse-buffer-menu): Pass mode-name through
5050 format-mode-line because it may be a list,
5051 e.g., (sgml-xml-mode "XML" "SGML"), and not a string.
5052
5053 2007-08-06 Vinicius Jose Latorre <viniciusig@ig.com.br>
5054
5055 * printing.el (pr-update-menus): Docstring fix.
5056
5057 2007-08-06 Jason Rumney <jasonr@gnu.org>
5058
5059 * menu-bar.el (menu-bar-vc-filter): Use vc-call-backend.
5060
5061 * vc-hooks.el (vc-call): Add doc string.
5062
5063 2007-08-06 Michael Albinus <michael.albinus@gmx.de>
5064
5065 * net/ange-ftp.el (ange-ftp-hook-function): Catch also errors in
5066 process-filter.
5067
5068 2007-08-06 Kenichi Handa <handa@m17n.org>
5069
5070 * international/quail.el: Wrap (require 'help-mode) by
5071 eval-when-compile.
5072 (quail-help-init): New function.
5073 (quail-help): Call quail-help-init.
5074 (quail-store-decode-map-key): Change it to a function.
5075
5076 2007-08-05 Jason Rumney <jasonr@gnu.org>
5077
5078 * vc.el (vc-rollback): Add norevert argument back.
5079 (vc-revert-buffer): Add back as obsolete alias.
5080
5081 2007-08-05 Peter Povinec <ppovinec@yahoo.com> (tiny change)
5082
5083 * term.el: Honor term-default-fg-color and term-default-bg-color
5084 settings when modifying term-current-face.
5085 (term-default-fg-color, term-default-bg-color): Initialize from
5086 default term-current-face.
5087 (term-mode, term-reset-terminal): Set term-current-face with
5088 term-default-fg-color and term-default-bg-color.
5089 (term-handle-colors-array): term-current-face has term-default-fg-color
5090 and term-default-bg-color after reset escape sequence.
5091 (term-handle-colors-array): Set term-current-color with
5092 term-default-fg/bg-color instead of ansi-term-color-vector when the
5093 index (term-ansi-current-color or term-ansi-current-bg-color) is zero.
5094
5095 2007-08-05 Jay Belanger <jay.p.belanger@gmail.com>
5096
5097 * calc/calc-nlfit.el (math-nlfit-curve): Remove unnecessary variables.
5098 (math-nlfit-givens): Let bind free variables.
5099
5100 2007-08-05 Vinicius Jose Latorre <viniciusig@ig.com.br>
5101
5102 * printing.el: Require lpr and ps-print when loading printing package.
5103 Reported by Glenn Morris <rgm@gnu.org>.
5104
5105 2007-08-05 Michael Albinus <michael.albinus@gmx.de>
5106
5107 * files.el (set-auto-mode): Handle also remote files wrt
5108 `auto-mode-alist'.
5109
5110 2007-08-04 Jay Belanger <jay.p.belanger@gmail.com>
5111
5112 * calc/calcalg3.el (calc-curve-fit): Add support for nonlinear
5113 curves and plotting.
5114
5115 * calc/calc-nlfit.el: New file.
5116
5117 2007-08-04 Glenn Morris <rgm@gnu.org>
5118
5119 * autorevert.el (auto-revert-tail-mode): auto-revert-tail-pos is
5120 zero, not nil, when the library is first loaded. Check for a file
5121 that has been modified on disk.
5122
5123 * progmodes/cperl-mode.el (cperl-compilation-error-regexp-alist):
5124 Remove duplicate defvar preventing initialization.
5125 (cperl-mode): Fix compilation-error-regexp-alist-alist setting.
5126
5127 2007-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5128
5129 * diff-mode.el (diff-font-lock-keywords): Fix up false positives.
5130 (diff-beginning-of-file): Adjust to the fact that diff-file-header-re
5131 may match up to 4 lines.
5132 (diff-beginning-of-file-and-junk): Rewrite.
5133
5134 2007-08-03 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5135
5136 * printing.el: Evaluate require only during compilation.
5137 (pr-version): New version 6.9.1.
5138 (deactivate-mark): Replace (defvar VAR nil) by (defvar VAR).
5139 (pr-global-menubar): Fix code.
5140
5141 2007-08-03 Dan Nicolaescu <dann@ics.uci.edu>
5142
5143 * term.el (term-erase-in-display): Fix case when point is not at
5144 the beginning of the line.
5145
5146 2007-08-03 Jay Belanger <jay.p.belanger@gmail.com>
5147
5148 * calc/calc-ext.el (math-get-value, math-get-sdev)
5149 (math-contains-sdev): New functions.
5150
5151 * calc/calc-graph.el (calc-graph-format-data)
5152 (calc-graph-add-curve): Check for error forms.
5153 (calc-graph-set-styles): Add option for error forms.
5154
5155 2007-08-03 Miles Bader <miles@gnu.org>
5156
5157 * vc-hooks.el (vc-handled-backends): Change capitalization of VC
5158 backend names for new backends to `Git', `Hg', and `Bzr'.
5159 * vc-hg.el (vc-hg-dired-state-info): Use `Hg' as VC backend name,
5160 not `HG'.
5161 * vc-git.el (vc-git-dired-state-info): Use `Git' as VC backend
5162 name, not `GIT'.
5163 * vc-bzr.el (vc-bzr-dir-state, vc-bzr-dired-state-info)
5164 (vc-bzr-unload-hook): Use `Bzr' as VC backend name, not `BZR'.
5165
5166 2007-08-03 Richard Stallman <rms@gnu.org>
5167
5168 * mail/rmailsum.el (rmail-make-summary-line): Find end of msg number
5169 to update deleted flag.
5170
5171 * cus-edit.el (customize-apropos, customize-apropos-options)
5172 (customize-apropos-faces, customize-apropos-groups): Improve prompt.
5173
5174 * menu-bar.el (menu-bar-help-menu): Add "About GNU" menu item.
5175
5176 * startup.el (fancy-splash-head, startup-echo-area-message):
5177 Change message text.
5178
5179 * emulation/tpu-edt.el (next-line-internal): Setting deleted.
5180 All callers use line-move.
5181
5182 * progmodes/compile.el (compilation-find-buffer): Return current
5183 buffer immediately if suitable.
5184 (compile, compilation-buffer-name, compilation-start): Doc fixes.
5185
5186 2007-08-03 Daiki Ueno <ueno@unixuser.org>
5187
5188 * faces.el (face-normalize-spec): New function.
5189 (frame-set-background-mode): Normalize face-spec before calling
5190 face-spec-match-p.
5191
5192 2007-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5193
5194 * server.el (server-window): Add switch-to-buffer-other-frame option.
5195
5196 2007-08-03 Glenn Morris <rgm@gnu.org>
5197
5198 * cus-edit.el (customize-apropos): Make the error message indicate
5199 what kind of thing the user was trying to customize.
5200
5201 * net/telnet.el (telnet-mode): Set comint-use-prompt-regexp to t.
5202
5203 * progmodes/fortran.el (fortran-font-lock-syntactic-keywords):
5204 Fix off-by-one error in previous change.
5205
5206 2007-08-03 Drew Adams <drew.adams@oracle.com>
5207
5208 * emacs-lisp/pp.el (pp-eval-expression): Add progress message.
5209 Make buffer writable.
5210
5211 2007-08-01 Jay Belanger <jay.p.belanger@gmail.com>
5212
5213 * calc/calc-math.el (math-sqrt-raw, math-sin-raw-2)
5214 (math-cos-raw-2, math-arctan-raw, math-ln-raw):
5215 Use native Emacs functions, when appropriate.
5216
5217 2007-08-01 Dan Nicolaescu <dann@ics.uci.edu>
5218 Stefan Monnier <monnier@iro.umontreal.ca>
5219
5220 * vc.el: Document new VC operation `extra-menu'.
5221
5222 * vc-hooks.el (vc-default-extra-menu): New function.
5223
5224 * menu-bar.el (menu-bar-vc-filter): New function.
5225 (menu-bar-tools-menu): Use it as a filter.
5226
5227 2007-08-01 Eric Hanchrow <offby1@blarg.net> (tiny change)
5228
5229 * ibuf-ext.el (ibuffer-mark-old-buffers): Docstring fix.
5230
5231 2007-08-01 Glenn Morris <rgm@gnu.org>
5232
5233 * progmodes/fortran.el: Remove leading `*' from all defcustom doc
5234 strings.
5235 (fortran-tab-mode-default): Remove needless autoload.
5236 (fortran-tab-mode-string): Add help-echo and mouse properties, and
5237 mark as risky.
5238 (fortran-line-length): New buffer-local variable, safe if integer.
5239 (fortran-if-start-re, fortran-end-prog-re1, fortran-end-prog-re):
5240 Change from variables to constants.
5241 (fortran-font-lock-syntactic-keywords): Delete as a variable,
5242 replace with a new function definition.
5243 (fortran-mode): Use fortran-line-length, and
5244 fortran-font-lock-syntactic-keywords as a function. Add a
5245 hack-local-variables-hook function.
5246 (fortran-line-length, fortran-hack-local-variables): New functions.
5247 (fortran-window-create, fortran-strip-sequence-nos): Doc fix.
5248 Use fortran-line-length rather than 72.
5249 (fortran-window-create-momentarily): Doc fix.
5250
5251 2007-07-31 Drew Adams <drew.adams@oracle.com> (tiny change)
5252
5253 * cus-edit.el (custom-group-value-create, custom-goto-parent):
5254 Fix parent groups link.
5255
5256 2007-07-31 Paul Pogonyshev <pogonyshev@gmx.net>
5257
5258 * progmodes/python.el (python-current-defun): Adjust to never fall
5259 into infinite loop.
5260
5261 2007-07-31 Stefan Monnier <monnier@iro.umontreal.ca>
5262
5263 * pcvs.el (cvs-vc-command-advice): Handle the new fileset case.
5264
5265 2007-07-29 Kimit Yada <kimitto@gmail.com> (tiny change)
5266
5267 * emacs-lisp/copyright.el (copyright-update-year, copyright-update)
5268 (copyright-fix-years, copyright): Correctly handle the case where
5269 copyright-limit is nil.
5270
5271 2007-07-28 Konstantin Novitsky <knovitsk@Bear.com> (tiny change)
5272
5273 * progmodes/python.el (run-python): Fix path separator under w32.
5274
5275 2007-07-30 Richard Stallman <rms@gnu.org>
5276
5277 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
5278 Treat non-break space as whitespace in Lisp.
5279
5280 2007-07-30 Stefan Monnier <monnier@iro.umontreal.ca>
5281
5282 * vc.el (vc-dired-hook): Use inhibit-read-only.
5283
5284 * progmodes/compile.el (compilation-forget-errors):
5285 Reset compilation-auto-jump-to-next.
5286
5287 2007-07-30 Michael Olson <mwolson@gnu.org>
5288
5289 * cus-edit.el (custom-group-save): Fix void function definition
5290 error. Thanks to Zhang Wei for the report.
5291
5292 * ps-print.el: Check in trivial changes to the autoloads section
5293 caused by the build process. These autoloads really ought to be
5294 placed in a separate file, methinks.
5295
5296 2007-07-29 Stefan Monnier <monnier@iro.umontreal.ca>
5297
5298 * calendar/calendar.el (calendar-mode): Make sure
5299 displayed-(month|year) are set.
5300 (calendar-basic-setup): Display buffer before adjusting window sizes.
5301 (generate-calendar-window): Use inhibit-read-only. Simplify.
5302 Generate buffer and set displayed-month and displayed-year before
5303 calling update-calendar-mode-line.
5304
5305 2007-07-29 Michael Albinus <michael.albinus@gmx.de>
5306
5307 * net/tramp.el:
5308 * net/tramp-uu.el:
5309 * net/trampver.el: Use utf-8 encoding with coding cookie.
5310
5311 * net/tramp-cache.el:
5312 * net/tramp-fish.el:
5313 * net/tramp-ftp.el:
5314 * net/tramp-gw.el:
5315 * net/tramp-smb.el: Remove coding cookie.
5316
5317 * net/tramp.el (tramp-handle-verify-visited-file-modtime):
5318 Flush buffer file-name's file property.
5319 (tramp-handle-file-remote-p): The first parameter is FILENAME.
5320
5321 * net/trampver.el: Update release number.
5322
5323 2007-07-29 Juri Linkov <juri@jurta.org>
5324
5325 * dired.el (dired-mode-map): Bind C-x C-q to dired-toggle-read-only.
5326 Filter out menu item "Edit File Names" `wdired-change-to-wdired-mode'
5327 when major-mode is not dired-mode.
5328 (dired-toggle-read-only): New function.
5329 (dired-recursive-deletes): Remove obsolete comments about old
5330 default value.
5331 (dired-do-flagged-delete, dired-do-delete): Refill docstring.
5332
5333 * wdired.el (wdired-exit): New function.
5334 (wdired-mode-map): Bind C-x C-q to wdired-exit.
5335
5336 2007-07-28 Stefan Monnier <monnier@iro.umontreal.ca>
5337
5338 * cus-edit.el (customize-read-group): New fun.
5339 (customize-group-other-window, customize-face-other-window):
5340 Prompt before delegating to customize-(group|face).
5341 Bind pop-up-windows rather than use the other-window argument.
5342 (customize-group, customize-face): Prompt from the interactive spec.
5343 Remove args `prompt-for-group' and `other-window'.
5344
5345 * emacs-lisp/advice.el (ad-interactive-form): Re-introduce.
5346 (ad-body-forms, ad-advised-interactive-form): Revert this part of
5347 last change.
5348
5349 2007-07-28 Masatake YAMATO <jet@gyve.org>
5350
5351 * vc.el (vc-dired-mode): Add a menu for VC related operation.
5352 Use backend name as the menu label. Suggested by David Kastrup.
5353
5354 2007-07-28 Alan Mackenzie <acm@muc.de>
5355
5356 Fix problem with modes derived from CC Mode:
5357 * progmodes/cc-mode.el (c-make-emacs-variables-local): Move this
5358 macro to cc-langs.
5359 (c-init-language-vars-for): Remove call to above macro.
5360 * progmodes/cc-langs.el (c-make-emacs-variables-local): Macro has
5361 been moved to here.
5362 (c-make-init-lang-vars-fun): Call c-make-emacs-variables-local.
5363
5364 2007-07-28 Eli Zaretskii <eliz@gnu.org>
5365
5366 * net/trampver.el: Fix the `coding' cookie.
5367
5368 2007-07-28 Dan Nicolaescu <dann@ics.uci.edu>
5369
5370 * vc-git.el (vc-git-print-log): Support both the old single file
5371 interface and the new one.
5372
5373 2007-07-28 Nick Roberts <nickrob@snap.net.nz>
5374
5375 * bindings.el (mode-line-remote): Use updated %@ construct.
5376
5377 2007-07-27 Stefan Monnier <monnier@iro.umontreal.ca>
5378
5379 * calendar/cal-bahai.el (calendar-bahai-month-name-array)
5380 (calendar-bahai-epoch, calendar-bahai-leap-year-p)
5381 (calendar-bahai-leap-base, calendar-bahai-prompt-for-date)
5382 (diary-list-bahai-entries, diary-bahai-mark-entries)
5383 (calendar-bahai-mark-date-pattern, diary-insert-bahai-entry)
5384 (diary-bahai-insert-monthly-entry, diary-bahai-insert-yearly-entry):
5385 New names to clean up namespace.
5386 (list-bahai-diary-entries, mark-bahai-diary-entries)
5387 (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
5388 (insert-yearly-bahai-diary-entry, mark-bahai-calendar-date-pattern):
5389 Add compatibility aliases.
5390
5391 * calendar/appt.el: Don't wrap defvar within eval-when-compile.
5392
5393 * calendar/cal-move.el (calendar-scroll-left, calendar-scroll-right)
5394 (calendar-scroll-left-three-months)
5395 (calendar-scroll-right-three-months): Clean up namespace.
5396 (scroll-calendar-left, scroll-calendar-right)
5397 (scroll-calendar-left-three-months)
5398 (scroll-calendar-right-three-months): Add compatibility aliases.
5399
5400 * calendar/cal-move.el (calendar-scroll-left, calendar-scroll-right):
5401 Behave like mouse-scroll-calendar-* when used from the mouse.
5402
5403 * calendar/cal-menu.el (cal-menu-scroll-menu)
5404 (cal-menu-global-mouse-menu):
5405 * calendar/calendar.el (calendar-mode-map):
5406 Use new calendar-scroll-* names.
5407 (mouse-scroll-calendar-left, mouse-scroll-calendar-right):
5408 Remove. Use calendar-scroll-* directly instead.
5409
5410 2007-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5411
5412 * emacs-lisp/advice.el (ad-interactive-p, ad-interactive-form): Remove.
5413 (ad-body-forms, ad-advised-interactive-form, ad-make-cache-id)
5414 (ad-make-advised-definition, ad-cache-id-verification-code):
5415 Use commandp and interactive-form instead.
5416
5417 2007-07-26 Dan Nicolaescu <dann@ics.uci.edu>
5418
5419 * vc-git.el: Relicense to GPLv3 or later.
5420 (vc-directory-exclusion-list, vc-handled-backends): Remove.
5421
5422 * vc-hooks.el (vc-handled-backends): Add GIT.
5423
5424 * vc.el (vc-directory-exclusion-list): Add .git.
5425
5426 2007-07-26 Alexandre Julliard <julliard@winehq.org>
5427
5428 * vc-git.el (vc-git-revision-table)
5429 (vc-git-revision-completion-table): New functions.
5430
5431 2007-07-26 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5432
5433 * progmodes/ebnf-abn.el (ebnf-abn-skip-comment):
5434 * progmodes/ebnf-bnf.el (ebnf-bnf-skip-comment):
5435 * progmodes/ebnf-dtd.el (ebnf-dtd-skip-comment):
5436 * progmodes/ebnf-ebx.el (ebnf-ebx-skip-comment):
5437 * progmodes/ebnf-iso.el (ebnf-iso-skip-comment):
5438 * progmodes/ebnf-yac.el (ebnf-yac-skip-comment): New version.
5439 New command actions for EPS header and EPS footer.
5440
5441 * progmodes/ebnf2ps.el: New command actions for EPS header and EPS
5442 footer. Fix some problems with one-or-more, zero-or-more and
5443 alternative constructions generation. Some log messages
5444 implementation. Doc fix.
5445 (ebnf-version): New version 4.4.
5446 (ebnf-eps-header-font, ebnf-eps-header, ebnf-eps-footer-font)
5447 (ebnf-eps-footer, ebnf-log): New options.
5448 (ebnf-find-style, ebnf-eps-header-footer, ebnf-eps-header)
5449 (ebnf-eps-footer, ebnf-eps-string, ebnf-eps-header-footer-comment)
5450 (ebnf-eps-header-footer-p, ebnf-eps-header-comment)
5451 (ebnf-eps-footer-comment, ebnf-eps-header-footer-file)
5452 (ebnf-eps-header-footer-set, ebnf-log-header, ebnf-log): New funs.
5453 (ebnf-style-custom-list, ebnf-style-database): Put new values.
5454 (ebnf-print-directory, ebnf-print-file, ebnf-print-buffer)
5455 (ebnf-print-region, ebnf-spool-directory, ebnf-spool-file)
5456 (ebnf-spool-buffer, ebnf-spool-region, ebnf-eps-directory)
5457 (ebnf-eps-file, ebnf-eps-buffer, ebnf-eps-region)
5458 (ebnf-syntax-directory, ebnf-syntax-file, ebnf-syntax-buffer)
5459 (ebnf-syntax-region, ebnf-parse-and-sort, ebnf-begin-job)
5460 (ebnf-dimensions, ebnf-production-dimension, ebnf-terminal-dimension)
5461 (ebnf-non-terminal-dimension, ebnf-special-dimension)
5462 (ebnf-terminal-dimension1, ebnf-repeat-dimension)
5463 (ebnf-except-dimension, ebnf-alternative-dimension)
5464 (ebnf-optional-dimension, ebnf-one-or-more-dimension)
5465 (ebnf-zero-or-more-dimension, ebnf-sequence-dimension): Insert log
5466 message fun.
5467 (ebnf-setup, ebnf-generate-one-or-more, ebnf-generate-zero-or-more)
5468 (ebnf-begin-job, ebnf-begin-file, ebnf-eps-finish-and-write)
5469 (ebnf-insert-ebnf-prologue, ebnf-production-dimension)
5470 (ebnf-terminal-dimension1, ebnf-alternative-dimension)
5471 (ebnf-one-or-more-dimension, ebnf-zero-or-more-dimension)
5472 (ebnf-eps-add-context, ebnf-eps-add-production): Fix code.
5473 (ebnf-eps-filename, ebnf-trim-right): Replace `?\s' by `?\ ' to keep
5474 compatibility with Emacs 20 & 21.
5475 (ebnf-eps-header-comment, ebnf-eps-footer-comment)
5476 (ebnf-eps-file-alist, ebnf-basic-width-extra)
5477 (ebnf-basic-empty-height): New vars.
5478 (ebnf-prologue): Fix PostScript code.
5479 (ebnf-make-empty, ebnf-make-terminal1, ebnf-make-or-more1)
5480 (ebnf-make-production, ebnf-make-alternative, ebnf-make-optional)
5481 (ebnf-make-except, ebnf-make-repeat, ebnf-make-sequence)
5482 (ebnf-make-dup-sequence, ebnf-token-alternative): Add comments.
5483
5484 2007-07-25 Glenn Morris <rgm@gnu.org>
5485
5486 * Relicense all FSF files to GPLv3 or later.
5487
5488 * COPYING: Switch to GPLv3.
5489
5490 2007-07-25 Stefan Monnier <monnier@iro.umontreal.ca>
5491
5492 * pcvs.el (cvs-temp-buffer): Undo last ill-conceived change.
5493 Replace it with another one which disables undo before calling
5494 erase-buffer and then turns it back on if needed.
5495
5496 2007-07-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5497
5498 * ps-print.el: Problem with foreground and background color when
5499 printing a buffer with and without faces. Reported by Christian
5500 Schlauer <cs-muelleimer-rubbish.bin@arcor.de>.
5501 (ps-print-version): New version 6.7.5.
5502 (ps-default-fg): Change default value to nil, so black color is used
5503 when a face does not specify a foreground color.
5504 (ps-default-bg): Change default value to nil, so white color is used
5505 for background color.
5506 (ps-begin-job): Fix code.
5507
5508 2007-07-24 Dan Nicolaescu <dann@ics.uci.edu>
5509
5510 * vc-hg.el (vc-hg-revision-completion-table): Temporarily comment out.
5511
5512 2007-07-24 Glenn Morris <rgm@gnu.org>
5513
5514 * calendar/cal-tex.el (cal-tex-holidays, cal-tex-diary)
5515 (cal-tex-rules, cal-tex-buffer, cal-tex-24)
5516 (cal-tex-cursor-month-landscape, cal-tex-cursor-month)
5517 (cal-tex-cursor-week, cal-tex-cursor-week2)
5518 (cal-tex-cursor-week-iso, cal-tex-week-hours)
5519 (cal-tex-cursor-week-monday, cal-tex-weekly4-box)
5520 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5521 (cal-tex-cursor-filofax-daily, cal-tex-daily-page): Doc fix.
5522
5523 2007-07-25 Stefan Monnier <monnier@iro.umontreal.ca>
5524
5525 * calendar/calendar.el (calendar-mode-map): Move initialization
5526 into declaration. Add menu bindings (used to be done in cal-menu).
5527 (calendar-mode): Don't add an activate-menubar-hook.
5528
5529 * calendar/cal-menu.el: Break dependency on calendar.el (i.e. do not
5530 modify calendar-mode-map), use easy-menu, and make sure that C-h k
5531 can be used on the menu entries.
5532 (cal-menu-holiday-window-suffix, cal-menu-set-date-title): New funs.
5533 (cal-menu-moon-menu, cal-menu-diary-menu, cal-menu-holidays-menu)
5534 (cal-menu-goto-menu, cal-menu-scroll-menu): New consts.
5535 (cal-menu-context-mouse-menu, cal-menu-global-mouse-menu): New menus.
5536 (calendar-flatten, cal-menu-update): Remove.
5537 (calendar-mouse-insert-hebrew-diary-entry)
5538 (calendar-mouse-insert-islamic-diary-entry)
5539 (calendar-mouse-insert-bahai-diary-entry):
5540 Remove (fold into cal-menu-diary-menu).
5541 (calendar-mouse-2-date-menu, calendar-mouse-cal-tex-menu)
5542 (cal-tex-mouse-filofax): Remove (fold into cal-menu-context-mouse-menu).
5543 (calendar-mouse-3-map): Remove (turn into cal-menu-global-mouse-menu).
5544 (calendar-mouse-view-diary-entries): Minor simplifications.
5545 (calendar-event-to-date): Use with-current-buffer.
5546
5547 2007-07-25 Nick Roberts <nickrob@snap.net.nz>
5548
5549 * add-log.el (change-log-redate): Remove (not needed anymore and
5550 doesn't appear to work).
5551
5552 2007-07-25 Stefan Monnier <monnier@iro.umontreal.ca>
5553
5554 * frame.el: Use mapc and dolist instead of mapcar where possible.
5555 (close-display-connection): New command.
5556
5557 2007-07-25 Alexandre Julliard <julliard@winehq.org>
5558
5559 * vc-git.el (vc-git-log-view-mode): Port to the multi-file vc interface.
5560 (vc-git-create-snapshot, vc-git-retrieve-snapshot): New functions.
5561
5562 2007-07-25 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5563
5564 * ps-print.el (ps-multibyte-buffer): Docstring fix.
5565
5566 * ps-mule.el: Doc fix.
5567 (ps-multibyte-buffer, ps-mule-font-info-database-default)
5568 (ps-mule-external-libraries, ps-mule-begin-job): Docstring fix.
5569
5570 2007-07-25 Glenn Morris <rgm@gnu.org>
5571
5572 * calendar/cal-tex.el (cal-tex-which-days, cal-tex-holidays)
5573 (cal-tex-diary, cal-tex-daily-string, cal-tex-daily-start)
5574 (cal-tex-daily-end, cal-tex-hook)
5575 (cal-tex-cal-one-month, cal-tex-cal-multi-month)
5576 (cal-tex-year, cal-tex-cursor-week, cal-tex-cursor-week2)
5577 (cal-tex-cursor-week-iso, cal-tex-week-hours)
5578 (cal-tex-cursor-week-monday, cal-tex-weekly4-box)
5579 (cal-tex-cursor-day, cal-tex-insert-preamble): Doc fix.
5580 (cal-tex-day-prefix, cal-tex-day-name-format)
5581 (cal-tex-cal-one-month, cal-tex-cal-multi-month, cal-tex-myday)
5582 (cal-tex-caldate, cal-tex-LaTeX-hourbox)
5583 (cal-tex-LaTeX-subst-list): Change from variables to constants.
5584 (cal-tex-preamble, cal-tex-arg, cal-tex-nl): Simplify with `format'.
5585 (cal-tex-cursor-filofax-year, cal-tex-weekly4-box): Use \textbf,
5586 etc, rather than \bf.
5587 (cal-tex-mini-calendar): Fix typos in previous change.
5588 (cal-tex-latexify-list): Remove inner let binding.
5589 (cal-tex-end-document, cal-tex-banner): Use multi-line
5590 cal-tex-comment.
5591 (cal-tex-comment): Handle embedded newlines.
5592 (cal-tex-LaTeXify-string): Use substring-no-properties.
5593
5594 2007-07-25 Joakim Verona <joakim@verona.se> (tiny change)
5595
5596 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5597 Add support for the Maden build tool.
5598
5599 2007-07-25 William Xu <william.xwl@gmail.com> (tiny change)
5600
5601 * net/webjump.el (webjump-url-encode): Fix for non-ASCII characters.
5602
5603 2007-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5604
5605 * pcvs.el (cvs-temp-buffer): Disable undo in temp buffers.
5606
5607 2007-07-24 Dan Nicolaescu <dann@ics.uci.edu>
5608
5609 * dired.el (dired-mode-map): Bind wdired-change-to-wdired-mode to
5610 C-x C-q.
5611
5612 * vc-git.el (vc-git-print-log): Fix previous change.
5613
5614 2007-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5615
5616 * window.el (save-selected-window): Minor optimization.
5617 (bw-adjust-window): If operation failed, try with a smaller delta.
5618 (window-fixed-size-p): New function.
5619 (window-area-factor): New var.
5620 (balance-windows-area): New command.
5621
5622 * ps-mule.el (ps-multibyte-buffer): Docstring fixes.
5623 (ps-mule-encode-ethiopic): Make it clear that it's always defined.
5624 (ps-mule-prepare-font-for-components, ps-mule-encode-header-string)
5625 (ps-mule-encode-bit, ps-mule-encode-ucs2): Use dotimes.
5626 (ps-mule-begin-job): Use dolist.
5627
5628 2007-07-24 Michael Albinus <michael.albinus@gmx.de>
5629
5630 * subr.el (start-file-process-shell-command)
5631 (process-file-shell-command): New defuns.
5632
5633 * progmodes/compile.el (compilation-start):
5634 Apply `start-file-process-shell-command'.
5635
5636 2007-07-24 Alexandre Julliard <julliard@winehq.org>
5637
5638 * vc-git.el (vc-git-checkout, vc-directory-exclusion-list): Fix typos.
5639
5640 2007-07-24 Alan Mackenzie <acm@muc.de>
5641
5642 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
5643 Initialise byte-compile-unresolved-functions before rather than
5644 after a compilation.
5645 (byte-compile-unresolved-functions): Amplify doc string.
5646
5647 2007-07-24 Glenn Morris <rgm@gnu.org>
5648
5649 * startup.el (normal-splash-screen): Use `emacs-copyright'.
5650
5651 * calendar/cal-tex.el (cal-tex-holidays, cal-tex-diary)
5652 (cal-tex-rules, cal-tex-buffer, cal-tex-24)
5653 (cal-tex-cursor-month-landscape, cal-tex-cursor-month)
5654 (cal-tex-cursor-week, cal-tex-cursor-week2)
5655 (cal-tex-cursor-week-iso, cal-tex-week-hours)
5656 (cal-tex-cursor-week-monday, cal-tex-weekly4-box)
5657 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5658 (cal-tex-cursor-filofax-daily, cal-tex-daily-page): Doc fix.
5659
5660 * calendar/cal-tex.el: Remove leading `*' from defcustom docs.
5661 (cal-tex-daily-string, cal-tex-daily-start, cal-tex-daily-end)
5662 (cal-tex-day-name-format, cal-tex-cal-one-month)
5663 (cal-tex-cal-multi-month, cal-tex-myday, cal-tex-preamble)
5664 (cal-tex-comment, cal-tex-nl, cal-tex-cmd, cal-tex-e-parbox)
5665 (cal-tex-mini-calendar, cal-tex-em): Doc fix.
5666 (cal-tex-list-holidays, cal-tex-cursor-year)
5667 (cal-tex-cursor-year-landscape, cal-tex-year)
5668 (cal-tex-cursor-filofax-year, cal-tex-cursor-month-landscape)
5669 (cal-tex-cursor-month, cal-tex-insert-days)
5670 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
5671 (cal-tex-first-blank-p, cal-tex-cursor-week)
5672 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
5673 (cal-tex-week-hours, cal-tex-cursor-week-monday)
5674 (cal-tex-weekly4-box, cal-tex-cursor-filofax-2week)
5675 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily)
5676 (cal-tex-cursor-day, cal-tex-daily-page, cal-tex-mini-calendar)
5677 (cal-tex-latexify-list, cal-tex-previous-month)
5678 (cal-tex-next-month, cal-tex-insert-preamble): General tidy-up and
5679 modernization, including using dotimes rather than
5680 calendar-for-loop.
5681 (cal-tex-LaTeX-subst-list): Remove `@'.
5682 (cal-tex-em, cal-tex-bf, cal-tex-Huge-bf, cal-tex-large-bf):
5683 Use \textit and \textbf rather than \em and \it.
5684
5685 * calendar/cal-bahai.el (list-bahai-diary-entries)
5686 * calendar/cal-hebrew.el (list-hebrew-diary-entries)
5687 * calendar/cal-islam.el (list-islamic-diary-entries)
5688 * calendar/calendar.el (generate-calendar, generate-calendar-month)
5689 * calendar/diary-lib.el (diary-list-entries)
5690 (mark-calendar-date-pattern): Use `dotimes' rather than
5691 `calendar-for-loop'.
5692
5693 * calendar/calendar.el (calendar-for-loop): Doc fix.
5694
5695 2007-07-23 Stefan Monnier <monnier@iro.umontreal.ca>
5696
5697 * ses.el (ses-cleanup): Prevent Emacs from spuriously checking if the
5698 underlying file is uptodate.
5699
5700 2007-07-23 Christopher J. Madsen <cjm@cjmweb.net>
5701
5702 * replace.el (perform-replace): Use isearch-no-upper-case-p.
5703
5704 2007-07-23 Stefan Monnier <monnier@iro.umontreal.ca>
5705
5706 * vc-hooks.el (vc-mode-line-map): New const.
5707 (vc-mode-line): Use it.
5708
5709 2007-07-23 Alexandre Julliard <julliard@winehq.org>
5710
5711 * vc-git.el (vc-git-delete-file, vc-git-rename-file)
5712 (vc-git-unregister): New functions.
5713 (vc-git-find-version): Use the result of ls-files as a parameter
5714 for cat-file.
5715
5716 2007-07-23 Michael Albinus <michael.albinus@gmx.de>
5717
5718 * net/tramp.el (tramp-perl-file-attributes)
5719 (tramp-perl-directory-files-and-attributes)
5720 (tramp-handle-file-attributes-with-stat)
5721 (tramp-handle-directory-files-and-attributes-with-stat)
5722 (tramp-convert-file-attributes): Handle huge file sizes.
5723
5724 2007-07-23 Juri Linkov <juri@jurta.org>
5725
5726 * isearch.el (isearch-message-function): New variable.
5727 (isearch-update, isearch-search): Use it.
5728
5729 * simple.el (goto-history-element): New function created from
5730 next-history-element.
5731 (next-history-element): Most code moved to goto-history-element.
5732 Call goto-history-element with (- minibuffer-history-position n).
5733 (previous-history-element): Call goto-history-element with (+
5734 minibuffer-history-position n).
5735 (minibuffer-setup-hook): Add minibuffer-history-isearch-setup.
5736 (minibuffer-history-isearch-message-overlay): New buffer-local variable.
5737 (minibuffer-history-isearch-setup, minibuffer-history-isearch-end)
5738 (minibuffer-history-isearch-search, minibuffer-history-isearch-message)
5739 (minibuffer-history-isearch-wrap, minibuffer-history-isearch-push-state)
5740 (minibuffer-history-isearch-pop-state): New functions.
5741
5742 2007-07-23 Thien-Thi Nguyen <ttn@gnuvola.org>
5743
5744 * vc-hooks.el (vc-stay-local-p): Fix bug: Avoid remove-if-not.
5745 Also, if FILE is a list, return non-nil if any of its elements
5746 should stay local. Update docstring.
5747
5748 2007-07-23 Stefan Monnier <monnier@iro.umontreal.ca>
5749
5750 * emacs-lisp/copyright.el (copyright-update-year): Fix 2007-05-25
5751 change by reverting a small part.
5752
5753 2007-07-23 Richard Stallman <rms@gnu.org>
5754
5755 * progmodes/octave-inf.el (inferior-octave-prompt): Accept .exe.
5756
5757 2007-07-23 Dan Nicolaescu <dann@ics.uci.edu>
5758
5759 * vc-git.el (vc-git-checkin): Delete unused parameter and the code
5760 handling it. Use vc-git-command.
5761 (vc-git-find-version, vc-git-diff-tree): New functions.
5762 (vc-git-revert): Use vc-git-command.
5763 (vc-git--run-command): Delete.
5764
5765 2007-07-23 Alexandre Julliard <julliard@winehq.org>
5766
5767 * vc-git.el (vc-git-workfile-unchanged-p): Update comment.
5768
5769 2007-07-20 Kenichi Handa <handa@m17n.org>
5770
5771 * international/utf-8.el (utf-8-post-read-conversion):
5772 Temporarily bind utf-8-compose-scripts to nil while running
5773 *-compose-region functions.
5774
5775 2007-07-23 Dan Nicolaescu <dann@ics.uci.edu>
5776
5777 * vc-git.el: Update status.
5778 (vc-directory-exclusion-list): Use eval-after-load.
5779
5780 2007-07-22 Nick Roberts <nickrob@snap.net.nz>
5781
5782 * bindings.el (mode-line-remote): New variable.
5783 (help-echo): Add to default values of mode-line-format.
5784
5785 * files.el: Mark mode-line-remote as risky.
5786
5787 2007-07-22 Juri Linkov <juri@jurta.org>
5788
5789 * isearch.el (isearch-edit-string): Save old point and
5790 isearch-other-end to old-point and old-other-end before reading
5791 the search string from minibuffer. After exiting minibuffer set
5792 point to old-other-end if point and the search direction is the
5793 same as before reading the search string.
5794 (isearch-del-char): Don't set isearch-yank-flag to t. Put point
5795 to isearch-other-end. Instead of isearch-search-and-update call
5796 three functions isearch-search, isearch-push-state and isearch-update.
5797
5798 2007-07-22 Dan Nicolaescu <dann@ics.uci.edu>
5799
5800 * vc-git.el (vc-git-register, vc-git-checkin): Use vc-git-command,
5801 deal with multiple file arguments.
5802 (vc-git-print-log): Deal with multiple file arguments.
5803
5804 2007-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5805
5806 * diff-mode.el (diff-refine-ignore-spaces-hunk): Rename from
5807 diff-refine-hunk. Adjust users.
5808 (diff-unified-hunk-p, diff-splittable-p): New functions.
5809 (diff-mode-menu): Use it to disable Split when it doesn't work.
5810
5811 2007-07-22 Dan Nicolaescu <dann@ics.uci.edu>
5812
5813 * diff-mode.el (diff-mode-menu): New entries.
5814
5815 2007-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5816
5817 * diff-mode.el (diff-unified->context): Use the new `apply' undo entry
5818 if applicable, so as to save undo-log space.
5819
5820 * diff-mode.el (diff-find-file-name): Add arg `batch'.
5821
5822 * diff-mode.el (diff-beginning-of-file-and-junk): New function.
5823 (diff-file-kill): Use it.
5824 (diff-beginning-of-hunk): Add arg `try-harder' using it.
5825 (diff-restrict-view, diff-find-source-location, diff-refine-hunk):
5826 Use it so they find the hunk even when we're in the file header.
5827
5828 2007-07-22 Dan Nicolaescu <dann@ics.uci.edu>
5829
5830 * vc-git.el (vc-git-revision-granularity, vc-git-root)
5831 (vc-git-command, vc-git-dir-state, vc-git-dired-state-info)
5832 (vc-git-create-repo): New functions.
5833 (vc-git-registered): New autoloaded function definition.
5834 (vc-git-registered): Use vc-git-root.
5835 (vc-git-responsible-p): New defalias.
5836 (vc-git-annotate-extract-revision-at-line): Uncomment.
5837 (vc-git-print-log): Add the file name to the log.
5838 (vc-git-log-view-mode): New derived mode.
5839 (vc-git-diff, vc-git-annotate-command): Use vc-git-command.
5840
5841 2007-07-22 Michael Albinus <michael.albinus@gmx.de>
5842
5843 * progmodes/grep.el (grep-compute-defaults): Keep default values.
5844
5845 2007-07-22 Ralf Angeli <angeli@caeruleus.net>
5846
5847 * textmodes/reftex.el (reftex-access-parse-file): Create parse
5848 file in a way that does not interfere with recentf mode.
5849 (reftex-access-parse-file): Do not risk destroying an existing
5850 buffer.
5851
5852 2007-07-22 Alexandre Julliard <julliard@winehq.org>
5853
5854 * vc-git.el: New file.
5855
5856 2007-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5857
5858 * textmodes/tex-mode.el (tex-font-script-display): Change default.
5859
5860 2007-07-22 Dan Nicolaescu <dann@ics.uci.edu>
5861
5862 * vc-cvs.el (vc-cvs-mode-line-string): Add support for tooltips
5863 for branches and new files.
5864
5865 * vc-hooks.el (vc-default-mode-line-string): Move mouse-face and
5866 local-map handling ...
5867 (vc-mode-line): ... here. Improve handling of help-echo.
5868
5869 * vc.el (mode-line-string): Document help-echo usage.
5870
5871 2007-07-22 Michael Albinus <michael.albinus@gmx.de>
5872
5873 Sync with Tramp 2.1.10.
5874
5875 * net/tramp.el (tramp-get-ls-command): Fix typo.
5876
5877 * net/trampver.el: Update release number.
5878
5879 2007-07-22 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
5880
5881 * startup.el (command-line-x-option-alist): Use x-handle-no-bitmap-icon.
5882
5883 * term/x-win.el (x-handle-no-bitmap-icon): New function.
5884
5885 2007-07-22 Martin Rudalics <rudalics@gmx.at>
5886
5887 * add-log.el (change-log-fill-parenthesized-list): New function.
5888 (change-log-indent): Call change-log-fill-parenthesized-list.
5889 (change-log-fill-paragraph): Bind fill-indent-according-to-mode to t.
5890 Have lines with leading asterisk start a paragraph.
5891
5892 2007-07-21 Jay Belanger <jay.p.belanger@gmail.com>
5893
5894 * calc/calc-math.el (math-emacs-precision)
5895 (math-largest-emacs-expt, math-smallest-emacs-expt):
5896 New variables.
5897 (math-use-emacs-fn): New function.
5898 (math-exp-raw): Evaluate with `math-use-emacs-fn', when
5899 appropriate.
5900
5901 2007-07-21 Thien-Thi Nguyen <ttn@gnuvola.org>
5902
5903 * image-dired.el (image-dired-sane-db-file): New func.
5904 (image-dired-write-tags, image-dired-remove-tag)
5905 (image-dired-list-tags, image-dired-write-comments)
5906 (image-dired-get-comment, image-dired-mark-tagged-files)
5907 (image-dired-create-gallery-lists): Call new func.
5908 Reported by Dieter Wilhelm <dieter@duenenhof-wilhelm.de>.
5909
5910 2007-07-21 Dan Nicolaescu <dann@ics.uci.edu>
5911
5912 * vc-hg.el (vc-hg-dir-state): Fix loop.
5913 (vc-hg-print-log): Fix expected return value for vc-hg-command.
5914 (vc-hg-next-version, vc-hg-delete-file, vc-hg-rename-file)
5915 (vc-hg-register, vc-hg-create-repo, vc-hg-checkin)
5916 (vc-hg-revert): Likewise.
5917 (vc-hg-revision-table, vc-hg-revision-completion-table): New
5918 functions.
5919
5920 2007-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
5921
5922 * add-log.el (change-log-resolve-conflict): Don't lose data if the
5923 merge fails.
5924
5925 2007-07-20 Dan Nicolaescu <dann@ics.uci.edu>
5926
5927 * progmodes/compile.el (compilation-auto-jump-to-first-error):
5928 Add group and version.
5929
5930 2007-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
5931
5932 * add-log.el (add-log-file-name): Use file-relative-name.
5933 (add-change-log-entry): Delay reading
5934 add-log-(full-name|mailing-address) to after we've switched to the
5935 ChangeLog buffer so we get the right value.
5936 (add-change-log-entry, add-log-current-defun, change-log-merge):
5937 Use derived-mode-p rather than checking major-mode directly.
5938
5939 * pcvs.el (cvs-mode-add-change-log-entry-other-window): Use a directory
5940 name for buffer-file-name if it refers to a directory.
5941
5942 * vc-arch.el (vc-arch-diff): Fix last change.
5943
5944 * progmodes/compile.el (compilation-start): Remember the original
5945 directory in a buffer-local compilation-directory.
5946 (compile): Set the global value of compilation-directory.
5947 (recompile): Use compilation-directory even in the compilation buffer.
5948
5949 2007-07-20 Dan Nicolaescu <dann@ics.uci.edu>
5950
5951 * vc-hg.el (vc-hg-diff): Use vc-hg-command.
5952
5953 2007-07-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5954
5955 * ps-print.el: Problem with foreground and background color when
5956 printing a buffer with and without faces. Reported by Christian
5957 Schlauer <cs-muelleimer-rubbish.bin@arcor.de>.
5958 (ps-print-version): New version 6.7.5.
5959 (ps-default-fg): Change default value to nil, so black color is used
5960 when a face does not specify a foreground color.
5961 (ps-default-bg): Change default value to nil, so white color is used
5962 for background color.
5963 (ps-begin-job): Fix code.
5964
5965 2007-07-20 Eli Zaretskii <eliz@gnu.org>
5966
5967 * makefile.w32-in (install-lisp-SH): Don't create subdirectories
5968 in $(INSTALL_DIR)/lisp/ if they already exist.
5969
5970 2007-07-20 Dhruva Krishnamurthy <dhruvakm@gmail.com> (tiny change)
5971
5972 * makefile.w32-in (install-lisp-CMD): Don't create subdirectories
5973 in $(INSTALL_DIR)/lisp/ if they already exist.
5974
5975 2007-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
5976
5977 * progmodes/vera-mode.el (vera-re-search-forward)
5978 (vera-re-search-backward): Remove use of store-match-data.
5979 (vera-mode-map): Move initialization into declaration.
5980
5981 * progmodes/flymake.el (flymake-buildfile-dirs): Remove.
5982 (flymake-find-buildfile): Use locate-dominating-file.
5983
5984 * vc.el (vc-delistify): Use mapconcat.
5985 (vc-do-command): Minor simplification.
5986 (vc-expand-dirs): Use push.
5987
5988 * vc-mcvs.el (vc-mcvs-create-repo):
5989 * vc-cvs.el (vc-cvs-create-repo): Remove.
5990
5991 * vc-hooks.el (vc-find-root): Fix case where `file' is the current
5992 directory and the root as well.
5993
5994 2007-07-20 Dan Nicolaescu <dann@ics.uci.edu>
5995
5996 * vc-hooks.el (vc-default-workfile-unchanged-p): Pass a list
5997 instead of a file.
5998
5999 * vc-hg.el (vc-hg-print-log): Deal with multiple file arguments.
6000 (vc-hg-registered): Replace if with when.
6001 (vc-hg-state): Deal with nonexistent files and handle removed files.
6002 (vc-hg-dir-state, vc-hg-dired-state-info): New functions.
6003 (vc-hg-checkout): Re-enable.
6004 (vc-hg-create-repo): Fix typos.
6005 (vc-hg-print-log): Fix for multiple files.
6006 (vc-hg-workfile-unchanged-p): New function.
6007
6008 * vc.el: Fix typo.
6009 (vc-print-log): Fix call to print-log.
6010 (vc-default-comment-history): Likewise.
6011 (vc-directory-exclusion-list): Add .hg and .bzr.
6012 (vc-diff-internal): Pass a list instead of a file.
6013
6014 * vc-mcvs.el (vc-mcvs-create-repo): Fix typos.
6015
6016 * vc-bzr.el (vc-bzr-create-repo): New function.
6017
6018 2007-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
6019
6020 * vc-hooks.el (vc-find-root): Walk up the tree to find an existing
6021 `file' from which to start the search.
6022
6023 2007-07-19 Eric S. Raymond <esr@snark.thyrsus.com>
6024
6025 * vc-cvs.el (vc-cvs-checkin, vc-cvs-diff): Finish transition from
6026 having a single file argument to having a list of files as the
6027 first argument.
6028
6029 2007-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
6030
6031 * files.el (locate-dominating-file): New function.
6032
6033 2007-07-18 Michael Albinus <michael.albinus@gmx.de>
6034
6035 * progmodes/grep.el (grep-host-defaults-alist): New defvar.
6036 (grep-compute-defaults): Use it.
6037
6038 2007-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
6039
6040 * uniquify.el: Docstring fixes.
6041
6042 2007-07-18 Eric S. Raymond <esr@snark.thyrsus.com>
6043
6044 * vc.el (revision-granularity, create-repo): Document new vc
6045 backend properties.
6046 (vc-rollback): Renamed from vc-cancel-version. Update
6047 references. Pass a list instead of a file.
6048 (vc-revert): Renamed from vc-revert-buffer. Update references.
6049 (vc-delistify, vc-expand-dirs): New functions.
6050 (vc-do-command): Rename FILE to FILE-OR-LIST and deal with a list
6051 of files instead of a single file.
6052 (vc-position-context, vc-resync-window, vc-diff-internal)
6053 (vc-print-log): Pass a list instead of a file.
6054
6055 * vc-hooks.el (vc-stay-local-p, vc-backend)
6056 (vc-backend-subdirectory-name): Work on a file list, not a single
6057 file.
6058 (vc-workfile-version): Update docstring.
6059 (vc-menu-map): Use vc-rollback instead of vc-cancel-version and
6060 vc-revert instead of vc-revert-buffer.
6061 (vc-prefix-map): Likewise. Bind vc-update.
6062
6063 * vc-svn.el (vc-svn-revision-granularity, vc-svn-create-repo)
6064 (vc-svn-wash-log): New functions.
6065 (vc-svn-register, vc-svn-checkin, vc-svn-print-log)
6066 (vc-svn-command): Deal with a list of files, not a single file.
6067
6068 * vc-rcs.el (vc-rcs-revision-granularity, vc-rcs-create-repo)
6069 (vc-rcs-wash-log): New functions.
6070 (vc-rcs-register, vc-rcs-checkin, vc-rcs-diff, vc-rcs-print-log):
6071 Deal with a list of files, not a single file.
6072 (vc-rcs-rollback): Likewise. Rename from vc-rcs-cancel-version.
6073
6074 * vc-sccs.el (vc-sccs-revision-granularity, vc-sccs-wash-log): New
6075 functions.
6076 (vc-sccs-register, vc-sccs-checkin, vc-sccs-diff): Deal with a
6077 list of files, not a single file.
6078
6079 * vc-mcvs.el (vc-mcvs-revision-granularity, vc-mcvs-create-repo):
6080 New functions.
6081 (vc-mcvs-register, vc-mcvs-checkin, vc-mcvs-print-log)
6082 (vc-mcvs-diff): Deal with a list of files, not a single file.
6083
6084 * vc-hg.el (vc-hg-revision-granularity, vc-hg-create-repo): New
6085 functions.
6086 (vc-hg-print-log): Deal with a list of files, not a single file.
6087 (vc-hg-diff-tree): New function, replace defalias with the same
6088 name.
6089 (vc-hg-register, vc-hg-checkin, vc-hg-command): Rename FILE to
6090 FILES to denote that it is a file list, not a single file.
6091
6092 * vc-cvs.el (vc-cvs-create-repo, vc-cvs-wash-log): New functions.
6093 (vc-cvs-register, vc-cvs-checkin): Deal with a list of files, not
6094 a single file.
6095 (vc-cvs-print-log, vc-cvs-command): Rename FILE to FILES to denote
6096 that it is a file list, not a single file.
6097 (vc-cvs-diff): Likewise. Simplify.
6098
6099 * vc-arch.el (vc-arch-register, vc-arch-checkin, vc-arch-diff):
6100 Deal with a list of files, not a single file.
6101
6102 * vc-bzr.el (vc-bzr-register, vc-bzr-command, vc-bzr-checkin)
6103 (vc-bzr-print-log): Update FILE parameter name to denote that it
6104 is a file list, not a single file.
6105 (vc-bzr-diff): Likewise. Use the car of files.
6106
6107 2007-07-18 Juanma Barranquero <lekktu@gmail.com>
6108
6109 * follow.el (follow-mode-hook, follow-mode-off-hook, follow-mode)
6110 (follow-delete-other-windows-and-split, follow-recenter)
6111 (follow-windows-aligned-p, follow-point-visible-all-windows-p)
6112 (follow-redisplay, follow-estimate-first-window-start)
6113 (follow-xemacs-scrollbar-support, follow-intercept-process-output):
6114 Fix typos in docstrings.
6115
6116 2007-07-18 Martin Rudalics <rudalics@gmx.at>
6117
6118 * add-log.el (change-log-mode): Use fill-nobreak-predicate to
6119 avoid that filling introduces lines with a single asterisk.
6120
6121 * kmacro.el (kmacro-end-macro): When ignoring empty macro
6122 avoid incorrect kmacro-ring-empty-p messages.
6123 Reported by Michael Schierl <schierlm@gmx.de>.
6124
6125 2007-07-17 Dan Nicolaescu <dann@ics.uci.edu>
6126
6127 * vc.el: Add more info about the vc-registered function.
6128
6129 2007-07-17 Michael Albinus <michael.albinus@gmx.de>
6130
6131 * files.el (file-remote-p): Introduce optional parameter
6132 IDENTIFICATION.
6133
6134 * recentf.el (recentf-keep-default-predicate): Adapt call of
6135 `file-remote-p'.
6136
6137 * progmodes/grep.el (grep-probe): Use `process-file'.
6138 (grep-compute-defaults): Handle variables host specific.
6139
6140 * net/ange-ftp.el (ange-ftp-file-remote-p): Handle optional
6141 parameter IDENTIFICATION.
6142
6143 * net/tramp.el (tramp-handle-file-remote-p): Handle optional
6144 parameter IDENTIFICATION.
6145 (tramp-handle-set-file-times): New defun. Replaces `tramp-touch'.
6146 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
6147 Add entry for `set-file-times'.
6148 (tramp-do-copy-or-rename-file-via-buffer)
6149 (tramp-do-copy-or-rename-file-out-of-band): Use `set-file-times'.
6150 (tramp-handle-unhandled-file-name-directory): Rewrite.
6151 (tramp-convert-file-attributes): Add error handling when inode is
6152 extraordinary big.
6153 (tramp-get-inode): Change parameter from FILE to VEC.
6154 (tramp-handle-start-file-process): Use (current-buffer) if BUFFER
6155 is nil. This is according to the specification. Goto (point-max)
6156 when ready.
6157 (tramp-handle-shell-command): Rewrite completely, using
6158 `process-file' and `start-file-process'.
6159 (tramp-methods, tramp-find-shell)
6160 (tramp-open-connection-setup-interactive-shell)
6161 (tramp-maybe-open-connection): Guard against $PROMPT_COMMAND shell
6162 var. Reported by Steve Youngs <steve@sxemacs.org>.
6163
6164 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add
6165 entry for `set-file-times'. Rename `start-process' into
6166 `start-file-process'. Remove `call-process' entry.
6167 (tramp-fish-handle-set-file-times): New defun.
6168 (tramp-fish-handle-executable-find): Use `process-file'.
6169 (tramp-fish-handle-process-file): New defun. Replaces
6170 `tramp-fish-handle-call-process'.
6171 (tramp-fish-do-copy-or-rename-file-directly): Use
6172 `set-file-times'.
6173 (tramp-fish-get-file-entries): Change `tramp-get-inode' parameter.
6174
6175 * net/tramp-smb.el (tramp-smb-handle-file-attributes): Change
6176 `tramp-get-inode' parameter.
6177
6178 2007-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
6179
6180 * vc-bzr.el (vc-bzr-version, vc-bzr-at-least-version)
6181 (vc-bzr-post-command-function): Remove. Version 0.8 is already old
6182 nowadays, and by the time Emacs-23 comes out, nobody will even remember
6183 it has ever existed.
6184
6185 2007-07-17 Dan Nicolaescu <dann@ics.uci.edu>
6186
6187 * vc.el: Undo previous change.
6188
6189 2007-07-16 Eli Zaretskii <eliz@gnu.org>
6190
6191 * makefile.w32-in (clean): Don't delete *~.
6192
6193 2007-07-16 Stefan Monnier <monnier@iro.umontreal.ca>
6194
6195 * textmodes/tex-mode.el (tex-verbatim-environments):
6196 Add safe-local-variable property.
6197 (tex-font-lock-syntactic-keywords): Lookup tex-verbatim-environments
6198 when starting font-lock rather than when loading tex-mode.el.
6199
6200 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Skip over the
6201 whole $( rather than just the $. Rename from sh-quoted-subshell.
6202 (sh-font-lock-syntactic-keywords): Adjust call accordingly.
6203
6204 2007-07-16 Thien-Thi Nguyen <ttn@gnuvola.org>
6205
6206 * bookmark.el (bookmark-maybe-sort-alist): Don't modify
6207 bookmark-alist. Instead, if not sorting, simply return it.
6208 (bookmark-bmenu-list): Call bookmark-maybe-sort-alist
6209 for its return value, not for its side effect.
6210
6211 * emacs-lisp/lisp-mode.el (calculate-lisp-indent): In the
6212 case of alignment under a constant symbol, find and consider
6213 the sexp actually at indentation to be the "last sexp".
6214
6215 2007-07-16 Drew Adams <drew.adams@oracle.com>
6216
6217 * mouse.el (mouse-yank-secondary): Better error message if no
6218 secondary selection.
6219
6220 2007-07-16 Dan Nicolaescu <dann@ics.uci.edu>
6221
6222 * vc-hooks.el (vc-handled-backends): Move BZR later in the list.
6223
6224 * term/xterm.el (xterm-turn-on-modify-other-keys)
6225 (xterm-turn-off-modify-other-keys): New functions.
6226 (terminal-init-xterm): Enable the modifyOtherKeys feature if the
6227 terminal supports it.
6228
6229 2007-07-16 Thien-Thi Nguyen <ttn@gnuvola.org>
6230
6231 * bookmark.el (bookmark-show-all-annotations):
6232 Make sure each inserted annotation ends with newline.
6233
6234 2007-07-15 Richard Stallman <rms@gnu.org>
6235
6236 * kmacro.el (kmacro-bind-to-key): Avoid comparisons on function keys.
6237
6238 * tutorial.el (tutorial--find-changed-keys):
6239 Handle C-x specially like ESC.
6240
6241 2007-07-15 Aaron Hawley <aaronh@garden.org>
6242
6243 * tar-mode.el (tar-get-descriptor): No error for zero-length file.
6244
6245 2007-07-15 Juri Linkov <juri@jurta.org>
6246
6247 * delsel.el (delete-selection-pre-hook):
6248 * emulation/cua-base.el (cua-paste): Before a yank command,
6249 check also whether last-command is one of mouse-save-then-kill,
6250 mouse-secondary-save-then-kill, mouse-set-region, mouse-drag-region.
6251
6252 2007-07-15 Michael Albinus <michael.albinus@gmx.de>
6253
6254 * recentf.el (recentf-keep-default-predicate): New defun.
6255 (recentf-keep): Use it as initial value.
6256
6257 2007-07-15 Karl Fogel <kfogel@red-bean.com>
6258
6259 * bookmark.el: Revert 2007-07-13T18:16:17Z!kfogel@red-bean.com,
6260 thus restoring bookmark bindings to three slots under C-x r. See
6261 http://lists.gnu.org/archive/html/emacs-devel/2007-07/msg00705.html.
6262
6263 2007-07-15 Jeff Miller <jmiller@cablespeed.com> (tiny change)
6264
6265 * calendar/calendar.el (calendar-goto-bahai-date): Autoload it.
6266
6267 2007-07-15 Jason Rumney <jasonr@gnu.org>
6268
6269 * w32-fns.el (set-default-process-coding-system): Use dos line ends
6270 for input to cmdproxy on all versions of Windows.
6271 Use dos line ends for input to plink.
6272
6273 * comint.el (comint-simple-send): Concat newline before sending.
6274 (comint-password-prompt-regexp): Recognize plink's passphrase prompt.
6275
6276 2007-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
6277
6278 * emacs-lisp/autoload.el (generated-autoload-file): Autoload the
6279 safe-local-variable setting.
6280
6281 2007-07-14 David Kastrup <dak@gnu.org>
6282
6283 * emacs-lisp/advice.el (defadvice): Doc fix.
6284
6285 2007-07-14 Juanma Barranquero <lekktu@gmail.com>
6286
6287 * subr.el (when, unless): Doc fix.
6288
6289 2007-07-13 Dan Nicolaescu <dann@ics.uci.edu>
6290
6291 * replace.el (match): Use yellow1 instead of yellow.
6292
6293 * progmodes/gdb-ui.el (breakpoint-enabled): Use red1 instead of
6294 red.
6295
6296 * pcvs-info.el (cvs-unknown): Likewise.
6297
6298 2007-07-13 Eli Zaretskii <eliz@gnu.org>
6299
6300 * makefile.w32-in (install-lisp-SH, install-lisp-CMD): New targets.
6301 (install): Use them to copy all *.el files before *.elc.
6302
6303 2007-07-13 Drew Adams <drew.adams@oracle.com>
6304
6305 * bookmark.el (bookmark-jump-other-window): New function.
6306 (bookmark-map): Bind it to "o".
6307
6308 http://lists.gnu.org/archive/html/emacs-devel/2007-07/msg00633.html
6309 and its thread contains discussion about this change.
6310 The original patch was slightly tweaked by Karl Fogel
6311 <kfogel@red-bean.com> before committing.
6312
6313 2007-07-13 Karl Fogel <kfogel@red-bean.com>
6314
6315 * bookmark.el: Shorten some comments to fit within 80 lines.
6316
6317 2007-07-13 Karl Fogel <kfogel@red-bean.com>
6318
6319 * bookmark.el: Don't define bookmark keys under the "C-xr" map;
6320 instead, make "C-xp" a prefix for bookmark-map. Patch by Drew
6321 Adams <drew.adams@oracle.com>, mildly tweaked by me. See
6322 http://lists.gnu.org/archive/html/emacs-devel/2007-07/msg00633.html.
6323
6324 2007-07-13 Carsten Dominik <dominik@science.uva.nl>
6325
6326 * textmodes/org.el: Bug fixes.
6327 (org-end-of-line): Move to end of line if in headline without tags.
6328
6329 2007-07-13 Stefan Monnier <monnier@iro.umontreal.ca>
6330
6331 * vc-hooks.el: Remove spurious * in docstrings.
6332 (vc-handled-backends): Add BZR.
6333
6334 * vc-hooks.el (vc-find-file-hook): Use with-demoted-errors.
6335
6336 2007-07-12 Davis Herring <herring@lanl.gov>
6337
6338 * desktop.el (desktop-buffer-info, desktop-save):
6339 Use `desktop-dirname' instead of `dirname'.
6340
6341 2007-07-12 Paul Pogonyshev <pogonyshev@gmx.net>
6342
6343 * progmodes/which-func.el (which-func-modes): Add `python-mode'.
6344
6345 * progmodes/python.el (python-which-func-length-limit): New var.
6346 (python-which-func): New function.
6347 (python-current-defun): Add optional `length-limit' and try to fit
6348 computed function name to that length.
6349 (python-mode): Hook `python-which-func' up.
6350
6351 2007-07-12 Sean O'Rourke <sorourke@cs.ucsd.edu> (tiny change)
6352
6353 * pcomplete.el (pcomplete-entries): Obey pcomplete-ignore-case.
6354
6355 * comint.el (comint-dynamic-complete-as-filename):
6356 Use read-file-name-completion-ignore-case.
6357
6358 2007-07-12 Stefan Monnier <monnier@iro.umontreal.ca>
6359
6360 * comint.el (comint-dynamic-list-filename-completions):
6361 Use read-file-name-completion-ignore-case.
6362
6363 * vc-cvs.el: Require CL.
6364 (vc-cvs-revision-table, vc-cvs-revision-completion-table):
6365 New functions to provide completion of revision names.
6366
6367 * vc-cvs.el (vc-functions): Clear up the cache when reloading the file.
6368 (vc-cvs-annotate-first-line-re): New const.
6369 (vc-cvs-annotate-process-filter): New fun.
6370 (vc-cvs-annotate-command): Use them and run the command asynchronously.
6371
6372 2007-07-12 Paul Pogonyshev <pogonyshev@gmx.net>
6373
6374 * emacs-lisp/eldoc.el (eldoc-last-data): Revise documentation.
6375 (eldoc-print-current-symbol-info): Adjust for changed helper
6376 function signatures.
6377 (eldoc-get-fnsym-args-string): Add `args' argument. Use new
6378 `eldoc-highlight-function-argument'.
6379 (eldoc-highlight-function-argument): New function.
6380 (eldoc-get-var-docstring): Format documentation with
6381 `font-lock-variable-name-face'.
6382 (eldoc-docstring-format-sym-doc): Add `face' argument and apply it
6383 where suited.
6384 (eldoc-fnsym-in-current-sexp): Return a list with argument index.
6385 (eldoc-beginning-of-sexp): Return number of skipped sexps.
6386
6387 2007-07-11 Michael Albinus <michael.albinus@gmx.de>
6388
6389 * progmodes/compile.el (compilation-start): `start-process' must
6390 still be redefined when calling `start-process-shell-command'.
6391
6392 * progmodes/gud.el (gud-file-name): When `default-directory' is a
6393 remote file name, prepend its remote part to the filename.
6394 (gud-common-init): When `default-directory' is a remote file name,
6395 make the filename relative to it.
6396 Based on a patch by Nick Roberts <nickrob@snap.net.nz>.
6397
6398 2007-07-11 Dan Nicolaescu <dann@ics.uci.edu>
6399
6400 * vc-hooks.el (vc-default-mode-line-string): Add a mouse face,
6401 mouse binding and a tooltip.
6402
6403 2007-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
6404
6405 * menu-bar.el (vc-menu-map): New defalias.
6406
6407 2007-07-10 Richard Stallman <rms@gnu.org>
6408
6409 * emacs-lisp/lisp-mode.el (eval-defun):
6410 Explain special handling of `defface'.
6411
6412 2007-07-10 Jim Meyering <jim@meyering.net> (tiny change)
6413
6414 * emacs-lisp/copyright.el (copyright-current-gpl-version): Set to 3.
6415
6416 * autoinsert.el (auto-insert-alist): s/2/3/ in the generated comment.
6417
6418 2007-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
6419
6420 * emacs-lisp/cl.el: Load cl-loaddefs.el quietly.
6421
6422 * vc-arch.el (vc-arch-complete): Remove.
6423 (vc-arch-revision-completion-table): Use complete-with-action.
6424
6425 * subr.el (condition-case-no-debug, with-demoted-errors): New macros.
6426 (complete-with-action): New function.
6427 (dynamic-completion-table): Use it.
6428
6429 2007-07-10 Michael Albinus <michael.albinus@gmx.de>
6430
6431 * comint.el (make-comint, make-comint-in-buffer)
6432 (comint-exec-1): Replace `start-process' by `start-file-process'.
6433
6434 * progmodes/compile.el (compilation-start): Revert redefining
6435 `start-process'.
6436
6437 2007-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
6438
6439 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Be careful
6440 with EOLs when generating MD5 checksums.
6441
6442 * follow.el: Don't change the global map from the follow-mode-map
6443 defvar, but from the toplevel. Use easy-menu to unify the Emacs and
6444 XEmacs code.
6445 (turn-on-follow-mode, turn-off-follow-mode): Remove interactive spec
6446 since `follow-mode' should be used instead for that.
6447
6448 * emacs-lisp/easymenu.el (easy-menu-binding): New function.
6449 (easy-menu-do-define): Use it.
6450 (easy-menu-do-add-item): Inline into easy-menu-add-item and then remove.
6451
6452 * progmodes/compile.el (compilation-auto-jump-to-first-error)
6453 (compilation-auto-jump-to-next): New vars.
6454 (compilation-auto-jump): New function.
6455 (compilation-error-properties): Use them to jump to first error.
6456 (compilation-start): Set the var if requested.
6457
6458 * emacs-lisp/autoload.el (update-directory-autoloads): Remove
6459 duplicates without also removing entries from other directories.
6460
6461 2007-07-10 Carsten Dominik <dominik@science.uva.nl>
6462
6463 * textmodes/org.el (org-agenda-day-view, org-agenda-week-view):
6464 Remember span as default.
6465 (org-columns-edit-value): Rename from `org-column-edit'.
6466 (org-columns-display-here-title): Rename from
6467 `org-overlay-columns-title'.
6468 (org-columns-remove-overlays): Rename from org-remove-column-overlays.
6469 (org-columns-get-autowidth-alist): Rename from
6470 `org-get-columns-autowidth-alist'.
6471 (org-columns-display-here): Rename from `org-overlay-columns'.
6472 (org-columns-new-overlay): Rename from `org-new-column-overlay'.
6473 (org-columns-quit): Rename from `org-column-quit'.
6474 (org-columns-show-value): Rename from `org-column-show-value'.
6475 (org-columns-content, org-columns-widen)
6476 (org-columns-next-allowed-value)
6477 (org-columns-edit-allowed, org-columns-store-format)
6478 (org-columns-uncompile-format, org-columns-redo)
6479 (org-columns-edit-attributes, org-delete-property)
6480 (org-set-property, org-columns-update)
6481 (org-columns-compute, org-columns-eval)
6482 (org-columns-not-in-agenda, org-columns-compute-all)
6483 (org-property-next-allowed-value)
6484 (org-columns-compile-format)
6485 (org-fill-paragraph-experimental)
6486 (org-string-to-number, org-property-action)
6487 (org-columns-move-left, org-columns-new)
6488 (org-column-number-to-string)
6489 (org-property-previous-allowed-value)
6490 (org-at-property-p, org-columns-delete)
6491 (org-columns-previous-allowed-value)
6492 (org-columns-move-right, org-columns-narrow)
6493 (org-property-get-allowed-values)
6494 (org-verify-version, org-column-string-to-number)
6495 (org-delete-property-globally): New functions.
6496 (org-columns-current-fmt): Rename from `org-current-columns-fmt'.
6497 (org-columns-overlays): Rename from `org-column-overlays'.
6498 (org-columns-map): Rename from `org-column-map'.
6499 (org-columns-current-maxwidths): Rename from
6500 `org-current-columns-maxwidths'.
6501 (org-columns-begin-marker, org-columns-current-fmt-compiled)
6502 (org-previous-header-line-format)
6503 (org-columns-inhibit-recalculation)
6504 (org-columns-top-level-marker): New variables.
6505 (org-columns-default-format): Rename from `org-default-columns-format'.
6506 (org-property-re): New constant.
6507
6508 2007-07-10 Guanpeng Xu <herberteuler@hotmail.com>
6509
6510 * subr.el (looking-at-p, string-match-p): New functions.
6511
6512 2007-07-09 Reiner Steib <Reiner.Steib@gmx.de>
6513
6514 * textmodes/tex-mode.el (tex-fontify-script)
6515 (tex-font-script-display): New variables to make display of
6516 superscripts and subscripts customizable.
6517 (tex-font-lock-suscript, tex-font-lock-match-suscript): Use them.
6518
6519 2007-07-09 Richard Stallman <rms@gnu.org>
6520
6521 * isearch.el (isearch-edit-string): Call to isearch-push-state
6522 after the search.
6523
6524 2007-07-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
6525
6526 * window.el (fit-window-to-buffer): Remove setting of window-min-height
6527 to 1 as enlarge-window uses the value to resize/shrink windows other
6528 than WINDOW if needed.
6529
6530 2007-07-08 Katsumi Yamaoka <yamaoka@jpl.org>
6531
6532 * cus-start.el (file-coding-system-alist): Fix custom type.
6533
6534 2007-07-08 Chong Yidong <cyd@stupidchicken.com>
6535
6536 * longlines.el (longlines-wrap-region): Avoid marking buffer as
6537 modified.
6538 (longlines-auto-wrap, longlines-window-change-function):
6539 Remove unnecessary calls to set-buffer-modified-p.
6540
6541 2007-07-08 Katsumi Yamaoka <yamaoka@jpl.org>
6542
6543 * cus-start.el (file-coding-system-alist): Fix custom type.
6544
6545 2007-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6546
6547 * vc-cvs.el (vc-cvs-revert): Use vc-default-revert.
6548 (vc-cvs-checkout): Remove last arg now unused; simplify.
6549
6550 2007-07-08 Michael Albinus <michael.albinus@gmx.de>
6551
6552 * files.el (file-remote-p): Introduce optional parameter CONNECTED.
6553
6554 * net/tramp.el:
6555 * net/tramp-ftp.el:
6556 * net/tramp-smb.el:
6557 * net/tramp-uu.el:
6558 * net/trampver.el: Migrate to Tramp 2.1.
6559
6560 * net/tramp-cache.el:
6561 * net/tramp-fish.el:
6562 * net/tramp-gw.el: New Tramp packages.
6563
6564 * net/tramp-util.el:
6565 * net/tramp-vc.el: Removed.
6566
6567 * net/ange-ftp.el: Add ange-ftp property to 'start-file-process.
6568 (ange-ftp-file-remote-p): Handle optional parameter CONNECTED.
6569
6570 * net/rcompile.el (remote-compile): Handle Tramp 2.1 arguments.
6571
6572 * progmodes/compile.el (compilation-start): Redefine
6573 `start-process' temporarily when `default-directory' is remote.
6574 Remove case of synchronous compilation, this won't happen ever.
6575 (compilation-setup): Make local variable `comint-file-name-prefix'
6576 for remote compilation.
6577
6578 2007-07-08 Martin Rudalics <rudalics@gmx.at>
6579
6580 * novice.el (disabled-command-function): Fit window to buffer to
6581 make last line visible.
6582 Reported by Stephen Berman <Stephen.Berman at gmx.net>.
6583
6584 * mouse.el (mouse-drag-track): Reset transient-mark-mode to nil
6585 when handling the terminating event.
6586
6587 2007-07-07 Jay Belanger <jay.p.belanger@gmail.com>
6588
6589 * calc/calc.el (math-read-number-simple): Remove leading 0s.
6590 (math-bignum-digit-length): Change to optimal value.
6591
6592 * calc/calc-bin.el (math-bignum-logb-digit-size)
6593 (math-bignum-digit-power-of-two): Evaluate when compiled.
6594
6595 * calc/calc-comb.el (math-small-factorial-table)
6596 (math-init-random-base, math-prime-test): Remove unnecessary calls
6597 to `math-read-number-simple'.
6598
6599 * calc/calc-ext.el (math-approx-pi, math-approx-sqrt-e)
6600 (math-approx-gamma-const): Add docstrings.
6601
6602 * calc/calc-forms.el (math-julian-date-beginning)
6603 (math-julian-date-beginning-int): New constants.
6604 (math-format-date-part, math-parse-standard-date, calcFunc-julian):
6605 Use the new constants.
6606
6607 * calc/calc-funcs.el (math-gammap1-raw): Add docstring.
6608
6609 * calc/calc-math.el (math-approx-ln-10, math-approx-ln-2):
6610 Add docstrings.
6611
6612 2007-07-07 Tom Tromey <tromey@redhat.com>
6613
6614 * vc.el (vc-annotate): Jump to line and output message only after the
6615 process is really all done.
6616
6617 2007-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6618
6619 * vc.el (vc-exec-after): Don't move point from the sentinel.
6620 Forcefully read all the remaining text in the pipe upon process exit.
6621 (vc-annotate-display-autoscale, vc-annotate-lines):
6622 Don't stop at the first unrecognized line.
6623 (vc-annotate-display-select): Run autoscale after the process is done
6624 since it depends on the whole result.
6625
6626 2007-07-07 Eli Zaretskii <eliz@gnu.org>
6627
6628 * term/w32-win.el (menu-bar-open): New function.
6629 Bind <f10> to it.
6630
6631 2007-07-07 Michael Albinus <michael.albinus@gmx.de>
6632
6633 * simple.el (start-file-process): New defun.
6634
6635 2007-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6636
6637 * files.el (find-file-confirm-nonexistent-file): Rename from
6638 find-file-confirm-inexistent-file. Update users.
6639
6640 * emacs-lisp/autoload.el (autoload-find-destination): Understand a new
6641 format of autoload block where the file's time-stamp is replaced by its
6642 MD5 checksum.
6643 (autoload-generate-file-autoloads): Use MD5 checksum instead of
6644 time-stamp for secondary autoloads files.
6645 (update-directory-autoloads): Remove duplicate entries.
6646 Use time-less-p for time-stamps, as done in autoload-find-destination.
6647
6648 2007-07-07 Jay Belanger <jay.p.belanger@gmail.com>
6649
6650 * calc/calc.el (math-read-number): Replace number by variable.
6651 (math-read-number-simple): Properly parse small integers.
6652
6653 2007-07-07 Dan Nicolaescu <dann@ics.uci.edu>
6654
6655 * vc.el: Fix doc for the checkout function.
6656
6657 2007-07-06 Dan Nicolaescu <dann@ics.uci.edu>
6658
6659 * vc-hg.el (vc-hg-root): New function.
6660 (vc-hg-registered): Use it.
6661 (vc-hg-diff-tree): New defalias.
6662 (vc-hg-responsible-p): Likewise.
6663 (vc-hg-checkout): Comment out, not needed.
6664 (vc-hg-delete-file, vc-hg-rename-file, vc-hg-could-register)
6665 (vc-hg-find-version, vc-hg-next-version): New functions.
6666
6667 2007-07-06 Andreas Schwab <schwab@suse.de>
6668
6669 * emacs-lisp/lisp-mode.el (eval-last-sexp): Avoid introducing any
6670 dynamic bindings around the evaluation of the expression.
6671 Reported by Jay Belanger <jay.p.belanger@gmail.com>.
6672
6673 2007-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6674
6675 * autorevert.el (auto-revert-tail-handler): Use inhibit-read-only.
6676 Run before-revert-hook. Suggested by Denis Bueno <denbuen@sandia.gov>.
6677 Use run-hooks rather than run-mode-hooks.
6678
6679 2007-07-05 Jay Belanger <jay.p.belanger@gmail.com>
6680
6681 * calc/calc-comb.el (math-random-digit): Rename to
6682 `math-random-three-digit-number'.
6683 (math-random-digits): Don't depend on representation of integer.
6684
6685 * calc/calc-bin.el (math-bignum-logb-digit-size)
6686 (math-bignum-digit-power-of-two): New constants.
6687 (math-and-bignum, math-or-bignum, math-xor-bignum, math-diff-bignum)
6688 (math-not-bignum, math-clip-bignum): Use the constants
6689 `math-bignum-digit-power-of-two' and `math-bignum-logb-digit-size'
6690 instead of their values.
6691 (math-clip): Use math-small-integer-size instead of its value.
6692
6693 * calc/calc.el (math-add-bignum): Replace number by constant.
6694
6695 2007-07-05 Chong Yidong <cyd@stupidchicken.com>
6696
6697 * wid-edit.el (widget-documentation-string-value-create):
6698 Insert indentation spaces.
6699
6700 2007-07-05 Thien-Thi Nguyen <ttn@gnuvola.org>
6701
6702 * emacs-lisp/byte-opt.el: Revert last change.
6703
6704 2007-07-05 Dan Nicolaescu <dann@ics.uci.edu>
6705
6706 * vc-hooks.el (vc-handled-backends): Add HG.
6707
6708 * vc-hg.el (vc-handled-backends): Remove, done in vc-hooks.el now.
6709
6710 2007-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6711
6712 * complete.el (PC-do-complete-and-exit): Add support for the new
6713 `confirm-only' confirmation mode.
6714
6715 2007-07-05 Chong Yidong <cyd@stupidchicken.com>
6716
6717 * cus-edit.el (custom-commands): New variable.
6718 (custom-tool-bar-map): New variable. Initialize using
6719 `custom-commands'.
6720 (custom-mode): Use `custom-tool-bar-map'.
6721 (custom-buffer-create-internal): Insert action buttons only if
6722 tool bar is not used. Use `custom-commands'.
6723 (Custom-help, custom-command-apply): New function.
6724 (custom-command-apply, Custom-set, Custom-save)
6725 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard):
6726 Use `custom-command-apply' instead of duplicating code.
6727 (customize-group-other-window): Call `customize-group' instead of
6728 duplicating code.
6729 (customize-face-other-window): Call `customize-face' instead of
6730 duplicating code.
6731 (customize-group, customize-face): Add optional args for opening
6732 in another window.
6733 (custom-variable-tag): Don't inherit `variable-pitch' face.
6734 (custom-group-tag): Inherit `variable-pitch' face.
6735 (custom-variable-value-create): Set documentation indentation.
6736 (custom-group-value-create): Make group name a link, instead of
6737 using an extra "go to group" button.
6738 (custom-prompt-variable, custom-group-set, custom-group-save)
6739 (custom-group-reset-current, custom-group-reset-saved)
6740 (custom-group-reset-standard): Minor cleanup.
6741
6742 2007-07-05 Thien-Thi Nguyen <ttn@gnuvola.org>
6743
6744 * Makefile.in (bootstrap-prepare): When copying from
6745 ldefs-boot.el, make sure loaddefs.el is writeable.
6746
6747 (bootstrap-prepare): Make $(lisp)/ps-print.el
6748 and $(lisp)/emacs-lisp/cl-loaddefs.el writable, as well.
6749
6750 2007-07-05 Dan Nicolaescu <dann@ics.uci.edu>
6751
6752 * vc-hg.el (vc-hg-internal-status): Inline in `vc-hg-state', the
6753 only caller, and delete.
6754 (vc-hg-state): Deal with exceptions and only parse the output on
6755 successful return.
6756 (vc-hg-internal-log): Inline in `vc-hg-workfile-version', the only
6757 caller, and delete.
6758 (vc-hg-workfile-version): Deal with exceptions and only parse the
6759 output on successful return.
6760 (vc-hg-revert): New function.
6761
6762 2007-07-04 Jay Belanger <jay.p.belanger@gmail.com>
6763
6764 * calculator.el (calculator-expt): Use more cases to determine
6765 the value.
6766
6767 2007-07-03 Dan Nicolaescu <dann@ics.uci.edu>
6768
6769 * progmodes/gud.el (auto-mode-alist): Match more valid gdb init
6770 file names.
6771
6772 2007-07-03 Jay Belanger <jay.p.belanger@gmail.com>
6773
6774 * calculator.el (calculator-expt, calculator-integer-p):
6775 New functions.
6776 (calculator-fact): Check to see if the factorial will be too
6777 large before computing it.
6778 (calculator-initial-operators): Use `calculator-expt' to
6779 compute "^".
6780 (calculator-mode): Mention that results which are too large
6781 will return inf.
6782 * calc/calc-comb.el (math-small-factorial-table): Replace list
6783 by vector.
6784
6785 2007-07-03 David Kastrup <dak@gnu.org>
6786
6787 * shell.el: On request of the authors, remove their addresses for
6788 the sake of bug reports, and add the developer list address as
6789 maintainer information.
6790
6791 2007-07-03 Richard Stallman <rms@gnu.org>
6792
6793 * files.el (make-directory): Doc fix.
6794 (find-file-confirm-inexistent-file): Make it a defcustom.
6795 Make nil the default.
6796
6797 2007-07-02 Richard Stallman <rms@gnu.org>
6798
6799 * startup.el (command-line): Set buffer-offer-save in *scratch*
6800 and enable auto-save in it.
6801
6802 2007-07-02 Carsten Dominik <dominik@science.uva.nl>
6803
6804 * textmodes/org.el (orgstruct-mode-map): New variable.
6805 (orgstruct-mode): New minor mode.
6806 (turn-on-orgstruct, orgstruct-error, orgstruct-setup)
6807 (orgstruct-make-binding, org-context-p, org-get-local-variables)
6808 (org-run-like-in-org-mode): New functions.
6809 (org-cycle-list-bullet): New command.
6810 (org-special-properties, org-property-start-re)
6811 (org-property-end-re): New constants.
6812 (org-with-point-at): New macro.
6813 (org-get-property-block, org-entry-properties, org-entry-get)
6814 (org-entry-delete, org-entry-get-with-inheritance)
6815 (org-entry-put, org-buffer-property-keys): New functions.
6816 (org-insert-property-drawer): New command.
6817 (org-entry-property-inherited-from): New variable.
6818 (org-column): New face.
6819 (org-column-overlays, org-current-columns-fmt)
6820 (org-current-columns-maxwidths, org-column-map): New variables.
6821 (org-column-menu): New menu.
6822 (org-new-column-overlay, org-overlay-columns)
6823 (org-overlay-columns-title, org-remove-column-overlays)
6824 (org-column-show-value, org-column-quit, org-column-edit):
6825 New functions.
6826 (org-columns, org-agenda-columns): New commands.
6827 (org-get-columns-autowidth-alist): New functions.
6828 (org-properties): New customize group.
6829 (org-default-columns-format): New option.
6830 (org-priority): Realign tags after changing priority.
6831 (org-preserve-lc): New macro.
6832 (org-update-checkbox-count): Catch case when there is no headline.
6833 (org-agenda-quit): Remove any column overlays.
6834 (org-beginning-of-item-list): Fixed bug when non-item line is
6835 indented too deep.
6836 (org-cached-props): New variable.
6837 (org-cached-entry-get): New function.
6838 (org-make-tags-matcher): Handle property matches.
6839 (org-table-recalculate): Swap evaluation order: Field formula
6840 first, then column formulas, but don't allow them to overwrite the
6841 field formulas.
6842 (org-table-eval-formula): New argument untouchable.
6843 (org-table-put-field-property): New function.
6844
6845 2007-07-02 Martin Rudalics <rudalics@gmx.at>
6846
6847 * help-mode.el (help-make-xrefs): Skip spaces too when
6848 skipping tabs.
6849
6850 * ffap.el (dired-at-point-prompter): Improve prompt in
6851 list-directory case.
6852
6853 2007-07-01 Richard Stallman <rms@gnu.org>
6854
6855 * files.el (find-file-visit-truename): Fix safe-local-variable value.
6856
6857 2007-07-01 Richard Stallman <rms@gnu.org>
6858
6859 * cus-start.el (max-mini-window-height): Added.
6860
6861 2007-07-01 Sean O'Rourke <sorourke@cs.ucsd.edu> (tiny change)
6862
6863 * complete.el (partial-completion-mode): Remove advice of
6864 read-file-name-internal.
6865 (PC-do-completion): Rebind minibuffer-completion-table.
6866 (PC-read-file-name-internal): New function doing what
6867 read-file-name-internal advice did.
6868
6869 2007-07-01 Paul Pogonyshev <pogonyshev@gmx.net>
6870
6871 * emacs-lisp/byte-opt.el: Set `binding-is-magic'
6872 property on a few symbols.
6873 (byte-compile-side-effect-free-dynamically-safe-ops): New defconst.
6874 (byte-optimize-lapcode): Remove bindings that are not referenced
6875 and certainly will not effect through dynamic scoping.
6876
6877 2007-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6878
6879 * files.el (find-file-confirm-inexistent-file): New var.
6880 (find-file, find-file-other-window, find-file-other-frame)
6881 (find-file-read-only, find-file-read-only-other-window)
6882 (find-file-read-only-other-frame): Use it.
6883
6884 2007-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6885
6886 * emacs-lisp/rx.el (rx-constituents): Fix up `anything'.
6887
6888 2007-06-29 Juanma Barranquero <lekktu@gmail.com>
6889
6890 * generic-x.el (generic-define-mswindows-modes)
6891 (generic-define-unix-modes, apache-log-generic-mode)
6892 (bat-generic-mode-keymap, java-manifest-generic-mode)
6893 (show-tabs-generic-mode): Fix typos in docstrings.
6894
6895 2007-06-29 Ryan Yeske <rcyeske@gmail.com>
6896
6897 * net/rcirc.el (rcirc-server-alist): Rename from rcirc-connections.
6898 (rcirc-default-full-name): Rename from rcirc-default-user-full-name.
6899 (rcirc-clear-activity): Make sure RCIRC-ACTIVITY isn't modified.
6900 (rcirc-print): Never ignore messages from ourself.
6901
6902 2007-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6903
6904 * font-lock.el (lisp-font-lock-keywords-2): Recognize the new \(?1:..\)
6905 syntax as well. Reported by Juri Linkov <juri@jurta.org>.
6906
6907 2007-06-28 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
6908
6909 * dnd.el (dnd-get-local-file-name): Set fixcase to t in call to
6910 replace-regexp-in-string.
6911
6912 2007-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
6913
6914 * emacs-lisp/cl.el: Set edebug and indentation before loading
6915 cl-loaddefs.el so that its use of dolist doesn't load cl-macs.
6916
6917 2007-06-28 Andreas Schwab <schwab@suse.de>
6918
6919 * Makefile.in ($(lisp)/mh-e/mh-loaddefs.el): Depend on
6920 $(lisp)/subdirs.el.
6921
6922 2007-06-28 Juanma Barranquero <lekktu@gmail.com>
6923
6924 * speedbar.el (speedbar-handle-delete-frame): Don't try to delete
6925 the speedbar frame if nil; that deletes the current frame or
6926 causes an error if it is the only frame.
6927 Reported by Angelo Graziosi <Angelo.Graziosi@roma1.infn.it>.
6928
6929 2007-06-28 Kevin Ryde <user42@zip.com.au>
6930
6931 * textmodes/nroff-mode.el: Groff \# comments.
6932 (nroff-mode-syntax-table): \# comment intro,
6933 plain # as punct per global table.
6934 (nroff-font-lock-keywords): Add # as a single char escape.
6935 (nroff-mode): In comment-start-skip, match \#.
6936
6937 2007-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
6938
6939 * vc-bzr.el (vc-functions): Clear up the cache when reloading the file.
6940 (vc-bzr-workfile-version, vc-bzr-could-register): Don't hardcode
6941 point-min == 1.
6942
6943 2007-06-28 Nick Roberts <nickrob@snap.net.nz>
6944
6945 * pcvs-util.el (cvs-strings->string, cvs-string->strings):
6946 Rename and move to...
6947
6948 * subr.el (strings->string, string->strings): ...here.
6949
6950 * pcvs.el (cvs-reread-cvsrc, cvs-header-msg, cvs-checkout)
6951 (cvs-mode-checkout, cvs-execute-single-file): Use new function names.
6952
6953 * progmodes/gud.el (gud-common-init): Call string->strings instead
6954 of split-string.
6955
6956 2007-06-27 Michael Albinus <michael.albinus@gmx.de>
6957
6958 * dired-aux.el: Remove `dired-call-process'.
6959 (dired-check-process): Call `process-file'.
6960
6961 * wdired.el (wdired-do-perm-changes): Call `process-file'.
6962
6963 * net/ange-ftp.el (ange-ftp-dired-call-process): Reimplement it as
6964 `ange-ftp-process-file'.
6965
6966 2007-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6967
6968 * emacs-lisp/cl.el: Use cl-loaddefs.el rather than manual autoloads.
6969
6970 * emacs-lisp/cl-extra.el:
6971 * emacs-lisp/cl-seq.el:
6972 * emacs-lisp/cl-macs.el: Set generated-autoload-file to cl-loaddefs.el.
6973 Add autoload cookies on all defs autoloaded manually in cl.el.
6974
6975 * emacs-lisp/cl-loaddefs.el: New file.
6976
6977 * textmodes/texinfmt.el (texinfo-raisesections-alist)
6978 (texinfo-lowersections-alist): Merge definition and declaration.
6979 (texinfo-start-of-header, texinfo-end-of-header): Remove.
6980 (texinfo-format-syntax-table): Merge init into declaration.
6981 (texinfo-format-parse-line-args, texinfo-format-parse-args)
6982 (texinfo-format-parse-defun-args, texinfo-format-node)
6983 (texinfo-push-stack, texinfo-multitable-widths)
6984 (texinfo-define-info-enclosure, texinfo-alias)
6985 (texinfo-format-defindex, batch-texinfo-format): Use push.
6986 (texinfo-footnote-number): Remove duplicate declaration.
6987
6988 * ps-print.el: Update with auto-generated autoloads.
6989
6990 * ps-mule.el: Set generated-autoload-file to "ps-print.el".
6991
6992 2007-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6993
6994 * emacs-lisp/autoload.el (autoload-generated-file): Interpret names
6995 relative to current dir for file-local settings.
6996 (autoload-generate-file-autoloads): Add `outfile' arg.
6997 (update-directory-autoloads): Use it to directly call
6998 autoload-generate-file-autoloads instead of going through
6999 update-file-autoloads so we avoid redundant searches and so we can know
7000 the set of buffers changed so we can save them all.
7001
7002 * emacs-lisp/autoload.el (autoload-find-destination): Return nil
7003 rather than throwing `up-to-date'.
7004 (autoload-generate-file-autoloads): Adjust correspondingly.
7005 (update-file-autoloads): Be careful to let-bind
7006 autoload-modified-buffers and adjust to new calling conventions.
7007 (autoload-modified-buffers): Make it a dynamically scoped var.
7008 (update-directory-autoloads): Use file-relative-name instead of
7009 autoload-trim-file-name.
7010 (autoload-insert-section-header): Don't use autoload-trim-file-name
7011 since the file is already relative now.
7012 (autoload-trim-file-name): Remove.
7013
7014 * vc-arch.el (vc-arch-add-tagline): Do a slightly cleaner job.
7015 (vc-arch-complete, vc-arch--version-completion-table)
7016 (vc-arch-revision-completion-table): New functions to provide
7017 completion of revision names.
7018 (vc-arch-trim-find-least-useful-rev, vc-arch-trim-make-sentinel)
7019 (vc-arch-trim-one-revlib, vc-arch-trim-revlib): New functions
7020 to let the user trim the revlib.
7021
7022 * vc.el: Add new VC operation `revision-completion-table'.
7023 (vc-default-revision-completion-table): New function.
7024 (vc-version-diff, vc-version-other-window): Use it to provide
7025 completion of revision names if the backend provides it.
7026
7027 * log-edit.el (log-edit-changelog-entries): Use with-current-buffer.
7028
7029 * vc-svn.el (vc-svn-repository-hostname): Adjust to non-XML format
7030 of newer .svn/entries.
7031
7032 2007-06-25 David Kastrup <dak@gnu.org>
7033
7034 * calc/calc-poly.el (math-padded-polynomial)
7035 (math-partial-fractions): Add some function comments.
7036
7037 2007-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7038
7039 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7040 Make `outbuf' optional.
7041 (update-file-autoloads): Use it.
7042
7043 2007-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7044
7045 * emacs-lisp/autoload.el (autoload-modified-buffers): New var.
7046 (autoload-find-destination): Keep it uptodate.
7047 (autoload-save-buffers): New fun.
7048 (update-file-autoloads): Use it. Re-add the "up to date" message.
7049
7050 * emacs-lisp/autoload.el: Refactor for upcoming changes.
7051 (autoload-find-destination): New function extracted from
7052 update-file-autoloads.
7053 (update-file-autoloads): Use it.
7054 (autoload-generate-file-autoloads): New function extracted from
7055 generate-file-autoloads. Use file-relative-name. Delay computation of
7056 output-start to the first cookie. Remove done-any, replaced by
7057 output-start.
7058 (generate-file-autoloads): Use it.
7059
7060 2007-06-24 Jay Belanger <jay.p.belanger@gmail.com>
7061
7062 * calc/calc-comb.el (math-init-random-base, math-prime-test):
7063 Use math-read-number-simple to insert constants.
7064 (math-prime-test): Redo calculation of sum.
7065
7066 * calc/calc-misc.el (math-div2-bignum): Use math-bignum-digit-size.
7067
7068 * calc/calc-math.el (math-scale-bignum-digit-size): Rename from
7069 math-scale-bignum-3.
7070 (math-isqrt-bignum): Use math-scale-bignum-digit-size and
7071 math-bignum-digit-size.
7072 (math-isqrt-small): Add another possible initial guess.
7073
7074 2007-06-23 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
7075
7076 * textmodes/bibtex.el (bibtex-entry-format): New options
7077 `whitespace', `braces', and `string'.
7078 (bibtex-field-braces-alist, bibtex-field-strings-alist)
7079 (bibtex-field-braces-opt, bibtex-field-strings-opt)
7080 (bibtex-cite-matcher-alist): New variables.
7081 (bibtex-font-lock-keywords): Use bibtex-cite-matcher-alist.
7082 (bibtex-flash-head): Use blink-matching-delay.
7083 (bibtex-insert-kill, bibtex-mark-entry): Use push-mark.
7084 (bibtex-format-entry, bibtex-reformat): Handle new options of
7085 bibtex-entry-format.
7086 (bibtex-field-re-init, bibtex-font-lock-cite, bibtex-dist):
7087 New functions.
7088 (bibtex-complete-internal): Do not display messages while
7089 minibuffer is used. Do not leave around a completions buffer
7090 that is out of date.
7091 (bibtex-copy-summary-as-kill): New optional arg.
7092 (bibtex-font-lock-url): New optional arg no-button.
7093 (bibtex-find-crossref): Use `bibtex-cite-matcher-alist'.
7094 (bibtex-url): Allow multiple URLs per entry.
7095
7096 2007-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7097
7098 * emacs-lisp/autoload.el (autoload-generated-file): New function.
7099 (update-file-autoloads, update-directory-autoloads): Use it.
7100 (autoload-file-load-name): New function.
7101 (generate-file-autoloads, update-file-autoloads): Use it.
7102 (autoload-find-file): Accept non-absolute argument. Set default-dir.
7103 (generate-file-autoloads): If the autoloaded form is malformed,
7104 indicate the problem with a warning instead of aborting.
7105
7106 2007-06-23 Thien-Thi Nguyen <ttn@gnuvola.org>
7107
7108 * simple.el (next-error-recenter): Accept `(4)' as well;
7109 also, specify `integer' instead of `number'.
7110
7111 2007-06-23 Eli Zaretskii <eliz@gnu.org>
7112
7113 * ls-lisp.el (insert-directory): If an invalid regexp error is
7114 thrown, try using FILE as a literal file name, not a wildcard.
7115
7116 2007-06-23 Juanma Barranquero <lekktu@gmail.com>
7117
7118 * ruler-mode.el (ruler-mode): Prevent clobbering the original
7119 `header-line-format' when reentering ruler mode.
7120
7121 2007-06-23 Eli Zaretskii <eliz@gnu.org>
7122
7123 * ls-lisp.el (insert-directory): Don't treat FILE as a wildcard if
7124 FILE exists as a file.
7125
7126 2007-06-22 Jay Belanger <jay.p.belanger@gmail.com>
7127
7128 * calc/calc.el (math-bignum-digit-length)
7129 (math-bignum-digit-size, math-small-integer-size):
7130 New constants.
7131 (math-normalize, math-bignum-big, math-make-float)
7132 (math-div10-bignum, math-scale-left, math-scale-left-bignum)
7133 (math-scale-right, math-scale-right-bignum, math-scale-rounding)
7134 (math-add, math-add-bignum, math-sub-bignum, math-sub, math-mul)
7135 (math-mul-bignum, math-mul-bignum-digit, math-idivmod)
7136 (math-quotient, math-div-bignum, math-div-bignum-digit)
7137 (math-div-bignum-part, math-format-bignum-decimal)
7138 (math-read-bignum): Use math-bignum-digit-length,
7139 math-bignum-digit-size and math-small-integer-size.
7140
7141 * calc/calc-ext.el (math-fixnum-big): Use the variable
7142 math-bignum-digit-size.
7143
7144 2007-06-23 Dan Nicolaescu <dann@ics.uci.edu>
7145
7146 * log-view.el (log-view-mode-menu): New menu.
7147
7148 2007-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7149
7150 * diff-mode.el (diff-font-lock-keywords): Fix M. Kifer's last change
7151 differently.
7152
7153 * vc-hg.el (vc-hg-registered): Add an autoloaded version.
7154 (vc-hg-log-view-mode): Use log-view-font-lock-keywords.
7155
7156 2007-06-22 Dan Nicolaescu <dann@ics.uci.edu>
7157
7158 * vc-hg.el (vc-hg-print-log): Insert the file name.
7159 (vc-hg-log-view-mode): Fontify the file name.
7160
7161 2007-06-22 Jay Belanger <jay.p.belanger@gmail.com>
7162
7163 * calc/calc-forms.el (math-format-date-part, calc-parse-standard-date)
7164 (calcFunc-julian): Fix incorrect number used in calculations.
7165
7166 2007-06-22 Thien-Thi Nguyen <ttn@gnuvola.org>
7167
7168 * simple.el (next-error-recenter): New defcustom.
7169 (next-error, next-error-internal): Recenter if specified,
7170 immediately prior to running `next-error-hook'.
7171
7172 * progmodes/hideshow.el (hs-show-block): Use line-end-position.
7173 (hs-hide-block-at-point, hs-hide-comment-region): Likewise.
7174
7175 * progmodes/hideshow.el (hs-hide-all): Use progress reporter.
7176
7177 2007-06-22 Jay Belanger <jay.p.belanger@gmail.com>
7178
7179 * calc/calc-comb.el (math-small-factorial-table): New variable.
7180 (calcFunc-fact): Use `math-small-factorial-table'.
7181
7182 * calc/calc-ext.el (math-defcache): Allow forms to evaluate
7183 initial values.
7184 (math-approx-pi, math-approx-sqrt-e, math-approx-gamma-const):
7185 New variables to use in caches.
7186
7187 * calc/calc-forms.el (math-format-date-part, math-parse-standard-date)
7188 (calcFunc-julian): Use `math-read-number-simple' to insert bignums.
7189
7190 * calc/calc-func.el (math-besJ0, math-besJ1, math-besY0, math-besY1)
7191 (math-bernoulli-b-cache): Use math-read-number-simple to insert
7192 bignums.
7193
7194 * calc/calc-math.el (math-approx-ln-10, math-approx-ln-2):
7195 New variables to use in caches.
7196
7197 2007-06-22 Dan Nicolaescu <dann@ics.uci.edu>
7198
7199 * vc-bzr.el (vc-bzr-log-view-mode): Add + to the email address regexp.
7200
7201 * vc-hg.el (vc-hg-log-view-mode): New mode.
7202
7203 2007-06-21 Jay Belanger <jay.p.belanger@gmail.com>
7204
7205 * calc/calc.el (math-read-number-simple): New function.
7206
7207 2007-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7208
7209 * progmodes/vera-mode.el (vera-mode): Fix `commend-end-skip' setting.
7210 (vera-font-lock-match-item): Fix doc string.
7211 (vera-in-comment-p): Remove unused function.
7212 (vera-skip-forward-literal, vera-skip-backward-literal): Improve code,
7213 use `syntax-ppss'.
7214 (vera-forward-syntactic-ws): Fix argument order.
7215 (vera-prepare-search): Use `with-syntax-table'.
7216 (vera-indent-line): Fix doc string.
7217 (vera-electric-tab): Fix doc string.
7218 (vera-expand-abbrev): Define alias instead of using `fset'.
7219 (vera-comment-uncomment-region): Use `comment-start-skip'.
7220
7221 2007-06-21 Carsten Dominik <dominik@science.uva.nl>
7222
7223 * textmodes/org.el (org-export-with-footnotes): New option.
7224 (org-export-as-html): Fix replacement bug for XEmacs.
7225 (org-agenda-default-appointment-duration): New option.
7226
7227 2007-06-21 Dan Nicolaescu <dann@ics.uci.edu>
7228
7229 * vc-hg.el: Add to do items.
7230 (vc-hg-diff): Add support for comparing different revisions.
7231 (vc-hg-diff, vc-hg-annotate-command, vc-hg-annotate-time)
7232 (vc-hg-annotate-extract-revision-at-line)
7233 (vc-hg-previous-version, vc-hg-checkin): New functions.
7234 (vc-hg-annotate-re): New constant.
7235
7236 2007-06-20 Jay Belanger <jay.p.belanger@gmail.com>
7237
7238 * calc/calc.el (math-standard-ops): Fix precedence of multiplication.
7239
7240 2007-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7241
7242 * log-view.el (log-view-font-lock-keywords): Use `eval' to consult the
7243 buffer-local value of log-view-*-re if applicable.
7244
7245 * vc-bzr.el (vc-bzr-dir-state): Use setq rather than set.
7246 Use vc-bzr-command rather than the ill defined vc-bzr-command*.
7247 (vc-bzr-command*): Remove both (incompatible) versions.
7248 (vc-bzr-do-command*): Remove.
7249 (vc-bzr-with-process-environment, vc-bzr-std-process-invocation):
7250 Remove by folding into its only caller vc-bzr-command.
7251 (vc-bzr-command): Always set the environment, even when ineffective.
7252 (vc-bzr-version): Minor fix up.
7253 (vc-bzr-admin-dirname): New var.
7254 (vc-bzr-bzr-dir): Remove.
7255 (vc-bzr-root-dir): New fun.
7256 (vc-bzr-registered): Use it. Add an autoloaded version.
7257 (vc-bzr-responsible-p): Use vc-bzr-root-dir as well.
7258 (vc-bzr-view-log-function): Remove.
7259 (vc-bzr-log-view-mode): New major mode to replace it.
7260 (vc-bzr-print-log): Only activate the old hack if needed.
7261
7262 * vc.el (vc-default-log-view-mode): New function.
7263 (vc-print-log): Add new `log-view-mode' VC operation.
7264
7265 2007-06-20 Juanma Barranquero <lekktu@gmail.com>
7266
7267 * ido.el (ido-find-file-in-dir): Don't signal an error for
7268 empty directories.
7269
7270 * add-log.el (change-log-mode): Set `show-trailing-whitespace'.
7271
7272 * desktop.el (desktop-read): Run `desktop-not-loaded-hook' in the
7273 directory where the desktop file was found, as the docstring says.
7274 (desktop-kill): Use `read-directory-name'.
7275
7276 2007-06-20 Alan Mackenzie <acm@muc.de>
7277
7278 * progmodes/cc-mode.el (c-remove-any-local-eval-or-mode-variables):
7279 When removing lines, also remove the \n. Correction of patch of
7280 2007-04-21.
7281
7282 2007-06-20 Martin Rudalics <rudalics@gmx.at>
7283
7284 * mouse.el (mouse-drag-mode-line-1): Quit mouse tracking when
7285 event is not a cons cell. Do not unread drag-mouse-1 events.
7286 Select right window in check whether space was stolen from
7287 window above.
7288
7289 * help-mode.el (help-make-xrefs): Adjust position of new forward
7290 button.
7291
7292 2007-06-20 Riccardo Murri <riccardo.murri@gmail.com>
7293
7294 * vc-bzr.el (vc-bzr-with-process-environment)
7295 (vc-bzr-std-process-invocation): New macros.
7296 (vc-bzr-command, vc-bzr-command*): Use them.
7297 (vc-bzr-with-c-locale): Remove.
7298 (vc-bzr-dir-state): Replace its use with vc-bzr-command.
7299 (vc-bzr-buffer-nonblank-p): New function.
7300 (vc-bzr-state-words): New const.
7301 (vc-bzr-state): Look for `bzr status' keywords in output.
7302 Display everything else as a warning message to the user.
7303 Fix status report with bzr >= 0.15.
7304
7305 2007-06-20 Dan Nicolaescu <dann@ics.uci.edu>
7306
7307 * vc-hg.el (vc-hg-global-switches): Simplify.
7308 (vc-hg-state): Handle more states.
7309 (vc-hg-diff): Fix doc-string.
7310 (vc-hg-register): New function.
7311 (vc-hg-checkout): Likewise.
7312
7313 2007-06-20 Reto Zimmermann <reto@gnu.org>
7314
7315 * progmodes/vera-mode.el: New file.
7316
7317 2007-06-19 Jay Belanger <jay.p.belanger@gmail.com>
7318
7319 * calc/calc.el (calc-multiplication-has-precendence):
7320 New variable.
7321 (math-standard-ops, math-standard-ops-p, math-expr-ops):
7322 New functions.
7323 (math-expr-opers): Define using math-standard-ops rather than
7324 math-standard-opers.
7325 * calc/calc-aent.el (calc-do-calc-eval): Let math-expr-opers
7326 equal the function math-standard-ops rather than the variable
7327 math-standard-opers.
7328 (calc-algebraic-entry): Let math-expr-opers equal
7329 math-standard-ops or math-expr-ops, as appropriate.
7330 (math-expr-read-level, math-read-factor): Let math-expr-opers
7331 equal math-expr-ops.
7332 * calc/calc-embed.el (calc-embedded-finish-edit):
7333 Let math-expr-opers equal the function math-standard-ops
7334 rather than the variable math-standard-opers.
7335 * calc/calc-ext.el (math-read-plain-expr)
7336 (math-format-flat-expr-fancy): Let math-expr-opers equal the
7337 function math-standard-ops rather than the variable
7338 math-standard-opers.
7339 * calc/calc-lang.el (calc-set-language, math-read-big-rec):
7340 Let math-expr-opers equal the function math-standard-ops rather
7341 than the variable math-standard-opers.
7342 * calc/calc-prog.el (calc-read-parse-table): Let math-expr-opers
7343 equal the function math-standard-ops rather than the variable
7344 math-standard-opers.
7345 * calc/calc-yank.el (calc-finish-stack-edit): Let math-expr-opers
7346 equal the function math-standard-ops rather than the variable
7347 math-standard-opers.
7348 * calc/calccomp.el (math-compose-expr): Let math-expr-opers equal
7349 math-expr-ops.
7350
7351 2007-06-19 Ivan Kanis <apple@kanis.eu>
7352
7353 * vc-hg.el: New file.
7354
7355 2007-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7356
7357 * progmodes/sh-script.el (sh-font-lock-paren): Mark the relevant text
7358 with font-lock-multiline.
7359
7360 2007-06-17 Glenn Morris <rgm@gnu.org>
7361
7362 * lpr.el (lpr-page-header-switches): Move %s to separate element
7363 for correct quoting. Doc fix.
7364
7365 2007-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7366
7367 * textmodes/sgml-mode.el (sgml-xml-guess): Return the result rather
7368 than setting sgml-xml-mode.
7369 (sgml-mode, html-mode): Set sgml-xml-mode.
7370 (sgml-skip-tag-backward): Tell if we skipped over matched tags.
7371 (sgml-skip-tag-backward, sgml-electric-tag-pair-overlays): New var.
7372 (sgml-electric-tag-pair-before-change-function)
7373 (sgml-electric-tag-pair-flush-overlays): New functions.
7374 (sgml-electric-tag-pair-mode): New minor mode.
7375 (sgml-font-lock-keywords-2, sgml-get-context, sgml-unclosed-tag-p)
7376 (sgml-calculate-indent): Use assoc-string.
7377
7378 2007-06-16 Karl Fogel <kfogel@red-bean.com>
7379
7380 * thingatpt.el (thing-at-point-email-regexp): Don't require two
7381 chars before the "@" in an email address. Andreas Roehler noticed
7382 this problem.
7383
7384 2007-06-15 Karl Fogel <kfogel@red-bean.com>
7385
7386 * thingatpt.el: Add support for email addresses (`email').
7387 (thing-at-point, bounds-of-thing-at-point): Document `email' support.
7388 (thing-at-point-email-regexp): New variable.
7389 (`email'): Put `bounds-of-thing-at-point' and `thing-at-point'
7390 properties on this symbol, with lambda forms for values.
7391
7392 2007-06-15 Masatake YAMATO <jet@gyve.org>
7393
7394 * vc-bzr.el (vc-bzr-root): Cache the output of shell command execution.
7395
7396 * vc.el (vc-dired-hook): Check the backend returned from
7397 `vc-responsible-backend' can really handle `subdir'.
7398
7399 2007-06-15 Chong Yidong <cyd@stupidchicken.com>
7400
7401 * wid-edit.el (widget-add-documentation-string-button):
7402 Fix handling of documentation indent.
7403
7404 2007-06-15 Miles Bader <miles@fencepost.gnu.org>
7405
7406 * mb-depth.el: New file.
7407
7408 2007-06-15 Masatake YAMATO <jet@gyve.org>
7409
7410 * vc.el (vc-dired-mode): Show backend name as part of mode name.
7411
7412 2007-06-14 Chong Yidong <cyd@stupidchicken.com>
7413
7414 * wid-edit.el (widget-default-create): Move ?h handling here...
7415 (widget-default-format-handler): ...from here.
7416 (widget-docstring, widget-add-documentation-string-button): New funs.
7417 (documentation-string): Add :visibility-widget property.
7418 (widget-documentation-string-value-create): Use it.
7419
7420 * cus-edit.el (custom-split-regexp-maybe): Simplify.
7421 (custom-buffer-create-internal): Simplify message.
7422 (custom-variable-tag): Reduce height to normal.
7423 (custom-variable-value-create, custom-face-value-create)
7424 (custom-visibility): New widget.
7425 (custom-visibility): New face.
7426 (custom-group-value-create):
7427 Call widget-add-documentation-string-button, using `custom-visibility'.
7428
7429 2007-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7430
7431 * emacs-lisp/bytecomp.el (byte-compile-current-group)
7432 (byte-compile-nogroup-warn, byte-compile-file): Revert part of last
7433 change. Apparently the "warning even if the group is implicit" is
7434 a feature rather than a bug.
7435
7436 2007-06-14 Michael Kifer <kifer@cs.stonybrook.edu>
7437
7438 * emulation/viper.el (viper-describe-key-ad)
7439 (viper-describe-key-briefly-ad): Different advices for Emacs and XEmacs.
7440 Compile them conditionally.
7441 (viper-version): Belated version change.
7442
7443 2007-06-14 Juanma Barranquero <lekktu@gmail.com>
7444
7445 * follow.el (follow-all-followers, follow-generic-filter):
7446 * pcomplete.el (pcomplete-restore-windows):
7447 * x-dnd.el (x-dnd-maybe-call-test-function, x-dnd-save-state)
7448 (x-dnd-drop-data):
7449 * emacs-lisp/edebug.el (edebug-pop-to-buffer, edebug-display):
7450 * progmodes/python.el (python-complete-symbol):
7451 * term/mac-win.el (mac-dnd-drop-data): Remove redundant check.
7452
7453 2007-06-13 Ryan Yeske <rcyeske@gmail.com>
7454
7455 * net/rcirc.el (rcirc-format-response-string): Use rcirc-nick-syntax
7456 around bright and dim regexps. Make sure bright and dim matches
7457 use word anchors. Send text through rcirc-markup functions.
7458 (rcirc-url-regexp): Add single quote character.
7459 (rcirc-connect): Write logs to disk on auto-save-hook.
7460 Make server a non-optional argument.
7461 (rcirc-log-alist): New variable.
7462 (rcirc-log-directory): Make customizable.
7463 (rcirc-log-flag): New customizable variable.
7464 (rcirc-log): New function.
7465 (rcirc-print): Use above function.
7466 (rcirc-log-write): New function.
7467 (rcirc-generate-new-buffer-name): Strip text properties.
7468 (rcirc-switch-to-buffer-function): Remove variable.
7469 (rcirc-last-non-irc-buffer): Remove variable.
7470 (rcirc-non-irc-buffer): Add function.
7471 (rcirc-next-active-buffer): Use above function.
7472 (rcirc-keepalive): Send KEEPALIVE ctcp instead of a PING.
7473 (rcirc-handler-ctcp-KEEPALIVE): Add handler.
7474 (rcirc-handler-CTCP): Don't print KEEPALIVE responses.
7475 (rcirc-omit-mode): Add minor-mode.
7476 (rcirc-mode-map): Change C-c C-o binding.
7477 (rcirc-mode): Clear mode-line-process. Use a custom
7478 fill-paragraph-function. Set up buffer-invisibility-spec.
7479 (rcirc-response-formats): Remove timestamp code.
7480 (rcirc-omit-responses): Add variable.
7481 (rcirc-print): Don't put the overlay arrow on potentially omitted
7482 lines. Log line to disk. Record activity for private messages
7483 from /dim nicks. Facify the fill-prefix with rcirc-timestamp face.
7484 (rcirc-jump-to-first-unread-line): Print message if there is no
7485 unread text.
7486 (rcirc-clear-unread): New function.
7487 (rcirc-markup-text-functions): Add variable.
7488 (rcirc-markup-timestamp, rcirc-markup-fill): Add functions.
7489 (rcirc-debug): Don't mess with window configuration.
7490 (rcirc-send-message): Send message before printing locally.
7491 Add SILENT argument, do not print message if non-nil.
7492 (rcirc-visible-buffers): New function and variable.
7493 (rcirc-window-configuration-change-1): Add function.
7494 (rcirc-target-buffer): Make sure ACTIONs don't get sent to the
7495 server buffer.
7496 (rcirc-clean-up-buffer): Set rcirc-target to nil when finished.
7497 (rcirc-fill-paragraph): Add function.
7498 (rcirc-record-activity, rcirc-window-configuration-change-1):
7499 Only update the activity string if it has actually changed.
7500 (rcirc-update-activity-string): Remove padding characters from the
7501 mode-line string.
7502 (rcirc-disconnect-buffer): New function to be called when a
7503 channel is parted or the user quits.
7504 (rcirc-server-name): Warn when the server-name hasn't been set.
7505 (rcirc-window-configuration-change): Postpone work until
7506 post-command-hook.
7507 (rcirc-window-configuration-change-1): Update mode-line and
7508 overlay arrows here.
7509 (rcirc-authenticate): Fixc hanserv identification.
7510 (rcirc-default-server): Remove variable.
7511 (rcirc): Connect according to rcirc-connections.
7512 (rcirc-connections): Add variable.
7513 (rcirc-startup-channels-alist): Remove variable.
7514 (rcirc-startup-channels): Remove function.
7515
7516 2007-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7517
7518 * diff-mode.el (diff-font-lock-keywords): Fix M. Kifer's last change.
7519
7520 2007-06-13 Johan Bockg\e,Ae\e(Brd <bojohan@dd.chalmers.se> (tiny change)
7521
7522 * term/xterm.el (terminal-init-xterm): Escape parens in character
7523 constants.
7524
7525 2007-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7526
7527 * progmodes/sh-script.el: Remove unneeded * from docstrings.
7528 Use [:alpha:] and [:alnum:] where applicable.
7529 (sh-quoted-subshell): Rewrite to correctly
7530 handle nested mixes of `...' and $(...).
7531 (sh-apply-quoted-subshell): Remove.
7532 (sh-font-lock-syntactic-keywords): Adjust call to sh-quoted-subshell.
7533
7534 * vc-arch.el (vc-arch-command): Remove bzr. It's a different program.
7535
7536 2007-06-13 Michael Kifer <kifer@cs.stonybrook.edu>
7537
7538 * ediff-ptch.el (ediff-context-diff-label-regexp): Partially undo
7539 previous change.
7540
7541 2007-06-12 Tom Tromey <tromey@redhat.com>
7542
7543 * subr.el (user-emacs-directory): New defconst.
7544 * cmuscheme.el (scheme-start-file):
7545 * shell.el (shell):
7546 * completion.el (save-completions-file-name):
7547 * custom.el (custom-theme-directory):
7548 * term/x-win.el (emacs-session-filename):
7549 * filesets.el (filesets-menu-cache-file):
7550 * thumbs.el (thumbs-thumbsdir):
7551 * server.el (server-auth-dir):
7552 * image-dired.el (image-dired-dir):
7553 (image-dired-db-file):
7554 (image-dired-temp-image-file):
7555 (image-dired-gallery-dir):
7556 (image-dired-temp-rotate-image-file):
7557 * play/gamegrid.el (gamegrid-user-score-file-directory):
7558 * savehist.el (savehist-file):
7559 * tutorial.el (tutorial--saved-dir):
7560 * startup.el (auto-save-list-file-prefix): Use user-emacs-directory.
7561
7562 2007-06-12 Ralf Angeli <angeli@caeruleus.net>
7563
7564 * scroll-lock.el (scroll-lock-mode): Doc fix.
7565
7566 2007-06-12 Michael Kifer <kifer@cs.stonybrook.edu>
7567
7568 * ediff-ptch.el (ediff-context-diff-label-regexp): Spurious parenthesis.
7569
7570 * ediff-init.el: Doc strings.
7571
7572 2007-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7573
7574 * emacs-lisp/bytecomp.el (byte-compile-current-group): New var.
7575 (byte-compile-file): Bind it.
7576 (byte-compile-nogroup-warn): Use it to avoid spurious warnings when the
7577 group argument is provided implicitly.
7578 (byte-compile-format-warn, byte-compile-from-buffer)
7579 (byte-compile-insert-header): Don't hardcode point-min==1.
7580 (byte-compile-file-form-require): Remove unused var old-load-list.
7581 (byte-compile-eval): Remove unused vars old-autoloads and hist-nil-new.
7582
7583 2007-06-12 Michael Kifer <kifer@cs.stonybrook.edu>
7584
7585 * emulation/viper-cmd.el (viper-prefix-arg-com, viper-prefix-arg-value):
7586 Display error messages.
7587 (viper-prev-destructive-command, viper-insert-prev-from-insertion-ring):
7588 Get rid of cl.el dependencies.
7589
7590 * emulation/viper-init.el (viper-suppress-input-method-change-message):
7591 New variable.
7592 (viper-activate-input-method-action)
7593 (viper-inactivate-input-method-action):
7594 Use viper-suppress-input-method-change-message.
7595
7596 * emulation/viper-kem.el (viper-vi-basic-map): Disable the bindings
7597 for C-s, C-r.
7598
7599 * emulation/viper-util.el (viper-set-cursor-color-according-to-state):
7600 Use viper-replace-overlay-cursor-color instead of
7601 viper-replace-overlay-cursor-color.
7602 (viper-sit-for-short): Use sit-for with 3 arguments.
7603
7604 * emulation/viper.el (viper-insert-state-mode-list): Add gud-mode.
7605 (viper-major-mode-modifier-list): Add viper-comint-mode-modifier-map
7606 to gud-mode.
7607
7608 * ediff-mult.el (ediff-meta-buffer-brief-message)
7609 (ediff-meta-buffer-verbose-message): New variables.
7610 (ediff-meta-buffer-message): Variable deleted.
7611 (ediff-verbose-help-enabled): New variable.
7612 (ediff-toggle-verbose-help-meta-buffer): New function.
7613 (ediff-redraw-directory-group-buffer): Made aware of short/verbose
7614 message options.
7615
7616 * ediff-ptch.el (ediff-context-diff-label-regexp): Better regexp.
7617 (ediff-fixup-patch-map): Improve heuristic.
7618
7619 2007-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7620
7621 * log-view.el (log-view-file-re, log-view-message-re): Use \(?1:...\).
7622 (log-view-font-lock-keywords): Simplify.
7623 (log-view-current-file, log-view-current-tag): Simplify.
7624
7625 2007-06-12 Sam Steingold <sds@gnu.org>
7626
7627 * vc-arch.el (vc-arch-command): Also try "baz" and "bzr".
7628
7629 2007-06-12 Juanma Barranquero <lekktu@gmail.com>
7630
7631 * desktop.el (desktop-load-locked-desktop): New option.
7632 (desktop-read): Use it.
7633 (desktop-truncate, desktop-outvar, desktop-restore-file-buffer):
7634 Use `when'.
7635
7636 2007-06-12 Davis Herring <herring@lanl.gov>
7637
7638 * desktop.el (desktop-save-mode-off): New function.
7639 (desktop-base-lock-name, desktop-not-loaded-hook): New variables.
7640 (desktop-full-lock-name, desktop-file-modtime, desktop-owner)
7641 (desktop-claim-lock, desktop-release-lock): New functions.
7642 (desktop-kill): Tell `desktop-save' that this is the last save.
7643 Release the lock afterwards.
7644 (desktop-buffer-info): New function.
7645 (desktop-save): Use it. Run `desktop-save-hook' where the doc
7646 says to. Detect conflicts, and manage the lock.
7647 (desktop-read): Detect conflicts. Manage the lock.
7648
7649 2007-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7650
7651 * emulation/tpu-mapper.el (tpu-emacs-map-key): Use new keymap names.
7652
7653 * emulation/tpu-edt.el (tpu-gold-map): Rename from GOLD-map.
7654 (tpu-lucid-emacs-p): Remove. Use (featurep 'xemacs) instead.
7655 (CSI-map, GOLD-CSI-map, GOLD-SS3-map, SS3-map): Delete vars.
7656 (tpu-gold-map, tpu-global-map): Add all the SS3 and CSI bindings, using
7657 keysyms rather than byte sequences.
7658 (tpu-copy-keyfile): Don't force the user to use tpu-mapper.el.
7659
7660 2007-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7661
7662 * font-lock.el (font-lock-add-keywords): In case font-lock was only
7663 half-activated, forcefully activate it completely.
7664
7665 2007-06-11 Richard Stallman <rms@gnu.org>
7666
7667 * cus-edit.el (custom-variable-type): Doc fix.
7668
7669 2007-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7670
7671 * progmodes/sh-script.el (sh-font-lock-backslash-quote)
7672 (sh-font-lock-flush-syntax-ppss-cache): New functions.
7673 (sh-font-lock-syntactic-keywords): Use them to distinguish the
7674 different possible cases for \'.
7675
7676 * complete.el (PC-bindings): Don't bind things already bound in the
7677 parent keymap.
7678
7679 * textmodes/bibtex-style.el: New file.
7680
7681 2007-06-11 Riccardo Murri <riccardo.murri@gmail.com>
7682
7683 * vc-bzr.el: New file.
7684
7685 2007-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7686
7687 * vc-svn.el (vc-svn-program): New var.
7688 (vc-svn-command): Use it.
7689
7690 2007-06-11 Juanma Barranquero <lekktu@gmail.com>
7691
7692 * server.el (server-switch-buffer): Remove redundant check.
7693
7694 2007-06-10 Martin Rudalics <rudalics@gmx.at>
7695
7696 * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
7697 Match against file-name-nondirectory.
7698 Fix text on user customization variables.
7699 Reported by Johan Bockg\e,Ae\e(Brd <bojohan@dd.chalmers.se>.
7700
7701 2007-06-09 Alfred M. Szmidt <ams@gnu.org> (tiny change)
7702
7703 * mail/rmail.el (rmail-movemail-variant-in-use): Fix doc typo.
7704
7705 2007-06-09 Davis Herring <herring@lanl.gov>
7706
7707 * desktop.el (desktop-minor-mode-table): Doc fix.
7708
7709 2007-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7710
7711 * textmodes/css-mode.el (css-navigation-syntax-table):
7712 Use set-char-table-range so it also works in the unicode branch.
7713
7714 2007-06-08 Nick Roberts <nickrob@snap.net.nz>
7715
7716 * help-mode.el (help-xref-forward-stack)
7717 (help-xref-stack-forward-item, help-forward-label): New variables.
7718 (help-forward): New button type.
7719 (help-setup-xref): Initialise help-xref-forward-stack.
7720 (help-make-xrefs): Add forward button, if appropriate.
7721 (help-xref-go-back): Push item on forward stack.
7722 (help-xref-go-forward, help-go-forward): New functions.
7723
7724 2007-06-07 Chong Yidong <cyd@stupidchicken.com>
7725
7726 * dired.el (dired-mode-map): Remove spurious separator.
7727
7728 2007-06-07 Juanma Barranquero <lekktu@gmail.com>
7729
7730 * progmodes/ebrowse.el (ebrowse-draw-file-member-info): Doc fix.
7731
7732 * progmodes/mixal-mode.el (mixal-operation-codes-alist):
7733 * progmodes/idlwave.el (idlwave-one-key-select): Fix typo in docstring.
7734
7735 2007-06-07 Carsten Dominik <dominik@science.uva.nl>
7736
7737 * textmodes/org.el: Version number fixed.
7738
7739 2007-06-07 Glenn Morris <rgm@gnu.org>
7740
7741 * version.el (emacs-copyright): New constant.
7742 * startup.el (fancy-splash-tail): Use emacs-copyright.
7743 * calc/calc-help.el (calc-full-help): Use emacs-copyright.
7744
7745 * emacs-lisp/bytecomp.el (byte-compile-warnings): Add new option
7746 `make-local'.
7747 (byte-compile-warnings-safe-p): Add `make-local'.
7748 (byte-compile-make-variable-buffer-local):
7749 Allow byte-compile-warnings to suppress this warning.
7750
7751 * tutorial.el (tutorial--describe-nonstandard-key): Adjust for new
7752 format of "menu" description.
7753 (tutorial--find-changed-keys): Describe the specific menu a
7754 command is in.
7755
7756 * dframe.el (dframe-frame-parameter, dframe-mouse-event-p):
7757 Rewrite compatibility functions to silence byte-compiler.
7758
7759 2007-06-07 Alfred M. Szmidt <ams@gnu.org> (tiny change)
7760
7761 * mail/rmailsum.el (rmail-summary-save-buffer): New command.
7762 (rmail-summary-mode-map): Add rmail-summary-save-buffer.
7763
7764 2007-06-07 Eric M. Ludlam <eric@siege-engine.com>
7765
7766 * emacs-lisp/checkdoc.el (checkdoc-ispell-lisp-words): Remove "iff".
7767
7768 2007-06-07 Juanma Barranquero <lekktu@gmail.com>
7769
7770 * progmodes/ebrowse.el (ebrowse-member-table):
7771 * textmodes/org.el (org-export-ascii-bullets, org-batch-agenda)
7772 (org-batch-agenda-csv): Fix typos in docstrings.
7773
7774 2007-06-06 Juanma Barranquero <lekktu@gmail.com>
7775
7776 * international/mule-cmds.el (toggle-enable-multibyte-characters)
7777 (sort-coding-systems, search-unencodable-char): Doc fixes.
7778 (coding-system-change-eol-conversion, set-default-coding-systems)
7779 (prefer-coding-system, find-multibyte-characters, princ-list)
7780 (leim-list-entry-regexp, set-input-method, locale-language-names)
7781 (input-method-exit-on-first-char, exit-language-environment-hook)
7782 (locale-charset-language-names): Fix typos in docstrings.
7783
7784 2007-06-06 Juanma Barranquero <lekktu@gmail.com>
7785
7786 * pgg.el (pgg-sign-region, pgg-sign):
7787 * ses.el (ses-call-printer):
7788 * calendar/icalendar.el (icalendar--diarytime-to-isotime):
7789 * textmodes/org.el (org-cycle): Fix typos in docstrings.
7790
7791 2007-06-06 Carsten Dominik <dominik@science.uva.nl>
7792
7793 * textmodes/org.el (org-export-region-as-html)
7794 (org-replace-region-by-html, org-number-to-letters)
7795 (org-table-fedit-finish, org-normalize-color)
7796 (org-table-fedit-ref-right, org-date-to-gregorian)
7797 (org-table-fedit-move, org-table-convert-refs-to-rc)
7798 (org-calendar-holiday, org-table-fedit-toggle-ref-type)
7799 (org-write-agenda, org-colgroup-info-to-vline-list)
7800 (org-agenda-todo-previousset, org-defkey, org-encode-for-stdout)
7801 (org-indent-line-function, org-export-as-html-to-buffer)
7802 (org-store-agenda-views, org-update-mode-line)
7803 (org-find-if, org-delete-all)
7804 (org-table-fedit-convert-buffer, org-emphasize)
7805 (org-uniquify, org-table-fedit-lisp-indent)
7806 (org-table-fedit-scroll, org-get-todo-sequence-head)
7807 (org-table-fedit-scroll-down, org-table-fedit-line-down)
7808 (org-table-fedit-ref-left, org-agenda-export-csv-mapper)
7809 (org-table-fedit-toggle-coordinates, org-dvipng-color)
7810 (org-table-fedit-line-up, org-table-fedit-ref-down)
7811 (org-table-formula-from-user, org-mode-flyspell-verify)
7812 (org-cycle-show-empty-lines, org-ctrl-c-ret)
7813 (org-table-formula-to-user, org-diary-to-ical-string)
7814 (orgtbl-export, org-table-fedit-post-command)
7815 (org-closed-in-range, org-shiftcontrolright)
7816 (org-table-convert-refs-to-an, org-table-hline-and-move)
7817 (org-table-formula-less-p, org-format-table-ascii)
7818 (org-agenda-get-sexps, org-shift-refpart)
7819 (org-diary-sexp-entry, org-time-string-to-absolute)
7820 (org-table-show-reference, org-letters-to-number)
7821 (org-fix-agenda-info, org-table-fedit-ref-up)
7822 (org-table-fedit-shift-reference, org-table-fedit-abort)
7823 (org-closest-date, org-shiftcontrolleft)
7824 (org-at-heading-or-item-p, org-rematch-and-replace)
7825 (org-agenda-todo-nextset, org-export-grab-title-from-buffer):
7826 New functions.
7827 (org-table-edit-scroll-down, org-finish-edit-formulas)
7828 (org-table-edit-next-field, org-abort-edit-formulas)
7829 (org-font-lock-level, org-export-find-first-heading-line)
7830 (org-table-edit-line-down, org-table-edit-backward-field)
7831 (org-edit-formula-lisp-indent, org-table-edit-move)
7832 (org-check-log-option, org-this-word)
7833 (org-table-edit-line-up, org-table-edit-formulas-post-command)
7834 (org-agenda-file-to-end, org-expand-file-name)
7835 (org-fake-empty-table-line, org-table-edit-scroll)
7836 (org-toggle-log-option, org-show-reference): Function removed.
7837 (org-inhibit-invisibility, org-table-formula-make-cmp-string):
7838 New defsubsts.
7839 (org-unmodified, org-batch-store-agenda-views)
7840 (org-batch-agenda-csv): New macro.
7841 (org-agenda-export): New customization group.
7842 (org-agenda-skip-deadline-if-done, org-agenda-remove-tags)
7843 (org-highest-priority, org-agenda-exporter-settings)
7844 (org-log-done-with-time, org-replace-disputed-keys)
7845 (org-format-latex-header, org-export-table-header-tags)
7846 (org-cycle-separator-lines, org-export-table-data-tags)
7847 (org-icalendar-include-sexps)
7848 (org-empty-line-terminates-plain-lists)
7849 (org-log-repeat, org-special-ctrl-a)
7850 (org-table-use-standard-references, org-disputed-keys)
7851 (org-export-skip-text-before-1st-heading, org-agenda-with-colors)
7852 (org-agenda-export-html-style): New option.
7853 (org-allow-auto-repeat, org-agenda-remove-tags-when-in-prefix)
7854 (org-CUA-compatible): Option removed.
7855 (org-agenda-structure, org-sexp-date): New face.
7856 (org-todo-keywords-for-agenda, org-not-done-keywords)
7857 (org-planning-or-clock-line-re, org-agenda-name)
7858 (org-table-colgroup-info, org-todo-sets)
7859 (constants-unit-system, org-clock-mode-line-entry)
7860 (org-mode-line-timer, org-table-current-begin-pos)
7861 (org-todo-keywords-1, org-mode-line-string)
7862 (org-table-clean-did-remove-column, org-table-fedit-map)
7863 (org-clock-heading, org-table-buffer-is-an)
7864 (org-agenda-info, org-done-keywords)
7865 (org-done-keywords-for-agenda, org-todo-heads)
7866 (org-todo-kwd-alist, org-clock-start-time): New variable.
7867 (org-todo-kwd-priority-p, org-edit-formulas-map)
7868 (org-repeat-re, org-todo-kwd-max-priority)
7869 (org-version, org-done-string)
7870 (org-table-clean-did-remove-column-1, org-disputed-keys):
7871 Remove variables.
7872 (org-table-translate-regexp, org-repeat-re, org-version): New consts.
7873 (org-ts-lengths): Constant removed.
7874 (org-follow-gnus-link): Don't ask how many articles to read.
7875 (org-export-find-first-export-line): Rename from
7876 `org-export-find-first-heading'.
7877 Use `org-export-skip-text-before-1st-heading'.
7878 (org-table-fedit-post-command): Rename from
7879 `org-table-edit-formulas-post-command'.
7880 (org-table-fedit-finish): Rename from `org-finish-edit-formulas'.
7881 (org-table-fedit-abort): Rename from `org-abort-edit-formulas'.
7882 (org-table-fedit-lisp-indent): Rename from
7883 `org-edit-formula-lisp-indent'.
7884 (org-table-show-reference): Rename from `org-show-reference'.
7885 (org-table-store-formulas): Use `org-table-formula-less-p'.
7886 (org-table-edit-formulas): Position cursor to current field equation.
7887 (org-update-checkbox-count, org-hide-archived-subtrees)
7888 (org-timestamp-up-day, org-timestamp-down-day)
7889 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
7890 (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
7891 (org-metadown, org-shiftup, org-shiftdown, org-shiftright)
7892 (org-shiftleft, org-ctrl-c-ctrl-c, org-context):
7893 Let `org-on-heading-p' also check for invisible heading.
7894 (org-read-date): Match am/pm times.
7895 (org-eval-in-calendar): Fix default date in prompt.
7896
7897 2007-06-05 Chong Yidong <cyd@stupidchicken.com>
7898
7899 * files.el (auto-mode-alist): Separate "ChangeLog.1" and
7900 "ChangeLog.a" entries, giving the latter lower priority.
7901
7902 2007-06-05 Juanma Barranquero <lekktu@gmail.com>
7903
7904 * faces.el (face-id): If the argument is a face alias,
7905 return the ID of the target face.
7906
7907 2007-06-05 Michael Albinus <michael.albinus@gmx.de>
7908
7909 * net/socks.el (top): Remove unnecessary copyright line.
7910
7911 2007-06-04 Chong Yidong <cyd@stupidchicken.com>
7912
7913 * longlines.el (longlines-auto-wrap): Handle argument correctly.
7914
7915 2007-06-04 Michael Albinus <michael.albinus@gmx.de>
7916
7917 * net/socks.el: New file, taken from w3 repository.
7918 (top): Update Copyright. Don't load cl.el.
7919 (all): Replace `case' by `cond', `string-to-int' by
7920 `string-to-number', and `process-kill-without-query' by
7921 `set-process-query-on-exit-flag'.
7922 (socks-char-int): Remove defalias and all occurrences.
7923
7924 2007-06-04 Juanma Barranquero <lekktu@gmail.com>
7925
7926 * progmodes/compile.el (compilation-find-file, compilation-handle-exit):
7927 Fix typos in docstrings.
7928 (compilation-search-path, compilation-buffer-name-function): Doc fixes.
7929 (compilation-finish-function): Fix typo in obsolescence declaration.
7930
7931 2007-06-03 Sam Steingold <sds@gnu.org>
7932
7933 * progmodes/compile.el: Add TIMESTAMP to the LOC data structure, to
7934 handle unending automatic recompilation of changed files (`omake -P').
7935 (compilation-loop): VISITED is now 5th CDR.
7936 (compilation-next-error-function): Set TIMESTAMP.
7937
7938 2007-06-03 Sam Steingold <sds@gnu.org>
7939
7940 * files.el (kill-buffer-ask): New function.
7941 (kill-some-buffers): Use it.
7942 (kill-matching-buffers): New user command.
7943
7944 2007-06-01 David Kastrup <dak@gnu.org>
7945
7946 * dired.el (dired-recursive-deletes, dired-recursive-copies):
7947 Change default to `top'.
7948
7949 2007-05-31 Richard Stallman <rms@gnu.org>
7950
7951 * dired.el (dired-do-flagged-delete, dired-do-delete): Doc fix.
7952
7953 2007-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7954
7955 * textmodes/css-mode.el: New file.
7956
7957 2007-05-30 Michael Olson <mwolson@gnu.org>
7958
7959 * emacs-lisp/tq.el (tq-queue-pop): Stifle error when a process has
7960 died and we are trying to send a signal to it. The program using
7961 tq.el should periodically check to see whether the process has
7962 died and react appropriately -- this is not the responsibility of
7963 tq.el, and is consistent with the rest of the tq.el source code.
7964
7965 2007-05-29 Martin Rudalics <rudalics@gmx.at>
7966
7967 * textmodes/table.el (table--point-entered-cell-function)
7968 (table--point-left-cell-function):
7969 Bind `inhibit-point-motion-hooks' to t.
7970
7971 2007-05-29 Nikolaj Schumacher <n_schumacher@web.de> (tiny change)
7972
7973 * emacs-lisp/rx.el (rx): Doc fix.
7974
7975 2007-05-28 Juanma Barranquero <lekktu@gmail.com>
7976
7977 * progmodes/idlwave.el (idlwave-routines): Fix typo in docstring.
7978
7979 2007-05-28 Michael Albinus <michael.albinus@gmx.de>
7980
7981 Sync with Tramp 2.0.56.
7982
7983 * net/tramp.el:
7984 * net/tramp-ftp.el:
7985 * net/tramp-smb.el:
7986 * net/tramp-util.el:
7987 * net/tramp-vc.el:
7988 Don't load cl.el, because that pollutes the namespace. Replace cl
7989 macros by their implementations where necessary. Requested by
7990 Richard Stallman <rms@gnu.org>.
7991
7992 * net/tramp.el (top): Make `set-buffer-multibyte' an alias if it
7993 doesn't exist.
7994 (with-parsed-tramp-file-name): Protect debug spec during compilation.
7995 (tramp-handle-insert-directory): Check (featurep 'ls-lisp).
7996 (tramp-file-name-p, tramp-file-name-multi-method)
7997 (tramp-file-name-method, tramp-file-name-user)
7998 (tramp-file-name-host, tramp-file-name-localname): New defuns,
7999 replacing defstruct `tramp-file-name'.
8000 (tramp-handle-file-remote-p, tramp-completion-dissect-file-name1)
8001 (tramp-dissect-file-name, tramp-dissect-multi-file-name):
8002 Apply `vector' instead of `make-tramp-file-name'.
8003 (tramp-handle-make-auto-save-file-name):
8004 Apply `tramp-temporary-file-directory' for compatibility reasons.
8005 (tramp-completion-mode): Use `natnump' instead of `wholenump'
8006 because of XEmacs.
8007 (tramp-completion-mode): `last-input-event' is nil when XEmacs is
8008 started.
8009
8010 2007-05-28 Chong Yidong <cyd@stupidchicken.com>
8011
8012 * textmodes/sgml-mode.el (sgml-point-entered): Use condition-case.
8013
8014 2007-05-27 Tetsurou Okazaki <okazaki@be.to> (tiny change)
8015
8016 * log-edit.el (log-edit-changelog-paragraph): Return point-max
8017 as the end of the ChangeLog paragraph when it ends without a line
8018 termination.
8019
8020 2007-05-27 Ryan Yeske <rcyeske@gmail.com>
8021
8022 * net/webjump.el (webjump-sample-sites):
8023 Add simple Wikipedia query.
8024
8025 2007-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8026
8027 * emacs-lisp/derived.el (define-derived-mode): Remove bogus
8028 compatibility code.
8029
8030 * emacs-lisp/copyright.el (copyright-names-regexp): New var.
8031 (copyright-update-year): Use it.
8032
8033 * edmacro.el (edmacro-format-keys): Use current-active-maps.
8034
8035 * ediff-init.el (ediff-defvar-local, ediff-with-current-buffer):
8036 Add indentation and debugging info. Fix up comment convention.
8037
8038 * cus-dep.el (custom-make-dependencies): Simplify.
8039
8040 * composite.el (compose-region, decompose-region):
8041 Use inhibit-read-only and restore-buffer-modified-p.
8042
8043 * xt-mouse.el (xterm-mouse-truncate-wrap): New function.
8044 (xterm-mouse-event): Use it.
8045
8046 2007-05-25 Juanma Barranquero <lekktu@gmail.com>
8047
8048 * bs.el (bs-cycle-previous): Don't modify the cycle list until
8049 `switch-to-buffer' has returned succesfully.
8050 (bs-cycle-next): Ditto. Also, don't bury the buffer when the
8051 window is dedicated (it could iconify the frame).
8052
8053 2007-05-25 Miles Bader <miles@fencepost.gnu.org>
8054
8055 * vc-hooks.el (vc-find-root): Fix file attribute test.
8056
8057 2007-05-24 Richard Stallman <rms@gnu.org>
8058
8059 * textmodes/flyspell.el (flyspell-correct-word-before-point):
8060 Don't let opoint be nil.
8061 (flyspell-emacs-popup): Explicit error if no dialogs.
8062
8063 2007-05-24 Chong Yidong <cyd@stupidchicken.com>
8064
8065 * image-mode.el (image-forward-hscroll, image-backward-hscroll)
8066 (image-next-line, image-previous-line, image-scroll-up)
8067 (image-scroll-down, image-bol, image-eol, image-bob, image-eob):
8068 New functions.
8069 (image-mode-map): Remap motion commands.
8070 (image-mode-text-map): New keymap for viewing images as text.
8071 (image-mode): Use image-mode-map.
8072 (image-toggle-display): Toggle auto-hscroll-mode and mode keymaps.
8073
8074 2007-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8075
8076 * textmodes/fill.el (canonically-space-region): Make the second arg
8077 a marker if it's not already the case.
8078
8079 2007-05-23 Eli Zaretskii <eliz@gnu.org>
8080
8081 * tar-mode.el (tar-header-block-summarize, tar-summarize-buffer)
8082 (tar-get-descriptor): Handle type 55, an extended pax header.
8083
8084 2007-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8085
8086 * autoinsert.el (auto-insert-alist): Quote elisp sample code so as not
8087 to confuse outline-minor-mode.
8088
8089 2007-05-23 Eli Zaretskii <eliz@gnu.org>
8090
8091 * tar-mode.el (tar-file-name-handler): New function.
8092 (tar-extract): Bind file-name-handler-alist to it to force
8093 find-buffer-file-type-coding-system behave as if the file being
8094 extracted existed. Use last-coding-system-used to force
8095 buffer-file-coding-system to what decode-coding-region actually
8096 used to decode the file.
8097
8098 2007-05-23 Nikolaj Schumacher <n_schumacher@web.de> (tiny change)
8099
8100 * progmodes/compile.el (compilation-handle-exit):
8101 `compilation-finish-function' may change the current buffer.
8102
8103 2007-05-22 Richard Stallman <rms@gnu.org>
8104
8105 * files.el (set-auto-mode): Doc fix.
8106
8107 2007-05-22 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
8108
8109 * help-fns.el (find-source-lisp-file): New function.
8110 (describe-function-1): Use find-source-lisp-file to find source
8111 file in compile tree.
8112
8113 2007-05-22 Eli Zaretskii <eliz@gnu.org>
8114
8115 * dos-w32.el (find-buffer-file-type-coding-system): Doc fix.
8116
8117 2007-05-22 Juanma Barranquero <lekktu@gmail.com>
8118
8119 * emacs-lisp/easy-mmode.el (define-minor-mode)
8120 (easy-mmode-define-navigation): Fix typos in docstrings.
8121
8122 2007-05-22 Glenn Morris <rgm@gnu.org>
8123
8124 * files.el (auto-mode-alist): Open `.asd' files in lisp-mode.
8125
8126 2007-05-22 Katsumi Yamaoka <yamaoka@jpl.org>
8127
8128 * mail/mail-extr.el (mail-extract-address-components):
8129 Recognize non-ASCII characters except for NBSP as words.
8130
8131 2007-05-21 Trent Buck <trentbuck@gmail.com> (tiny change)
8132
8133 * net/rcirc.el (rcirc-fill-column): Allow `window-width'.
8134 (rcirc-print): Handle `window-width'.
8135 (rcirc-buffer-maximum-lines): Doc fix.
8136
8137 2007-05-21 Chong Yidong <cyd@stupidchicken.com>
8138
8139 * image-mode.el (image-toggle-display): Don't clear image cache.
8140 Only use filename in image spec if the file is readable.
8141 Call image-refresh.
8142
8143 * image.el (image-type-from-file-name, image-type): Simplify.
8144 (image-type-auto-detected-p): Don't scan auto-mode-alist.
8145
8146 * files.el (magic-mode-alist): Remove image-type-auto-detected-p.
8147 (magic-fallback-mode-alist): Add image-type-auto-detected-p.
8148
8149 2007-05-20 Nick Roberts <nickrob@snap.net.nz>
8150
8151 * t-mouse.el (t-mouse-mode): Reset t-mouse-mode to nil if there
8152 is an error.
8153
8154 * term/linux.el (terminal-init-linux): Don't signal an error
8155 if gpm isn't running.
8156
8157 2007-05-20 Nick Roberts <nickrob@snap.net.nz>
8158
8159 * t-mouse.el: Reduce to a minor-mode macro call.
8160 (t-mouse-mode): Remove the lighter.
8161
8162 * term/linux.el (terminal-init-linux): Enable t-mouse by default.
8163
8164 2007-05-19 Dan Nicolaescu <dann@ics.uci.edu>
8165
8166 * files.el (auto-mode-alist): Change the regexp so that
8167 ChangeLog.unicode and ChangeLog.multi-tty use change-log-mode.
8168
8169 2007-06-02 Chong Yidong <cyd@stupidchicken.com>
8170
8171 * Version 22.1 released.
8172
8173 2007-05-19 Chong Yidong <cyd@stupidchicken.com>
8174
8175 * paren.el (show-paren-function): Undo 2007-04-19 and 2007-04-20
8176 changes.
8177
8178 2007-05-19 Kevin Ryde <user42@zip.com.au>
8179
8180 * info.el (Info-fontify-node): Fontify https as well as http and ftp.
8181
8182 2007-05-18 Thien-Thi Nguyen <ttn@gnuvola.org>
8183
8184 * textmodes/sgml-mode.el: Revert last change.
8185
8186 2007-05-18 Richard Stallman <rms@gnu.org>
8187
8188 * simple.el (push-mark): Doc fix.
8189
8190 2007-05-18 Rob Riepel <riepel@Stanford.EDU>
8191
8192 * emulation/tpu-edt.el (CSI-map, SS3-map): Move from global-map to
8193 tpu-global-map.
8194 (tpu-original-global-map): Variable deleted.
8195 (tpu-control-keys-map): New keymap variable.
8196 (tpu-set-control-keys): Use tpu-reset-control-keys rather than
8197 setting keymapping directly.
8198 (tpu-reset-control-keys): Use tpu-control-keys-map instead of
8199 tpu-global-map.
8200 (tpu-edt-on): Activate the tpu-global-map.
8201 (tpu-edt-off): Deactivate the tpu-global-map.
8202
8203 2007-05-18 Ryan Yeske <rcyeske@gmail.com>
8204
8205 * textmodes/ispell.el (ispell-get-word): Return markers
8206 for start and end positions.
8207 (ispell-word): Assume END is a marker.
8208
8209 2007-05-17 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8210
8211 * printing.el: Group together all XEmacs/Emacs definitions.
8212 (pr-version): New version 6.9.
8213 (pr-global-menubar, pr-menu-char-height, pr-menu-char-width): New funs.
8214 (pr-menu-char-height, pr-menu-char-width): Fix initialization code.
8215 (pr-menu-bind): Fix code.
8216 (pr-e-frame-char-height, pr-e-frame-char-width)
8217 (pr-e-mouse-pixel-position, pr-x-add-submenu, pr-x-event-function)
8218 (pr-x-event-object, pr-x-find-menu-item, pr-x-font-height)
8219 (pr-x-font-width, pr-x-get-popup-menu-response, pr-x-make-event)
8220 (pr-x-misc-user-event-p, pr-x-relabel-menu-item, pr-x-event-x-pixel)
8221 (pr-x-event-y-pixel): Aliases eliminated.
8222 (pr-xemacs-global-menubar): Macro moved.
8223 (current-menubar, current-mouse-event, zmacs-region-stays)
8224 (deactivate-mark, pr-menu-position, pr-menu-state, pr-ps-name-old)
8225 (pr-txt-name-old, pr-ps-utility-old, pr-even-or-odd-old, pr-temp-menu):
8226 Vars moved.
8227 (pr-region-active-p, pr-menu-position, pr-menu-lookup, pr-menu-lock)
8228 (pr-update-mode-line, pr-do-update-menus, pr-menu-alist)
8229 (pr-relabel-menu-item, pr-menu-set-ps-title, pr-menu-set-txt-title)
8230 (pr-menu-set-utility-title, pr-even-or-odd-pages)
8231 (pr-f-set-keymap-parents, pr-f-set-keymap-name, pr-f-read-string)
8232 (pr-keep-region-active, pr-menu-get-item, pr-menu-set-item-name): Funs
8233 moved.
8234
8235 2007-05-17 Christian Plate <cplate@web.de> (tiny change)
8236
8237 * textmodes/sgml-mode.el (sgml-tag):
8238 Fix bug: Call sgml-transformation-function.
8239
8240 2007-05-17 Martin Rudalics <rudalics@gmx.at>
8241
8242 * hilit-chg.el (highlight-changes-rotate-faces): Don't set
8243 modified flag of buffer. Use `inhibit-modification-hooks'.
8244
8245 2007-05-16 Richard Stallman <rms@gnu.org>
8246
8247 * buff-menu.el (Buffer-menu-sort-column): Doc fix.
8248
8249 2007-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
8250
8251 * files.el (magic-mode-alist, magic-fallback-mode-alist):
8252 Move the *ml, Postscript, and XmCD entries to the fallback part.
8253
8254 * files.el (magic-fallback-mode-alist):
8255 Rename from file-start-mode-alist.
8256
8257 2007-05-16 Nikolaj Schumacher <n_schumacher@web.de> (tiny change)
8258
8259 * progmodes/compile.el (compilation-handle-exit): Quote first
8260 argument of `run-hook-with-args'.
8261
8262 2007-05-16 Juanma Barranquero <lekktu@gmail.com>
8263
8264 * buff-menu.el (Buffer-menu-sort-column):
8265 * dabbrev.el (dabbrev-upcase-means-case-search):
8266 * dired.el (dired-recursive-deletes, dired-recursive-copies):
8267 * info.el (Info-current-subfile):
8268 * ls-lisp.el (ls-lisp-verbosity):
8269 * msb.el (msb-menu-cond):
8270 * pcvs.el (cvs-dired-use-hook):
8271 * simple.el (set-mark-command-repeat-pop):
8272 * time.el (display-time-24hr-format, display-time-mail-file):
8273 Doc fixes.
8274
8275 * tutorial.el (get-lang-string, tutorial--find-changed-keys):
8276 * printing.el (pr-ps-fast-fire): Fix typos in docstrings.
8277
8278 * view.el (view-inhibit-help-message): Fix typo in docstring.
8279 (view-scroll-auto-exit, view-try-extend-at-buffer-end): Doc fixes.
8280
8281 2007-05-16 Martin Rudalics <rudalics@gmx.at>
8282
8283 * textmodes/ispell.el (ispell-start-process): Defend against bad
8284 default-directory.
8285
8286 2007-05-14 Eli Zaretskii <eliz@gnu.org>
8287
8288 * mail/rmail.el (rmail-convert-to-babyl-format): Check
8289 content-transfer-encoding _last_, because it's its position that
8290 we need as value of base64-header-field-end.
8291
8292 2007-05-14 Juanma Barranquero <lekktu@gmail.com>
8293
8294 * files.el (mode-require-final-newline, require-final-newline)
8295 (enable-local-variables, enable-local-eval): Doc fixes.
8296
8297 2007-05-13 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8298
8299 * ps-print.el: Use default color when foreground or background color
8300 are unspecified. Reported by Leo <sdl.web@gmail.com>.
8301 (ps-print-version): New version 6.7.4.
8302 (ps-rgb-color): New argument. Use default color when color is
8303 unspecified.
8304 (ps-begin-job): Fix code.
8305
8306 2007-05-12 Chong Yidong <cyd@stupidchicken.com>
8307
8308 * longlines.el (longlines-mode): Make longlines-auto-wrap
8309 buffer-local. Add hooks unconditionally.
8310 (longlines-auto-wrap): Toggle wrapping.
8311 (longlines-after-change-function)
8312 (longlines-post-command-function): Check longlines-auto-wrap.
8313
8314 2007-05-12 Nick Roberts <nickrob@snap.net.nz>
8315
8316 * xt-mouse.el (xterm-mouse-debug-buffer): New variable.
8317 (xterm-mouse-translate): Use it.
8318
8319 2007-05-10 Richard Stallman <rms@gnu.org>
8320
8321 * international/iso-cvt.el (iso-cvt-read-only): Ignore arguments.
8322 (iso-cvt-write-only): Likewise.
8323
8324 * emacs-lisp/easy-mmode.el (define-minor-mode):
8325 Fix generated doc string.
8326
8327 * startup.el (fancy-splash-text): Add URL of guided tour.
8328 Adjust horizontal and vertical whitespace.
8329
8330 * progmodes/compile.el (compilation-handle-exit):
8331 Use run-hook-with-args to run compilation-finish-functions.
8332
8333 * files.el (file-start-mode-alist): New variable.
8334 (magic-mode-regexp-match-limit): Doc fix.
8335 (set-auto-mode): Handle file-start-mode-alist.
8336 A little cleanup of structure.
8337
8338 * dabbrev.el (dabbrev-eliminate-newlines):
8339 Renamed from dabbrev--eliminate-newlines. All uses changed.
8340
8341 2007-05-10 Micha\e,Ak\e(Bl Cadilhac <michael@cadilhac.name>
8342
8343 * man.el (Man-next-section): Don't consider the last line of the page
8344 as being part of any section.
8345
8346 2007-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
8347
8348 * textmodes/sgml-mode.el (sgml-value): Fix handling of attributes which
8349 can take any number of values.
8350
8351 2007-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8352
8353 * textmodes/tex-mode.el (tex-font-lock-keywords-2): Add citet and citep
8354 to the list of citation commands.
8355
8356 2007-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8357
8358 * vc-hooks.el (vc-find-root): Stop searching when the user changes.
8359
8360 2007-05-09 Edward O'Connor <hober0@gmail.com> (tiny change)
8361
8362 * progmodes/python.el (python-font-lock-keywords)
8363 (python-open-block-statement-p, python-mode): Add support for the new
8364 "with" keyword.
8365
8366 2007-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8367
8368 * diff-mode.el (diff-apply-hunk, diff-test-hunk): Don't do by default
8369 the exact opposite of diff-goto-source.
8370
8371 * emacs-lisp/advice.el (ad-special-forms): Remove.
8372 (ad-special-form-p): Use subr-arity.
8373
8374 * newcomment.el (comment-search-forward): Make sure we search forward.
8375 (comment-enter-backward): Try and distinguish the non-matching case at
8376 EOB from the non-matching case with a missing comment-end-skip for
8377 a 2-char comment ender.
8378 (comment-choose-indent): New function extracted from comment-indent.
8379 Improve the alignment algorithm.
8380 (comment-indent): Use it.
8381
8382 * textmodes/sgml-mode.el (sgml-lexical-context): Add handling of
8383 XML style Processing Instructions.
8384 (sgml-parse-tag-backward): Handle XML-style PIs. Also ensure progress.
8385 (sgml-calculate-indent): Handle `pi' context.
8386
8387 * vc.el: Ensure that update-changelog issues an error when used with
8388 a backend that does not implement it.
8389 (vc-update-changelog-rcs2log): Rename from vc-default-update-changelog.
8390 Remove `backend' argument. Use expand-file-name.
8391 (vc-cvs-update-changelog, vc-rcs-update-changelog): New aliases.
8392
8393 * progmodes/python.el (python-end-of-block): Revert last change.
8394 (python-end-of-statement): Make sure we move *forward*.
8395
8396 2007-05-08 Richard Stallman <rms@gnu.org>
8397
8398 * mail/mailabbrev.el (sendmail-pre-abbrev-expand-hook):
8399 Don't include non-self-insert commands in the exception for `-'.
8400
8401 2007-05-08 David Reitter <david.reitter@gmail.com>
8402
8403 * progmodes/python.el (python-guess-indent): Check non-nullness
8404 before comparing indent against the 2..8 interval.
8405
8406 2007-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8407
8408 * term/mac-win.el (mac-ts-unicode-for-key-event): Check if text is
8409 available.
8410
8411 2007-05-06 Richard Stallman <rms@gnu.org>
8412
8413 * emacs-lisp/eldoc.el (turn-on-eldoc-mode): Doc fix.
8414
8415 2007-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8416
8417 * diff.el (diff): Use buffer-local vars diff-old-file and diff-new-file
8418 rather than storing their value in the revert-buffer function.
8419
8420 2007-05-04 Nick Roberts <nickrob@snap.net.nz>
8421
8422 * t-mouse.el (t-mouse-mode): Do nothing on a graphical display
8423 when disabling t-mouse-mode.
8424
8425 2007-05-01 Davis Herring <herring@lanl.gov>
8426
8427 * calendar/timeclock.el: Update version number.
8428 (timeclock-modeline-display): Mention timeclock-use-display-time
8429 in explanatory message.
8430 (timeclock-in): Fix non-interactive workday specifications.
8431 (timeclock-log): Don't kill the log buffer if it already existed.
8432 Suppress warnings when finding the log. Don't check for a nil
8433 project twice. Run hooks after killing the buffer (if applicable).
8434 (timeclock-geometric-mean): Rename to `timeclock-mean' (it never
8435 was geometric). All uses changed.
8436 (timeclock-generate-report): Support prefix argument.
8437
8438 2007-05-03 Ryan Yeske <rcyeske@gmail.com>
8439
8440 * net/rcirc.el (rcirc-timeout-seconds): Increase to prevent unwanted
8441 disconnections.
8442
8443 2007-05-01 Romain Francoise <romain@orebokech.com>
8444
8445 * dired-x.el: Revert 2007-04-06 change.
8446
8447 2007-04-29 Stephen Berman <Stephen.Berman@gmx.net>
8448
8449 * find-dired.el (find-dired-filter): Propertize all text down to eob.
8450
8451 2007-04-29 Richard Stallman <rms@gnu.org>
8452
8453 * international/mule.el (auto-coding-alist): Add pdf => no-conversion.
8454
8455 2007-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8456
8457 * progmodes/cc-mode.el (c-before-change): Use point-min rather
8458 than 1.
8459
8460 2007-04-28 Richard Stallman <rms@gnu.org>
8461
8462 * progmodes/sh-script.el (sh-mode): Recognize .profile as sh style.
8463
8464 2007-04-28 Nick Roberts <nickrob@snap.net.nz>
8465
8466 * progmodes/gud.el (gud-menu-map): Pdb can't handle SIGINT so
8467 don't put stop on toolbar.
8468
8469 2007-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8470
8471 * vc-hooks.el (vc-ignore-dir-regexp): Add /.../ for the DFS filesystem.
8472
8473 2007-04-28 Eli Zaretskii <eliz@gnu.org>
8474
8475 * makefile.w32-in ($(lisp)/mh-e/mh-loaddefs.el): Use ./mh-e
8476 instead of $(lisp)/mh-e.
8477
8478 2007-04-28 Glenn Morris <rgm@gnu.org>
8479
8480 * image-dired.el (image-dired-cmd-create-thumbnail-options)
8481 (image-dired-cmd-create-temp-image-options): Replace option
8482 +profile "*" with -strip.
8483
8484 2007-04-27 Chong Yidong <cyd@stupidchicken.com>
8485
8486 * textmodes/flyspell.el (flyspell-auto-correct-previous-word):
8487 Use window-start and window-end.
8488
8489 2007-04-27 Andreas Schwab <schwab@suse.de>
8490
8491 * emacs-lisp/sregex.el (sregexq): Fix doc string quoting.
8492
8493 2007-04-27 Eli Zaretskii <eliz@gnu.org>
8494
8495 * textmodes/fill.el (fill-paragraph): Doc fix.
8496
8497 2007-04-26 Luc Teirlinck <teirllm@dms.auburn.edu>
8498
8499 * locate.el (locate-in-alternate-database): Doc fix.
8500
8501 2007-04-26 Glenn Morris <rgm@gnu.org>
8502
8503 * button.el (button): Use underline if supported, else fall back
8504 to color.
8505
8506 * version.el (emacs-version): Increase to 22.1.50.
8507
8508 2007-04-25 Richard Stallman <rms@gnu.org>
8509
8510 * hi-lock.el (hi-lock-file-patterns-policy): Default to `ask'.
8511
8512 2007-04-25 J.D. Smith <jdsmith@as.arizona.edu>
8513
8514 * progmodes/idlwave.el (idlwave-beginning-of-subprogram)
8515 (idlwave-end-of-subprogram): Take optional NOMARK arg to prevent
8516 pushing mark.
8517 (idlwave-current-routine): Don't push mark.
8518
8519 2007-04-25 Mathias Dahl <mathias.dahl@gmail.com>
8520
8521 * image-dired.el (image-dired-display-image): Derive image-type from
8522 filename rather than assuming jpeg, in case no resizing was needed.
8523
8524 2007-04-25 Johan Bockg\e,Ae\e(Brd <bojohan@dd.chalmers.se>
8525
8526 * custom.el (defface): Doc fix.
8527
8528 See ChangeLog.12 for earlier changes.
8529
8530 ;; Local Variables:
8531 ;; coding: iso-2022-7bit
8532 ;; add-log-time-zone-rule: t
8533 ;; End:
8534
8535 Copyright (C) 2007 Free Software Foundation, Inc.
8536
8537 This file is part of GNU Emacs.
8538
8539 GNU Emacs is free software; you can redistribute it and/or modify
8540 it under the terms of the GNU General Public License as published by
8541 the Free Software Foundation; either version 3, or (at your option)
8542 any later version.
8543
8544 GNU Emacs is distributed in the hope that it will be useful,
8545 but WITHOUT ANY WARRANTY; without even the implied warranty of
8546 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8547 GNU General Public License for more details.
8548
8549 You should have received a copy of the GNU General Public License
8550 along with GNU Emacs; see the file COPYING. If not, write to the
8551 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
8552 Boston, MA 02110-1301, USA.
8553
8554 ;; arch-tag: 1e8aa93a-fc6c-4ac3-9b10-1f445e1840af