(vc-resynch-window): Fix mode-line updating.
[bpt/emacs.git] / lisp / ChangeLog
1 2008-05-26 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * vc-dispatcher.el (vc-resynch-window): Fix mode-line updating.
4
5 2008-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6
7 * diff-mode.el (diff-context-mid-hunk-header-re): New const.
8 (diff-font-lock-keywords, diff-context->unified)
9 (diff-reverse-direction, diff-fixup-modifs, diff-sanity-check-hunk)
10 (diff-hunk-text, diff-find-source-location): Use it.
11 (diff-post-command-hook): Let the user edit the hunk headers.
12
13 2008-05-26 Andreas Schwab <schwab@suse.de>
14
15 * vc.el (vc-default-prettify-state-info): Fix formatting of an
16 unknown state.
17
18 * tar-mode.el (tar-summarize-buffer): Comment fix.
19
20 2008-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
21
22 * tar-mode.el (tar-summarize-buffer): Handle GNU Tar @LongLink format.
23
24 2008-05-26 Glenn Morris <rgm@gnu.org>
25
26 * calendar/cal-hebrew.el (diary-ordinal-suffix): Declare for compiler.
27
28 2008-05-25 John Paul Wallington <jpw@pobox.com>
29
30 * proced.el (proced-next-line, proced-previous-line):
31 Avoid calling `next-line' and `previous-line' from Lisp code.
32
33 2008-05-25 Ed Reingold <reingold@emr.cs.iit.edu>
34
35 * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
36 Use diary-ordinal-suffix.
37
38 2008-05-24 Juanma Barranquero <lekktu@gmail.com>
39
40 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-defs)
41 (edebug-all-forms, edebug-eval-macro-args, edebug-save-windows)
42 (edebug-save-displayed-buffer-points, edebug-initial-mode)
43 (edebug-trace, edebug-test-coverage, edebug-continue-kbd-macro)
44 (edebug-print-length, edebug-print-level, edebug-print-circle)
45 (edebug-unwrap-results, edebug-on-error, edebug-on-quit)
46 (edebug-global-break-condition, edebug-sit-for-seconds):
47 Remove spurious * from defcustom docstrings.
48 (edebug-unwrap*, edebug-signal, edebug-eval-display):
49 Improve argument/docstring consistency.
50 (edebug-test-coverage, edebug-gensym, edebug-read)
51 (edebug-top-level-nonstop, edebug-eval-result-list)
52 (edebug-eval-redisplay, edebug-trace): Fix typos in docstring.
53 (edebug-eval-defun, edebug-eval-top-level-form, edebug)
54 (edebug-display-freq-count): Reflow docstrings.
55 (edebug-restore-status): Doc fix.
56
57 2008-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
58
59 * proced.el (proced-header-line): Use the :align-to 0 feature
60 rather than computing the corresponding position manually.
61 (proced-update): Don't hardcode point-min==1.
62
63 2008-05-24 Alan Mackenzie <acm@muc.de>
64
65 * progmodes/cc-mode.el (c-postprocess-file-styles): Throw an error
66 if c-file-style is set to a non-string.
67
68 (c-neutralize-CPP-line): Surround by `save-excursion'.
69 (c-neutralize-syntax-in-CPP): Optimize for speed.
70
71 2008-05-24 Glenn Morris <rgm@gnu.org>
72
73 * Makefile.in (update-elclist): New target, to update ELCFILES.
74 (bootstrap-after): Run update-elclist.
75
76 2008-05-24 Ulf Jasper <ulf.jasper@web.de>
77
78 * icalendar.el (icalendar-version): Increase to "0.19".
79 (icalendar--date-style): New function.
80 (icalendar--datetime-to-diary-date): Doc fix.
81 Use icalendar--date-style.
82 (icalendar--datestring-to-isodate): Doc fix. Handle iso date style.
83 (icalendar--convert-yearly-to-ical)
84 (icalendar--convert-recurring-to-diary): Handle iso date style,
85 use icalendar-date-style.
86
87 2008-05-23 Dan Nicolaescu <dann@ics.uci.edu>
88
89 * vc.el (vc-delete-file): Make sure the buffer is deleted and
90 vc-dir buffers are updated.
91
92 2008-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
93
94 * vc.el (vc-delete-file): Don't try to resynch the buffer.
95
96 2008-05-23 Paul R <paul.r.ml@gmail.com>
97
98 * textmodes/reftex-vars.el (reftex-extra-bindings-prefix): New var.
99 * textmodes/reftex.el (reftex-extra-bindings-map): New var.
100 (reftex-extra-bindings): Use it.
101
102 * progmodes/mixal-mode.el (mixal-mode-map): Move key-bindings
103 away from the user-reserved keys.
104
105 * progmodes/ada-mode.el (ada-mode-extra-map, ada-mode-extra-prefix):
106 New vars.
107 (ada-create-keymap): Use them.
108
109 2008-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
110
111 * emacs-lisp/regexp-opt.el (regexp-opt): Always return
112 a properly-grouped regexp.
113
114 2008-05-23 Juanma Barranquero <lekktu@gmail.com>
115
116 * progmodes/cap-words.el (capitalized-words-mode):
117 Fix typos in docstring.
118
119 2008-05-23 Kenichi Handa <handa@m17n.org>
120
121 * international/mule-conf.el: Don't define the charset `emacs'
122 here, just put :docstring, :short-name, and :long-name.
123
124 2008-05-22 Kenichi Handa <handa@m17n.org>
125
126 * international/mule-diag.el (font-show-log): Limit each listing
127 to 20 items.
128
129 2008-05-23 Nick Roberts <nickrob@snap.net.nz>
130
131 * progmodes/gdb-ui.el (gdb-enable-debug): New function.
132 (gdb-annotation-rules): New entry for "thread-changed".
133 (gdb-thread-changed): New function.
134
135 2008-05-23 Glenn Morris <rgm@gnu.org>
136
137 * Makefile.in (SOURCES): Remove, unused.
138 (lisptagsfiles1, lisptagsfiles2): Use '*' rather than '[a-zA-Z]*'.
139 (TAGS, TAGS-LISP): Use a single rule with multiple targets.
140 Exclude more '*loaddefs' files.
141 (compile-always): Simplify '.elc' deletion.
142
143 2008-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
144
145 * vc-bzr.el (vc-bzr-annotate-time): Reduce memory allocation.
146 (vc-bzr-revision-completion-table): Handle `boundaries' argument.
147
148 * minibuffer.el (completion-boundaries): Change calling
149 convention, so `string' has the same semantics as in
150 try-completion and all-completions.
151 (completion-table-with-context, completion--embedded-envvar-table)
152 (completion--file-name-table)
153 (completion-pcm--find-all-completions): Adjust code accordingly.
154
155 2008-05-22 Chong Yidong <cyd@stupidchicken.com>
156
157 * image-mode.el (image-mode-winprops): Add argument CLEANUP to
158 prune image-mode-winprops-alist, preventing it from growing
159 indefinitely.
160 (image-mode-reapply-winprops): Use it.
161
162 2008-05-22 Teodor Zlatanov <tzz@lifelogs.com>
163
164 * net/netrc.el (netrc-machine): Always match if the port is not given.
165
166 2008-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
167
168 * minibuffer.el (completion-pcm--find-all-completions):
169 Don't add pseudo-completions.
170
171 * icomplete.el (icomplete-eoinput): Remove.
172 (icomplete-overlay): New var to replace it.
173 (icomplete-tidy): Rewrite.
174 (icomplete-exhibit): Use an overlay.
175 (icomplete-completions): Use completion-all-sorted-completions.
176 Obey completion-ignore-case.
177
178 * files.el (locate-dominating-file): Accept non-existing argument.
179 (project-find-settings-file): Rewrite, using locate-dominating-file.
180
181 2008-05-22 Kenichi Handa <handa@m17n.org>
182
183 * faces.el (font-weight-table, font-slant-table, font-width-table):
184 Delete them. Don't call internal-set-font-style-table.
185
186 * international/mule-diag.el (font-show-log): New function.
187
188 * international/fontset.el (script-representative-chars): Add more
189 chars for latin. Add data for symbol.
190 (setup-default-fontset): Add entries for phonetic, armenian, and symbol.
191
192 2008-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
193
194 * minibuffer.el (completion-all-sorted-completions): New var.
195 (completion--flush-all-sorted-completions)
196 (completion-all-sorted-completions): New functions.
197 (minibuffer-force-complete): New command.
198
199 2008-05-21 Glenn Morris <rgm@gnu.org>
200
201 * files.el (c-postprocess-file-styles): Declare for compiler.
202
203 * Makefile.in: Allow for parallel byte-compiling.
204 (ELCFILES): New variable.
205 (.el.elc): Remove prerequisites from suffix rule. Print a message.
206 (compile-first, compile-main, compile-last): New targets.
207 (compile-always): Simplify - delete .elc files, then `make compile'.
208
209 * Makefile.in (compile-calc): Use glob rather than find.
210 ($(lisp)/progmodes/cc-mode.elc): Use $@.
211
212 * eshell/esh-module.el: No need for cl when compiling.
213
214 * eshell/eshell.el (eshell-defgroup): New alias.
215 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
216 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
217 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
218 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
219 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
220 * eshell/em-xtra.el: Use eshell-defgroup rather than defgroup.
221 Autoload the custom group. Set generated-autoload-file.
222 * eshell/em-basic.el, eshell/esh-module.el: Require eshell,
223 for eshell-defgroup.
224 * eshell/esh-module.el (eshell-load-defgroups): Remove.
225 Require esh-groups rather than loading it.
226
227 2008-05-21 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
228
229 * proced.el (proced-header-line): New variable and new function.
230 (proced-mode): Set header-line-format.
231 (proced-update): Set proced-header-line.
232 (proced-send-signal): Use proced-header-line.
233
234 2008-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
235
236 * macros.el (insert-kbd-macro): Use prin1-char.
237
238 2008-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
239
240 * minibuffer.el (completion-boundaries): New function.
241 (completion--some): Delay errors.
242 (complete-with-action, completion-table-with-context):
243 Handle `boundaries' case.
244 (completion--try-word-completion): Avoid partial-completion
245 when the user hasn't entered anything yet.
246 (minibuffer-local-map, minibuffer-local-filename-completion-map)
247 (minibuffer-local-must-match-map, minibuffer-local-completion-map)
248 (minibuffer-local-must-match-filename-map, minibuffer-local-ns-map):
249 Setup default keybindings.
250 (completion--embedded-envvar-re): New var.
251 (completion--embedded-envvar-table): Use it. Handle `boundaries' case.
252 (completion--file-name-table): Handle `boundaries' case.
253 (completion-pcm--pattern->regex): Avoid pathological backtracking.
254 (completion-pcm--all-completions): Add a `prefix' arg.
255 (completion-pcm--find-all-completions): New function.
256 (completion-pcm-all-completions, completion-pcm-try-completion):
257 Use it.
258
259 * icomplete.el (icomplete-completions): Don't use `predicate' with
260 a table of a different type than `candidates'.
261
262 2008-05-20 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
263
264 * proced.el (proced-goal-column): Rename from proced-procname-column.
265 (proced-goal-header-re): Rename from proced-procname-column-regexp.
266 (proced-move-to-goal-column): Rename from proced-move-to-procname.
267 (proced-header-face, proced-header-regexp): Remove.
268 (proced-font-lock-keywords): Remove proced-header-face.
269 (proced-header-alist, proced-sorting-schemes-re): New variables.
270 (proced): Rename Proced buffer to *Proced*.
271 (proced-next-line, proced-previous-line): New commands.
272 (proced-do-mark, proced-do-mark-all, proced-toggle-marks)
273 (proced-hide-processes): Do not treat first line as special.
274 (proced-header-space): New function.
275 (proced-update): Use header-line-format.
276 Initialize proced-header-alist and proced-sorting-schemes-re.
277 Set proced-goal-column. Include proced-command in mode-name.
278 (proced-send-signal): Use header-line-format for *Marked
279 Processes* buffer.
280 (proced-sort): Restrict minibuffer completion to applicable
281 sorting schemes.
282 (proced-sorting-scheme-p): Use proced-sorting-schemes-re.
283
284 2008-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
285
286 * icomplete.el (icomplete-simple-completing-p):
287 Allow icomplete-with-completion-tables to say "use it everywhere".
288 (icomplete-completions): Obey completion-styles. Try to accommodate
289 partial-completion style.
290
291 2008-05-20 Michael Olson <mwolson@gnu.org>
292
293 * files.el (project-find-settings-file): Change concat to
294 expand-file-name.
295
296 2008-05-19 Tom Tromey <tromey@redhat.com>
297
298 * files.el (normal-mode): Call hack-project-variables.
299 (hack-local-variables-confirm): Add 'project' argument.
300 (hack-local-variables-apply): New function.
301 (hack-local-variables): Use it.
302 (project-class-alist, project-directory-alist): New variables.
303 (project-get-alist): New function.
304 (project-collect-bindings-from-alist)
305 (project-collect-binding-list, set-directory-project)
306 (project-find-settings-file, project-define-from-project-file)
307 (hack-project-variables): New functions.
308
309 2008-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
310
311 * emacs-lisp/cl-specs.el (destructuring-bind): Fix spec.
312
313 2008-05-19 Juanma Barranquero <lekktu@gmail.com>
314
315 * faces.el (font-weight-table): Fix typo in docstring.
316
317 2008-05-18 David Hull <david@snap.com> (tiny change)
318
319 * vc-hg.el (vc-hg-annotate-re): Recognize the output of --follow.
320 (vc-hg-annotate-command): Allow white space before version number.
321
322 2008-05-18 Jay Belanger <jay.p.belanger@gmail.com>
323
324 * calc/calc-yank.el (calc-register-alist): New variable.
325 (calc-set-register,calc-get-register,calc-copy-to-register)
326 (calc-insert-register,calc-add-to-register,calc-append-to-register)
327 (calc-prepend-to-register): New functions.
328
329 * calc/calc-ext.el (calc-init-extensions): Add keybindings for
330 `calc-copy-to-register' and `calc-insert-register'.
331 Autoload new register functions.
332
333 * calc/calc-help.el (calc-r-prefix-help): Add help for register
334 functions.
335
336 2008-05-18 Dan Nicolaescu <dann@ics.uci.edu>
337
338 * vc.el (Todo): Add known problems.
339 (vc-dir-backend): New variable.
340 (vc-dir): Set it.
341 (vc-make-backend-object, vc-generic-status-printer)
342 (vc-generic-state, vc-generic-status-fileinfo-extra)
343 (vc-dir-extra-menu): Use it.
344 (vc-generic-dir-headers): Remove, unused.
345
346 * vc-dispatcher.el (vc-dir-previous-directory): Rename from
347 vc-dir-prev-directory for consistency with vc-dir-previous-line.
348 (vc-dir-mode-map): Fix bindings.
349
350 * vc-bzr.el (vc-bzr-after-dir-status): Remove unused binding.
351
352 2008-05-18 Jay Belanger <jay.p.belanger@gmail.com>
353
354 * calc/calc-yank.el (calc-kill): Make sure that only the stack is
355 operated on.
356 (calc-kill-region): Kill entire lines.
357
358 2008-05-17 Glenn Morris <rgm@gnu.org>
359
360 * ezimage.el (ezimage-use-images): Drop support for Emacs < 21 and
361 simplify initial value.
362 (defezimage): Drop support for Emacs without defimage, use a featurep
363 test rather than fboundp when defining, drop with-no-warnings.
364 (ezimage-insert-over-text): Move featurep test inside
365 add-text-properties.
366
367 * elide-head.el (elide-head-headers-to-hide): Handle GPLv3 format.
368
369 * net/tramp.el (top-level): Load auth-source when compiling.
370
371 * progmodes/fortran.el (fortran-font-lock-keywords-2): Add .eqv., .neqv.
372
373 2008-05-17 Andreas Schwab <schwab@suse.de>
374
375 * vc-dispatcher.el (vc-dir-mode-map): Fix M-down and M-up binding.
376
377 2008-05-17 Dan Nicolaescu <dann@ics.uci.edu>
378
379 * vc.el (vc-annotate-show-diff-revision-at-line): Change
380 vc-diff-internal arg to match what vc-deduce-fileseset returns now.
381
382 2008-05-17 Vinicius Jose Latorre <viniciusjl@ig.com.br>
383
384 * menu-bar.el (menu-bar-select-buffer): Reinsert it as msb.el uses it.
385
386 2008-05-17 Jim Meyering <meyering@redhat.com>
387
388 * ido.el (ido-save-history): Do not emit a trailing newline at the
389 end of the ido history file.
390
391 2008-05-16 John Paul Wallington <jpw@pobox.com>
392
393 * vc-dispatcher.el (top-level): Revert previous change: require cl
394 when compiling.
395
396 2008-05-16 Eric S. Raymond <esr@snark.thyrsus.com>
397
398 * vc.el (vc-default-status-printer)
399 (vc-default-prettify-state-info): Enhance the state prettyprinter
400 to deal better with unknown states and indirect through it when
401 painting vc-dir buffers.
402
403 2008-05-16 John Paul Wallington <jpw@pobox.com>
404
405 * vc-dispatcher.el (top-level): Don't require cl when compiling.
406 (vc-dir-mode-map): Fix backquote.
407 (vc-at-event): Doc fix. Use `make-symbol' instead of `gensym'.
408
409 2008-05-16 Michael Albinus <michael.albinus@gmx.de>
410
411 * net/tramp.el (tramp-handle-write-region): Fix check for short track.
412 Reported by Glenn Morris <rgm@gnu.org>.
413
414 2008-05-16 Eric S. Raymond <esr@snark.thyrsus.com>
415
416 * vc.el: Remove my analysis of SCCS/RCS concurrency issues from
417 the end of the file, it was good work at one time but has been
418 stale since 1995 and may now be actively misleading.
419 * vc-cvs.el (vc-cvs-status-extra-headers): Extract and display the
420 CVS repository and module (assumptions for the latter a bit iffy).
421 * vc-svn.el (vc-svn-status-extra-headers): Extract and display the
422 SVN repository.
423
424 2008-05-16 Juanma Barranquero <lekktu@gmail.com>
425
426 * vc-rcs.el (vc-rcs-create-tag):
427 * vc-sccs.el (vc-sccs-create-tag):
428 Fix typo in error message and pass backend arg.
429
430 2008-05-15 Michael Albinus <michael.albinus@gmx.de>
431
432 * net/tramp.el (tramp-file-name-for-operation): Add `make-temp-name'.
433
434 2008-05-15 Teodor Zlatanov <tzz@lifelogs.com>
435
436 * net/tramp.el: Load auth-source library.
437 (tramp-read-passwd): Use it for password, not login.
438
439 2008-05-15 Shigeru Fukaya <shugeru.fukaya@gmail.com>
440
441 * ses.el (ses-goto-print): Use move-to-column rather than forward-char.
442 (ses-print-cell): Use string-width, truncate-string-to-width,
443 delete-region rather than length, substring, delete-char.
444 (ses-setup): Set inhibit-point-motion-hooks to t.
445 Calculate position by actually moving point rather than just using
446 unibyte character length.
447 (ses-mode): Set indent-tabs-mode to nil.
448 (ses-center): Use string-width rather than length.
449
450 2008-05-15 Eric S. Raymond <esr@snark.thyrsus.com>
451
452 * vc-cvs.el, vc-git.el, vc-hg.el, vc-hooks.el, vc-mcvs.el,
453 * vc-rcs.el, vc-sccs.el, vc-svn.el, vc.el:
454 Rename vc-*-create-snapshot and vc-*-retrieve-snapshot to
455 vc-*-create-tag and vc-*-retrieve-tag respectively.
456
457 * vc-dispatcher.el: Fix an incorrect buffer name and remove an
458 unneeded defalias.
459
460 * vc.el, vc-dispatcher.el (vc-dir-menu-map-filter): Move.
461
462 * vc.el, vc-dispatcher.el (vc-dir-menu-map): Remove assumption
463 about buffer names.
464
465 2008-05-15 Glenn Morris <rgm@gnu.org>
466
467 * vc-hooks.el (vc-directory-resynch-file): Fix declaration.
468
469 * org/org-exp.el (org-infojs-options-inbuffer-template):
470 Fix declaration.
471
472 * progmodes/cc-mode.el (declare-function): Add compat definition.
473 (awk-mode-syntax-table, c-awk-unstick-NL-prop): Declare for compiler.
474
475 2008-05-14 Eric S. Raymond <esr@snark.thyrsus.com>
476
477 * vc-dispatcher.el (vc-dispatcher-selection): Change the returned
478 list to a cons so the caller can get back both expanded and
479 unexpanded filesets.
480 * vc.el (vc-deduce-fileseset, vc-next-action, vc-diff-internal)
481 (vc-merge, vc-version-diff, vc-print-log, vc-revert, vc-rollback):
482 Change handling of selection-set returns as required.
483
484 2008-05-15 John Paul Wallington <jpw@pobox.com>
485
486 * add-log.el (top-level): Don't require cl when compiling.
487
488 * arc-mode.el (archive-add-new-member): Use `derived-mode-p'.
489 (archive-*-extract): Use `zerop'
490 (archive-*-write-file-member): Use `or', use `zerop'.
491
492 * diff-mode.el (diff-current-defun): Use `buffer-local-value'.
493
494 * ibuffer.el (ibuffer-assert-ibuffer-mode): New defsubst.
495 (ibuffer-mark-interactive, ibuffer-set-mark)
496 (ibuffer-insert-buffer-line, ibuffer-redisplay-current)
497 (ibuffer-map-lines, ibuffer-switch-format)
498 (ibuffer-update-title-and-summary)
499 (ibuffer-redisplay-engine): Use it.
500
501 * ibuf-ext.el (ibuffer-interactive-filter-by-mode)
502 (ibuffer-set-filter-groups-by-mode, ibuffer-list-buffer-modes)
503 (define-ibuffer-filter mode, define-ibuffer-filter used-mode)
504 (define-ibuffer-sorter major-mode, ibuffer-mark-unsaved-buffers)
505 (ibuffer-mark-read-only-buffers)
506 (ibuffer-mark-dired-buffers): Use `buffer-local-value'.
507
508 * ibuf-macs.el (ibuffer-aif, ibuffer-awhen, ibuffer-save-marks)
509 (define-ibuffer-column, define-ibuffer-sorter)
510 (define-ibuffer-op, define-ibuffer-filter): Add declarations
511 containing indentation specs, replacing equivalent top-level
512 forms that set `lisp-indent-function' properties.
513 (define-ibuffer-op): Use `derived-mode-p'.
514 (define-ibuffer-filter): Remove redundant `concat' call.
515
516 2008-05-14 Michael Albinus <michael.albinus@gmx.de>
517
518 * net/tramp.el (tramp-echo-mark): Update docstring.
519 (tramp-echo-mark-marker): New defconst.
520 (tramp-check-for-regexp): Use it.
521
522 2008-05-14 Eric S. Raymond <esr@snark.thyrsus.com>
523
524 * vc.el (vc-deduce-fileset): Do the right thing when visting a
525 buffer (say, a log buffer or diff buffer) with a vc-dir buffer
526 as parent.
527
528 2008-05-14 John Paul Wallington <jpw@pobox.com>
529
530 * international/mule.el (convert-define-charset-argument):
531 Remove period from end of error message.
532 (coding-system-mnemonic): Doc fix.
533 (ctext-pre-write-conversion): Doc fix.
534
535 2008-05-14 Simon Marshall <simon@gnu.org>
536
537 * obsolete/fast-lock.el (fast-lock-cache-directories): Remove "."
538 from its default value and give it the risky-local-variable
539 property (CVE-2008-2142).
540
541 2008-05-14 Kenichi Handa <handa@m17n.org>
542
543 * language/korean.el ("Korean"): Set `iso639-language'
544 property to `ko'.
545
546 * language/japanese.el ("Japanese"): Set `iso639-language'
547 property to `ja'.
548
549 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
550 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK")
551 ("Chinese-GB18030"): Set `iso639-language' property to `zh'.
552
553 * international/mule-cmds.el (set-language-environment):
554 Set current-iso639-language.
555
556 * international/fontset.el (setup-default-fontset): For kana, han,
557 hangul, and cjk-misc, move an entry with font-spec at the end.
558 (generate-fontset-menu): Exclue fontset-auto* from the list.
559
560 * composite.el (compose-chars-after): Assume that WINDOW is always
561 non-nil.
562
563 * faces.el (font-weight-table, font-slant-table)
564 (font-swidth-table): Declare them by defconst. Change the format
565 of elements. Call internal-set-font-style-table after their
566 declaration.
567 (face-valid-attribute-values): Call font-family-list. Get values
568 for width, weight, and slant from font-xxx-table.
569
570 * cus-face.el (custom-face-attributes): Add "thin" for :weight.
571
572 2008-05-13 John Paul Wallington <jpw@pobox.com>
573
574 * ibuffer.el (ibuffer-buffer-file-name): New function.
575 (define-ibuffer-column filename): Use it.
576
577 * ibuf-ext.el (define-ibuffer-filter filename): Use it.
578
579 2008-05-13 Chong Yidong <cyd@stupidchicken.com>
580
581 * talk.el (talk): Simplify. Pass display arg to talk-add-display
582 as a string.
583 (talk-add-display): Simplify. Accept only string args.
584
585 2008-05-13 Jay Belanger <jay.p.belanger@gmail.com>
586
587 * calc/calc.el (calc-mode-map): Remove old keybinding for `calc-yank'.
588
589 2008-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
590
591 * Makefile.in (bootstrap-prepare): Don't chmod files.
592 (autoloads): Do it here instead, where it's actually needed.
593
594 2008-05-13 Chong Yidong <cyd@stupidchicken.com>
595
596 * tool-bar.el (tool-bar-make-keymap): Account for the optional
597 KEY-BINDING-DATA field in menu-item list.
598
599 2008-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
600
601 * dired.el (dired-read-dir-and-switches): Move things about to use less
602 recursion during macroexpansion.
603
604 * dired.el (dired-read-dir-and-switches): Use read-file-name.
605
606 * dired.el (dired-read-dir-and-switches): Ignore ., .., and
607 completion-ignored-extension directories if there's something else.
608 (dired-mark-if, dired-map-over-marks, dired-readin, dired-revert)
609 (dired-remember-marks, dired-undo, dired-build-subdir-alist)
610 (dired-internal-do-deletions, dired-mark-files-in-region, dired-mark)
611 (dired-toggle-marks, dired-change-marks, dired-unmark-all-files):
612 buffer-read-only -> inhibit-read-only.
613
614 2008-05-12 Eric S. Raymond <esr@snark.thyrsus.com>
615
616 * vc.el (vc-expand-dirs): Stop this function from tossing out
617 explicitly specified files.
618
619 2008-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
620
621 * smerge-mode.el (smerge-apply-resolution-patch): Don't pass nil
622 to `insert'.
623
624 2008-05-12 Dan Nicolaescu <dann@ics.uci.edu>
625
626 * vc.el (vc-annotate-show-diff-revision-at-line): Remove incorrect
627 cons. Use vc-annotate-backend.
628 (with-vc-file, edit-vc-file): Remove unused macros.
629
630 2008-05-12 Teodor Zlatanov <tzz@lifelogs.com>
631
632 * mail/smtpmail.el: Add autoload for `auth-source-user-or-password'.
633 (smtpmail-try-auth-methods): Use it.
634
635 2008-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
636
637 * emacs-lisp/cl.el (cl-set-nthcdr): Make it a defsubst so that
638 (setf (nthcdr ..) ..) doesn't require CL at runtime.
639
640 2008-05-11 Carsten Dominik <dominik@science.uva.nl>
641
642 * org/org.el (org-modules): Repair problems with loading org-jsinfo.org.
643
644 2008-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
645
646 * vc-bzr.el (vc-bzr-sha1, vc-bzr-command-discarding-stderr)
647 (vc-bzr-revision-completion-table): Use process-file.
648 (vc-bzr-working-revision): Pass relative file names.
649
650 * diff-mode.el (diff-hunk-header-re): Refine the regexp.
651
652 2008-05-11 Juri Linkov <juri@jurta.org>
653
654 * wid-edit.el (widget-image-directory): Change default image data
655 subdirectory from "custom" to "images/custom".
656
657 * info.el (Info-next-preorder): Let-bind `Info-history' to nil
658 before recursive call to `Info-next-preorder' to not add
659 intermediate nodes to the history.
660
661 * isearch.el: Put isearch-scroll property on recenter-top-bottom.
662
663 * emulation/cua-base.el: Put isearch-scroll property
664 on cua-scroll-up and cua-scroll-down.
665
666 2008-05-11 Eric S. Raymond <esr@snark.thyrsus.com>
667
668 * vc-hooks.el (vc-recompute-state): Remove (dead code).
669
670 2008-05-10 Dan Nicolaescu <dann@ics.uci.edu>
671
672 * vc-dispatcher.el (ewoc): Require.
673 (vc-log-edit, vc-buffer-sync): Declare for byte compiler.
674
675 * vc-hg.el (vc-hg-diff, vc-hg-annotate-command): Use when not if.
676
677 2008-05-10 Chong Yidong <cyd@stupidchicken.com>
678
679 * term/w32-win.el (x-colors):
680 * term/mac-win.el (x-colors):
681 * term/x-win.el (x-colors): Re-order colors.
682
683 2008-05-10 Reiner Steib <reiner.steib@gmx.de>
684
685 * smerge-mode.el (smerge-command-prefix): Fix custom type.
686
687 2008-05-10 Eric S. Raymond <esr@snark.thyrsus.com>
688
689 * vc-dispatcher.el (vc-dir-next-directory, vc-dir-prev-directory):
690 New functions implementing motion to next and previous directory.
691
692 * vc-arch.el (vc-arch-command):
693 * vc-bzr.el (vc-bzr-command):
694 * vc-cvs.el (vc-cvs-command):
695 * vc-dispatcher.el (vc-do-command):
696 * vc-git.el (vc-git-command):
697 * vc-hg.el (vc-hg-command):
698 * vc-mcvs.el (vc-mvcs-command):
699 * vc-mtn.el (vc-mtn-command):
700 * vc-sccs.el (vc-sccs-command, vc-sccs-workfile)
701 (vc-sccs-workfile-unchanged-p):
702 * vc-svn.el (vc-svn-command, vc-svn-create-repo),
703 * vc-rcs.el (all methods): Remove assumption about what a nil
704 argument to vc-do-command means. This means no buffer name needs
705 to be hardcoded into the dispatcher layer, and it's better to be
706 explicit anyway.
707
708 * vc-svn.el (vc-svn-dir-state-heuristic): Remove.
709
710 2008-05-10 Dan Nicolaescu <dann@ics.uci.edu>
711
712 * vc.el: Update todo.
713
714 * vc-sccs.el (vc-sccs-dir-status):
715 * vc-rcs.el (vc-rcs-dir-status): Avoid using results from multiple
716 backends and returning up to date files.
717
718 * vc-hooks.el (vc-prefix-map): Remove duplicate binding.
719
720 2008-05-09 Eric S. Raymond <esr@snark.thyrsus.com>
721
722 * vc.el (vc-dir):
723 * vc-hooks.el: Tweak the VC directory bindings. These are now
724 documented in the manual.
725
726 * vc-dispatcher.el (vc-dir-update, vc-dir-parent-marked-p)
727 (vc-dir-children-marked-p): Remove the vc-dir-insert-directories global.
728 (vc-dispatcher-selection-set): Allow callers to pass in an
729 observer flag that says no buffer sync is required.
730 * vc.el (vc-deduce-fileset, vc-print-log, vc-version-diff):
731 Use the observer flag.
732
733 2008-05-09 Michael Albinus <michael.albinus@gmx.de>
734
735 * simple.el (start-file-process): Clarify docstring.
736
737 2008-05-09 Eric S. Raymond <esr@snark.thyrsus.com>
738
739 * vc-sccs.el, vc.svn.el, vc-git.el, vc-hg.el, vc-mtn.el:
740 Remove stub implementations of, and references to, wash-log.
741 * vc-rcs.el (vc-rcs-comment-history):
742 * vc-cvs.el (vc-cvs-comment-history):
743 Inline the code that used to be wash-log.
744
745 * vc-sccs.el (vc-sccs-checkin, vc-sccs-checkout, vc-sccs-rollback)
746 (vc-sccs-revert, vc-sccs-steal-lock, vc-sccs-modify-change-comment)
747 (vc-sccs-print-log, vc-sccs-diff): Grok directories.
748 * vc-rcs.el (vc-sccs-checkin, vc-sccs-checkout)
749 (vc-rcs-revert, vc-rcs-steal-lock, vc-rcs-modify-change-comment)
750 (vc-rcs-print-log): Grok directories.
751
752 2008-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
753
754 * vc.el (vc-mark-resolved): Add `backend' argument.
755 (vc-next-action): Pass it the backend.
756 (vc-next-action, vc-checkout, vc-mark-resolved, vc-version-diff)
757 (vc-merge, vc-rollback, vc-update, vc-transfer-file, vc-delete-file)
758 (vc-default-comment-history, vc-default-create-snapshot)
759 (vc-default-retrieve-snapshot, vc-default-revert, vc-annotate)
760 (vc-annotate-revision-previous-to-line)
761 (vc-annotate-show-diff-revision-at-line, vc-annotate-warp-revision):
762 * vc-svn.el (vc-svn-checkout):
763 * vc-mcvs.el (vc-mcvs-checkout):
764 * vc-hooks.el (vc-state, vc-default-workfile-unchanged-p)
765 (vc-working-revision, vc-before-save, vc-mode-line):
766 Prefer vc-call-backend to vc-call so as not to recompute the backend.
767
768 * vc.el (vc-deduce-fileset): Don't require the checkout-model and the
769 state to be consistent since it's often an unwarranted restriction.
770 Don't return the state either.
771 (vc-next-action): Check that the state is consistent.
772 (vc-diff-internal, vc-version-diff, vc-print-log, vc-revert)
773 (vc-rollback, vc-update): Adapt to new return value of
774 vc-deduce-fileset.
775
776 * vc-dispatcher.el (vc-dispatcher-browsing): Use derived-mode-p.
777 (vc-dir-prepare-status-buffer): Use vc-dispatcher-browsing.
778 (vc-dispatcher-in-fileset-p): New fun.
779 (vc-dispatcher-selection-set): Use it to properly handle directories.
780
781 2008-05-09 Dan Nicolaescu <dann@ics.uci.edu>
782
783 * vc.el (vc-version-diff, vc-print-log, vc-revert, vc-rollback)
784 (vc-update): Remove unused let bindings.
785
786 2008-05-09 Eric S. Raymond <esr@snark.thyrsus.com>
787
788 * vc.el (vc-deduce-fileset, vc-next-action, vc-version-diff)
789 (vc-diff, vc-revert, vc-rollback, vc-update):
790 * vc-dispatcher.el (vc-dispatcher-selection-set):
791 Get rid of 4 special cases in fileset selection. This involved
792 changing the return value of (vc-deduce-fileset) so that it passes
793 back a deduced state as well as a deduced back end.
794
795 2008-05-08 Sam Steingold <sds@gnu.org>
796
797 * progmodes/compile.el (compilation-minor-mode-map)
798 (compilation-mode-map): Bind "g" to recompile and "q" to quit-window.
799 * grep.el (grep-mode-map): Use `set-keymap-parent' to connect it
800 to `compilation-minor-mode-map' (instead of an explicit `cons').
801
802 2008-05-08 Juanma Barranquero <lekktu@gmail.com>
803
804 * org/org.el (org-modules, org-format-latex-options):
805 * org/org-archive.el (org-archive-stamp-time)
806 (org-archive-save-context-info):
807 * org/org-faces.el (org-hide):
808 * org/org-irc.el (org-irc-parse-link):
809 * org/org-macs.el (org-call-with-arg, org-autoload):
810 * org/org-mew.el (org-mew-store-link):
811 * org/org-remember.el (org-remember-store-without-prompt)
812 (org-remember-templates): Fix typos in docstrings.
813
814 * org/org-info.el (org-info-store-link): Remove leftover docstring.
815
816 * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
817 (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
818 (org-bbdb-anniv-split): Fix typos in docstrings.
819
820 * org/org-publish.el (org-publish-project-alist): Doc fixes.
821 (org-publish-use-timestamps-flag): Reflow docstring.
822 (org-publish-files-alist): Fix typos in docstring.
823
824 2008-05-07 Sam Steingold <sds@gnu.org>
825
826 * pcvs-util.el (cvs-bury-buffer): Revert my patch: quit-window
827 appears to be too aggressive with window removal.
828
829 2008-05-08 Michael McNamara <mac@mail.brushroad.com>
830
831 * verilog-mode.el (verilog-type-font-keywords): Add leda and 0in
832 as pragma keywords.
833 (verilog-pretty-expr): Support lining up assignments which include
834 part selects.
835 (verilog-mode): More portable check for the availability of
836 hideshow support.
837 (verilog-do-indent): Remove special indent for declarations inside
838 a parenthetical list. The code is ill-advised, and doesn't work
839 given the new user defined types.
840 (verilog-set-auto-endcomments): Enhance function automatic
841 endcomment to support functions that return user defined types.
842 (verilog-mode): Add code to tell which-function-mode minor mode
843 that Verilog supports this feature.
844
845 2008-05-08 Eli Zaretskii <eliz@gnu.org>
846
847 * epa-file.el: Require epa-hook.
848
849 * loadup.el ("epa-hook"): Load epa-hook instead of epa-file-hook.
850
851 * epa-hook.el: Renamed from epa-file-hook.el, to avoid
852 file-names clashes on 8+3 filesystems. Provide epa-hook.
853
854 * org/org-jsinfo.el: Renamed from org-infojs.el, to avoid
855 file-names clashes on 8+3 filesystems.
856
857 2008-05-08 Carsten Dominik <dominik@science.uva.nl>
858
859 * org/org.el (org-read-date-get-relative): Interpret lone
860 weekday abbreviation as relative to today.
861
862 2008-05-08 Juanma Barranquero <lekktu@gmail.com>
863
864 * abbrev.el (define-abbrev-table):
865 * composite.el (toggle-auto-composition):
866 * json.el (json-alist-p, json-plist-p):
867 * minibuffer.el (completion-table-with-predicate):
868 * ps-mule.el (ps-mule-external-libraries):
869 * emacs-lisp/advice.el (ad-special-form-p):
870 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
871 * eshell/em-smart.el (eshell-review-quick-commands):
872 * progmodes/python.el (python-comment-line-p, python-blank-line-p)
873 (python-skip-out, python-check-comint-prompt):
874 Don't use `iff' in docstrings.
875
876 * international/robin.el (robin-package-alist): Fix typo in docstring.
877 (robin-current-package-name): Doc fix.
878 (robin-activate): Don't use `iff' in docstring.
879
880 2008-05-07 Eric S. Raymond <esr@snark.thyrsus.com>
881
882 * vc.el, vc-dispatcher.el: VC-Dired support removed.
883 The code uses a ewoc-based implementation now.
884 * vc-hooks.el: Support for Meta-CVS has been removed.
885
886 2008-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
887
888 * tool-bar.el: Choose images dynamically.
889 (tool-bar-make-keymap, tool-bar-find-image): New function.
890 (tool-bar-find-image-cache): New var.
891 (tool-bar-local-item, tool-bar-local-item-from-menu):
892 Don't select the image yet, do it later in tool-bar-make-keymap.
893
894 2008-05-07 Andreas Schwab <schwab@suse.de>
895
896 * window.el: Require 'cl when compiling.
897
898 2008-05-07 Dan Nicolaescu <dann@ics.uci.edu>
899
900 * vc-dispatcher.el (vc-dir-insert-directories): Default to t.
901
902 2008-05-07 Glenn Morris <rgm@gnu.org>
903
904 * subr.el (ignore-errors): Move here from cl-macs.el.
905 * emacs-lisp/cl-macs.el (ignore-errors): Move to subr.el.
906
907 * progmodes/fortran.el (fortran-mode): Fix font-lock-syntactic-keywords
908 oddness.
909
910 2008-05-06 Eric S. Raymond <esr@snark.thyrsus.com>
911
912 * vc-hooks.el (vc-find-file-hook):
913 * vc-dispatcher.el (vc-resynch-window): Decouple vc-dispatcher
914 further from vc.el.
915 * vc.el (vc-dir-mode): Move VC-specific context menu entries here.
916
917 2008-05-06 Wilson Snyder <wsnyder@wsnyder.org>
918
919 * verilog-mode.el (verilog-getopt-file): Cleanup warning message format.
920 (verilog-auto, verilog-auto-arg, verilog-auto-ascii-enum)
921 (verilog-auto-inout, verilog-auto-inout-module)
922 (verilog-auto-input, verilog-auto-inst, verilog-auto-inst-param)
923 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
924 (verilog-auto-reg-input, verilog-auto-reset, verilog-auto-sense)
925 (verilog-auto-sense-sigs, verilog-auto-tieoff)
926 (verilog-auto-unused, verilog-auto-wire)
927 (verilog-decls-get-assigns, verilog-decls-get-consts)
928 (verilog-decls-get-gparams, verilog-decls-get-inouts)
929 (verilog-decls-get-inputs, verilog-decls-get-outputs)
930 (verilog-decls-get-ports, verilog-decls-get-regs)
931 (verilog-decls-get-signals, verilog-decls-get-wires)
932 (verilog-dir-cache-lib-filenames, verilog-dir-cache-list)
933 (verilog-dir-cache-preserving, verilog-dir-file-exists-p)
934 (verilog-dir-files, verilog-expand-dirnames, verilog-getopt-file)
935 (verilog-inject-sense, verilog-library-filenames)
936 (verilog-mode-release-date, verilog-mode-version)
937 (verilog-modi-cache-add, verilog-modi-cache-preserve-buffer)
938 (verilog-modi-cache-preserve-tick, verilog-modi-cache-results)
939 (verilog-modi-get-assigns, verilog-modi-get-consts)
940 (verilog-modi-get-gparams, verilog-modi-get-inouts)
941 (verilog-modi-get-inputs, verilog-modi-get-outputs)
942 (verilog-modi-get-ports, verilog-modi-get-regs)
943 (verilog-modi-get-signals, verilog-modi-get-sub-inouts)
944 (verilog-modi-get-sub-inputs, verilog-modi-get-sub-outputs)
945 (verilog-modi-get-wires, verilog-preserve-cache)
946 (verilog-preserve-dir-cache, verilog-preserve-modi-cache)
947 (verilog-read-sub-decls, verilog-read-sub-decls-line)
948 (verilog-read-sub-decls-sig, verilog-subdecls-get-inouts)
949 (verilog-subdecls-get-inputs, verilog-subdecls-get-outputs):
950 Add caching of additional state, and rework signal extraction
951 routines to improve AUTO expansion performance by 300%++.
952
953 2008-05-06 Chong Yidong <cyd@stupidchicken.com>
954
955 * progmodes/compile.el (compilation-error-regexp-alist-alist):
956 Tweak Open Watcom regexp to distinguish between errors and warnings.
957
958 2008-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
959
960 * dired.el (dired-read-dir-and-switches): Fix up last change.
961
962 2008-05-05 Eric S. Raymond <esr@snark.thyrsus.com>
963
964 * vc.el (vc-deduce-fileset): Lift all the policy and UI stuff
965 out of this function, move it to vc-dispatcher-selection-set.
966
967 2008-05-05 Sam Steingold <sds@gnu.org>
968
969 * window.el (delete-other-windows-vertically): New function.
970
971 2008-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
972
973 * dired.el (dired-read-dir-and-switches):
974 Obey read-file-name-completion-ignore-case.
975
976 2008-05-05 Nick Roberts <nickrob@snap.net.nz>
977
978 * progmodes/compile.el (compilation-error-regexp-alist-alist):
979 Add regexp for Open Watcom compiler output.
980
981 2008-05-05 Phil Sung <psung@mit.edu> (tiny change)
982
983 * progmodes/python.el (python-block-pairs): Align finally with except.
984
985 2008-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
986
987 * vc-rcs.el (vc-rcs-fetch-master-state): Fix inf-loop.
988
989 2008-05-05 Tom Tromey <tromey@redhat.com>
990
991 * smerge-mode.el (smerge-start-session): Don't call smerge-next if
992 looking at conflict marker.
993
994 2008-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
995
996 * vc-dispatcher.el (vc-dir-mark-buffer-changed): Fix typo
997 client-mode -> vc-client-object, and guess `funcall' was meant.
998 (vc-dir-mode): Rename client-mode -> vc-client-mode.
999
1000 2008-05-05 Dan Nicolaescu <dann@ics.uci.edu>
1001
1002 * net/zeroconf.el (dbus-call-method, dbus-register-signal)
1003 (dbus-debug): Move declarations outside eval-when-compile.
1004
1005 2008-05-04 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
1006
1007 * proced.el (proced-command-alist): Fix system-type values.
1008 Fix defcustom.
1009 (proced-sorting-schemes-alist, proced-sorting-scheme): New variables.
1010 (proced-sort-pcpu, proced-sort-pmem, proced-sort-pid)
1011 (proced-sort-start, proced-sort, proced-sort-time): New commands.
1012 (proced-update): Use proced-sorting-scheme. Update modeline.
1013 (proced-send-signal): Use nreverse.
1014 (proced-sorting-scheme-p): New function.
1015
1016 2008-05-04 Andreas Schwab <schwab@suse.de>
1017
1018 * vc.el: Require dired when compiling.
1019
1020 * minibuffer.el (completion--insert-strings): Don't delete past bol.
1021
1022 2008-05-03 Glenn Morris <rgm@gnu.org>
1023
1024 * ediff-diff.el, ediff-help.el, ediff-merg.el, ediff-mult.el:
1025 * ediff-ptch.el, ediff-util.el, ediff-wind.el, ediff.el:
1026 Simplify compilation requirements.
1027 * ediff-init.el, ediff-vers.el: Remove unnecessary variable
1028 declarations.
1029
1030 2008-05-03 Dave Love <fx@gnu.org>
1031
1032 * progmodes/python.el (python-beginning-of-statement):
1033 Loop at least once (fixes 2008-02-21 change).
1034
1035 2008-05-03 Eli Zaretskii <eliz@gnu.org>
1036
1037 * ls-lisp.el (ls-lisp-insert-directory): Use `string-width'
1038 instead of `length' for comparing length of user and group names.
1039
1040 2008-05-03 Eric S. Raymond <esr@snark.thyrsus.com>
1041
1042 * vc-dispatcher.el: New file, separates out the UI and command
1043 execution machinery from VCS-specific logic left in vc.el.
1044 The separation is not yet completely clean, but it's a good start.
1045 * vc.el: This file is about 1700 lines shorter now.
1046 Remove obsolete logentry-check from the backend API.
1047 * vc-sccs.el (vc-sccs-logentry-check): Remove. This was the only
1048 implementation of the logentry-check method, and it guarded against
1049 a log length limit that has probably been obsolete for 15 years (!).
1050
1051 2008-05-02 Sam Steingold <sds@gnu.org>
1052
1053 * progmodes/compile.el (compilation-start): Move setting of
1054 compilation-directory after (funcall mode) as that resets local
1055 variables, this fixes recompile in grep buffers.
1056 * grep.el (grep-mode-map): Bind "g" to recompile (like in dired &c).
1057
1058 2008-05-02 Eric S. Raymond <esr@snark.thyrsus.com>
1059
1060 * vc-arch.el, vc-bzr.el, vc-cvs.el, vc-git.el, vc-hg.el,
1061 * vc-hooks.el, vc-mcvs.el, vc-mtn.el, vc-rcs.el, vc-sccs.el,
1062 * vc-svn.el, vc.el (vc-*-checkout-model): Make sure every backend
1063 has one of these and that all are called in compatible ways.
1064 * vc-arch.el, vc-bzr.el, vc-cvs.el, vc-git.el, vc-hg.el,
1065 * vc-hooks.el, vc-mcvs.el, vc-mtn.el, vc-rcs.el, vc-sccs.el,
1066 * vc-svn.el, vc.el (vc-*-revision-granularity): Make sure every
1067 backend has one of these.
1068
1069 2008-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1070
1071 * progmodes/octave-mod.el (octave-abbrev-table): Move defvar and
1072 initialization into define-abbrev-table. Use :regexp.
1073 (octave-mode-syntax-table): Don't set word syntax for `.
1074
1075 * files.el (minibuffer-with-setup-hook): Allow `fun' expressions rather
1076 than only value.
1077
1078 * dired.el (dired-read-dir-and-switches):
1079 Set minibuffer-completing-file-name and call substitute-in-file-name.
1080 (dired-format-columns-of-files): Use completion--insert-strings.
1081
1082 * minibuffer.el (completion-hilit-commonality): Revert last change:
1083 the leftover code was actually useful.
1084 (completion--insert-strings): Use string-width rather than length.
1085
1086 2008-05-02 Sam Steingold <sds@gnu.org>
1087
1088 * vc.el (vc-dir-mode-map): Enable mouse bindings.
1089 (vc-at-event): New macro: run the body at the even location.
1090 (vc-dir-menu, vc-dir-toggle-mark): Use it.
1091 (vc-dir-mark-file, vc-dir-unmark-file): Move only on non-mouse events.
1092 * subr.el (mouse-event-p): Check if the even is mouse-related.
1093
1094 2008-05-02 Nick Roberts <nickrob@snap.net.nz>
1095
1096 * progmodes/gdb-ui.el (gdb-info-breakpoints-custom):
1097 Don't throw error if no file is found.
1098
1099 2008-05-02 Juanma Barranquero <lekktu@gmail.com>
1100
1101 * vc-hooks.el (vc-call, vc-state): Fix typos in docstrings.
1102 (vc-default-state-heuristic): Doc fix.
1103
1104 2008-05-02 Richard Sharman <rsharman@pobox.com>
1105
1106 * hilit-chg.el (highlight-changes-mode): Remove references to
1107 hooks that no longer exist. Because define-minor-mode is used the
1108 hook highlight-changes-mode-hook exists and can do what both the
1109 old hooks used to do. The documentation at the top of the file
1110 was updated to demonstrate this.
1111 (highlight-changes-mode): Remove commented out call to a hook
1112 function that is no longer there.
1113 (hilit-chg-set): Remove running of highlight-changes-enable-hook.
1114
1115 2008-05-02 Eric S. Raymond <esr@snark.thyrsus.com>
1116
1117 * vc.el (vc-default-dired-state-info): Change name of primitive
1118 to prettify-state-info, in preparation for ripping out dired mode.
1119 * vc-bzr.el (vc-bzr-dired-state-info): Change name of primitive
1120 to prettify-state-info, in preparation for ripping out dired mode.
1121 * vc-hooks.el (vc-toggle-read-only): Throw an error when a user
1122 tries this on a version-controlled buffer. It will do useless or
1123 actively bad things on any version control system newer than RCS.
1124 * vc-hooks.el (vc-dired-resynch-file):
1125 * vc.el (vc-dired-resynch-file): Change name of primitive to
1126 vc-directory-resynch-file, preparing to remove dired.
1127
1128 2008-05-02 Dan Nicolaescu <dann@ics.uci.edu>
1129
1130 * vc-rcs.el (vc-rcs-state): Fix typos.
1131
1132 * vc.el (vc-register): Change argument order so that the prefix
1133 argument is assigned correctly.
1134 (vc-next-action, vc-dir-register): Update for the above change.
1135
1136 2008-05-01 Juri Linkov <juri@jurta.org>
1137
1138 * replace.el (occur-read-primary-args): Set default to the car of
1139 regexp-history and display it in the prompt, but don't add to the
1140 list of minibuffer defaults. Bind history-add-new-input to nil to
1141 not add automatically `default'. For empty input return `default'.
1142 Otherwise, add `input' to regexp-history and return it.
1143 (occur-1): Signal an error for the empty regexp.
1144
1145 * progmodes/compile.el (compilation-auto-jump):
1146 Set window point to `pos' explicitly.
1147
1148 2008-05-01 Eric S. Raymond <esr@snark.thyrsus.com>
1149
1150 * vc-bzr.el (vc-bzr-state): Allow this to return 'ignored
1151 when appropriate.
1152 * vc-sccs.el (vc-sccs-state): Call vc-sccs-unregistered so
1153 we report the 'unregistered state reliably.
1154 * vc-rcs.el (vc-rcs-state): Call vc-rcs-unregistered so
1155 we report the 'unregistered state reliably.
1156 * vc-git.el (vc-git-state): Call vc-git-unregistered so
1157 we report the 'unregistered state reliably.
1158 * vc-hooks (vc-state): Document that vc-unregistered is
1159 now expected to be returned reliably.
1160 * vc.el (vc-default-dired-state): Change needs-patch state to
1161 needs-update, since the name now shows up in dir-status listings
1162 and was somewhat misleading.
1163 * vc-cvs.el (vc-cvs-delete-file): Don't do a "cvs commit"
1164 immediately after removing the file.
1165 * vc.el (vc-next-action): More informative messages when a fileset
1166 is in a mixed state or files are missing.
1167
1168 2008-05-01 Sam Steingold <sds@gnu.org>
1169
1170 * vc.el (vc-delete-file): Check if the file has uncommitted changes.
1171
1172 2008-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1173
1174 * Makefile.in: Revert incorrect fix for claimed bootstrap breakage.
1175
1176 2008-05-01 Daiki Ueno <ueno@unixuser.org>
1177
1178 * epa-file-hook.el: New file split from epa-file.el.
1179 * epa-file.el: Require 'epa-file-hook.
1180 (epa-file-handler): Add autoload cookie.
1181 * loadup.el: Load epa-file-hook.
1182 * startup.el (command-line): Eval the body of auto-encryption-mode.
1183
1184 2008-05-01 Dan Nicolaescu <dann@ics.uci.edu>
1185
1186 * vc.el (vc-dir-mode-map): Don't bind "r".
1187
1188 * vc-hg.el (vc-hg-extra-fileinfo): New defstruct.
1189 (vc-hg-status-printer): New function.
1190 (vc-hg-after-dir-status): Deal with copied and renamed files.
1191 (vc-hg-dir-status): Add flag to show copied files.
1192
1193 2008-05-01 John Paul Wallington <jpw@pobox.com>
1194
1195 * ibuffer.el (ibuffer-last-sorting-mode): New variable.
1196 (ibuffer-do-sort-by-recency): Reverse sorting order if last
1197 sorting mode was recency.
1198
1199 * ibuf-macs.el (define-ibuffer-sorter): Define the sorter to
1200 reverse sorting order if last sorting mode was the sorter's.
1201
1202 2008-05-01 Jason Rumney <jasonr@gnu.org>
1203
1204 * w32-fns.el (w32-charset-info-alist): Map vietnamese to windows-1258.
1205
1206 2008-04-30 John Paul Wallington <jpw@pobox.com>
1207
1208 * ibuffer.el (define-ibuffer-column filename): When the major mode
1209 is `vc-dir-mode' show the buffer's default directory.
1210
1211 * ibuf-ext.el (define-ibuffer-filter filename): Likewise when the
1212 major mode is `vc-dir-mode' use the buffer's default directory.
1213
1214 2008-04-30 Sam Steingold <sds@gnu.org>
1215
1216 * vc.el (vc-dir-delete-file): Add.
1217 (vc-dir-mode-map): Bind "r" to vc-dir-delete-file, like in PCL-CVS.
1218 (vc-delete-file): Do not barf when the file has been already deleted.
1219
1220 2008-04-30 Dan Nicolaescu <dann@ics.uci.edu>
1221
1222 * emacs-lisp/lisp-mode.el (lisp-mode-map): Add menu.
1223
1224 2008-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
1225
1226 * progmodes/octave-mod.el (octave-help): New function.
1227 * progmodes/octave-hlp.el: Delete.
1228 * info-look.el (octave-mode): Add operator index.
1229
1230 * vc.el (vc-checkout): Typo.
1231
1232 2008-04-30 Dan Nicolaescu <dann@ics.uci.edu>
1233
1234 * menu-bar.el (menu-bar-tools-menu): Reorder, place Games last.
1235 Add "..." in the appropriate places.
1236
1237 * epa.el (epa-key-list-mode-map): Add more menu entries.
1238 Add "..." in the appropriate places.
1239
1240 * dired.el (dired-mode-map): Add :help.
1241
1242 * vc.el (vc-deduce-fileset): Add new parameter.
1243 (vc-dir-marked-only-files): New function.
1244 (vc-next-action): Don't ignore directories, look at the files
1245 inside them.
1246 (vc-dir-mode): Document how the mark/unmark commands work.
1247
1248 2008-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
1249
1250 * progmodes/compile.el (compilation-error-regexp-alist-alist) <gnu>:
1251 Rule out trailing spaces in file and directory names as well.
1252
1253 * minibuffer.el (completion--do-completion): Move point even if the
1254 completion makes no change.
1255 (completion-pcm-try-completion): Fix computation of new point.
1256
1257 2008-04-30 David Hansen <david.hansen@gmx.net>
1258
1259 * dired.el: Require 'cl.
1260
1261 2008-04-30 Nick Roberts <nickrob@snap.net.nz>
1262
1263 * progmodes/gdb-ui.el (gdb-frame-handler-1): Make overlay arrow
1264 hollow if not in innermost frame.
1265
1266 2008-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
1267
1268 Make `checkout-model' apply to filesets.
1269 * vc-hooks.el (vc-checkout-model): Rewrite.
1270 (vc-before-save, vc-after-save): Adjust callers accordingly.
1271 * vc.el (vc-editable-p, vc-next-action, vc-checkout, vc-update)
1272 (vc-transfer-file): Adjust callers accordingly.
1273 * vc-rcs.el (vc-rcs-checkout-model): Adjust arg.
1274 (vc-rcs-state, vc-rcs-state-heuristic, vc-rcs-receive-file)
1275 (vc-rcs-checkout, vc-rcs-fetch-master-state): Use vc-rcs-checkout-model
1276 instead of vc-checkout-model.
1277 * vc-mcvs.el (vc-mcvs-revert):
1278 Use vc-mcvs-checkout-model i.s.o vc-checkout-model.
1279 * vc-cvs.el (vc-cvs-checkout-model): Adjust arg.
1280 (vc-cvs-revert): Use vc-cvs-checkout-model i.s.o vc-checkout-model.
1281 * vc-svn.el (vc-svn-checkout-model):
1282 * vc-hg.el (vc-hg-checkout-model):
1283 * vc-git.el (vc-git-checkout-model):
1284 * vc-bzr.el (vc-bzr-checkout-model): Adjust arg.
1285
1286 * dired.el (dired-read-dir-and-switches): Replace last change with
1287 a new approach that mixes read-file-name and read-directory-name.
1288
1289 * files.el (read-buffer-to-switch):
1290 Avoid making assumptions about `other-buffer'.
1291
1292 2008-04-29 Sam Steingold <sds@gnu.org>
1293
1294 * vc.el (vc-dir-mode-hook): Add normal hook.
1295 (vc-dir-mode): Run it.
1296
1297 2008-04-29 Nick Roberts <nickrob@snap.net.nz>
1298
1299 * progmodes/gdb-ui.el (gdb-display-buffer): Don't pop up GUD buffer.
1300 Always split windows.
1301 (gdb-speedbar-timer-fn): Only raise frame after user input.
1302 (gdb-same-frame): Reverse initial value.
1303 (gdb-display-gdb-buffer): Check for GUD buffer in other frames.
1304
1305 * progmodes/gud.el (gud-speedbar-buttons): Raise frame in
1306 gdb-speedbar-timer-fn.
1307
1308 2008-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
1309
1310 * uniquify.el (uniquify-rationalize-a-list): Beware of side-effects.
1311
1312 2008-04-29 Daiki Ueno <ueno@unixuser.org>
1313
1314 * epa.el (epa-key-list-mode-map): Add menu.
1315 (epa-delete-keys, epa-import-keys): Fix typo.
1316
1317 2008-04-29 Glenn Morris <rgm@gnu.org>
1318
1319 * find-cmd.el (top-level): Does not need cl when compiling.
1320
1321 2008-04-29 Phil Jackson <phil@shellarchive.co.uk>
1322
1323 * find-cmd.el: New file.
1324
1325 2008-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
1326
1327 * minibuffer.el (completion-hilit-commonality): Remove leftover code.
1328 (completion-pcm--pattern->regex): Let `group' be a list of symbols.
1329 (completion-pcm--hilit-commonality): New function.
1330 (completion-pcm-all-completions): Use it.
1331
1332 * minibuffer.el (completion-common-substring): Mark obsolete.
1333 (completions-first-difference, completions-common-part):
1334 Move from simple.el.
1335 (completion-hilit-commonality): New fun.
1336 (display-completion-list, completion-emacs21-all-completions)
1337 (completion-emacs22-all-completions): Use it.
1338 * simple.el (completions-first-difference, completions-common-part):
1339 Move to minibuffer.el.
1340 (choose-completion-string): Use field functions and minibufferp.
1341 (completion-setup-function): Don't set completions faces.
1342
1343 2008-04-29 Glenn Morris <rgm@gnu.org>
1344
1345 * calendar/calendar.el (calendar-nth-named-absday)
1346 (calendar-nth-named-day):
1347 * calendar/diary-lib.el (diary-list-sexp-entries, diary-float):
1348 * calendar/holidays.el (holiday-float): Doc fixes.
1349
1350 * emacs-lisp/check-declare.el (check-declare-errmsg): Fix counting in
1351 the `full' case.
1352
1353 * org/org-agenda.el (calendar-iso-from-absolute):
1354 * org/org.el (calendar-absolute-from-iso, calendar-iso-from-absolute):
1355 Fix declarations.
1356
1357 2008-04-28 Nick Roberts <nickrob@snap.net.nz>
1358
1359 * progmodes/gdb-ui.el (gdb-info-breakpoints-custom): Make breakpoint
1360 icons work for assembler, i.e. FILE.s, FILE.S (not disassembly).
1361 (gdb-goto-breakpoint): Likewise for visiting breakpoints.
1362 (gdb-assembler-custom): Be careful not to match other addresses.
1363
1364 2008-04-29 Jason Rumney <jasonr@gnu.org>
1365
1366 * battery.el (battery-status-function): Use w32-battery-status
1367 on Windows.
1368 (battery-echo-area-format): Make apm format the general case.
1369 (battery-mode-line-format): Merge apm and pmset formats as the
1370 general case.
1371
1372 2008-04-29 Nick Roberts <nickrob@snap.net.nz>
1373
1374 * progmodes/gdb-ui.el (gdb-info-stack-custom):
1375 Use gud-tool-bar-item-visible-no-fringe.
1376 (gdb-display-buffer): Don't pop new buffer if gud-comint-buffer
1377 is already visible in frame. Remove optional size parameter
1378 and add optional frame parameter.
1379
1380 * progmodes/gud.el (gud-display-line): Only consider visible
1381 frames when looking for source buffer.
1382
1383 2008-04-28 Chong Yidong <cyd@stupidchicken.com>
1384
1385 * doc-view.el (doc-view-new-window-function): Avoid using WINDOW
1386 argument to get-char-property, in case the current buffer hasn't
1387 been assigned to that window yet.
1388 (doc-view-display): Default to selected window if the current
1389 buffer hasn't been assigned to a window yet.
1390
1391 2008-04-28 Vinicius Jose Latorre <bzg@altern.org>
1392
1393 * whitespace.el (whitespace-trailing-regexp): Fix docstring.
1394
1395 2008-04-28 Michael Albinus <michael.albinus@gmx.de>
1396
1397 * net/tramp.el (tramp-mode): New defcustom.
1398 (tramp-file-name-handler, tramp-completion-file-name-handler):
1399 Use it.
1400 (tramp-replace-environment-variables): Handle "$$".
1401
1402 2008-04-28 Sam Steingold <sds@gnu.org>
1403
1404 * vc-hg.el (vc-hg-rename-file): Fix argument order.
1405
1406 2008-04-28 Bastien Guerry <bzg@altern.org>
1407
1408 * whitespace.el (whitespace-trailing): Fix typo.
1409
1410 2008-04-28 Sam Steingold <sds@gnu.org>
1411
1412 * textmodes/remember.el (diary-make-entry): Update the autoload.
1413
1414 2008-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1415
1416 * minibuffer.el (completion-pcm--all-completions): Don't pass nil to
1417 all-completions.
1418
1419 2008-04-28 Juanma Barranquero <lekktu@gmail.com>
1420
1421 * desktop.el (desktop-minor-mode-table): Add `savehist-mode'.
1422
1423 2008-04-27 Dan Nicolaescu <dann@ics.uci.edu>
1424
1425 * vc.el (vc-dir-mode-map): Change bindings for unmark all and revert.
1426 (vc-dir-parent-marked-p, vc-dir-children-marked-p): Implement.
1427 (vc-dir-mark-file): Add an optional argument.
1428 (vc-dir-mark-all-files, vc-dir-unmark-all-files): Deal with directories.
1429
1430 2008-04-27 Daiki Ueno <ueno@unixuser.org>
1431
1432 * epa-file.el (epa-file-enable, epa-file-disable): Use find-file-hook
1433 rather than obsolete alias find-file-hooks.
1434 (auto-encryption-mode): Rename from epa-file-mode. Default to on.
1435 Use find-file-hook rather than obsolete alias find-file-hooks.
1436 Add to find-file-not-found-functions.
1437 (epa-file-handler): Put 'safe-magic and 'operations properties.
1438
1439 * epa.el (epa-global-minor-modes, epa-mode, epa-menu)
1440 (epa-menu-items): Remove.
1441
1442 * epa-dired.el (epa-dired-do-decrypt, epa-dired-do-verify)
1443 (epa-dired-do-sign, epa-dired-do-encrypt): Add autoload cookie.
1444 (epa-dired-mode, epa-global-dired-mode): Remove.
1445
1446 * dired.el (dired-mode-map): Bind encryption/decryption commands.
1447
1448 * menu-bar.el (menu-bar-encryption-decryption-menu): New menu item.
1449
1450 * files.el (insert-file-contents-literally): Inhibit epa-file-handler.
1451
1452 2008-04-27 Glenn Morris <rgm@gnu.org>
1453
1454 * textmodes/reftex-global.el (reftex-isearch-switch-to-next-file):
1455 Remove un-needed local `orig-list'. Replace cl `copy-list'.
1456
1457 2008-04-27 Carsten Dominik <dominik@science.uva.nl>
1458
1459 * org/org.el (org-html-level-start): Always have id's in HTML.
1460 (org-export-as-html): Use `org-link-protocols' to
1461 retrieve the export form of the link.
1462 (org-add-link-type): Final parameter renamed from PUBLISH.
1463 Better documentation of how it is to be used. Avoid double entries for
1464 the same link type.
1465 (org-add-link-props): New function.
1466 (org-modules-loaded): New variable.
1467 (org-load-modules-maybe, org-set-modules): New function.
1468 (org-modules): New option.
1469 (org-mode, org-cycle, orgstruct-mode, org-run-like-in-org-mode)
1470 (orgtbl-mode, org-store-link, org-insert-link-global)
1471 (org-open-at-point): Call `org-load-modules-maybe'.
1472 (org-search-view): Add more text properties.
1473 (org-agenda-schedule, org-agenda-deadline): Allow also in
1474 search-type agendas.
1475 (org-search-view): Order of arguments has been changed.
1476 Interpret prefix-arg as TODO-ONLY.
1477 (org-agenda, org-run-agenda-series, org-agenda-manipulate-query):
1478 Take new argument order of `org-search-view' into account.
1479 (org-todo-only): New variable.
1480 (org-search-syntax-table): New variable and function.
1481 (org-search-view): Do the search with the special syntax table.
1482 (define-obsolete-function-alias): Make work with XEmacs.
1483 (org-add-planning-info): Use old date as default when modifying an
1484 existing deadline or scheduled item.
1485 (org-agenda-compute-time-span): Make argument N optional.
1486 (org-agenda-format-date-aligned): Require `cal-iso'.
1487 (org-agenda-list): Include week into agenda heading, don't
1488 list it at each date (only on Mondays).
1489 (org-read-date-analyze): Define local variable `iso-date'.
1490 (org-agenda-format-date-aligned): Remove dependency on
1491 `calendar-time-from-absolute'.
1492 (org-remember-apply-template, org-go-to-remember-target):
1493 Interpret filenames relative to `org-directory'.
1494 (org-complete): Silently fail when trying to complete
1495 keywords that don't have a default value.
1496 (org-get-current-options): Add a #+DATE: option.
1497 (org-additional-option-like-keywords): Remove "DATE:" from the
1498 list of additional keywords.
1499 (org-export-as-html): Remove (current-time) as unnecessary second
1500 argument of `format-time-string'.
1501 (org-clock-find-position): Handle special case at end of buffer.
1502 (org-agenda-day-view): New argument DAY-OF-YEAR, pass it on to
1503 `org-agenda-change-time-span'.
1504 (org-agenda-week-view): New argument ISO-WEEK, pass it on to
1505 `org-agenda-change-time-span'.
1506 (org-agenda-month-view): New argument MONTH, pass it on to
1507 `org-agenda-change-time-span'.
1508 (org-agenda-year-view): New argument YEAR, pass it on to
1509 `org-agenda-change-time-span'.
1510 (org-agenda-change-time-span): New optional argument N, pass it on
1511 to `org-agenda-compute-time-span'.
1512 (org-agenda-compute-time-span): New argument N, interpret it by
1513 changing the starting day.
1514 (org-small-year-to-year): New function.
1515 (org-scheduled-past-days): Respect `org-scheduled-past-days'.
1516 (org-auto-repeat-maybe): Make sure that repeating dates are pushed
1517 into the future, and that the shift is at least one interval, never 0.
1518 (org-update-checkbox-count): Fix bug with checkbox counting.
1519 (org-add-note): New command.
1520 (org-add-log-setup): Rename from `org-add-log-maybe'.
1521 (org-log-note-headings): New entry for plain notes (i.e. notes not
1522 related to state changes or clocking).
1523 (org-get-org-file): Check for availability of `remember-data-file'.
1524 (org-cached-entry-get): Allow a regexp value for
1525 `org-use-property-inheritance'.
1526 (org-use-property-inheritance): Allow regexp value. Fix bug in
1527 customization type.
1528 (org-use-tag-inheritance): Allow a list and a regexp value for
1529 this variable.
1530 (org-scan-tags, org-get-tags-at): Implement selective tag inheritance.
1531 (org-entry-get): Respect value `selective' for the INHERIT argument.
1532 (org-tag-inherit-p, org-property-inherit-p): New functions.
1533 (org-agenda-format-date-aligned): Allow 10 characters for
1534 weekday, to acomodate German locale.
1535 (org-add-archive-files): New function.
1536 (org-agenda-files): New argument `ext', to get archive files as well.
1537 (org-tbl-menu): Protect the use of variables that
1538 are only available when org-table.el gets loaded.
1539 (org-read-agenda-file-list): Error if `org-agenda-files' is a
1540 single directory.
1541 (org-open-file): Allow a batch process to trigger
1542 waiting after executing a system command.
1543 (org-store-link): Link to headline when there is not
1544 target and no region in an org-mode buffer when creating a link.
1545 (org-link-types-re): New variable.
1546 (org-make-link-regexps): Compute `org-link-types-re'.
1547 (org-make-link-description-function): New option.
1548 (org-agenda-date, org-agenda-date-weekend): New faces.
1549 (org-archive-sibling-heading): New option.
1550 (org-archive-to-archive-sibling): New function.
1551 (org-iswitchb): New command.
1552 (org-buffer-list): New function.
1553 (org-agenda-columns): Also try the #+COLUMNS line in
1554 the buffer associated with the entry at point (or with the first
1555 entry in the agenda view).
1556 (org-modules): Add entry for org-bibtex.el.
1557 (org-completion-fallback-command): Move into `org-completion' group.
1558 (org-clock-heading-function): Move to `org-progress' group.
1559 (org-auto-repeat-maybe): Make sure that a note can
1560 be enforces if `org-log-repeat' is `note'.
1561 (org-modules): Allow additional symbols for external packages.
1562 (org-ctrl-c-ctrl-c): Allow for `org-clock-overlays' to be undefined.
1563 (org-clock-goto): Hide drawers after showing an
1564 entry with `org-clock-goto.'
1565 (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft):
1566 Try also a clocktable block shift.
1567 (org-clocktable-try-shift): New function.
1568 (org-columns-hscoll-title): New function.
1569 (org-columns-previous-hscroll): New variable.
1570 (org-columns-full-header-line-format): New variable.
1571 (org-columns-display-here-title, org-columns-remove-overlays):
1572 Install `org-columns-hscoll-title' in post-command-hook.
1573
1574 * org/org.el: Split into many small files.
1575
1576 * org/org-agenda.el: New file, split off from org.el.
1577
1578 * org/org-archive.el: New file, split off from org.el.
1579
1580 * org/org-bbdb.el: New file.
1581
1582 * org/org-bibtex.el: New file, split off from org.el.
1583
1584 * org/org-clock.el: New file, split off from org.el.
1585
1586 * org/org-colview.el: New file, split off from org.el.
1587
1588 * org/org-compat.el: New file, split off from org.el.
1589
1590 * org/org-exp.el: New file, split off from org.el.
1591
1592 * org/org-faces.el: New file, split off from org.el.
1593
1594 * org/org-gnus.el: New file, split off from org.el.
1595
1596 * org/org-info.el: New file, split off from org.el.
1597
1598 * org/org-infojs.el: New file.
1599
1600 * org/org-irc.el: New file.
1601
1602 * org/org-macs.el: New file, split off from org.el.
1603
1604 * org/org-mew.el: New file.
1605
1606 * org/org-mhe.el: New file, split off from org.el.
1607
1608 * org/org-publish.el: New file, split off from org.el.
1609
1610 * org/org-remember.el: New file, split off from org.el.
1611
1612 * org/org-rmail.el: New file, split off from org.el.
1613
1614 * org/org-table.el: New file, split off from org.el.
1615
1616 * org/org-vm.el: New file, split off from org.el.
1617
1618 * org/org-wl.el: New file, split off from org.el.
1619
1620 2008-04-27 Jason Riedy <jason@acm.org>
1621
1622 * lisp/org-table.el (orgtbl-to-generic): Add a :remove-nil-lines
1623 parameter that supresses lines that evaluate to NIL.
1624 (orgtbl-get-fmt): New inline function for
1625 picking apart formats that may be lists.
1626 (orgtbl-apply-fmt): New inline function for applying formats that
1627 may be functions.
1628 (orgtbl-eval-str): New inline function for strings that may be
1629 functions.
1630 (orgtbl-format-line, orgtbl-to-generic): Use and document.
1631 (orgtbl-to-latex, orgtbl-to-texinfo): Document.
1632 (*orgtbl-llfmt*, *orgtbl-llstart*)
1633 (*orgtbl-llend*): Dynamic variables for last-line formatting.
1634 (orgtbl-format-section): Shift formatting to support detecting the
1635 last line and formatting it specially.
1636 (orgtbl-to-generic): Document :ll* formats. Set to the non-ll
1637 formats unless overridden.
1638 (orgtbl-to-latex): Suggest using :llend to suppress the final \\.
1639 (*orgtbl-table*, *orgtbl-rtn*): Dynamically
1640 bound variables to hold the input collection of lines and output
1641 formatted text.
1642 (*orgtbl-hline*, *orgtbl-sep*, *orgtbl-fmt*, *orgtbl-efmt*)
1643 (*orgtbl-lfmt*, *orgtbl-lstart*, *orgtbl-lend*): Dynamically bound
1644 format parameters.
1645 (orgtbl-format-line): New function encapsulating formatting for a
1646 single line.
1647 (orgtbl-format-section): Similar for each section. Rebinding the
1648 dynamic vars customizes the formatting for each section.
1649 (orgtbl-to-generic): Use orgtbl-format-line and
1650 orgtbl-format-section.
1651 (org-get-param): Now unused, so delete.
1652 (orgtbl-gather-send-defs): New function to
1653 gather all the SEND definitions before a table.
1654 (orgtbl-send-replace-tbl): New function to find the RECEIVE
1655 corresponding to the current name.
1656 (orgtbl-send-table): Use the previous two functions and implement
1657 multiple destinations for each table.
1658
1659 * doc/org.texi (A LaTeX example): Note that fmt may be a
1660 one-argument function, and efmt may be a two-argument function.
1661 (Radio tables): Document multiple destinations.
1662
1663 2008-04-27 Carsten Dominik <dominik@science.uva.nl>
1664
1665 * org/org-agenda.el (org-add-to-diary-list): New function.
1666 (org-prefix-has-effort): New variable.
1667 (org-sort-agenda-noeffort-is-high): New option.
1668 (org-agenda-columns-show-summaries)
1669 (org-agenda-columns-compute-summary-properties): New options.
1670 (org-format-agenda-item): Compute the duration of the item.
1671 (org-agenda-weekend-days): New variable.
1672 (org-agenda-list, org-timeline): Use the proper faces for dates in
1673 the agenda and timeline buffers.
1674 (org-agenda-archive-to-archive-sibling): New command.
1675 (org-agenda-start-with-clockreport-mode): New option.
1676 (org-agenda-clockreport-parameter-plist): New option.
1677 (org-agenda-clocktable-mode): New variable.
1678 (org-agenda-deadline-leaders): Allow a function value for the
1679 deadline leader.
1680 (org-agenda-get-deadlines): Deal with new function value.
1681
1682 * lisp/org-clock.el (org-clock): New customization group.
1683 (org-clock-into-drawer, org-clock-out-when-done)
1684 (org-clock-in-switch-to-state, org-clock-heading-function):
1685 Move into the new group.
1686 (org-clock-out-remove-zero-time-clocks): New option.
1687 (org-clock-out): Use `org-clock-out-remove-zero-time-clocks'.
1688 (org-dblock-write:clocktable): Allow a Lisp form for the scope
1689 parameter.
1690 (org-dblock-write:clocktable): Fix bug with total time calculation.
1691 (org-dblock-write:clocktable): Request the unrestricted list of files.
1692 (org-get-clocktable): New function.
1693 (org-dblock-write:clocktable): Make sure :tstart and :tend can not only
1694 be strings but also integers (an absolute day number) and lists (m d y).
1695
1696 * org/org-colview.el (org-columns-next-allowed-value)
1697 (org-columns-edit-value): Limit the effort for updating in the
1698 agenda to recomputing a single file.
1699 (org-columns-compute): Only write property value if it has changed.
1700 This avoids raising the buffer-change-flag unnecessarily.
1701 (org-agenda-colview-summarize)
1702 (org-agenda-colview-compute): New functions.
1703 (org-agenda-columns): Call `org-agenda-colview-summarize'.
1704
1705 * org/org-exp.el (org-export-run-in-background): New option.
1706 (org-export-icalendar): Allow a batch process to trigger waiting
1707 after executing a system command.
1708 (org-export-preprocess-string): Rename from
1709 `org-cleaned-string-for-export'.
1710 (org-export-html-style): Made target class look like normal text.
1711 (org-export-as-html): Make use of the better proprocessing in
1712 `org-cleaned-string-for-export'.
1713 (org-cleaned-string-for-export): Better treatment of heuristic
1714 targets, many more internal links will now work in HTML export.
1715 (org-get-current-options): Incorporate LINK_UP, LINK_HOME, and INFOJS.
1716 (org-export-inbuffer-options-extra): New variable.
1717 (org-export-options-filters): New hook.
1718 (org-infile-export-plist): Find also the settings keywords in
1719 `org-export-inbuffer-options-extra'.
1720 (org-infile-export-plist): Allow multiple #+OPTIONS lines and
1721 multiple #+INFOJS_OPT lines.
1722 (org-export-html-handle-js-options): New function.
1723 (org-export-html-infojs-setup): New option.
1724 (org-export-as-html): Call `org-export-html-handle-js-options'.
1725 Add autoload to all entry points.
1726 (org-skip-comments): Function removed.
1727
1728 * org/org-table.el (org-table-make-reference): Extra parenthesis
1729 around single fields, to make sure that algebraic formulas get
1730 correctly interpreted by calc.
1731 (org-table-current-column): No longer interactive.
1732
1733 * org/org-export-latex.el (org-export-latex-preprocess):
1734 Rename from `org-export-latex-cleaned-string'.
1735
1736 2008-04-27 Bastien Guerry <bzg@altern.org>
1737
1738 * org/org-publish.el (org-publish-get-base-files-1): New function.
1739 (org-publish-get-base-files): Use it.
1740 (org-publish-temp-files): New variable.
1741 Don't require 'dired-aux anymore.
1742 (org-publish-initial-buffer): New variable.
1743 (org-publish-org-to, org-publish): Use it.
1744 (org-publish-get-base-files-1): Bug fix: get
1745 the proper list of files when recursing thru a directory.
1746 (org-publish-get-base-files): Use the :exclude property to skip
1747 both files and directories.
1748
1749 2008-04-27 Michael Albinus <michael.albinus@gmx.de>
1750
1751 * net/tramp.el (tramp-handle-make-symbolic-link)
1752 (tramp-handle-file-name-directory)
1753 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
1754 (tramp-do-copy-or-rename-file-directly)
1755 (tramp-handle-insert-directory, tramp-handle-expand-file-name)
1756 (tramp-handle-substitute-in-file-name)
1757 (tramp-handle-insert-file-contents, tramp-handle-write-region)
1758 * net/tramp-cache.el (tramp-get-file-property)
1759 (tramp-set-file-property, tramp-flush-file-property)
1760 (tramp-flush-directory-property)
1761 * net/tramp-compat.el (tramp-compat-make-temp-file)
1762 * net/tramp-fish.el (tramp-fish-handle-expand-file-name):
1763 Disable `file-name-handler-alist' when handling localname.
1764 It could have a remote file syntax, like a VMS file name.
1765
1766 2008-04-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1767
1768 * whitespace.el: New version 11.1.
1769 (whitespace-trailing-regexp): Option fix, now trailing regexp must be
1770 enclosed by \\( and \\)$. Docstring fix.
1771 (whitespace-trailing-regexp): Fun removed.
1772 (whitespace-report-list): Const initialization fix.
1773 (whitespace-color-on): Code fix.
1774
1775 2008-04-27 Andreas Schwab <schwab@suse.de>
1776
1777 * Makefile.el: Unbreak bootstrap.
1778
1779 2008-04-27 Michael Albinus <michael.albinus@gmx.de>
1780
1781 * net/tramp.el (tramp-replace-environment-variables): New defun.
1782 (tramp-handle-substitute-in-file-name, tramp-file-name-handler):
1783 Use it.
1784
1785 2008-04-27 Glenn Morris <rgm@gnu.org>
1786
1787 * emacs-lisp/bytecomp.el (byte-compile-file): Doc fix.
1788
1789 * calculator.el (calculator-expt): Replace cl function `oddp'.
1790
1791 2008-04-27 Johan Bockgård <bojohan@gnu.org>
1792
1793 * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
1794 Simplify. Collect `defun' and `autoload' entries.
1795 Avoid modifying load-history.
1796
1797 2008-04-26 Glenn Morris <rgm@gnu.org>
1798
1799 * textmodes/ispell.el (ispell-insert-word): Revert previous change.
1800
1801 * simple.el (quoted-insert, zap-to-char): Revert previous change.
1802
1803 2008-04-26 John Paul Wallington <jpw@pobox.com>
1804
1805 * hexl.el (hexl-mode): Stash `eldoc-documentation-function' in
1806 `hexl-mode-old-eldoc-documentation-function'.
1807 (hexl-mode-exit): Restore it.
1808 (hexl-mode-old-eldoc-documentation-function): Declare for compiler.
1809
1810 * w32-fns.el (top-level): Don't set `completion-ignore-case' to t.
1811
1812 2008-04-26 Juanma Barranquero <lekktu@gmail.com>
1813
1814 * minibuffer.el (completion-pcm-word-delimiters): Add :group.
1815 (completion-pcm--all-completions): Doc fix.
1816 (completion-styles-alist, completion-all-completions):
1817 Fix typos in docstrings.
1818
1819 2008-04-26 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1820
1821 * whitespace.el: There is now only one variable (whitespace-style) to
1822 specify which kind of blank is visualized. Doc and docstring fix.
1823 New version 11.0.
1824 (whitespace-style): New option, replace whitespace-style-mark and
1825 whitespace-style-color.
1826 (whitespace-style-mark, whitespace-style-color): Options removed.
1827 (whitespace-hspace, whitespace-tab, whitespace-newline)
1828 (whitespace-trailing, whitespace-line, whitespace-space-before-tab)
1829 (whitespace-indentation, whitespace-empty, whitespace-space-after-tab)
1830 (whitespace-hspace-regexp, whitespace-space-regexp)
1831 (whitespace-tab-regexp, whitespace-trailing-regexp)
1832 (whitespace-space-before-tab-regexp, whitespace-indentation-regexp)
1833 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
1834 (whitespace-space-after-tab-regexp, whitespace-line-column)
1835 (whitespace-display-mappings, whitespace-report): Docstring fix.
1836 (whitespace-color-value-list, whitespace-mark-value-list)
1837 (whitespace-active-color, whitespace-active-mark)
1838 (whitespace-toggle-color, whitespace-toggle-mark): Vars removed.
1839 (whitespace-style-value-list, whitespace-active-style)
1840 (whitespace-toggle-style): New vars.
1841 (whitespace-toggle-option-alist, whitespace-help-text):
1842 Var initialization and docstring fix.
1843 (whitespace-toggle-options, global-whitespace-toggle-options)
1844 (whitespace-cleanup, whitespace-cleanup-region)
1845 (whitespace-report-region, whitespace-interactive-char)
1846 (whitespace-toggle-list): Docstring and code fix.
1847 (whitespace-insert-option-mark, whitespace-help-on, whitespace-turn-on)
1848 (whitespace-turn-off, whitespace-color-on, whitespace-color-off)
1849 (whitespace-display-char-on, whitespace-display-char-off): Code fix.
1850 (whitespace-style-face-p, whitespace-style-mark-p): New fun.
1851
1852 2008-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1853
1854 * diff-mode.el (diff-hunk-header-re-unified): Allow elided line counts.
1855 (diff-end-of-hunk, diff-unified->context, diff-fixup-modifs)
1856 (diff-sanity-check-hunk): Adjust code accordingly.
1857
1858 2008-04-26 Glenn Morris <rgm@gnu.org>
1859
1860 * abbrev.el (define-abbrev): Don't use `iff' in doc-strings.
1861
1862 * forms-d2.dat: Move to ../etc.
1863 * forms-d2.el (forms-file): Adapt for above change.
1864
1865 * simple.el (quoted-insert, zap-to-char): Remove uses of obsolete
1866 `translation-table-for-input'.
1867
1868 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): New function.
1869 (byte-compile-obsolete, byte-compile-variable-ref): Use it.
1870
1871 * progmodes/fortran.el (fortran-mode-syntax-table): Change `;'
1872 to punctuation now it's not needed for abbrevs.
1873 (fortran-mode-abbrev-table): Remove defvar, make use of new
1874 define-abbrev-table :regexp feature.
1875
1876 * textmodes/ispell.el (ispell-insert-word): Remove, and replace with
1877 insert, now that translation-table-for-input is not needed.
1878
1879 2008-04-26 Johannes Weiner <hannes@saeurebad.de>
1880
1881 * emacs-lisp/pp.el (pp-display-expression): New function,
1882 extracted from pp-eval-expression.
1883 (pp-eval-expression): Use pp-display-expression.
1884 (pp-macroexpand-expression, pp-macroexpand-last-sexp): New functions.
1885 (pp-last-sexp): New function, extracted from pp-eval-last-sexp.
1886 (pp-eval-last-sexp): Use pp-last-sexp.
1887
1888 2008-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1889
1890 * abbrev.el (define-abbrev-table): Apply props even if the table
1891 exists already.
1892
1893 * minibuffer.el (completion-table-with-context): Fix `pred' for the
1894 various kinds of completion tables.
1895 (completion-emacs22-try-completion): Place cursor after the /, as was
1896 done in Emacs-22's minibuffer-complete-word.
1897 Fix bug reported by David Hansen <david.hansen@gmx.net>.
1898 (completion-emacs22-try-completion): Merge all mergable text rather
1899 than just /.
1900 (completion-pcm--delim-wild-regex): New var.
1901 (completion-pcm-word-delimiters): New custom.
1902 (completion-pcm--prepare-delim-re, completion-pcm--pattern-trivial-p)
1903 (completion-pcm--string->pattern, completion-pcm--pattern->regex)
1904 (completion-pcm--all-completions, completion-pcm-all-completions)
1905 (completion-pcm--merge-completions, completion-pcm--pattern->string)
1906 (completion-pcm-try-completion): New functions.
1907 (completion-styles-alist): Add them.
1908 (completion-styles): Add it to the default.
1909
1910 2008-04-25 Nick Roberts <nickrob@snap.net.nz>
1911
1912 * progmodes/gdb-ui.el (gud-watch): Don't create speedbar...
1913 (gdb-var-create-handler): ...until here when there are values.
1914 (gdb-post-prompt): Don't do -var-update with no watch expressions.
1915 (gdb-info-locals-handler): Don't match "struct {...}" as an array.
1916
1917 2008-04-25 Eli Zaretskii <eliz@gnu.org>
1918
1919 * ls-lisp.el (ls-lisp-format): Fix last change.
1920 (ls-lisp-uid-d-fmt, ls-lisp-uid-s-fmt, ls-lisp-gid-d-fmt)
1921 (ls-lisp-gid-s-fmt, ls-lisp-filesize-d-fmt)
1922 (ls-lisp-filesize-f-fmt): New defvars.
1923 (ls-lisp-insert-directory): Dynamically compute format specifiers
1924 for displaying UID, GID, and file size, and store them in the
1925 above variables.
1926 (ls-lisp-format): Use ls-lisp-filesize-f-fmt, ls-lisp-uid-s-fmt,
1927 ls-lisp-uid-d-fmt, ls-lisp-gid-s-fmt, and ls-lisp-gid-d-fmt
1928 instead of constant format strings.
1929 (ls-lisp-format-file-size): Use ls-lisp-filesize-f-fmt and
1930 ls-lisp-filesize-d-fmt instead of constant format strings.
1931
1932 2008-04-24 Nick Roberts <nickrob@snap.net.nz>
1933
1934 * progmodes/gdb-ui.el (gdb-invalidate-assembler): Compare numeric
1935 value of addresses rather than (partial) string value.
1936 (gdb-frame-handler): Change regexp according to above change.
1937 (gdb-breakpoints-mode, gdb-frames-mode, gdb-threads-mode)
1938 (gdb-registers-mode, gdb-memory-mode, gdb-locals-mode)
1939 (gdb-assembler-mode): Disable undo in these buffers.
1940
1941 2008-04-24 Michael Albinus <michael.albinus@gmx.de>
1942
1943 * net/tramp.el (tramp-get-remote-stat): Test whether stat supports %s.
1944 Reported by Loris Bennett <loris.bennett@fu-berlin.de>.
1945
1946 2008-04-24 Sam Steingold <sds@gnu.org>
1947
1948 * textmodes/remember.el (remember-diary-extract-entries): Use
1949 diary-make-entry instead of the obsolete make-diary-entry.
1950
1951 2008-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1952
1953 * subr.el (translation-table-for-input): Mark as obsolete.
1954
1955 * isearch.el (isearch-search-string): Avoid string-bytes and aset.
1956
1957 * international/quail.el (quail-build-decode-map): Avoid string-bytes.
1958
1959 * textmodes/ispell.el (ispell-dictionary-alist-1)
1960 (ispell-dictionary-alist-2, ispell-dictionary-alist-3)
1961 (ispell-dictionary-alist-4, ispell-dictionary-alist-5)
1962 (ispell-dictionary-alist-6): Remove.
1963 (ispell-dictionary-base-alist): New var, merges the above.
1964 (ispell-find-aspell-dictionaries, ispell-set-spellchecker-params):
1965 Use it.
1966 (ispell-dictionary-alist): Default to nil. Remove autoload.
1967 (ispell-local-dictionary-alist): Remove autoload.
1968
1969 * progmodes/f90.el (f90-mode-syntax-table): Don't set ` as word syntax.
1970 (f90-mode-abbrev-table): Use the new :regexp feature.
1971 Merge defvar and mapc into define-abbrev-table.
1972 (f90-imenu-type-matcher): Remove unused `l'.
1973 (f90-imenu-generic-expression): Remove unused `not-ib'.
1974 (f90-prepare-abbrev-list-buffer): Use with-current-buffer.
1975 (f90-change-keywords): Use restore-buffer-modified-p.
1976
1977 2008-04-24 Glenn Morris <rgm@gnu.org>
1978
1979 * net/goto-addr.el (goto-address-prog-mode):
1980 * progmodes/bug-reference.el (bug-reference-prog-mode):
1981 Define for compiler.
1982
1983 * minibuffer.el (x-file-dialog): Declare as function.
1984
1985 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file): Use
1986 dframe-update-speed rather than obsolete alias speedbar-update-speed.
1987
1988 * calendar/cal-menu.el (cal-menu-diary-menu): Fix typo.
1989 (cal-menu-scroll-menu): Use commands rather than key macros, which don't
1990 work with easymenu. Add :keys where needed.
1991
1992 * calendar/cal-move.el (calendar-scroll-left): Handle case when
1993 event-start is nil.
1994
1995 * calendar/calendar.el (calendar-mode-map): Fix typo.
1996
1997 2008-04-24 Tom Tromey <tromey@redhat.com>
1998
1999 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap):
2000 Document keywords. Add :suppress.
2001 * pcvs-defs.el (cvs-mode-map): Use :suppress.
2002
2003 * net/goto-addr.el (goto-address-unfontify): New function.
2004 (goto-address-fontify): Use it. Respect goto-address-prog-mode.
2005 (goto-address-fontify-region, goto-address-mode)
2006 (goto-address-prog-mode): New functions.
2007
2008 * progmodes/bug-reference.el: New file.
2009
2010 2008-04-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2011
2012 * term/mac-win.el (mac-ts-active-input-buf): Move defvar to macterm.c.
2013
2014 2008-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2015
2016 * emacs-lisp/easymenu.el (easy-menu-make-symbol): Don't wrap keyboard
2017 macros within lambdas.
2018
2019 2008-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2020
2021 * minibuffer.el (completion-try-completion): Add `point' argument.
2022 Change return value.
2023 (completion-all-completions): Add `point' argument.
2024 (minibuffer-completion-help): Pass the new `point' argument.
2025 (completion--do-completion): Pass the whole field to try-completion.
2026 (completion--try-word-completion): Rewrite, making fewer assumptions.
2027 (completion-emacs21-try-completion, completion-emacs21-all-completions)
2028 (completion-emacs22-try-completion, completion-emacs22-all-completions)
2029 (completion-basic-try-completion, completion-basic-all-completions):
2030 New functions.
2031 (completion-styles-alist): Use them.
2032
2033 2008-04-23 Agustin Martin <agustin.martin@hispalinux.es>
2034
2035 * ispell.el (ispell-set-spellchecker-params): New function to make sure
2036 right params and dictionary alists are used after spellchecker changes.
2037 (ispell-aspell-dictionary-alist, ispell-last-program-name)
2038 (ispell-initialize-spellchecker-hook): New variables and hook.
2039 (ispell-find-aspell-dictionaries): Use ispell-aspell-dictionary-alist.
2040 (ispell-maybe-find-aspell-dictionaries): Remove.
2041 Calls replaced by (ispell-set-spellchecker-params) calls.
2042 (ispell-have-aspell-dictionaries): Remove.
2043 * flyspell.el: Replace ispell-maybe-find-aspell-dictionaries by
2044 ispell-set-spellchecker-params.
2045
2046 2008-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2047
2048 * complete.el (PC-do-completion): Be more robust in the presence of
2049 unexpected values in minibuffer-completion-predicate.
2050
2051 * minibuffer.el (read-file-name): Don't let-bind default-directory.
2052 Only abbreviate default-filename if it's a file.
2053
2054 * minibuffer.el (read-file-name-function, read-file-name-predicate)
2055 (read-file-name-completion-ignore-case, insert-default-directory):
2056 New vars, moved from fileio.c.
2057 (read-file-name): New fun, moved from fileio.c.
2058 * cus-start.el: Remove insert-default-directory and
2059 read-file-name-completion-ignore-case.
2060
2061 2008-04-23 Magnus Henoch <mange@freemail.hu>
2062
2063 * tar-mode.el (tar-untar-buffer): If the entry has directory
2064 link type, extract it as a directory even if its file name doesn't
2065 end with a slash. Fixes extraction of NetBSD tar archives.
2066
2067 2008-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2068
2069 * server.el (server-start): Also don't get confused by CRs since we
2070 don't quote them.
2071
2072 2008-04-23 Nick Roberts <nickrob@snap.net.nz>
2073
2074 * progmodes/gdb-ui.el (gdb-init-buffer): New function.
2075 (gdb-set-gud-minor-mode-existing-buffers)
2076 (gdb-info-breakpoints-custom, gdb-get-location)
2077 (gdb-set-gud-minor-mode-existing-buffers-1): Use it.
2078 Previously gdb-create-define-alist wasn't always run and added to
2079 after-save-hook.
2080
2081 * progmodes/gud.el (gud-tooltip-tips): Use tooltip-event-buffer.
2082
2083 2008-04-23 Kevin Ryde <user42@zip.com.au>
2084
2085 * progmodes/make-mode.el (makefile-fill-paragraph): Treat indented
2086 comments like unindented ones.
2087
2088 2008-04-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2089
2090 * term/mac-win.el (mac-ae-open-documents): Adjust selection range
2091 parameter origins.
2092
2093 2008-04-23 Kevin Ryde <user42@zip.com.au>
2094
2095 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2096 Bind print-level to ensure output forms aren't truncated if
2097 print-level is set to eval-expression-print-level when going via
2098 eval-defun and friends, or has been otherwise fiddled with.
2099
2100 2008-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2101
2102 * progmodes/cc-mode.el (c-basic-common-init): Don't set
2103 font-lock-extend-after-change-region-function globally.
2104
2105 2008-04-23 Juanma Barranquero <lekktu@gmail.com>
2106
2107 * speedbar.el (speedbar-use-tool-tips-flag)
2108 (speedbar-ignored-directory-regexp, speedbar-file-unshown-regexp)
2109 (speedbar-file-regexp, speedbar-message, speedbar-item-info)
2110 (speedbar-files-item-info, speedbar-maybe-add-localized-support)
2111 (speedbar-insert-files-at-point, speedbar-dynamic-tags-function-list)
2112 (speedbar-generic-list-positioned-group-p, speedbar-insert-generic-list)
2113 (speedbar-fetch-replacement-function, speedbar-extract-one-symbol)
2114 (speedbar-separator-face): Fix typos in docstrings.
2115 (speedbar-stealthy-function-list, speedbar-verbosity-level)
2116 (speedbar-supported-extension-expressions, speedbar-update-current-file)
2117 (speedbar-add-indicator, speedbar-tag-expand): Reflow docstring.
2118 (speedbar-use-imenu-flag, speedbar-ignored-directory-expressions)
2119 (speedbar-directory-unshown-regexp, speedbar-handle-delete-frame)
2120 (speedbar-show-info-under-mouse, speedbar-directory-buttons)
2121 (speedbar-check-vc-this-line, speedbar-files-line-directory)
2122 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
2123 (speedbar-buffers-line-directory, speedbar-recenter-to-top)
2124 (speedbar-recenter): Doc fixes.
2125 (speedbar-update-speed, speedbar-navigating-speed): Add obsolescence
2126 declaration and remove redundant info in docstring.
2127
2128 2008-04-23 Dan Nicolaescu <dann@ics.uci.edu>
2129
2130 * vc-git.el (vc-git-status-printer): Deal with directories.
2131
2132 * vc.el (vc-next-action): Look at more than the first file to
2133 determine the state.
2134
2135 2008-04-23 Glenn Morris <rgm@gnu.org>
2136
2137 * dframe.el (dframe-have-timer-flag): Drop support for Emacs without
2138 timers. Doc fix.
2139 (dframe-update-speed): Drop support for XEmacs < 20.
2140 (dframe-frame-mode): Drop support for Emacs < 20.
2141 (dframe-set-timer-internal): Drop support for Emacs without timers.
2142 (dframe-popup-kludge): Use mouse-menu-major-mode-map if defined.
2143
2144 * ediff-init.el (ediff-check-version): Drop support for very old Emacs
2145 versions. Add doc-string. Mark as obsolete.
2146
2147 * ps-def.el (ps-color-device): Drop support for XEmacs < 19.12.
2148
2149 * speedbar.el (speedbar-use-tool-tips-flag): Check for tooltip-mode,
2150 rather than using an Emacs version test.
2151
2152 * tree-widget.el (tree-widget-image-enable): Use display-images-p
2153 rather than an Emacs version test.
2154
2155 * calendar/cal-china.el (holiday-chinese-qingming)
2156 (holiday-chinese-winter-solstice, holiday-chinese): New functions.
2157 * calendar/calendar.el (calendar-chinese-all-holidays-flag): New.
2158 * calendar/holidays.el (holiday-oriental-holidays): Add more holidays.
2159
2160 * calendar/cal-islam.el (holiday-islamic): Doc fix.
2161
2162 * calendar/diary-lib.el (diary-list-sexp-entries): Doc fix.
2163 (diary-remind): Allow negative DAYS to represent a range 1:DAYS.
2164 Suggested by Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>.
2165
2166 2008-04-23 Nick Roberts <nickrob@snap.net.nz>
2167
2168 * progmodes/gdb-ui.el (gdb-previous-frame-address): Rename...
2169 (gdb-previous-frame-pc-address): ...to this.
2170 (gdb-get-selected-frame): Use MI command -stack-info-frame instead
2171 of "info frame" with Gdb 6.4+.
2172 (gdb-stack-list-frames-regexp): New regexp.
2173 (gdb-frame-handler-1): Parse output of -stack-info-frame.
2174
2175 2008-04-22 David Glasser <glasser@davidglasser.net> (tiny change)
2176
2177 * tar-mode.el (tar-prefix-offset): New constant.
2178 (tar-header-block-tokenize): Support paths with long names
2179 which use the "ustar" standard.
2180
2181 2008-04-22 Mathias Dahl <mathias.dahl@gmail.com>
2182
2183 * image-dired.el (image-dired-track-original-file)
2184 (image-dired-modify-mark-on-thumb-original-file):
2185 Use `dired-goto-file' instead of `search-forward'. This solves
2186 a bug with finding files where the file name is a subset of other
2187 file names. Doc fix.
2188
2189 2008-04-22 Juri Linkov <juri@jurta.org>
2190
2191 * menu-bar.el (buffers-menu-max-size): Move its definition down to
2192 the "Buffers Menu" section. Change group name `mouse' to `menu'.
2193 (yank-menu-length): Change group name `mouse' to `menu'.
2194 (buffers-menu-buffer-name-length): New user option.
2195 (menu-bar-update-buffers): Use buffers-menu-buffer-name-length
2196 instead of the hard-coded number 27.
2197
2198 2008-04-22 Juri Linkov <juri@jurta.org>
2199
2200 * isearch.el (eval-when-compile): Require `help-macro'.
2201 (isearch-help-for-help-internal): Isearch specific Help screen
2202 created by `make-help-screen'.
2203 (isearch-help-map): New variable that binds "b", "k", "m" to
2204 isearch-specific commands, and binds other keys to
2205 isearch-other-control-char, thus allowing other Help keys to
2206 exit isearch mode and execute their global definitions.
2207 (isearch-help-for-help, isearch-describe-bindings)
2208 (isearch-describe-key, isearch-describe-mode): New commands.
2209 (isearch-mode-help): Define alias to isearch-describe-mode
2210 and remove its old function definition.
2211 (isearch-mode-map): Bind "\C-h" to isearch-help-map.
2212 Remove old comments because this issue is settled now.
2213 (isearch-forward): Describe three new Help commands in the docstring.
2214 (isearch-mode): Remove \\{isearch-mode-map} from the docstring,
2215 leave the single sentence at the first line of the docstring,
2216 and prepend the word "function" before `isearch-forward'
2217 to make the Help link to the function instead of variable.
2218
2219 2008-04-22 Juri Linkov <juri@jurta.org>
2220
2221 * isearch.el (isearch-success-function): New variable with default
2222 to `isearch-success-function-default'.
2223 (isearch-search): Call a function from `isearch-success-function'
2224 instead of calling the hard-coded `isearch-range-invisible'.
2225 (isearch-success-function-default): New function that calls
2226 `isearch-range-invisible' and inverts its return value.
2227
2228 * info.el (Info-search): In two similar places that skip
2229 undesired search matches move code to Info-search-success-function,
2230 and call `isearch-success-function' instead.
2231 (Info-search-success-function): New function copied from code
2232 in Info-search. Replace isearch-range-invisible with
2233 text-property-not-all that checks for 'invisible and 'display
2234 properties to skip partially invisible matches (whose display
2235 properties were set by Info-fontify-node).
2236 (Info-mode): Set buffer-local isearch-success-function
2237 to Info-search-success-function.
2238
2239 2008-04-22 Juri Linkov <juri@jurta.org>
2240
2241 * minibuffer.el (internal-complete-buffer-except): New function.
2242
2243 * files.el (read-buffer-to-switch): New function.
2244 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
2245 Change interactive spec to call read-buffer-to-switch instead of
2246 using the letter "B".
2247
2248 * simple.el (minibuffer-default-add-shell-commands): New function.
2249 Use declare-function for mailcap-file-default-commands from "mailcap".
2250 (shell-command): Set local minibuffer-default-add-function to
2251 minibuffer-default-add-shell-commands in minibuffer-with-setup-hook
2252 before calling read-shell-command. Set 4th arg default-value of
2253 read-shell-command to relative buffer-file-name in file buffers.
2254
2255 * dired-aux.el (dired-read-shell-command-default): Move it to
2256 gnus/mailcap.el and change its name to more general name
2257 mailcap-file-default-commands.
2258 (minibuffer-default-add-dired-shell-commands): New function.
2259 Use declare-function for mailcap-file-default-commands from "mailcap".
2260 (dired-read-shell-command): Set local minibuffer-default-add-function
2261 to minibuffer-default-add-dired-shell-commands in minibuffer-with-setup-hook
2262 before calling read-shell-command. Remove dired-read-shell-command-default
2263 from the default value arg because default values are not set in
2264 minibuffer-default-add-dired-shell-commands. Doc fix.
2265
2266 * dired-x.el (dired-smart-shell-command): Sync arguments and
2267 interactive spec with changes in `shell-command'.
2268 Use dired-get-filename to get the dired file name at point
2269 as the default value in dired mode.
2270
2271 2008-04-22 Juanma Barranquero <lekktu@gmail.com>
2272
2273 * info.el (Info-complete-menu-item): Add missing parenthesis.
2274
2275 2008-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
2276
2277 * info.el (Info-complete-menu-item): Save point.
2278
2279 2008-04-22 Juanma Barranquero <lekktu@gmail.com>
2280
2281 * minibuffer.el (minibuffer-complete-and-exit): Fix last change.
2282
2283 2008-04-22 Andreas Schwab <schwab@suse.de>
2284
2285 * Makefile.in (emacs-deps): Define.
2286 Use it instead of $(lisp)/subdirs.el.
2287
2288 2008-04-22 Dan Nicolaescu <dann@ics.uci.edu>
2289
2290 * vc.el (vc-next-action): Do not consider directories when
2291 checking for state compatibility.
2292 (vc-transfer-file): Use when not if.
2293 (vc-dir-parent-marked-p, vc-dir-children-marked-p): New functions.
2294 (vc-dir-mark-file): Use them.
2295 (vc-deduce-fileset): Also return the backend.
2296 (vc-diff-internal): Take as argument the value returned by
2297 vc-deduce-fileset instead of just the fileset.
2298 (vc-next-action, vc-finish-logentry, vc-version-diff, vc-diff)
2299 (vc-dir-mark-file, vc-print-log, vc-revert, vc-rollback)
2300 (vc-update): Update the vc-deduce-fileset and vc-diff-internal calls.
2301
2302 2008-04-22 Tassilo Horn <tassilo@member.fsf.org>
2303
2304 * doc-view.el (doc-view-scroll-up-or-next-page): Don't use
2305 set-window-vscroll but image-scroll-down. Fixes a bug where a
2306 command following SPC scrolled up again.
2307
2308 2008-04-22 Nick Roberts <nickrob@snap.net.nz>
2309
2310 * progmodes/gdb-ui.el (gdb-locals-header): New variable.
2311 (gdb-locals-mode, gdb-registers-mode): Use it for header line.
2312 (gud-watch): Add "$" prefix when in registers buffer.
2313
2314 2008-04-22 Glenn Morris <rgm@gnu.org>
2315
2316 * progmodes/gdb-ui.el (gdbmi-invalidate-frames): Declare as function.
2317
2318 * whitespace.el (whitespace-display-table)
2319 (whitespace-display-table-was-local): Move definitions before use.
2320
2321 * emacs-lisp/copyright.el (copyright-at-end-flag): New option.
2322 (copyright-limit): Respect copyright-at-end-flag.
2323 (copyright-re-search, copyright-start-point)
2324 (copyright-offset-too-large-p): New functions.
2325 (copyright-update-year): Use copyright-re-search.
2326 (copyright-update, copyright-fix-years): Use copyright-start-point,
2327 and copyright-re-search.
2328 (copyright): Use copyright-offset-too-large-p.
2329 * add-log.el (change-log-mode): Set copyright-at-end-flag.
2330
2331 * add-log.el (top-level): Require 'cl when compiling.
2332
2333 2008-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2334
2335 * complete.el (PC-complete-as-file-name, PC-read-file-name-internal):
2336 Treat minibuffer-completion-predicate as a predicate.
2337
2338 * minibuffer.el (completion--file-name-table): Accept both the old
2339 `dir' arg or the new `pred' arg.
2340
2341 * ffap.el (ffap-read-file-or-url): Do not abuse completing-read's
2342 `predicate' argument to pass non-predicate data.
2343 (ffap-read-url-internal, ffap-read-file-or-url-internal):
2344 Use second arg as proper predicate.
2345
2346 * vc-bzr.el (vc-bzr-complete-with-prefix): Remove.
2347 (vc-bzr-revision-completion-table): Use completion-table-with-context
2348 instead.
2349
2350 * simple.el (choose-completion-string): Use minibuffer-completion-table.
2351
2352 2008-04-21 Chong Yidong <cyd@stupidchicken.com>
2353
2354 * term.el (term-emulate-terminal): Perform redisplay after the
2355 process filter has finished running.
2356
2357 2008-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2358
2359 * vc.el (vc-dir): Use pop-to-buffer, so it can be customized.
2360
2361 * minibuffer.el (completion-try-completion): Change magic symbol
2362 property name. Rename from minibuffer-try-completion.
2363 (completion-all-completions): Rename from minibuffer-all-completions.
2364 Remove hide-spaces argument.
2365 (completion--do-completion): Rename from minibuffer--do-completion.
2366 (minibuffer-complete-and-exit): Call just try-completion rather than
2367 completion-try-completion to fix up the case.
2368 (completion--try-word-completion): Try to add space or hyphen before
2369 making `string' a prefix of `completion'.
2370 (completion--insert-strings): Rename from minibuffer--insert-strings.
2371
2372 2008-04-22 Naohiro Aota <nao.aota@gmail.com> (tiny change)
2373
2374 * net/tls.el (tls-program): Add -ign_eof argument to call the
2375 openssl commands.
2376 (tls-checktrust): Ditto.
2377
2378 2008-04-21 Dan Nicolaescu <dann@ics.uci.edu>
2379
2380 * vc-cvs.el (vc-cvs-status-extra-headers): New function.
2381
2382 * vc-hooks.el (vc-insert-file, vc-state, vc-working-revision)
2383 (vc-check-master-templates, vc-file-not-found-hook)
2384 (vc-kill-buffer-hook):
2385 * vc.el (vc-process-sentinel, vc-exec-after, vc-do-command)
2386 (vc-find-position-by-context, vc-buffer-context)
2387 (vc-restore-buffer-context, vc-responsible-backend)
2388 (vc-expand-dirs, vc-ensure-vc-buffer, vc-buffer-sync)
2389 (vc-next-action, vc-register, vc-register-with, vc-steal-lock)
2390 (vc-finish-logentry, vc-coding-system-for-diff, vc-switches)
2391 (vc-version-diff, vc-diff, vc-insert-headers)
2392 (vc-dired-buffers-for-dir, vc-dired-resynch-file)
2393 (vc-snapshot-precondition, vc-create-snapshot, vc-print-log)
2394 (vc-revert, vc-rollback, vc-version-backup-file)
2395 (vc-rename-master, vc-delete-file, vc-rename-file)
2396 (vc-branch-part, vc-default-retrieve-snapshot)
2397 (vc-annotate-display-autoscale, vc-annotate-display-select)
2398 (vc-annotate, vc-annotate-warp-revision, vc-annotate-difference)
2399 (vc-annotate-lines, vc-file-tree-walk-internal): Use when instead of if.
2400 (vc-dir-update): Handle directories.
2401 (vc-default-status-printer): Simplify.
2402
2403 * progmodes/asm-mode.el (asm-mode-map):
2404 * progmodes/hideif.el (hide-ifdef-mode-menu): Add :help.
2405
2406 * progmodes/m4-mode.el (m4-mode-map): Add menu.
2407
2408 2008-04-21 Kenichi Handa <handa@m17n.org>
2409
2410 * select.el (xselect-convert-to-string): Send a C_STRING only if
2411 the polymorphic target TEXT is requested.
2412
2413 2008-04-21 Juanma Barranquero <lekktu@gmail.com>
2414
2415 * minibuffer.el (completion-setup-hook, display-completion-list)
2416 (completion--file-name-table): Fix typos in docstrings.
2417 (completion-table-dynamic): Fix typo, and reflow docstring.
2418
2419 2008-04-20 Andreas Schwab <schwab@suse.de>
2420
2421 * server.el (server-switch-buffer): Also consider clients in the
2422 selected frame.
2423
2424 2008-04-19 Nick Roberts <nickrob@snap.net.nz>
2425
2426 * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint):
2427 Select window clicked on first.
2428 (gdb): Display thread number in mode-line.
2429 (gdb-make-header-line-mouse-map): Move to avoid byte compiler warnings.
2430 (gdb-breakpoints-header): New variable.
2431 (gdb-breakpoints-mode, gdb-threads-mode): Use it for header line.
2432
2433 2008-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2434
2435 * vc-sccs.el (vc-sccs-do-command): New fun. Use the "sccs" command.
2436 (vc-sccs-register, vc-sccs-checkin, vc-sccs-find-revision)
2437 (vc-sccs-checkout, vc-sccs-rollback, vc-sccs-revert)
2438 (vc-sccs-steal-lock, vc-sccs-modify-change-comment)
2439 (vc-sccs-print-log): Use it.
2440
2441 * vc-hooks.el (vc-path): Remove SCCS-specific hack.
2442
2443 * emacs-lisp/lisp-mode.el (lisp-mode-auto-fill): Make it an alias.
2444 * progmodes/scheme.el (scheme-mode-variables): Don't use it.
2445
2446 * tooltip.el (tooltip-previous-message): New var.
2447 (tooltip-show-help-non-mode): Rewrite to better follow the behavior of
2448 the C code (avoid overwriting a minibuffer, restore previous echo
2449 message, ...).
2450 (tooltip-delay, tooltip-process-prompt-regexp, tooltip-strip-prompt):
2451 Simplify.
2452
2453 2008-04-19 Nick Roberts <nickrob@snap.net.nz>
2454
2455 * progmodes/gdb-ui.el (gdb-thread-indicator): New variable.
2456 (gdb-init-1): Initialise it.
2457 (gdb-annotation-rules): New entry for "new-thread".
2458 (gdb-thread-identification): New function to customize
2459 mode-line-buffer-identification.
2460 (gdb-frames-mode, gdb-registers-mode, gdb-locals-mode)
2461 (gdb-assembler-mode): Use it.
2462 (gdb-threads-mode): Force "info threads" onto queue.
2463
2464 2008-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2465
2466 * files.el (locate-file-completion-table): Rename from
2467 locate-file-completion and make it use `pred' in the normal way.
2468 (locate-file-completion): New compatibility wrapper.
2469 (load-library): Use locate-file-completion-table.
2470 * finder.el (finder-commentary):
2471 * subr.el (locate-library):
2472 * emacs-lisp/find-func.el (find-library): Likewise.
2473 * info.el: Use with-current-buffer and inhibit-read-only.
2474 (Info-read-node-name-2): Change to use `predicate' in the normal way.
2475 (Info-read-node-name-1): Adjust uses accordingly.
2476
2477 * minibuffer.el (completion-table-with-context): Add support for `pred'.
2478 (completion-table-with-terminator): Don't use complete-with-action
2479 since we have to distinguish all three cases anyway.
2480 (completion-table-with-predicate): New function.
2481 (dynamic-completion-table): Add obsolete alias.
2482
2483 * emacs-lisp/trace.el (trace-make-advice): Don't change selected-window.
2484
2485 2008-04-18 Sam Steingold <sds@gnu.org>
2486
2487 * vc.el (vc-dir-menu-map, vc-dir-mode-map, vc-dir-tool-bar-map):
2488 Use quit-window instead of bury-buffer.
2489
2490 2008-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
2491
2492 * minibuffer.el (completion-table-with-terminator): Fix last fix.
2493
2494 2008-04-18 Andreas Schwab <schwab@suse.de>
2495
2496 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2497 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2498 Depend on $(lisp)/subdirs.el.
2499
2500 2008-04-18 Juanma Barranquero <lekktu@gmail.com>
2501
2502 * descr-text.el (describe-char-after):
2503 Use `define-obsolete-function-alias'.
2504
2505 * dired-x.el (dired-omit-files-p): Use `define-obsolete-variable-alias'.
2506
2507 * facemenu.el (facemenu-unlisted-faces): Fix obsolescence description.
2508
2509 * savehist.el (savehist-load): Add WHEN to obsolescence declaration.
2510 Remove redundant obsolescence info in docstring.
2511
2512 * vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
2513 (vc-header-alist): Add WHEN to obsolescence declaration.
2514 (vc-state): Fix typo in docstring.
2515
2516 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap):
2517 Use `define-obsolete-variable-alias'.
2518
2519 * emulation/tpu-edt.el (tpu-have-ispell):
2520 * international/codepage.el (codepage-setup):
2521 Fix typo in obsolescence declaration.
2522
2523 * international/mule.el (char-coding-system-table):
2524 Remove redundant obsolescence info in docstring.
2525 (charset-list, generic-char-p, set-char-table-default):
2526 Fix typos in obsolescence decarations.
2527
2528 * international/mule-diag.el (non-iso-charset-alist):
2529 Fix typo in obsolescence declaration.
2530 (decode-codepage-char): Remove redundant obsolescence info in docstring.
2531
2532 * font-core.el (font-lock-defaults-alist):
2533 * font-lock.el (font-lock-reference-face):
2534 * frame.el (screen-height, screen-width, set-screen-width)
2535 (set-screen-height):
2536 * hilit-chg.el (highlight-changes-initial-state):
2537 * isearch.el (isearch-return-char):
2538 * log-edit.el (cvs-commit-buffer-require-final-newline)
2539 (cvs-changelog-full-paragraphs):
2540 * mouse.el (mouse-major-mode-menu, mouse-popup-menubar)
2541 (mouse-popup-menubar-stuff):
2542 * mwheel.el (mouse-wheel-down-button, mouse-wheel-up-button)
2543 (mouse-wheel-click-button):
2544 * outline.el (outline-visible):
2545 * pcvs-defs.el (cvs-diff-ignore-marks, cvs-diff-buffer-name):
2546 * pcvs-info.el (cvs-display-full-path, cvs-fileinfo->full-path):
2547 * emacs-lisp/lisp-mode.el (lisp-comment-indent):
2548 * progmodes/compile.el (compile-internal):
2549 Add WHEN to obsolescence declarations.
2550
2551 2008-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
2552
2553 * emacs-lisp/debug.el (debug): Revert to bury-buffer since quit-window
2554 is not better anyway.
2555
2556 2008-04-17 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2557
2558 * whitespace.el (whitespace-report-region): Handle whitespace-tab-width
2559 properly.
2560
2561 2008-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2562
2563 * progmodes/python.el (python-mode-map): Use abbrev-table-menu.
2564 (python-use-skeletons): Remove, unused.
2565 (python-skeletons): Remove. Use the abbrev table instead.
2566 (python-mode-abbrev-table): Fix regexp;
2567 add enable-function and case-fixed.
2568 (def-python-skeleton): Simplify.
2569 (python-expand-template): Use the abbrev-table and abbrev-insert.
2570 (python-abbrev-pc-hook, python-abbrev-syntax-table, python-pea-hook):
2571 Remove.
2572 (python-mode): Don't set pre-abbrev-expand-hook.
2573
2574 * skeleton.el: Set coding-tag.
2575
2576 * abbrev.el (abbrev-insert): New function extracted from expand-abbrev.
2577 (expand-abbrev): Use it.
2578 (abbrev-table-menu): New function.
2579
2580 * abbrev.el (define-abbrev-table): Fontify dosctrings as such.
2581
2582 * minibuffer.el (completion-table-with-terminator): Fix paren typo.
2583
2584 2008-04-17 Sam Steingold <sds@gnu.org>
2585
2586 * pcvs-util.el (cvs-bury-buffer): Use quit-window instead of the
2587 idiosyncratic bury-buffer/delete-window logic.
2588
2589 2008-04-17 Juanma Barranquero <lekktu@gmail.com>
2590
2591 * emacs-lisp/crm.el (crm-completion-help, crm-complete)
2592 (crm-complete-word, crm-complete-and-exit): Fix typo in previous change.
2593
2594 2008-04-17 Kenichi Handa <handa@m17n.org>
2595
2596 * international/characters.el: Don't make the width of U+00AD to 0.
2597
2598 2008-04-17 Nick Roberts <nickrob@snap.net.nz>
2599
2600 * progmodes/gdb-ui.el (gdb-stack-update): New variable.
2601 (gdb, gdb-starting, gdb-frames-mode): Use it.
2602 (gdb-invalidate-frames): Advise to call "info stack" only if
2603 execution has occurred.
2604 (gdb-info-breakpoints-custom): Only update overlay-arrow pointing to
2605 selected frame if no execution has occurred.
2606 (gdb-frames-force-update): New interactive function.
2607 (gdb-frames-mode-map): Bind it to "F".
2608
2609 2008-04-17 Michael Olson <mwolson@gnu.org>
2610
2611 * textmodes/remember.el (remember-version): Release Remember 2.0.
2612
2613 2008-04-16 Yoni Rabkin <yoni@rabkins.net>
2614
2615 * textmodes/artist.el:
2616 * progmodes/vhdl-mode.el:
2617 * progmodes/verilog-mode.el:
2618 * progmodes/vera-mode.el:
2619 * progmodes/simula.el:
2620 * progmodes/ps-mode.el:
2621 * progmodes/cmacexp.el:
2622 * obsolete/hilit19.el:
2623 * emulation/viper.el:
2624 * ediff.el: Cleanup the bug-report email addresses and make sure the
2625 maintainer is still willing to handle bug reports.
2626
2627 2008-04-16 Dan Nicolaescu <dann@ics.uci.edu>
2628
2629 * vc.el (vc-dir-kill-query): Fix thinko.
2630
2631 2008-04-16 Glenn Morris <rgm@gnu.org>
2632
2633 * calendar/diary-lib.el (diary-remind): Don't clobber `date' passed
2634 by diary-sexp-entry.
2635
2636 2008-04-16 Markus Triska <markus.triska@gmx.at>
2637
2638 * proced.el (proced-command-alist): Add support for darwin.
2639
2640 2008-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2641
2642 * proced.el (proced-mode): Redefine as just the major-mode.
2643 (proced): Separate it from proced-mode.
2644
2645 * vc.el: Rename vc-status to vc-dir and the vc-status var to vc-ewoc.
2646
2647 2008-04-15 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2648
2649 * whitespace.el: Honor the `indent-tabs-mode' setting from user.
2650 Suggested by Stephen Deasey <sdeasey@gmail.com>. Honor also the
2651 `tab-width' setting from user. New version 10.0. Doc and docstring
2652 fix.
2653 (whitespace-style, whitespace-chars): Remove options.
2654 (whitespace-style-mark): New option, replace whitespace-style deleted
2655 option. Fix docstring.
2656 (whitespace-style-color): New option, replace whitespace-chars deleted
2657 option. Fix docstring.
2658 (whitespace-space, whitespace-hspace, whitespace-tab)
2659 (whitespace-newline, whitespace-trailing, whitespace-line)
2660 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2661 (whitespace-space-after-tab, whitespace-hspace-regexp)
2662 (whitespace-space-regexp, whitespace-tab-regexp)
2663 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
2664 (whitespace-empty-at-eob-regexp, whitespace-line-column)
2665 (whitespace-toggle-option-alist): Fix docstring.
2666 (whitespace-space-before-tab-regexp, whitespace-indentation-regexp)
2667 (whitespace-space-after-tab-regexp, whitespace-display-mappings): Fix
2668 docstring and initialization.
2669 (global-whitespace-mode): Autoloaded global minor mode.
2670 (whitespace-chars-value-list, whitespace-style-value-list)
2671 (whitespace-active-chars, whitespace-active-style)
2672 (whitespace-toggle-chars, whitespace-toggle-style): Remove vars.
2673 (whitespace-color-value-list): New var, replace
2674 whitespace-chars-value-list removed var.
2675 (whitespace-mark-value-list): New var, replace
2676 whitespace-style-value-list removed var.
2677 (whitespace-active-color): New var, replace whitespace-active-chars
2678 removed var.
2679 (whitespace-active-mark): New var, replace whitespace-active-style
2680 removed var.
2681 (whitespace-toggle-color): New var, replace whitespace-toggle-chars
2682 removed var.
2683 (whitespace-toggle-mark): New var, replace whitespace-toggle-style
2684 removed var.
2685 (whitespace-toggle-option-alist, whitespace-report-list)
2686 (whitespace-report-text, whitespace-help-text): Fix initialization.
2687 (whitespace-indent-tabs-mode, whitespace-tab-width): New vars.
2688 (whitespace-toggle-options, global-whitespace-toggle-options)
2689 (whitespace-cleanup-region, whitespace-report-region)
2690 (whitespace-interactive-char): Fix docstring and code.
2691 (whitespace-cleanup, whitespace-report): Fix docstring.
2692 (whitespace-replace-spaces-by-tabs): Remove fun.
2693 (whitespace-replace-action): New fun, replace
2694 whitespace-replace-spaces-by-tabs removed fun.
2695 (whitespace-regexp, whitespace-indentation-regexp)
2696 (whitespace-space-after-tab-regexp, whitespace-insert-value)
2697 (whitespace-kill-buffer): New funs.
2698 (whitespace-insert-option-mark, whitespace-help-on)
2699 (whitespace-help-off, whitespace-turn-on, whitespace-turn-off)
2700 (whitespace-color-on, whitespace-color-off)
2701 (whitespace-display-char-on): Fix code.
2702
2703 2008-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2704
2705 * mouse-drag.el (mouse-throw-magnifier-with-scroll-bar)
2706 (mouse-throw-magnifier-with-mouse-movement): Remove.
2707 (mouse-throw-magnifier-base): New const.
2708 (mouse-drag-scroll-delta): New fun.
2709 (mouse-drag-throw): Use it.
2710
2711 2008-04-15 Juanma Barranquero <lekktu@gmail.com>
2712
2713 * international/uni-bidi.el, international/uni-category.el:
2714 * international/uni-combining.el, international/uni-comment.el:
2715 * international/uni-decimal.el, international/uni-decomposition.el:
2716 * international/uni-digit.el, international/uni-lowercase.el:
2717 * international/uni-mirrored.el, international/uni-name.el:
2718 * international/uni-numeric.el, international/uni-old-name.el:
2719 * international/uni-titlecase.el, international/uni-uppercase.el:
2720 * international/charprop.el: Regenerate.
2721
2722 2008-04-15 Dan Nicolaescu <dann@ics.uci.edu>
2723
2724 * vc.el (vc-status-fileinfo): Add new member directoryp.
2725 (vc-default-status-printer): Print directories.
2726 (vc-status-update): Sort files before subdirectories.
2727
2728 * vc-cvs.el (vc-cvs-after-dir-status, vc-cvs-dir-status):
2729 Add alternative implementation based on "cvs update".
2730
2731 2008-04-15 Tassilo Horn <tassilo@member.fsf.org>
2732
2733 * doc-view.el: Changed requirements section to tell that only one
2734 of dvipdf or dvipdfm is needed.
2735 (doc-view-already-converted-p): Fix bug that forced reconversion
2736 if doc was already converted.
2737
2738 2008-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2739
2740 * minibuffer.el (minibuffer-message):
2741 Make sure we can put-text-property.
2742
2743 * emacs-lisp/crm.el: Complete rewrite.
2744
2745 * tmm.el (tmm-completion-delete-prompt): Don't hardcode point-min==1.
2746 (tmm-add-prompt): Make sure completion-setup-hook is preserved even in
2747 case of an error in display-completion-list.
2748
2749 * filecache.el (file-cache-completions-keymap): Move init from
2750 file-cache-completion-setup-function into declaration.
2751 (file-cache-minibuffer-complete): Simplify.
2752 (file-cache-completion-setup-function): Use standard-output,
2753 preserve current-buffer.
2754
2755 * vc.el (vc-status-update): Fix typo.
2756 (vc-status-update): Set needs-update.
2757 (vc-status-refresh): η-reduce.
2758
2759 2008-04-14 Tassilo Horn <tassilo@member.fsf.org>
2760
2761 * doc-view.el (doc-view-mode-map): Bind C-a to image-bol and C-e
2762 to image-eol.
2763
2764 2008-04-14 Alexandre Julliard <julliard@winehq.org>
2765
2766 * vc.el (vc-status-update): Undo the previous revert.
2767
2768 2008-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2769
2770 * minibuffer.el (completion-table-with-terminator): Those completions
2771 are never valid w.r.t test-completion.
2772 (completion--file-name-table):
2773 Check completion-all-completions-with-base-size.
2774
2775 2008-04-14 Tassilo Horn <tassilo@member.fsf.org>
2776
2777 * doc-view.el (doc-view-dvipdf-program): New variable.
2778 (doc-view-dvipdfm-program): Mention doc-view-dvipdf-program.
2779 (doc-view-mode-p): Check for doc-view-dvipdf-program as
2780 alternative for doc-view-dvipdfm-program.
2781 (doc-view-dvi->pdf): Prefer dvipdf over dvipdfm.
2782
2783 * doc-view.el (doc-view-start-process): Don't set
2784 default-directory to "~/" if the current value is valid.
2785 This broke PS files that run other files in the same directory.
2786
2787 2008-04-14 Dan Nicolaescu <dann@ics.uci.edu>
2788
2789 * vc.el (vc-status-kill-query): New function.
2790 (vc-status-mode): Add it to kill-buffer-query-functions.
2791 (vc-status-show-fileentry): New function.
2792 (vc-status-menu-map): Bind it. Bind vc-next-action.
2793
2794 2008-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2795
2796 * minibuffer.el (minibuffer-message): Put cursor at the right place.
2797
2798 2008-04-13 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
2799
2800 * proced.el (proced-send-signal): Fix error recognition.
2801
2802 2008-04-13 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
2803
2804 * proced.el (proced-command-alist): Remove sort column.
2805 (proced-command, proced-procname-column):
2806 Use make-variable-buffer-local.
2807 (proced-signal-function): Rename from proced-kill-program.
2808 Allow for elisp symbols and string values representing system calls.
2809 (proced-marker-regexp, proced-success-message): New functions.
2810 (proced): Use defalias. Add autoload cookie.
2811 (proced-unmark-backward, proced-toggle-marks)
2812 (proced-hide-processes): New commands.
2813 (proced-do-mark): Simplify code.
2814 (proced-insert-mark): Use optional arg BACKWARD instead of line number.
2815 (proced-update): Remove sorting.
2816 (proced-send-signal): Display number of processes to operate on.
2817 Allow for system calls or elisp functions to send signals.
2818 Check if signal was sent successfully.
2819
2820 2008-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
2821
2822 * minibuffer.el (completion-all-completion-with-base-size): New var.
2823 (completion--some): New function.
2824 (completion-table-with-context, completion--file-name-table):
2825 Return the base-size if requested.
2826 (completion-table-in-turn): Generalize to multiple arguments.
2827 (complete-in-turn): Compatibility alias.
2828 (completion-styles-alist): New var.
2829 (completion-styles): New customization.
2830 (minibuffer-try-completion, minibuffer-all-completions):
2831 New functions.
2832 (minibuffer--do-completion, minibuffer-complete-and-exit)
2833 (minibuffer-try-word-completion): Use them.
2834 (display-completion-list, minibuffer-completion-help): Use them.
2835 Handle all-completions's new base-size info to set completion-base-size.
2836 * info.el (Info-read-node-name-1): Use completion-table-with-context,
2837 completion-table-with-terminator and complete-with-action.
2838 Remove the now obsolete completion-base-size-function property.
2839 * simple.el (completion-list-mode-map): Move init into declaration.
2840 (completion-list-mode): Use define-derived-mode.
2841 (completion-setup-function): Use any completion-base-size that may
2842 have been set before. Remove handling of completion-base-size-function.
2843 * loadup.el: Move abbrev.el up earlier.
2844
2845 2008-04-13 Alexandre Julliard <julliard@winehq.org>
2846
2847 * vc-git.el (vc-git-after-dir-status-stage)
2848 (vc-git-dir-status-goto-stage): New functions.
2849 (vc-git-after-dir-status-stage1)
2850 (vc-git-after-dir-status-stage1-empty-db)
2851 (vc-git-after-dir-status-stage2): Remove, functionality moved
2852 into the new generic stage functions.
2853 (vc-git-dir-status-files): New function.
2854
2855 * vc.el (vc-status-update): Revert an incorrect rewrite.
2856 Add some comments.
2857 (vc-status-refresh-files): New function.
2858 (vc-status-refresh): Use `vc-status-refresh-files' to refresh the
2859 state of up-to-date files.
2860 (vc-default-dir-status-files): New function.
2861
2862 2008-04-13 Juanma Barranquero <lekktu@gmail.com>
2863
2864 * minibuffer.el (completion--embedded-envvar-table)
2865 (read-file-name-internal): Fix typos in 2008-04-11 change.
2866
2867 * faces.el (read-face-name): Use `completion-table-in-turn',
2868 not `complete-in-turn'.
2869
2870 2008-04-13 Andreas Schwab <schwab@suse.de>
2871
2872 * progmodes/etags.el: Require 'cl when compiling.
2873
2874 2008-04-12 Nick Roberts <nickrob@snap.net.nz>
2875
2876 * progmodes/gud.el (gud-menu-map): Expand tooltip.
2877
2878 * progmodes/gdb-ui.el (gdb-find-source-frame): Improve doc string.
2879 (menu): Add/expand menu tooltips.
2880
2881 2008-04-12 Dan Nicolaescu <dann@ics.uci.edu>
2882
2883 * progmodes/sh-script.el (sh-show-indent): Fix typo.
2884 (sh-mode-map): Add a toggle for inserting braces and quotes in pairs.
2885
2886 * vc-cvs.el (vc-cvs-registered): Allow removed files to be
2887 considered registered.
2888
2889 2008-04-12 Reiner Steib <Reiner.Steib@gmx.de>
2890
2891 * emacs-lisp/copyright.el (copyright-update-directory): New command.
2892
2893 * ediff-wind.el (ediff-split-window-function)
2894 (ediff-merge-split-window-function): Improve custom type.
2895
2896 2008-04-12 Eli Zaretskii <eliz@gnu.org>
2897
2898 * loadup.el ("minibuffer"): Move after "faces".
2899
2900 2008-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2901
2902 * progmodes/hideif.el (hif-factor): Handle unary minus.
2903
2904 2008-04-12 Glenn Morris <rgm@gnu.org>
2905
2906 * calendar/cal-china.el (chinese-calendar-time-zone):
2907 Mark obsolete name as risky too.
2908
2909 * calendar/calendar.el (calendar-faces): New custom group.
2910 (calendar-today, diary, holiday): Doc fix.
2911 Move to calendar-faces group.
2912 * calendar/diary-lib.el (diary-face, diary-anniversary, diary-time)
2913 (diary-button): Doc fix. Move to calendar-faces group.
2914
2915 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
2916 * desktop.el, files.el, hilit-chg.el, ibuffer.el, iswitchb.el:
2917 * pcvs-info.el, recentf.el, speedbar.el, calendar/cal-china.el:
2918 * calendar/cal-hebrew.el, calendar/cal-x.el, calendar/calendar.el
2919 * calendar/diary-lib.el, net/net-utils.el, progmodes/gud.el:
2920 Move non-autoloaded define-obsolete-variable-alias calls for defcustoms
2921 not in dumped files before the associated defcustom.
2922
2923 2008-04-11 Johan Bockgård <bojohan@gnu.org>
2924
2925 * minibuffer.el (lazy-completion-table): Fix debug spec.
2926
2927 2008-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2928
2929 * minibuffer.el (complete-with-action, lazy-completion-table):
2930 Move from subr.el.
2931 (apply-partially, completion-table-dynamic)
2932 (completion-table-with-context, completion-table-with-terminator)
2933 (completion-table-in-turn): New funs.
2934 (completion--make-envvar-table, completion--embedded-envvar-table):
2935 New funs.
2936 (read-file-name-internal): Use them.
2937 (completion-setup-hook): Move from simple.el.
2938 * subr.el (complete-with-action, lazy-completion-table):
2939 * simple.el (completion-setup-hook): Move to minibuffer.el.
2940
2941 2008-04-11 Glenn Morris <rgm@gnu.org>
2942
2943 * Makefile.in (AUTOGENEL): Add calc/calc-loaddefs.el.
2944
2945 2008-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2946
2947 * progmodes/python.el (python-mode): Don't mess with hippie-expand.
2948
2949 * Makefile.in (bootstrap-prepare): Make tpu-edt.el writable as well.
2950
2951 * textmodes/fill.el (fill-forward-paragraph-function): New var.
2952 (fill-forward-paragraph): New fun.
2953 (fill-paragraph, fill-region): Use it.
2954
2955 * vc.el: Change `dir-status' to not take (and pass) status-buffer.
2956 (vc-status-create-fileinfo): Make `extra' optional.
2957 (vc-status-busy): New fun.
2958 (vc-status-menu-map): Use it.
2959 (vc-status-crt-marked): Remove.
2960 (vc-status-update): Rename from vc-status-add-entries.
2961 Add argument so as to prevent addition of entries. Rewrite.
2962 (vc-update-vc-status-buffer): Remove.
2963 (vc-status-refresh): Don't remove old entries, set them to
2964 up-to-date instead. Also do it after the update is complete.
2965 (vc-status-marked-files): η-reduce.
2966
2967 * dired.el (dired-read-dir-and-switches): Use read-directory-name even
2968 for non-dialogs.
2969
2970 * Makefile.in (bootstrap-prepare): Don't copy ldefs-boot over loaddefs.
2971
2972 * loadup.el: Load ldefs-boot.el if loaddefs.el doesn't exist.
2973
2974 2008-04-11 Jan Djärv <jan.h.d@swipnet.se>
2975
2976 * tooltip.el (tooltip-show-help-non-mode): Set message-truncate-lines
2977 to t and don't truncate msg.
2978
2979 2008-04-11 Glenn Morris <rgm@gnu.org>
2980
2981 * calendar/calendar.el (diary, holidays):
2982 Move custom groups to other files.
2983 (holiday-general-holidays, holiday-oriental-holidays)
2984 (holiday-local-holidays, holiday-other-holidays, hebrew-holidays-1)
2985 (hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
2986 (holiday-hebrew-holidays, holiday-christian-holidays)
2987 (holiday-islamic-holidays, holiday-bahai-holidays)
2988 (holiday-solar-holidays, calendar-holidays): Move to holidays.el.
2989 * calendar/diary-lib.el: Move custom group here from calendar.el.
2990 * calendar/holidays-lib.el: Move custom group and variables here
2991 from calendar.el.
2992
2993 * calendar/cal-china.el (calendar-chinese-time-zone): Mark as risky.
2994
2995 * calendar/cal-dst.el (calendar-dst-check-each-year-flag):
2996 Fix custom group.
2997 (calendar-current-time-zone-cache): Autoload riskiness.
2998
2999 * calendar/cal-tex.el (cal-tex-preamble-extra): Fix custom type.
3000
3001 2008-04-11 Chong Yidong <cyd@stupidchicken.com>
3002
3003 * woman.el (woman2-TH): Use string-equal instead of string-match.
3004
3005 2008-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3006
3007 * smerge-mode.el (smerge-apply-resolution-patch): Fix typo.
3008 (smerge-resolve): Merge the "2-way refinement" case with one half of
3009 the "mere whitespace" resolution.
3010
3011 2008-04-10 Dan Nicolaescu <dann@ics.uci.edu>
3012
3013 * vc-bzr.el (vc-bzr-after-dir-status): Detect the conflict state.
3014
3015 2008-04-10 Juanma Barranquero <lekktu@gmail.com>
3016
3017 * subr.el (assoc-ignore-case, assoc-ignore-representation):
3018 Add WHEN to obsolescence declaration.
3019
3020 * makefile.w32-in (AUTOGENEL): Add calc-loaddefs.el.
3021
3022 2008-04-10 Dan Nicolaescu <dann@ics.uci.edu>
3023
3024 * vc-hooks.el (vc-state): Add new state `conflict'.
3025 (vc-after-save): Use when not if.
3026 (vc-default-mode-line-string): Deal with the conflict state.
3027 (vc-prefix-map, vc-menu-map): Bind vc-status instead of vc-directory.
3028
3029 * vc.el (vc-editable-p, vc-default-status-printer)
3030 (vc-next-action): Deal with the conflict state.
3031 (vc-mark-resolved): New function.
3032 (vc-status-mode): Fix mode name.
3033 (vc-default-comment-history): Use when not if.
3034 (Todo): Add new entries, remove old ones.
3035
3036 * vc-cvs.el (vc-cvs-merge, vc-cvs-merge-news): Set conflict state.
3037 (vc-cvs-parse-status, vc-cvs-after-dir-status):
3038 * vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
3039 Detect the conflict state.
3040
3041 * vc-hg.el (vc-hg-dir-status): Remove unneeded call.
3042
3043 2008-04-10 Glenn Morris <rgm@gnu.org>
3044
3045 * menu-bar.el (menu-bar-options-menu) <truncate-lines>:
3046 Respect truncate-partial-width-windows in non-full windows,
3047 with regards to :toggle and :enable state.
3048
3049 * simple.el (toggle-truncate-lines): Doc fix.
3050
3051 * Makefile.in (MH_E_DIR): New variable.
3052 (MH_E_SRC): Restore variable removed 2008-03-13.
3053 (mh-loaddefs.el): Depend on $MH_E_SRC.
3054 (CAL_DIR, CAL_SRC): New variables.
3055 (cal-loaddefs.el, diary-loaddefs.el, hol-loaddefs.el):
3056 Depend on CAL_SRC.
3057
3058 * calendar/calendar.el (calendar, diary): Add :prefix.
3059 (holidays): Change :prefix.
3060 (calendar-today, holiday, calendar-holiday-marker)
3061 (european-calendar-style): Change custom groups.
3062
3063 * calendar/calendar.el (diary-hook, diary-display-hook):
3064 Move to diary-lib.el.
3065 * calendar/diary-lib.el (diary-hook, diary-display-hook):
3066 Move here from calendar.el.
3067 * calendar/appt.el: Require diary-lib rather than calendar.
3068 * calendar/cal-x.el (diary-display-hook): Declare for compiler.
3069
3070 * calendar/appt.el (appt): Add :prefix.
3071
3072 * calendar/diary-lib.el (diary-hook): Doc fix.
3073 (diary-mark-sexp-entries): Fix replacement of calendar-for-loop.
3074
3075 2008-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
3076
3077 * minibuffer.el (minibuffer--double-dollars, read-file-name-internal):
3078 New functions.
3079
3080 * minibuffer.el (minibuffer--do-completion): Don't forget to propagate
3081 the arg to recursive calls.
3082
3083 2008-04-09 Juanma Barranquero <lekktu@gmail.com>
3084
3085 * minibuffer.el (completion-auto-help): Fix typo.
3086
3087 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
3088
3089 * vc-cvs.el (vc-cvs-diff-tree): Remove unused function.
3090
3091 2008-04-09 Michael Albinus <michael.albinus@gmx.de>
3092
3093 * net/tramp.el (tramp-find-file-name-coding-system-alist): New defun.
3094 (tramp-handle-insert-file-contents, tramp-handle-write-region): Use it.
3095
3096 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
3097
3098 * vc-hooks.el (vc-default-mode-line-string): Use ? for missing.
3099
3100 * minibuffer.el (minibuffer): Move group from cus-edit.el.
3101 (completion-auto-help): Move from C code.
3102 (minibuffer--maybe-completion-help): Remove.
3103 (minibuffer--bitset): New function.
3104 (minibuffer--do-completion): Rename from minibuffer-do-completion.
3105 Renumber a bit. Really complete on string *before* point.
3106 Add argument used for word-completion.
3107 Join trailing / in completion with following text, as done in
3108 minibuffer-complete-word.
3109 Handle new value `lazy' for completion-auto-help.
3110 (minibuffer-try-word-completion): New function extracted from
3111 minibuffer-complete-word.
3112 (minibuffer-complete-word): Use minibuffer--do-completion.
3113 (minibuffer--insert-strings): Rename from
3114 minibuffer-complete-insert-strings.
3115 (exit-minibuffer): Fix typo.
3116 * cus-edit.el (minibuffer): Move group to minibuffer.el.
3117 * cus-start.el: Remove completion-auto-help.
3118
3119 2008-04-09 Alexandre Julliard <julliard@winehq.org>
3120
3121 * vc.el (vc-status-add-entries): New function.
3122 (vc-status-add-entry): Remove.
3123 (vc-update-vc-status-buffer, vc-status-mark-buffer-changed):
3124 Use vc-status-add-entries.
3125
3126 * emacs-lisp/ewoc.el (ewoc-collect): Return results in the correct
3127 order.
3128
3129 2008-04-09 Jason Rumney <jasonr@gnu.org>
3130
3131 * makefile.w32-in (LOADDEFS): Add mh-loaddefs.el.
3132 ($(lisp)/mh-e/mh-loaddefs.el): Simplify rule.
3133 (pre-mh-loaddefs.el-CMD, pre-mh-loaddefs.el-SH): Remove.
3134 (AUTOGENEL): New variable.
3135 (distclean, maintainer-clean): New targets.
3136
3137 2008-04-09 Chong Yidong <cyd@stupidchicken.com>
3138
3139 * emacs-lisp/regexp-opt.el (regexp-opt):
3140 Reduce max-lisp-eval-depth and max-specpdl-size to 10000.
3141
3142 2008-04-09 Lennart Borgman <lennart.borgman@gmail.com>
3143
3144 * nxml/nxml-mode.el (nxml-cleanup): New function.
3145 (nxml-mode): Add it to change-major-mode-hook.
3146
3147 2008-04-09 Jan Djärv <jan.h.d@swipnet.se>
3148
3149 * term/x-win.el (x-gtk-stock-map): Map info to gtk-info.
3150
3151 2008-04-09 Juanma Barranquero <lekktu@gmail.com>
3152
3153 * calc/.cvsignore: New file.
3154
3155 2008-04-09 Jan Djärv <jan.h.d@swipnet.se>
3156
3157 * vc.el (vc-status-tool-bar-map): Add vc-print-log to tool bar.
3158
3159 * tooltip.el (tooltip-mode): Set tooltip-show-help-non-mode as
3160 show-help-function when turning tooltip off.
3161 (tooltip-show): Call tooltip-show-help-non-mode if use-echo-area.
3162 (tooltip-trunc-str, tooltip-show-help-non-mode): New.
3163
3164 2008-04-09 Alan Mackenzie <acm@muc.de>
3165
3166 * font-lock.el (font-lock-extend-after-change-region-function):
3167 Make it buffer local.
3168
3169 2008-04-09 Glenn Morris <rgm@gnu.org>
3170
3171 * calendar/calendar.el (diary-file, european-calendar-style):
3172 Remove autoload cookies.
3173
3174 2008-04-09 Dan Nicolaescu <dann@ics.uci.edu>
3175
3176 * outline.el (outline-mode-menu-bar-map):
3177 * log-view.el (log-view-mode-menu):
3178 * log-edit.el (log-edit-menu): Add :help.
3179
3180 2008-04-09 Chong Yidong <cyd@stupidchicken.com>
3181
3182 * emacs-lisp/regexp-opt.el (regexp-opt-group):
3183 Use substring-no-properties for correct handling of unibyte strings.
3184
3185 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
3186
3187 * add-log.el (change-log-next-buffer): Handle the case where version<
3188 signals an error.
3189
3190 * mouse.el (mouse-menu-major-mode-map): New fun extracted from
3191 mouse-major-mode-menu.
3192 (mouse-menu-bar-map): New fun extracted from mouse-popup-menubar.
3193 (mouse-major-mode-menu, mouse-popup-menubar)
3194 (mouse-popup-menubar-stuff): Use them.
3195 (C-down-mouse-3): Bind to a dynamic map rather than to
3196 mouse-popup-menubar-stuff.
3197
3198 * bindings.el (mode-line-major-mode-keymap): Bind down-mouse-1
3199 to mouse-menu-major-mode-map rather than to mouse-major-mode-menu.
3200
3201 2008-04-09 Dan Nicolaescu <dann@ics.uci.edu>
3202
3203 * vc-svn.el (vc-svn-modify-change-comment): Add support for the
3204 file:// access method.
3205
3206 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
3207
3208 * minibuffer.el: New file.
3209 * loadup.el: Load it.
3210
3211 2008-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
3212
3213 * Makefile.in ($(lisp)/mh-e/mh-loaddefs.el): Make it depend on mh-e/*.el
3214 rather than subdirs.el. It introduces an ugly circular dependency, tho.
3215
3216 * calc/calc.el: Load "calc-loaddefs" rather than set up manual autoloads.
3217 (calc-mode-map, calc-digit-map, calc-dispatch-map):
3218 Move initialization into declaration.
3219 * calc/calc-yank.el:
3220 * calc/calc-misc.el:
3221 * calc/calc-embed.el:
3222 * calc/calc-aent.el: Add autoload cookies. Set generated-autoload-file.
3223
3224 2008-04-08 Michael Albinus <michael.albinus@gmx.de>
3225
3226 * ps-samp.el (ps-add-printer, ps-remove-printer)
3227 (ps-make-dynamic-printer-menu): New functions.
3228
3229 * net/zeroconf.el: New file.
3230
3231 2008-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
3232
3233 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits): Typo.
3234
3235 2008-04-08 Dan Nicolaescu <dann@ics.uci.edu>
3236
3237 * vc-rcs.el (vc-rcs-modify-change-comment):
3238 * vc-cvs.el (vc-cvs-modify-change-comment): Fix argument order.
3239
3240 * log-view.el (log-view-mode-menu): Bind log-view-modify-change-comment.
3241
3242 2008-04-08 Juanma Barranquero <lekktu@gmail.com>
3243
3244 * international/mule-cmds.el (set-locale-environment): Don't warn if
3245 coding system doesn't agree with system locale (this reverts changes
3246 by Dave Love, dated 2002-10-27 and 2002-10-09).
3247
3248 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
3249 * emacs-lisp/cl-macs.el (get-setf-method): Use `string-match-p'.
3250
3251 * emacs-lisp/copyright.el (copyright-update-year): Use `looking-at-p'.
3252
3253 2008-04-08 Glenn Morris <rgm@gnu.org>
3254
3255 * calendar/calendar.el (calendar-date-style): Remove autoload cookie.
3256 * textmodes/remember.el (remember-diary-convert-entry):
3257 Require calendar.
3258
3259 * textmodes/remember.el (remember-diary-extract-entries): Don't pass
3260 diary-file, since it is the default for make-diary-entry anyway.
3261
3262 * calendar/cal-menu.el (cal-menu-event-to-date):
3263 Rename calendar-event-to-date. Update callers.
3264 (calendar-mouse-tex-day): Rename cal-tex-mouse-day.
3265 (calendar-mouse-tex-week): Rename cal-tex-mouse-week.
3266 (calendar-mouse-tex-week2): Rename cal-tex-mouse-week2.
3267 (calendar-mouse-tex-week-iso): Rename cal-tex-mouse-week-iso.
3268 (calendar-mouse-tex-week-monday): Rename cal-tex-mouse-week-monday.
3269 (calendar-mouse-tex-filofax-daily): Rename cal-tex-mouse-filofax-daily.
3270 (calendar-mouse-tex-filofax-2week): Rename cal-tex-mouse-filofax-2week.
3271 (calendar-mouse-tex-filofax-week): Rename cal-tex-mouse-filofax-week.
3272 (calendar-mouse-tex-month): Rename cal-tex-mouse-month.
3273 (calendar-mouse-tex-month-landscape):
3274 Rename cal-tex-mouse-month-landscape.
3275 (calendar-mouse-tex-year): Rename cal-tex-mouse-year.
3276 (calendar-mouse-tex-filofax-year): Rename cal-tex-mouse-filofax-year.
3277 (calendar-mouse-tex-year-landscape):
3278 Rename cal-tex-mouse-year-landscape.
3279 (cal-menu-context-mouse-menu): Update for above name changes.
3280
3281 * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
3282 * calendar/cal-french.el, calendar/cal-hebrew.el, calendar/cal-islam.el:
3283 * calendar/cal-iso.el, calendar/cal-julian.el, calendar/cal-move.el:
3284 * calendar/cal-persia.el, calendar/cal-tex.el, calendar/calendar.el:
3285 * calendar/holidays.el: Replace int-to-string with number-to-string.
3286
3287 2008-04-08 Chong Yidong <cyd@stupidchicken.com>
3288
3289 * mwheel.el (mwheel-scroll): Deactivate any temporarily active
3290 region if point moves.
3291
3292 2008-04-08 Kenichi Handa <handa@m17n.org>
3293
3294 * faces.el (font-slant-table): Change numeric values for `r',
3295 `roman', and `normal'.
3296
3297 2008-04-07 Vincent Belaïche <vincent.b.1@hotmail.fr>
3298
3299 * calc/calc-vec.el (calcFunc-kron, calc-kron): New functions.
3300
3301 2008-04-07 Jay Belanger <jay.p.belanger@gmail.com>
3302
3303 * calc/calc-ext.el (calc-init-extensions): Add `calc-kron' and
3304 `calcFunc-kron' to autoloads. Add keybinding for `calc-kron'.
3305
3306 2008-04-07 Michael Albinus <michael.albinus@gmx.de>
3307
3308 * net/tramp.el (tramp-methods): Fix again tramp-copy-args of
3309 "pscp" and "psftp". Reported by Gilles Pion <gpion@lfdj.com>.
3310
3311 2008-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
3312
3313 * dired-aux.el (dired-read-shell-command): Use read-shell-command.
3314
3315 2008-04-07 Sam Steingold <sds@gnu.org>
3316
3317 * progmodes/inf-lisp.el (lisp-compile-string, lisp-eval-string):
3318 Add helper functions.
3319 (lisp-do-defun): Extract the common part of lisp-eval-defun and
3320 lisp-compile-defun; DEFVAR forms reset the variables to the init
3321 values, just like in emacs-lisp mode eval-defun.
3322 (lisp-eval-defun, lisp-compile-defun): Use lisp-do-defun.
3323 (lisp-compile-region): Use lisp-compile-string.
3324
3325 2008-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
3326
3327 * subr.el (combine-and-quote-strings): Also quote strings that contain
3328 the separator.
3329
3330 * pcvs-util.el (cvs-map): Avoid recursion :-(
3331
3332 2008-04-07 Glenn Morris <rgm@gnu.org>
3333
3334 * calendar/calendar.el (calendar-mode-map): Replace use of kbd.
3335
3336 * calendar.el (diary-view-entries-initially-flag): Rename
3337 view-diary-entries-initially. Keep old name as alias, update users.
3338 (calendar-mark-diary-entries-flag): Rename
3339 mark-diary-entries-in-calendar. Keep old name as alias, update users.
3340 (calendar-view-holidays-initially-flag): Rename
3341 view-calendar-holidays-initially. Keep old name as alias, update users.
3342 (calendar-mark-holidays-flag): Rename mark-holidays-in-calendar.
3343 Keep old name as alias, update users.
3344 (calendar-initial-window-hook): Rename initial-calendar-window-hook.
3345 Keep old name as alias, update users.
3346 (calendar-today-visible-hook): Rename today-visible-calendar-hook.
3347 Keep old name as alias, update users.
3348 (calendar-today-invisible-hook): Rename today-invisible-calendar-hook.
3349 Keep old name as alias, update users.
3350 (diary-iso-date-forms): Rename iso-date-diary-pattern. Update users.
3351 (diary-american-date-forms): Rename american-date-diary-pattern.
3352 Keep old name as alias, update users.
3353 (diary-european-date-forms): Rename european-date-diary-pattern.
3354 Keep old name as alias, update users.
3355 (calendar-iso-date-display-form): Rename iso-calendar-display-form.
3356 Keep old name as alias, update users.
3357 (calendar-european-date-display-form): Rename
3358 european-calendar-display-form. Keep old name as alias, update users.
3359 (calendar-american-date-display-form): Rename
3360 european-calendar-display-form. Keep old name as alias, update users.
3361 (diary-show-holidays-flag): Rename holidays-in-diary-buffer.
3362 Keep old name as alias, update users.
3363 (holiday-general-holidays): Rename general-holidays.
3364 Keep old name as alias, update users.
3365 (holiday-oriental-holidays): Rename oriental-holidays.
3366 Keep old name as alias, update users.
3367 (holiday-local-holidays): Rename local-holidays.
3368 Keep old name as alias, update users.
3369 (holiday-other-holidays): Rename other-holidays.
3370 Keep old name as alias, update users.
3371 (holiday-hebrew-holidays): Rename hebrew-holidays.
3372 Keep old name as alias, update users.
3373 (holiday-christian-holidays): Rename christian-holidays.
3374 Keep old name as alias, update users.
3375 (holiday-islamic-holidays): Rename islamic-holidays.
3376 Keep old name as alias, update users.
3377 (holiday-bahai-holidays): Rename bahai-holidays.
3378 Keep old name as alias, update users.
3379 (holiday-solar-holidays): Rename solar-holidays.
3380 Keep old name as alias, update users.
3381 (diary-fancy-buffer): Rename fancy-diary-buffer.
3382 Keep old name as alias, update users.
3383 (calendar-other-calendars-buffer): Rename other-calendars-buffer.
3384 Update users.
3385 (calendar-hebrew-yahrzeit-buffer): Rename cal-hebrew-yahrzeit-buffer.
3386 Update users.
3387 (calendar-increment-month): Rename increment-calendar-month.
3388 Keep old name as alias, update callers.
3389 (calendar-increment-month-cons): Rename old calendar-increment-month.
3390 Update callers.
3391 (calendar-extract-month): Rename extract-calendar-month.
3392 Keep old name as alias, update callers
3393 (calendar-extract-day): Rename extract-calendar-day.
3394 Keep old name as alias, update callers.
3395 (calendar-extract-year): Rename extract-calendar-year.
3396 Keep old name as alias, update callers.
3397 (calendar-generate-window): Rename generate-calendar-window.
3398 Update callers.
3399 (calendar-generate): Rename generate-calendar. Update callers.
3400 (calendar-generate-month): Rename generate-calendar-month.
3401 Update callers.
3402 (calendar-redraw): Rename redraw-calendar. Update callers.
3403 (calendar-describe-mode): Rename describe-calendar-mode. Update uses.
3404 (calendar-mouse-other-month): Rename mouse-calendar-other-month.
3405 Update callers.
3406 (calendar-update-mode-line): Rename update-calendar-mode-line.
3407 Update callers.
3408 (calendar-exit): Rename exit-calendar. Keep old name as alias,
3409 update callers.
3410 (calendar-mark-visible-date): Rename mark-visible-calendar-date.
3411 Keep old name as alias, update callers.
3412 * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
3413 * calendar/cal-dst.el, calendar/cal-french.el, calendar/cal-hebrew.el:
3414 * calendar/cal-html.el, calendar/cal-islam.el, calendar/cal-iso.el:
3415 * calendar/cal-julian.el, calendar/cal-menu.el, calendar/cal-move.el:
3416 * calendar/cal-persia.el, calendar/cal-tex.el, calendar/cal-x.el:
3417 * calendar/diary-lib.el, calendar/holidays.el, calendar/lunar.el:
3418 * calendar/solar.el: Update for calendar.el name changes.
3419 * org/org.el (org-agenda-format-date-aligned)
3420 (org-agenda-execute-calendar-command): Access date elements directly
3421 rather than using calendar functions.
3422 (org-read-date, org-goto-calendar, org-agenda-goto-calendar):
3423 Also set calendar-view-diary-initially-flag,
3424 calendar-view-holidays-initially-flag
3425 (org-get-entries-from-diary): Also set diary-fancy-buffer.
3426 (org-agenda-execute-calendar-command): No need to set displayed-day.
3427
3428 2008-04-06 Alan Mackenzie <acm@muc.de>
3429
3430 * progmodes/cc-langs.el (c-before-font-lock-function): Correct a
3431 typo in the doc string.
3432
3433 * progmodes/cc-mode.el (c-basic-common-init):
3434 Set font-lock-extend-after-change-region-function.
3435 (c-extend-after-change-region): New function, used in
3436 font-lock-extend-after-change-region-function, thus superseding
3437 advice on the Font Lock after change functions.
3438 (c-advise-fl-for-region): Remove this macro.
3439
3440 2008-04-06 Reiner Steib <Reiner.Steib@gmx.de>
3441
3442 * textmodes/flyspell.el (flyspell-duplicate-distance):
3443 Improve custom type.
3444
3445 2008-04-06 Glenn Morris <rgm@gnu.org>
3446
3447 * calendar/diary-lib.el (diary-sexp-entry-symbol):
3448 Rename sexp-diary-entry-symbol. Keep old name as alias, update users.
3449 (diary-list-entries-hook): Rename list-diary-entries-hook.
3450 Keep old name as alias, update users.
3451 (diary-mark-entries-hook): Rename mark-diary-entries-hook.
3452 Keep old name as alias, update users.
3453 (diary-nongregorian-listing-hook): Rename
3454 nongregorian-diary-listing-hook. Keep old name as alias, update users.
3455 (diary-nongregorian-marking-hook): Rename
3456 nongregorian-diary-marking-hook. Keep old name as alias, update users.
3457 (diary-print-entries-hook): Rename print-diary-entries-hook.
3458 Keep old name as alias, update users.
3459 (diary-abbreviated-year-flag): Rename abbreviated-calendar-year.
3460 Keep old name as alias, update users.
3461 (diary-number-of-entries): Rename number-of-diary-entries.
3462 Keep old name as alias, update users.
3463 (view-diary-entries, list-diary-entries, show-all-diary-entries):
3464 Give version of obsolescence.
3465 (diary-view-other-diary-entries): Rename view-other-diary-entries.
3466 Keep old name as alias, update callers.
3467 (diary-add-to-list): Rename add-to-diary-list. Keep old name as alias,
3468 update callers.
3469 (diary-include-other-diary-files): Rename include-other-diary-files.
3470 Keep old name as alias, update callers.
3471 (diary-simple-display): Rename simple-diary-display.
3472 Keep old name as alias, update callers.
3473 (diary-fancy-display): Rename fancy-diary-display.
3474 Keep old name as alias, update callers.
3475 (diary-print-entries): Rename print-diary-entries.
3476 Keep old name as alias, update callers.
3477 (diary-marking-entries-flag): Rename marking-diary-entries.
3478 Update users.
3479 (diary-marking-entry-flag): Rename marking-diary-entry. Update users.
3480 (diary-mark-entries): Rename mark-diary-entries.
3481 Keep old name as alias, update callers.
3482 (diary-mark-sexp-entries): Rename mark-sexp-diary-entries.
3483 Keep old name as alias, update callers.
3484 (diary-mark-included-diary-files): Rename mark-included-diary-files.
3485 Keep old name as alias, update callers.
3486 (calendar-mark-days-named): Rename mark-calendar-days-named.
3487 Keep old name as alias, update callers.
3488 (calendar-mark-month): Rename mark-calendar-month.
3489 Keep old name as alias, update callers.
3490 (calendar-mark-date-pattern): Rename mark-calendar-date-pattern.
3491 Keep old name as alias, update callers.
3492 (diary-sort-entries): Rename sort-diary-entries.
3493 Keep old name as alias, update callers.
3494 (diary-list-sexp-entries): Rename list-sexp-diary-entries.
3495 Keep old name as alias, update callers.
3496 (diary-make-entry): Rename make-diary-entry. Keep old name as alias,
3497 update callers.
3498 (diary-insert-entry): Rename insert-diary-entry.
3499 Keep old name as alias.
3500 (diary-insert-weekly-entry): Rename insert-weekly-diary-entry.
3501 Keep old name as alias.
3502 (diary-insert-monthly-entry): Rename insert-monthly-diary-entry.
3503 Keep old name as alias.
3504 (diary-insert-yearly-entry): Rename insert-yearly-diary-entry.
3505 Keep old name as alias.
3506 (diary-insert-anniversary-entry): Rename insert-anniversary-diary-entry.
3507 Keep old name as alias.
3508 (diary-insert-block-entry): Rename insert-block-diary-entry.
3509 Keep old name as alias.
3510 (diary-insert-cyclic-entry): Rename insert-cyclic-diary-entry.
3511 Keep old name as alias.
3512 (diary-fancy-font-lock-keywords): Rename fancy-diary-font-lock-keywords.
3513 Keep old name as alias, update users.
3514 (diary-fancy-display-mode): Rename fancy-diary-display-mode.
3515 Keep old name as alias, update callers.
3516 * calendar/cal-bahai.el, calendar/cal-hebrew.el, calendar/cal-islam.el:
3517 * calendar/cal-menu.el, calendar/cal-x.el, calendar/calendar.el:
3518 * calendar/icalendar.el: Update for diary-lib name changes.
3519
3520 2008-04-06 Chong Yidong <cyd@stupidchicken.com>
3521
3522 * dired-aux.el (dired-overwrite-confirmed): Revert last change.
3523
3524 * dired.el (dired-dnd-handle-local-file): Obey dired-backup-overwrite
3525 for copy, move, and link operations.
3526
3527 2008-04-06 Michael Kifer <kifer@cs.stonybrook.edu>
3528
3529 * emulation/viper-init.el, emulation/viper-ex.el, emulation/viper-cmd.el
3530 (viper-search-wrap-around-t): Replace with viper-search-wrap-around.
3531
3532 * ediff-util.el, ediff-vers.el, ediff-wind.el: Replace 3-argument
3533 'require' statements with 1-argument ones (wrapped in if's).
3534 For compatibility with the current stable version of XEmacs.
3535
3536 2008-04-06 Dan Nicolaescu <dann@ics.uci.edu>
3537
3538 * vc.el (vc-status-prepare-status-buffer): Reset vc-parent-buffer-name.
3539
3540 2008-04-06 Jason Rumney <jasonr@gnu.org>
3541
3542 * language/burmese.el ("Burmese"): Make sample text consistent with
3543 language name.
3544
3545 2008-04-06 Nick Roberts <nickrob@snap.net.nz>
3546
3547 * progmodes/gdb-ui.el (gdb): New group.
3548 (gdb-debug-log-max, gdb-enable-debug)
3549 (gdb-cpp-define-alist-program, gdb-cpp-define-alist-flags)
3550 (gdb-show-main, gdb-many-windows, gdb-use-separate-io-buffer)
3551 (gdb-speedbar-auto-raise, gdb-use-colon-colon-notation)
3552 (gdb-show-changed-values, gdb-max-children)
3553 (gdb-delete-out-of-scope, gdb-same-frame, gdb-find-source-frame)
3554 (breakpoint-enabled, breakpoint-disabled, gdb-max-frames)
3555 (gdb-all-registers, gdb-memory-repeat-count, gdb-memory-format)
3556 (gdb-memory-unit): Move to new group from GUD group.
3557 (menu): Allow customization from GDB-UI menu-item.
3558
3559 2008-04-05 Chong Yidong <cyd@stupidchicken.com>
3560
3561 * dired-aux.el (dired-overwrite-confirmed): Supply initial value.
3562
3563 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
3564
3565 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-annotate-command)
3566 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
3567 Revision numbers can include ".".
3568
3569 * diff-mode.el (diff-end-of-hunk): Be careful not to overlook trailing
3570 "+" lines not accounted for by counting "-" and context lines.
3571
3572 2008-04-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3573
3574 * term/mac-win.el (mac-service-open-file): Use file URL instead of
3575 file name string.
3576
3577 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
3578
3579 * vc-bzr.el (vc-bzr-annotate-command): Preserve line alignment.
3580 (vc-bzr-annotate-time): Accept space used to preserve alignment.
3581
3582 2008-04-05 Richard Stallman <rms@gnu.org>
3583
3584 * emacs-lisp/advice.el (defadvice): Add usage pattern.
3585
3586 2008-04-05 Nick Roberts <nickrob@snap.net.nz>
3587
3588 * progmodes/gdb-ui.el: Add advice about using Cygwin GDB (from a
3589 thread in [h-e-w]).
3590
3591 2008-04-05 Juanma Barranquero <lekktu@gmail.com>
3592
3593 * files.el (abort-if-file-too-large): Fix typo in docstring.
3594
3595 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
3596
3597 * subr.el (functionp): Return nil for special forms.
3598
3599 2008-04-05 Glenn Morris <rgm@gnu.org>
3600
3601 * emacs-lisp/autoload.el (autoload-ensure-default-file):
3602 Provide a feature.
3603 * calendar/calendar.el, calendar/diary-lib.el, calendar/holidays.el:
3604 Require loaddef file rather than loading it.
3605 * Makefile.in ($(lisp)/mh-e/mh-loaddefs.el): Simplify rule now that
3606 autoload-ensure-default-file provides a feature.
3607
3608 * Makefile.in (LOADDEFS): Add mh-loaddefs.el.
3609 (AUTOGENEL): mh-loaddefs is in $LOADDEFS now.
3610 (compile, compile-always, recompile): Use $LOADDEFS.
3611 (cal-autoloads): Remove.
3612
3613 * calendar/cal-x.el (calendar-dedicate-diary): Use get-buffer rather
3614 than buffer-live-p. Reported by David Koppelman <koppel@ece.lsu.edu>.
3615
3616 * calendar/calendar.el (hebrew-holidays-1, hebrew-holidays-2)
3617 (hebrew-holidays-3, hebrew-holidays-4): Don't autoload obsolescence.
3618
3619 * calendar/calendar.el (diary-hebrew-entry-symbol):
3620 Rename hebrew-diary-entry-symbol. Keep old name as alias.
3621 (diary-islamic-entry-symbol): Rename islamic-diary-entry-symbol.
3622 Keep old name as alias.
3623 (diary-bahai-entry-symbol): Rename bahai-diary-entry-symbol.
3624 Keep old name as alias.
3625 * calendar/cal-bahai.el: Update for rename bahai-diary-entry-symbol
3626 to diary-bahai-entry-symbol.
3627 * calendar/cal-hebrew.el: Update for rename hebrew-diary-entry-symbol
3628 to diary-hebrew-entry-symbol.
3629 * calendar/cal-islam.el: Update for rename islamic-diary-entry-symbol
3630 to diary-islamic-entry-symbol.
3631 * calendar/diary-lib.el: Update for diary-entry-symbol renames.
3632
3633 * calendar/solar.el (diary-sabbath-candles-minutes)
3634 (diary-sabbath-candles): Move to cal-hebrew.
3635 * calendar/cal-hebrew.el (diary-hebrew-sabbath-candles-minutes)
3636 (diary-hebrew-sabbath-candles): Move here from solar.el and rename.
3637 Doc fix. Keep old name as alias.
3638 (diary-hebrew-sabbath-candles): Simplify.
3639 (solar-setup, solar-sunrise-sunset, calendar-latitude)
3640 (calendar-longitude, calendar-time-zone): Declare for compiler.
3641 * calendar/diary-lib.el (list-sexp-diary-entries): Update doc for
3642 rename.
3643
3644 * calendar/cal-coptic.el (calendar-coptic-month-name-array):
3645 Rename coptic-calendar-month-name-array. Update callers.
3646 (calendar-coptic-epoch): Rename coptic-calendar-epoch. Update callers.
3647 (calendar-coptic-name): Rename coptic-name. Update callers.
3648 (calendar-coptic-leap-year-p): Rename coptic-calendar-leap-year-p.
3649 Update callers.
3650 (calendar-coptic-last-day-of-month):
3651 Rename coptic-calendar-last-day-of-month. Update callers.
3652 (calendar-coptic-to-absolute): Rename calendar-absolute-from-coptic.
3653 Keep old name as alias, update callers.
3654 (calendar-coptic-print-date): Rename calendar-print-coptic-date.
3655 Keep old name as alias, update callers.
3656 (calendar-coptic-goto-date): Rename calendar-goto-coptic-date.
3657 Keep old name as alias.
3658 (calendar-ethiopic-month-name-array):
3659 Rename ethiopic-calendar-month-name-array. Update callers.
3660 (calendar-ethiopic-epoch): Rename ethiopic-calendar-epoch.
3661 Update callers.
3662 (calendar-ethiopic-name): Rename ethiopic-name. Update callers.
3663 (calendar-ethiopic-to-absolute): Rename calendar-absolute-from-ethiopic.
3664 Keep old name as alias, update callers.
3665 (calendar-ethiopic-print-date): Rename calendar-print-ethiopic-date.
3666 Keep old name as alias, update callers.
3667 (calendar-ethiopic-goto-date): Rename calendar-goto-ethiopic-date.
3668 Keep old name as alias.
3669
3670 * calendar/cal-french.el (calendar-french-epoch):
3671 Rename french-calendar-epoch. Update callers.
3672 (calendar-french-month-name-array): Rename variable and function
3673 french-calendar-month-name-array. Update callers.
3674 (calendar-french-multibyte-month-name-array):
3675 Rename french-calendar-multibyte-month-name-array. Update callers.
3676 (calendar-french-day-name-array): Rename variable and function
3677 french-calendar-day-name-array. Update callers.
3678 (calendar-french-special-days-array): Rename variable and function
3679 french-calendar-special-days-array. Update callers.
3680 (calendar-french-multibyte-special-days-array):
3681 Rename french-calendar-multibyte-special-days-array. Update callers.
3682 (calendar-french-accents-p): Rename french-calendar-accents.
3683 Update callers.
3684 (calendar-french-leap-year-p): Rename french-calendar-leap-year-p.
3685 Update callers.
3686 (calendar-french-last-day-of-month):
3687 Rename french-calendar-last-day-of-month. Update callers.
3688 (calendar-french-to-absolute): Rename calendar-absolute-from-french.
3689 Keep old name as alias, update callers.
3690 (calendar-french-print-date): Rename calendar-print-french-date.
3691 Keep old name as alias, update callers.
3692 (calendar-french-goto-date): Rename calendar-goto-french-date.
3693 Keep old name as alias.
3694
3695 * calendar/cal-menu.el, calendar/calendar.el:
3696 Update for Coptic and French name changes.
3697
3698 * calendar/cal-china.el (calendar-chinese): Rename custom group
3699 from chinese-calendar. Update users.
3700 (calendar-chinese-time-zone): Rename chinese-calendar-time-zone.
3701 Keep old name as alias, update users.
3702 (calendar-chinese-location-name): Rename chinese-calendar-location-name.
3703 Keep old name as alias.
3704 (calendar-chinese-daylight-time-offset):
3705 Rename chinese-calendar-daylight-time-offset. Keep old name as alias,
3706 update users.
3707 (calendar-chinese-standard-time-zone-name):
3708 Rename chinese-calendar-standard-time-zone-name.
3709 Keep old name as alias, update users.
3710 (calendar-chinese-daylight-saving-start):
3711 Rename chinese-calendar-daylight-savings-starts.
3712 Keep old name as alias, update users.
3713 (calendar-chinese-daylight-saving-end):
3714 Rename chinese-calendar-daylight-savings-ends. Keep old name as alias,
3715 update users.
3716 (calendar-chinese-daylight-saving-start-time):
3717 Rename chinese-calendar-daylight-savings-starts-time.
3718 Keep old name as alias, update users.
3719 (calendar-chinese-daylight-saving-end-time):
3720 Rename chinese-calendar-daylight-savings-ends-time.
3721 Keep old name as alias, update users.
3722 (calendar-chinese-celestial-stem): Rename
3723 calendar-chinese-celestial-stem. Keep old name as alias, update users.
3724 (calendar-chinese-terrestrial-branch):
3725 Rename calendar-chinese-terrestrial-branch. Keep old name as alias,
3726 update users.
3727 (calendar-chinese-zodiac-sign-on-or-after):
3728 Rename chinese-zodiac-sign-on-or-after. Update callers.
3729 (calendar-chinese-new-moon-on-or-after):
3730 Rename chinese-new-moon-on-or-after. Update callers.
3731 (calendar-chinese-month-list): Rename chinese-month-list.
3732 Update callers.
3733 (calendar-chinese-number-months): Rename number-chinese-months.
3734 Update callers.
3735 (calendar-chinese-compute-year): Rename compute-chinese-year.
3736 Update callers.
3737 (calendar-chinese-year-cache): Rename chinese-year-cache. Update users.
3738 (calendar-chinese-year): Rename chinese-year. Update callers.
3739 (calendar-chinese-year-cache-init): Rename chinese-year-cache-init.
3740 (calendar-chinese-to-absolute): Rename calendar-absolute-from-chinese.
3741 Keep old name as alias, update callers.
3742 (calendar-chinese-print-date): Rename calendar-print-chinese-date.
3743 Keep old name as alias, update callers.
3744 (calendar-chinese-months-to-alist):
3745 Rename make-chinese-month-assoc-list. Update callers.
3746 (calendar-chinese-months): Rename chinese-months. Update callers.
3747 (calendar-chinese-goto-date): Rename calendar-goto-chinese-date.
3748 Keep old name as alias, update callers.
3749
3750 * calendar/cal-hebrew.el (calendar-hebrew-leap-year-p):
3751 Rename hebrew-calendar-leap-year-p. Update callers.
3752 (calendar-hebrew-last-month-of-year):
3753 Rename hebrew-calendar-last-month-of-year. Update callers.
3754 (calendar-hebrew-elapsed-days): Rename hebrew-calendar-elapsed-days.
3755 Update callers.
3756 (calendar-hebrew-days-in-year): Rename hebrew-calendar-days-in-year.
3757 Update callers.
3758 (calendar-hebrew-long-heshvan-p): Rename hebrew-calendar-long-heshvan-p.
3759 Update callers.
3760 (calendar-hebrew-short-kislev-p): Rename hebrew-calendar-short-kislev-p.
3761 Update callers.
3762 (calendar-hebrew-last-day-of-month):
3763 Rename hebrew-calendar-last-day-of-month. Update callers.
3764 (calendar-hebrew-to-absolute): Rename calendar-absolute-from-hebrew.
3765 Keep old name as alias, update callers.
3766 (calendar-hebrew-print-date): Rename calendar-print-hebrew-date.
3767 Keep old name as alias, update callers.
3768 (calendar-hebrew-yahrzeit): Rename hebrew-calendar-yahrzeit.
3769 Keep old name as alias, update callers.
3770 (calendar-hebrew-goto-date): Rename calendar-goto-hebrew-date.
3771 Keep old name as alias.
3772 (holiday-hebrew-rosh-hashanah): Rename holiday-rosh-hashanah-etc.
3773 Keep old name as alias.
3774 (holiday-hebrew-hanukkah): Rename holiday-hanukkah.
3775 Keep old name as alias.
3776 (holiday-hebrew-passover): Rename holiday-passover-etc.
3777 Keep old name as alias.
3778 (holiday-hebrew-tisha-b-av): Rename holiday-tisha-b-av-etc.
3779 Keep old name as alias, update callers.
3780 (diary-hebrew-list-entries): Rename list-hebrew-diary-entries.
3781 Keep old name as alias.
3782 (calendar-hebrew-mark-date-pattern):
3783 Rename mark-hebrew-calendar-date-pattern. Keep old name as alias,
3784 update callers.
3785 (diary-hebrew-mark-entries): Rename mark-hebrew-diary-entries.
3786 Keep old name as alias.
3787 (diary-hebrew-insert-entry): Rename insert-hebrew-diary-entry.
3788 Keep old name as alias.
3789 (diary-hebrew-insert-monthly-entry):
3790 Rename insert-monthly-hebrew-diary-entry. Keep old name as alias.
3791 (diary-hebrew-insert-yearly-entry):
3792 Rename insert-yearly-hebrew-diary-entry. Keep old name as alias.
3793 (calender-hebrew-list-yahrzeits): Rename list-yahrzeit-dates.
3794 Keep old name as alias.
3795 (diary-hebrew-omer): Rename diary-omer. Keep old name as alias.
3796 (diary-hebrew-yahrzeit): Rename diary-yahrzeit. Keep old name as alias.
3797 (diary-hebrew-rosh-hodesh): Rename diary-rosh-hodesh.
3798 Keep old name as alias.
3799 (calendar-hebrew-parashiot-names):
3800 Rename hebrew-calendar-parashiot-names. Update callers.
3801 (calendar-hebrew-parasha-name): Rename hebrew-calendar-parasha-name.
3802 (calendar-hebrew-year-Saturday-incomplete-Sunday):
3803 Rename hebrew-calendar-year-Saturday-incomplete-Sunday.
3804 (calendar-hebrew-year-Saturday-complete-Tuesday):
3805 Rename hebrew-calendar-year-Saturday-complete-Tuesday.
3806 (calendar-hebrew-year-Monday-incomplete-Tuesday):
3807 Rename hebrew-calendar-year-Monday-incomplete-Tuesday.
3808 (calendar-hebrew-year-Monday-complete-Thursday):
3809 Rename hebrew-calendar-year-Monday-complete-Thursday.
3810 (calendar-hebrew-year-Tuesday-regular-Thursday):
3811 Rename hebrew-calendar-year-Tuesday-regular-Thursday.
3812 (calendar-hebrew-year-Thursday-regular-Saturday):
3813 Rename hebrew-calendar-year-Thursday-regular-Saturday.
3814 (calendar-hebrew-year-Thursday-complete-Sunday):
3815 Rename hebrew-calendar-year-Thursday-complete-Sunday.
3816 (calendar-hebrew-year-Saturday-incomplete-Tuesday):
3817 Rename hebrew-calendar-year-Saturday-incomplete-Tuesday.
3818 (calendar-hebrew-year-Saturday-complete-Thursday):
3819 Rename hebrew-calendar-year-Saturday-complete-Thursday.
3820 (calendar-hebrew-year-Monday-incomplete-Thursday):
3821 Rename hebrew-calendar-year-Monday-incomplete-Thursday.
3822 (calendar-hebrew-year-Monday-complete-Saturday):
3823 Rename hebrew-calendar-year-Monday-complete-Saturday.
3824 (calendar-hebrew-year-Tuesday-regular-Saturday):
3825 Rename hebrew-calendar-year-Tuesday-regular-Saturday.
3826 (calendar-hebrew-year-Thursday-incomplete-Sunday):
3827 Rename hebrew-calendar-year-Thursday-incomplete-Sunday.
3828 (calendar-hebrew-year-Thursday-complete-Tuesday):
3829 Rename hebrew-calendar-year-Thursday-complete-Tuesday.
3830 (diary-hebrew-parasha): Rename diary-parasha. Keep old name as alias.
3831 Update for above name changes of constants.
3832
3833 * calendar/cal-menu.el, calendar/calendar.el:
3834 Update for chinese and hebrew name changes.
3835 * calendar/diary-lib.el: Update for hebrew name changes.
3836
3837 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
3838
3839 * subr.el (keymap-canonicalize): Correct thinko.
3840
3841 * server.el: Undo part of the multi-tty change, which is only
3842 needed if server.el is preloaded, and broke server-running-p.
3843 (server-socket-dir): Initialize in the defvar, as before.
3844 (server-start): Remove initialization of server-socket-dir.
3845
3846 2008-04-05 Eli Zaretskii <eliz@gnu.org>
3847
3848 * ls-lisp.el (ls-lisp-format): Support inodes that are 2- or
3849 3-member cons cells.
3850
3851 2008-04-05 Chong Yidong <cyd@stupidchicken.com>
3852
3853 * cus-face.el (custom-face-attributes): Handle roman slant.
3854
3855 * faces.el (default): Ensure the face-defface-spec property is set.
3856
3857 2008-04-05 Adrian Robert <Adrian.B.Robert@gmail.com>
3858
3859 * files.el (abort-if-file-too-large): New function.
3860 (find-file-noselect, insert-file-1): Use it.
3861
3862 2008-04-05 Reto Zimmermann <reto@gnu.org>
3863
3864 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
3865 Replace C-c[a-zA-Z] key bindings.
3866
3867 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
3868
3869 * progmodes/hideif.el (hif-token-alist): New var.
3870 (hif-token-regexp, hif-tokenize): Use it.
3871 (hif-mathify-binop): New macro.
3872 (hif-plus, hif-minus, hif-notequal, hif-greater, hif-less)
3873 (hif-greater-equal, hif-less-equal): Use it.
3874 (hif-logior, hif-logand): New functions.
3875 (hif-math): Accept | and & as well.
3876
3877 * progmodes/etags.el: Fix problem with completion for buffer-local
3878 tables. Reported by Radey Shouman <shouman@comcast.net>.
3879 (tags-complete-tag): Remove.
3880 (tags-lazy-completion-table): New function to replace it.
3881 (find-tag-tag, complete-tag): Update users.
3882
3883 2008-04-04 Dan Nicolaescu <dann@ics.uci.edu>
3884
3885 * vc-rcs.el (vc-rcs-dir-status):
3886 * vc-sccs.el (vc-sccs-dir-status): New function.
3887
3888 * outline.el (outline-mode-menu-bar-map):
3889 * term.el (terminal-signal-menu): Add :help.
3890
3891 * net/eudc.el (eudc-mode-map): Declare and define in one step.
3892 (eudc-tail-menu, eudc-server-menu, eudc-tools-menu): Add :help.
3893
3894 * emacs-lisp/re-builder.el (reb-mode-map):
3895 * textmodes/nroff-mode.el (nroff-mode-map): Add menus.
3896
3897 * diff-mode.el (diff-file-junk-re): Recognize the git format for
3898 new files, deleted files and for changing permissions.
3899 (diff-mode): Set beginning-of-defun-function and
3900 end-of-defun-function.
3901
3902 * vc-bzr.el (vc-bzr-state): Use when instead of if.
3903
3904 * vc.el (vc-default-status-fileinfo-extra): New function.
3905 (vc-status-mark-buffer-changed): Use it.
3906 (vc-update-vc-status-buffer): Allow for partial updates.
3907
3908 2008-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3909
3910 * net/tramp.el (after-init-hook): Don't wrap a lambda around
3911 tramp-register-completion-file-name-handler.
3912
3913 * subr.el (keymap-canonicalize): New function.
3914 * mouse.el (mouse-menu-non-singleton): Use it.
3915 (mouse-major-mode-menu): Remove hack made unnecessary.
3916
3917 * simple.el (set-fill-column): Prompt rather than error by default.
3918
3919 2008-04-04 Andreas Schwab <schwab@suse.de>
3920
3921 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
3922 Reset new-rules after each round.
3923
3924 * Makefile.in (cal-autoloads): New target.
3925 (compile, compile-always, recompile): Depend on it.
3926 ($(lisp)/calendar/cal-loaddefs.el)
3927 ($(lisp)/calendar/diary-loaddefs.el)
3928 ($(lisp)/calendar/hol-loaddefs.el): Depend on calendar/*.el.
3929
3930 2008-04-04 Michael Kifer <kifer@cs.stonybrook.edu>
3931
3932 * ediff*.el: Replace load with require in eval-when-compile.
3933
3934 * ediff-hook: Delete all invocations of (autoload ...).
3935
3936 * ediff-util.el (ediff-setup): Make window-min-height a local variable
3937 in ediff control window, and set its min height to 2.
3938 (ediff-setup-control-buffer): Dedicate the control window.
3939 (ediff-toggle-multiframe): Undedicate control window.
3940 Work directly with ediff-setup-windows-multiframe and
3941 ediff-setup-windows-plain.
3942
3943 * ediff-wind (ediff-choose-window-setup-function-automatically):
3944 New function.
3945 (ediff-window-setup-function): Change initialization.
3946 (ediff-setup-windows-automatic): Delete.
3947 (ediff-setup-windows-plain-merge): Make control window dedicated.
3948 (ediff-destroy-control-frame): Do not skip frames if working in a
3949 single frame.
3950
3951 * emulation/viper-ex.el: Move provide's forward, prevent recursion in
3952 eval-when-compile.
3953
3954 * emulation/viper-util.el: Move provide's forward, prevent recursion in
3955 eval-when-compile.
3956
3957 2008-04-04 Glenn Morris <rgm@gnu.org>
3958
3959 * calendar/cal-bahai.el (calendar-bahai-to-absolute): Rename
3960 calendar-absolute-from-bahai. Update callers, keep old name as alias.
3961
3962 * calendar/cal-islam.el (calendar-islamic-leap-year-p):
3963 Rename islamic-calendar-leap-year-p. Update callers.
3964 (calendar-islamic-last-day-of-month):
3965 Rename islamic-calendar-last-day-of-month. Update callers.
3966 (calendar-islamic-day-number):
3967 Rename islamic-calendar-day-number. Update callers.
3968 (calendar-islamic-to-absolute): Rename calendar-absolute-from-islamic.
3969 Update callers, keep old name as alias.
3970 (calendar-islamic-print-date): Rename calendar-print-islamic-date.
3971 Update callers, keep old name as alias.
3972 (calendar-islamic-goto-date): Rename calendar-goto-islamic-date.
3973 Keep old name as alias.
3974 (diary-islamic-list-entries): Rename list-islamic-diary-entries.
3975 Update callers, keep old name as alias.
3976 (calendar-islamic-mark-date-pattern):
3977 Rename mark-islamic-calendar-date-pattern. Update callers, keep old
3978 name as alias.
3979 (diary-islamic-insert-entry): Rename insert-islamic-diary-entry.
3980 Keep old name as alias.
3981 (diary-islamic-insert-monthly-entry):
3982 Rename insert-monthly-islamic-diary-entry. Keep old name as alias.
3983 (diary-islamic-insert-yearly-entry):
3984 Rename insert-yearly-islamic-diary-entry. Keep old name as alias.
3985
3986 * calendar/cal-iso.el (calendar-iso-to-absolute): Rename
3987 calendar-absolute-from-iso. Update callers, keep old name as alias.
3988 (calendar-iso-print-date): Rename calendar-print-iso-date.
3989 Update callers, keep old name as alias.
3990 (calendar-iso-goto-date): Rename calendar-goto-iso-date.
3991 Keep old name as alias.
3992 (calendar-iso-goto-week): Rename calendar-goto-iso-week.
3993 Keep old name as alias.
3994
3995 * calendar/cal-julian.el (calendar-julian-to-absolute): Rename
3996 calendar-absolute-from-julian. Update callers, keep old name as alias.
3997 (calendar-julian-print-date): Rename calendar-print-julian-date.
3998 Update callers, keep old name as alias.
3999 (calendar-julian-goto-date): Rename calendar-goto-julian-date.
4000 Update callers, keep old name as alias.
4001 (calendar-astro-to-absolute): Rename calendar-absolute-from-astro.
4002 Update callers, keep old name as alias.
4003 (calendar-astro-print-day-number):
4004 Rename calendar-print-astro-day-number. Update callers, keep old
4005 name as alias.
4006 (calendar-astro-goto-day-number): Rename calendar-goto-astro-day-number.
4007 Update callers, keep old name as alias.
4008
4009 * calendar/cal-mayan.el (calendar-mayan-string-from-long-count):
4010 Rename calendar-string-to-mayan-long-count. Update callers.
4011 (calendar-mayan-print-date): Rename calendar-print-mayan-date.
4012 Update callers, keep old name as alias.
4013 (calendar-mayan-read-haab-date): Rename calendar-read-mayan-haab-date.
4014 Update callers.
4015 (calendar-mayan-read-tzolkin-date):
4016 Rename calendar-read-mayan-tzolkin-date. Update callers.
4017 (calendar-mayan-next-haab-date): Rename calendar-next-haab-date.
4018 Keep old name as alias.
4019 (calendar-mayan-previous-haab-date): Rename calendar-previous-haab-date.
4020 Keep old name as alias.
4021 (calendar-mayan-next-tzolkin-date): Rename calendar-next-tzolkin-date.
4022 Keep old name as alias.
4023 (calendar-mayan-previous-tzolkin-date):
4024 Rename calendar-previous-tzolkin-date. Keep old name as alias.
4025 (calendar-mayan-next-round-date):
4026 Rename calendar-next-calendar-round-date. Keep old name as alias.
4027 (calendar-mayan-previous-round-date):
4028 Rename calendar-previous-calendar-round-date. Keep old name as alias.
4029 (calendar-mayan-long-count-to-absolute): Rename
4030 calendar-absolute-from-mayan-long-count. Keep old name as alias.
4031 (calendar-mayan-goto-long-count-date):
4032 Rename calendar-goto-mayan-long-count-date. Keep old name as alias.
4033
4034 * calendar/cal-persia.el (calendar-persian-month-name-array):
4035 Rename persian-calendar-month-name-array. Update callers.
4036 (calendar-persian-epoch): Rename persian-calendar-epoch.
4037 Update callers.
4038 (calendar-persian-leap-year-p): Rename persian-calendar-leap-year-p.
4039 Update callers.
4040 (calendar-persian-last-day-of-month):
4041 Rename persian-calendar-last-day-of-month. Update callers.
4042 (calendar-persian-to-absolute): Rename calendar-absolute-from-persian.
4043 Update callers, keep old name as alias.
4044 (calendar-persian-print-date): Rename calendar-print-persian-date.
4045 Update callers, keep old name as alias.
4046 (calendar-persian-goto-date): Rename calendar-goto-persian-date.
4047 Keep old name as alias.
4048
4049 * calendar/cal-china.el, calendar/cal-coptic.el, calendar/cal-islam.el:
4050 * calendar/cal-persia.el, calendar/holidays.el, calendar/lunar.el:
4051 * calendar/solar.el: Update for cal-julian name changes.
4052
4053 * calendar/cal-dst.el: Update for persian name changes.
4054
4055 * calendar/cal-menu.el, calendar/calendar.el:
4056 Update for islamic, iso, julian, mayan, persian name changes.
4057
4058 * calendar/diary-lib.el: Update for islamic name changes.
4059
4060 * calendar/calendar.el (calendar-hebrew-all-holidays-flag):
4061 Rename all-hebrew-calendar-holidays. Update callers, keep old name
4062 as alias.
4063 (calendar-christian-all-holidays-flag):
4064 Rename all-christian-calendar-holidays. Update callers, keep old
4065 name as alias.
4066 (calendar-islamic-all-holidays-flag):
4067 Rename all-islamic-calendar-holidays. Update callers, keep old
4068 name as alias.
4069 (calendar-bahai-all-holidays-flag): Rename all-bahai-calendar-holidays.
4070 Update callers, keep old name as alias.
4071 * calendar/cal-bahai.el, calendar/cal-hebrew.el, calendar/holidays.el:
4072 Update for the above name changes.
4073
4074 2008-04-04 Juanma Barranquero <lekktu@gmail.com>
4075
4076 * hilit-chg.el (global-highlight-changes-mode)
4077 (highlight-changes-passive-string, highlight-changes-active-string):
4078 Mark as obsolete since 23.1, not 22.1.
4079
4080 2008-04-03 Juanma Barranquero <lekktu@gmail.com>
4081
4082 * hilit-chg.el (highlight-changes-visibility-initial-state)
4083 (hilit-chg-update, highlight-changes-mode-turn-on):
4084 Fix typos in docstrings.
4085
4086 2008-04-03 Stephen Berman <Stephen.Berman@gmx.net>
4087
4088 * newcomment.el (comment-enter-backward): Be careful to restore
4089 position changed during narrowing.
4090
4091 2008-04-03 Giuliano Procida <giuliano.procida@googlemail.com> (tiny change)
4092
4093 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
4094 Recognize `sub ($$)'.
4095
4096 2008-04-03 Richard Sharman <rsharman@pobox.com>
4097
4098 * hilit-chg.el (highlight-changes-mode): Rename from
4099 highlight-changes; no longer uses sub-modes active and passive;
4100 implemented by define-minor-mode.
4101 (highlight-changes-toggle-visibility): New function, to replace
4102 the old passive/active submodes of global-highlight-changes-mode;
4103 implemented by define-minor-mode.
4104 (global-highlight-changes-mode): Rename from global-highlight-changes;
4105 rewrite using define-globalized-minor-mode.
4106 (hilit-chg-major-mode-hook, hilit-chg-check-global)
4107 (hilit-chg-post-command-hook, hilit-chg-check-global)
4108 (hilit-chg-update-all-buffers, hilit-chg-turn-off-maybe): Remove due
4109 to use of define-globalized-minor-mode.
4110 (highlight-changes-global-initial-state): Change to be boolean.
4111 (highlight-changes-visible-string, highlight-changes-invisible-string):
4112 Rename from highlight-changes-active-string and
4113 highlight-changes-passive-string.
4114 (hilit-chg-update, hilit-chg-set): Use them.
4115 (global-highlight-changes-mode): Rename from global-highlight-changes.
4116 (hilit-chg-map-changes, hilit-chg-display-changes): Add arguments to
4117 docstring.
4118 (hilit-chg-hide-changes): Rewrite to use dolist.
4119 (hilit-chg-set-face-on-change, hilit-chg-update)
4120 (highlight-changes-rotate-faces): Use highlight-changes-visible-mode
4121 variable instead of testing highlight-changes-mode.
4122 (highlight-markup-buffers): Add require ediff-util; argument on calls
4123 to highlight-changes-mode changed.
4124 (highlight-compare-with-file): Fix problems with interactive
4125 call giving invalid default file.
4126
4127 2008-04-03 Nick Roberts <nickrob@snap.net.nz>
4128
4129 * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint):
4130 Fix in disassembly buffer (regression in 22.2).
4131
4132 2008-04-03 Michael Kifer <kifer@cs.stonybrook.edu>
4133
4134 * emulation/viper-macs.el (viper-read-fast-keysequence):
4135 Use viper-read-event instead of viper-read-key.
4136
4137 * emulation/viper.el (viper-mode): Move the check for fundamental mode.
4138
4139 * emulation/viper-utils.el (viper-get-saved-cursor-color-in-insert-mode)
4140 (viper-get-saved-cursor-color-in-replace-mode): Get rid of redundant
4141 let-statements.
4142
4143 * emulation/viper-ex.el, emulation/viper-macs.el:
4144 * emulation/viper-mous.el:
4145 Replace load with require in eval-when-compile.
4146
4147 2008-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
4148
4149 * files.el (auto-mode-alist): Use archive-mode for Debian packages.
4150
4151 * arc-mode.el (archive-mode-map): Obey mouse-1-click-follows-link.
4152 (archive-try-jka-compr): New function.
4153 (archive-set-buffer-as-visiting-file): Use it.
4154
4155 * tar-mode.el (tar-mode-map): Obey mouse-1-click-follows-link.
4156
4157 2008-04-03 Chong Yidong <cyd@stupidchicken.com>
4158
4159 * simple.el (handle-shift-selection): New arg.
4160
4161 2008-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
4162
4163 * emacs-lisp/cl-macs.el (defsetf): Accept a lambda for the 2-arg form.
4164
4165 * vc-bzr.el (vc-bzr-previous-revision, vc-bzr-next-revision): New funs.
4166
4167 2008-04-03 Chong Yidong <cyd@stupidchicken.com>
4168
4169 * shell.el (shell-dynamic-complete-filename): New fun.
4170 (shell-dynamic-complete-functions): Use it.
4171
4172 * help-fns.el (describe-variable): Undo 2008-02-25 change.
4173
4174 2008-04-03 Kenichi Handa <handa@m17n.org>
4175
4176 * international/fontset.el (create-fontset-from-x-resource):
4177 Handle the error of X resource more gracefully.
4178
4179 * international/latin1-disp.el (latin1-display): Don't use make-char.
4180 Fix the argument to set-char-table-range.
4181 (latin1-display-identities): Don't use make-char.
4182 (latin1-display-reset): Use map-charset-chars instead of directly
4183 calling standard-display-default.
4184 (latin1-display-check-font): Don't use make-char.
4185 (latin1-display-setup): Likewise.
4186 (latin1-display-ucs-per-lynx): Likewise.
4187
4188 2008-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
4189
4190 * emacs-lisp/timer.el (timer): Define as a defstruct, so we can
4191 name the fields, to make the code clearer.
4192 Rewrite all `aset' and `aref' using the defined accessors.
4193 (timer--time): New pseudo-field.
4194 (timer-set-time, timer-set-idle-time, timer-inc-time)
4195 (timer-set-time-with-usecs, with-timeout-suspend): Use it.
4196 (timer--time-less-p): New function.
4197 (timer--activate): New function, extracted from timer-activate.
4198 (timer-activate-when-idle, timer-activate): Use it.
4199 (cancel-function-timers): Use dolist.
4200
4201 2008-04-03 Glenn Morris <rgm@gnu.org>
4202
4203 * add-log.el (c-beginning-of-defun, c-end-of-defun):
4204 Remove declarations; no longer used.
4205 (c-cpp-define-name, c-defun-name): Declare as functions.
4206
4207 * calendar/cal-bahai.el (holiday-fixed): Autoload it.
4208 (holiday-bahai-new-year, holiday-bahai-ridvan): New functions.
4209
4210 * calendar/cal-hebrew.el (holiday-rosh-hashanah-etc)
4211 (holiday-passover-etc, holiday-hanukkah): Doc fix.
4212 Add optional argument. Simplify.
4213 (holiday-tisha-b-av-etc): Use memq rather than unless.
4214 (holiday-julian): Autoload it.
4215 (holiday-hebrew-misc): New function.
4216
4217 * calendar/cal-islam.el (holiday-islamic-new-year): New function.
4218
4219 * calendar/calendar.el (hebrew-holidays-1, hebrew-holidays-2)
4220 (hebrew-holidays-3, hebrew-holidays-4): Make obsolete.
4221 (hebrew-holidays-2): Just use holiday-hanukkah now it respects
4222 all-hebrew-calendar-holidays.
4223 (hebrew-holidays, christian-holidays, islamic-holidays, bahai-holidays):
4224 Simplify using new functions.
4225 (calendar-holidays): Doc fix.
4226 (generate-calendar-window): Use bound-and-true-p.
4227
4228 * calendar/diary-lib.el (diary-mail-addr): Use bound-and-true-p.
4229
4230 * calendar/holidays.el (calendar-holiday-list): Fix previous change.
4231 (holiday-filter-visible-calendar): Doc fix. Use mapcar.
4232 (holiday-easter-etc): Fix nesting of result. Tweak holiday order.
4233 Use calendar-date-is-visible-p, not holiday-filter-visible-calendar.
4234
4235 * net/tramp.el (tramp-drop-volume-letter): Move definition before use.
4236
4237 2008-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
4238
4239 * vc-mtn.el (vc-mtn-command): Avoid localization of messages.
4240
4241 * vc-bzr.el (vc-bzr-checkout): Simplify.
4242
4243 * image-mode.el (image-mode-fit-frame): New command.
4244
4245 * simple.el (beginning-of-buffer, end-of-buffer, goto-line, undo)
4246 (copy-region-as-kill, kill-ring-save, use-region-p, mark-word)
4247 (keyboard-escape-quit): Check region-active-p i.s.o
4248 transient-mark-mode.
4249
4250 2008-04-02 Simon Josefsson <simon@josefsson.org>
4251
4252 * net/imap.el (imap-enable-exchange-bug-workaround): New variable.
4253 (imap-message-copyuid-1): Use it.
4254 (imap-message-appenduid-1): Likewise. Based on patch by Nathan
4255 J. Williams in
4256 <http://permalink.gmane.org/gmane.emacs.gnus.general/65855>.
4257
4258 2008-04-02 Alan Mackenzie <acm@muc.de>
4259
4260 * progmodes/cc-cmds.el (c-defun-name, c-cpp-define-name):
4261 New optimised functions to get the name of the current defun/macro.
4262
4263 * add-log.el (add-log-current-defun): Move the functionality which
4264 gets the current function name for C like modes to cc-cmds.el,
4265 thus optimising for speed.
4266
4267 2008-04-02 Chong Yidong <cyd@stupidchicken.com>
4268
4269 * simple.el (deactivate-mark): When the mark is temporarily
4270 active, restore the original value of transient-mark-mode.
4271 (set-mark-command): First deactivate the mark if was temporarily active.
4272 (exchange-point-and-mark): Reactivate the mark if it was
4273 temporarily active.
4274 (handle-shift-selection): New fun.
4275 (transient-mark-mode): Move var documentation here from buffer.c.
4276 (next-line, previous-line, backward-word, move-end-of-line)
4277 (move-beginning-of-line, forward-to-indentation)
4278 (backward-to-indentation, back-to-indentation)
4279 (beginning-of-buffer, end-of-buffer): Add ^ interactive spec.
4280
4281 * mouse.el (mouse-set-region-1): Save the old value of
4282 transient-mark-mode.
4283 (mouse-drag-track): Ignore the now-obsolete value `identity' for
4284 transient-mark-mode.
4285
4286 * textmodes/paragraphs.el (forward-paragraph)
4287 (backward-paragraph, forward-sentence, backward-sentence): Add ^
4288 interactive spec.
4289
4290 * emulation/cua-base.el (cua-mode): Turn off shift-select-mode.
4291
4292 2008-04-02 Michael Albinus <michael.albinus@gmx.de>
4293
4294 * net/tramp.el (tramp-make-tramp-temp-file):
4295 Use `tramp-drop-volume-letter' for the local file name part.
4296
4297 2008-04-02 Dan Nicolaescu <dann@ics.uci.edu>
4298
4299 * progmodes/sh-script.el (sh-mode-map): Rename the menu. Add :help.
4300 Add menu entries corresponding to all the key bindings.
4301
4302 * emacs-lisp/debug.el (debugger-mode-map):
4303 * textmodes/conf-mode.el (conf-mode-map): Add a menu.
4304 (conf-align-assignments): Only work on the region if it is active.
4305 (conf-quote-normal): Use when instead of if. Remove redundant test.
4306
4307 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
4308 for tracing and re-builder.
4309
4310 2008-04-02 Glenn Morris <rgm@gnu.org>
4311
4312 * calendar/appt.el (appt-disp-window-function): Doc fix.
4313 (appt-display-message): Move beep before display.
4314 (appt-check): Make interactive. Reduce the number of lets.
4315 Use string-equal to compare mode-line strings.
4316 (appt-disp-window): Pluralize "minute" as needed. Make appt buffer
4317 read-only.
4318 (appt-select-lowest-window, appt-make-list): Reduce the number of lets.
4319 (appt-delete): Simplify.
4320
4321 * calendar/cal-china.el (holiday-chinese-new-year): Use a single let.
4322
4323 * calendar/cal-dst.el (calendar-time-zone-daylight-rules): Simplify.
4324
4325 * calendar/cal-hebrew.el (list-yahrzeit-dates):
4326 * calendar/cal-tex.el (cal-tex-insert-blank-days-at-end)
4327 (cal-tex-last-blank-p, cal-tex-daily-page): Expand calendar-for-loops.
4328
4329 * calendar/calendar.el (diary-entry-marker, calendar-today-marker)
4330 (calendar-holiday-marker, mark-visible-calendar-date):
4331 * calendar/diary-lib.el (fancy-diary-display):
4332 Check for font-lock-mode before using faces.
4333
4334 * calendar/calendar.el (hebrew-holidays-3, generate-calendar-month)
4335 (calendar-gregorian-from-absolute): Reduce the number of lets.
4336 (hebrew-holidays-4, generate-calendar-window): Simplify.
4337 (calendar-for-loop): Make obsolete.
4338 (calendar-nth-named-day): Doc fix.
4339
4340 * calendar/diary-lib.el (diary-list-entries, fancy-diary-display)
4341 (print-diary-entries, mark-sexp-diary-entries, calendar-mark-complex)
4342 (calendar-mark-1, list-sexp-diary-entries, diary-remind):
4343 Reduce the number of lets.
4344 (mark-sexp-diary-entries, calendar-mark-complex):
4345 Expand calendar-for-loops.
4346
4347 2008-04-01 Chong Yidong <cyd@stupidchicken.com>
4348
4349 * find-dired.el (find-dired-filter): Fix last patch to handle
4350 multi-line process input. Pad link numbers too.
4351
4352 2008-04-01 Jari Aalto <jari.aalto@cante.net>
4353
4354 * find-dired.el (find-dired-filter): Align columns by padding file sizes.
4355
4356 2008-04-01 Jason Rumney <jasonr@gnu.org>
4357
4358 * international/characters.el (script-list): Add phonetic script,
4359 covering IPA (previously Latin), Phonetic Extensions and
4360 Phonetic Extensions Supplement (both previously unassigned).
4361
4362 * international/fontset.el (setup-default-fontset): Use unicode fonts
4363 that cover bopomofo script for bopomofo.
4364 Likewise for braille and mathematical.
4365 Use unicode scripts that cover the phonetic script for IPA.
4366
4367 2008-04-01 Johan Bockgård <bojohan@gnu.org>
4368
4369 * emacs-lisp/cl-macs.el (frame-parameter) <defsetf>: Make it
4370 return the assigned value.
4371
4372 2008-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
4373
4374 * abbrev.el (abbrev-mode): Use define-minor-mode.
4375
4376 * mouse.el (mouse-major-mode-menu-prefix): Remove. Remove uses.
4377 (mouse-menu-non-singleton): Rename from mouse-major-mode-menu-1.
4378 Use map-keymap.
4379 (minor-mode-menu-from-indicator): Use it. Simplify.
4380
4381 * bindings.el (mode-line-mode-menu): Move before (new) first use.
4382 (mode-line-major-mode-keymap, mode-line-minor-mode-keymap):
4383 Bind the key directly to the menu.
4384 (mode-line-mode-menu-1, mode-line-mode-menu): Remove functions.
4385
4386 2008-04-01 Daiki Ueno <ueno@unixuser.org>
4387
4388 * epa.el (epa-decrypt-region): Explain the reason why this
4389 function should not be used in Lisp programs.
4390 (epa-decrypt-armor-in-region): Ditto.
4391 (epa-verify-region): Ditto.
4392 (epa-verify-cleartext-in-region): Ditto.
4393 (epa-sign-region): Ditto.
4394 (epa-encrypt-region): Ditto.
4395
4396 * epg.el (epg-start-receive-keys): Fix typo in docstring.
4397
4398 * epa.el (epa-select-keys): Show menu even if there is no key in
4399 GnuPG's keyring.
4400
4401 2008-04-01 Glenn Morris <rgm@gnu.org>
4402
4403 * calendar/calendar.el (calendar-make-temp-face): New function.
4404 (mark-visible-calendar-date):
4405 * calendar/diary-lib.el (fancy-diary-display): Use it.
4406
4407 * vc-hooks.el (vc-responsible-backend): Declare as function.
4408
4409 * calendar/calendar.el (calendar-nongregorian-visible-p): New function.
4410 * calendar/cal-hebrew.el (calendar-hebrew-date-is-visible-p):
4411 * calendar/cal-julian.el (holiday-julian): Use it.
4412
4413 * calendar/cal-hebrew.el (hebrew-calendar-elapsed-days): Doc fix.
4414 (calendar-hebrew-date-is-visible-p): Extract some common code into
4415 separate function.
4416 (holiday-hebrew, mark-hebrew-calendar-date-pattern): Use it.
4417
4418 * calendar/cal-menu.el (cal-menu-holidays-menu):
4419 * calendar/calendar.el (calendar-mode-map): Use calendar-mark-holidays
4420 rather than obsolete alias.
4421
4422 * calendar/calendar.el (mark-visible-calendar-date): Also use overlay
4423 for mark characters.
4424 (calendar-unmark): Unmark by removing all overlays, rather than
4425 redrawing.
4426 (calendar-starred-day): Remove.
4427 (calendar-mode): Disable undo. Don't make calendar-starred-day local.
4428 (calendar-cursor-to-date): No need for special star handling now
4429 using overlays.
4430 (calendar-star-date): Use overlays.
4431
4432 * calendar/cal-french.el (calendar-goto-french-date):
4433 * calendar/cal-hebrew.el (calendar-hebrew-from-absolute)
4434 (holiday-hanukkah, mark-hebrew-calendar-date-pattern):
4435 * calendar/cal-move.el (calendar-forward-month, calendar-end-of-month):
4436 * calendar/cal-persia.el (calendar-persian-date-string):
4437 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
4438 (cal-tex-cursor-month, cal-tex-LaTeXify-string):
4439 * calendar/lunar.el (lunar-phase-list, lunar-new-moon-on-or-after):
4440 * calendar/solar.el (solar-equinoxes-solstices):
4441 Reduce nesting of some lets.
4442
4443 * calendar/cal-mayan.el (calendar-string-to-mayan-long-count)
4444 (calendar-goto-mayan-long-count-date): Simplify.
4445
4446 * calendar/holidays.el (calendar-holiday-list, holiday-easter-etc):
4447 Simplify by using mapcar.
4448 (calendar-list-holidays): Return holiday-list.
4449 (list-holidays): Use let rather than let*. Remove un-needed locals
4450 `d', `never'.
4451 (calendar-check-holidays): Return result from dolist.
4452 (holiday-float): Use a single let*. Simplify if-and to and.
4453 (holiday-sexp, holiday-advent, holiday-greek-orthodox-easter): Use a
4454 single let*.
4455
4456 2008-04-01 Jay Belanger <jay.p.belanger@gmail.com>
4457
4458 * calc/calc.el: Autoload `calc-yank'.
4459 (calc-mode-map): Add keybindings for `calc-yank'.
4460 * calc/calc-ext.el (calc-init-extensions): Remove keybinding
4461 assignments for `calc-yank'.
4462
4463 2008-03-31 Dan Nicolaescu <dann@ics.uci.edu>
4464
4465 * vc.el (vc-status-add-entry): Assume ENTRY is a list, not a cons.
4466 (vc-status-mark-buffer-changed): Handle the extra field.
4467
4468 * vc-bzr.el (vc-bzr-after-dir-status):
4469 * vc-cvs.el (vc-cvs-after-dir-status):
4470 * vc-hg.el (vc-hg-after-dir-status):
4471 * vc-svn.el (vc-svn-after-dir-status): Return a list, not a cons.
4472
4473 2008-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
4474
4475 * doc-view.el: Compute displayed pages first (in PDF).
4476 (doc-view-current-converter-processes): Rename from
4477 doc-view-current-converter-process. Update users.
4478 (doc-view-sentinel): Test buffer's liveness.
4479 (doc-view-pdf/ps->png-sentinel): Remove.
4480 (doc-view-start-process): New function.
4481 (doc-view-dvi->pdf, doc-view-pdf/ps->png, doc-view-pdf->txt)
4482 (doc-view-ps->pdf): Use it.
4483 (doc-view-pdf->png-1, doc-view-pdf->png, doc-view-active-pages):
4484 New functions.
4485 (doc-view-convert-current-doc, doc-view-goto-page): Use them.
4486 (doc-view-mode): Kill the processes when leaving the mode.
4487
4488 2008-03-31 Juanma Barranquero <lekktu@gmail.com>
4489
4490 * emacs-lisp/bytecomp.el (byte-compile-warnings-safe-p):
4491 Use `byte-compile-warning-types'. Add docstring.
4492
4493 2008-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
4494
4495 * smerge-mode.el (smerge-apply-resolution-patch): New fun.
4496 (smerge-resolve): Add various resolution heuristics.
4497
4498 * smerge-mode.el (smerge-refine): Allow highlighting other subparts
4499 in 3-way conflicts.
4500
4501 2008-03-31 Glenn Morris <rgm@gnu.org>
4502
4503 * calendar/cal-bahai.el (diary-bahai-mark-entries):
4504 * calendar/cal-hebrew.el (mark-hebrew-diary-entries):
4505 * calendar/cal-islam.el (mark-islamic-diary-entries):
4506 Fix argument order in call to diary-mark-entries-1.
4507
4508 * calendar/cal-bahai.el (calendar-bahai-date-string): Avoid an error for
4509 pre-Bahai dates.
4510 (holiday-bahai): Use an algorithm actually relevant to this calendar
4511 system.
4512
4513 * calendar/cal-china.el (holiday-chinese-new-year): Doc fix.
4514
4515 * calendar/cal-islam.el (holiday-islamic): Remove un-needed let.
4516 Use and.
4517
4518 * calendar/cal-julian.el (holiday-julian): Fix a problem with holidays
4519 in the last fortnight in Julian October.
4520
4521 * calendar/calendar.el (increment-calendar-month): Optionally handle
4522 systems without 12 months per year.
4523
4524 (calendar-date-is-visible-p): Doc fix. Simplify.
4525
4526 * calendar/holidays.el (holiday-filter-visible-calendar): Return result
4527 from dolist.
4528
4529 2008-03-30 Juanma Barranquero <lekktu@gmail.com>
4530
4531 * hi-lock.el (hi-lock-mode): Fix typos in docstring.
4532 (hi-lock-unload-function): New function.
4533
4534 2008-03-30 Michael Albinus <michael.albinus@gmx.de>
4535
4536 * net/tramp.el (tramp-do-copy-or-rename-file): Fix check for
4537 overwriting when NEWNAME is a local file.
4538
4539 * net/trampver.el: Update release number.
4540
4541 2008-03-30 Alexandre Julliard <julliard@winehq.org>
4542
4543 * vc-git.el: Make vc-status display information about copies,
4544 renames and permission changes.
4545 (vc-git-extra-fileinfo): New defstruct.
4546 (vc-git-escape-file-name, vc-git-file-type-as-string)
4547 (vc-git-rename-as-string, vc-git-permissions-as-string)
4548 (vc-git-status-printer): New functions.
4549 (vc-git-after-dir-status-stage2): Also return vc-git-extra-fileinfo.
4550 (vc-git-after-dir-status-stage1): Look for copies, renames and
4551 permission changes.
4552 (vc-git-after-dir-status-stage1-empty-db): Set permissions.
4553 (vc-git-dir-status): Ask for staged files and renames.
4554
4555 2008-03-30 Dan Nicolaescu <dann@ics.uci.edu>
4556
4557 * vc.el: Allow backends to display backend specific information in
4558 the vc-status listing.
4559 (vc-status-fileinfo): Add a field for backend specific information.
4560 (vc-status-printer): Rename to ...
4561 (vc-default-status-printer): ... this.
4562 (vc-status-printer): New function.
4563 (vc-update-vc-status-buffer): Set the backend specific file info
4564 if provided.
4565
4566 2008-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
4567
4568 * textmodes/remember.el (remember-diary-convert-entry): Revert last
4569 change (ill-conceived).
4570
4571 2008-03-29 Glenn Morris <rgm@gnu.org>
4572
4573 * calendar/cal-hebrew.el (holiday-hebrew): Simplify.
4574 * calendar/cal-julian.el (holiday-julian): Simplify.
4575
4576 * calendar/holidays.el (list-holidays): Use or.
4577
4578 2008-03-29 Juri Linkov <juri@jurta.org>
4579
4580 * window.el (split-window-preferred-horizontally): New function.
4581
4582 * cus-start.el (split-window-preferred-function):
4583 Set choice for "vertically" to nil instead of split-window.
4584 Set choice for "horizontally" to split-window-preferred-horizontally
4585 instead of lambda.
4586
4587 2008-03-29 Juri Linkov <juri@jurta.org>
4588
4589 * simple.el (minibuffer-default-add-function): New variable with
4590 the default to minibuffer-default-add-completions.
4591 (minibuffer-default-add-done): New variable. Make it buffer-local.
4592 (minibuffer-default-add-completions): New function.
4593 (goto-history-element): Set minibuffer-default-add-done to t and
4594 call a function in minibuffer-default-add-function when the
4595 specified absolute history position is greater than the length of
4596 the minibuffer-default list and minibuffer-default-add-done is nil.
4597 Change "^End of history; no next item$" to "^End of defaults;
4598 no next item$".
4599
4600 * bindings.el (debug-ignored-errors): Change "^End of history;
4601 no next item$" to "^End of defaults; no next item$".
4602
4603 2008-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
4604
4605 * subr.el (with-temp-buffer): Assume kill-buffer can change cur-buf.
4606
4607 * textmodes/remember.el (remember-diary-convert-entry): Prefer boundp
4608 to with-no-warnings.
4609
4610 2008-03-29 Michael Albinus <michael.albinus@gmx.de>
4611
4612 Sync with Tramp 2.1.13.
4613
4614 * net/tramp-ftp.el: Require 'cl when byte-compiling.
4615
4616 * net/trampver.el: Update release number.
4617
4618 2008-03-29 Dan Nicolaescu <dann@ics.uci.edu>
4619
4620 * vc-hooks.el (vc-menu-map-filter): Be more careful when finding
4621 the current backend.
4622
4623 * vc.el (vc-status-menu-map, vc-status-mode-map): Bind vc-revert.
4624 (vc-status-refresh): Create a temporary buffer and call the
4625 `dir-status' backend function from that buffer.
4626
4627 * vc-bzr.el (vc-bzr-dir-status): Don't create a buffer.
4628 (vc-bzr-after-dir-status): Don't kill the buffer.
4629
4630 * vc-cvs.el (vc-cvs-dir-status): Don't create a buffer.
4631 (vc-cvs-after-dir-status): Don't kill the buffer.
4632
4633 * vc-git.el (vc-git-dir-status): Don't create a buffer.
4634 (vc-git-after-dir-status-stage2): Don't kill the buffer.
4635
4636 * vc-hg.el (vc-hg-dir-status): Don't create a buffer.
4637 (vc-hg-after-dir-status): Don't kill the buffer.
4638
4639 * vc-svn.el (vc-svn-dir-status): Don't create a buffer.
4640 (vc-svn-after-dir-status): Don't kill the buffer.
4641
4642 2008-03-29 Glenn Morris <rgm@gnu.org>
4643
4644 * calendar/calendar.el (diary-file, american-date-diary-pattern)
4645 (european-date-diary-pattern, european-calendar-display-form)
4646 (american-calendar-display-form, diary-display-hook): Doc fixes.
4647 (european-calendar-style): Doc fix. Use calendar-set-date-style for
4648 custom :set. Mark as obsolete.
4649 (calendar-date-style, iso-date-diary-pattern)
4650 (iso-calendar-display-form): New user variables.
4651 (diary-date-forms, calendar-date-display-form): Set using
4652 calendar-date-style. Doc fix.
4653 (calendar-set-date-style): New command.
4654 (european-calendar, american-calendar): Use calendar-set-date-style.
4655 Mark as obsolete.
4656
4657 * calendar/diary-lib.el (number): Move declaration where needed.
4658 (diary-mail-entries, list-sexp-diary-entries): Doc fixes.
4659 (diary-make-date): New function.
4660 (diary-date, diary-block, diary-anniversary, diary-cyclic): Doc fix.
4661 Use diary-make-date.
4662 (diary-date-display-form, diary-insert-entry-1): New functions.
4663 (insert-monthly-diary-entry, insert-yearly-diary-entry):
4664 Use diary-insert-entry-1.
4665 (insert-anniversary-diary-entry, insert-block-diary-entry)
4666 (insert-cyclic-diary-entry): Use diary-date-display-form.
4667
4668 * calendar/cal-bahai.el, calendar/cal-hebrew.el, calendar/cal-islam.el:
4669 Autoload diary-insert-entry-1.
4670 * calendar/cal-bahai.el (diary-bahai-insert-entry)
4671 (diary-bahai-insert-monthly-entry, diary-bahai-insert-yearly-entry):
4672 * calendar/cal-hebrew.el (insert-hebrew-diary-entry)
4673 (insert-monthly-hebrew-diary-entry, insert-yearly-hebrew-diary-entry)
4674 * calendar/cal-islam.el (insert-islamic-diary-entry)
4675 (insert-monthly-islamic-diary-entry, insert-yearly-islamic-diary-entry):
4676 Use diary-insert-entry-1.
4677
4678 * calendar/cal-hebrew.el (diary-make-date): Autoload it.
4679 (diary-yahrzeit): Doc fix. Use diary-make-date.
4680
4681 * calendar/icalendar.el (icalendar--datetime-to-american-date):
4682 New name for icalendar--datetime-to-noneuropean-date. Make old name
4683 obsolete alias.
4684 (icalendar--datetime-to-iso-date): New function.
4685 (icalendar--datetime-to-diary-date): Doc fix. Respect
4686 calendar-date-style if bound.
4687
4688 * textmodes/remember.el (remember-diary-convert-entry):
4689 Respect calendar-date-style if bound.
4690
4691 2008-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
4692
4693 * xt-mouse.el (xterm-mouse-mode): Use delete-terminal-functions.
4694 (xterm-mouse-handle-delete-frame): Delete.
4695
4696 * term/xterm.el (terminal-init-xterm): Use delete-terminal-functions.
4697 (xterm-turn-on-modify-other-keys, xterm-turn-off-modify-other-keys)
4698 (xterm-remove-modify-other-keys): Lookup terminal rather than frame
4699 in xterm-modify-other-keys-terminal-list.
4700
4701 * vc-bzr.el (vc-bzr-state-heuristic): Fix last change for when there
4702 are conflicts.
4703
4704 2008-03-29 Dan Nicolaescu <dann@ics.uci.edu>
4705
4706 * vc.el (vc-update): Check if the buffer is unsaved only if it
4707 actually exists.
4708 (vc-status-mode-map, vc-status-menu-map): Bind vc-update and
4709 vc-print-log.
4710
4711 2008-03-28 Magnus Henoch <mange@freemail.hu>
4712
4713 * net/dns.el (dns-write): Use set-buffer-multibyte.
4714
4715 2008-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
4716
4717 * vc-bzr.el (vc-bzr-sha1): New fun.
4718 (vc-bzr-state-heuristic): New fun, extracted from vc-bzr-registered.
4719 (vc-bzr-registered): Use it.
4720
4721 2008-03-28 Dan Nicolaescu <dann@ics.uci.edu>
4722
4723 * vc.el (vc-status-kill-dir-status-process): Simplify.
4724 (vc-status-refresh): Make sure the buffer is live.
4725 (ring): Don't require it, not used.
4726
4727 2008-03-28 Wilson Snyder <wsnyder@wsnyder.org>
4728
4729 * progmodes/verilog-mode.el (verilog-auto-inout-module):
4730 Add optional regular expression to AUTOINOUTMODULE.
4731 (verilog-inject-auto, verilog-auto-arg, verilog-auto-inst)
4732 (verilog-auto-inst-param, verilog-auto-reg)
4733 (verilog-auto-reg-input, verilog-auto-wire, verilog-auto-output)
4734 (verilog-auto-output-every, verilog-auto-input)
4735 (verilog-auto-inout, verilog-auto-sense, verilog-auto-tieoff)
4736 (verilog-auto-unused, verilog-auto): Update documentation to use
4737 more obvious instance module names versus cell names.
4738
4739 2008-03-28 Jan Djärv <jan.h.d@swipnet.se>
4740
4741 * progmodes/compile.el (compilation-mode-tool-bar-map): Only enable
4742 kill if a process is running.
4743
4744 * progmodes/grep.el (grep-mode-tool-bar-map): The same.
4745
4746 2008-03-28 Dan Nicolaescu <dann@ics.uci.edu>
4747
4748 * vc.el: Add new backend function 'status-extra-headers.
4749 (vc-default-status-extra-headers): New function.
4750 (vc-status-headers): Call 'status-extra-headers. Add colors.
4751
4752 * vc-git.el (vc-git-status-extra-headers): New function.
4753
4754 2008-03-28 Glenn Morris <rgm@gnu.org>
4755
4756 * calendar/cal-menu.el (cal-menu-holidays-menu)
4757 (cal-menu-list-holidays-year, cal-menu-list-holidays-following-year)
4758 (cal-menu-list-holidays-previous-year): Simplify now that 2nd arg of
4759 holiday-list is optional.
4760 (calendar-mouse-holidays): Remove un-needed local `l'.
4761
4762 * calendar/cal-move.el (calendar-cursor-to-nearest-date):
4763 Remove un-needed local `date'.
4764 (calendar-cursor-to-visible-date): Use let rather than let*.
4765 Remove un-needed local `first-of-month-weekday'.
4766
4767 * calendar/calendar.el (abbreviated-calendar-year): Move to diary-lib.
4768
4769 * calendar/diary-lib.el (print-diary-entries-hook, diary-list-entries):
4770 Doc fixes.
4771 (abbreviated-calendar-year): Move here from calendar.el. Doc fix.
4772 (diary-header-line-flag, diary-header-line-format): Declare.
4773 (diary-pull-attrs): Check for multiple matches.
4774 (diary-list-entries-2): Simplify finding start of date.
4775 (diary-show-all-entries, make-diary-entry): Respect non-nil values of
4776 pop-up-frames.
4777 (diary-mark-entries-1): Re-use offset in abbreviated-year case.
4778 (mark-sexp-diary-entries): Remove superfluous call to diary-pull-attrs.
4779
4780 2008-03-27 Dan Nicolaescu <dann@ics.uci.edu>
4781
4782 * vc-hg.el (vc-hg-state, vc-hg-dir-state): Deal with 'missing files.
4783
4784 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Fix predicate.
4785
4786 2008-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
4787
4788 * vc-hooks.el (vc-before-save): Don't prevent saving the file.
4789
4790 * image-mode.el (image-mode-reapply-winprops): Fix last change.
4791
4792 2008-03-27 Kenichi Handa <handa@ni.aist.go.jp>
4793
4794 * international/mule-conf.el (define-iso-single-byte-charset):
4795 Don't make latin-iso8859-* supplementary.
4796 (#'set-charset-priority): Don't change the priority of charsets
4797 `unicode' and `emacs'.
4798
4799 2008-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
4800
4801 * vc.el (vc-do-command): Don't pop to the buffer if it's an internal
4802 temp buffer.
4803
4804 2008-03-27 Glenn Morris <rgm@gnu.org>
4805
4806 * calendar/cal-bahai.el (diary-bahai-list-entries):
4807 * calendar/cal-hebrew.el (list-hebrew-diary-entries):
4808 * calendar/cal-islam.el (list-islamic-diary-entries): Doc fix.
4809
4810 * calendar/calendar.el (diary-file): Doc fix.
4811
4812 * calendar/diary-lib.el (diary-face-attrs): Fix `height' regexp.
4813 (list-diary-entries-hook, mark-diary-entries-hook)
4814 (include-other-diary-files, diary-mail-entries)
4815 (mark-included-diary-files, list-sexp-diary-entries): Doc fixes.
4816 (diary-set-header): New function.
4817 (diary-header-line-flag, diary-header-line-format):
4818 Use diary-set-header for custom :set function.
4819 (diary-set-maybe-redraw): Use symbol-value rather than eval.
4820 (diary-attrtype-convert): Use intern-soft rather than read.
4821 (diary-display-no-entries): New function.
4822 (simple-diary-display, fancy-diary-display): Use it.
4823 (fancy-diary-display): Doc fix. Remove unneeded local entry-list.
4824 (diary-mark-entries-1): Fix position offsets in non-gregorian case.
4825
4826 * calendar/holidays.el (list-holidays): Doc fix.
4827
4828 2008-03-26 Jay Belanger <jay.p.belanger@gmail.com>
4829
4830 * calc/calc-store.el (calc-read-var-name-history): New variable.
4831 (calc-read-var-name): Use `calc-read-var-name-history'.
4832
4833 2008-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4834
4835 * image-mode.el (image-mode-reapply-winprops): Simplify now that
4836 window-configuration-change-hook works buffer-locally.
4837
4838 2008-03-26 Johan Bockgård <bojohan@gnu.org>
4839
4840 * emacs-lisp/lisp-mnt.el (lm-with-file): Use mode and syntax table
4841 for Emacs Lisp, not Lisp.
4842
4843 2008-03-26 Juanma Barranquero <lekktu@gmail.com>
4844
4845 * help-fns.el (describe-function-1, describe-variable):
4846 If CURRENT-NAME is nil, don't end obsolescence info with semicolon.
4847
4848 * emacs-lisp/bytecomp.el (byte-compile-obsolete): If no
4849 replacement is provided, don't print "use nil instead".
4850
4851 2008-03-26 Johan Bockgård <bojohan@gnu.org>
4852
4853 * complete.el (PC-do-completion): Use regexp-quote.
4854
4855 2008-03-26 Dan Nicolaescu <dann@ics.uci.edu>
4856
4857 * vc-cvs.el (vc-cvs-parse-status, vc-cvs-after-dir-status):
4858 Detect missing files.
4859
4860 * vc-git.el (vc-git-extra-menu-map): New key map.
4861 (vc-git-extra-menu, vc-git-extra-status-menu, vc-git-grep):
4862 New functions.
4863
4864 * vc-hooks.el (vc-default-mode-line-string): Deal with 'removed
4865 and 'missing files.
4866
4867 2008-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4868
4869 * calendar/holidays.el (list-holidays): Make Y2 optional.
4870
4871 * calendar/appt.el (appt-buffer-name): Don't use a leading space for
4872 buffers shown to the user.
4873 (appt-disp-window): Disable undo explicitly now that the leading space
4874 is gone.
4875
4876 * simple.el (activate-mark): New function.
4877 (set-mark-command): Use it with region-active-p to clean up the code.
4878 (exchange-point-and-mark): Invert the meaning of C-u when
4879 transient-mark-mode is active.
4880
4881 * dired-aux.el (dired-create-files): Use dolist.
4882
4883 * bindings.el (mode-line-change-eol): Use with-selected-window.
4884
4885 * apropos.el (apropos-command): Include macros.
4886
4887 2008-03-26 Glenn Morris <rgm@gnu.org>
4888
4889 * calendar/cal-bahai.el: Require calendar, not cal-julian.
4890 (calendar-bahai-epoch): Doc fix.
4891
4892 * calendar/cal-china.el: Explicitly require calendar.
4893
4894 * calendar/cal-coptic.el, calendar/cal-islam.el, calendar/cal-persia.el:
4895 Require calendar rather than cal-julian.
4896 Autoload calendar-absolute-from-julian.
4897 * calendar/cal-coptic.el (coptic-calendar-epoch):
4898 * calendar/cal-islam.el (calendar-islamic-epoch):
4899 * calendar/cal-persia.el (persian-calendar-epoch): Set when compiling.
4900
4901 * calendar/cal-islam.el (calendar-islamic-epoch): Doc fix.
4902
4903 * calendar/cal-dst.el: Don't require cal-persia.
4904 (calendar-absolute-from-persian): Autoload it.
4905 (dst-adjust-time): Doc fix.
4906
4907 * calendar/cal-menu.el (cal-menu-diary-menu): Remove menu headings that
4908 cause cal-bahai, cal-islam, cal-hebrew to be loaded on starting the
4909 calendar.
4910
4911 * calendar/cal-menu.el: Require calendar rather than declaring
4912 functions.
4913 * calendar/calendar.el: Provide calendar before requiring cal-menu.
4914
4915 * calendar/cal-x.el (calendar-after-frame-setup-hook): New name for
4916 calendar-after-frame-setup-hooks. Update callers, make old name an
4917 obsolete alias. Doc fix.
4918 (calendar-frame-1): Doc fix.
4919
4920 * calendar/calendar.el (solar-holidays): Simplify holiday-sexp calls.
4921
4922 * calendar/calendar.el (oriental-holidays, solar-holidays):
4923 * calendar/holidays.el (list-holidays): Assume atan always bound.
4924
4925 * calendar/lunar.el, calendar/solar.el: Remove floating-point check.
4926 Explicitly require calendar, not cal-julian.
4927 * calendar/lunar.el: Explicitly require cal-dst.
4928
4929 2008-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4930
4931 * autorevert.el (auto-revert-buffers): Use buffer-live-p.
4932
4933 * help-fns.el (describe-function-1, describe-variable): If no
4934 replacement is provided, don't print "use nil instead".
4935
4936 2008-03-25 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
4937
4938 * proced.el: New file.
4939
4940 2008-03-25 Tetsurou Okazaki <okazaki@be.to> (tiny change)
4941
4942 * emacs-lisp/byte-opt.el (side-effect-free-fns): Fix typo.
4943
4944 2008-03-25 Juri Linkov <juri@jurta.org>
4945
4946 * battery.el: Add file cookie coding:iso-8859-1 for the degree sign
4947 in battery-mode-line-format.
4948
4949 * bindings.el (minibuffer-local-map): For the command
4950 file-cache-minibuffer-complete replace keymap minibuffer-local-map
4951 with map which is already locally bound to minibuffer-local-map.
4952
4953 2008-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
4954
4955 * subr.el (map-keymap-sorted): Rename from map-keymap-internal.
4956 Remove `sort-first' argument.
4957
4958 * subr.el (redisplay-end-trigger-functions)
4959 (window-redisplay-end-trigger, set-window-redisplay-end-trigger)
4960 (process-filter-multibyte-p, set-process-filter-multibyte):
4961 Mark as obsolete.
4962
4963 2008-03-25 Juanma Barranquero <lekktu@gmail.com>
4964
4965 * emacs-lisp/re-builder.el (reb-mode-common): Remove reference to
4966 bogus variable `reb-kill-buffer'; don't make hooks buffer-local,
4967 use the LOCAL arg of `add-hook'.
4968 (reb-blink-delay, reb-mode-hook, reb-re-syntax, reb-auto-match-limit):
4969 Remove spurious * from defcustom docstrings.
4970 (reb-next-match, reb-prev-match, reb-enter-subexp-mode):
4971 Fix typos in messages.
4972 (reb-mode-buffer-p): New function.
4973 (re-builder, reb-kill-buffer): Use `reb-mode-buffer-p'. Use `when'.
4974 (top, reb-show-subexp, reb-auto-update, reb-auto-update)
4975 (reb-delete-overlays, reb-cook-regexp, reb-update-regexp)
4976 (reb-update-overlays): Use `unless', `when'.
4977 (re-builder-unload-function): New function.
4978
4979 2008-03-25 Dan Nicolaescu <dann@ics.uci.edu>
4980
4981 * vc-hooks.el (vc-state): Add documentation for 'missing.
4982
4983 2008-03-25 Wilson Snyder <wsnyder@wsnyder.org>
4984
4985 * progmodes/verilog-mode.el (verilog-auto-output)
4986 (verilog-auto-input, verilog-auto-inout, verilog-auto)
4987 (verilog-delete-auto): Add optional regular expression to
4988 AUTOINPUT/AUTOOUTPUT/AUTOINOUT.
4989 (verilog-signals-matching-regexp): New internal function for
4990 signal matching.
4991
4992 2008-03-25 Johan Bockgård <bojohan@gnu.org>
4993
4994 * info.el (Info-isearch-search): Always return point.
4995
4996 2008-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
4997
4998 * diff-mode.el (diff-remembered-defdir): New var.
4999 (diff-find-file-name): Use it to flush diff-remembered-files-alist.
5000
5001 2008-03-25 Glenn Morris <rgm@gnu.org>
5002
5003 * calendar/cal-bahai.el (calendar-bahai-read-date): New name for
5004 calendar-bahai-prompt-for-date. Update callers, make old name an
5005 obsolete alias. Doc fix.
5006 * calendar/cal-coptic.el (calendar-coptic-read-date): New name for
5007 coptic-prompt-for-date. Update callers, make old name an
5008 obsolete alias. Doc fix.
5009 * calendar/cal-hebrew.el (calendar-hebrew-read-date): New name for
5010 calendar-hebrew-prompt-for-date. Update callers. Doc fix.
5011 * calendar/cal-islam.el (calendar-islamic-read-date): New name for
5012 calendar-islamic-prompt-for-date. Update callers. Doc fix.
5013 * calendar/cal-iso.el (calendar-iso-read-date): New name for
5014 calendar-iso-read-args. Update callers, make old name an obsolete
5015 alias.
5016 * calendar/cal-persia.el (calendar-persian-read-date): New name for
5017 persian-prompt-for-date. Update callers, make old name an
5018 obsolete alias. Doc fix. Move definition before use.
5019
5020 * calendar/cal-x.el (diary-frame-parameters)
5021 (calendar-frame-parameters, calendar-and-diary-frame-parameters)
5022 (calendar-frame-1): Doc fixes.
5023 (make-fancy-diary-buffer): Remove declaration.
5024 (calendar-dedicate-diary): Replace call to deleted function
5025 make-fancy-diary-buffer.
5026 (calendar-frame-setup): New function.
5027 (calendar-one-frame-setup, calendar-only-one-frame-setup)
5028 (calendar-two-frame-setup): Call calendar-frame-setup to do the actual
5029 work, and mark as obsolete.
5030 (special-display-buffer-names): Don't mess with this; it's not our
5031 business.
5032 (cal-x-load-hook): Defvar it, and mark as obsolete.
5033
5034 * calendar/calendar.el (calendar-remove-frame-by-deleting):
5035 Default to t. Add to 'calendar group.
5036 (calendar): Doc fix. Use calendar-frame-setup.
5037 (calendar-basic-setup): Doc fix. Add optional NODISPLAY argument.
5038 (generate-calendar-window): Doc fix.
5039
5040 2008-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
5041
5042 * vc-bzr.el (vc-bzr-print-log, vc-bzr-diff): Do it asynchronously.
5043
5044 2008-03-24 Drew Adams <drew.adams@oracle.com>
5045
5046 * finder.el (finder-mode-syntax-table, finder-font-lock-keywords):
5047 New variables.
5048 (finder-mode): Use finder-mode-syntax-table. Set font-lock-defaults.
5049 (finder-exit): Ignore errors rather than avoiding them.
5050 Kill *Finder-package* buffer also.
5051
5052 2008-03-24 Andreas Schwab <schwab@suse.de>
5053
5054 * xt-mouse.el (xterm-mouse-event): Avoid error with buttons > 5.
5055
5056 2008-03-24 Dan Nicolaescu <dann@ics.uci.edu>
5057
5058 * vc-hg.el (vc-hg-after-dir-status):
5059 * vc-bzr.el (vc-bzr-after-dir-status): Detect missing files.
5060
5061 * vc-cvs.el (vc-cvs-after-dir-status, vc-cvs-parse-status):
5062 Detect removed files.
5063
5064 * vc.el (vc-status-printer): Use a different face for missing files.
5065 (vc-status-hide-up-to-date): Rename from
5066 vc-status-remove-up-to-date. Update all callers.
5067 (vc-status-mode-map): Bind C-m.
5068
5069 2008-03-24 Alexandre Julliard <julliard@winehq.org>
5070
5071 * vc-git.el (vc-git-after-dir-status-stage1): Move state matching
5072 code ...
5073 (vc-git--state-code): ... to this new function.
5074 (vc-git-state): Use it.
5075
5076 2008-03-24 Trent Buck <trentbuck@gmail.com> (tiny change)
5077
5078 * textmodes/remember.el (remember-mail-date)
5079 (remember-store-in-mailbox): Write date and From line in such a
5080 way that Mutt can read it.
5081
5082 2008-03-23 Chong Yidong <cyd@stupidchicken.com>
5083
5084 * simple.el (transient-mark-mode): Turn on by default.
5085
5086 2008-03-23 Dan Nicolaescu <dann@ics.uci.edu>
5087
5088 * vc-bzr.el (vc-bzr-state): Return 'removed for removed files and
5089 'unregistered for unregistered files.
5090
5091 * vc-hg.el (vc-hg-state): Return 'removed for removed files.
5092
5093 * bindings.el (standard-mode-line-modes): Avoid duplicating a string.
5094
5095 * vc-cvs.el (vc-cvs-parse-status): Note there are problems with
5096 subdirectories.
5097
5098 * vc.el (vc-status-prepare-status-buffer): Fix thinko.
5099 (vc-status-menu-map): Add binding for vc-status-kill-dir-status-process.
5100 Add :enable for vc-status-refresh.
5101 (vc-status-menu-map-filter): Remove vc-ignore-menu-filter test.
5102 (vc-status-tool-bar-map): Add binding for
5103 vc-status-kill-dir-status-process.
5104 Don't test display-graphic-p and don't bind vc-ignore-menu-filter.
5105 (vc-update-vc-status-buffer, vc-status-kill-dir-status-process):
5106 Reset vc-status-process-buffer.
5107 (vc-status-refresh): Don't run two refreshes at a time.
5108 (vc-status): If the buffer is already in vc-status-mode only refresh.
5109 (vc-status-mark-buffer-changed): Add an optional file parameter.
5110 (vc-resynch-buffer): Use it.
5111 (vc-delete-file): Expand the file name before using it.
5112 Be careful to not create a new buffer with the old file contents.
5113 Update the VC state after performing the operation.
5114
5115 2008-03-23 Andreas Schwab <schwab@suse.de>
5116
5117 * menu-bar.el (menu-bar-showhide-fringe-ind-menu) [mixed]:
5118 Fix radio button condition.
5119 [box]: Likewise.
5120 [customize]: Add radio button.
5121
5122 2008-03-23 Jay Belanger <jay.p.belanger@gmail.com>
5123
5124 * calc/calc.el (calc-was-keypad-mode, calc-full-mode)
5125 (calc-user-parse-tables, calc-gnuplot-default-device)
5126 (calc-gnuplot-default-output, calc-gnuplot-print-device)
5127 (calc-gnuplot-print-output, calc-gnuplot-geometry)
5128 (calc-graph-default-resolution, calc-graph-default-resolution-3d)
5129 (calc-invocation-macro, calc-trail-pointer, calc-trail-overlay)
5130 (calc-undo-list, calc-redo-list, calc-main-buffer)
5131 (calc-trail-buffer, calc-why, calc-last-kill, calc-dollar-values)
5132 (calc-dollar-used, calc-hashes-used, calc-quick-prev-results)
5133 (calc-said-hello, calc-executing-macro, calc-any-selections)
5134 (calc-help-phase, calc-full-help-flag, calc-refresh-count)
5135 (calc-display-dirty, calc-embedded-info, calc-embedded-active)
5136 (calc-standalone-flag, var-EvalRules, math-expr-function-mapping)
5137 (math-expr-variable-mapping, calc-mode-map, calc-digit-map)
5138 (calc-dispatch-map, calc-do-dispatch, calc-read-key-sequence)
5139 (calc-create-buffer, calc-quit): Add docstrings.
5140
5141 2008-03-23 Juanma Barranquero <lekktu@gmail.com>
5142
5143 * makefile.w32-in (WINS_ALMOST): Add org.
5144
5145 2008-03-23 Dan Nicolaescu <dann@ics.uci.edu>
5146
5147 * vc-cvs.el (vc-cvs-after-dir-status, vc-cvs-dir-status):
5148 New functions to implement vc-status support.
5149
5150 2008-03-22 Dan Nicolaescu <dann@ics.uci.edu>
5151
5152 * vc.el (vc-status-prepare-status-buffer): New function.
5153 (vc-status): Use it.
5154
5155 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add ... where
5156 appropriate.
5157
5158 2008-03-22 Alexandre Julliard <julliard@winehq.org>
5159
5160 * vc-git.el (vc-git--empty-db-p)
5161 (vc-git-after-dir-status-stage1-empty-db): New functions.
5162 (vc-git-dir-status, vc-git-after-dir-status-stage1, vc-git-state):
5163 Add support for empty repositories.
5164
5165 2008-03-22 Dan Nicolaescu <dann@ics.uci.edu>
5166
5167 * vc-git.el (vc-git-annotate-extract-revision-at-line):
5168 Allow "^" in a version name.
5169
5170 * vc-mtn.el (vc-mtn-state): Support the added state.
5171
5172 2008-03-22 Carsten Dominik <dominik@science.uva.nl>
5173
5174 * org: New directory for Org-mode.
5175
5176 * org/org-export-latex.el: Moved from lisp/texmodes.
5177
5178 * org/org-irc.el: Moved from lisp/texmodes.
5179
5180 * org/org-mac-message.el: Moved from lisp/texmodes.
5181
5182 * org/org-mouse.el: Moved from lisp/texmodes.
5183
5184 * org/org-publish.el: Moved from lisp/texmodes.
5185
5186 2008-03-21 Juri Linkov <juri@jurta.org>
5187
5188 * comint.el (comint-dynamic-simple-complete):
5189 Use variable `stub' for the second arg `common-substring'
5190 of `comint-dynamic-list-completions'.
5191 (comint-dynamic-list-filename-completions):
5192 Use variable `filenondir' for the second arg `common-substring'
5193 of `comint-dynamic-list-completions'.
5194 (comint-dynamic-list-completions): Add new optional arg
5195 `common-substring'. Add `common-substring' as the second arg of
5196 the call to `display-completion-list'. Doc fix.
5197
5198 * comint.el (comint-dynamic-complete-as-filename)
5199 (comint-dynamic-list-filename-completions)
5200 (comint-dynamic-simple-complete): Use `minibuffer-message'
5201 to display message "No completions of %s" when a command
5202 is called in the minibuffer.
5203 (comint-dynamic-simple-complete): Don't display other
5204 completion messages when a command is called in the minibuffer.
5205 (comint-dynamic-list-completions): Use `minibuffer-message'
5206 to display message " [Type space to flush ...]" when a command
5207 is called in the minibuffer.
5208
5209 * shell.el (shell-dynamic-complete-command)
5210 (shell-dynamic-complete-environment-variable): Don't display
5211 completion messages when command is called in the minibuffer.
5212
5213 * emacs-lisp/lisp.el (lisp-complete-symbol):
5214 Use `minibuffer-message' to display message "No completions of %s"
5215 when this command is called in the minibuffer.
5216
5217 * bindings.el (standard-mode-line-modes): Put special help-echo
5218 tooltip on recursive edit %[ %] mode-line constructs.
5219
5220 * dabbrev.el (debug-ignored-errors): Remove $ from the end of
5221 "^No dynamic expansion for .* found$" to allow error messages like
5222 "No dynamic expansion for \"%s\" found in this-buffer".
5223
5224 2008-03-21 Michael Albinus <michael.albinus@gmx.de>
5225
5226 * net/tramp.el (tramp-methods): Fix tramp-copy-args of "pscp" and
5227 "psftp".
5228
5229 2008-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5230
5231 * vc-hooks.el (vc-default-mode-line-string): Add case for added files.
5232 * vc.el (vc-default-dired-state-info): Use just "modified".
5233 * vc-cvs.el (vc-cvs-state-heuristic): Turn rev 0 into `added'.
5234 (vc-cvs-mode-line-string): Make use of the better default.
5235 (vc-cvs-parse-entry): Use the new `added'.
5236 (vc-cvs-dired-state-info): Remove.
5237 * vc-svn.el (vc-svn-dired-state-info): Remove.
5238 * vc-hg.el (vc-hg-dired-state-info): Remove.
5239 * vc-git.el (vc-git-dired-state-info): Remove.
5240
5241 2008-03-21 Dan Nicolaescu <dann@ics.uci.edu>
5242
5243 * vc-git.el (vc-git-status-result): New variable.
5244 (vc-git-dir-status): Split out ...
5245 (vc-git-after-dir-status-stage1, vc-git-after-dir-status-stage2):
5246 ... these new functions and work asynchronously.
5247
5248 2008-03-21 Alexandre Julliard <julliard@winehq.org>
5249
5250 * vc-git.el (vc-git-after-dir-status): Remove.
5251 (vc-git-dired-state-info): Reimplement.
5252
5253 2008-03-21 Dan Nicolaescu <dann@ics.uci.edu>
5254
5255 * replace.el (occur-mode-map): Add :help.
5256
5257 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entry
5258 for disassemble.
5259
5260 * vc.el (vc-status-mark-buffer-changed): Better deal with files in
5261 the 'added state.
5262 (vc-status-remove-up-to-date): New function.
5263 (vc-status-mode-map, vc-status-menu-map): Bind it.
5264 (vc-status-printer): Use a different face up-to-date files.
5265 (vc-resynch-buffer): Update the vc-status buffer if it exists.
5266 (Todo): Remove solved entries.
5267
5268 * vc-hg.el (vc-hg-state):
5269 * vc-git.el (vc-git-state):
5270 * vc-cvs.el (vc-cvs-parse-status):
5271 * vc-bzr.el (vc-bzr-state): Return 'added when the file is in that
5272 state.
5273
5274 2008-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
5275
5276 * progmodes/compile.el (compile):
5277 * progmodes/grep.el (grep, grep-find): Use read-shell-command.
5278
5279 * simple.el (minibuffer-local-shell-command-map): New var.
5280 (minibuffer-complete-shell-command, read-shell-command): New funs.
5281 (shell-command, shell-command-on-region): Use them.
5282
5283 2008-03-20 Dan Nicolaescu <dann@ics.uci.edu>
5284
5285 * vc.el (vc-status-mark-buffer-changed): New function to implement
5286 updating of the *vc-status* buffer when a buffer is saved.
5287 (vc-status-mode): Use it for after-change-hook.
5288 (vc-add-to-vc-status-buffer): Rename to ...
5289 (vc-status-add-entry): ... this.
5290 (Todo): Add new entry.
5291
5292 2008-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
5293
5294 * sort.el (sort-reorder-buffer): Preserve the buffer's multibyteness.
5295
5296 2008-03-20 Juanma Barranquero <lekktu@gmail.com>
5297
5298 * icomplete.el (icomplete-prospects-length, icomplete-max-delay-chars)
5299 (icomplete-show-key-bindings, icomplete-minibuffer-setup-hook):
5300 Remove spurious * from defcustom docstrings.
5301 (icomplete-compute-delay): Fix docstring and remove spurious *.
5302 (icomplete-delay-completions-threshold): Fix typo in docstring and
5303 remove spurious *.
5304 (icomplete-completions): While collecting the list of prospective
5305 candidates, don't overshoot `icomplete-prospects-length'.
5306
5307 2008-03-20 Dan Nicolaescu <dann@ics.uci.edu>
5308
5309 * textmodes/refbib.el:
5310 * textmodes/reftex.el:
5311 * textmodes/reftex-global.el:
5312 * textmodes/reftex-vars.el:
5313 * textmodes/reftex-toc.el: Don't use eval-and-compile for byte
5314 compiler pacifying defvars.
5315 (reftex-toc-mode): Only make zmacs-regions local on XEmacs.
5316 * textmodes/reftex-index.el (zmacs-regions): Remove pacifier,
5317 not needed.
5318
5319 2008-03-20 Wilson Snyder <wsnyder@wsnyder.org>
5320
5321 * progmodes/verilog-mode.el (verilog-easy-menu-filter): New function.
5322 (verilog-stmt-menu, verilog-menu): Add :help and filter it.
5323 (verilog-customize, verilog-font-customize)
5324 (electric-verilog-backward-sexp, electric-verilog-forward-sexp)
5325 (verilog-mode): Update documentation strings to match tool tips.
5326 (verilog-auto-search-do, verilog-auto-re-search-do)
5327 (verilog-skip-forward-comment-or-string): Fix verilog-auto
5328 expansion when a .* appears inside a string.
5329 (verilog-re-search-forward, verilog-re-search-backward):
5330 Add comment to recall how this works.
5331 (verilog-read-decls): Fix AUTOINPUT/AUTOOUTPUT mis-including genvars.
5332
5333 2008-03-20 Glenn Morris <rgm@gnu.org>
5334
5335 * calendar/calendar.el (calendar-other-dates): New function.
5336 (calendar-print-other-dates): Use calendar-other-dates.
5337 * calendar/cal-menu.el (calendar-other-dates): Declare it, and removes
5338 the declarations it replaces.
5339 (calendar-mouse-print-dates): Use calendar-other-dates.
5340
5341 * calendar/cal-bahai.el (calendar-bahai-leap-year-p)
5342 (calendar-bahai-leap-base, calendar-bahai-from-absolute): Doc fixes.
5343 (calendar-absolute-from-bahai): Fix the leap-year case.
5344 (calendar-bahai-from-absolute): Re-use the Gregorian month.
5345 (calendar-bahai-date-string, calendar-bahai-print-date):
5346 Handle pre-Bahai dates.
5347
5348 * calendar/cal-china.el (chinese-calendar-celestial-stem)
5349 (chinese-calendar-terrestrial-branch): Make defcustoms.
5350
5351 * calendar/cal-menu.el (calendar-mouse-holidays): Re-use the title.
5352 (calendar-mouse-view-diary-entries): Use or.
5353 (calendar-mouse-chinese-date): Remove unused command.
5354 (cal-menu-load-hook): Mark as obsolete.
5355
5356 * calendar/solar.el (calendar-location-name, calendar-latitude)
5357 (calendar-longitude, solar-arctan, sunrise-sunset)
5358 (solar-mean-equinoxes/solstices): Use the appropriate equality test.
5359
5360 2008-03-20 Jay Belanger <jay.p.belanger@gmail.com>
5361
5362 * calc/calc.el: Remove outdated comments.
5363 (defcalcmodevar, calc-mode-var-list-restore-default-values)
5364 (calc-mode-var-list-restore-saved-values, calc-autorange-units):
5365 Add docstrings.
5366
5367 2008-03-19 Jason Rumney <jasonr@gnu.org>
5368
5369 * w32-fns.el (x-alternatives-map): Add S-tab mapping.
5370
5371 2008-03-19 Reiner Steib <Reiner.Steib@gmx.de>
5372
5373 * net/tls.el (open-tls-stream): Reindent.
5374
5375 2008-03-19 Michael Albinus <michael.albinus@gmx.de>
5376
5377 * net/tramp.el (tramp-let-maybe): Removed.
5378 (tramp-drop-volume-letter): Don't use `replace-regexp-in-string'.
5379 It does not exist under XEmacs.
5380 (tramp-handle-file-truename, tramp-handle-expand-file-name)
5381 (tramp-completion-file-name-handler): Let-bind
5382 `directory-sep-char'.
5383
5384 * net/tramp-fish.el (tramp-fish-handle-expand-file-name): Let-bind
5385 `directory-sep-char'.
5386
5387 2008-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
5388
5389 * help-fns.el (describe-function-1): Don't signal "missing arglist"
5390 for autoloaded keymaps.
5391
5392 * progmodes/verilog-mode.el (verilog-syntax-ppss): New function.
5393 (electric-verilog-terminate-line, verilog-in-struct-region-p)
5394 (verilog-backward-ws&directives, verilog-forward-ws&directives)
5395 (verilog-in-comment-p, verilog-in-star-comment-p)
5396 (verilog-in-slash-comment-p, verilog-skip-backward-comments)
5397 (verilog-parenthesis-depth, verilog-skip-backward-comment-or-string)
5398 (verilog-skip-forward-comment-or-string, verilog-in-paren)
5399 (verilog-skip-forward-comment-p): Use it.
5400
5401 2008-03-19 Juanma Barranquero <lekktu@gmail.com>
5402
5403 * textmodes/org.el (org-link-store, org-link-follow, org-latex)
5404 (org-remember-templates, org-time-stamp-rounding-minutes)
5405 (org-back-over-empty-lines, org-find-base-buffer-visiting)
5406 (org-columns-new): Fix typos in docstrings.
5407
5408 2008-03-19 Glenn Morris <rgm@gnu.org>
5409
5410 * net/tramp.el (tramp-drop-volume-letter): Evaluate when compiling.
5411 (tramp-handle-shell-command): Use condition-case rather than
5412 ignore-errors.
5413
5414 2008-03-19 Dan Nicolaescu <dann@ics.uci.edu>
5415
5416 * diff-mode.el (diff-header): Make the color louder.
5417 (diff-refine-change): Tone the color down.
5418
5419 2008-03-19 Juanma Barranquero <lekktu@gmail.com>
5420
5421 * descr-text.el (describe-char): When `describe-char-unidata-list'
5422 is set to show all properties, list them in the right order.
5423
5424 2008-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
5425
5426 * international/mule.el (load-with-code-conversion): Avoid setting
5427 default-enable-multibyte-characters.
5428
5429 2008-03-19 Gustav HÃ¥llberg <gustav@virtutech.com> (tiny change)
5430
5431 * vc.el (vc-annotate-background): Fix custom type.
5432
5433 2008-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
5434
5435 * descr-text.el (describe-char-unidata-list): Allow specifying
5436 just all properties.
5437 (describe-char): Handle that new value.
5438
5439 * emulation/cua-base.el (cua-paste): Signal an error in read-only buf.
5440
5441 2008-03-18 Tassilo Horn <tassilo@member.fsf.org>
5442
5443 * doc-view.el (doc-view-initiate-display): Use doc-view-doc-type
5444 instead of file name extension to make docs with uncommon
5445 extensions work.
5446
5447 2008-03-18 Tassilo Horn <tassilo@member.fsf.org>
5448
5449 * doc-view.el (require): Require cl at compile time because
5450 `assert' needs it.
5451
5452 2008-03-18 Glenn Morris <rgm@gnu.org>
5453
5454 * calendar/calendar.el (initial-calendar-window-hook)
5455 (today-visible-calendar-hook): Doc fixes.
5456
5457 2008-03-17 Michael Albinus <michael.albinus@gmx.de>
5458
5459 * net/tramp.el (tramp-root-regexp): Simplify.
5460 (tramp-completion-file-name-regexp-separate): Don't insist on
5461 leading "[". This prevents method or user or host completion.
5462 (tramp-let-maybe): Autoload it.
5463 (tramp-drop-volume-letter): Don't autoload. When not on W32, it
5464 is an alias for `identity'.
5465 (tramp-handle-write-region): Protect `last-coding-system-used'
5466 over the trailing statements.
5467 (tramp-completion-file-name-handler-post-function): Remove.
5468 (tramp-completion-file-name-handler): Let-bind `directory-sep-char'
5469 instead of calling `tramp-drop-volume-letter'.
5470
5471 * net/tramp.el:
5472 * net/tramp-uu.el:
5473 * net/trampver.el: Move coding cookie at the end.
5474
5475 2008-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
5476
5477 * net/tramp.el (tramp-completion-mode-p): Don't use char-equal for
5478 elements which may be something else than characters.
5479
5480 2008-03-17 Dan Nicolaescu <dann@ics.uci.edu>
5481
5482 * vc-bzr.el (vc-bzr-dir-status, vc-bzr-after-dir-status):
5483 New functions to implement vc-status support.
5484
5485 * vc.el (vc-default-extra-status-menu)
5486 (vc-add-to-vc-status-buffer): New functions.
5487
5488 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
5489 for eldoc and ielm.
5490
5491 2008-03-17 Glenn Morris <rgm@gnu.org>
5492
5493 * calendar/cal-x.el (diary-frame-parameters)
5494 (calendar-frame-parameters, calendar-and-diary-frame-parameters):
5495 Fix custom type; add options.
5496 (calendar-frame, diary-frame): Doc fixes.
5497 (calendar-dedicate-diary, calendar-frame-1): Extract common code into
5498 new functions.
5499 (calendar-one-frame-setup, calendar-two-frame-setup): Doc fixes.
5500 Use calendar-frame-1 and calendar-dedicate-diary.
5501 (calendar-one-frame-setup): Also handle only-one-frame case.
5502 (calendar-only-one-frame-setup): Doc fix. Just call
5503 calendar-one-frame-setup.
5504
5505 * calendar/diary-lib.el: Re-order some definitions before their use.
5506 (nongregorian-diary-listing-hook, nongregorian-diary-marking-hook)
5507 (diary-list-entries): Doc fixes.
5508 (make-fancy-diary-display): Remove function.
5509
5510 * calendar/calendar.el (calendar-today-marker)
5511 (initial-calendar-window-hook, today-visible-calendar-hook)
5512 (today-invisible-calendar-hook, diary-file, calendar-basic-setup)
5513 (calendar-star-date, calendar-mark-today): Doc fixes.
5514 (today-visible-calendar-hook): Add options.
5515 (calendar-in-read-only-buffer): New macro.
5516 (calendar-basic-setup): Adapt for change in calendar-read-date.
5517 Place holiday let inside if.
5518 (calendar-day-name-array, calendar-month-name-array): Make defcustoms.
5519 (calendar-read-date): Set day to 1 rather than nil in the NODAY case.
5520 (calendar-print-other-dates): Use one let rather than many.
5521
5522 * calendar/calendar.el (calendar-in-read-only-buffer): New macro.
5523 (calendar-print-other-dates):
5524 * calendar/cal-hebrew.el (list-yahrzeit-dates):
5525 * calendar/diary-lib.el (simple-diary-display, fancy-diary-display):
5526 * calendar/holidays.el (calendar-list-holidays, list-holidays)
5527 (calendar-cursor-holidays):
5528 * calendar/lunar.el (calendar-phases-of-moon): Use
5529 calendar-in-read-only-buffer to replace previous code and disable undo.
5530
5531 2008-03-16 Juri Linkov <juri@jurta.org>
5532
5533 * isearch.el (isearch-edit-string): Use search-ring-yank-pointer
5534 and regexp-search-ring-yank-pointer for the HISTPOS argument of
5535 read-from-minibuffer to provide the correct initial minibuffer
5536 history position in isearch-edit-string when it is called from
5537 isearch-ring-adjust.
5538
5539 * menu-bar.el (kill-this-buffer): Use menu-bar-non-minibuffer-window-p
5540 to check if the current buffer is the minibuffer, and in this case
5541 call abort-recursive-edit to kill the minibuffer. Doc fix.
5542 (kill-this-buffer-enabled-p): Allow this function to return non-nil
5543 when the current buffer is the minibuffer.
5544
5545 * simple.el (goto-line): Leave mark at previous position. Doc fix.
5546
5547 2008-03-16 Tassilo Horn <tassilo@member.fsf.org>
5548
5549 * doc-view.el (doc-view-doc->txt, doc-view-convert-current-doc):
5550 Use non-nil PARENTS attribute of make-directory instead of
5551 explicitly checking existence the current cache directory.
5552
5553 2008-03-16 Daiki Ueno <ueno@unixuser.org>
5554
5555 * epa-file.el (epa-file-select-keys): Fix bug with C-x C-s after
5556 M-x epa-file-select-keys.
5557
5558 2008-03-16 Kenichi Handa <handa@m17n.org>
5559
5560 * international/mule.el (auto-coding-alist):
5561 Use no-conversion-multibyte for archive files.
5562
5563 2008-03-16 Glenn Morris <rgm@gnu.org>
5564
5565 * calendar/diary-lib.el (calendar-mark-complex, calendar-mark-1):
5566 New functions.
5567 * calendar/cal-bahai.el (calendar-mark-1): Autoload it.
5568 (calendar-bahai-mark-date-pattern): Add optional argument `color'.
5569 Use calendar-mark-1.
5570 * calendar/cal-hebrew.el (calendar-mark-complex): Autoload it.
5571 (mark-hebrew-calendar-date-pattern): Add optional argument `color'.
5572 Use calendar-mark-complex.
5573 * calendar/cal-islam.el (calendar-mark-1): Autoload it.
5574 (mark-islamic-calendar-date-pattern): Add optional argument `color'.
5575 Use calendar-mark-1.
5576
5577 * calendar/calendar.el (calendar-mod): Remove.
5578 * calendar/cal-china.el (calendar-chinese-from-absolute)
5579 (calendar-chinese-date-string): Expand calendar-mod calls.
5580 * calendar/cal-mayan.el (calendar-mayan-tzolkin-from-absolute):
5581 Expand calendar-mod calls.
5582
5583 * calendar/cal-bahai.el (calendar-bahai-date-string): Use a single let.
5584 (diary-bahai-insert-entry, diary-bahai-insert-monthly-entry)
5585 (diary-bahai-insert-yearly-entry): Use let rather than let*.
5586 Move obsolete aliases after the functions that replaced them.
5587
5588 * calendar/cal-hebrew.el (calendar-absolute-from-hebrew)
5589 (hebrew-calendar-yahrzeit, insert-hebrew-diary-entry)
5590 (insert-monthly-hebrew-diary-entry, insert-yearly-hebrew-diary-entry):
5591 Use let rather than let*.
5592 (calendar-hebrew-prompt-for-date): New function.
5593 (calendar-goto-hebrew-date): Use calendar-hebrew-prompt-for-date.
5594 (holiday-tisha-b-av-etc): Use unless, let.
5595
5596 * calendar/cal-islam.el (calendar-islamic-prompt-for-date): New func.
5597 (calendar-goto-islamic-date): Use calendar-islamic-prompt-for-date.
5598
5599 * calendar/cal-mayan.el (calendar-mayan-haab-to-string): Simplify.
5600
5601 * calendar/calendar.el (calendar-for-loop): Add indent spec.
5602
5603 * calendar/diary-lib.el (diary-remind-message, mark-sexp-diary-entries)
5604 (list-sexp-diary-entries, diary-font-lock-sexps): Use format rather
5605 than concat.
5606 (diary): Remove un-needed let.
5607 (view-other-diary-entries): Rename argument.
5608 (diary-list-entries-2): New function.
5609 (diary-list-entries-1, diary-list-entries): Use diary-list-entries-2.
5610 (print-diary-entries): Use unless.
5611 (diary-mark-entries-1): Change argument order, make all but
5612 markfunc optional. Handle the standard (Gregorian) case.
5613 Use match-string-no-properties. Handle marks.
5614 (mark-diary-entries): Use diary-mark-entries-1.
5615 (diary-font-lock-keywords-1): New macro.
5616 (diary-font-lock-keywords): Use diary-font-lock-keywords-1.
5617
5618 2008-03-16 Ulf Jasper <ulf.jasper@web.de>
5619
5620 * icalendar.el (icalendar-version): Increase to 0.18.
5621 (icalendar-export-hidden-diary-entries): New variable.
5622 (icalendar-export-region): Use icalendar-export-hidden-diary-entries.
5623 In case of error, insert full error-val.
5624 (icalendar-first-weekday-of-year): Remove `offset' argument. Doc fix.
5625 Use calendar-day-of-week. Return the day number.
5626 (icalendar--convert-weekly-to-ical): Use funcall rather than apply.
5627
5628 2008-03-16 Craig Markwardt <Craig.Markwardt@nasa.gov>
5629
5630 * icalendar.el (icalendar-recurring-start-year): New variable.
5631 (icalendar--diarytime-to-isotime): Fix treatment of 12:00pm - 12:59pm.
5632 (icalendar-export-region): Ignore hidden diary entries.
5633 (icalendar--convert-ordinary-to-ical): Fix case where event
5634 spans across midnight boundary.
5635 (icalendar-first-weekday-of-year): New function.
5636 (icalendar--convert-weekly-to-ical): Allow user-selectable start
5637 year for recurring events (Mozilla calendars do not propagate
5638 recurring events forever, so year 2000 start date was not working).
5639 (icalendar--convert-yearly-to-ical): Remove extra spaces in
5640 formatting of BYMONTH and BYMONTHDAY (not allowed by ical spec).
5641
5642 2008-03-15 Michael Albinus <michael.albinus@gmx.de>
5643
5644 * net/tramp.el (tramp-root-regexp): New defconst.
5645 (tramp-completion-file-name-regexp-unified)
5646 (tramp-completion-file-name-regexp-separate)
5647 (tramp-completion-file-name-regexp-url): Use it.
5648 (tramp-do-copy-or-rename-file-via-buffer):
5649 Set `enable-multibyte-characters' to nil. Set `jka-compr-inhibit' to
5650 t for `insert-file-contents-literally'.
5651 (tramp-drop-volume-letter): Rewrite, using `tramp-root-regexp'.
5652 Autoload it.
5653 (tramp-completion-file-name-handler-post-function): New defconst.
5654 (tramp-completion-file-name-handler): Use it.
5655 (tramp-maybe-open-connection): Update calls to
5656 `tramp-flush-connection-property' for removed 2nd argument.
5657
5658 2008-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5659
5660 * vc-bzr.el (vc-bzr-diff): Use a faster invocation when possible.
5661 (vc-bzr-complete-with-prefix, vc-bzr-revision-completion-table):
5662 New functions.
5663
5664 2008-03-15 Glenn Morris <rgm@gnu.org>
5665
5666 * calendar/diary-lib.el (diary-list-entries-1, diary-mark-entries-1):
5667 New functions.
5668 * calendar/cal-bahai.el (number, original-date, add-to-diary-list)
5669 (diary-name-pattern, mark-calendar-days-named): Remove declarations.
5670 (diary-list-entries-1, diary-mark-entries-1): Autoload.
5671 (diary-bahai-list-entries): Use diary-list-entries-1.
5672 (diary-bahai-mark-entries): Doc fix. Use diary-mark-entries-1.
5673 * calendar/cal-hebrew.el (number, original-date, add-to-diary-list)
5674 (diary-name-pattern, mark-calendar-days-named): Remove declarations.
5675 (diary-list-entries-1, diary-mark-entries-1): Autoload.
5676 (list-hebrew-diary-entries): Use diary-list-entries-1.
5677 (mark-hebrew-diary-entries): Doc fix. Use diary-mark-entries-1.
5678 * calendar/cal-islam.el (number, original-date, add-to-diary-list)
5679 (diary-name-pattern, mark-calendar-days-named): Remove declarations.
5680 (diary-list-entries-1, diary-mark-entries-1): Autoload.
5681 (list-islamic-diary-entries): Use diary-list-entries-1.
5682 (mark-islamic-diary-entries): Doc fix. Use diary-mark-entries-1.
5683
5684 * calendar/appt.el (appt-check, appt-delete, appt-make-list): Use caar.
5685
5686 * calendar/cal-bahai.el (calendar-bahai-epoch): Doc fix.
5687
5688 * calendar/cal-china.el (number-chinese-months)
5689 (calendar-chinese-from-absolute): Use nth, caar.
5690
5691 * calendar/cal-coptic.el (coptic-calendar-epoch): Doc fix.
5692
5693 * calendar/cal-french.el (french-calendar-accents): Doc fix.
5694
5695 * calendar/cal-hebrew.el (calendar-hebrew-month-name-array-common-year)
5696 (calendar-hebrew-month-name-array-leap-year)
5697 (hebrew-calendar-parashiot-names): Make constants.
5698 (diary-parasha): Move definition after constants it uses.
5699
5700 * calendar/cal-html.el (cal-html-insert-link-yearpage)
5701 (cal-html-htmlify-list): Doc fix.
5702 (cal-html-htmlify-entry): Use nth.
5703
5704 * calendar/cal-islam.el (calendar-islamic-month-name-array)
5705 (calendar-islamic-epoch): Make constants.
5706 (calendar-islamic-epoch): Doc fix.
5707
5708 * calendar/cal-menu.el (cal-menu-goto-menu): Use "Go To".
5709
5710 * calendar/cal-tex.el (cal-tex-hook, cal-tex-insert-preamble)
5711 (cal-tex-month-name): Doc fix.
5712 (cal-tex-last-blank-p): Use zerop.
5713
5714 * calendar/calendar.el (european-calendar-style, calendar-for-loop)
5715 (calendar-sum, calendar-insert-indented, mouse-calendar-other-month)
5716 (calendar-cursor-to-date): Doc fix.
5717 (hebrew-holidays-1, hebrew-holidays-4): Simplify.
5718 (extract-calendar-day, extract-calendar-year): Use cadr, nth.
5719 (calendar-day-number): Use when.
5720 (generate-calendar-month): Use dotimes.
5721 (exit-calendar, calendar-print-other-dates): Use let rather than let*.
5722 (calendar-set-mark): Reverse conditional.
5723 (calendar-make-alist): Move definition before use.
5724
5725 * calendar/diary-lib.el (diary-face-attrs)
5726 (diary-glob-file-regexp-prefix, diary-selective-display)
5727 (number-of-diary-entries, diary-list-entries, diary-goto-entry)
5728 (list-sexp-diary-entries, diary-date, diary-block, diary-float)
5729 (diary-anniversary, diary-cyclic)
5730 (diary-fancy-font-lock-fontify-region-function): Doc fixes.
5731 (diary-header-line-format): Change wording.
5732 (diary-list-entries): Set `date-start' in let.
5733 (include-other-diary-files, mark-included-diary-files): Use format.
5734 (simple-diary-display, fancy-diary-display): Use cadr, unless.
5735 (mark-diary-entries): Use 1+.
5736 (mark-sexp-diary-entries, list-sexp-diary-entries): Use when.
5737 (mark-calendar-month): Use dotimes.
5738
5739 * calendar/holidays.el (displayed-month, displayed-year):
5740 Move declarations where needed.
5741 (calendar-list-holidays): Doc fix.
5742
5743 * calendar/parse-time.el (parse-time-string): Simplify.
5744
5745 * calendar/solar.el (solar-n-hemi-seasons, solar-s-hemi-seasons):
5746 Make constants.
5747 (solar-sunrise-sunset): Rename some local variables for clarity.
5748 (sunrise-sunset): Use zerop.
5749 (solar-mean-equinoxes/solstices): Doc fix.
5750
5751 * calendar/timeclock.el (timeclock-time-to-seconds, timeclock-log-data):
5752 Use nth.
5753 (timeclock-completing-read, timeclock-generate-report): Use zerop.
5754 (timeclock-mean, timeclock-generate-report): Use dolist.
5755
5756 * calendar/todo-mode.el (todo-add-category): Simplify.
5757 (todo-more-important-p, todo-delete-item, todo-file-item):
5758 Use unless, when.
5759 (todo-top-priorities): Use zerop.
5760
5761 2008-03-14 Nick Roberts <nickrob@snap.net.nz>
5762
5763 * buff-menu.el (list-buffers-noselect): Display buffer name in
5764 tooltip instead of mouse binding when it doesn't fit in the list.
5765
5766 2008-03-14 Dan Nicolaescu <dann@ics.uci.edu>
5767
5768 * faces.el (xw-defined-colors):
5769 * simple.el (widget-convert, shell-mode): Declare as functions
5770 instead of autoloading.
5771
5772 * abbrev.el:
5773 * button.el:
5774 * cus-face.el:
5775 * ediff-hook.el:
5776 * emacs-lisp/backquote.el:
5777 * emacs-lisp/timer.el:
5778 * facemenu.el:
5779 * faces.el:
5780 * menu-bar.el:
5781 * simple.el:
5782 * subr.el:
5783 * textmodes/fill.el:
5784 * textmodes/paragraphs.el: Remove autoloads, redundant when the
5785 files are preloaded.
5786
5787 2008-03-14 Stefan Monnier <monnier@iro.umontreal.ca>
5788
5789 * desktop.el (desktop-create-buffer): Don't catch errors if
5790 debug-on-error is set.
5791
5792 2008-03-14 Eli Zaretskii <eliz@gnu.org>
5793
5794 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
5795 ($(lisp)/calendar/diary-loaddefs.el)
5796 ($(lisp)/calendar/hol-loaddefs.el): New targets.
5797 (LOADDEFS): New macro.
5798 (autoloads): Depend on $(LOADDEFS).
5799
5800 2008-03-14 Dan Nicolaescu <dann@ics.uci.edu>
5801
5802 * font-lock.el (featurep): Remove test, not useful anymore.
5803 (facemenu-keymap): Move key binding ...
5804 * facemenu.el (facemenu-keymap): ... here.
5805
5806 * vc-bzr.el (vc-bzr-print-log): Insert a file marker. Run the log
5807 for each file in the list.
5808 (vc-bzr-log-view-mode): Recognize the file marker.
5809
5810 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
5811 for checkdoc and profiling.
5812
5813 2008-03-14 Bastien Guerry <bzg@altern.org>
5814
5815 * textmodes/flyspell.el (nxml-mode): Add the right
5816 `flyspell-mode-predicate'.
5817
5818 * wid-edit.el (link): Use 'mouse-face for :follow-link.
5819
5820 2008-03-14 Glenn Morris <rgm@gnu.org>
5821
5822 * calendar/solar.el: Reorder so that functions are defined before use.
5823 (displayed-month, displayed-year): Move declarations where needed.
5824 (solar-get-number): Move definition before use. Use unless.
5825 (solar-equatorial-coordinates): Simplify.
5826 (solar-sunrise-and-sunset): Use let rather than let*.
5827 (solar-longitude, solar-equinoxes-solstices): Use cadr, nth.
5828
5829 * startup.el (command-line-1): Rename -internal-script back to
5830 -scriptload (reverts previous change).
5831
5832 * calendar/cal-bahai.el (calendar-bahai-month-name-array)
5833 (calendar-bahai-leap-base): Add doc strings.
5834 (calendar-bahai-prompt-for-date, calendar-bahai-mark-date-pattern):
5835 Move definition before use.
5836 (calendar-bahai-goto-date, diary-bahai-list-entries): Doc fix.
5837 (diary-bahai-list-entries, diary-bahai-mark-entries): Move some constant
5838 variables outside the loop. Use dolist.
5839 (holiday-bahai, calendar-bahai-mark-date-pattern): Use unless.
5840
5841 * calendar/cal-china.el: Re-order so that functions are defined before
5842 use.
5843 (displayed-month, displayed-year): Move declarations where needed.
5844 (chinese-calendar-time-zone, calendar-goto-chinese-date): Doc fix.
5845 (chinese-calendar-celestial-stem, chinese-calendar-terrestrial-branch):
5846 Add doc strings.
5847 (chinese-year-cache): Recenter on 2010. Doc fix.
5848 (chinese-year, number-chinese-months, calendar-absolute-from-chinese):
5849 Doc fix. Simplify.
5850 (chinese-year-cache-init): New function.
5851 (compute-chinese-year, holiday-chinese-new-year)
5852 (calendar-chinese-date-string, calendar-goto-chinese-date)
5853 (make-chinese-month-assoc-list): Use cadr, nth.
5854 (chinese-months): Remove un-needed let.
5855
5856 * calendar/cal-coptic.el (coptic-calendar-month-name-array)
5857 (ethiopic-calendar-month-name-array, ethiopic-name): Add doc strings.
5858 (coptic-prompt-for-date): Move definition before use.
5859
5860 * calendar/cal-dst.el (calendar-time-zone-daylight-rules): Simplify.
5861 (calendar-dst-find-data, calendar-daylight-time-offset)
5862 (calendar-standard-time-zone-name, calendar-daylight-time-zone-name)
5863 (calendar-daylight-savings-starts-time)
5864 (calendar-daylight-savings-ends-time): Use cadr, nth.
5865
5866 * calendar/cal-french.el (french-calendar-epoch)
5867 (calendar-goto-french-date): Doc fix.
5868 (french-calendar-month-name-array)
5869 (french-calendar-multibyte-month-name-array)
5870 (french-calendar-day-name-array, french-calendar-special-days-array):
5871 Add doc strings.
5872
5873 * calendar/cal-hebrew.el (displayed-month, displayed-year)
5874 (original-date): Move declarations where needed.
5875 (calendar-goto-hebrew-date, list-hebrew-diary-entries, diary-yahrzeit):
5876 Doc fix.
5877 (list-hebrew-diary-entries, mark-hebrew-diary-entries): Move some
5878 constant variables outside the loop. Use dolist.
5879
5880 * calendar/cal-islam.el (displayed-month, displayed-year)
5881 (original-date): Move declarations where needed.
5882 (islamic-calendar-day-number): Remove unused local variable `day'.
5883 (calendar-goto-islamic-date): Doc fix.
5884 (holiday-islamic): Use unless.
5885 (list-islamic-diary-entries, mark-islamic-diary-entries): Move some
5886 constant variables outside the loop. Use dolist.
5887 (mark-islamic-calendar-date-pattern): Move definition before use.
5888 Use unless.
5889 (mark-islamic-diary-entries): Doc fix.
5890 (insert-islamic-diary-entry, insert-monthly-islamic-diary-entry)
5891 (insert-yearly-islamic-diary-entry): Use let rather than let*.
5892
5893 * calendar/cal-julian.el (calendar-absolute-from-julian):
5894 Move definition before use. Remove un-needed local `day'.
5895 (calendar-goto-julian-date, calendar-goto-astro-day-number): Doc fix.
5896
5897 * calendar/cal-mayan.el (calendar-mayan-haab-month-name-array)
5898 (calendar-mayan-tzolkin-names-array): Add doc strings.
5899 (calendar-mayan-long-count-from-absolute): Use a single let.
5900 (calendar-string-to-mayan-long-count): Simplify.
5901 (calendar-next-haab-date, calendar-previous-haab-date)
5902 (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
5903 (calendar-previous-calendar-round-date)
5904 (calendar-goto-mayan-long-count-date, calendar-mayan-date-string):
5905 Doc fix.
5906 (calendar-mayan-tzolkin-haab-on-or-before): Use zerop.
5907 (calendar-mayan-date-string, calendar-print-mayan-date)
5908 (calendar-read-mayan-haab-date, calendar-read-mayan-tzolkin-date)
5909 (calendar-mayan-long-count-common-era): Move definitions before use.
5910
5911 * calendar/cal-menu.el (displayed-year): Move declaration where needed.
5912 (calendar-event-to-date, cal-tex-mouse-week, cal-tex-mouse-week-iso):
5913 Doc fix.
5914 (calendar-mouse-goto-date): Move definition before use.
5915
5916 * calendar/cal-move.el (calendar-cursor-to-nearest-date): Use or, when.
5917 Move definition before use.
5918 (calendar-cursor-to-visible-date): Move definition before use.
5919 (calendar-scroll-left): Use unless and zerop. Combine lets into one,
5920 and place inside the conditional.
5921 (calendar-forward-day): Simplify.
5922 (calendar-end-of-month): Use unless.
5923 (calendar-goto-day-of-year): Doc fix.
5924 Relocate obsolete aliases after their replacements.
5925
5926 * calendar/cal-persia.el (calendar-goto-persian-date): Doc fix.
5927
5928 * calendar/diary-lib.el (mark-diary-entries): Move some constant
5929 variables outside the diary-date-forms loop.
5930
5931 * calendar/calendar.el (diary-file): Doc fix.
5932 (calendar-buffer-list): Return buffers rather than strings (fixes
5933 previous change).
5934 (hebrew-holidays-4): Fix typo.
5935
5936 * calendar/holidays.el (displayed-month, displayed-year):
5937 Move declarations where needed.
5938 (calendar-holiday-list, calendar-list-holidays)
5939 (holiday-filter-visible-calendar): Move definitions before use.
5940 (list-holidays): Use cadr.
5941 Relocate obsolete aliases after their replacements.
5942
5943 * calendar/lunar.el (date, displayed-month, displayed-year):
5944 Move declarations where needed.
5945 (lunar-phase-list): Move definition after functions it uses.
5946 (calendar-phases-of-moon, diary-phases-of-moon)
5947 (lunar-new-moon-on-or-after): Use cadr, nth.
5948 (lunar-new-moon-on-or-after): Doc fix.
5949
5950 * textmodes/org-irc.el (top-level): CL not required when compiling.
5951 (org-irc-visit-erc): Replace runtime CL functions.
5952
5953 * textmodes/org-publish.el (declare-function): Add compatibility stub.
5954 (org-publish-delete-dups): Declare as function.
5955
5956 2008-03-14 Dan Nicolaescu <dann@ics.uci.edu>
5957
5958 * vc-bzr.el (vc-bzr-log-view-mode): "." can be part of a revno.
5959 (vc-bzr-show-log-entry): Make regexp match more cases.
5960 (vc-diff-switches-list): Remove autoload, not needed.
5961
5962 2008-03-14 Juri Linkov <juri@jurta.org>
5963
5964 * isearch.el (isearch-edit-string): Remove one call to
5965 `isearch-push-state' not to push an inconsistent state,
5966 but keep another correct call to `isearch-push-state'.
5967 (isearch-ring-adjust): Call `isearch-push-state' only when
5968 `search-ring-update' is non-nil since `isearch-edit-string'
5969 already pushes its state.
5970 (isearch-message): Improve matching the failed part by checking
5971 if the original message starts with the last successful message.
5972
5973 * dired.el (dired-warn-writable): Rename to `dired-perm-write'.
5974 (dired-perm-write): Rename from `dired-warn-writable'.
5975 Change parent face from `font-lock-warning-face' to
5976 `font-lock-comment-delimiter-face'.
5977 (dired-warn-writable-face): Rename to `dired-perm-write-face'.
5978 (dired-perm-write-face): Rename from `dired-warn-writable-face'.
5979 (dired-font-lock-keywords): Replace `dired-warn-writable-face'
5980 with `dired-perm-write-face'.
5981
5982 2008-03-13 Tassilo Horn <tassilo@member.fsf.org>
5983
5984 * doc-view.el (doc-view-doc->txt, doc-view-convert-current-doc):
5985 Create cache dir only if it doesn't already exist.
5986
5987 2008-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
5988
5989 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Fix handling
5990 of \ and '.
5991
5992 2008-03-13 Johan Bockgård <bojohan@gnu.org>
5993
5994 * net/browse-url.el (browse-url-text-xterm):
5995 Unquote browse-url-text-browser.
5996
5997 2008-03-13 Carsten Dominik <dominik@science.uva.nl>
5998
5999 * textmodes/org-mouse.el: Version number change.
6000
6001 * textmodes/org-publish.el (org-publish-expand-components):
6002 Remove null projects from the list of components.
6003 (org-publish-attachment): Bugfix: handle mandatory argument pub-dir.
6004 Remove unused retrieval of the :publishing-directory property.
6005 (org-publish-file): Bugfix: when using a relative directory as the
6006 publishing directory, convert it to a directory filename.
6007 (org-publish-project): New alias.
6008 (org-publish-get-files): Protect against empty p.
6009 (org-publish-file): Send an error when file is not part of any project.
6010 (org-publish-file): Offer to refresh the list of files in known
6011 project when the current file is not part of any project.
6012 (org-publish-before-export-hook)
6013 (org-publish-after-export-hook): New hooks.
6014 (org-publish-org-to): Use new hooks and kill buffers.
6015 (org-publish-file): Remove the code for killing buffers.
6016 (org-publish-initialize-files-alist): Use interactive.
6017 (org-publish-file): If the publishing function creates a new
6018 buffer, kill it after publishing.
6019 (org-publish-timestamp-filename): Protect ":" in file name path
6020 under windows.
6021
6022 * textmodes/org-export-latex.el (org-export-as-latex): Revert the
6023 change that killed the LaTeX buffer.
6024
6025 * textmodes/org.el (org-ctrl-c-star): Implement a missing branch
6026 in the decision tree.
6027 (org-select-remember-template): Clean the code.
6028 (org-prepare-dblock): Add the extra :content parameter.
6029 (org-write-agenda): New output type ".ics" files.
6030 (org-write-agenda): Call `org-icalendar-verify-function', both for
6031 time stamps and for TODO entries.
6032 (org-agenda-collect-markers, org-create-marker-find-array)
6033 (org-check-agenda-marker-table): New functions.
6034 (org-agenda-marker-table): New variable.
6035 (org-export-as-html): Revert the change that killed the html
6036 buffer. Side effects first need to be studied carefully.
6037 (org-get-tags-at): Fix the structure of the condition-case statement.
6038 (org-ts-regexp0, org-repeat-re, org-display-custom-time)
6039 (org-timestamp-change): Fix regulear expressions to swallow the
6040 extra character for repeat-shift control.
6041 (org-auto-repeat-maybe): Implement the new repeater mechanisms.
6042 (org-get-legal-level): Alias to `org-get-valid-level'.
6043 (org-dblock-write:clocktable): Add a :link parameter, linking
6044 headlines to their location in the Org agenda files.
6045 (org-get-tags-at): Bugfix: prevent `org-back-to-heading' from
6046 throwing an error when getting tags before headlines.
6047 (org-timestamp-change, org-modify-ts-extra)
6048 (org-ts-regexp1): Fix timestamp editing.
6049 (org-agenda-custom-commands-local-options): New constant.
6050 (org-agenda-custom-commands):
6051 Use `org-agenda-custom-commands-local-options' to improve customize
6052 type. "htmlize": Removed hack to fix face problem with htmlize,
6053 it no longer seem necessary.
6054 (org-follow-link-hook): New hook.
6055 (org-agenda-custom-commands): Add "Component" as a tag for each
6056 item in a command serie.
6057 (org-open-at-point): Run `org-follow-link-hook'.
6058 (org-agenda-schedule): Bugfix: don't display marker type when it
6059 is nil.
6060 (org-store-link): org-irc required.
6061 (org-set-regexps-and-options): Parse the new logging options.
6062 (org-extract-log-state-settings): New function.
6063 (org-todo): Handle the new ways of recording state change stuff.
6064 (org-local-logging): New function.
6065 (org-columns-open-link): Fix bug with opening link in column view.
6066 (org-local-logging): New function
6067 (org-todo): Make sure that LOGGING properties are honoured.
6068 (org-todo-keywords): Improve docstring.
6069 (org-startup-options): Cleanup startup options.
6070 (org-set-regexps-and-options): Process the "!" markers.
6071 (org-todo): Respect the new logging stuff.
6072 (org-log-note-how): New variable.
6073 (org-add-log-maybe): New parameter HOW that defines how logging
6074 should be done and also overrides PURPOSE. Add a docstring.
6075 (org-add-log-note): Check if we really need to ask for a note.
6076 (org-get-current-options): Digest the new keyword.
6077 (org-agenda-reset-markers): Rename from
6078 `org-agenda-maybe-reset-markers'. Remove FORCE argument.
6079 (org-diary, org-agenda-quit, org-prepare-agenda): Call the renamed
6080 function, without force argument.
6081 (org-buffer-property-keys): Bind local variables s and p.
6082 (org-make-tags-matcher): Allow "" to match an empty or
6083 non-existent property value.
6084 (org-export-as-html): Join unsorted lists when they directly
6085 follow each other. Such lists may be created by headlines that
6086 are converted to lists.
6087 (org-nofm-to-completion): New function.
6088 (org-export-as-html): Use :html-extension instead of
6089 org-export-html-extension.
6090 (org-store-link): Support for links from `rmail-summary-mode'.
6091 (org-columns-new, org-complete, org-set-property): Set the
6092 `include-columns' argument in the call to
6093 `org-buffer-property-keys'.
6094 (org-buffer-property-keys): New argument `include-columns', to
6095 include properties expected by any of the COLUMS formats in the
6096 current buffer.
6097 (org-cleaned-string-for-export): Get rid of drawers first, so that
6098 they will be removed also in the text before the first headline.
6099 (org-clock-report): Show the clocktable when found.
6100 (org-refile): Fix positioning bug when `org-reverse-note-order' is nil.
6101 (org-version): With prefix argument, insert `org-version' at point.
6102 (org-agenda-goto): Recenter the window after finding the target
6103 location, to make sure the correct position will be displayed.
6104 (org-agenda-get-deadlines): Don't scale priority with the warning
6105 period.
6106 (org-insert-heading): Don't break line in the middle of the line.
6107 (org-agenda-get-deadlines): Allow `org-deadline-warning-days' to
6108 be 0.
6109 (org-update-checkbox-count): Revamp to deal with hierarchical
6110 beckboxes. This was a patch from Miguel A. Figueroa-Villanueva.
6111 (org-remove-timestamp-with-keyword): New function.
6112 (org-schedule, org-deadline):
6113 Use `org-remove-timestamp-with-keyword' to make sure all such time
6114 stamps are removed.
6115 (org-mode): Support for `align'.
6116 (org-agenda-get-deadlines): Make sure priorities increase as the
6117 due date approaches and is passed.
6118 (org-remember-apply-template): Fix problem with tags that
6119 contain "_" or "@".
6120 (org-make-link-regexps): Improve the regular expression for plain links.
6121 (org-agenda-get-closed): List each clocking entry.
6122 (org-set-tags): Only tabify before tags if indent-tabs-mode is t.
6123 (org-special-ctrl-k): New option.
6124 (org-kill-line): New function.
6125 (org-archive-all-done): Fix incorrect number of stars in regexp.
6126 (org-refile-get-location): New function.
6127 (org-refile-goto-last-stored): New function.
6128 (org-global-tags-completion-table): Add the value of org-tag-alist
6129 in each buffer, to make sure that also unused tags will be
6130 available for completion.
6131 (org-columns-edit-value)
6132 (org-columns-next-allowed-value): Only update if not in agenda.
6133 (org-clocktable-steps): New function.
6134 (org-dblock-write:clocktable): Call `org-clocktable-steps'.
6135 (org-archive-subtree): Add the outline tree context as a property.
6136 (org-closest-date): New optional argument `prefer'.
6137 (org-goto-auto-isearch): New option.
6138 (org-goto-map, org-get-location): Implement auto-isearch.
6139 (org-goto-local-auto-isearch-map): New variable.
6140 (org-goto-local-search-forward-headings)
6141 (org-goto-local-auto-isearch): New functions.
6142
6143 2008-03-13 Philip Jackson <emacs@shellarchive.co.uk>
6144
6145 * textmodes/org-irc.el: New file.
6146
6147 2008-03-13 John Wiegley <johnw@gnu.org>
6148
6149 * textmodes/org-mac-message.el: New file.
6150
6151 2008-03-13 Dan Nicolaescu <dann@ics.uci.edu>
6152
6153 * font-lock.el (font-lock-comment-face): Set the foreground for
6154 the light background 8 colors case.
6155
6156 2008-03-13 Glenn Morris <rgm@gnu.org>
6157
6158 * font-lock.el (lisp-font-lock-keywords-1): Support wider range of
6159 generate-autoload-cookie patterns.
6160
6161 * startup.el (command-line-1): Rename -scriptload to -internal-script.
6162
6163 * Makefile.in ($(lisp)/loaddefs.el): Remove this target.
6164 (MH_E_SRC): Remove variable.
6165 ($(lisp)/mh-e/mh-loaddefs.el): Remove $MH_E_SRC dependency.
6166 Simplify file header. Use $@ for generated-autoload-file.
6167
6168 * Makefile.in (LOADDEFS): New variable.
6169 (AUTOGENEL): Use $LOADDEFS.
6170 (autoloads): Remove $(lisp)/loaddefs.el dependency; add $LOADDEFS.
6171 ($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
6172 ($(lisp)/calendar/hol-loaddefs.el): New targets.
6173 * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
6174 * calendar/cal-french.el, calendar/cal-hebrew.el, calendar/cal-html.el:
6175 * calendar/cal-islam.el, calendar/cal-iso.el, calendar/cal-julian.el:
6176 * calendar/cal-mayan.el, calendar/cal-move.el, calendar/cal-persia.el:
6177 * calendar/cal-tex.el, calendar/cal-x.el, calendar/diary-lib.el:
6178 * calendar/holidays.el, calendar/lunar.el, calendar/solar.el:
6179 Add calendar-specific autoload cookies, and remove any setting of
6180 generated-autoload-file.
6181 * calendar/calendar.el: Remove explicit autoloads now in cal-loaddefs.
6182 * calendar/diary-lib.el: Replace explicit autoloads with reading of
6183 diary-loaddefs.
6184 * calendar/holidays.el: Replace explicit autoloads with reading of
6185 hol-loaddefs.
6186
6187 * calendar/calendar.el (cal-hebrew-yahrzeit-buffer): New constant.
6188 (calendar-buffer-list): Simplify.
6189 (generate-calendar-window): Use calendar-mark-holidays rather than
6190 obsolete alias.
6191
6192 * calendar/cal-hebrew.el (list-yahrzeit-dates):
6193 Use cal-hebrew-yahrzeit-buffer.
6194
6195 * calendar/cal-x.el (calendar-only-one-frame-setup)
6196 (calendar-two-frame-setup): Doc fixes.
6197 (special-display-buffer-names): Use cal-hebrew-yahrzeit-buffer.
6198
6199 * calendar/appt.el (appt-mode-string): Mark as risky.
6200 (appt-check): Apply mode-line-emphasis face to appt-mode-string.
6201
6202 * calendar/cal-html.el (diary-list-entries):
6203 * calendar/cal-tex.el (calendar-holiday-list, diary-list-entries)
6204 (calendar-iso-from-absolute): Fix autoloads.
6205
6206 * calendar/cal-iso.el (calendar-absolute-from-iso)
6207 (calendar-iso-read-args): Simplify.
6208 (calendar-iso-date-string, calendar-iso-read-args)
6209 (calendar-goto-iso-date, calendar-goto-iso-week): Doc fixes.
6210
6211 * calendar/cal-julian.el (calendar-julian-from-absolute): Use zerop.
6212 (displayed-month, displayed-year): Move declarations where needed.
6213 (calendar-print-astro-day-number): Doc fix.
6214
6215 * calendar/cal-persia.el (persian-calendar-month-name-array)
6216 (persian-calendar-epoch, calendar-persian-date-string): Doc fixes.
6217 (persian-prompt-for-date): Remove local variable `today'.
6218
6219 * calendar/diary-lib.el (mark-calendar-month): Use zerop.
6220
6221 * calendar/solar.el (solar-moment, solar-exact-local-noon)
6222 (solar-sunrise-sunset, solar-sunrise-sunset-string)
6223 (solar-ephemeris-time, solar-date-next-longitude, solar-sidereal-time)
6224 (diary-sabbath-candles, solar-equinoxes/solstices)
6225 (solar-equinoxes-solstices): Use cadr, cdar, nth, zerop.
6226 (solar-time-equation, solar-date-to-et): Simplify.
6227
6228 * mail/supercite.el: Remove the `function' in `(function (lambda'.
6229 Replace `(car (cdr' with cadr'.
6230
6231 * progmodes/f90.el (f90-font-lock-n): New function.
6232 (f90-font-lock-1, f90-font-lock-2, f90-font-lock-3, f90-font-lock-4):
6233 Use f90-font-lock-n.
6234 (f90-indent-region, f90-indent-subprogram, f90-match-end): Use cadr.
6235
6236 * progmodes/f90.el (f90-mode-abbrev-table):
6237 * progmodes/fortran.el (fortran-mode-abbrev-table):
6238 Use newer form of define-abbrev, where supported. No need to bind
6239 abbrevs-changed for system abbrevs.
6240
6241 2008-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
6242
6243 * term/xterm.el (terminal-init-xterm): delete-frame-hook ->
6244 delete-frame-functions.
6245
6246 * bookmark.el (Info-current-node): Remove.
6247
6248 2008-03-12 Juri Linkov <juri@jurta.org>
6249
6250 * help.el (describe-project): Remove defaliases for view-todo and
6251 describe-project that are now unnecessary after the merge from
6252 emacs--rel--22 that added define-obsolete-function-alias.
6253
6254 * startup.el (inhibit-startup-screen): Revert incomplete
6255 2008-03-10 merge from emacs--rel--22 that partly reverted
6256 2008-02-28 change that added initial message to *scratch* buffer
6257 regardless of the value of `inhibit-startup-screen'.
6258 Now keep this change in the trunk, but not in the 22 branch.
6259
6260 2008-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6261
6262 * international/quail.el (quail-setup-completion-buf, quail-help):
6263 * mail/binhex.el (binhex-decode-region-internal):
6264 * mail/uudecode.el (uudecode-decode-region-internal):
6265 * net/dns.el (dns-read-string-name, dns-read, dns-read-type, query-dns):
6266 * sha1.el (sha1-string-external): Use set-buffer-multibyte rather than
6267 setting default-enable-multibyte-characters.
6268
6269 * emulation/viper-util.el (viper-file-remote-p): Remove, unused.
6270
6271 * comint.el: Fix up indentation and comment style. Remove `function'.
6272
6273 * international/mule-cmds.el (reset-language-environment)
6274 (set-language-environment-nonascii-translation):
6275 Don't set-unibyte-charset.
6276
6277 * doc-view.el: Remove all cb-args, use closures instead.
6278 (doc-view-sentinel): Merge doc-view-dvi->pdf-sentinel,
6279 doc-view-ps->pdf-sentinel, and doc-view-pdf->txt-sentinel (which was
6280 doing an incorrect check). Update all callers to use the new name.
6281 (doc-view-doc->txt): Add missing `txt' argument.
6282
6283 2008-03-12 Tassilo Horn <tassilo@member.fsf.org>
6284
6285 * doc-view.el (doc-view-current-cache-dir): Set buffer used for
6286 md5 sum calculation to single-byte.
6287
6288 2008-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6289
6290 * doc-view.el (doc-view-new-window-function): Add assertion.
6291 (doc-view-doc-type): New var.
6292 (doc-view-convert-current-doc, doc-view-doc->txt): Use it.
6293 (doc-view-intersection): New fun.
6294 (doc-view-mode): Use it to set the new var.
6295
6296 2008-03-12 Tassilo Horn <tassilo@member.fsf.org>
6297
6298 * doc-view.el (doc-view-doc->txt, doc-view-open-text)
6299 (doc-view-already-converted-p): New functions.
6300 (doc-view-clear-cache): Don't recreate doc-view-cache-directory.
6301 (doc-view-mode-map): Bind C-c C-t to doc-view-open-text.
6302 (doc-view-dvi->pdf-sentinel, doc-view-dvi->pdf)
6303 (doc-view-pdf->txt-sentinel, doc-view-pdf->txt)
6304 (doc-view-ps->pdf-sentinel, doc-view-ps->pdf)
6305 (doc-view-convert-current-doc): Don't hardwire the functions the
6306 sentinels call. Now they're provided by two args CALLBACK and
6307 CB-ARGS to the functions.
6308 (doc-view-search): Use doc-view-doc->txt.
6309 (doc-view-initiate-display): Use doc-view-already-converted-p.
6310 Mention new binding C-c C-t if doc-view-mode doesn't work.
6311
6312 2008-03-12 Dan Nicolaescu <dann@ics.uci.edu>
6313
6314 * diff-mode.el (diff-refine-change): Adjust colors to be more visible.
6315
6316 2008-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6317
6318 * textmodes/sgml-mode.el (sgml-font-lock-syntactic-keywords):
6319 Mark " outside of tags as punctuation.
6320
6321 2008-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
6322
6323 * menu-bar.el (minibuffer-local-map): Use the same command for the
6324 "Quit" menu as used for the C-g key, so the shortcut displayed is C-g.
6325 Prefer RET over C-j for exit-minibuffer.
6326
6327 * files.el (display-buffer-other-frame): Eliminate problematic code.
6328
6329 * menu-bar.el (menu-bar-update-buffers-maxbuf): Remove.
6330 (menu-bar-select-buffer): Remove.
6331 (menu-bar-select-frame): Make non-interactive and take a frame arg.
6332 (menu-bar-update-buffers): Don't use buffer-names or frame names as events.
6333
6334 2008-03-11 Juanma Barranquero <lekktu@gmail.com>
6335
6336 * icomplete.el (icomplete-completions): Remove obsolete code.
6337
6338 * net/net-utils.el (iwconfig-program-options): Doc fix.
6339 (net-utils-run-program, run-network-program): Define as functions.
6340
6341 2008-03-11 Dan Nicolaescu <dann@ics.uci.edu>
6342
6343 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map): Fix typo.
6344
6345 2008-03-11 Glenn Morris <rgm@gnu.org>
6346
6347 * faces.el (mode-line-emphasis): New face.
6348 * vc.el (vc-set-mode-line-busy-indicator): Use mode-line-emphasis face.
6349
6350 * calendar/calendar.el (top-level): Load cal-loaddefs when compiling.
6351
6352 2008-03-11 Chong Yidong <cyd@stupidchicken.com>
6353
6354 * simple.el (set-mark-command): Doc fix.
6355
6356 2008-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
6357
6358 * Makefile.in (bootstrap-prepare): Don't chmod cal-loaddefs.el.
6359
6360 * emacs-lisp/autoload.el (autoload-find-destination):
6361 Don't force raw-text.
6362
6363 * calendar/calendar.el ("cal-loaddefs"): Load, rather than require.
6364 * calendar/cal-loaddefs.el: Don't version control.
6365
6366 2008-03-10 Dan Nicolaescu <dann@ics.uci.edu>
6367
6368 * progmodes/make-mode.el (makefile-mode-abbrev-table): Add menu
6369 entries and add :help to the existing ones.
6370
6371 2008-03-10 Glenn Morris <rgm@gnu.org>
6372
6373 * calendar/cal-hebrew.el (date, entry, number): Move declarations
6374 to where they are needed.
6375
6376 * calendar/calendar.el (diary-file, hebrew-holidays-1)
6377 (hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
6378 (calendar, calendar-basic-setup, calendar-mode-map, calendar-set-mark)
6379 (calendar-version): Doc fixes.
6380 (calendar-absolute-from-gregorian): Use zerop.
6381 (calendar-mode-line-format): Make it a defcustom.
6382
6383 * calendar/diary-lib.el (diary-face-attrs): Fix custom :type.
6384 (diary-face-attrs, diary-glob-file-regexp-prefix, diary-unknown-time)
6385 (diary-pull-attrs, diary-header-line-flag, diary-list-entries)
6386 (diary-unhide-everything, include-other-diary-files, diary-goto-entry)
6387 (mark-included-diary-files, mark-calendar-days-named)
6388 (mark-calendar-date-pattern, mark-calendar-month, diary-entry-compare)
6389 (diary-remind, insert-diary-entry, insert-weekly-diary-entry)
6390 (insert-monthly-diary-entry, insert-yearly-diary-entry)
6391 (insert-anniversary-diary-entry, insert-block-diary-entry)
6392 (insert-cyclic-diary-entry, fancy-diary-font-lock-keywords)
6393 (diary-font-lock-sexps): Doc fixes.
6394 (diary-remind-message, mark-calendar-month): Use zerop.
6395 (diary-attrtype-convert, diary-pull-attrs): Simplify.
6396 (diary-list-entries): Revert let to let* (previous change).
6397
6398 * Makefile.in (bootstrap-prepare): Also chmod cal-loaddefs.el.
6399
6400 2008-03-10 Kim F. Storm <storm@cua.dk>
6401
6402 * help.el (view-emacs-todo, describe-gnu-project): Define obsolete
6403 function aliases for the old names.
6404
6405 2008-03-10 Juanma Barranquero <lekktu@gmail.com>
6406
6407 * iswitchb.el (iswitchb-use-faces): Doc fix.
6408 (iswitchb-buffer-ignore, iswitchb-read-buffer):
6409 Fix typos in docstrings.
6410
6411 2008-03-10 Dan Nicolaescu <dann@ics.uci.edu>
6412
6413 * progmodes/verilog-mode.el (verilog-highlight-grouping-keywords):
6414 Fix typo.
6415 (verilog-type-font-keywords): Reindent.
6416
6417 2008-03-10 Michael McNamara <mac@mail.brushroad.com>
6418
6419 * verilog-mode.el (verilog-font-grouping-keywords): Fix bug in the
6420 grouping-keyword regular expression.
6421 (verilog-font-lock-keywords): Allow users to toggle special
6422 highlight of grouping-keywords.
6423 (verilog-highlight-grouping-keywords): The toggle for special
6424 highlighting of grouping keywords.
6425
6426 2008-03-10 Juri Linkov <juri@jurta.org>
6427
6428 * startup.el: Revert 2008-02-28 change that adds initial message
6429 to *scratch* buffer regardless of the value of
6430 `inhibit-startup-screen'.
6431
6432 2008-03-10 Dan Nicolaescu <dann@ics.uci.edu>
6433
6434 * textmodes/css-mode.el (css-indent-offset, css-electric-keys):
6435 * textmodes/bibtex-style.el (bibtex-style-indent-basic):
6436 * progmodes/verilog-mode.el (verilog-mode):
6437 * net/socks.el (socks):
6438 * vc-mtn.el (vc-mtn-mode-line-rewrite): Add :version.
6439
6440 2008-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
6441
6442 * doc-view.el (bookmark-buffer-file-name, bookmark-prop-get): Declare.
6443 (doc-view-bookmark-make-record): Use them.
6444 (doc-view-bookmark-jump): Use them. Fix find-file ->find-file-noselect.
6445 (bookmark-get-filename, bookmark-get-bookmark-record): Remove.
6446
6447 * bookmark.el (bookmark-make-record-function): Change expected return
6448 value to include a suggested bookmark name.
6449 (bookmark-make): Split into bookmark-make-record and bookmark-store.
6450 Fix reversed `overwrite' semantics.
6451 (bookmark-set): Call bookmark-make-record before prompting the user.
6452 Then pass the result to bookmark-store later on.
6453 (bookmark-make-name-function): Remove.
6454 (bookmark-buffer-file-name, bookmark-buffer-name): Don't use it.
6455 * info.el (bookmark-make-name-function): Remove.
6456 (Info-mode): Don't set it.
6457 (Info-bookmark-make-name): Remove.
6458 (Info-bookmark-make-record): Use Info-current-node as suggested default
6459 bookmark name.
6460
6461 * bookmark.el (bookmark-set): Make bookmark before reading annotations.
6462 I.e. use bookmark-edit-annotation rather than bookmark-read-annotation.
6463 (bookmark-read-annotation-mode-map, bookmark-annotation-paragraph)
6464 (bookmark-annotation-buffer, bookmark-annotation-file)
6465 (bookmark-annotation-point, bookmark-send-annotation)
6466 (bookmark-read-annotation-mode, bookmark-read-annotation): Remove.
6467 (bookmark-edit-annotation-text-func): Rename from
6468 bookmark-read-annotation-text-func. Keep old name as an obsolete alias.
6469 (bookmark-edit-annotation-mode-map): Move initialization into
6470 declaration.
6471
6472 * bookmark.el: Remove spurious * in docstrings.
6473 (bookmark-minibuffer-read-name-map): New var.
6474 (bookmark-set): Use it. Also pass the default value as it should.
6475 (bookmark-send-edited-annotation): Take no chances with text properties.
6476 (bookmark-insert-current-bookmark): Inline bookmark-insert-buffer-name.
6477 (bookmark-insert-buffer-name): Remove.
6478 (bookmark-buffer-file-name): Signal an error rather than returning nil.
6479
6480 2008-03-09 Thomas Hühn <xf27@arcor.de> (tiny change)
6481
6482 * tutorial.el (tutorial--default-keys): Update `C-l' binding.
6483
6484 2008-03-09 Dan Nicolaescu <dann@ics.uci.edu>
6485
6486 * diff-mode.el (diff-mode-menu): Add :help.
6487
6488 2008-03-09 Glenn Morris <rgm@gnu.org>
6489
6490 * calendar/calendar.el (general-holidays, oriental-holidays)
6491 (local-holidays, other-holidays, hebrew-holidays-1, hebrew-holidays-2)
6492 (hebrew-holidays-3, hebrew-holidays-4, hebrew-holidays)
6493 (christian-holidays, islamic-holidays, bahai-holidays, solar-holidays)
6494 (calendar-holidays): Restore autoload cookies, because people are
6495 used to using these variables without loading calendar.el.
6496
6497 * calendar/cal-islam.el (diary-islamic-date): Move to end.
6498 (date, number): Declare where needed.
6499
6500 * calendar/diary-lib.el (nongregorian-diary-marking-hook)
6501 (list-sexp-diary-entries): Doc fixes.
6502 (diary-list-entries): Doc fix. Remove free variable `entry'.
6503 (fancy-diary-display): Use dolist, bobp. Remove free variable `entry'.
6504 Simplify setting of `date-holiday-list'.
6505 (mark-diary-entries): Remove free variable `entry'.
6506 (diary-list-entries, include-other-diary-files, fancy-diary-display):
6507 Use let where let* is not needed.
6508
6509 2008-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
6510
6511 * bookmark.el (bookmark-make): Don't pass the `annotation' to the
6512 make-record function, instead paste it in afterwards.
6513 (bookmark-make-record-for-text-file):
6514 * doc-view.el (doc-view-bookmark-make-record):
6515 * info.el (Info-bookmark-make-record): Don't mess with annotations.
6516
6517 2008-03-08 Glenn Morris <rgm@gnu.org>
6518
6519 * calendar/diary-lib.el (entry): Declare for compiler part-way through.
6520
6521 2008-03-08 Stefan Monnier <monnier@iro.umontreal.ca>
6522
6523 * calendar/diary-lib.el (diary-list-entries)
6524 (include-other-diary-files, mark-diary-entries)
6525 (mark-sexp-diary-entries, mark-included-diary-files)
6526 (diary-entry-time, list-sexp-diary-entries): Remove the special
6527 handling of ^M that dates back to the use of selective-display.
6528 (simple-diary-display): Obey setting of pop-up-frames.
6529 (body, entry): Remove unnecessary declarations.
6530
6531 * bookmark.el (bookmark-prop-get, bookmark-prop-set): New funs.
6532 (bookmark-get-annotation, bookmark-set-annotation)
6533 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
6534 (bookmark-set-position, bookmark-get-front-context-string)
6535 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
6536 (bookmark-set-rear-context-string, bookmark-get-handler): Use them.
6537 * info.el (Info-bookmark-make-record): Don't bother recording point.
6538 (bookmark-get-filename, bookmark-get-front-context-string)
6539 (bookmark-get-rear-context-string, bookmark-get-position):
6540 Don't declare any more.
6541 (bookmark-get-info-node): Remove.
6542 (bookmark-prop-get): Declare.
6543 (Info-bookmark-jump): Use it.
6544
6545 2008-03-08 Johan Bockgård <bojohan@gnu.org>
6546
6547 * subr.el (while-no-input): Don't splice BODY directly into the
6548 `or' form.
6549
6550 2008-03-08 Dan Nicolaescu <dann@ics.uci.edu>
6551
6552 * diff-mode.el (diff-ignore-whitespace-hunk):
6553 Bind inhibit-read-only before trying to change the buffer.
6554
6555 2008-03-08 Glenn Morris <rgm@gnu.org>
6556
6557 * calendar/appt.el (appt): Move custom group here from calendar.el.
6558 (appt-disp-window, appt-convert-time): Doc fixes.
6559
6560 * calendar/cal-bahai.el (calendar-bahai-prompt-for-date)
6561 (calendar-bahai-mark-date-pattern):
6562 * calendar/cal-hebrew.el (mark-hebrew-calendar-date-pattern):
6563 * calendar/cal-islam.el (mark-islamic-calendar-date-pattern):
6564 * calendar/cal-julian.el (calendar-absolute-from-julian):
6565 * calendar/cal-persia.el (persian-prompt-for-date): Use zerop.
6566
6567 * calendar/cal-china.el (chinese-calendar): Move custom group here from
6568 calendar.el.
6569 (chinese-calendar-celestial-stem, chinese-calendar-terrestrial-branch):
6570 Make constants.
6571 (chinese-calendar-time-zone, chinese-calendar-daylight-time-offset)
6572 (chinese-calendar-daylight-savings-starts)
6573 (chinese-calendar-daylight-savings-ends)
6574 (chinese-calendar-daylight-savings-starts-time)
6575 (chinese-calendar-daylight-savings-ends-time)
6576 (chinese-zodiac-sign-on-or-after, chinese-new-moon-on-or-after):
6577 Doc fixes.
6578
6579 * calendar/cal-coptic.el (coptic-name): Add doc string.
6580
6581 * calendar/cal-french.el (french-calendar-month-name-array)
6582 (french-calendar-day-name-array, french-calendar-special-days-array):
6583 Add doc strings.
6584
6585 * calendar/cal-bahai.el (diary-bahai-mark-entries)
6586 (diary-bahai-insert-entry, diary-bahai-insert-monthly-entry)
6587 (diary-bahai-insert-yearly-entry):
6588 * calendar/cal-dst.el (calendar-next-time-zone-transition)
6589 (calendar-time-zone):
6590 * calendar/cal-hebrew.el (hebrew-calendar-leap-year-p)
6591 (hebrew-calendar-elapsed-days, hebrew-calendar-long-heshvan-p)
6592 (hebrew-calendar-short-kislev-p, mark-hebrew-diary-entries)
6593 (insert-hebrew-diary-entry, insert-monthly-hebrew-diary-entry)
6594 (insert-yearly-hebrew-diary-entry, diary-yahrzeit):
6595 * calendar/cal-islam.el (islamic-calendar-leap-year-p)
6596 (list-islamic-diary-entries, mark-islamic-diary-entries)
6597 (insert-islamic-diary-entry, insert-monthly-islamic-diary-entry)
6598 (insert-yearly-islamic-diary-entry):
6599 * calendar/cal-iso.el (calendar-iso-read-args):
6600 * calendar/cal-mayan.el (calendar-string-to-mayan-long-count)
6601 (calendar-mayan-haab-to-string, calendar-mayan-tzolkin-to-string)
6602 (calendar-read-mayan-haab-date, calendar-read-mayan-tzolkin-date)
6603 (calendar-next-calendar-round-date)
6604 (calendar-mayan-long-count-common-era):
6605 * calendar/cal-menu.el (cal-menu-holiday-window-suffix)
6606 (cal-menu-x-popup-menu, calendar-mouse-holidays)
6607 (calendar-mouse-view-diary-entries, calendar-mouse-print-dates)
6608 (calendar-mouse-goto-date):
6609 * calendar/cal-move.el (calendar-scroll-left, calendar-scroll-right):
6610 * calendar/holidays.el (holidays):
6611 * calendar/lunar.el (phases-of-moon, lunar-new-moon-on-or-after):
6612 * calendar/time-date.el (date-to-time, time-subtract, time-add)
6613 (safe-date-to-time): Doc fixes.
6614
6615 * calendar/cal-persia.el (persian-calendar-month-name-array)
6616 (persian-calendar-epoch): Make constants.
6617
6618 * calendar/cal-tex.el (calendar-tex): Move custom group here from
6619 calendar.el.
6620
6621 * calendar/cal-x.el (diary-frame-parameters)
6622 (calendar-frame-parameters, calendar-and-diary-frame-parameters)
6623 (calendar-after-frame-setup-hooks): Make defcustoms.
6624 (calendar-one-frame-setup, calendar-only-one-frame-setup)
6625 (calendar-two-frame-setup): Doc fix.
6626
6627 * calendar/cal-loaddefs.el: New file.
6628
6629 * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
6630 * calendar/cal-french.el, calendar/cal-html.el:
6631 * calendar/cal-islam.el, calendar/cal-iso.el, calendar/cal-julian.el:
6632 * calendar/cal-mayan.el, calendar/cal-move.el, calendar/cal-persia.el:
6633 * calendar/cal-tex.el, calendar/cal-x.el:
6634 Unquote lambda functions. Add autoload cookies to functions formerly
6635 autoloaded in calendar.el. Set `generated-autoload-file' to
6636 "cal-loaddefs.el".
6637
6638 * calendar/calendar.el: Move many autoloads to separate file,
6639 cal-loaddefs.el. Move defcustoms to start and re-order.
6640 (calendar-month-name-array, calendar-starred-day): No need to
6641 declare for compiler.
6642 (cal-loaddefs): Require it.
6643 (appt, chinese-calendar, calendar-tex): Move custom groups to the
6644 appropriate file.
6645 (diary-entry-marker, calendar-today-marker, calendar-holiday-marker):
6646 Reverse logic.
6647 (diary-face, diary-file-name-prefix-function, diary-include-string)
6648 (diary-glob-file-regexp-prefix, diary-face-attrs)
6649 (diary-file-name-prefix, sexp-diary-entry-symbol)
6650 (print-diary-entries-hook, list-diary-entries-hook)
6651 (nongregorian-diary-listing-hook, mark-diary-entries-hook)
6652 (nongregorian-diary-marking-hook, diary-list-include-blanks):
6653 Move to diary-lib.
6654 (all-christian-calendar-holidays, all-islamic-calendar-holidays)
6655 (all-bahai-calendar-holidays): Doc fix.
6656 (calendar-insert-indented): Doc fix. Use when rather than if.
6657 (exit-calendar): Use mapc rather than mapcar.
6658 (calendar-cursor-to-date): Use zerop.
6659 (calendar-mark-ring): Add doc-string.
6660 (calendar-starred-day): Defvar it.
6661 (calendar-mode): Make calendar-starred-day local.
6662 (calendar-star-date): No need to make calendar-starred-day local.
6663
6664 * calendar/diary-lib.el: Move defcustoms to start.
6665 (diary-include-string, diary-list-include-blanks)
6666 (diary-glob-file-regexp-prefix, diary-face, diary-face-attrs)
6667 (diary-file-name-prefix, diary-file-name-prefix-function)
6668 (sexp-diary-entry-symbol, list-diary-entries-hook)
6669 (mark-diary-entries-hook, nongregorian-diary-listing-hook)
6670 (nongregorian-diary-marking-hook, print-diary-entries-hook):
6671 Move here from calendar.el.
6672 (diary-file-name-prefix-function): Use 'identity.
6673 (diary-face): Make it a defcustom, and mark as obsolete.
6674 (top-level): No need to require cal-hebrew, cal-islam when compiling.
6675 (calendar-hebrew-month-name-array-leap-year)
6676 (calendar-islamic-month-name-array, calendar-bahai-month-name-array):
6677 Define for compiler.
6678 (diary-font-lock-keywords): Use format rather than concat.
6679 Add bahai-diary-entry-symbol.
6680
6681 * calendar/cal-hebrew.el, calendar/holidays.el, calendar/lunar.el:
6682 * calendar/solar.el: Unquote lambda functions.
6683
6684 * calendar/solar.el (calendar-location-name, calendar-latitude)
6685 (calendar-longitude, solar-setup, solar-sin-degrees)
6686 (solar-cosine-degrees, solar-tangent-degrees, solar-xy-to-quadrant)
6687 (solar-degrees-to-quadrant, solar-atn2, solar-arccos)
6688 (solar-sunrise-and-sunset, solar-moment, solar-daylight)
6689 (solar-exact-local-noon, solar-julian-ut-centuries)
6690 (solar-ephemeris-time, solar-date-next-longitude)
6691 (solar-horizontal-coordinates, solar-equatorial-coordinates)
6692 (solar-ecliptic-coordinates, solar-data-list, solar-longitude)
6693 (solar-ephemeris-correction, solar-sidereal-time, solar-date-to-et)
6694 (sunrise-sunset, solar-seasons-data, solar-equinoxes/solstices):
6695 Doc fixes.
6696 (solar-horizontal-coordinates, solar-equatorial-coordinates)
6697 (solar-ecliptic-coordinates): Rename argument `for-sunrise-sunset'.
6698 (solar-ecliptic-coordinates): Use unless.
6699 (calendar-sunrise-sunset, diary-sunrise-sunset, diary-sabbath-candles):
6700 Use or.
6701
6702 * calendar/timeclock.el: Add doc-strings to all functions.
6703 (timeclock-workday, timeclock-in, timeclock-completing-read): Doc fixes.
6704 (timeclock-entry-list-length, timeclock-entry-list-projects)
6705 (timeclock-day-list-projects, timeclock-day-list): Use dolist.
6706
6707 * calendar/todo-mode.el: Remove un-needed eval-when-compile.
6708
6709 * textmodes/org.el (list-diary-entries-hook): Declare for compiler.
6710 (org-get-entries-from-diary): Require diary-lib.
6711
6712 2008-03-08 Juanma Barranquero <lekktu@gmail.com>
6713
6714 * info.el (bookmark-make-name-function, bookmark-get-bookmark-record):
6715 Pacify byte-compiler.
6716
6717 2008-03-07 Alan Mackenzie <acm@muc.de>
6718
6719 * progmodes/cc-engine.el (c-in-knr-argdecl): Limit number of
6720 paren/bracket pairs parsed, to solve performance problem.
6721
6722 2008-03-07 Bastien Guerry <bzg@altern.org>
6723
6724 * bookmark.el (bookmark-set): Don't check for
6725 `bookmark-make-name-function' since `bookmark-buffer-file-name'
6726 already takes care of this.
6727 (bookmark-buffer-name, bookmark-buffer-file-name):
6728 Remove Info-mode specific code.
6729
6730 * info.el (bookmark-get-info-node): Define this function in
6731 info.el, not in bookmark.el.
6732 (Info-mode): Set `bookmark-make-name-function' to
6733 `Info-bookmark-make-name' locally.
6734 (Info-bookmark-make-name): New function.
6735
6736 * bookmark.el (bookmark-make-name-function): New variable.
6737
6738 2008-03-07 Karl Fogel <kfogel@red-bean.com>
6739
6740 * bookmark.el (bookmark-set): Make `bookmark-make-record-function'
6741 buffer-local, not `bookmark-make-cell-function' (the old name).
6742
6743 2008-03-07 Tassilo Horn <tassilo@member.fsf.org>
6744
6745 * doc-view.el (doc-view-bookmark-make-record):
6746 * image-mode.el (image-bookmark-make-record):
6747 * info.el (Info-bookmark-make-record): Delete obsolete second arg.
6748
6749 2008-03-07 Jan Djärv <jan.h.d@swipnet.se>
6750
6751 * vc.el (vc-status-menu-map-filter): Return orig-binding if
6752 boundp 'vc-ignore-menu-filter.
6753 (vc-status-tool-bar-map): Make it defvar.
6754 (vc-status-mode): vc-status-tool-bar-map now variable.
6755 (vc-status-toggle-mark): toggle-mark-file => vc-status-toggle-mark-file.
6756
6757 2008-03-07 Karl Fogel <kfogel@red-bean.com>
6758
6759 Give a better name to part of the bookmark interface.
6760
6761 This was originally a much larger change, but halfway through I
6762 updated and discovered that Stefan Monnier had done the rest.
6763 It looks like he anticipated the new name too, because he used
6764 `the-record' instead of `the-cell' for some internal variable names.
6765
6766 * bookmark.el (bookmark-make-record-function): Was
6767 `bookmark-make-cell-function'.
6768 (bookmark-make, bookmark-send-annotation): Update for above.
6769 (bookmark-make-record-for-text-file):
6770 Was `bookmark-make-cell-for-text-file'. Fix doc string re 2008-03-07T05:00:18Z!monnier@iro.umontreal.ca.
6771
6772 * info.el: Adjust accordingly.
6773 (Info-bookmark-make-record): Was `Info-bookmark-make-cell'.
6774
6775 * image-mode.el: Adjust accordingly.
6776 (image-bookmark-make-record): Was `image-bookmark-make-cell'.
6777
6778 * doc-view.el: Adjust accordingly.
6779 (doc-view-bookmark-make-record): Was `doc-view-bookmark-make-cell'.
6780
6781 2008-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
6782
6783 * bookmark.el (bookmark-map, bookmark-read-annotation-mode-map):
6784 Move initialization into declaration.
6785 (bookmark-get-info-node, bookmark-set-info-node): Remove.
6786 (bookmark-make, bookmark-make-cell-for-text-file): Remove info-node arg.
6787 (bookmark-info-current-node): Remove.
6788 (bookmark-jump-noselect): Rename from bookmark-jump-internal.
6789 Add relocation fallback. Set bookmark-current-bookmark.
6790 (bookmark-default-handler): Rename from bookmark-jump-noselect.
6791 Remove relocation fallback. Don't set bookmark-current-bookmark.
6792 (bookmark-set): Let it be used even if there's no buffer-file-name
6793 as long as there is a bookmark-make-cell-function.
6794 * info.el (Info-bookmark-jump): Remove relocation fallback.
6795 Don't set bookmark-current-bookmark.
6796
6797 2008-03-07 Glenn Morris <rgm@gnu.org>
6798
6799 * calendar/appt.el (appt-issue-message)
6800 (appt-message-warning-time, appt-audible, appt-visible)
6801 (appt-msg-window, appt-display-mode-line, appt-display-duration)
6802 (appt-display-diary): Remove autoload cookies.
6803
6804 * calendar/cal-china.el, calendar/timeclock.el, calendar/todo-mode.el:
6805 Remove leading `*' from defcustom doc-strings.
6806
6807 * calendar/cal-dst.el (calendar-dst): New custom group.
6808 (calendar-daylight-savings-starts, calendar-daylight-savings-ends)
6809 (calendar-time-zone, calendar-daylight-time-offset)
6810 (calendar-standard-time-zone-name, calendar-daylight-time-zone-name)
6811 (calendar-daylight-savings-starts-time)
6812 (calendar-daylight-savings-ends-time): Convert from defvar to defcustom.
6813 (calendar-daylight-savings-starts, calendar-daylight-savings-ends):
6814 Move to start.
6815
6816 * calendar/cal-menu.el (holidays-in-diary-buffer): Declare for compiler.
6817
6818 * calendar/calendar.el (calendar-version): Use emacs-version and
6819 make it obsolete. Move to end.
6820 (calendar-offset, view-diary-entries-initially)
6821 (mark-diary-entries-in-calendar, calendar-remove-frame-by-deleting)
6822 (view-calendar-holidays-initially, all-hebrew-calendar-holidays)
6823 (all-christian-calendar-holidays, all-islamic-calendar-holidays)
6824 (all-bahai-calendar-holidays, calendar-load-hook)
6825 (initial-calendar-window-hook, today-visible-calendar-hook)
6826 (today-invisible-calendar-hook, calendar-move-hook)
6827 (diary-nonmarking-symbol, hebrew-diary-entry-symbol)
6828 (islamic-diary-entry-symbol, bahai-diary-entry-symbol)
6829 (diary-include-string, sexp-diary-entry-symbol)
6830 (abbreviated-calendar-year, american-date-diary-pattern)
6831 (european-date-diary-pattern, european-calendar-display-form)
6832 (american-calendar-display-form, print-diary-entries-hook)
6833 (list-diary-entries-hook, diary-hook, diary-display-hook)
6834 (nongregorian-diary-listing-hook, mark-diary-entries-hook)
6835 (nongregorian-diary-marking-hook, diary-list-include-blanks)
6836 (holidays-in-diary-buffer, general-holidays, oriental-holidays)
6837 (local-holidays, other-holidays, hebrew-holidays-1)
6838 (hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
6839 (hebrew-holidays, christian-holidays, islamic-holidays)
6840 (bahai-holidays, solar-holidays, calendar-setup)
6841 (calendar-week-start-day): Remove autoload cookies.
6842 (diary-glob-file-regexp-prefix): Doc fix.
6843 (calendar-goto-info-node): Use `info' rather than `Info-find-node'.
6844 (Info-find-emacs-command-nodes, Info-find-node): Remove declarations.
6845 (calendar-week-start-day, calendar-debug-sexp): Move to start.
6846
6847 * calendar/solar.el: Remove leading `*' from defcustom doc-strings.
6848 (calendar-time-display-form, calendar-latitude)
6849 (calendar-longitude, solar-equinoxes-solstices): Remove autoload
6850 cookies.
6851 (calendar-latitude, calendar-longitude): Move functions after
6852 variables.
6853 (diary-sabbath-candles-minutes): Move to start.
6854 (solar-setup): Use or rather than if.
6855 (solar-sin-degrees, solar-cosine-degrees, solar-tangent-degrees):
6856 Remove condition-case.
6857 (solar-atn2): Use zerop.
6858 (solar-equinoxes-solstices): Doc fix.
6859
6860 * mail/supercite.el: Remove leading `*' from defcustom doc-strings.
6861 (sc-mode-map-prefix): Doc fix. Make it a defcustom.
6862
6863 * textmodes/org.el (org-agenda-sunrise-sunset): Require solar.
6864 (calendar-longitude, calendar-latitude, calendar-location-name):
6865 Declare for compiler.
6866
6867 2008-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
6868
6869 * arc-mode.el (archive-ar-file-header-re): New const.
6870 (archive-ar-summarize, archive-ar-extract): New funs.
6871 (archive-find-type): Recognize ar archives.
6872
6873 * vc-bzr.el (vc-bzr-resolve-when-done, vc-bzr-find-file-hook):
6874 New functions.
6875
6876 * info.el (Info-bookmark-make-cell): Don't use the info-node argument.
6877
6878 2008-03-06 Lennart Borgman <lennart.borgman@gmail.com>
6879
6880 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
6881 Replace :enable (mark-active) with :enable mark-active.
6882
6883 2008-03-06 Juanma Barranquero <lekktu@gmail.com>
6884
6885 * vms-patch.el (make-legal-file-name): New obsolete alias.
6886 (make-valid-file-name): Rename from `make-legal-file-name'.
6887 (make-auto-save-file-name): Use it.
6888
6889 * calendar/calendar.el (calendar-date-is-legal-p): New obsolete alias.
6890 (calendar-date-is-valid-p): Rename from `calendar-date-is-legal-p'.
6891 (calendar-date-is-visible-p, mark-visible-calendar-date): Use it.
6892
6893 * textmodes/org.el (org-export-html-style): Doc fix.
6894 (org-get-legal-level): New obsolete alias.
6895 (org-get-valid-level): Rename from `org-get-legal-level'.
6896 (org-promote, org-demote, org-archive-subtree)
6897 (org-remember-handler, org-refile, org-put-clock-overlay): Use it.
6898
6899 2008-03-06 Jan Djärv <jan.h.d@swipnet.se>
6900
6901 * term/x-win.el (x-gtk-stock-map): Add bookmark_add.
6902
6903 * vc.el (vc-status-tool-bar-map, vc-status-toggle-mark-file)
6904 (vc-status-toggle-mark): New functions.
6905 (vc-status-mode): Set tool bar map.
6906
6907 2008-03-05 Chong Yidong <cyd@stupidchicken.com>
6908
6909 * emacs-lisp/lisp.el (parens-require-spaces): Doc fix.
6910 Reported by Drew Adams <drew.adams@oracle.com>.
6911
6912 2008-03-05 Kenichi Handa <handa@ni.aist.go.jp>
6913
6914 * subr.el (read-quoted-char): Resolve modifers of the character
6915 event.
6916
6917 * comint.el (comint-exec-1): Don't change the coding-system for
6918 decoding to dos-like EOL.
6919 (comint-carriage-motion): Fully rewrite.
6920
6921 2008-03-05 Juanma Barranquero <lekktu@gmail.com>
6922
6923 * epg.el (epg-context-include-certs): Reflow docstring.
6924 (epg-start-sign-keys, epg-sign-keys, epg-context-armor)
6925 (epg-context-signers, epg-context-sig-notations, epg-context-set-armor)
6926 (epg-context-set-signers, epg-context-set-sig-notations)
6927 (epg-make-import-status, epg-make-import-result)
6928 (epg-start-delete-keys): Fix typos in docstrings.
6929 (epg-start-sign-keys, epg-sign-keys):
6930 Fix typos in obsolescence declarations.
6931
6932 * iswitchb.el: Don't check for `cadr' and `last'.
6933 (iswitchb-define-mode-map, iswitchb-default-keybindings):
6934 Add obsolescence declaration and remove redundant info from docstring.
6935 (iswitchb-set-common-completion, iswitchb-set-matches)
6936 (iswitchb-get-matched-buffers, iswitchb-visit-buffer): Use `let'.
6937 (recentf-list, most-len, most-is-exact):
6938 Don't wrap defvars within `eval-when-compile'.
6939
6940 2008-03-05 Glenn Morris <rgm@gnu.org>
6941
6942 * ediff-hook.el (ediff-cond-compile-for-xemacs-or-emacs): Remove.
6943 * ediff-init.el (ediff-cond-compile-for-xemacs-or-emacs): Remove.
6944 * ediff-diff.el, ediff-help.el, ediff-hook.el, ediff-init.el:
6945 * ediff-mult.el, ediff-util.el, ediff-wind.el: Expand all
6946 ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
6947
6948 * ediff-hook.el (ediff-window-setup-function): Don't autoload
6949 declaration for compiler.
6950 (ediff-xemacs-init-menus): Use when rather than if.
6951
6952 * ediff-init.el (top-level, ediff-frame-iconified-p): Simplify
6953 if+and to just and.
6954 (ediff-read-event, ediff-overlayp, ediff-make-overlay)
6955 (ediff-delete-overlay): Move the XEmacs test inside the definition.
6956
6957 * ediff-mult.el (ediff-get-meta-info): Use or and unless rather than if.
6958
6959 * ediff-util.el (ediff-kill-bottom-toolbar): Place (ediff-use-toolbar-p)
6960 test inside XEmacs test.
6961 (ediff-make-bottom-toolbar): Place whole cond inside XEmacs test,
6962 since it was doing nothing on Emacs.
6963 (ediff-make-bullet-proof-overlay): Use when rather than if.
6964
6965 * ediff-wind.el (ediff-select-lowest-window): Use when rather than if.
6966 (ediff-setup-control-frame): Remove
6967 ediff-cond-compile-for-xemacs-or-emacs, since it is already inside
6968 a (featurep 'xemacs) test.
6969
6970 2008-03-05 Jay Belanger <jay.p.belanger@gmail.com>
6971
6972 * calc/calc-ext.el (calc-extended-command-history): New variable.
6973 (calc-exectute-extended-command): Use `calc-extended-command-history'.
6974
6975 2008-03-05 Dan Nicolaescu <dann@ics.uci.edu>
6976
6977 * bindings.el (mode-line-remote): Add mouse-face. Improve tooltip.
6978 (standard-mode-line-position): Add mouse-face.
6979
6980 * progmodes/compile.el (compilation-menu-map, compilation-mode-map):
6981 * progmodes/grep.el (grep-mode-map): Add :help.
6982
6983 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Define and
6984 initialize in one step. Add :help. Use :enable to activate menu
6985 items. Show the key binding for edebug-defun.
6986 (lisp-interaction-mode-map): Add a menu.
6987
6988 * term.el (term-mode-map): Define and initialize in one step.
6989
6990 * ediff-init.el (ediff-color-display-p): Simplify.
6991 (Xor): Remove unused function.
6992 (ediff-with-syntax-table): Simplify for Emacs.
6993
6994 * ediff-hook.el (menu-bar-ediff-menu): Don't depend on the
6995 menu-bar being loaded, it always is.
6996
6997 2008-03-05 Glenn Morris <rgm@gnu.org>
6998
6999 * textmodes/tex-mode.el (tex-mode): Suppress warning about
7000 multiple definitions when compiling.
7001
7002 2008-03-04 Alan Mackenzie <acm@muc.de>
7003
7004 * progmodes/cc-mode.el (c-neutralize-syntax-in-CPP): Fix coding bug.
7005
7006 * progmodes/cc-langs.el (c-before-font-lock-function): Fix bug in
7007 doc-string, "c-old-LEN" -> "c-old-END".
7008
7009 2008-03-04 Jason Rumney <jasonr@gnu.org>
7010
7011 * nxml/rng-nxml.el (rng-preferred-prefix-alist): Add dublin core
7012 namespaces.
7013
7014 2008-03-04 Glenn Morris <rgm@gnu.org>
7015
7016 * textmodes/tex-mode.el (tex-cmd-bibtex-args): Add :version and :group.
7017
7018 * ediff-init.el (ediff-clear-fine-diff-vector): Use mapc rather
7019 than mapcar.
7020
7021 2008-03-03 Stefan Monnier <monnier@iro.umontreal.ca>
7022
7023 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
7024 (byte-compile-nilconstp): Can't use recursion in a defsubst.
7025
7026 * textmodes/tex-mode.el (latex-mode): Remove % from paragraph-separate
7027 so that M-q can fill comments.
7028 (tex-executable-exists-p, tex-compile): Extend with special syntax for
7029 commands implemented in elisp.
7030 (tex-compile-commands): Add an entry to use doc-view for pdf files.
7031 (tex-format-cmd): New function.
7032 (tex-compile): Use it to let the user specify default arguments.
7033 (tex-cmd-bibtex-args): New var.
7034 (tex-cmd-doc-view): New function.
7035
7036 2008-03-03 Juanma Barranquero <lekktu@gmail.com>
7037
7038 * faces.el (face-spec-set): Fix typos in docstring.
7039
7040 2008-03-03 Dan Nicolaescu <dann@ics.uci.edu>
7041
7042 * bindings.el (mode-line-column-line-number-mode-map): New variable.
7043 (standard-mode-line-position): Use it to add a menu for toggling
7044 column number and line number display.
7045
7046 2008-03-03 Stefan Monnier <monnier@iro.umontreal.ca>
7047
7048 * emacs-lisp/bytecomp.el (byte-compile-maybe-guarded):
7049 Remove optimization that was working around the form-code-walker bug.
7050
7051 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7052 Walk into the body of lambdas after byte-compile-unfold-lambda.
7053
7054 2008-03-03 Glenn Morris <rgm@gnu.org>
7055
7056 * emulation/viper-util.el (viper-frame-value): Prefer buffer-local
7057 value, if set, over frame value.
7058
7059 * simple.el (transient-mark-mode): Don't turn on by default.
7060
7061 * net/tls.el (open-tls-stream): Restore the 2007-11-04 change
7062 accidentally removed by the 2007-12-05 merge from Gnus.
7063
7064 2008-03-02 Dan Nicolaescu <dann@ics.uci.edu>
7065
7066 * progmodes/compile.el (compilation-menu-map): Add menu entries
7067 for useful options.
7068
7069 2008-03-01 Dan Nicolaescu <dann@ics.uci.edu>
7070 Glenn Morris <rgm@gnu.org>
7071
7072 * emacs-lisp/bytecomp.el (byte-recompile-directory)
7073 (byte-compile-file, batch-byte-compile, batch-byte-compile-file):
7074 Give a `bytecomp-' prefix to local variables with common names.
7075
7076 2008-03-01 Glenn Morris <rgm@gnu.org>
7077
7078 * emacs-lisp/bytecomp.el (byte-compile-maybe-guarded): Restore
7079 code commented out 2007-11-10.
7080
7081 * emulation/edt.el (zmacs-region-stays): Define for compiler once only.
7082
7083 * emulation/viper-init.el (viper-cond-compile-for-xemacs-or-emacs):
7084 Delete macro.
7085 * emulation/viper-cmd.el, emulation/viper-ex.el:
7086 * emulation/viper-init.el, emulation/viper-keym.el:
7087 * emulation/viper-mous.el, emulation/viper-util.el:
7088 * emulation/viper.el:
7089 Expand all viper-cond-compile-for-xemacs-or-emacs calls to a
7090 featurep test.
7091
7092 Replace obselete frame-local variables with frame-parameters.
7093 * emulation/viper-init.el (viper-replace-overlay-cursor-color)
7094 (viper-insert-state-cursor-color, viper-emacs-state-cursor-color)
7095 (viper-vi-state-cursor-color): Only call make-variable-frame-local
7096 on XEmacs.
7097 * emulation/viper-util.el (viper-frame-value): New macro.
7098 * emulation/viper-cmd.el (viper-insert-state-post-command-sentinel)
7099 (viper-R-state-post-command-sentinel)
7100 (viper-replace-state-post-command-sentinel)
7101 (viper-change-state-to-insert, viper-change-state-to-emacs):
7102 * emulation/viper-util.el (viper-set-cursor-color-according-to-state)
7103 (viper-save-cursor-color, viper-get-saved-cursor-color-in-replace-mode)
7104 (viper-get-saved-cursor-color-in-insert-mode)
7105 (viper-get-saved-cursor-color-in-emacs-mode, viper-set-replace-overlay):
7106 Use viper-frame-value for viper-replace-overlay-cursor-color,
7107 viper-emacs-state-cursor-color, viper-insert-state-cursor-color, and
7108 viper-vi-state-cursor-color values.
7109
7110 * emulation/viper-cmd.el (zmacs-region-stays):
7111 * emulation/viper-util.el (zmacs-region-stays): No need to define
7112 for compiler.
7113
7114 * emulation/viper-keym.el (viper-add-keymap): Use mapc rather than
7115 mapcar on Emacs.
7116
7117 * emulation/viper-mous.el (viper-counting-clicks-p): Only define
7118 on XEmacs.
7119
7120 * emulation/viper-util.el (viper-set-minibuffer-overlay): Use when
7121 rather than if.
7122
7123 2008-03-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7124
7125 * whitespace.el: New version 9.3. As the glyph code generation was
7126 fixed, it is possible now to use character code above ?\x1FFFF in the
7127 display table. Fix `whitespace-indentation-regexp' to not include an
7128 extra ending character. Reported by Michael Welsh Duggan
7129 <mwd@cert.org>. Added hook actions when buffer is written or killed as
7130 the original whitespace package had. Suggested by Eric Cooper
7131 <ecc@cmu.edu>. Doc fix.
7132 (whitespace-action): New option.
7133 (whitespace-display-mappings): Changed default newline visualization to
7134 display downwards arrow, as the glyph code generation was fixed.
7135 (whitespace-unload-function): Assure that all local whitespace mode is
7136 turned off.
7137 (whitespace-global-modes): Fix type customization.
7138 (whitespace-mode, global-whitespace-mode, whitespace-cleanup-region)
7139 (whitespace-insert-option-mark, whitespace-help-on, whitespace-turn-on)
7140 (whitespace-turn-off, whitespace-color-on, whitespace-display-char-on):
7141 Fix code.
7142 (whitespace-buffer): Command removed.
7143 (whitespace-trailing-regexp, whitespace-mark-x)
7144 (whitespace-display-window, whitespace-action-when-on)
7145 (whitespace-add-local-hook, whitespace-remove-local-hook)
7146 (whitespace-write-file-hook, whitespace-kill-buffer-hook)
7147 (whitespace-action): New funs.
7148 (whitespace-report-list, whitespace-report-text)
7149 (whitespace-report-buffer-name): New consts.
7150 (whitespace-report, whitespace-report-region): New commands.
7151
7152 2008-03-01 Juanma Barranquero <lekktu@gmail.com>
7153
7154 * disp-table.el (make-glyph-code): Don't test the result of
7155 `face-id', which already signals an error for invalid faces.
7156 (glyph-face): Simplify.
7157
7158 * desktop.el (desktop-read): Set `desktop-dirname' to nil before
7159 running `desktop-not-loaded-hook' to allow modifying it.
7160 Don't show warning message if `desktop-dirname' was modified.
7161
7162 2008-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
7163
7164 * diff-mode.el (diff-sanity-check-hunk): Only accept an empty line if
7165 we still expect more lines.
7166
7167 * textmodes/fill.el (fill-comment-paragraph): Don't try to do
7168 comment-paragraph filling if the commark doesn't match
7169 comment-start-skip.
7170
7171 2008-03-01 Daiki Ueno <ueno@unixuser.org>
7172
7173 * international/utf-7.el (utf-7-encode): Never skip the trailing - for
7174 the `imap' variant.
7175
7176 2008-03-01 Jason Rumney <jasonr@gnu.org>
7177
7178 * files.el (make-auto-save-file-name): Encode more characters in
7179 non-file buffer names. Use url-encoding.
7180
7181 2008-03-01 Juanma Barranquero <lekktu@gmail.com>
7182
7183 * net/net-utils.el (ftp-program): Fix typo in docstring.
7184 (ifconfig-program-options, netstat-program-options)
7185 (arp-program-options, route-program-options, nslookup-program-options)
7186 (ftp-program-options, smbclient-program-options)
7187 (dns-lookup-program-options, arp, route): Doc fixes.
7188
7189 * progmodes/gdb-ui.el (gdb-pc-address, gdb-source-file-list)
7190 (gdb-cpp-define-alist-program, gdb-mouse-jump, gdb-get-buffer-create)
7191 (gdb-set-gud-minor-mode-existing-buffers-1, gdb-debug-log):
7192 Fix typos in docstrings.
7193 (gdb-pending-triggers): Reflow docstring.
7194 (gdb, gdb-init-1): Fix typos in docstrings of gud-def definitions.
7195
7196 2008-03-01 Alan Mackenzie <acm@muc.de>
7197
7198 * progmodes/cc-mode.el (c-neutralize-syntax-in-CPP): Fix a bug on
7199 typing "#" at EOB.
7200
7201 2008-03-01 Juanma Barranquero <lekktu@gmail.com>
7202
7203 * emulation/cua-base.el (cua-remap-control-z): Fix typo in docstring.
7204
7205 2008-02-29 Kim F. Storm <storm@cua.dk>
7206
7207 * emulation/cua-base.el (cua-remap-control-v)
7208 (cua-remap-control-z): New defcustoms.
7209 (cua-mode): Add them to set-after property.
7210 (cua--init-keymaps): Use them.
7211 Add C-x/C-c home, end, next, and prior to cua--prefix-repeat-keymap.
7212
7213 * help.el (view-emacs-todo): Rename from view-todo.
7214 (describe-gnu-project): Rename from describe-project. Users changed.
7215 (view-help-file): New helper function.
7216 (describe-distribution, describe-copying, describe-gnu-project)
7217 (view-todo, view-order-manuals, view-emacs-problems): Use it.
7218 (view-emacs-debugging, view-external-packages): New commands.
7219 (help-map): Move describe-distribution to C-h C-o (ordering).
7220 Move view-emacs-problems to C-h C-p (problems).
7221 Bind view-emacs-debugging to C-h C-d (debugging).
7222 Bind view-external-packages to C-h C-e (extras).
7223 (help-for-help-internal): Cleanup and align descriptions.
7224 Remove command names to reduce clutter.
7225
7226 2008-02-29 Nick Roberts <nickrob@snap.net.nz>
7227
7228 * vc.el (vc-set-mode-line-busy-indicator): Use shorter message
7229 and quieter face (not a warning).
7230
7231 2008-02-29 Dan Nicolaescu <dann@ics.uci.edu>
7232
7233 * vc.el (vc-status-crt-marked): New variable.
7234 (vc-status-mode): Make it local.
7235 (vc-status-refresh): Use it to save the marked files.
7236 (vc-update-vc-status-buffer): Use it to restore the marked files.
7237
7238 * vc-svn.el (vc-svn-after-dir-status):
7239 * vc-hg.el (vc-hg-after-dir-status): Clean up the temporary buffer.
7240
7241 2008-02-29 Glenn Morris <rgm@gnu.org>
7242
7243 * allout.el (allout-topic-encryption-bullet)
7244 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling)
7245 (allout-encrypt-unencrypted-on-saves): Change defcustom :version
7246 from 22.0 to 22.1.
7247
7248 * net/imap.el (imap-ping-server):
7249 * net/tls.el (tls-checktrust, tls-untrusted, tls-hostmismatch):
7250 Change defcustom :version from 23.0 to 23.1.
7251
7252 2008-02-29 Juanma Barranquero <lekktu@gmail.com>
7253
7254 * desktop.el (desktop-save): Save the buffer name if the
7255 uniquified base name is empty.
7256
7257 2008-02-29 Nick Roberts <nickrob@snap.net.nz>
7258
7259 * progmodes/gdb-ui.el (gdb-info-stack-custom): Apply function-name-face
7260 correctly when user has "set print address off".
7261
7262 2008-02-28 Juanma Barranquero <lekktu@gmail.com>
7263
7264 * cus-edit.el (custom-mode, custom-mode-hook): Use 23.1 as
7265 version number of the next major Emacs release, not 23.0.
7266
7267 * longlines.el (longlines-unload-function): New function.
7268
7269 2008-02-28 Juri Linkov <juri@jurta.org>
7270
7271 * startup.el (normal-splash-screen): Add argument `concise'.
7272 Remove unused binding `prev-buffer'. Let-bind `splash-buffer'
7273 to the created buffer. If `concise' is non-nil, call
7274 `display-buffer', otherwise `switch-to-buffer'. Doc fix.
7275 (display-startup-screen): Add argument `concise' to the call to
7276 `normal-splash-screen'.
7277
7278 2008-02-28 Kim F. Storm <storm@cua.dk>
7279
7280 * startup.el (startup-echo-area-message): Check for about-emacs.
7281
7282 2008-02-28 Juri Linkov <juri@jurta.org>
7283
7284 * startup.el: Always add initial message to *scratch* buffer if
7285 `initial-scratch-message' is non-nil regardless of the value of
7286 `inhibit-startup-screen'.
7287 (inhibit-startup-screen, initial-scratch-message): Doc fix.
7288 (command-line-1): Move code that inserts `initial-scratch-message'
7289 up before the if-form that checks for `inhibit-startup-screen'.
7290 Suggested by Jonathan Rockway <jon@jrock.us>.
7291
7292 2008-02-28 Juri Linkov <juri@jurta.org>
7293
7294 * cus-edit.el (custom-mode-map, custom-mode-link-map):
7295 Rename `custom-mode' to `Custom-mode' in docstrings.
7296 (custom-buffer-create-internal, customize-browse):
7297 Rename `custom-mode' to `Custom-mode'.
7298 (custom-mode-hook): Rename to `Custom-mode-hook'.
7299 (Custom-mode-hook): Renamed from `custom-mode-hook'.
7300 (custom-mode): Rename to `Custom-mode'.
7301 (Custom-mode): Renamed from `custom-mode'. Doc fix.
7302 (custom-mode): Add backward-compatible non-interactive variant of
7303 `Custom-mode' that simply calls `Custom-mode'. Mark it obsoleted.
7304 (custom-mode-hook): Mark it as obsolete alias of `Custom-mode-hook'.
7305
7306 * info-look.el: Rename `custom-mode' to `Custom-mode'.
7307
7308 * emulation/viper.el (viper-emacs-state-mode-list):
7309 Rename `custom-mode' to `Custom-mode'.
7310
7311 * menu-bar.el (menu-bar-search-menu, menu-bar-replace-menu):
7312 Capitalize "Tagged Files".
7313 (minibuffer-local-map): Add menu items for next/previous
7314 history elements and isearch history forward/backward.
7315
7316 * progmodes/hideshow.el (hs-minor-mode-menu): Compare
7317 `hs-isearch-open' with t instead of `comment' in :selected
7318 for "Code and Comment blocks" menu item.
7319
7320 2008-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
7321
7322 * uniquify.el (uniquify-buffer-base-name): Undo last change.
7323 Should be done in desktop.el instead.
7324
7325 2008-02-28 Glenn Morris <rgm@gnu.org>
7326
7327 * autoinsert.el (auto-insert-alist): Update to FDL 1.2.
7328
7329 * emacs-lisp/byte-run.el (make-obsolete): Doc fix.
7330
7331 * mail/emacsbug.el: Remove leading `*' from defcustom doc-strings.
7332 (Info-menu, Info-goto-node): Remove declarations.
7333 (report-emacs-bug-info): Use info rather than Info-goto-node.
7334
7335 * progmodes/idlwave.el (Info-goto-node): Remove declaration.
7336 (idlwave-convert-xml-system-routine-info): Don't require xml.
7337 (idlwave-show-commentary, idlwave-shell-show-commentary):
7338 Don't require finder.
7339 (idlwave-info): Don't require info. Use info rather than
7340 Info-goto-node.
7341
7342 * textmodes/org.el (Info-goto-node): Remove declaration.
7343 (org-info): Use info rather than Info-goto-node.
7344
7345 * textmodes/reftex.el (reftex-show-commentary): Don't require finder.
7346 (reftex-info): Don't require info. Use info rather than Info-goto-node.
7347
7348 2008-02-28 Dan Nicolaescu <dann@ics.uci.edu>
7349
7350 * progmodes/hideshow.el (hs-minor-mode-menu): Add some options to
7351 the menu.
7352
7353 * vc.el (vc-deduce-fileset, vc-next-action, vc-start-entry)
7354 (vc-finish-logentry): Check for vc-status-mode, not only for
7355 vc-dired-mode.
7356
7357 2008-02-28 Kenichi Handa <handa@ni.aist.go.jp>
7358
7359 * isearch.el (isearch-printing-char): Don't check
7360 keyboard-coding-system.
7361 Call isearch-process-search-multibyte-characters only when
7362 current-input-method is non-nil.
7363
7364 2008-02-27 Kim F. Storm <storm@cua.dk>
7365
7366 * disp-table.el (make-glyph-code): Encode as cons if face id > 63.
7367 (glyph-char, glyph-face): Handle cons encoding.
7368
7369 2008-02-27 Juanma Barranquero <lekktu@gmail.com>
7370
7371 * uniquify.el (uniquify-buffer-base-name): If the base name is an
7372 empty string, return nil to allow the caller to default to the
7373 buffer name. Reported by Martin Fischer <parozusa@web.de>.
7374
7375 * tool-bar.el (tool-bar-setup): Doc fix.
7376
7377 * mail/supercite.el (sc-describe):
7378 Fix typos in obsolescence declaration.
7379
7380 2008-02-27 Glenn Morris <rgm@gnu.org>
7381
7382 * autoinsert.el (auto-insert-alist): Change permission text to
7383 match FSF's GPLv3 form.
7384
7385 * mail/supercite.el (sc-cite-original): Doc fix.
7386 (sc-version): Make obsolete.
7387 (sc-describe): Show the SC info page. Make obsolete.
7388
7389 2008-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
7390
7391 * simple.el (set-mark-command): Deactivate mark on second C-SPC C-SPC
7392 when using transient-mark-mode.
7393 (default-indicate-unused-lines): Remove unused var.
7394
7395 2008-02-26 Jan Djärv <jan.h.d@swipnet.se>
7396
7397 * progmodes/grep.el (grep-mode-tool-bar-map): Change place on next
7398 and previous.
7399
7400 * progmodes/compile.el (compilation-mode-tool-bar-map): The same.
7401
7402 2008-02-26 Glenn Morris <rgm@gnu.org>
7403
7404 * net/net-utils.el (top-level): Don't require comint when compiling.
7405 (nslookup-font-lock-keywords): Don't require font-lock.
7406 Use font-lock faces rather than variables.
7407 (nslookup, ftp, smbclient, network-service-connection):
7408 Don't require comint.
7409 (comint-prompt-regexp, comint-input-autoexpand)
7410 (comint-input-ring): Declare for compiler.
7411 (comint-mode, ffap-string-at-point, comint-exec): Autoload.
7412 (dns-lookup-host): Don't require ffap. Remove `with-no-warnings'.
7413
7414 * ibuffer.el (ibuffer-do-toggle-read-only): Don't use `iff' in
7415 doc-string.
7416
7417 2008-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
7418
7419 * doc-view.el (doc-view-current-page): Add a `win' argument.
7420
7421 2008-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
7422
7423 * doc-view.el (doc-view-conversion-buffer): Give it an internal name.
7424 Demote it to plain defvar.
7425 (doc-view-conversion-refresh-interval): Reduce interval.
7426 (doc-view-goto-page): Allow moving to pages not yet rendered.
7427 (doc-view-goto-page): Construct a file name rather than extracting it
7428 from doc-view-current-files.
7429 (doc-view-kill-proc): Ignore errors from kill-process.
7430 (doc-view-pdf/ps->png-sentinel): Die gracefully if the buffer is dead.
7431 (doc-view-insert-image): Use appropriate text if the page hasn't been
7432 rendered yet. Adjust scrolling so the text is displayed.
7433 (doc-view-display): Detect not just that a page is available, but also
7434 that it wasn't available before, so as to avoid refreshing all pages
7435 repeatedly.
7436 (doc-view-mode): Make doc-view-cache-directory if needed.
7437
7438 2008-02-25 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
7439
7440 * ibuffer.el (ibuffer-do-toggle-read-only): New optional arg as in
7441 toggle-read-only.
7442
7443 * textmodes/bibtex.el (bibtex-format-entry): Handle error message
7444 refering to a missing required field with the OPT prefix.
7445 Make unwindform more robust.
7446
7447 * textmodes/bibtex.el: Remove support for hideshow minor mode as
7448 it duplicates the bibtex support in progmodes/hideshow.el.
7449 * progmodes/hideshow.el (hs-special-modes-alist): Allow bibtex
7450 entries that do not start at the beginning of a line.
7451
7452 2008-02-25 Chong Yidong <cyd@stupidchicken.com>
7453
7454 * files.el (shell-quote-wildcard-pattern): Quote ' and " as well.
7455
7456 2008-02-25 Robert J. Chassell <bob@rattlesnake.com>
7457
7458 * help-fns.el (describe-variable): Add phrases about
7459 initialization file with and without customization;
7460 use new button type help-info-variable.
7461
7462 * help-mode.el (help-info-variable):
7463 New button able to read Info files for help-fns.el.
7464
7465 2008-02-25 Jan Djärv <jan.h.d@swipnet.se>
7466
7467 * progmodes/grep.el (grep-mode-tool-bar-map): New variable.
7468 (grep-mode): Use grep-mode-tool-bar-map.
7469
7470 * progmodes/compile.el (tool-bar): Require tool-bar.
7471 (compilation-mode-tool-bar-map): New variable.
7472 (compilation-mode): Use compilation-mode-tool-bar-map.
7473
7474 * term/x-win.el (x-gtk-stock-map): Add cancel. Remove extensions.
7475
7476 2008-02-25 Glenn Morris <rgm@gnu.org>
7477
7478 * vc-sccs.el (vc-sccs-diff): Fix setting of oldvers and newvers.
7479
7480 2008-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
7481
7482 * diff-mode.el (diff-file-junk-re): New const.
7483 (diff-beginning-of-file-and-junk): Use it.
7484 (diff-file-kill): Make sure we were really inside a file diff.
7485
7486 * diff-mode.el: Make it more robust in the presence of empty context
7487 lines in unified hunks.
7488 (diff-valid-unified-empty-line): New var.
7489 (diff-unified->context, diff-sanity-check-hunk): Obey it.
7490 (diff-end-of-hunk): Obey it. New arg `donttrustheader'.
7491 (diff-fixup-modifs, diff-post-command-hook): Use this new arg.
7492 (diff-hunk-header-re-unified): New const.
7493 (diff-font-lock-keywords, diff-hunk-header-re, diff-split-hunk)
7494 (diff-fixup-modifs, diff-unified->context, diff-next-complex-hunk)
7495 (diff-sanity-check-hunk): Use it.
7496
7497 * diff-mode.el (diff-beginning-of-file-and-junk): If we're on the
7498 Index: line, don't search backward for the previous one.
7499
7500 2008-02-25 Kenichi Handa <handa@ni.aist.go.jp>
7501
7502 * international/fontset.el (setup-default-fontset): Add non-OTF
7503 lao font for lao script.
7504
7505 * language/tibetan.el: Register tibetan-composition-function in
7506 composition-function-table.
7507
7508 * language/tibet-util.el (tibetan-composition-function):
7509 Adjust for the new calling way (argument changed). Try font-shape-text
7510 if possible.
7511
7512 * language/lao.el: Register lao-composition-function in
7513 composition-function-table.
7514
7515 * language/lao-util.el (lao-composition-function): Adjust for the new
7516 calling way (argument changed). Try font-shape-text if possible.
7517
7518 2008-02-25 Jason Rumney <jasonr@gnu.org>
7519
7520 * files.el (file-name-invalid-regexp): Fix octal/decimal confusion.
7521
7522 2008-02-25 Juri Linkov <juri@jurta.org>
7523
7524 * isearch.el (isearch-fail): Use "RosyBrown1" for a light
7525 background, "red4" for a dark background, "red" for 16 and
7526 8 colors, "grey" for grayscale, and inverse video otherwise.
7527 Add :version tag.
7528 (isearch-message): Keep the original isearch-message intact, and
7529 add text properties to it where necessary. Add `isearch-error' to
7530 the condition that checks if isearch is unsuccessful.
7531
7532 2008-02-24 Juri Linkov <juri@jurta.org>
7533
7534 * progmodes/compile.el (compilation-handle-exit):
7535 Use compilation-error face instead of font-lock-warning-face.
7536 Display the same message in the minibuffer as is inserted
7537 at the end of the compilation buffer.
7538
7539 2008-02-24 Glenn Morris <rgm@gnu.org>
7540
7541 * vc-cvs.el (vc-cvs-register): Fix registering of directories in
7542 multiple file case.
7543
7544 * vc-mcvs.el (vc-mcvs-register): Fix let-binding (for use of `file').
7545
7546 * vc-rcs.el (vc-rcs-register): Fix treatment of directories in
7547 multiple file case. Use a single `let' rather than two.
7548
7549 2008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
7550
7551 * progmodes/compile.el (compilation-start): Specify a face for
7552 mode-line-process.
7553 (compilation-handle-exit): Specify a face and a tooltip for
7554 mode-line-process.
7555
7556 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
7557
7558 * hilit-chg.el: Remove spurious * in defcustom docstrings.
7559 (hilit-chg-make-ov): Simplify.
7560 (hilit-chg-fixup): Use remove-overlays.
7561 (hilit-chg-set-face-on-change): Remove redundant call to
7562 `remove-text-properties'.
7563
7564 * dired.el (dired-mark-prompt): Don't count/display the t element.
7565 Reported by Carsten Blaauw <it-media.blaauw@daimler.com>.
7566
7567 2008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
7568
7569 * progmodes/verilog-mode.el (eval-when-compile): Don't define
7570 add-submenu.
7571 (verilog-xemacs-menu): Add :keys for C-M-a, C-M-e and C-M-h.
7572 Remove. Move contents to the only use ...
7573 (verilog-menu): ... here.
7574 (verilog-statement-menu): Remove. Move contents to the only use ...
7575 (verilog-stmt-menu): ... here.
7576 (verilog-mark-defun): Simply call mark-defun for emacs.
7577 (occur-pos-list): Declare for byte compiler.
7578 (mode-popup-menu): Don't defvar.
7579 (verilog-add-statement-menu): Remove.
7580 (verilog-mode-hook): Don't add verilog-add-statement-menu.
7581 (verilog-mode): Call easy-menu-add and set mode-popup-menu for XEmacs.
7582
7583 2008-02-24 Michael McNamara <mac@mail.brushroad.com>
7584
7585 * progmodes/verilog-mode.el (verilog-xemacs-menu): Remove XEmacs
7586 conditional.
7587 (verilog-font-grouping-keywords-face): Make the begin..end
7588 keywords standout more than other verilog keywords.
7589 (verilog-type-font-keywords): Move the begin..end out of this list
7590 to facilitate making them to (potentially) stand out more.
7591 (verilog-backward-token): Fix indent of bare always{_*}?, initial,
7592 function & task blocks.
7593 (verilog-behavioral-block-beg-re): Fix indent of bare always{_*}?,
7594 initial, function & task blocks.
7595 (verilog-forward-sexp): Handle the new "disable fork" statement of
7596 IEEE-1800 Verilog.
7597 (verilog-beg-block-re-ordered): Handle the new "disable fork"
7598 statement of IEEE-1800 Verilog.
7599 (verilog-calc-1): Handle the new "disable fork" statement of
7600 IEEE-1800 Verilog.
7601 (verilog-disable-fork-re): Add const to help handle the new
7602 "disable fork" statement of IEEE-1800 Verilog.
7603 (verilog-declaration-core-re): Add port directions by themselves,
7604 with no qualification, as base item of a declaration.
7605 (verilog-pretty-declarations): Add new flag to ask it to refrain
7606 from printing to the message buffer.
7607 (verilog-pretty-expr): Add a QUIET flag to ask it to refrain from
7608 printing to the message buffer. Improve handling of the many
7609 types of expression line up.
7610 (verilog-just-one-space): Remove printing of an empty message.
7611 (verilog-get-lineup-indent): Rework to support the better handling
7612 of expression lineup for verilog-pretty-expr.
7613 (verilog-auto-wire): Pass the quiet flag to verilog-pretty-expr.
7614
7615 2008-02-24 Alan Mackenzie <acm@muc.de>
7616
7617 * progmodes/cc-mode.el (c-extend-region-for-CPP): Bug fix from
7618 yesterday's commit.
7619
7620 2008-02-24 Nick Roberts <nickrob@snap.net.nz>
7621
7622 * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint): Fall back
7623 to mouse-set-point in buffers that aren't associated with files.
7624
7625 * progmodes/gud.el: Rename menu item to "Show GUD tooltips".
7626
7627 2008-02-24 Alan Mackenzie <acm@muc.de>
7628
7629 Set of changes so that "obtrusive" syntactic elements in a
7630 C/C++/ObjC preprocessor line (e.g. an unbalanced string quote or
7631 unmatched paren) don't interact syntactically with stuff outside
7632 the CPP line.
7633
7634 * progmodes/cc-awk.el (c-awk-beyond-logical-line, c-awk-old-ByLL):
7635 Replace c-awk-end-of-logical-line and c-awk-old-EoLL to solve an
7636 off-by-one bug.
7637 (c-awk-record-region-clear-NL): Replaces c-awk-before-change, with
7638 a bit of refactoring.
7639 (c-awk-extend-and-syntax-tablify-region): Takes some of the
7640 functionality of c-awk-advise-fl-for-awk-region, which has been
7641 refactored away.
7642
7643 * progmodes/cc-defs.el (c-clear-char-property-with-value-function)
7644 (c-clear-char-property-with-value): New function and macro which
7645 remove text-properties `equal' to a supplied value.
7646
7647 * progmodes/cc-engine.el: Comment about text properties amended.
7648
7649 * progmodes/cc-fonts.el (c-cpp-matchers): Make it put regexp
7650 parens around "error\\|warning".
7651
7652 * progmodes/cc-langs.el (c-get-state-before-change-function)
7653 (c-before-font-lock-function, c-anchored-cpp-prefix):
7654 New language variables.
7655 (c-cpp-message-directives): Handle "#warning" in C, C++ and ObjC.
7656
7657 * progmodes/cc-mode.el (c-basic-common-init): C and ObjC now use
7658 syntax-table text properties.
7659 (c-common-init): Call language specific before/after-change
7660 functions at mode initialisation.
7661 (c-new-BEG, c-new-END, c-old-BOM, c-old-EOM): New variables.
7662 (c-extend-region-for-CPP, c-neutralize-CPP-line)
7663 (c-neutralize-syntax-in-CPP): New functions.
7664 (c-before-change, c-after-change): Call the new language specific
7665 change functions defined in cc-langs.el.
7666 (c-advise-fl-for-region): New macro.
7667 (awk-mode): Remove AWK specific stuff which has been refactored
7668 into language independent stuff.
7669
7670 2008-02-24 Nick Roberts <nickrob@snap.net.nz>
7671
7672 * progmodes/gdb-ui.el (gdba): Recreate as an alias for gdb.
7673 (gdb): (Re)set gdb-flush-pending-output to nil here...
7674 (gdb-init-1): ...instead of here (before gdb-prompt).
7675
7676 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
7677
7678 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
7679 Recognize ''' just like any other char-constant.
7680
7681 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
7682
7683 * vc-hooks.el (vc-find-root): Remove initial loop because it's not
7684 careful enough. Detect the uid-change all within the main loop.
7685
7686 2008-02-24 Stefan Monnier <monnier@pastel.home>
7687
7688 * textmodes/sgml-mode.el (sgml-mode): Fix comment syntax.
7689
7690 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
7691
7692 * hilit-chg.el (highlight-save-buffer-state): New macro.
7693 (highlight-save-buffer-state, hilit-chg-set-face-on-change)
7694 (hilit-chg-clear): Use it to preserve the modified-p flag.
7695 (highlight-changes-rotate-faces): Don't mess with the undo-list.
7696
7697 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
7698
7699 * font-lock.el (font-lock-set-defaults): Unset previously set variables
7700 when needed.
7701
7702 2008-02-24 Ævar Arnfjörð Bjarmason <avar@cpan.org> (tiny change)
7703
7704 * net/rcirc.el (rcirc-url-regexp): Replace definition by copying
7705 from gnus-button-url-regexp.
7706
7707 2008-02-24 Eli Zaretskii <eliz@gnu.org>
7708
7709 * progmodes/compile.el (compilation-next-error): Doc fix.
7710 (compilation-find-file): Doc fix.
7711
7712 2008-02-24 Glenn Morris <rgm@gnu.org>
7713
7714 * net/net-utils.el (ipconfig-program, ipconfig-program-options):
7715 Add obsolete aliases to the old names.
7716
7717 2008-02-24 Richard Stallman <rms@gnu.org>
7718
7719 * net/net-utils.el (ifconfig): Rename from ipconfig.
7720 (ipconfig): Alias to ifconfig.
7721 (ifconfig-program): Rename from ipconfig-program.
7722 (ifconfig-program-options): Rename from ipconfig-program-options.
7723
7724 2008-02-24 Michael McNamara <mac@mail.brushroad.com>
7725
7726 * progmodes/verilog-mode.el (verilog-declaration-core-re):
7727 Add port directions by themselves, with no qualification, as base
7728 item of a declaration.
7729 (verilog-pretty-declarations): Add new flag that inhibits printing
7730 to the message buffer.
7731 (verilog-pretty-expr): Add new flag that inhibits printing to the
7732 message buffer. Improve handling of the many types of expression
7733 line up.
7734 (verilog-just-one-space): Don't print an empty message.
7735 (verilog-get-lineup-indent): Rework to support the better handling
7736 of expression lineup for verilog-pretty-expr.
7737 (verilog-auto-wire): Pass the quiet flag to verilog-pretty-expr.
7738 (verilog-mode-version, verilog-mode-release-date): Update.
7739
7740 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
7741
7742 * subr.el (cancel-change-group): Don't move point.
7743
7744 2008-02-23 Markus Triska <markus.triska@gmx.at>
7745
7746 * linum.el (linum-after-config): Update all visible windows.
7747
7748 2008-02-23 Glenn Morris <rgm@gnu.org>
7749
7750 * menu-bar.el (menu-bar-games-menu): Add Bubbles and Pong.
7751 Add :help for Solitaire and Tetris.
7752
7753 * tree-widget.el (tree-widget-lookup-image): Let-bind `file'.
7754
7755 * mail/smtpmail.el: Remove leading `*' from defcustom doc-strings.
7756 (smtpmail-code-conv-from): Doc fix. Fix custom type.
7757 (smtpmail-queue-index-file): Make it a defcustom.
7758 (smtpmail-queue-index): Delete.
7759 (smtpmail-send-it, smtpmail-send-queued-mail):
7760 Use smtpmail-queue-index-file and smtpmail-queue-dir rather than
7761 smtpmail-queue-index.
7762
7763 * net/net-utils.el (iwconfig-program, iwconfig-program-options):
7764 Add :version.
7765
7766 2008-02-23 Yoni Rabkin <yoni@rabkins.net> (tiny change)
7767
7768 * net/net-utils.el (iwconfig-program, iwconfig-program-options):
7769 New variables.
7770 (iwconfig): New function.
7771
7772 2008-02-23 Dan Nicolaescu <dann@ics.uci.edu>
7773
7774 * vc.el (vc-find-revision): Make vc-parent-buffer local before
7775 setting it.
7776 (vc-status-menu-map): Do not define using easy-menu.
7777 (vc-status-menu-map): New defalias.
7778 (vc-status-mode-map): Hook up the menu.
7779 (top-level): Update TODO.
7780
7781 * vc-hg.el (vc-hg-extra-status-menu): Return a keymap.
7782
7783 * vc-bzr.el (vc-bzr-init-version): Rename to ...
7784 (vc-bzr-init-revision): ... this.
7785
7786 2008-02-23 Jason Rumney <jasonr@gnu.org>
7787
7788 * makefile.w32-in (WINS_ALMOST): Remove term.
7789 (WINS): Add term here.
7790 (custom-deps, finder-data): Use WINS_ALMOST.
7791
7792 2008-02-22 Juanma Barranquero <lekktu@gmail.com>
7793
7794 * faces.el (font-weight-table): Fix value of `semi-light'.
7795
7796 2008-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
7797
7798 * faces.el (font-weight-table, font-slant-table, font-swidth-table):
7799 Make those tables bijective.
7800
7801 2008-02-22 Ken Manheimer <ken.manheimer@gmail.com>
7802
7803 Finish pdbtrack integration cleanup, settling missing-functions
7804 byte compiler warnings appropriately.
7805
7806 * progmodes/python.el (python-point): Remove this - beginning-of-line
7807 was all that was necessary for `python-pdbtrack-overlay-arrow'.
7808 (python-end-of-def-or-class, python-beginning-of-def-or-class)
7809 (python-goto-initial-line): Drop these - they were only needed for
7810 python-point.
7811 (python-comint-output-filter-function): Use condition-case and
7812 beginning-of-line directly, instead of python-mode.el functions
7813 which require all sorts of baggage.
7814 (point-safe): Unnecessary - we're using condition-case directly,
7815 instead.
7816 (python-execute-file): Include for python-shell, which I'm leaving
7817 in keeping despite it being unnecessary for pdb tracking.
7818
7819 2008-02-22 Peter Danenberg <pcd@wikitex.org> (tiny change)
7820
7821 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7822 Add SRFI 11 support.
7823 (let-values, let*-values): Specify scheme-indent-function.
7824
7825 2008-02-22 Dan Nicolaescu <dann@ics.uci.edu>
7826
7827 * vc.el (vc-exec-after): Move setting mode-line-process in the
7828 busy case ...
7829 (vc-set-mode-line-busy-indicator): ... in this new function.
7830 (vc-status-refresh): Call vc-set-mode-line-busy-indicator.
7831 (vc-update-vc-status-buffer): Reset mode-line-process.
7832 (vc-status-mark-all-files, vc-status-unmark-all-files): Change to
7833 mark/unmark all the files with the same state as the current one.
7834 With a prefix argument mark/unmark all files.
7835 (vc-status-mode-menu): Adjust strings.
7836 (vc-update-vc-status-buffer): Only do something when the argument
7837 is not nil.
7838 (vc-status-kill-dir-status-process): New function.
7839 (vc-status-mode-map): Bind it.
7840 (vc-status-process-buffer): New variable.
7841 (vc-status-mode): Make it local.
7842 (vc-status-refresh): Set it.
7843
7844 * vc-hg.el (vc-hg-dir-status):
7845 * vc-git.el (vc-git-dir-status):
7846 * vc-svn.el (vc-svn-dir-status): Return the buffer in which the
7847 command is run.
7848
7849 2008-02-22 Glenn Morris <rgm@gnu.org>
7850
7851 * json.el (top-level): No need to require thingatpt.
7852 (json-read-keyword): Use thing-at-point rather than word-at-point.
7853
7854 * time.el (top-level): No need to require time-date when compiling.
7855
7856 * emacs-lisp/copyright.el (copyright-update-year):
7857 Fix subexpression numbering for the case when years are split over
7858 lines, and for the replace case.
7859
7860 * emulation/tpu-edt.el (tpu-have-ispell): Doc fix. Make obsolete.
7861 (tpu-caar, tpu-cadr): Delete functions.
7862 (zmacs-regions): No need to declare for compiler.
7863 (tpu-goto-breadcrumb): Use cadr rather than tpu-cadr.
7864 (tpu-spell-check): Rewrite, and handle mark after point.
7865 (tpu-special-insert): Use or rather than if.
7866
7867 * emulation/vip.el (vip-special-prefix-com): Use ispell-region
7868 rather than spell-region.
7869
7870 * textmodes/spell.el (spell-buffer, spell-word): Suppress compiler
7871 warnings about spell-region.
7872
7873 2008-02-22 Kenichi Handa <handa@ni.aist.go.jp>
7874
7875 * ldefs-boot.el: Regenerated.
7876
7877 * loadup.el: Don't load language/devanagari, language/kannanda,
7878 language/malayalam, and language/tamil. Load language/sinhala.
7879
7880 * language/indian.el (indian-font-foundry)
7881 (indian-script-language-alist, indian-font-char-index-table)
7882 (indian-font-char, indian-font-char-range, indian-script-table)
7883 (indian-default-script, indian-composable-pattern): Delete them.
7884 ("Devanagari", "Kannada", "Malayalam", "Tamil"): Definitions of
7885 language environments moved to here.
7886 ("Bengali", "Punjabi", "Gujarati", "Oriya", "Telugu"):
7887 New language environments.
7888
7889 * language/devanagari.el, language/devan-util.el,
7890 * language/kannanda.el, language/knd-util.el, language/malayalam.el,
7891 * language/mlm-util.el, language/tamil.el, language/tml-util.el:
7892 Delete them.
7893
7894 * language/sinhala.el: New file.
7895
7896 2008-02-21 Ken Manheimer <ken.manheimer@gmail.com>
7897
7898 Update Nick Robert's port of pdb tracking from python-mode.el.
7899
7900 * progmodes/python.el (python-pdbtrack-toggle-stack-tracking):
7901 Clarify docstring.
7902 (python-pdbtrack-minor-mode-string): A sign indicating that pdb
7903 tracking is happening.
7904 (python-pdbtrack-stack-entry-regexp): Better recognize stack traces.
7905 (python-pdbtrack-input-prompt): Better recognize PDB prompts.
7906 (comint-output-filter-functions): Add python-pdbtrack-track-stack-file.
7907 Tracking is plugged in to all comint buffers once python.el is loaded.
7908 (python-pdbtrack-overlay-arrow): Toggle activation of
7909 `python-pdbtrack-minor-mode-string' in addition to the overlay arrow.
7910 (python-pdbtrack-track-stack-file): Use new
7911 `python-pdbtrack-get-source-buffer' for more flexible access to
7912 debugging source files.
7913 (python-pdbtrack-get-source-buffer): Identify debugging target buffer
7914 according to pdb stack trace, optionally using new
7915 `python-pdbtrack-grub-for-buffer' if file is not locally available.
7916 (python-pdbtrack-grub-for-buffer): Find most recent python-mode
7917 named buffer, or having function with indicated name.
7918 (python-shell): Remove comint-output-filter-functions hook
7919 addition, it's being done elsewhere. Wrap long line.
7920
7921 2008-02-21 Michael Olson <mwolson@gnu.org>
7922
7923 * json.el: Replace XEmacs compatibility code to get rid of
7924 compiler warnings.
7925
7926 * time.el: Fix compiler warning.
7927
7928 2008-02-21 Edward O'Connor <ted@oconnor.cx>
7929
7930 * json.el: New file (JavaScript Object Notation parser / generator).
7931
7932 2008-02-21 Dave Love <fx@gnu.org>
7933
7934 * progmodes/sym-comp.el: New file.
7935
7936 * progmodes/python.el: Merge from Dave Love's 2008-01-20 version.
7937 Require sym-comp. Add Python buffer to same-window-buffer-names.
7938 Fixup whitespaces.
7939 (python-font-lock-keywords): Add highlighting for Python builtins.
7940 (python-font-lock-syntactic-keywords): Rewrite.
7941 (python-quote-syntax): Use syntax-ppss-context instead of parsing
7942 ppss directly.
7943 (python-mode-map): Add binding for python-find-function.
7944 (python-calculate-indentation): Clean up the logic.
7945 (python-beginning-of-defun): Explicitly set return value.
7946 (python-beginning-of-statement): Stop looping if we get stuck
7947 going backwards.
7948 (python-next-statement): Stop looping if we somehow end up inside
7949 a string while advancing.
7950 (python-preoutput-continuation, python-version-checked): New vars.
7951 (python-check-version): New function.
7952 (run-python): Set default command to python-command instead of
7953 python-python-command.
7954 (run-python): Use python-check-version. Give PYTHONPATH
7955 precedence over data-directory in the process environment.
7956 Load function definitions in python process after.
7957 (python-check-comint-prompt): New function.
7958 (python-send-command, python-send-receive): Use it.
7959 (python-complete-symbol, python-try-complete): Functions deleted.
7960 Use symbol-complete instead of python-complete-symbol throughout.
7961 (python-fill-paragraph): Further refine the fenced-string regexp.
7962 (def-python-skeleton): Expand to the original abbrev instead if in
7963 a comment or string. Tweak skeletons for `if', `while', `for',
7964 `try/except', `try/finally', `name'.
7965 (python-pea-hook, python-abbrev-pc-hook): New functions.
7966 (python-abbrev-syntax-table): New var.
7967 (python-mode): Add python-pea-hook to pre-abbrev-expand-hook.
7968 Use symbol-completion-try-complete for hippie expansion.
7969 Turn on font lock unconditionally.
7970 (python-mode-hook): Defcustom it. No need to use make-local
7971 variable on indent-tabs-mode in "Turn off Indent Tabs mode"
7972 option, since it's buffer-local.
7973
7974 2008-02-21 Juanma Barranquero <lekktu@gmail.com>
7975
7976 * play/hanoi.el (hanoi-internal): Set `show-trailing-whitespace' to nil.
7977
7978 2008-02-21 Drew Adams <drew.adams@oracle.com>
7979
7980 * mouse.el (minor-mode-menu-from-indicator): Create a menu with a
7981 "Turn off" and a "Help" entry when the minor mode has no menu.
7982
7983 2008-02-21 Dan Nicolaescu <dann@ics.uci.edu>
7984
7985 * vc.el (vc-status-mark, vc-status-unmark): New functions.
7986 (vc-status-mode-map, vc-status-mode-menu): Bind them instead of
7987 vc-status-mark-file and vc-status-unmark-file.
7988 (vc-status-mark-unmark): New function.
7989 (vc-status-previous-line, vc-status-next-line): No longer interactive.
7990
7991 2008-02-21 Glenn Morris <rgm@gnu.org>
7992
7993 * composite.el (encode-composition-rule): Fix typo in error message.
7994 (composition-function-table, auto-composition-mode): Doc fixes.
7995
7996 * subr.el (sit-for): Fix obsolete form for nil second argument.
7997
7998 * textmodes/spell.el (spell-buffer, spell-word, spell-region)
7999 (spell-string): Make obsolete, in favor of ispell.
8000
8001 2008-02-21 Kenichi Handa <handa@ni.aist.go.jp>
8002
8003 * language/devanagari.el: Don't setup composition-function-table
8004 here.
8005 ("Devanagari"): Change charset, coding-system, coding-priority to
8006 Unicode-based ones. Don't require the feature devan-util.
8007
8008 * composite.el (compose-chars-after): Fix arguments for a function
8009 in composition-function-table.
8010 (auto-compose-region): Likewise.
8011
8012 * ps-mule.el (ps-mule-font-info-database-bdf): Use ethio16f-uni.bdf
8013 for Ethiopic.
8014 (ps-mule-plot-string): Ignore glyph-string based compositions.
8015
8016 2008-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
8017
8018 * doc-view.el: Allow different windows to show different pages.
8019 (doc-view-current-page, doc-view-current-slice, doc-view-current-info)
8020 (doc-view-current-image, doc-view-current-overlay): Remove variables,
8021 add them back as macros instead, using image-mode-winprops instead.
8022 Update all users of those variables.
8023 (doc-view-new-window-function): New function to create a new overlay
8024 for each new window.
8025 (doc-view-mode): Use it and image-mode-setup-winprops.
8026 (doc-view-clone-buffer-hook): Rewrite accordingly.
8027
8028 * image-mode.el: Extend [hv]scroll support to per-window properties.
8029 (image-mode-current-vscroll, image-mode-current-hscroll): Remove.
8030 (image-mode-winprops-alist): New var to replace them.
8031 (image-mode-new-window-functions): New hook.
8032 (image-mode-winprops, image-mode-window-get, image-mode-window-put):
8033 New funs.
8034 (image-set-window-vscroll, image-set-window-hscroll): Use them.
8035 Remove the `window' argument, update callers.
8036 (image-mode-reapply-winprops): Rename image-reset-current-vhscroll.
8037 Use the new functions.
8038 (image-mode-reapply-winprops): New fun.
8039 (image-mode): Use it.
8040
8041 2008-02-20 Jay Belanger <jay.p.belanger@gmail.com>
8042
8043 * calc/calc-math.el (math-sin-raw): Add optional argument
8044 to keep track of original argument.
8045 (math-cos-raw): Use optional argument when calling math-sin-raw.
8046 (math-sin-raw-2, math-cos-raw-2): Check for a zero argument
8047 with close to original precision.
8048
8049 2008-02-20 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
8050
8051 * textmodes/bibtex.el (bibtex-convert-alien): Do not use optional
8052 args in calls of sit-for.
8053
8054 2008-02-20 Juanma Barranquero <lekktu@gmail.com>
8055
8056 * vc-svn.el (vc-svn-program): Fix typo in docstring.
8057 (vc-svn-checkin): Fix typo in error message.
8058
8059 * help-mode.el: Require easymenu when compiling.
8060
8061 2008-02-20 Dan Nicolaescu <dann@ics.uci.edu>
8062
8063 * help-mode.el (help-mode-menu): New menu.
8064
8065 2008-02-20 Glenn Morris <rgm@gnu.org>
8066
8067 * mail/rmail.el (rmail-autodetect): Add .exe extension to movemail
8068 on Windows.
8069
8070 2008-02-20 Kenichi Handa <handa@ni.aist.go.jp>
8071
8072 * ps-mule.el (ps-mule-encode-region): Return a single string.
8073 (ps-mule-plot-string): Adjust for the above change.
8074 (ps-mule-encode-header-string): Likewise.
8075
8076 * international/latin1-disp.el (latin1-display): Don't use
8077 ucs-mule-8859-to-mule-unicode. Fix the way of resetting
8078 standard-display-table.
8079 (latin1-display-identities): Adjust for the change of what is
8080 returned by (get-language-info charset 'charset).
8081
8082 * international/mule-util.el (char-displayable-p): Fix for Latin-1
8083 characters and terminal case.
8084
8085 2008-02-19 Ken Manheimer <ken.manheimer@gmail.com>
8086
8087 Minor Adaptions by Nick Roberts <nickrob@snap.net.nz> for Emacs.
8088
8089 * progmodes/python.el: Also require comint when loading.
8090 (python-mode-map): Bind python-pdbtrack-toggle-stack-tracking.
8091 Replace python-shell with run-python on menu bar.
8092 (python-shell-map): New map.
8093 (python-default-interpreter, python-python-command-args)
8094 (python-jython-command-args, python-pdbtrack-do-tracking-p):
8095 New options.
8096 (python-which-shell, python-which-args, python-which-bufname):
8097 New buffer local variables.
8098 (python-file-queue, python-pdbtrack-is-tracking-p): New variables.
8099
8100 * progmodes/python.el (python-pdbtrack-stack-entry-regexp)
8101 (python-pdbtrack-input-prompt, python-pdbtrack-track-range):
8102 New constants.
8103
8104 Pdbtrack features:
8105
8106 (python-point, python-end-of-def-or-class)
8107 (python-beginning-of-def-or-class, python-goto-initial-line)
8108 (python-comint-output-filter-function)
8109 (python-pdbtrack-overlay-arrow)
8110 (python-pdbtrack-track-stack-file, python-toggle-shells)
8111 (python-shell, python-pdbtrack-toggle-stack-tracking)
8112 (turn-on-pdbtrack, turn-off-pdbtrack, python-sentinel):
8113 New functions.
8114
8115 2008-02-19 Katsumi Yamaoka <yamaoka@jpl.org>
8116
8117 * net/ange-ftp.el (ange-ftp-quote-string): Return the null string
8118 when the argument is nil.
8119
8120 2008-02-19 Dan Nicolaescu <dann@ics.uci.edu>
8121
8122 * vc.el (dir-status): Add a brief description.
8123
8124 2008-02-19 Thien-Thi Nguyen <ttn@gnuvola.org>
8125
8126 * vc-hooks.el (vc-find-root): Take optional arg INVERT.
8127 If non-nil, reverse the sense of the check.
8128
8129 * vc-rcs.el (vc-rcs-root): New func.
8130 * vc-cvs.el (vc-cvs-root): New func.
8131 * vc-svn.el (vc-svn-root): New func.
8132 * vc-sccs.el (vc-sccs-root): New func.
8133
8134 2008-02-18 Kenichi Handa <handa@ni.aist.go.jp>
8135
8136 * language/japan-util.el (setup-japanese-environment-internal):
8137 Call use-cjk-char-width-table.
8138
8139 * language/japanese.el ("Japanese"): Set exit-function to
8140 use-default-char-width-table.
8141
8142 * international/characters.el: Delete occurrences of non-Unicode
8143 tibetan and ethiopic characters.
8144 (cjk-char-width-table): New variable.
8145 (use-cjk-char-width-table, use-default-char-width-table):
8146 New functions.
8147
8148 2008-02-19 Dan Nicolaescu <dann@ics.uci.edu>
8149
8150 * vc.el (vc-status-menu, vc-status-menu-map-filter): New functions.
8151 (vc-status-mode-menu): Add a :filter.
8152 (vc-status-printer): Add faces.
8153
8154 * vc-hg.el (vc-hg-extra-status-menu): New function.
8155 (vc-hg-dir-status): Clean up the buffer before using it.
8156
8157 2008-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
8158
8159 * progmodes/gdb-ui.el (gdb-output-sink): Define with an invalid value.
8160 (gdb): Initialize it here instead.
8161
8162 * files.el (locate-dominating-file): Fix thinko in last change.
8163 Reported by Bruce Stephens <bruce.stephens@isode.com>.
8164
8165 2008-02-18 Dan Nicolaescu <dann@ics.uci.edu>
8166
8167 * vc.el (vc-status-mode-menu): New menu for vc-status.
8168
8169 2008-02-18 Juanma Barranquero <lekktu@gmail.com>
8170
8171 * progmodes/verilog-mode.el (customize): Fix typo in error message.
8172 (verilog-mode, verilog-mode-indent, verilog-mode-actions)
8173 (verilog-mode-auto, verilog-indent-level-module)
8174 (verilog-minimum-comment-distance, verilog-library-flags)
8175 (verilog-library-directories, verilog-library-files)
8176 (verilog-auto-reset-widths, verilog-imenu-generic-expression)
8177 (verilog-xemacs-menu, verilog-set-compile-command)
8178 (verilog-set-compile-command, verilog-mode-syntax-table, verilog-mode)
8179 (verilog-get-expr, verilog-strip-comments, verilog-one-line)
8180 (verilog-lint-off, verilog-batch-auto, verilog-batch-delete-auto)
8181 (verilog-batch-inject-auto, verilog-batch-indent)
8182 (verilog-continued-line, verilog-type-keywords)
8183 (verilog-read-sub-decls-sig, verilog-read-sub-decls-line)
8184 (verilog-read-inst-pins, verilog-read-arg-pins)
8185 (verilog-read-auto-template, verilog-read-signals, verilog-getopt-file)
8186 (verilog-add-list-unique, verilog-symbol-detick, verilog-modi-filename)
8187 (verilog-auto-star, verilog-auto-inst, verilog-auto-wire)
8188 (verilog-enum-ascii, verilog-sk-begin, verilog-sk-fork)
8189 (verilog-sk-datadef, verilog-colorize-include-files-buffer)
8190 (verilog-mode-version, verilog-mode-release-date)
8191 (verilog-mode-release-emacs, verilog-linter, verilog-coverage)
8192 (verilog-simulator, verilog-compiler)
8193 (verilog-auto-sense-defines-constant, verilog-company)
8194 (verilog-project, verilog-mark-defun, verilog-submit-bug-report):
8195 Fix typos in docstrings.
8196 (verilog-set-auto-endcomments, verilog-calculate-indent)
8197 (verilog-inject-auto, verilog-auto-arg, verilog-auto-inout-module):
8198 Reflow docstrings.
8199 (verilog-tab-always-indent, verilog-highlight-p1800-keywords)
8200 (verilog-auto-star-save, verilog-auto-inst-vector, verilog-mode-hook)
8201 (electric-verilog-forward-sexp, verilog-in-case-region-p)
8202 (verilog-in-struct-region-p, verilog-in-generate-region-p)
8203 (verilog-leap-to-head, verilog-current-indent-level)
8204 (verilog-case-indent-level, verilog-cpp-keywords)
8205 (verilog-defun-keywords, verilog-block-keywords, verilog-tf-keywords)
8206 (verilog-case-keywords, verilog-separator-keywords, verilog-completion)
8207 (verilog-signals-not-in, verilog-symbol-detick-text)
8208 (verilog-modi-cache-preserve-tick, verilog-modi-cache-preserve-buffer)
8209 (verilog-forward-close-paren, verilog-backward-open-paren)
8210 (verilog-backward-open-bracket): Doc fixes.
8211
8212 * progmodes/gud.el (gud-def, gud-last-speedbar-stackframe): Doc fixes.
8213 (gud-symbol, gud-expansion-speedbar-buttons, gud-speedbar-buttons)
8214 (gud-gdb-run-command-fetch-lines, gud-dbx-use-stopformat-p)
8215 (gud-jdb-classpath, gud-jdb-find-source-using-classpath, jdb)
8216 (gud-find-class, gdb-script-mode, gud-tooltip-event, gud-tooltip-tips):
8217 Fix typos in docstrings.
8218
8219 * w32-vars.el (w32-system-shells): Add TCC (new name for 4NT).
8220
8221 2008-02-18 Bastien Guerry <Bastien.Guerry@ens.fr>
8222
8223 * info.el (Info-read-node-name): Removed unused `default' arg.
8224
8225 2008-02-18 Thien-Thi Nguyen <ttn@gnuvola.org>
8226
8227 * vc-git.el (vc-git-after-dir-status, vc-git-dir-status): New funcs.
8228
8229 2008-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
8230
8231 * image-mode.el (image-get-display-property): New fun.
8232 (image-forward-hscroll, image-next-line, image-eol, image-eob)
8233 (image-mode, image-minor-mode, image-toggle-display-text)
8234 (image-toggle-display): Use it.
8235
8236 2008-02-18 Jason Rumney <jasonr@gnu.org>
8237
8238 * international/mule.el (xml-find-file-coding-system): Don't warn
8239 about utf-16 with BOM.
8240
8241 * nxml/nxml-mode.el (nxml-mode): Don't add a write-contents-hook.
8242
8243 * international/mule.el (sgml-xml-auto-coding-function): Detect and
8244 warn if file encoding is not utf-8 and encoding not specified.
8245 (xml-find-file-coding-system): New function.
8246 * international/mule-conf.el (file-coding-system-alist): Use it.
8247
8248 2008-02-17 Glenn Morris <rgm@gnu.org>
8249
8250 * international/mule-cmds.el (set-locale-environment):
8251 Pass `frame' to getenv for LC_MESSAGES.
8252
8253 2008-02-17 Juri Linkov <juri@jurta.org>
8254
8255 * time.el (emacs-init-time): Use format instead of format-seconds.
8256
8257 2008-02-17 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
8258
8259 * textmodes/bibtex.el (bibtex-search-entry): Rename from
8260 bibtex-find-entry. Add autoload cookie.
8261 (bibtex-find-entry): Alias for bibtex-search-entry.
8262 (bibtex-search-crossref): Rename from bibtex-find-crossref.
8263 (bibtex-find-crossref): Alias for bibtex-search-crossref.
8264 (bibtex-clean-entry): atomic-change-group removed.
8265 (bibtex-format-entry): Use atomic-change-group. Use unwind-protect
8266 to locate buffer location where error occurred.
8267 Make error messages more specific.
8268 (bibtex-parse-keys): Only parse if buffer uses bibtex-mode.
8269
8270 2008-02-17 Dan Nicolaescu <dann@ics.uci.edu>
8271
8272 * progmodes/hideshow.el (hs-minor-mode-map): Move menu creation to
8273 top level.
8274
8275 * simple.el (transient-mark-mode): Add an :init-value.
8276
8277 * startup.el (command-line): Use custom-reevaluate-setting for
8278 transient-mark-mode.
8279
8280 2008-02-17 Michaël Cadilhac <michael@cadilhac.name>
8281
8282 * wdired.el (wdired-allow-to-change-permissions): Fix typo.
8283
8284 2008-02-16 Juri Linkov <juri@jurta.org>
8285
8286 * startup.el (after-init-time): New variable.
8287 (command-line): Set `after-init-time' to the current time.
8288
8289 * time.el (emacs-init-time): New function.
8290
8291 2008-02-16 Stefan Monnier <monnier@iro.umontreal.ca>
8292
8293 * files.el (locate-dominating-file): Remove initial loop because it's
8294 not careful enough. Detect the uid-change all within the main loop.
8295
8296 2008-02-16 Lawrence Mitchell <wence@gmx.li> (tiny change)
8297
8298 * ielm.el (ielm-is-whitespace-or-comment): Docstring fix.
8299
8300 2008-02-16 Dan Nicolaescu <dann@ics.uci.edu>
8301
8302 * vc.el (vc-annotate): Add new argument.
8303 (vc-annotate-warp-revision): Pass the current line to vc-annotate.
8304
8305 * progmodes/hideshow.el: Remove the minor-mode bookkeeping.
8306 Move make-variable-buffer-local code after the corresponding defvar.
8307 (hs-minor-mode-map): Define and initialize in one step.
8308 (hs-minor-mode): Change from defun to define-minor-mode.
8309
8310 2008-02-16 Nick Roberts <nickrob@snap.net.nz>
8311
8312 * progmodes/gud.el (gud-gdb): Don't reset gdb-ready.
8313 (gdb-ready): Move declaration...
8314
8315 * progmodes/gdb-ui.el (gdb-ready): ...to here.
8316 (gdb-early-user-input): New variable.
8317 (gdb): Reset gdb-flush-pending-output to nil and set
8318 comint-input-sender here (before gdb-prompt), instead of...
8319 (gdb-init-1): ...here.
8320 (gdb-send): If Emacs is not ready, defer user input to...
8321 (gdb-prompt): ...here.
8322
8323 2008-02-16 Glenn Morris <rgm@gnu.org>
8324
8325 * nxml/test.invalid.xml, nxml/test.valid.xml: Move to etc/nxml.
8326
8327 * startup.el (emacs-startup-time): Rename to `before-init-time'.
8328 (before-init-time): New name for `emacs-startup-time'.
8329 (command-line): Use before-init-time rather than emacs-startup-time.
8330 * time.el (emacs-uptime): Use before-init-time rather than
8331 emacs-startup-time.
8332
8333 * composite.el (composition-function-table): Doc fix.
8334
8335 * calendar/time-date.el (format-seconds): Remove `nonzero' argument
8336 in favor of `%z' specifier.
8337 (emacs-uptime): Move to time.el.
8338 * time.el (emacs-uptime): Move here from time-date.el. Add optional
8339 `format' argument. Doc fix. Use `%z' rather than removed `nonzero'
8340 argument of format-seconds.
8341
8342 2008-02-16 Dan Nicolaescu <dann@ics.uci.edu>
8343
8344 * bindings.el (mode-line-mule-info): Make the tooltips more explicit.
8345
8346 2008-02-15 Lawrence Mitchell <wence@gmx.li> (tiny change)
8347
8348 * ielm.el (ielm-is-whitespace): Remove.
8349 (ielm-is-whitespace-or-comment): New function.
8350 (ielm-eval-input): Use it.
8351
8352 2008-02-15 Jason Rumney <jasonr@gnu.org>
8353
8354 * term/mac-win.el: Fix coding tag.
8355
8356 2008-02-15 Dan Nicolaescu <dann@ics.uci.edu>
8357
8358 * vc-hooks.el (vc-menu-map):
8359 * bindings.el (mode-line-mode-menu): Add tooltips.
8360
8361 * bindings.el (help-echo): Add more tooltips. Use a less
8362 telegraphic style for existing tooltips.
8363
8364 2008-02-14 Stefan Monnier <monnier@iro.umontreal.ca>
8365
8366 * frame.el (frame-notice-user-settings): Distinguish explicit parent-id
8367 from the auto-generated one.
8368
8369 2008-02-14 Glenn Morris <rgm@gnu.org>
8370
8371 * mail/rmail-spam-filter.el (rmail-spam-filter):
8372 Let-bind message-spam-status.
8373
8374 * mail/smtpmail.el (password-cache-add): Declare as function.
8375
8376 2008-02-14 Justus Piater <Justus-bulk@Piater.name> (tiny change)
8377
8378 * mail/smtpmail.el: Use password-cache.
8379
8380 2008-02-14 Juanma Barranquero <lekktu@gmail.com>
8381
8382 * uniquify.el (uniquify-buffer-base-name): New function.
8383 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
8384
8385 * desktop.el (uniquify-managed): Don't defvar.
8386 (desktop-buffer-info): Use `uniquify-buffer-base-name', not
8387 `uniquify-managed'. Return also the buffer's base name.
8388 (desktop-save): When saving the buffer info, filter out the base name,
8389 and save it as buffer name if the buffer is managed by uniquify.
8390 (uniquify-item-base): Don't declare; not called anymore.
8391
8392 2008-02-14 Dan Nicolaescu <dann@ics.uci.edu>
8393
8394 * vc.el (vc-annotate-find-revision-at-line): New function.
8395 (vc-annotate-mode-map): Bind it.
8396 (vc-annotate-mode-menu): Add a menu entry for it. Add :help for
8397 some entries.
8398
8399 2008-02-14 Glenn Morris <rgm@gnu.org>
8400
8401 * calendar/time-date.el (format-seconds): New function.
8402 (emacs-uptime): Use format-seconds.
8403
8404 * Makefile.in (custom-deps, finder-data, autoloads, recompile):
8405 Remove `LC_ALL=C', since it's included in $(emacs) now.
8406
8407 2008-02-14 Zhang Wei <id.brep@gmail.com>
8408
8409 * textmodes/org-publish.el (org-publish-timestamp-filename):
8410 Replace colon characters in filename too.
8411
8412 2008-02-13 Bastien Guerry <bzg@altern.org>
8413
8414 * mail/rmail.el (rmail-header-name): New face.
8415 (rmail-font-lock-keywords): Use rmail-header-name.
8416
8417 * mail/rmail-spam-filter.el (rsf-definitions-alist): Allow check
8418 against X-Spam-Status header field.
8419 (rmail-spam-filter): Also check X-Spam-Status header field.
8420
8421 2008-02-14 Mark A. Hershberger <mah@everybody.org>
8422
8423 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8424 Add support for .pm files and .php files.
8425 (flymake-err-line-patterns): Add pattern for PHP errors.
8426 (flymake-php-init): New function. PHP support for flymake.
8427
8428 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8429 Add regular expression for PHP errors.
8430
8431 2008-02-13 Michael Albinus <michael.albinus@gmx.de>
8432
8433 * net/ange-ftp.el (ange-ftp-quote-string): Use `shell-quote-argument'.
8434 This DTRT even on w32 machines.
8435 (ange-ftp-cf1): Quote FILENAME.
8436
8437 2008-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
8438
8439 * smerge-mode.el (smerge-auto-combine-max-separation): New var.
8440 (smerge-auto-combine): New fun.
8441
8442 2008-02-12 Juri Linkov <juri@jurta.org>
8443
8444 * startup.el (fancy-startup-screen, normal-splash-screen):
8445 Set default-directory to command-line-default-directory.
8446
8447 * desktop.el (after-init-hook): Set inhibit-startup-screen to t
8448 after reading the desktop.
8449
8450 * progmodes/compile.el (compilation-auto-jump):
8451 Call compile-goto-error only when compilation-auto-jump-to-first-error
8452 is non-nil.
8453 (compilation-scroll-output): Replace :type 'boolean with a choice
8454 that has three options including a third option `first-error'.
8455 Doc fix.
8456 (compilation-start, compilation-forget-errors): Add an alternate
8457 condition comparing compilation-scroll-output with `first-error'
8458 in addition to compilation-auto-jump-to-first-error (to call
8459 compilation-auto-jump in the proper place).
8460
8461 2008-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
8462
8463 * international/mule.el (sgml-html-meta-auto-coding-function):
8464 Make sure the search limit is ahead.
8465
8466 * tar-mode.el: Fix broken indentation.
8467 (tar-mouse-extract, tar-extract, tar-subfile-save-buffer):
8468 Use with-current-buffer.
8469
8470 2008-02-12 Juanma Barranquero <lekktu@gmail.com>
8471
8472 * hexl.el (hexl-mode): Don't make `font-lock-defaults' buffer-local;
8473 it is already automatically buffer-local.
8474
8475 2008-02-11 Drew Adams <drew.adams@oracle.com>
8476
8477 * help.el (describe-key): Join some split lines to facilitate filling.
8478 * help-fns.el (describe-function-1): Fill text of overlong lines.
8479
8480 2008-02-12 Kenichi Handa <handa@ni.aist.go.jp>
8481
8482 * emacs-lisp/bytecomp.el (byte-compile-lapcode):
8483 Use unibyte-string instead of string-make-unibyte.
8484
8485 * Makefile.in (AUTOGENEL): Remove charprop.el and uni-*.el.
8486
8487 2008-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
8488
8489 * doc-view.el (doc-view-display): Change file arg to buffer arg, so it
8490 works also for buffers w/o buffer-file-name. Update callers.
8491 (doc-view-clone-buffer-hook): New fun.
8492 (doc-view-mode): Use it for indirect clones. Mark the overlays with
8493 the `doc-view' property so they can be recognized.
8494
8495 * simple.el (clone-indirect-buffer-hook): New hook.
8496 (clone-indirect-buffer): Run it.
8497
8498 2008-02-11 Daiki Ueno <ueno@unixuser.org>
8499
8500 * epa.el (epa-menu-mode): Merge into epa-mode.
8501 (epa-menu-items): Rename the label "EasyPG Assistant" to
8502 "Encryption/Decryption".
8503
8504 * epa-dired.el: Define a new minor-mode epa-dired-mode for dired.
8505 (epa-dired-mode-map): Rename from epa-dired-map.
8506 (epa-global-dired-mode): Rename the global minor mode.
8507
8508 2008-02-11 Drew Adams <drew.adams@oracle.com>
8509
8510 * isearch.el (isearch-fail): New face.
8511 (isearch-message): Highlight failure part of input.
8512
8513 2008-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
8514
8515 * ibuffer.el (ibuffer-header-line-format): New var.
8516 (ibuffer-mode): Set it instead of header-line-format.
8517 (ibuffer-update): Use it to set header-line-format.
8518
8519 * international/mule-cmds.el (ucs-insert): Inherit surrounding
8520 properties like self-insert-command.
8521
8522 2008-02-11 Drew Adams <drew.adams@oracle.com>
8523
8524 * progmodes/etags.el: Add many doc strings.
8525
8526 2008-02-11 Jason Rumney <jasonr@gnu.org>
8527
8528 * ldefs-boot.el: Regenerated.
8529
8530 2008-02-11 Glenn Morris <rgm@gnu.org>
8531
8532 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8533 Shorten some names.
8534
8535 * ffap.el (ffap-rfc-directories): Add :version.
8536
8537 2008-02-11 Chris Moore <christopher.ian.moore@gmail.com>
8538
8539 * jka-cmpr-hook.el (jka-compr-compression-info-list): Handle .sifz
8540 files, and backup files of same.
8541
8542 2008-02-11 Kevin Ryde <user42@zip.com.au>
8543
8544 * ffap.el (ffap-rfc-directories): New variable.
8545 (ffap-rfc): Look in those dirs before offering ffap-rfc-path.
8546
8547 * info.el (Info-next-reference, Info-prev-reference)
8548 (Info-try-follow-nearest-node): Move to and follow https:// links too.
8549
8550 * simple.el (completion-list-mode): Show full completion-list-mode-map
8551 in the docstring.
8552
8553 2008-02-11 Sam Steingold <sds@gnu.org>
8554
8555 * vc-hooks.el (vc-prefix-key): Remove (undo 2008-02-06 patch).
8556
8557 2008-02-11 Glenn Morris <rgm@gnu.org>
8558
8559 * startup.el (emacs-startup-time): New variable.
8560 (command-line): Set emacs-startup-time.
8561
8562 * calendar/time-date.el (emacs-uptime): New function.
8563
8564 2008-02-10 Bastien Guerry <bzg@altern.org>
8565
8566 * mail/rmail.el (rmail-nonignored-headers): Allow to be nil.
8567 (rmail-clear-headers): Don't check `rmail-nonignored-headers' when
8568 it is nil.
8569
8570 2008-02-10 Daiki Ueno <ueno@unixuser.org>
8571
8572 * epg-config.el: Expand the contents of epg-package-info.el.
8573 (epg-package-name): New constant.
8574 (epg-version-number): New constant.
8575 (epg-bug-report-address): New constant.
8576
8577 * epa-mail.el (epa-mail-mode): Add autoload cookie.
8578 (epa-global-mail-mode): New global minor mode.
8579
8580 * epa-file.el (epa-file-mode): New global minor mode.
8581
8582 * epa-dired.el (epa-dired-mode): New global minor mode.
8583
8584 * epa.el (epa-menu): New variable.
8585 (epa-menu-items): New variable.
8586 (epa-menu-mode): New global minor mode.
8587 (epa-global-minor-modes): New user option.
8588 (epa-mode): New global minor mode.
8589
8590 2008-02-10 Michael Albinus <michael.albinus@gmx.de>
8591
8592 * net/dbus.el: Remove `no-byte-compile' cookie.
8593 (dbus-call-method, dbus-register-signal, dbus-debug)
8594 (dbus-registered-functions-table): Declare them with
8595 `declare-function' or `defvar', respectively.
8596 (top): Don't assert any longer. Require 'cl when compiling.
8597 Apply `ignore-errors' but `dbus-ignore-errors'.
8598
8599 2008-02-10 Dan Nicolaescu <dann@ics.uci.edu>
8600
8601 * diff-mode.el (diff-add-change-log-entries-other-window):
8602 Use add-change-log-entry.
8603
8604 2008-02-09 Jason Rumney <jasonr@gnu.org>
8605
8606 * button.el (button-map):
8607 * wid-edit.el (widget-keymap): Avoid line-end confusion in autoloads.
8608 * ldefs-boot.el: Regenerate.
8609
8610 2008-02-09 Dan Nicolaescu <dann@ics.uci.edu>
8611
8612 * epa.el (epa-faces, epa):
8613 * epa-file.el (epa-file):
8614 * epg-config.el (epg): Add :version.
8615
8616 2008-02-09 Thien-Thi Nguyen <ttn@gnuvola.org>
8617
8618 * vc.el (vc-exec-after): Append CODE to previous fragments.
8619 (vc-diff-finish): Take BUFFER directly, not BUFFER-NAME;
8620 take MESSAGES instead of VERBOSE; use it when non-nil.
8621 (vc-diff-internal): Compute messages once; use them;
8622 update call to vc-diff-finish.
8623
8624 2008-02-09 Michael Olson <mwolson@gnu.org>
8625
8626 * net/tramp.el (tramp-process-sentinel): Avoid error when process
8627 buffer has been killed, such as by
8628 `tramp-cleanup-all-connections'.
8629
8630 2008-02-09 Miles Bader <miles@gnu.org>
8631
8632 * net/rcirc.el (rcirc-omit-mode): Suppress invisibility ellipsis.
8633
8634 2008-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
8635
8636 * diff-mode.el (diff-add-change-log-entries-other-window): Avoid the
8637 splitter in context hunks.
8638
8639 2008-02-08 Kenichi Handa <handa@ni.aist.go.jp>
8640
8641 * international/fontset.el (setup-default-fontset): Fix arabic otf
8642 font specification.
8643
8644 2008-02-08 Daiki Ueno <ueno@unixuser.org>
8645
8646 * epa-dired.el:
8647 * epa-file.el:
8648 * epa-mail.el:
8649 * epa-setup.el:
8650 * epa.el:
8651 * epg-config.el:
8652 * epg-package-info.el:
8653 * epg.el: Initial check-in of EasyPG.
8654
8655 2008-02-08 Glenn Morris <rgm@gnu.org>
8656
8657 * woman.el (woman-locale): New defcustom.
8658 (woman-expand-locale, woman-manpath-add-locales): New functions.
8659 (woman-manpath): Call woman-manpath-add-locales. Bump :version.
8660
8661 * international/mule-cmds.el (locale-translate): New function,
8662 with old code extracted from set-locale-environment.
8663 (set-locale-environment): Use locale-translate. Set woman-locale.
8664
8665 * cus-start.el (selection-coding-system): Remove, since it's now
8666 defined in select.el rather than in xselect.c.
8667 * select.el (selection-coding-system): Make it a defcustom, and
8668 add the properties from cus-start.el. Bump :version.
8669
8670 * custom.el (custom-theme-set-variables): Sort symbols that are
8671 dependencies before symbols that depend on them.
8672 (custom-enabled-themes): Set after custom-theme-directory.
8673
8674 * pcmpl-unix.el (top-level): Move provide statement to end.
8675 (pcmpl-unix-group-file, pcmpl-unix-passwd-file): Remove leading
8676 `*' from doc-string. Allow to be nil.
8677 (pcmpl-ssh-known-hosts-file): Convert comment into expanded doc-string.
8678 Allow to be nil. Add :version.
8679 (pcmpl-ssh-hosts): Move definition before use. Handle lines
8680 without hostnames, and multiple hostnames per line.
8681
8682 * term/x-win.el (x-handle-parent-id): Remove free variable `parent-id'.
8683
8684 2008-02-08 Phil Hagelberg <phil@evri.com>
8685
8686 * pcmpl-unix.el (pcmpl-ssh-known-hosts-file): New defcustom.
8687 (pcomplete/ssh, pcomplete/scp, pcmpl-ssh-hosts): New functions.
8688
8689 2008-02-07 Timo Savola <timo.savola@iki.fi>
8690
8691 * startup.el (command-line-x-option-alist): Add --parent-id.
8692
8693 * term/x-win.el (x-handle-parent-id): New function.
8694
8695 2008-02-07 Chris Moore <christopher.ian.moore@gmail.com>
8696
8697 * mouse.el (x-fixed-font-alist): Use consistent capitalization for
8698 "Font Menu".
8699
8700 2008-02-06 Michael Albinus <michael.albinus@gmx.de>
8701
8702 * net/dbus.el (dbus-interface-peer): New defconst.
8703 (dbus-ping): New defun.
8704
8705 2008-02-06 Sam Steingold <sds@gnu.org>
8706
8707 * vc-hooks.el (vc-prefix-key): New user-customizable variable.
8708
8709 2008-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
8710
8711 * net/ange-ftp.el (ange-ftp-unhandled-file-name-directory):
8712 Just return nil and let the C code provide a fallback.
8713
8714 2008-02-05 Glenn Morris <rgm@gnu.org>
8715
8716 * net/tramp-cmds.el (tramp-cleanup-connection): Update calls to
8717 tramp-flush-connection-property for removed 2nd argument.
8718
8719 2008-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
8720
8721 * diff-mode.el (diff-add-change-log-entries-other-window):
8722 Rename from diff-create-changelog. Change users.
8723 Minor change to hopefully work with plain diffs.
8724 (diff-mode-map): Add binding for it.
8725
8726 2008-02-04 Dan Nicolaescu <dann@ics.uci.edu>
8727
8728 * diff-mode.el: Add new TODO entry.
8729 (diff-create-changelog): New function.
8730 (diff-mode-menu): Bind it.
8731
8732 2008-02-04 Kenichi Handa <handa@ni.aist.go.jp>
8733
8734 * international/mule-diag.el (print-fontset-element): Handle the
8735 case of inhibiting the fallback fonts.
8736
8737 2008-02-04 Kim F. Storm <storm@cua.dk>
8738
8739 * ido.el (ido-magic-forward-char, ido-magic-backward-char)
8740 (ido-magic-delete-char): Use prefix arg.
8741
8742 2008-02-03 Juanma Barranquero <lekktu@gmail.com>
8743
8744 * term/w32-win.el (image-library-alist): Prefer libpng12 to libpng13,
8745 because the latter is in fact a 1.2.8 build distributed with GTK+ (as
8746 of today, the most recent libpng is 1.2.24).
8747
8748 2008-02-03 Michael Albinus <michael.albinus@gmx.de>
8749
8750 * ediff-util.el (ediff-compute-custom-diffs-maybe): Handle remote files.
8751
8752 * net/dbus.el (top): Check (featurep 'dbusbind).
8753
8754 * net/tramp.el (tramp-process-sentinel): New defun.
8755 (tramp-do-copy-or-rename-file-out-of-band)
8756 (tramp-maybe-open-connection): Use it as process sentinel.
8757 (tramp-handle-delete-directory): Don't use the "-f" option; it
8758 isn't portable.
8759 (tramp-handle-start-file-process): Echo `tramp-end-of-output'
8760 after the command.
8761 (tramp-handle-shell-command): Set `mode-line-process' in the
8762 asynchronous case.
8763
8764 * net/tramp-cache.el (tramp-flush-connection-property): Remove EVENT.
8765
8766 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
8767 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8768 Use `tramp-process-sentinel' as process sentinel.
8769
8770 2008-02-02 Juanma Barranquero <lekktu@gmail.com>
8771
8772 * whitespace.el (global-whitespace-mode): Revert last change.
8773 (whitespace-unload-function): Force `global-whitespace-mode'
8774 to deactivate local modes in a slightly less intrusive way.
8775
8776 2008-02-02 Eli Zaretskii <eliz@gnu.org>
8777
8778 * view.el (kill-buffer-if-not-modified): Add an autoload cookie.
8779
8780 2008-02-02 Glenn Morris <rgm@gnu.org>
8781
8782 * international/latin1-disp.el (latin1-display):
8783 * progmodes/fortran.el (fortran-comment-indent-char):
8784 * progmodes/idlw-shell.el (top-level):
8785 * term/mac-win.el (mac-keyboard-translate-char):
8786 * whitespace.el (whitespace-char-valid-p):
8787 * wid-edit.el (widget-key-sequence-read-event):
8788 Use characterp rather than char-valid-p.
8789
8790 * progmodes/cap-words.el (capitalized-next-word-boundary): Rename
8791 to capitalized-find-word-boundary. Doc fix. Update callers.
8792 (capitalized-next-word-boundary-function-table): Rename to
8793 capitalized-find-word-boundary-function-table. Doc fix. Update users.
8794
8795 * ps-bdf.el (bdf-read-font-info): Use string-to-number rather than
8796 string-to-int.
8797
8798 * ps-def.el (declare-function): Add compatibility definition.
8799 (ps-plot-with-face, ps-plot-string): Declare as functions.
8800 (ps-bold-faces, ps-italic-faces): Declare variables.
8801
8802 * ps-print.el (ps-mule-initialize, ps-mule-begin-job)
8803 (ps-mule-end-job): Declare as functions.
8804
8805 * wid-edit.el (widget-string-complete): Use assoc-string rather
8806 than assoc-ignore-case.
8807
8808 See ChangeLog.13 for earlier changes.
8809
8810 ;; Local Variables:
8811 ;; coding: utf-8
8812 ;; add-log-time-zone-rule: t
8813 ;; End:
8814
8815 Copyright (C) 2008 Free Software Foundation, Inc.
8816
8817 This file is part of GNU Emacs.
8818
8819 GNU Emacs is free software: you can redistribute it and/or modify
8820 it under the terms of the GNU General Public License as published by
8821 the Free Software Foundation, either version 3 of the License, or
8822 (at your option) any later version.
8823
8824 GNU Emacs is distributed in the hope that it will be useful,
8825 but WITHOUT ANY WARRANTY; without even the implied warranty of
8826 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8827 GNU General Public License for more details.
8828
8829 You should have received a copy of the GNU General Public License
8830 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
8831
8832 ;; arch-tag: c241c1f9-d668-48bf-920a-2897ed0340bc