(vc-deduce-fileset): Replace implementation with one based on a
[bpt/emacs.git] / lisp / ChangeLog
1 2008-05-27 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * vc.el (Problems): Remove fixed issues.
4 (vc-expand-dirs): Avoid returning directories.
5 (vc-dir): Fix C-x v v binding.
6 (vc-make-backend-object): Fix name.
7 (vc-dir-show-fileentry): Fix docstring.
8 (vc-dir-refresh): Use vc-dir-backend. Fix docstring.
9 (vc-dir-refresh-files): Use vc-dir-backend. Fix docstring. Reset
10 the state for directories.
11 (vc-dir-headers): Align labels.
12 (vc-default-status-printer): Do no call prettify-state-info.
13 (vc-deduce-fileset): Replace implementation with one based on a
14 working older version.
15 (vc-next-action): Use the new form of vc-deduce-fileset. Fix
16 dealing with unregistered files.
17
18 * vc-dispatcher.el (vc-resynch-window): Fix mode-line updating.
19 (vc-dir-menu-map): Fix menu title for the menu bar and the popup menu.
20 (vc-dir-child-files): New function.
21 (vc-dir-node-directory): New function.
22 (vc-dir-update, vc-dir-parent-marked-p)
23 (vc-dir-children-marked-p, vc-dir-mark-all-files)
24 (vc-dir-marked-only-files, vc-dispatcher-selection-set): Use it.
25
26 * vc-cvs.el (vc-cvs-status-extra-headers): Align labels.
27
28 2008-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
29
30 * diff-mode.el (diff-context-mid-hunk-header-re): New const.
31 (diff-font-lock-keywords, diff-context->unified)
32 (diff-reverse-direction, diff-fixup-modifs, diff-sanity-check-hunk)
33 (diff-hunk-text, diff-find-source-location): Use it.
34 (diff-post-command-hook): Let the user edit the hunk headers.
35
36 2008-05-26 Andreas Schwab <schwab@suse.de>
37
38 * vc.el (vc-default-prettify-state-info): Fix formatting of an
39 unknown state.
40
41 * tar-mode.el (tar-summarize-buffer): Comment fix.
42
43 2008-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
44
45 * tar-mode.el (tar-summarize-buffer): Handle GNU Tar @LongLink format.
46
47 2008-05-26 Glenn Morris <rgm@gnu.org>
48
49 * calendar/cal-hebrew.el (diary-ordinal-suffix): Declare for compiler.
50
51 2008-05-25 John Paul Wallington <jpw@pobox.com>
52
53 * proced.el (proced-next-line, proced-previous-line):
54 Avoid calling `next-line' and `previous-line' from Lisp code.
55
56 2008-05-25 Ed Reingold <reingold@emr.cs.iit.edu>
57
58 * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
59 Use diary-ordinal-suffix.
60
61 2008-05-24 Juanma Barranquero <lekktu@gmail.com>
62
63 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-defs)
64 (edebug-all-forms, edebug-eval-macro-args, edebug-save-windows)
65 (edebug-save-displayed-buffer-points, edebug-initial-mode)
66 (edebug-trace, edebug-test-coverage, edebug-continue-kbd-macro)
67 (edebug-print-length, edebug-print-level, edebug-print-circle)
68 (edebug-unwrap-results, edebug-on-error, edebug-on-quit)
69 (edebug-global-break-condition, edebug-sit-for-seconds):
70 Remove spurious * from defcustom docstrings.
71 (edebug-unwrap*, edebug-signal, edebug-eval-display):
72 Improve argument/docstring consistency.
73 (edebug-test-coverage, edebug-gensym, edebug-read)
74 (edebug-top-level-nonstop, edebug-eval-result-list)
75 (edebug-eval-redisplay, edebug-trace): Fix typos in docstring.
76 (edebug-eval-defun, edebug-eval-top-level-form, edebug)
77 (edebug-display-freq-count): Reflow docstrings.
78 (edebug-restore-status): Doc fix.
79
80 2008-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
81
82 * proced.el (proced-header-line): Use the :align-to 0 feature
83 rather than computing the corresponding position manually.
84 (proced-update): Don't hardcode point-min==1.
85
86 2008-05-24 Alan Mackenzie <acm@muc.de>
87
88 * progmodes/cc-mode.el (c-postprocess-file-styles): Throw an error
89 if c-file-style is set to a non-string.
90
91 (c-neutralize-CPP-line): Surround by `save-excursion'.
92 (c-neutralize-syntax-in-CPP): Optimize for speed.
93
94 2008-05-24 Glenn Morris <rgm@gnu.org>
95
96 * Makefile.in (update-elclist): New target, to update ELCFILES.
97 (bootstrap-after): Run update-elclist.
98
99 2008-05-24 Ulf Jasper <ulf.jasper@web.de>
100
101 * icalendar.el (icalendar-version): Increase to "0.19".
102 (icalendar--date-style): New function.
103 (icalendar--datetime-to-diary-date): Doc fix.
104 Use icalendar--date-style.
105 (icalendar--datestring-to-isodate): Doc fix. Handle iso date style.
106 (icalendar--convert-yearly-to-ical)
107 (icalendar--convert-recurring-to-diary): Handle iso date style,
108 use icalendar-date-style.
109
110 2008-05-23 Dan Nicolaescu <dann@ics.uci.edu>
111
112 * vc.el (vc-delete-file): Make sure the buffer is deleted and
113 vc-dir buffers are updated.
114
115 2008-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
116
117 * vc.el (vc-delete-file): Don't try to resynch the buffer.
118
119 2008-05-23 Paul R <paul.r.ml@gmail.com>
120
121 * textmodes/reftex-vars.el (reftex-extra-bindings-prefix): New var.
122 * textmodes/reftex.el (reftex-extra-bindings-map): New var.
123 (reftex-extra-bindings): Use it.
124
125 * progmodes/mixal-mode.el (mixal-mode-map): Move key-bindings
126 away from the user-reserved keys.
127
128 * progmodes/ada-mode.el (ada-mode-extra-map, ada-mode-extra-prefix):
129 New vars.
130 (ada-create-keymap): Use them.
131
132 2008-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
133
134 * emacs-lisp/regexp-opt.el (regexp-opt): Always return
135 a properly-grouped regexp.
136
137 2008-05-23 Juanma Barranquero <lekktu@gmail.com>
138
139 * progmodes/cap-words.el (capitalized-words-mode):
140 Fix typos in docstring.
141
142 2008-05-23 Kenichi Handa <handa@m17n.org>
143
144 * international/mule-conf.el: Don't define the charset `emacs'
145 here, just put :docstring, :short-name, and :long-name.
146
147 2008-05-22 Kenichi Handa <handa@m17n.org>
148
149 * international/mule-diag.el (font-show-log): Limit each listing
150 to 20 items.
151
152 2008-05-23 Nick Roberts <nickrob@snap.net.nz>
153
154 * progmodes/gdb-ui.el (gdb-enable-debug): New function.
155 (gdb-annotation-rules): New entry for "thread-changed".
156 (gdb-thread-changed): New function.
157
158 2008-05-23 Glenn Morris <rgm@gnu.org>
159
160 * Makefile.in (SOURCES): Remove, unused.
161 (lisptagsfiles1, lisptagsfiles2): Use '*' rather than '[a-zA-Z]*'.
162 (TAGS, TAGS-LISP): Use a single rule with multiple targets.
163 Exclude more '*loaddefs' files.
164 (compile-always): Simplify '.elc' deletion.
165
166 2008-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
167
168 * vc-bzr.el (vc-bzr-annotate-time): Reduce memory allocation.
169 (vc-bzr-revision-completion-table): Handle `boundaries' argument.
170
171 * minibuffer.el (completion-boundaries): Change calling
172 convention, so `string' has the same semantics as in
173 try-completion and all-completions.
174 (completion-table-with-context, completion--embedded-envvar-table)
175 (completion--file-name-table)
176 (completion-pcm--find-all-completions): Adjust code accordingly.
177
178 2008-05-22 Chong Yidong <cyd@stupidchicken.com>
179
180 * image-mode.el (image-mode-winprops): Add argument CLEANUP to
181 prune image-mode-winprops-alist, preventing it from growing
182 indefinitely.
183 (image-mode-reapply-winprops): Use it.
184
185 2008-05-22 Teodor Zlatanov <tzz@lifelogs.com>
186
187 * net/netrc.el (netrc-machine): Always match if the port is not given.
188
189 2008-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
190
191 * minibuffer.el (completion-pcm--find-all-completions):
192 Don't add pseudo-completions.
193
194 * icomplete.el (icomplete-eoinput): Remove.
195 (icomplete-overlay): New var to replace it.
196 (icomplete-tidy): Rewrite.
197 (icomplete-exhibit): Use an overlay.
198 (icomplete-completions): Use completion-all-sorted-completions.
199 Obey completion-ignore-case.
200
201 * files.el (locate-dominating-file): Accept non-existing argument.
202 (project-find-settings-file): Rewrite, using locate-dominating-file.
203
204 2008-05-22 Kenichi Handa <handa@m17n.org>
205
206 * faces.el (font-weight-table, font-slant-table, font-width-table):
207 Delete them. Don't call internal-set-font-style-table.
208
209 * international/mule-diag.el (font-show-log): New function.
210
211 * international/fontset.el (script-representative-chars): Add more
212 chars for latin. Add data for symbol.
213 (setup-default-fontset): Add entries for phonetic, armenian, and symbol.
214
215 2008-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
216
217 * minibuffer.el (completion-all-sorted-completions): New var.
218 (completion--flush-all-sorted-completions)
219 (completion-all-sorted-completions): New functions.
220 (minibuffer-force-complete): New command.
221
222 2008-05-21 Glenn Morris <rgm@gnu.org>
223
224 * files.el (c-postprocess-file-styles): Declare for compiler.
225
226 * Makefile.in: Allow for parallel byte-compiling.
227 (ELCFILES): New variable.
228 (.el.elc): Remove prerequisites from suffix rule. Print a message.
229 (compile-first, compile-main, compile-last): New targets.
230 (compile-always): Simplify - delete .elc files, then `make compile'.
231
232 * Makefile.in (compile-calc): Use glob rather than find.
233 ($(lisp)/progmodes/cc-mode.elc): Use $@.
234
235 * eshell/esh-module.el: No need for cl when compiling.
236
237 * eshell/eshell.el (eshell-defgroup): New alias.
238 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
239 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
240 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
241 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
242 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
243 * eshell/em-xtra.el: Use eshell-defgroup rather than defgroup.
244 Autoload the custom group. Set generated-autoload-file.
245 * eshell/em-basic.el, eshell/esh-module.el: Require eshell,
246 for eshell-defgroup.
247 * eshell/esh-module.el (eshell-load-defgroups): Remove.
248 Require esh-groups rather than loading it.
249
250 2008-05-21 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
251
252 * proced.el (proced-header-line): New variable and new function.
253 (proced-mode): Set header-line-format.
254 (proced-update): Set proced-header-line.
255 (proced-send-signal): Use proced-header-line.
256
257 2008-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
258
259 * macros.el (insert-kbd-macro): Use prin1-char.
260
261 2008-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
262
263 * minibuffer.el (completion-boundaries): New function.
264 (completion--some): Delay errors.
265 (complete-with-action, completion-table-with-context):
266 Handle `boundaries' case.
267 (completion--try-word-completion): Avoid partial-completion
268 when the user hasn't entered anything yet.
269 (minibuffer-local-map, minibuffer-local-filename-completion-map)
270 (minibuffer-local-must-match-map, minibuffer-local-completion-map)
271 (minibuffer-local-must-match-filename-map, minibuffer-local-ns-map):
272 Setup default keybindings.
273 (completion--embedded-envvar-re): New var.
274 (completion--embedded-envvar-table): Use it. Handle `boundaries' case.
275 (completion--file-name-table): Handle `boundaries' case.
276 (completion-pcm--pattern->regex): Avoid pathological backtracking.
277 (completion-pcm--all-completions): Add a `prefix' arg.
278 (completion-pcm--find-all-completions): New function.
279 (completion-pcm-all-completions, completion-pcm-try-completion):
280 Use it.
281
282 * icomplete.el (icomplete-completions): Don't use `predicate' with
283 a table of a different type than `candidates'.
284
285 2008-05-20 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
286
287 * proced.el (proced-goal-column): Rename from proced-procname-column.
288 (proced-goal-header-re): Rename from proced-procname-column-regexp.
289 (proced-move-to-goal-column): Rename from proced-move-to-procname.
290 (proced-header-face, proced-header-regexp): Remove.
291 (proced-font-lock-keywords): Remove proced-header-face.
292 (proced-header-alist, proced-sorting-schemes-re): New variables.
293 (proced): Rename Proced buffer to *Proced*.
294 (proced-next-line, proced-previous-line): New commands.
295 (proced-do-mark, proced-do-mark-all, proced-toggle-marks)
296 (proced-hide-processes): Do not treat first line as special.
297 (proced-header-space): New function.
298 (proced-update): Use header-line-format.
299 Initialize proced-header-alist and proced-sorting-schemes-re.
300 Set proced-goal-column. Include proced-command in mode-name.
301 (proced-send-signal): Use header-line-format for *Marked
302 Processes* buffer.
303 (proced-sort): Restrict minibuffer completion to applicable
304 sorting schemes.
305 (proced-sorting-scheme-p): Use proced-sorting-schemes-re.
306
307 2008-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
308
309 * icomplete.el (icomplete-simple-completing-p):
310 Allow icomplete-with-completion-tables to say "use it everywhere".
311 (icomplete-completions): Obey completion-styles. Try to accommodate
312 partial-completion style.
313
314 2008-05-20 Michael Olson <mwolson@gnu.org>
315
316 * files.el (project-find-settings-file): Change concat to
317 expand-file-name.
318
319 2008-05-19 Tom Tromey <tromey@redhat.com>
320
321 * files.el (normal-mode): Call hack-project-variables.
322 (hack-local-variables-confirm): Add 'project' argument.
323 (hack-local-variables-apply): New function.
324 (hack-local-variables): Use it.
325 (project-class-alist, project-directory-alist): New variables.
326 (project-get-alist): New function.
327 (project-collect-bindings-from-alist)
328 (project-collect-binding-list, set-directory-project)
329 (project-find-settings-file, project-define-from-project-file)
330 (hack-project-variables): New functions.
331
332 2008-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
333
334 * emacs-lisp/cl-specs.el (destructuring-bind): Fix spec.
335
336 2008-05-19 Juanma Barranquero <lekktu@gmail.com>
337
338 * faces.el (font-weight-table): Fix typo in docstring.
339
340 2008-05-18 David Hull <david@snap.com> (tiny change)
341
342 * vc-hg.el (vc-hg-annotate-re): Recognize the output of --follow.
343 (vc-hg-annotate-command): Allow white space before version number.
344
345 2008-05-18 Jay Belanger <jay.p.belanger@gmail.com>
346
347 * calc/calc-yank.el (calc-register-alist): New variable.
348 (calc-set-register,calc-get-register,calc-copy-to-register)
349 (calc-insert-register,calc-add-to-register,calc-append-to-register)
350 (calc-prepend-to-register): New functions.
351
352 * calc/calc-ext.el (calc-init-extensions): Add keybindings for
353 `calc-copy-to-register' and `calc-insert-register'.
354 Autoload new register functions.
355
356 * calc/calc-help.el (calc-r-prefix-help): Add help for register
357 functions.
358
359 2008-05-18 Dan Nicolaescu <dann@ics.uci.edu>
360
361 * vc.el (Todo): Add known problems.
362 (vc-dir-backend): New variable.
363 (vc-dir): Set it.
364 (vc-make-backend-object, vc-generic-status-printer)
365 (vc-generic-state, vc-generic-status-fileinfo-extra)
366 (vc-dir-extra-menu): Use it.
367 (vc-generic-dir-headers): Remove, unused.
368
369 * vc-dispatcher.el (vc-dir-previous-directory): Rename from
370 vc-dir-prev-directory for consistency with vc-dir-previous-line.
371 (vc-dir-mode-map): Fix bindings.
372
373 * vc-bzr.el (vc-bzr-after-dir-status): Remove unused binding.
374
375 2008-05-18 Jay Belanger <jay.p.belanger@gmail.com>
376
377 * calc/calc-yank.el (calc-kill): Make sure that only the stack is
378 operated on.
379 (calc-kill-region): Kill entire lines.
380
381 2008-05-17 Glenn Morris <rgm@gnu.org>
382
383 * ezimage.el (ezimage-use-images): Drop support for Emacs < 21 and
384 simplify initial value.
385 (defezimage): Drop support for Emacs without defimage, use a featurep
386 test rather than fboundp when defining, drop with-no-warnings.
387 (ezimage-insert-over-text): Move featurep test inside
388 add-text-properties.
389
390 * elide-head.el (elide-head-headers-to-hide): Handle GPLv3 format.
391
392 * net/tramp.el (top-level): Load auth-source when compiling.
393
394 * progmodes/fortran.el (fortran-font-lock-keywords-2): Add .eqv., .neqv.
395
396 2008-05-17 Andreas Schwab <schwab@suse.de>
397
398 * vc-dispatcher.el (vc-dir-mode-map): Fix M-down and M-up binding.
399
400 2008-05-17 Dan Nicolaescu <dann@ics.uci.edu>
401
402 * vc.el (vc-annotate-show-diff-revision-at-line): Change
403 vc-diff-internal arg to match what vc-deduce-fileseset returns now.
404
405 2008-05-17 Vinicius Jose Latorre <viniciusjl@ig.com.br>
406
407 * menu-bar.el (menu-bar-select-buffer): Reinsert it as msb.el uses it.
408
409 2008-05-17 Jim Meyering <meyering@redhat.com>
410
411 * ido.el (ido-save-history): Do not emit a trailing newline at the
412 end of the ido history file.
413
414 2008-05-16 John Paul Wallington <jpw@pobox.com>
415
416 * vc-dispatcher.el (top-level): Revert previous change: require cl
417 when compiling.
418
419 2008-05-16 Eric S. Raymond <esr@snark.thyrsus.com>
420
421 * vc.el (vc-default-status-printer)
422 (vc-default-prettify-state-info): Enhance the state prettyprinter
423 to deal better with unknown states and indirect through it when
424 painting vc-dir buffers.
425
426 2008-05-16 John Paul Wallington <jpw@pobox.com>
427
428 * vc-dispatcher.el (top-level): Don't require cl when compiling.
429 (vc-dir-mode-map): Fix backquote.
430 (vc-at-event): Doc fix. Use `make-symbol' instead of `gensym'.
431
432 2008-05-16 Michael Albinus <michael.albinus@gmx.de>
433
434 * net/tramp.el (tramp-handle-write-region): Fix check for short track.
435 Reported by Glenn Morris <rgm@gnu.org>.
436
437 2008-05-16 Eric S. Raymond <esr@snark.thyrsus.com>
438
439 * vc.el: Remove my analysis of SCCS/RCS concurrency issues from
440 the end of the file, it was good work at one time but has been
441 stale since 1995 and may now be actively misleading.
442 * vc-cvs.el (vc-cvs-status-extra-headers): Extract and display the
443 CVS repository and module (assumptions for the latter a bit iffy).
444 * vc-svn.el (vc-svn-status-extra-headers): Extract and display the
445 SVN repository.
446
447 2008-05-16 Juanma Barranquero <lekktu@gmail.com>
448
449 * vc-rcs.el (vc-rcs-create-tag):
450 * vc-sccs.el (vc-sccs-create-tag):
451 Fix typo in error message and pass backend arg.
452
453 2008-05-15 Michael Albinus <michael.albinus@gmx.de>
454
455 * net/tramp.el (tramp-file-name-for-operation): Add `make-temp-name'.
456
457 2008-05-15 Teodor Zlatanov <tzz@lifelogs.com>
458
459 * net/tramp.el: Load auth-source library.
460 (tramp-read-passwd): Use it for password, not login.
461
462 2008-05-15 Shigeru Fukaya <shugeru.fukaya@gmail.com>
463
464 * ses.el (ses-goto-print): Use move-to-column rather than forward-char.
465 (ses-print-cell): Use string-width, truncate-string-to-width,
466 delete-region rather than length, substring, delete-char.
467 (ses-setup): Set inhibit-point-motion-hooks to t.
468 Calculate position by actually moving point rather than just using
469 unibyte character length.
470 (ses-mode): Set indent-tabs-mode to nil.
471 (ses-center): Use string-width rather than length.
472
473 2008-05-15 Eric S. Raymond <esr@snark.thyrsus.com>
474
475 * vc-cvs.el, vc-git.el, vc-hg.el, vc-hooks.el, vc-mcvs.el,
476 * vc-rcs.el, vc-sccs.el, vc-svn.el, vc.el:
477 Rename vc-*-create-snapshot and vc-*-retrieve-snapshot to
478 vc-*-create-tag and vc-*-retrieve-tag respectively.
479
480 * vc-dispatcher.el: Fix an incorrect buffer name and remove an
481 unneeded defalias.
482
483 * vc.el, vc-dispatcher.el (vc-dir-menu-map-filter): Move.
484
485 * vc.el, vc-dispatcher.el (vc-dir-menu-map): Remove assumption
486 about buffer names.
487
488 2008-05-15 Glenn Morris <rgm@gnu.org>
489
490 * vc-hooks.el (vc-directory-resynch-file): Fix declaration.
491
492 * org/org-exp.el (org-infojs-options-inbuffer-template):
493 Fix declaration.
494
495 * progmodes/cc-mode.el (declare-function): Add compat definition.
496 (awk-mode-syntax-table, c-awk-unstick-NL-prop): Declare for compiler.
497
498 2008-05-14 Eric S. Raymond <esr@snark.thyrsus.com>
499
500 * vc-dispatcher.el (vc-dispatcher-selection): Change the returned
501 list to a cons so the caller can get back both expanded and
502 unexpanded filesets.
503 * vc.el (vc-deduce-fileseset, vc-next-action, vc-diff-internal)
504 (vc-merge, vc-version-diff, vc-print-log, vc-revert, vc-rollback):
505 Change handling of selection-set returns as required.
506
507 2008-05-15 John Paul Wallington <jpw@pobox.com>
508
509 * add-log.el (top-level): Don't require cl when compiling.
510
511 * arc-mode.el (archive-add-new-member): Use `derived-mode-p'.
512 (archive-*-extract): Use `zerop'
513 (archive-*-write-file-member): Use `or', use `zerop'.
514
515 * diff-mode.el (diff-current-defun): Use `buffer-local-value'.
516
517 * ibuffer.el (ibuffer-assert-ibuffer-mode): New defsubst.
518 (ibuffer-mark-interactive, ibuffer-set-mark)
519 (ibuffer-insert-buffer-line, ibuffer-redisplay-current)
520 (ibuffer-map-lines, ibuffer-switch-format)
521 (ibuffer-update-title-and-summary)
522 (ibuffer-redisplay-engine): Use it.
523
524 * ibuf-ext.el (ibuffer-interactive-filter-by-mode)
525 (ibuffer-set-filter-groups-by-mode, ibuffer-list-buffer-modes)
526 (define-ibuffer-filter mode, define-ibuffer-filter used-mode)
527 (define-ibuffer-sorter major-mode, ibuffer-mark-unsaved-buffers)
528 (ibuffer-mark-read-only-buffers)
529 (ibuffer-mark-dired-buffers): Use `buffer-local-value'.
530
531 * ibuf-macs.el (ibuffer-aif, ibuffer-awhen, ibuffer-save-marks)
532 (define-ibuffer-column, define-ibuffer-sorter)
533 (define-ibuffer-op, define-ibuffer-filter): Add declarations
534 containing indentation specs, replacing equivalent top-level
535 forms that set `lisp-indent-function' properties.
536 (define-ibuffer-op): Use `derived-mode-p'.
537 (define-ibuffer-filter): Remove redundant `concat' call.
538
539 2008-05-14 Michael Albinus <michael.albinus@gmx.de>
540
541 * net/tramp.el (tramp-echo-mark): Update docstring.
542 (tramp-echo-mark-marker): New defconst.
543 (tramp-check-for-regexp): Use it.
544
545 2008-05-14 Eric S. Raymond <esr@snark.thyrsus.com>
546
547 * vc.el (vc-deduce-fileset): Do the right thing when visting a
548 buffer (say, a log buffer or diff buffer) with a vc-dir buffer
549 as parent.
550
551 2008-05-14 John Paul Wallington <jpw@pobox.com>
552
553 * international/mule.el (convert-define-charset-argument):
554 Remove period from end of error message.
555 (coding-system-mnemonic): Doc fix.
556 (ctext-pre-write-conversion): Doc fix.
557
558 2008-05-14 Simon Marshall <simon@gnu.org>
559
560 * obsolete/fast-lock.el (fast-lock-cache-directories): Remove "."
561 from its default value and give it the risky-local-variable
562 property (CVE-2008-2142).
563
564 2008-05-14 Kenichi Handa <handa@m17n.org>
565
566 * language/korean.el ("Korean"): Set `iso639-language'
567 property to `ko'.
568
569 * language/japanese.el ("Japanese"): Set `iso639-language'
570 property to `ja'.
571
572 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
573 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK")
574 ("Chinese-GB18030"): Set `iso639-language' property to `zh'.
575
576 * international/mule-cmds.el (set-language-environment):
577 Set current-iso639-language.
578
579 * international/fontset.el (setup-default-fontset): For kana, han,
580 hangul, and cjk-misc, move an entry with font-spec at the end.
581 (generate-fontset-menu): Exclue fontset-auto* from the list.
582
583 * composite.el (compose-chars-after): Assume that WINDOW is always
584 non-nil.
585
586 * faces.el (font-weight-table, font-slant-table)
587 (font-swidth-table): Declare them by defconst. Change the format
588 of elements. Call internal-set-font-style-table after their
589 declaration.
590 (face-valid-attribute-values): Call font-family-list. Get values
591 for width, weight, and slant from font-xxx-table.
592
593 * cus-face.el (custom-face-attributes): Add "thin" for :weight.
594
595 2008-05-13 John Paul Wallington <jpw@pobox.com>
596
597 * ibuffer.el (ibuffer-buffer-file-name): New function.
598 (define-ibuffer-column filename): Use it.
599
600 * ibuf-ext.el (define-ibuffer-filter filename): Use it.
601
602 2008-05-13 Chong Yidong <cyd@stupidchicken.com>
603
604 * talk.el (talk): Simplify. Pass display arg to talk-add-display
605 as a string.
606 (talk-add-display): Simplify. Accept only string args.
607
608 2008-05-13 Jay Belanger <jay.p.belanger@gmail.com>
609
610 * calc/calc.el (calc-mode-map): Remove old keybinding for `calc-yank'.
611
612 2008-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
613
614 * Makefile.in (bootstrap-prepare): Don't chmod files.
615 (autoloads): Do it here instead, where it's actually needed.
616
617 2008-05-13 Chong Yidong <cyd@stupidchicken.com>
618
619 * tool-bar.el (tool-bar-make-keymap): Account for the optional
620 KEY-BINDING-DATA field in menu-item list.
621
622 2008-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
623
624 * dired.el (dired-read-dir-and-switches): Move things about to use less
625 recursion during macroexpansion.
626
627 * dired.el (dired-read-dir-and-switches): Use read-file-name.
628
629 * dired.el (dired-read-dir-and-switches): Ignore ., .., and
630 completion-ignored-extension directories if there's something else.
631 (dired-mark-if, dired-map-over-marks, dired-readin, dired-revert)
632 (dired-remember-marks, dired-undo, dired-build-subdir-alist)
633 (dired-internal-do-deletions, dired-mark-files-in-region, dired-mark)
634 (dired-toggle-marks, dired-change-marks, dired-unmark-all-files):
635 buffer-read-only -> inhibit-read-only.
636
637 2008-05-12 Eric S. Raymond <esr@snark.thyrsus.com>
638
639 * vc.el (vc-expand-dirs): Stop this function from tossing out
640 explicitly specified files.
641
642 2008-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
643
644 * smerge-mode.el (smerge-apply-resolution-patch): Don't pass nil
645 to `insert'.
646
647 2008-05-12 Dan Nicolaescu <dann@ics.uci.edu>
648
649 * vc.el (vc-annotate-show-diff-revision-at-line): Remove incorrect
650 cons. Use vc-annotate-backend.
651 (with-vc-file, edit-vc-file): Remove unused macros.
652
653 2008-05-12 Teodor Zlatanov <tzz@lifelogs.com>
654
655 * mail/smtpmail.el: Add autoload for `auth-source-user-or-password'.
656 (smtpmail-try-auth-methods): Use it.
657
658 2008-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
659
660 * emacs-lisp/cl.el (cl-set-nthcdr): Make it a defsubst so that
661 (setf (nthcdr ..) ..) doesn't require CL at runtime.
662
663 2008-05-11 Carsten Dominik <dominik@science.uva.nl>
664
665 * org/org.el (org-modules): Repair problems with loading org-jsinfo.org.
666
667 2008-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
668
669 * vc-bzr.el (vc-bzr-sha1, vc-bzr-command-discarding-stderr)
670 (vc-bzr-revision-completion-table): Use process-file.
671 (vc-bzr-working-revision): Pass relative file names.
672
673 * diff-mode.el (diff-hunk-header-re): Refine the regexp.
674
675 2008-05-11 Juri Linkov <juri@jurta.org>
676
677 * wid-edit.el (widget-image-directory): Change default image data
678 subdirectory from "custom" to "images/custom".
679
680 * info.el (Info-next-preorder): Let-bind `Info-history' to nil
681 before recursive call to `Info-next-preorder' to not add
682 intermediate nodes to the history.
683
684 * isearch.el: Put isearch-scroll property on recenter-top-bottom.
685
686 * emulation/cua-base.el: Put isearch-scroll property
687 on cua-scroll-up and cua-scroll-down.
688
689 2008-05-11 Eric S. Raymond <esr@snark.thyrsus.com>
690
691 * vc-hooks.el (vc-recompute-state): Remove (dead code).
692
693 2008-05-10 Dan Nicolaescu <dann@ics.uci.edu>
694
695 * vc-dispatcher.el (ewoc): Require.
696 (vc-log-edit, vc-buffer-sync): Declare for byte compiler.
697
698 * vc-hg.el (vc-hg-diff, vc-hg-annotate-command): Use when not if.
699
700 2008-05-10 Chong Yidong <cyd@stupidchicken.com>
701
702 * term/w32-win.el (x-colors):
703 * term/mac-win.el (x-colors):
704 * term/x-win.el (x-colors): Re-order colors.
705
706 2008-05-10 Reiner Steib <reiner.steib@gmx.de>
707
708 * smerge-mode.el (smerge-command-prefix): Fix custom type.
709
710 2008-05-10 Eric S. Raymond <esr@snark.thyrsus.com>
711
712 * vc-dispatcher.el (vc-dir-next-directory, vc-dir-prev-directory):
713 New functions implementing motion to next and previous directory.
714
715 * vc-arch.el (vc-arch-command):
716 * vc-bzr.el (vc-bzr-command):
717 * vc-cvs.el (vc-cvs-command):
718 * vc-dispatcher.el (vc-do-command):
719 * vc-git.el (vc-git-command):
720 * vc-hg.el (vc-hg-command):
721 * vc-mcvs.el (vc-mvcs-command):
722 * vc-mtn.el (vc-mtn-command):
723 * vc-sccs.el (vc-sccs-command, vc-sccs-workfile)
724 (vc-sccs-workfile-unchanged-p):
725 * vc-svn.el (vc-svn-command, vc-svn-create-repo),
726 * vc-rcs.el (all methods): Remove assumption about what a nil
727 argument to vc-do-command means. This means no buffer name needs
728 to be hardcoded into the dispatcher layer, and it's better to be
729 explicit anyway.
730
731 * vc-svn.el (vc-svn-dir-state-heuristic): Remove.
732
733 2008-05-10 Dan Nicolaescu <dann@ics.uci.edu>
734
735 * vc.el: Update todo.
736
737 * vc-sccs.el (vc-sccs-dir-status):
738 * vc-rcs.el (vc-rcs-dir-status): Avoid using results from multiple
739 backends and returning up to date files.
740
741 * vc-hooks.el (vc-prefix-map): Remove duplicate binding.
742
743 2008-05-09 Eric S. Raymond <esr@snark.thyrsus.com>
744
745 * vc.el (vc-dir):
746 * vc-hooks.el: Tweak the VC directory bindings. These are now
747 documented in the manual.
748
749 * vc-dispatcher.el (vc-dir-update, vc-dir-parent-marked-p)
750 (vc-dir-children-marked-p): Remove the vc-dir-insert-directories global.
751 (vc-dispatcher-selection-set): Allow callers to pass in an
752 observer flag that says no buffer sync is required.
753 * vc.el (vc-deduce-fileset, vc-print-log, vc-version-diff):
754 Use the observer flag.
755
756 2008-05-09 Michael Albinus <michael.albinus@gmx.de>
757
758 * simple.el (start-file-process): Clarify docstring.
759
760 2008-05-09 Eric S. Raymond <esr@snark.thyrsus.com>
761
762 * vc-sccs.el, vc.svn.el, vc-git.el, vc-hg.el, vc-mtn.el:
763 Remove stub implementations of, and references to, wash-log.
764 * vc-rcs.el (vc-rcs-comment-history):
765 * vc-cvs.el (vc-cvs-comment-history):
766 Inline the code that used to be wash-log.
767
768 * vc-sccs.el (vc-sccs-checkin, vc-sccs-checkout, vc-sccs-rollback)
769 (vc-sccs-revert, vc-sccs-steal-lock, vc-sccs-modify-change-comment)
770 (vc-sccs-print-log, vc-sccs-diff): Grok directories.
771 * vc-rcs.el (vc-sccs-checkin, vc-sccs-checkout)
772 (vc-rcs-revert, vc-rcs-steal-lock, vc-rcs-modify-change-comment)
773 (vc-rcs-print-log): Grok directories.
774
775 2008-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
776
777 * vc.el (vc-mark-resolved): Add `backend' argument.
778 (vc-next-action): Pass it the backend.
779 (vc-next-action, vc-checkout, vc-mark-resolved, vc-version-diff)
780 (vc-merge, vc-rollback, vc-update, vc-transfer-file, vc-delete-file)
781 (vc-default-comment-history, vc-default-create-snapshot)
782 (vc-default-retrieve-snapshot, vc-default-revert, vc-annotate)
783 (vc-annotate-revision-previous-to-line)
784 (vc-annotate-show-diff-revision-at-line, vc-annotate-warp-revision):
785 * vc-svn.el (vc-svn-checkout):
786 * vc-mcvs.el (vc-mcvs-checkout):
787 * vc-hooks.el (vc-state, vc-default-workfile-unchanged-p)
788 (vc-working-revision, vc-before-save, vc-mode-line):
789 Prefer vc-call-backend to vc-call so as not to recompute the backend.
790
791 * vc.el (vc-deduce-fileset): Don't require the checkout-model and the
792 state to be consistent since it's often an unwarranted restriction.
793 Don't return the state either.
794 (vc-next-action): Check that the state is consistent.
795 (vc-diff-internal, vc-version-diff, vc-print-log, vc-revert)
796 (vc-rollback, vc-update): Adapt to new return value of
797 vc-deduce-fileset.
798
799 * vc-dispatcher.el (vc-dispatcher-browsing): Use derived-mode-p.
800 (vc-dir-prepare-status-buffer): Use vc-dispatcher-browsing.
801 (vc-dispatcher-in-fileset-p): New fun.
802 (vc-dispatcher-selection-set): Use it to properly handle directories.
803
804 2008-05-09 Dan Nicolaescu <dann@ics.uci.edu>
805
806 * vc.el (vc-version-diff, vc-print-log, vc-revert, vc-rollback)
807 (vc-update): Remove unused let bindings.
808
809 2008-05-09 Eric S. Raymond <esr@snark.thyrsus.com>
810
811 * vc.el (vc-deduce-fileset, vc-next-action, vc-version-diff)
812 (vc-diff, vc-revert, vc-rollback, vc-update):
813 * vc-dispatcher.el (vc-dispatcher-selection-set):
814 Get rid of 4 special cases in fileset selection. This involved
815 changing the return value of (vc-deduce-fileset) so that it passes
816 back a deduced state as well as a deduced back end.
817
818 2008-05-08 Sam Steingold <sds@gnu.org>
819
820 * progmodes/compile.el (compilation-minor-mode-map)
821 (compilation-mode-map): Bind "g" to recompile and "q" to quit-window.
822 * grep.el (grep-mode-map): Use `set-keymap-parent' to connect it
823 to `compilation-minor-mode-map' (instead of an explicit `cons').
824
825 2008-05-08 Juanma Barranquero <lekktu@gmail.com>
826
827 * org/org.el (org-modules, org-format-latex-options):
828 * org/org-archive.el (org-archive-stamp-time)
829 (org-archive-save-context-info):
830 * org/org-faces.el (org-hide):
831 * org/org-irc.el (org-irc-parse-link):
832 * org/org-macs.el (org-call-with-arg, org-autoload):
833 * org/org-mew.el (org-mew-store-link):
834 * org/org-remember.el (org-remember-store-without-prompt)
835 (org-remember-templates): Fix typos in docstrings.
836
837 * org/org-info.el (org-info-store-link): Remove leftover docstring.
838
839 * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
840 (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
841 (org-bbdb-anniv-split): Fix typos in docstrings.
842
843 * org/org-publish.el (org-publish-project-alist): Doc fixes.
844 (org-publish-use-timestamps-flag): Reflow docstring.
845 (org-publish-files-alist): Fix typos in docstring.
846
847 2008-05-07 Sam Steingold <sds@gnu.org>
848
849 * pcvs-util.el (cvs-bury-buffer): Revert my patch: quit-window
850 appears to be too aggressive with window removal.
851
852 2008-05-08 Michael McNamara <mac@mail.brushroad.com>
853
854 * verilog-mode.el (verilog-type-font-keywords): Add leda and 0in
855 as pragma keywords.
856 (verilog-pretty-expr): Support lining up assignments which include
857 part selects.
858 (verilog-mode): More portable check for the availability of
859 hideshow support.
860 (verilog-do-indent): Remove special indent for declarations inside
861 a parenthetical list. The code is ill-advised, and doesn't work
862 given the new user defined types.
863 (verilog-set-auto-endcomments): Enhance function automatic
864 endcomment to support functions that return user defined types.
865 (verilog-mode): Add code to tell which-function-mode minor mode
866 that Verilog supports this feature.
867
868 2008-05-08 Eli Zaretskii <eliz@gnu.org>
869
870 * epa-file.el: Require epa-hook.
871
872 * loadup.el ("epa-hook"): Load epa-hook instead of epa-file-hook.
873
874 * epa-hook.el: Renamed from epa-file-hook.el, to avoid
875 file-names clashes on 8+3 filesystems. Provide epa-hook.
876
877 * org/org-jsinfo.el: Renamed from org-infojs.el, to avoid
878 file-names clashes on 8+3 filesystems.
879
880 2008-05-08 Carsten Dominik <dominik@science.uva.nl>
881
882 * org/org.el (org-read-date-get-relative): Interpret lone
883 weekday abbreviation as relative to today.
884
885 2008-05-08 Juanma Barranquero <lekktu@gmail.com>
886
887 * abbrev.el (define-abbrev-table):
888 * composite.el (toggle-auto-composition):
889 * json.el (json-alist-p, json-plist-p):
890 * minibuffer.el (completion-table-with-predicate):
891 * ps-mule.el (ps-mule-external-libraries):
892 * emacs-lisp/advice.el (ad-special-form-p):
893 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
894 * eshell/em-smart.el (eshell-review-quick-commands):
895 * progmodes/python.el (python-comment-line-p, python-blank-line-p)
896 (python-skip-out, python-check-comint-prompt):
897 Don't use `iff' in docstrings.
898
899 * international/robin.el (robin-package-alist): Fix typo in docstring.
900 (robin-current-package-name): Doc fix.
901 (robin-activate): Don't use `iff' in docstring.
902
903 2008-05-07 Eric S. Raymond <esr@snark.thyrsus.com>
904
905 * vc.el, vc-dispatcher.el: VC-Dired support removed.
906 The code uses a ewoc-based implementation now.
907 * vc-hooks.el: Support for Meta-CVS has been removed.
908
909 2008-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
910
911 * tool-bar.el: Choose images dynamically.
912 (tool-bar-make-keymap, tool-bar-find-image): New function.
913 (tool-bar-find-image-cache): New var.
914 (tool-bar-local-item, tool-bar-local-item-from-menu):
915 Don't select the image yet, do it later in tool-bar-make-keymap.
916
917 2008-05-07 Andreas Schwab <schwab@suse.de>
918
919 * window.el: Require 'cl when compiling.
920
921 2008-05-07 Dan Nicolaescu <dann@ics.uci.edu>
922
923 * vc-dispatcher.el (vc-dir-insert-directories): Default to t.
924
925 2008-05-07 Glenn Morris <rgm@gnu.org>
926
927 * subr.el (ignore-errors): Move here from cl-macs.el.
928 * emacs-lisp/cl-macs.el (ignore-errors): Move to subr.el.
929
930 * progmodes/fortran.el (fortran-mode): Fix font-lock-syntactic-keywords
931 oddness.
932
933 2008-05-06 Eric S. Raymond <esr@snark.thyrsus.com>
934
935 * vc-hooks.el (vc-find-file-hook):
936 * vc-dispatcher.el (vc-resynch-window): Decouple vc-dispatcher
937 further from vc.el.
938 * vc.el (vc-dir-mode): Move VC-specific context menu entries here.
939
940 2008-05-06 Wilson Snyder <wsnyder@wsnyder.org>
941
942 * verilog-mode.el (verilog-getopt-file): Cleanup warning message format.
943 (verilog-auto, verilog-auto-arg, verilog-auto-ascii-enum)
944 (verilog-auto-inout, verilog-auto-inout-module)
945 (verilog-auto-input, verilog-auto-inst, verilog-auto-inst-param)
946 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
947 (verilog-auto-reg-input, verilog-auto-reset, verilog-auto-sense)
948 (verilog-auto-sense-sigs, verilog-auto-tieoff)
949 (verilog-auto-unused, verilog-auto-wire)
950 (verilog-decls-get-assigns, verilog-decls-get-consts)
951 (verilog-decls-get-gparams, verilog-decls-get-inouts)
952 (verilog-decls-get-inputs, verilog-decls-get-outputs)
953 (verilog-decls-get-ports, verilog-decls-get-regs)
954 (verilog-decls-get-signals, verilog-decls-get-wires)
955 (verilog-dir-cache-lib-filenames, verilog-dir-cache-list)
956 (verilog-dir-cache-preserving, verilog-dir-file-exists-p)
957 (verilog-dir-files, verilog-expand-dirnames, verilog-getopt-file)
958 (verilog-inject-sense, verilog-library-filenames)
959 (verilog-mode-release-date, verilog-mode-version)
960 (verilog-modi-cache-add, verilog-modi-cache-preserve-buffer)
961 (verilog-modi-cache-preserve-tick, verilog-modi-cache-results)
962 (verilog-modi-get-assigns, verilog-modi-get-consts)
963 (verilog-modi-get-gparams, verilog-modi-get-inouts)
964 (verilog-modi-get-inputs, verilog-modi-get-outputs)
965 (verilog-modi-get-ports, verilog-modi-get-regs)
966 (verilog-modi-get-signals, verilog-modi-get-sub-inouts)
967 (verilog-modi-get-sub-inputs, verilog-modi-get-sub-outputs)
968 (verilog-modi-get-wires, verilog-preserve-cache)
969 (verilog-preserve-dir-cache, verilog-preserve-modi-cache)
970 (verilog-read-sub-decls, verilog-read-sub-decls-line)
971 (verilog-read-sub-decls-sig, verilog-subdecls-get-inouts)
972 (verilog-subdecls-get-inputs, verilog-subdecls-get-outputs):
973 Add caching of additional state, and rework signal extraction
974 routines to improve AUTO expansion performance by 300%++.
975
976 2008-05-06 Chong Yidong <cyd@stupidchicken.com>
977
978 * progmodes/compile.el (compilation-error-regexp-alist-alist):
979 Tweak Open Watcom regexp to distinguish between errors and warnings.
980
981 2008-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
982
983 * dired.el (dired-read-dir-and-switches): Fix up last change.
984
985 2008-05-05 Eric S. Raymond <esr@snark.thyrsus.com>
986
987 * vc.el (vc-deduce-fileset): Lift all the policy and UI stuff
988 out of this function, move it to vc-dispatcher-selection-set.
989
990 2008-05-05 Sam Steingold <sds@gnu.org>
991
992 * window.el (delete-other-windows-vertically): New function.
993
994 2008-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
995
996 * dired.el (dired-read-dir-and-switches):
997 Obey read-file-name-completion-ignore-case.
998
999 2008-05-05 Nick Roberts <nickrob@snap.net.nz>
1000
1001 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1002 Add regexp for Open Watcom compiler output.
1003
1004 2008-05-05 Phil Sung <psung@mit.edu> (tiny change)
1005
1006 * progmodes/python.el (python-block-pairs): Align finally with except.
1007
1008 2008-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1009
1010 * vc-rcs.el (vc-rcs-fetch-master-state): Fix inf-loop.
1011
1012 2008-05-05 Tom Tromey <tromey@redhat.com>
1013
1014 * smerge-mode.el (smerge-start-session): Don't call smerge-next if
1015 looking at conflict marker.
1016
1017 2008-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1018
1019 * vc-dispatcher.el (vc-dir-mark-buffer-changed): Fix typo
1020 client-mode -> vc-client-object, and guess `funcall' was meant.
1021 (vc-dir-mode): Rename client-mode -> vc-client-mode.
1022
1023 2008-05-05 Dan Nicolaescu <dann@ics.uci.edu>
1024
1025 * net/zeroconf.el (dbus-call-method, dbus-register-signal)
1026 (dbus-debug): Move declarations outside eval-when-compile.
1027
1028 2008-05-04 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
1029
1030 * proced.el (proced-command-alist): Fix system-type values.
1031 Fix defcustom.
1032 (proced-sorting-schemes-alist, proced-sorting-scheme): New variables.
1033 (proced-sort-pcpu, proced-sort-pmem, proced-sort-pid)
1034 (proced-sort-start, proced-sort, proced-sort-time): New commands.
1035 (proced-update): Use proced-sorting-scheme. Update modeline.
1036 (proced-send-signal): Use nreverse.
1037 (proced-sorting-scheme-p): New function.
1038
1039 2008-05-04 Andreas Schwab <schwab@suse.de>
1040
1041 * vc.el: Require dired when compiling.
1042
1043 * minibuffer.el (completion--insert-strings): Don't delete past bol.
1044
1045 2008-05-03 Glenn Morris <rgm@gnu.org>
1046
1047 * ediff-diff.el, ediff-help.el, ediff-merg.el, ediff-mult.el:
1048 * ediff-ptch.el, ediff-util.el, ediff-wind.el, ediff.el:
1049 Simplify compilation requirements.
1050 * ediff-init.el, ediff-vers.el: Remove unnecessary variable
1051 declarations.
1052
1053 2008-05-03 Dave Love <fx@gnu.org>
1054
1055 * progmodes/python.el (python-beginning-of-statement):
1056 Loop at least once (fixes 2008-02-21 change).
1057
1058 2008-05-03 Eli Zaretskii <eliz@gnu.org>
1059
1060 * ls-lisp.el (ls-lisp-insert-directory): Use `string-width'
1061 instead of `length' for comparing length of user and group names.
1062
1063 2008-05-03 Eric S. Raymond <esr@snark.thyrsus.com>
1064
1065 * vc-dispatcher.el: New file, separates out the UI and command
1066 execution machinery from VCS-specific logic left in vc.el.
1067 The separation is not yet completely clean, but it's a good start.
1068 * vc.el: This file is about 1700 lines shorter now.
1069 Remove obsolete logentry-check from the backend API.
1070 * vc-sccs.el (vc-sccs-logentry-check): Remove. This was the only
1071 implementation of the logentry-check method, and it guarded against
1072 a log length limit that has probably been obsolete for 15 years (!).
1073
1074 2008-05-02 Sam Steingold <sds@gnu.org>
1075
1076 * progmodes/compile.el (compilation-start): Move setting of
1077 compilation-directory after (funcall mode) as that resets local
1078 variables, this fixes recompile in grep buffers.
1079 * grep.el (grep-mode-map): Bind "g" to recompile (like in dired &c).
1080
1081 2008-05-02 Eric S. Raymond <esr@snark.thyrsus.com>
1082
1083 * vc-arch.el, vc-bzr.el, vc-cvs.el, vc-git.el, vc-hg.el,
1084 * vc-hooks.el, vc-mcvs.el, vc-mtn.el, vc-rcs.el, vc-sccs.el,
1085 * vc-svn.el, vc.el (vc-*-checkout-model): Make sure every backend
1086 has one of these and that all are called in compatible ways.
1087 * vc-arch.el, vc-bzr.el, vc-cvs.el, vc-git.el, vc-hg.el,
1088 * vc-hooks.el, vc-mcvs.el, vc-mtn.el, vc-rcs.el, vc-sccs.el,
1089 * vc-svn.el, vc.el (vc-*-revision-granularity): Make sure every
1090 backend has one of these.
1091
1092 2008-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1093
1094 * progmodes/octave-mod.el (octave-abbrev-table): Move defvar and
1095 initialization into define-abbrev-table. Use :regexp.
1096 (octave-mode-syntax-table): Don't set word syntax for `.
1097
1098 * files.el (minibuffer-with-setup-hook): Allow `fun' expressions rather
1099 than only value.
1100
1101 * dired.el (dired-read-dir-and-switches):
1102 Set minibuffer-completing-file-name and call substitute-in-file-name.
1103 (dired-format-columns-of-files): Use completion--insert-strings.
1104
1105 * minibuffer.el (completion-hilit-commonality): Revert last change:
1106 the leftover code was actually useful.
1107 (completion--insert-strings): Use string-width rather than length.
1108
1109 2008-05-02 Sam Steingold <sds@gnu.org>
1110
1111 * vc.el (vc-dir-mode-map): Enable mouse bindings.
1112 (vc-at-event): New macro: run the body at the even location.
1113 (vc-dir-menu, vc-dir-toggle-mark): Use it.
1114 (vc-dir-mark-file, vc-dir-unmark-file): Move only on non-mouse events.
1115 * subr.el (mouse-event-p): Check if the even is mouse-related.
1116
1117 2008-05-02 Nick Roberts <nickrob@snap.net.nz>
1118
1119 * progmodes/gdb-ui.el (gdb-info-breakpoints-custom):
1120 Don't throw error if no file is found.
1121
1122 2008-05-02 Juanma Barranquero <lekktu@gmail.com>
1123
1124 * vc-hooks.el (vc-call, vc-state): Fix typos in docstrings.
1125 (vc-default-state-heuristic): Doc fix.
1126
1127 2008-05-02 Richard Sharman <rsharman@pobox.com>
1128
1129 * hilit-chg.el (highlight-changes-mode): Remove references to
1130 hooks that no longer exist. Because define-minor-mode is used the
1131 hook highlight-changes-mode-hook exists and can do what both the
1132 old hooks used to do. The documentation at the top of the file
1133 was updated to demonstrate this.
1134 (highlight-changes-mode): Remove commented out call to a hook
1135 function that is no longer there.
1136 (hilit-chg-set): Remove running of highlight-changes-enable-hook.
1137
1138 2008-05-02 Eric S. Raymond <esr@snark.thyrsus.com>
1139
1140 * vc.el (vc-default-dired-state-info): Change name of primitive
1141 to prettify-state-info, in preparation for ripping out dired mode.
1142 * vc-bzr.el (vc-bzr-dired-state-info): Change name of primitive
1143 to prettify-state-info, in preparation for ripping out dired mode.
1144 * vc-hooks.el (vc-toggle-read-only): Throw an error when a user
1145 tries this on a version-controlled buffer. It will do useless or
1146 actively bad things on any version control system newer than RCS.
1147 * vc-hooks.el (vc-dired-resynch-file):
1148 * vc.el (vc-dired-resynch-file): Change name of primitive to
1149 vc-directory-resynch-file, preparing to remove dired.
1150
1151 2008-05-02 Dan Nicolaescu <dann@ics.uci.edu>
1152
1153 * vc-rcs.el (vc-rcs-state): Fix typos.
1154
1155 * vc.el (vc-register): Change argument order so that the prefix
1156 argument is assigned correctly.
1157 (vc-next-action, vc-dir-register): Update for the above change.
1158
1159 2008-05-01 Juri Linkov <juri@jurta.org>
1160
1161 * replace.el (occur-read-primary-args): Set default to the car of
1162 regexp-history and display it in the prompt, but don't add to the
1163 list of minibuffer defaults. Bind history-add-new-input to nil to
1164 not add automatically `default'. For empty input return `default'.
1165 Otherwise, add `input' to regexp-history and return it.
1166 (occur-1): Signal an error for the empty regexp.
1167
1168 * progmodes/compile.el (compilation-auto-jump):
1169 Set window point to `pos' explicitly.
1170
1171 2008-05-01 Eric S. Raymond <esr@snark.thyrsus.com>
1172
1173 * vc-bzr.el (vc-bzr-state): Allow this to return 'ignored
1174 when appropriate.
1175 * vc-sccs.el (vc-sccs-state): Call vc-sccs-unregistered so
1176 we report the 'unregistered state reliably.
1177 * vc-rcs.el (vc-rcs-state): Call vc-rcs-unregistered so
1178 we report the 'unregistered state reliably.
1179 * vc-git.el (vc-git-state): Call vc-git-unregistered so
1180 we report the 'unregistered state reliably.
1181 * vc-hooks (vc-state): Document that vc-unregistered is
1182 now expected to be returned reliably.
1183 * vc.el (vc-default-dired-state): Change needs-patch state to
1184 needs-update, since the name now shows up in dir-status listings
1185 and was somewhat misleading.
1186 * vc-cvs.el (vc-cvs-delete-file): Don't do a "cvs commit"
1187 immediately after removing the file.
1188 * vc.el (vc-next-action): More informative messages when a fileset
1189 is in a mixed state or files are missing.
1190
1191 2008-05-01 Sam Steingold <sds@gnu.org>
1192
1193 * vc.el (vc-delete-file): Check if the file has uncommitted changes.
1194
1195 2008-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1196
1197 * Makefile.in: Revert incorrect fix for claimed bootstrap breakage.
1198
1199 2008-05-01 Daiki Ueno <ueno@unixuser.org>
1200
1201 * epa-file-hook.el: New file split from epa-file.el.
1202 * epa-file.el: Require 'epa-file-hook.
1203 (epa-file-handler): Add autoload cookie.
1204 * loadup.el: Load epa-file-hook.
1205 * startup.el (command-line): Eval the body of auto-encryption-mode.
1206
1207 2008-05-01 Dan Nicolaescu <dann@ics.uci.edu>
1208
1209 * vc.el (vc-dir-mode-map): Don't bind "r".
1210
1211 * vc-hg.el (vc-hg-extra-fileinfo): New defstruct.
1212 (vc-hg-status-printer): New function.
1213 (vc-hg-after-dir-status): Deal with copied and renamed files.
1214 (vc-hg-dir-status): Add flag to show copied files.
1215
1216 2008-05-01 John Paul Wallington <jpw@pobox.com>
1217
1218 * ibuffer.el (ibuffer-last-sorting-mode): New variable.
1219 (ibuffer-do-sort-by-recency): Reverse sorting order if last
1220 sorting mode was recency.
1221
1222 * ibuf-macs.el (define-ibuffer-sorter): Define the sorter to
1223 reverse sorting order if last sorting mode was the sorter's.
1224
1225 2008-05-01 Jason Rumney <jasonr@gnu.org>
1226
1227 * w32-fns.el (w32-charset-info-alist): Map vietnamese to windows-1258.
1228
1229 2008-04-30 John Paul Wallington <jpw@pobox.com>
1230
1231 * ibuffer.el (define-ibuffer-column filename): When the major mode
1232 is `vc-dir-mode' show the buffer's default directory.
1233
1234 * ibuf-ext.el (define-ibuffer-filter filename): Likewise when the
1235 major mode is `vc-dir-mode' use the buffer's default directory.
1236
1237 2008-04-30 Sam Steingold <sds@gnu.org>
1238
1239 * vc.el (vc-dir-delete-file): Add.
1240 (vc-dir-mode-map): Bind "r" to vc-dir-delete-file, like in PCL-CVS.
1241 (vc-delete-file): Do not barf when the file has been already deleted.
1242
1243 2008-04-30 Dan Nicolaescu <dann@ics.uci.edu>
1244
1245 * emacs-lisp/lisp-mode.el (lisp-mode-map): Add menu.
1246
1247 2008-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
1248
1249 * progmodes/octave-mod.el (octave-help): New function.
1250 * progmodes/octave-hlp.el: Delete.
1251 * info-look.el (octave-mode): Add operator index.
1252
1253 * vc.el (vc-checkout): Typo.
1254
1255 2008-04-30 Dan Nicolaescu <dann@ics.uci.edu>
1256
1257 * menu-bar.el (menu-bar-tools-menu): Reorder, place Games last.
1258 Add "..." in the appropriate places.
1259
1260 * epa.el (epa-key-list-mode-map): Add more menu entries.
1261 Add "..." in the appropriate places.
1262
1263 * dired.el (dired-mode-map): Add :help.
1264
1265 * vc.el (vc-deduce-fileset): Add new parameter.
1266 (vc-dir-marked-only-files): New function.
1267 (vc-next-action): Don't ignore directories, look at the files
1268 inside them.
1269 (vc-dir-mode): Document how the mark/unmark commands work.
1270
1271 2008-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
1272
1273 * progmodes/compile.el (compilation-error-regexp-alist-alist) <gnu>:
1274 Rule out trailing spaces in file and directory names as well.
1275
1276 * minibuffer.el (completion--do-completion): Move point even if the
1277 completion makes no change.
1278 (completion-pcm-try-completion): Fix computation of new point.
1279
1280 2008-04-30 David Hansen <david.hansen@gmx.net>
1281
1282 * dired.el: Require 'cl.
1283
1284 2008-04-30 Nick Roberts <nickrob@snap.net.nz>
1285
1286 * progmodes/gdb-ui.el (gdb-frame-handler-1): Make overlay arrow
1287 hollow if not in innermost frame.
1288
1289 2008-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
1290
1291 Make `checkout-model' apply to filesets.
1292 * vc-hooks.el (vc-checkout-model): Rewrite.
1293 (vc-before-save, vc-after-save): Adjust callers accordingly.
1294 * vc.el (vc-editable-p, vc-next-action, vc-checkout, vc-update)
1295 (vc-transfer-file): Adjust callers accordingly.
1296 * vc-rcs.el (vc-rcs-checkout-model): Adjust arg.
1297 (vc-rcs-state, vc-rcs-state-heuristic, vc-rcs-receive-file)
1298 (vc-rcs-checkout, vc-rcs-fetch-master-state): Use vc-rcs-checkout-model
1299 instead of vc-checkout-model.
1300 * vc-mcvs.el (vc-mcvs-revert):
1301 Use vc-mcvs-checkout-model i.s.o vc-checkout-model.
1302 * vc-cvs.el (vc-cvs-checkout-model): Adjust arg.
1303 (vc-cvs-revert): Use vc-cvs-checkout-model i.s.o vc-checkout-model.
1304 * vc-svn.el (vc-svn-checkout-model):
1305 * vc-hg.el (vc-hg-checkout-model):
1306 * vc-git.el (vc-git-checkout-model):
1307 * vc-bzr.el (vc-bzr-checkout-model): Adjust arg.
1308
1309 * dired.el (dired-read-dir-and-switches): Replace last change with
1310 a new approach that mixes read-file-name and read-directory-name.
1311
1312 * files.el (read-buffer-to-switch):
1313 Avoid making assumptions about `other-buffer'.
1314
1315 2008-04-29 Sam Steingold <sds@gnu.org>
1316
1317 * vc.el (vc-dir-mode-hook): Add normal hook.
1318 (vc-dir-mode): Run it.
1319
1320 2008-04-29 Nick Roberts <nickrob@snap.net.nz>
1321
1322 * progmodes/gdb-ui.el (gdb-display-buffer): Don't pop up GUD buffer.
1323 Always split windows.
1324 (gdb-speedbar-timer-fn): Only raise frame after user input.
1325 (gdb-same-frame): Reverse initial value.
1326 (gdb-display-gdb-buffer): Check for GUD buffer in other frames.
1327
1328 * progmodes/gud.el (gud-speedbar-buttons): Raise frame in
1329 gdb-speedbar-timer-fn.
1330
1331 2008-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
1332
1333 * uniquify.el (uniquify-rationalize-a-list): Beware of side-effects.
1334
1335 2008-04-29 Daiki Ueno <ueno@unixuser.org>
1336
1337 * epa.el (epa-key-list-mode-map): Add menu.
1338 (epa-delete-keys, epa-import-keys): Fix typo.
1339
1340 2008-04-29 Glenn Morris <rgm@gnu.org>
1341
1342 * find-cmd.el (top-level): Does not need cl when compiling.
1343
1344 2008-04-29 Phil Jackson <phil@shellarchive.co.uk>
1345
1346 * find-cmd.el: New file.
1347
1348 2008-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
1349
1350 * minibuffer.el (completion-hilit-commonality): Remove leftover code.
1351 (completion-pcm--pattern->regex): Let `group' be a list of symbols.
1352 (completion-pcm--hilit-commonality): New function.
1353 (completion-pcm-all-completions): Use it.
1354
1355 * minibuffer.el (completion-common-substring): Mark obsolete.
1356 (completions-first-difference, completions-common-part):
1357 Move from simple.el.
1358 (completion-hilit-commonality): New fun.
1359 (display-completion-list, completion-emacs21-all-completions)
1360 (completion-emacs22-all-completions): Use it.
1361 * simple.el (completions-first-difference, completions-common-part):
1362 Move to minibuffer.el.
1363 (choose-completion-string): Use field functions and minibufferp.
1364 (completion-setup-function): Don't set completions faces.
1365
1366 2008-04-29 Glenn Morris <rgm@gnu.org>
1367
1368 * calendar/calendar.el (calendar-nth-named-absday)
1369 (calendar-nth-named-day):
1370 * calendar/diary-lib.el (diary-list-sexp-entries, diary-float):
1371 * calendar/holidays.el (holiday-float): Doc fixes.
1372
1373 * emacs-lisp/check-declare.el (check-declare-errmsg): Fix counting in
1374 the `full' case.
1375
1376 * org/org-agenda.el (calendar-iso-from-absolute):
1377 * org/org.el (calendar-absolute-from-iso, calendar-iso-from-absolute):
1378 Fix declarations.
1379
1380 2008-04-28 Nick Roberts <nickrob@snap.net.nz>
1381
1382 * progmodes/gdb-ui.el (gdb-info-breakpoints-custom): Make breakpoint
1383 icons work for assembler, i.e. FILE.s, FILE.S (not disassembly).
1384 (gdb-goto-breakpoint): Likewise for visiting breakpoints.
1385 (gdb-assembler-custom): Be careful not to match other addresses.
1386
1387 2008-04-29 Jason Rumney <jasonr@gnu.org>
1388
1389 * battery.el (battery-status-function): Use w32-battery-status
1390 on Windows.
1391 (battery-echo-area-format): Make apm format the general case.
1392 (battery-mode-line-format): Merge apm and pmset formats as the
1393 general case.
1394
1395 2008-04-29 Nick Roberts <nickrob@snap.net.nz>
1396
1397 * progmodes/gdb-ui.el (gdb-info-stack-custom):
1398 Use gud-tool-bar-item-visible-no-fringe.
1399 (gdb-display-buffer): Don't pop new buffer if gud-comint-buffer
1400 is already visible in frame. Remove optional size parameter
1401 and add optional frame parameter.
1402
1403 * progmodes/gud.el (gud-display-line): Only consider visible
1404 frames when looking for source buffer.
1405
1406 2008-04-28 Chong Yidong <cyd@stupidchicken.com>
1407
1408 * doc-view.el (doc-view-new-window-function): Avoid using WINDOW
1409 argument to get-char-property, in case the current buffer hasn't
1410 been assigned to that window yet.
1411 (doc-view-display): Default to selected window if the current
1412 buffer hasn't been assigned to a window yet.
1413
1414 2008-04-28 Vinicius Jose Latorre <bzg@altern.org>
1415
1416 * whitespace.el (whitespace-trailing-regexp): Fix docstring.
1417
1418 2008-04-28 Michael Albinus <michael.albinus@gmx.de>
1419
1420 * net/tramp.el (tramp-mode): New defcustom.
1421 (tramp-file-name-handler, tramp-completion-file-name-handler):
1422 Use it.
1423 (tramp-replace-environment-variables): Handle "$$".
1424
1425 2008-04-28 Sam Steingold <sds@gnu.org>
1426
1427 * vc-hg.el (vc-hg-rename-file): Fix argument order.
1428
1429 2008-04-28 Bastien Guerry <bzg@altern.org>
1430
1431 * whitespace.el (whitespace-trailing): Fix typo.
1432
1433 2008-04-28 Sam Steingold <sds@gnu.org>
1434
1435 * textmodes/remember.el (diary-make-entry): Update the autoload.
1436
1437 2008-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1438
1439 * minibuffer.el (completion-pcm--all-completions): Don't pass nil to
1440 all-completions.
1441
1442 2008-04-28 Juanma Barranquero <lekktu@gmail.com>
1443
1444 * desktop.el (desktop-minor-mode-table): Add `savehist-mode'.
1445
1446 2008-04-27 Dan Nicolaescu <dann@ics.uci.edu>
1447
1448 * vc.el (vc-dir-mode-map): Change bindings for unmark all and revert.
1449 (vc-dir-parent-marked-p, vc-dir-children-marked-p): Implement.
1450 (vc-dir-mark-file): Add an optional argument.
1451 (vc-dir-mark-all-files, vc-dir-unmark-all-files): Deal with directories.
1452
1453 2008-04-27 Daiki Ueno <ueno@unixuser.org>
1454
1455 * epa-file.el (epa-file-enable, epa-file-disable): Use find-file-hook
1456 rather than obsolete alias find-file-hooks.
1457 (auto-encryption-mode): Rename from epa-file-mode. Default to on.
1458 Use find-file-hook rather than obsolete alias find-file-hooks.
1459 Add to find-file-not-found-functions.
1460 (epa-file-handler): Put 'safe-magic and 'operations properties.
1461
1462 * epa.el (epa-global-minor-modes, epa-mode, epa-menu)
1463 (epa-menu-items): Remove.
1464
1465 * epa-dired.el (epa-dired-do-decrypt, epa-dired-do-verify)
1466 (epa-dired-do-sign, epa-dired-do-encrypt): Add autoload cookie.
1467 (epa-dired-mode, epa-global-dired-mode): Remove.
1468
1469 * dired.el (dired-mode-map): Bind encryption/decryption commands.
1470
1471 * menu-bar.el (menu-bar-encryption-decryption-menu): New menu item.
1472
1473 * files.el (insert-file-contents-literally): Inhibit epa-file-handler.
1474
1475 2008-04-27 Glenn Morris <rgm@gnu.org>
1476
1477 * textmodes/reftex-global.el (reftex-isearch-switch-to-next-file):
1478 Remove un-needed local `orig-list'. Replace cl `copy-list'.
1479
1480 2008-04-27 Carsten Dominik <dominik@science.uva.nl>
1481
1482 * org/org.el (org-html-level-start): Always have id's in HTML.
1483 (org-export-as-html): Use `org-link-protocols' to
1484 retrieve the export form of the link.
1485 (org-add-link-type): Final parameter renamed from PUBLISH.
1486 Better documentation of how it is to be used. Avoid double entries for
1487 the same link type.
1488 (org-add-link-props): New function.
1489 (org-modules-loaded): New variable.
1490 (org-load-modules-maybe, org-set-modules): New function.
1491 (org-modules): New option.
1492 (org-mode, org-cycle, orgstruct-mode, org-run-like-in-org-mode)
1493 (orgtbl-mode, org-store-link, org-insert-link-global)
1494 (org-open-at-point): Call `org-load-modules-maybe'.
1495 (org-search-view): Add more text properties.
1496 (org-agenda-schedule, org-agenda-deadline): Allow also in
1497 search-type agendas.
1498 (org-search-view): Order of arguments has been changed.
1499 Interpret prefix-arg as TODO-ONLY.
1500 (org-agenda, org-run-agenda-series, org-agenda-manipulate-query):
1501 Take new argument order of `org-search-view' into account.
1502 (org-todo-only): New variable.
1503 (org-search-syntax-table): New variable and function.
1504 (org-search-view): Do the search with the special syntax table.
1505 (define-obsolete-function-alias): Make work with XEmacs.
1506 (org-add-planning-info): Use old date as default when modifying an
1507 existing deadline or scheduled item.
1508 (org-agenda-compute-time-span): Make argument N optional.
1509 (org-agenda-format-date-aligned): Require `cal-iso'.
1510 (org-agenda-list): Include week into agenda heading, don't
1511 list it at each date (only on Mondays).
1512 (org-read-date-analyze): Define local variable `iso-date'.
1513 (org-agenda-format-date-aligned): Remove dependency on
1514 `calendar-time-from-absolute'.
1515 (org-remember-apply-template, org-go-to-remember-target):
1516 Interpret filenames relative to `org-directory'.
1517 (org-complete): Silently fail when trying to complete
1518 keywords that don't have a default value.
1519 (org-get-current-options): Add a #+DATE: option.
1520 (org-additional-option-like-keywords): Remove "DATE:" from the
1521 list of additional keywords.
1522 (org-export-as-html): Remove (current-time) as unnecessary second
1523 argument of `format-time-string'.
1524 (org-clock-find-position): Handle special case at end of buffer.
1525 (org-agenda-day-view): New argument DAY-OF-YEAR, pass it on to
1526 `org-agenda-change-time-span'.
1527 (org-agenda-week-view): New argument ISO-WEEK, pass it on to
1528 `org-agenda-change-time-span'.
1529 (org-agenda-month-view): New argument MONTH, pass it on to
1530 `org-agenda-change-time-span'.
1531 (org-agenda-year-view): New argument YEAR, pass it on to
1532 `org-agenda-change-time-span'.
1533 (org-agenda-change-time-span): New optional argument N, pass it on
1534 to `org-agenda-compute-time-span'.
1535 (org-agenda-compute-time-span): New argument N, interpret it by
1536 changing the starting day.
1537 (org-small-year-to-year): New function.
1538 (org-scheduled-past-days): Respect `org-scheduled-past-days'.
1539 (org-auto-repeat-maybe): Make sure that repeating dates are pushed
1540 into the future, and that the shift is at least one interval, never 0.
1541 (org-update-checkbox-count): Fix bug with checkbox counting.
1542 (org-add-note): New command.
1543 (org-add-log-setup): Rename from `org-add-log-maybe'.
1544 (org-log-note-headings): New entry for plain notes (i.e. notes not
1545 related to state changes or clocking).
1546 (org-get-org-file): Check for availability of `remember-data-file'.
1547 (org-cached-entry-get): Allow a regexp value for
1548 `org-use-property-inheritance'.
1549 (org-use-property-inheritance): Allow regexp value. Fix bug in
1550 customization type.
1551 (org-use-tag-inheritance): Allow a list and a regexp value for
1552 this variable.
1553 (org-scan-tags, org-get-tags-at): Implement selective tag inheritance.
1554 (org-entry-get): Respect value `selective' for the INHERIT argument.
1555 (org-tag-inherit-p, org-property-inherit-p): New functions.
1556 (org-agenda-format-date-aligned): Allow 10 characters for
1557 weekday, to acomodate German locale.
1558 (org-add-archive-files): New function.
1559 (org-agenda-files): New argument `ext', to get archive files as well.
1560 (org-tbl-menu): Protect the use of variables that
1561 are only available when org-table.el gets loaded.
1562 (org-read-agenda-file-list): Error if `org-agenda-files' is a
1563 single directory.
1564 (org-open-file): Allow a batch process to trigger
1565 waiting after executing a system command.
1566 (org-store-link): Link to headline when there is not
1567 target and no region in an org-mode buffer when creating a link.
1568 (org-link-types-re): New variable.
1569 (org-make-link-regexps): Compute `org-link-types-re'.
1570 (org-make-link-description-function): New option.
1571 (org-agenda-date, org-agenda-date-weekend): New faces.
1572 (org-archive-sibling-heading): New option.
1573 (org-archive-to-archive-sibling): New function.
1574 (org-iswitchb): New command.
1575 (org-buffer-list): New function.
1576 (org-agenda-columns): Also try the #+COLUMNS line in
1577 the buffer associated with the entry at point (or with the first
1578 entry in the agenda view).
1579 (org-modules): Add entry for org-bibtex.el.
1580 (org-completion-fallback-command): Move into `org-completion' group.
1581 (org-clock-heading-function): Move to `org-progress' group.
1582 (org-auto-repeat-maybe): Make sure that a note can
1583 be enforces if `org-log-repeat' is `note'.
1584 (org-modules): Allow additional symbols for external packages.
1585 (org-ctrl-c-ctrl-c): Allow for `org-clock-overlays' to be undefined.
1586 (org-clock-goto): Hide drawers after showing an
1587 entry with `org-clock-goto.'
1588 (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft):
1589 Try also a clocktable block shift.
1590 (org-clocktable-try-shift): New function.
1591 (org-columns-hscoll-title): New function.
1592 (org-columns-previous-hscroll): New variable.
1593 (org-columns-full-header-line-format): New variable.
1594 (org-columns-display-here-title, org-columns-remove-overlays):
1595 Install `org-columns-hscoll-title' in post-command-hook.
1596
1597 * org/org.el: Split into many small files.
1598
1599 * org/org-agenda.el: New file, split off from org.el.
1600
1601 * org/org-archive.el: New file, split off from org.el.
1602
1603 * org/org-bbdb.el: New file.
1604
1605 * org/org-bibtex.el: New file, split off from org.el.
1606
1607 * org/org-clock.el: New file, split off from org.el.
1608
1609 * org/org-colview.el: New file, split off from org.el.
1610
1611 * org/org-compat.el: New file, split off from org.el.
1612
1613 * org/org-exp.el: New file, split off from org.el.
1614
1615 * org/org-faces.el: New file, split off from org.el.
1616
1617 * org/org-gnus.el: New file, split off from org.el.
1618
1619 * org/org-info.el: New file, split off from org.el.
1620
1621 * org/org-infojs.el: New file.
1622
1623 * org/org-irc.el: New file.
1624
1625 * org/org-macs.el: New file, split off from org.el.
1626
1627 * org/org-mew.el: New file.
1628
1629 * org/org-mhe.el: New file, split off from org.el.
1630
1631 * org/org-publish.el: New file, split off from org.el.
1632
1633 * org/org-remember.el: New file, split off from org.el.
1634
1635 * org/org-rmail.el: New file, split off from org.el.
1636
1637 * org/org-table.el: New file, split off from org.el.
1638
1639 * org/org-vm.el: New file, split off from org.el.
1640
1641 * org/org-wl.el: New file, split off from org.el.
1642
1643 2008-04-27 Jason Riedy <jason@acm.org>
1644
1645 * lisp/org-table.el (orgtbl-to-generic): Add a :remove-nil-lines
1646 parameter that supresses lines that evaluate to NIL.
1647 (orgtbl-get-fmt): New inline function for
1648 picking apart formats that may be lists.
1649 (orgtbl-apply-fmt): New inline function for applying formats that
1650 may be functions.
1651 (orgtbl-eval-str): New inline function for strings that may be
1652 functions.
1653 (orgtbl-format-line, orgtbl-to-generic): Use and document.
1654 (orgtbl-to-latex, orgtbl-to-texinfo): Document.
1655 (*orgtbl-llfmt*, *orgtbl-llstart*)
1656 (*orgtbl-llend*): Dynamic variables for last-line formatting.
1657 (orgtbl-format-section): Shift formatting to support detecting the
1658 last line and formatting it specially.
1659 (orgtbl-to-generic): Document :ll* formats. Set to the non-ll
1660 formats unless overridden.
1661 (orgtbl-to-latex): Suggest using :llend to suppress the final \\.
1662 (*orgtbl-table*, *orgtbl-rtn*): Dynamically
1663 bound variables to hold the input collection of lines and output
1664 formatted text.
1665 (*orgtbl-hline*, *orgtbl-sep*, *orgtbl-fmt*, *orgtbl-efmt*)
1666 (*orgtbl-lfmt*, *orgtbl-lstart*, *orgtbl-lend*): Dynamically bound
1667 format parameters.
1668 (orgtbl-format-line): New function encapsulating formatting for a
1669 single line.
1670 (orgtbl-format-section): Similar for each section. Rebinding the
1671 dynamic vars customizes the formatting for each section.
1672 (orgtbl-to-generic): Use orgtbl-format-line and
1673 orgtbl-format-section.
1674 (org-get-param): Now unused, so delete.
1675 (orgtbl-gather-send-defs): New function to
1676 gather all the SEND definitions before a table.
1677 (orgtbl-send-replace-tbl): New function to find the RECEIVE
1678 corresponding to the current name.
1679 (orgtbl-send-table): Use the previous two functions and implement
1680 multiple destinations for each table.
1681
1682 * doc/org.texi (A LaTeX example): Note that fmt may be a
1683 one-argument function, and efmt may be a two-argument function.
1684 (Radio tables): Document multiple destinations.
1685
1686 2008-04-27 Carsten Dominik <dominik@science.uva.nl>
1687
1688 * org/org-agenda.el (org-add-to-diary-list): New function.
1689 (org-prefix-has-effort): New variable.
1690 (org-sort-agenda-noeffort-is-high): New option.
1691 (org-agenda-columns-show-summaries)
1692 (org-agenda-columns-compute-summary-properties): New options.
1693 (org-format-agenda-item): Compute the duration of the item.
1694 (org-agenda-weekend-days): New variable.
1695 (org-agenda-list, org-timeline): Use the proper faces for dates in
1696 the agenda and timeline buffers.
1697 (org-agenda-archive-to-archive-sibling): New command.
1698 (org-agenda-start-with-clockreport-mode): New option.
1699 (org-agenda-clockreport-parameter-plist): New option.
1700 (org-agenda-clocktable-mode): New variable.
1701 (org-agenda-deadline-leaders): Allow a function value for the
1702 deadline leader.
1703 (org-agenda-get-deadlines): Deal with new function value.
1704
1705 * lisp/org-clock.el (org-clock): New customization group.
1706 (org-clock-into-drawer, org-clock-out-when-done)
1707 (org-clock-in-switch-to-state, org-clock-heading-function):
1708 Move into the new group.
1709 (org-clock-out-remove-zero-time-clocks): New option.
1710 (org-clock-out): Use `org-clock-out-remove-zero-time-clocks'.
1711 (org-dblock-write:clocktable): Allow a Lisp form for the scope
1712 parameter.
1713 (org-dblock-write:clocktable): Fix bug with total time calculation.
1714 (org-dblock-write:clocktable): Request the unrestricted list of files.
1715 (org-get-clocktable): New function.
1716 (org-dblock-write:clocktable): Make sure :tstart and :tend can not only
1717 be strings but also integers (an absolute day number) and lists (m d y).
1718
1719 * org/org-colview.el (org-columns-next-allowed-value)
1720 (org-columns-edit-value): Limit the effort for updating in the
1721 agenda to recomputing a single file.
1722 (org-columns-compute): Only write property value if it has changed.
1723 This avoids raising the buffer-change-flag unnecessarily.
1724 (org-agenda-colview-summarize)
1725 (org-agenda-colview-compute): New functions.
1726 (org-agenda-columns): Call `org-agenda-colview-summarize'.
1727
1728 * org/org-exp.el (org-export-run-in-background): New option.
1729 (org-export-icalendar): Allow a batch process to trigger waiting
1730 after executing a system command.
1731 (org-export-preprocess-string): Rename from
1732 `org-cleaned-string-for-export'.
1733 (org-export-html-style): Made target class look like normal text.
1734 (org-export-as-html): Make use of the better proprocessing in
1735 `org-cleaned-string-for-export'.
1736 (org-cleaned-string-for-export): Better treatment of heuristic
1737 targets, many more internal links will now work in HTML export.
1738 (org-get-current-options): Incorporate LINK_UP, LINK_HOME, and INFOJS.
1739 (org-export-inbuffer-options-extra): New variable.
1740 (org-export-options-filters): New hook.
1741 (org-infile-export-plist): Find also the settings keywords in
1742 `org-export-inbuffer-options-extra'.
1743 (org-infile-export-plist): Allow multiple #+OPTIONS lines and
1744 multiple #+INFOJS_OPT lines.
1745 (org-export-html-handle-js-options): New function.
1746 (org-export-html-infojs-setup): New option.
1747 (org-export-as-html): Call `org-export-html-handle-js-options'.
1748 Add autoload to all entry points.
1749 (org-skip-comments): Function removed.
1750
1751 * org/org-table.el (org-table-make-reference): Extra parenthesis
1752 around single fields, to make sure that algebraic formulas get
1753 correctly interpreted by calc.
1754 (org-table-current-column): No longer interactive.
1755
1756 * org/org-export-latex.el (org-export-latex-preprocess):
1757 Rename from `org-export-latex-cleaned-string'.
1758
1759 2008-04-27 Bastien Guerry <bzg@altern.org>
1760
1761 * org/org-publish.el (org-publish-get-base-files-1): New function.
1762 (org-publish-get-base-files): Use it.
1763 (org-publish-temp-files): New variable.
1764 Don't require 'dired-aux anymore.
1765 (org-publish-initial-buffer): New variable.
1766 (org-publish-org-to, org-publish): Use it.
1767 (org-publish-get-base-files-1): Bug fix: get
1768 the proper list of files when recursing thru a directory.
1769 (org-publish-get-base-files): Use the :exclude property to skip
1770 both files and directories.
1771
1772 2008-04-27 Michael Albinus <michael.albinus@gmx.de>
1773
1774 * net/tramp.el (tramp-handle-make-symbolic-link)
1775 (tramp-handle-file-name-directory)
1776 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
1777 (tramp-do-copy-or-rename-file-directly)
1778 (tramp-handle-insert-directory, tramp-handle-expand-file-name)
1779 (tramp-handle-substitute-in-file-name)
1780 (tramp-handle-insert-file-contents, tramp-handle-write-region)
1781 * net/tramp-cache.el (tramp-get-file-property)
1782 (tramp-set-file-property, tramp-flush-file-property)
1783 (tramp-flush-directory-property)
1784 * net/tramp-compat.el (tramp-compat-make-temp-file)
1785 * net/tramp-fish.el (tramp-fish-handle-expand-file-name):
1786 Disable `file-name-handler-alist' when handling localname.
1787 It could have a remote file syntax, like a VMS file name.
1788
1789 2008-04-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1790
1791 * whitespace.el: New version 11.1.
1792 (whitespace-trailing-regexp): Option fix, now trailing regexp must be
1793 enclosed by \\( and \\)$. Docstring fix.
1794 (whitespace-trailing-regexp): Fun removed.
1795 (whitespace-report-list): Const initialization fix.
1796 (whitespace-color-on): Code fix.
1797
1798 2008-04-27 Andreas Schwab <schwab@suse.de>
1799
1800 * Makefile.el: Unbreak bootstrap.
1801
1802 2008-04-27 Michael Albinus <michael.albinus@gmx.de>
1803
1804 * net/tramp.el (tramp-replace-environment-variables): New defun.
1805 (tramp-handle-substitute-in-file-name, tramp-file-name-handler):
1806 Use it.
1807
1808 2008-04-27 Glenn Morris <rgm@gnu.org>
1809
1810 * emacs-lisp/bytecomp.el (byte-compile-file): Doc fix.
1811
1812 * calculator.el (calculator-expt): Replace cl function `oddp'.
1813
1814 2008-04-27 Johan Bockgård <bojohan@gnu.org>
1815
1816 * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
1817 Simplify. Collect `defun' and `autoload' entries.
1818 Avoid modifying load-history.
1819
1820 2008-04-26 Glenn Morris <rgm@gnu.org>
1821
1822 * textmodes/ispell.el (ispell-insert-word): Revert previous change.
1823
1824 * simple.el (quoted-insert, zap-to-char): Revert previous change.
1825
1826 2008-04-26 John Paul Wallington <jpw@pobox.com>
1827
1828 * hexl.el (hexl-mode): Stash `eldoc-documentation-function' in
1829 `hexl-mode-old-eldoc-documentation-function'.
1830 (hexl-mode-exit): Restore it.
1831 (hexl-mode-old-eldoc-documentation-function): Declare for compiler.
1832
1833 * w32-fns.el (top-level): Don't set `completion-ignore-case' to t.
1834
1835 2008-04-26 Juanma Barranquero <lekktu@gmail.com>
1836
1837 * minibuffer.el (completion-pcm-word-delimiters): Add :group.
1838 (completion-pcm--all-completions): Doc fix.
1839 (completion-styles-alist, completion-all-completions):
1840 Fix typos in docstrings.
1841
1842 2008-04-26 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1843
1844 * whitespace.el: There is now only one variable (whitespace-style) to
1845 specify which kind of blank is visualized. Doc and docstring fix.
1846 New version 11.0.
1847 (whitespace-style): New option, replace whitespace-style-mark and
1848 whitespace-style-color.
1849 (whitespace-style-mark, whitespace-style-color): Options removed.
1850 (whitespace-hspace, whitespace-tab, whitespace-newline)
1851 (whitespace-trailing, whitespace-line, whitespace-space-before-tab)
1852 (whitespace-indentation, whitespace-empty, whitespace-space-after-tab)
1853 (whitespace-hspace-regexp, whitespace-space-regexp)
1854 (whitespace-tab-regexp, whitespace-trailing-regexp)
1855 (whitespace-space-before-tab-regexp, whitespace-indentation-regexp)
1856 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
1857 (whitespace-space-after-tab-regexp, whitespace-line-column)
1858 (whitespace-display-mappings, whitespace-report): Docstring fix.
1859 (whitespace-color-value-list, whitespace-mark-value-list)
1860 (whitespace-active-color, whitespace-active-mark)
1861 (whitespace-toggle-color, whitespace-toggle-mark): Vars removed.
1862 (whitespace-style-value-list, whitespace-active-style)
1863 (whitespace-toggle-style): New vars.
1864 (whitespace-toggle-option-alist, whitespace-help-text):
1865 Var initialization and docstring fix.
1866 (whitespace-toggle-options, global-whitespace-toggle-options)
1867 (whitespace-cleanup, whitespace-cleanup-region)
1868 (whitespace-report-region, whitespace-interactive-char)
1869 (whitespace-toggle-list): Docstring and code fix.
1870 (whitespace-insert-option-mark, whitespace-help-on, whitespace-turn-on)
1871 (whitespace-turn-off, whitespace-color-on, whitespace-color-off)
1872 (whitespace-display-char-on, whitespace-display-char-off): Code fix.
1873 (whitespace-style-face-p, whitespace-style-mark-p): New fun.
1874
1875 2008-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1876
1877 * diff-mode.el (diff-hunk-header-re-unified): Allow elided line counts.
1878 (diff-end-of-hunk, diff-unified->context, diff-fixup-modifs)
1879 (diff-sanity-check-hunk): Adjust code accordingly.
1880
1881 2008-04-26 Glenn Morris <rgm@gnu.org>
1882
1883 * abbrev.el (define-abbrev): Don't use `iff' in doc-strings.
1884
1885 * forms-d2.dat: Move to ../etc.
1886 * forms-d2.el (forms-file): Adapt for above change.
1887
1888 * simple.el (quoted-insert, zap-to-char): Remove uses of obsolete
1889 `translation-table-for-input'.
1890
1891 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): New function.
1892 (byte-compile-obsolete, byte-compile-variable-ref): Use it.
1893
1894 * progmodes/fortran.el (fortran-mode-syntax-table): Change `;'
1895 to punctuation now it's not needed for abbrevs.
1896 (fortran-mode-abbrev-table): Remove defvar, make use of new
1897 define-abbrev-table :regexp feature.
1898
1899 * textmodes/ispell.el (ispell-insert-word): Remove, and replace with
1900 insert, now that translation-table-for-input is not needed.
1901
1902 2008-04-26 Johannes Weiner <hannes@saeurebad.de>
1903
1904 * emacs-lisp/pp.el (pp-display-expression): New function,
1905 extracted from pp-eval-expression.
1906 (pp-eval-expression): Use pp-display-expression.
1907 (pp-macroexpand-expression, pp-macroexpand-last-sexp): New functions.
1908 (pp-last-sexp): New function, extracted from pp-eval-last-sexp.
1909 (pp-eval-last-sexp): Use pp-last-sexp.
1910
1911 2008-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1912
1913 * abbrev.el (define-abbrev-table): Apply props even if the table
1914 exists already.
1915
1916 * minibuffer.el (completion-table-with-context): Fix `pred' for the
1917 various kinds of completion tables.
1918 (completion-emacs22-try-completion): Place cursor after the /, as was
1919 done in Emacs-22's minibuffer-complete-word.
1920 Fix bug reported by David Hansen <david.hansen@gmx.net>.
1921 (completion-emacs22-try-completion): Merge all mergable text rather
1922 than just /.
1923 (completion-pcm--delim-wild-regex): New var.
1924 (completion-pcm-word-delimiters): New custom.
1925 (completion-pcm--prepare-delim-re, completion-pcm--pattern-trivial-p)
1926 (completion-pcm--string->pattern, completion-pcm--pattern->regex)
1927 (completion-pcm--all-completions, completion-pcm-all-completions)
1928 (completion-pcm--merge-completions, completion-pcm--pattern->string)
1929 (completion-pcm-try-completion): New functions.
1930 (completion-styles-alist): Add them.
1931 (completion-styles): Add it to the default.
1932
1933 2008-04-25 Nick Roberts <nickrob@snap.net.nz>
1934
1935 * progmodes/gdb-ui.el (gud-watch): Don't create speedbar...
1936 (gdb-var-create-handler): ...until here when there are values.
1937 (gdb-post-prompt): Don't do -var-update with no watch expressions.
1938 (gdb-info-locals-handler): Don't match "struct {...}" as an array.
1939
1940 2008-04-25 Eli Zaretskii <eliz@gnu.org>
1941
1942 * ls-lisp.el (ls-lisp-format): Fix last change.
1943 (ls-lisp-uid-d-fmt, ls-lisp-uid-s-fmt, ls-lisp-gid-d-fmt)
1944 (ls-lisp-gid-s-fmt, ls-lisp-filesize-d-fmt)
1945 (ls-lisp-filesize-f-fmt): New defvars.
1946 (ls-lisp-insert-directory): Dynamically compute format specifiers
1947 for displaying UID, GID, and file size, and store them in the
1948 above variables.
1949 (ls-lisp-format): Use ls-lisp-filesize-f-fmt, ls-lisp-uid-s-fmt,
1950 ls-lisp-uid-d-fmt, ls-lisp-gid-s-fmt, and ls-lisp-gid-d-fmt
1951 instead of constant format strings.
1952 (ls-lisp-format-file-size): Use ls-lisp-filesize-f-fmt and
1953 ls-lisp-filesize-d-fmt instead of constant format strings.
1954
1955 2008-04-24 Nick Roberts <nickrob@snap.net.nz>
1956
1957 * progmodes/gdb-ui.el (gdb-invalidate-assembler): Compare numeric
1958 value of addresses rather than (partial) string value.
1959 (gdb-frame-handler): Change regexp according to above change.
1960 (gdb-breakpoints-mode, gdb-frames-mode, gdb-threads-mode)
1961 (gdb-registers-mode, gdb-memory-mode, gdb-locals-mode)
1962 (gdb-assembler-mode): Disable undo in these buffers.
1963
1964 2008-04-24 Michael Albinus <michael.albinus@gmx.de>
1965
1966 * net/tramp.el (tramp-get-remote-stat): Test whether stat supports %s.
1967 Reported by Loris Bennett <loris.bennett@fu-berlin.de>.
1968
1969 2008-04-24 Sam Steingold <sds@gnu.org>
1970
1971 * textmodes/remember.el (remember-diary-extract-entries): Use
1972 diary-make-entry instead of the obsolete make-diary-entry.
1973
1974 2008-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1975
1976 * subr.el (translation-table-for-input): Mark as obsolete.
1977
1978 * isearch.el (isearch-search-string): Avoid string-bytes and aset.
1979
1980 * international/quail.el (quail-build-decode-map): Avoid string-bytes.
1981
1982 * textmodes/ispell.el (ispell-dictionary-alist-1)
1983 (ispell-dictionary-alist-2, ispell-dictionary-alist-3)
1984 (ispell-dictionary-alist-4, ispell-dictionary-alist-5)
1985 (ispell-dictionary-alist-6): Remove.
1986 (ispell-dictionary-base-alist): New var, merges the above.
1987 (ispell-find-aspell-dictionaries, ispell-set-spellchecker-params):
1988 Use it.
1989 (ispell-dictionary-alist): Default to nil. Remove autoload.
1990 (ispell-local-dictionary-alist): Remove autoload.
1991
1992 * progmodes/f90.el (f90-mode-syntax-table): Don't set ` as word syntax.
1993 (f90-mode-abbrev-table): Use the new :regexp feature.
1994 Merge defvar and mapc into define-abbrev-table.
1995 (f90-imenu-type-matcher): Remove unused `l'.
1996 (f90-imenu-generic-expression): Remove unused `not-ib'.
1997 (f90-prepare-abbrev-list-buffer): Use with-current-buffer.
1998 (f90-change-keywords): Use restore-buffer-modified-p.
1999
2000 2008-04-24 Glenn Morris <rgm@gnu.org>
2001
2002 * net/goto-addr.el (goto-address-prog-mode):
2003 * progmodes/bug-reference.el (bug-reference-prog-mode):
2004 Define for compiler.
2005
2006 * minibuffer.el (x-file-dialog): Declare as function.
2007
2008 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file): Use
2009 dframe-update-speed rather than obsolete alias speedbar-update-speed.
2010
2011 * calendar/cal-menu.el (cal-menu-diary-menu): Fix typo.
2012 (cal-menu-scroll-menu): Use commands rather than key macros, which don't
2013 work with easymenu. Add :keys where needed.
2014
2015 * calendar/cal-move.el (calendar-scroll-left): Handle case when
2016 event-start is nil.
2017
2018 * calendar/calendar.el (calendar-mode-map): Fix typo.
2019
2020 2008-04-24 Tom Tromey <tromey@redhat.com>
2021
2022 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap):
2023 Document keywords. Add :suppress.
2024 * pcvs-defs.el (cvs-mode-map): Use :suppress.
2025
2026 * net/goto-addr.el (goto-address-unfontify): New function.
2027 (goto-address-fontify): Use it. Respect goto-address-prog-mode.
2028 (goto-address-fontify-region, goto-address-mode)
2029 (goto-address-prog-mode): New functions.
2030
2031 * progmodes/bug-reference.el: New file.
2032
2033 2008-04-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2034
2035 * term/mac-win.el (mac-ts-active-input-buf): Move defvar to macterm.c.
2036
2037 2008-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2038
2039 * emacs-lisp/easymenu.el (easy-menu-make-symbol): Don't wrap keyboard
2040 macros within lambdas.
2041
2042 2008-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2043
2044 * minibuffer.el (completion-try-completion): Add `point' argument.
2045 Change return value.
2046 (completion-all-completions): Add `point' argument.
2047 (minibuffer-completion-help): Pass the new `point' argument.
2048 (completion--do-completion): Pass the whole field to try-completion.
2049 (completion--try-word-completion): Rewrite, making fewer assumptions.
2050 (completion-emacs21-try-completion, completion-emacs21-all-completions)
2051 (completion-emacs22-try-completion, completion-emacs22-all-completions)
2052 (completion-basic-try-completion, completion-basic-all-completions):
2053 New functions.
2054 (completion-styles-alist): Use them.
2055
2056 2008-04-23 Agustin Martin <agustin.martin@hispalinux.es>
2057
2058 * ispell.el (ispell-set-spellchecker-params): New function to make sure
2059 right params and dictionary alists are used after spellchecker changes.
2060 (ispell-aspell-dictionary-alist, ispell-last-program-name)
2061 (ispell-initialize-spellchecker-hook): New variables and hook.
2062 (ispell-find-aspell-dictionaries): Use ispell-aspell-dictionary-alist.
2063 (ispell-maybe-find-aspell-dictionaries): Remove.
2064 Calls replaced by (ispell-set-spellchecker-params) calls.
2065 (ispell-have-aspell-dictionaries): Remove.
2066 * flyspell.el: Replace ispell-maybe-find-aspell-dictionaries by
2067 ispell-set-spellchecker-params.
2068
2069 2008-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2070
2071 * complete.el (PC-do-completion): Be more robust in the presence of
2072 unexpected values in minibuffer-completion-predicate.
2073
2074 * minibuffer.el (read-file-name): Don't let-bind default-directory.
2075 Only abbreviate default-filename if it's a file.
2076
2077 * minibuffer.el (read-file-name-function, read-file-name-predicate)
2078 (read-file-name-completion-ignore-case, insert-default-directory):
2079 New vars, moved from fileio.c.
2080 (read-file-name): New fun, moved from fileio.c.
2081 * cus-start.el: Remove insert-default-directory and
2082 read-file-name-completion-ignore-case.
2083
2084 2008-04-23 Magnus Henoch <mange@freemail.hu>
2085
2086 * tar-mode.el (tar-untar-buffer): If the entry has directory
2087 link type, extract it as a directory even if its file name doesn't
2088 end with a slash. Fixes extraction of NetBSD tar archives.
2089
2090 2008-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2091
2092 * server.el (server-start): Also don't get confused by CRs since we
2093 don't quote them.
2094
2095 2008-04-23 Nick Roberts <nickrob@snap.net.nz>
2096
2097 * progmodes/gdb-ui.el (gdb-init-buffer): New function.
2098 (gdb-set-gud-minor-mode-existing-buffers)
2099 (gdb-info-breakpoints-custom, gdb-get-location)
2100 (gdb-set-gud-minor-mode-existing-buffers-1): Use it.
2101 Previously gdb-create-define-alist wasn't always run and added to
2102 after-save-hook.
2103
2104 * progmodes/gud.el (gud-tooltip-tips): Use tooltip-event-buffer.
2105
2106 2008-04-23 Kevin Ryde <user42@zip.com.au>
2107
2108 * progmodes/make-mode.el (makefile-fill-paragraph): Treat indented
2109 comments like unindented ones.
2110
2111 2008-04-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2112
2113 * term/mac-win.el (mac-ae-open-documents): Adjust selection range
2114 parameter origins.
2115
2116 2008-04-23 Kevin Ryde <user42@zip.com.au>
2117
2118 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2119 Bind print-level to ensure output forms aren't truncated if
2120 print-level is set to eval-expression-print-level when going via
2121 eval-defun and friends, or has been otherwise fiddled with.
2122
2123 2008-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2124
2125 * progmodes/cc-mode.el (c-basic-common-init): Don't set
2126 font-lock-extend-after-change-region-function globally.
2127
2128 2008-04-23 Juanma Barranquero <lekktu@gmail.com>
2129
2130 * speedbar.el (speedbar-use-tool-tips-flag)
2131 (speedbar-ignored-directory-regexp, speedbar-file-unshown-regexp)
2132 (speedbar-file-regexp, speedbar-message, speedbar-item-info)
2133 (speedbar-files-item-info, speedbar-maybe-add-localized-support)
2134 (speedbar-insert-files-at-point, speedbar-dynamic-tags-function-list)
2135 (speedbar-generic-list-positioned-group-p, speedbar-insert-generic-list)
2136 (speedbar-fetch-replacement-function, speedbar-extract-one-symbol)
2137 (speedbar-separator-face): Fix typos in docstrings.
2138 (speedbar-stealthy-function-list, speedbar-verbosity-level)
2139 (speedbar-supported-extension-expressions, speedbar-update-current-file)
2140 (speedbar-add-indicator, speedbar-tag-expand): Reflow docstring.
2141 (speedbar-use-imenu-flag, speedbar-ignored-directory-expressions)
2142 (speedbar-directory-unshown-regexp, speedbar-handle-delete-frame)
2143 (speedbar-show-info-under-mouse, speedbar-directory-buttons)
2144 (speedbar-check-vc-this-line, speedbar-files-line-directory)
2145 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
2146 (speedbar-buffers-line-directory, speedbar-recenter-to-top)
2147 (speedbar-recenter): Doc fixes.
2148 (speedbar-update-speed, speedbar-navigating-speed): Add obsolescence
2149 declaration and remove redundant info in docstring.
2150
2151 2008-04-23 Dan Nicolaescu <dann@ics.uci.edu>
2152
2153 * vc-git.el (vc-git-status-printer): Deal with directories.
2154
2155 * vc.el (vc-next-action): Look at more than the first file to
2156 determine the state.
2157
2158 2008-04-23 Glenn Morris <rgm@gnu.org>
2159
2160 * dframe.el (dframe-have-timer-flag): Drop support for Emacs without
2161 timers. Doc fix.
2162 (dframe-update-speed): Drop support for XEmacs < 20.
2163 (dframe-frame-mode): Drop support for Emacs < 20.
2164 (dframe-set-timer-internal): Drop support for Emacs without timers.
2165 (dframe-popup-kludge): Use mouse-menu-major-mode-map if defined.
2166
2167 * ediff-init.el (ediff-check-version): Drop support for very old Emacs
2168 versions. Add doc-string. Mark as obsolete.
2169
2170 * ps-def.el (ps-color-device): Drop support for XEmacs < 19.12.
2171
2172 * speedbar.el (speedbar-use-tool-tips-flag): Check for tooltip-mode,
2173 rather than using an Emacs version test.
2174
2175 * tree-widget.el (tree-widget-image-enable): Use display-images-p
2176 rather than an Emacs version test.
2177
2178 * calendar/cal-china.el (holiday-chinese-qingming)
2179 (holiday-chinese-winter-solstice, holiday-chinese): New functions.
2180 * calendar/calendar.el (calendar-chinese-all-holidays-flag): New.
2181 * calendar/holidays.el (holiday-oriental-holidays): Add more holidays.
2182
2183 * calendar/cal-islam.el (holiday-islamic): Doc fix.
2184
2185 * calendar/diary-lib.el (diary-list-sexp-entries): Doc fix.
2186 (diary-remind): Allow negative DAYS to represent a range 1:DAYS.
2187 Suggested by Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>.
2188
2189 2008-04-23 Nick Roberts <nickrob@snap.net.nz>
2190
2191 * progmodes/gdb-ui.el (gdb-previous-frame-address): Rename...
2192 (gdb-previous-frame-pc-address): ...to this.
2193 (gdb-get-selected-frame): Use MI command -stack-info-frame instead
2194 of "info frame" with Gdb 6.4+.
2195 (gdb-stack-list-frames-regexp): New regexp.
2196 (gdb-frame-handler-1): Parse output of -stack-info-frame.
2197
2198 2008-04-22 David Glasser <glasser@davidglasser.net> (tiny change)
2199
2200 * tar-mode.el (tar-prefix-offset): New constant.
2201 (tar-header-block-tokenize): Support paths with long names
2202 which use the "ustar" standard.
2203
2204 2008-04-22 Mathias Dahl <mathias.dahl@gmail.com>
2205
2206 * image-dired.el (image-dired-track-original-file)
2207 (image-dired-modify-mark-on-thumb-original-file):
2208 Use `dired-goto-file' instead of `search-forward'. This solves
2209 a bug with finding files where the file name is a subset of other
2210 file names. Doc fix.
2211
2212 2008-04-22 Juri Linkov <juri@jurta.org>
2213
2214 * menu-bar.el (buffers-menu-max-size): Move its definition down to
2215 the "Buffers Menu" section. Change group name `mouse' to `menu'.
2216 (yank-menu-length): Change group name `mouse' to `menu'.
2217 (buffers-menu-buffer-name-length): New user option.
2218 (menu-bar-update-buffers): Use buffers-menu-buffer-name-length
2219 instead of the hard-coded number 27.
2220
2221 2008-04-22 Juri Linkov <juri@jurta.org>
2222
2223 * isearch.el (eval-when-compile): Require `help-macro'.
2224 (isearch-help-for-help-internal): Isearch specific Help screen
2225 created by `make-help-screen'.
2226 (isearch-help-map): New variable that binds "b", "k", "m" to
2227 isearch-specific commands, and binds other keys to
2228 isearch-other-control-char, thus allowing other Help keys to
2229 exit isearch mode and execute their global definitions.
2230 (isearch-help-for-help, isearch-describe-bindings)
2231 (isearch-describe-key, isearch-describe-mode): New commands.
2232 (isearch-mode-help): Define alias to isearch-describe-mode
2233 and remove its old function definition.
2234 (isearch-mode-map): Bind "\C-h" to isearch-help-map.
2235 Remove old comments because this issue is settled now.
2236 (isearch-forward): Describe three new Help commands in the docstring.
2237 (isearch-mode): Remove \\{isearch-mode-map} from the docstring,
2238 leave the single sentence at the first line of the docstring,
2239 and prepend the word "function" before `isearch-forward'
2240 to make the Help link to the function instead of variable.
2241
2242 2008-04-22 Juri Linkov <juri@jurta.org>
2243
2244 * isearch.el (isearch-success-function): New variable with default
2245 to `isearch-success-function-default'.
2246 (isearch-search): Call a function from `isearch-success-function'
2247 instead of calling the hard-coded `isearch-range-invisible'.
2248 (isearch-success-function-default): New function that calls
2249 `isearch-range-invisible' and inverts its return value.
2250
2251 * info.el (Info-search): In two similar places that skip
2252 undesired search matches move code to Info-search-success-function,
2253 and call `isearch-success-function' instead.
2254 (Info-search-success-function): New function copied from code
2255 in Info-search. Replace isearch-range-invisible with
2256 text-property-not-all that checks for 'invisible and 'display
2257 properties to skip partially invisible matches (whose display
2258 properties were set by Info-fontify-node).
2259 (Info-mode): Set buffer-local isearch-success-function
2260 to Info-search-success-function.
2261
2262 2008-04-22 Juri Linkov <juri@jurta.org>
2263
2264 * minibuffer.el (internal-complete-buffer-except): New function.
2265
2266 * files.el (read-buffer-to-switch): New function.
2267 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
2268 Change interactive spec to call read-buffer-to-switch instead of
2269 using the letter "B".
2270
2271 * simple.el (minibuffer-default-add-shell-commands): New function.
2272 Use declare-function for mailcap-file-default-commands from "mailcap".
2273 (shell-command): Set local minibuffer-default-add-function to
2274 minibuffer-default-add-shell-commands in minibuffer-with-setup-hook
2275 before calling read-shell-command. Set 4th arg default-value of
2276 read-shell-command to relative buffer-file-name in file buffers.
2277
2278 * dired-aux.el (dired-read-shell-command-default): Move it to
2279 gnus/mailcap.el and change its name to more general name
2280 mailcap-file-default-commands.
2281 (minibuffer-default-add-dired-shell-commands): New function.
2282 Use declare-function for mailcap-file-default-commands from "mailcap".
2283 (dired-read-shell-command): Set local minibuffer-default-add-function
2284 to minibuffer-default-add-dired-shell-commands in minibuffer-with-setup-hook
2285 before calling read-shell-command. Remove dired-read-shell-command-default
2286 from the default value arg because default values are not set in
2287 minibuffer-default-add-dired-shell-commands. Doc fix.
2288
2289 * dired-x.el (dired-smart-shell-command): Sync arguments and
2290 interactive spec with changes in `shell-command'.
2291 Use dired-get-filename to get the dired file name at point
2292 as the default value in dired mode.
2293
2294 2008-04-22 Juanma Barranquero <lekktu@gmail.com>
2295
2296 * info.el (Info-complete-menu-item): Add missing parenthesis.
2297
2298 2008-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
2299
2300 * info.el (Info-complete-menu-item): Save point.
2301
2302 2008-04-22 Juanma Barranquero <lekktu@gmail.com>
2303
2304 * minibuffer.el (minibuffer-complete-and-exit): Fix last change.
2305
2306 2008-04-22 Andreas Schwab <schwab@suse.de>
2307
2308 * Makefile.in (emacs-deps): Define.
2309 Use it instead of $(lisp)/subdirs.el.
2310
2311 2008-04-22 Dan Nicolaescu <dann@ics.uci.edu>
2312
2313 * vc.el (vc-next-action): Do not consider directories when
2314 checking for state compatibility.
2315 (vc-transfer-file): Use when not if.
2316 (vc-dir-parent-marked-p, vc-dir-children-marked-p): New functions.
2317 (vc-dir-mark-file): Use them.
2318 (vc-deduce-fileset): Also return the backend.
2319 (vc-diff-internal): Take as argument the value returned by
2320 vc-deduce-fileset instead of just the fileset.
2321 (vc-next-action, vc-finish-logentry, vc-version-diff, vc-diff)
2322 (vc-dir-mark-file, vc-print-log, vc-revert, vc-rollback)
2323 (vc-update): Update the vc-deduce-fileset and vc-diff-internal calls.
2324
2325 2008-04-22 Tassilo Horn <tassilo@member.fsf.org>
2326
2327 * doc-view.el (doc-view-scroll-up-or-next-page): Don't use
2328 set-window-vscroll but image-scroll-down. Fixes a bug where a
2329 command following SPC scrolled up again.
2330
2331 2008-04-22 Nick Roberts <nickrob@snap.net.nz>
2332
2333 * progmodes/gdb-ui.el (gdb-locals-header): New variable.
2334 (gdb-locals-mode, gdb-registers-mode): Use it for header line.
2335 (gud-watch): Add "$" prefix when in registers buffer.
2336
2337 2008-04-22 Glenn Morris <rgm@gnu.org>
2338
2339 * progmodes/gdb-ui.el (gdbmi-invalidate-frames): Declare as function.
2340
2341 * whitespace.el (whitespace-display-table)
2342 (whitespace-display-table-was-local): Move definitions before use.
2343
2344 * emacs-lisp/copyright.el (copyright-at-end-flag): New option.
2345 (copyright-limit): Respect copyright-at-end-flag.
2346 (copyright-re-search, copyright-start-point)
2347 (copyright-offset-too-large-p): New functions.
2348 (copyright-update-year): Use copyright-re-search.
2349 (copyright-update, copyright-fix-years): Use copyright-start-point,
2350 and copyright-re-search.
2351 (copyright): Use copyright-offset-too-large-p.
2352 * add-log.el (change-log-mode): Set copyright-at-end-flag.
2353
2354 * add-log.el (top-level): Require 'cl when compiling.
2355
2356 2008-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2357
2358 * complete.el (PC-complete-as-file-name, PC-read-file-name-internal):
2359 Treat minibuffer-completion-predicate as a predicate.
2360
2361 * minibuffer.el (completion--file-name-table): Accept both the old
2362 `dir' arg or the new `pred' arg.
2363
2364 * ffap.el (ffap-read-file-or-url): Do not abuse completing-read's
2365 `predicate' argument to pass non-predicate data.
2366 (ffap-read-url-internal, ffap-read-file-or-url-internal):
2367 Use second arg as proper predicate.
2368
2369 * vc-bzr.el (vc-bzr-complete-with-prefix): Remove.
2370 (vc-bzr-revision-completion-table): Use completion-table-with-context
2371 instead.
2372
2373 * simple.el (choose-completion-string): Use minibuffer-completion-table.
2374
2375 2008-04-21 Chong Yidong <cyd@stupidchicken.com>
2376
2377 * term.el (term-emulate-terminal): Perform redisplay after the
2378 process filter has finished running.
2379
2380 2008-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2381
2382 * vc.el (vc-dir): Use pop-to-buffer, so it can be customized.
2383
2384 * minibuffer.el (completion-try-completion): Change magic symbol
2385 property name. Rename from minibuffer-try-completion.
2386 (completion-all-completions): Rename from minibuffer-all-completions.
2387 Remove hide-spaces argument.
2388 (completion--do-completion): Rename from minibuffer--do-completion.
2389 (minibuffer-complete-and-exit): Call just try-completion rather than
2390 completion-try-completion to fix up the case.
2391 (completion--try-word-completion): Try to add space or hyphen before
2392 making `string' a prefix of `completion'.
2393 (completion--insert-strings): Rename from minibuffer--insert-strings.
2394
2395 2008-04-22 Naohiro Aota <nao.aota@gmail.com> (tiny change)
2396
2397 * net/tls.el (tls-program): Add -ign_eof argument to call the
2398 openssl commands.
2399 (tls-checktrust): Ditto.
2400
2401 2008-04-21 Dan Nicolaescu <dann@ics.uci.edu>
2402
2403 * vc-cvs.el (vc-cvs-status-extra-headers): New function.
2404
2405 * vc-hooks.el (vc-insert-file, vc-state, vc-working-revision)
2406 (vc-check-master-templates, vc-file-not-found-hook)
2407 (vc-kill-buffer-hook):
2408 * vc.el (vc-process-sentinel, vc-exec-after, vc-do-command)
2409 (vc-find-position-by-context, vc-buffer-context)
2410 (vc-restore-buffer-context, vc-responsible-backend)
2411 (vc-expand-dirs, vc-ensure-vc-buffer, vc-buffer-sync)
2412 (vc-next-action, vc-register, vc-register-with, vc-steal-lock)
2413 (vc-finish-logentry, vc-coding-system-for-diff, vc-switches)
2414 (vc-version-diff, vc-diff, vc-insert-headers)
2415 (vc-dired-buffers-for-dir, vc-dired-resynch-file)
2416 (vc-snapshot-precondition, vc-create-snapshot, vc-print-log)
2417 (vc-revert, vc-rollback, vc-version-backup-file)
2418 (vc-rename-master, vc-delete-file, vc-rename-file)
2419 (vc-branch-part, vc-default-retrieve-snapshot)
2420 (vc-annotate-display-autoscale, vc-annotate-display-select)
2421 (vc-annotate, vc-annotate-warp-revision, vc-annotate-difference)
2422 (vc-annotate-lines, vc-file-tree-walk-internal): Use when instead of if.
2423 (vc-dir-update): Handle directories.
2424 (vc-default-status-printer): Simplify.
2425
2426 * progmodes/asm-mode.el (asm-mode-map):
2427 * progmodes/hideif.el (hide-ifdef-mode-menu): Add :help.
2428
2429 * progmodes/m4-mode.el (m4-mode-map): Add menu.
2430
2431 2008-04-21 Kenichi Handa <handa@m17n.org>
2432
2433 * select.el (xselect-convert-to-string): Send a C_STRING only if
2434 the polymorphic target TEXT is requested.
2435
2436 2008-04-21 Juanma Barranquero <lekktu@gmail.com>
2437
2438 * minibuffer.el (completion-setup-hook, display-completion-list)
2439 (completion--file-name-table): Fix typos in docstrings.
2440 (completion-table-dynamic): Fix typo, and reflow docstring.
2441
2442 2008-04-20 Andreas Schwab <schwab@suse.de>
2443
2444 * server.el (server-switch-buffer): Also consider clients in the
2445 selected frame.
2446
2447 2008-04-19 Nick Roberts <nickrob@snap.net.nz>
2448
2449 * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint):
2450 Select window clicked on first.
2451 (gdb): Display thread number in mode-line.
2452 (gdb-make-header-line-mouse-map): Move to avoid byte compiler warnings.
2453 (gdb-breakpoints-header): New variable.
2454 (gdb-breakpoints-mode, gdb-threads-mode): Use it for header line.
2455
2456 2008-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2457
2458 * vc-sccs.el (vc-sccs-do-command): New fun. Use the "sccs" command.
2459 (vc-sccs-register, vc-sccs-checkin, vc-sccs-find-revision)
2460 (vc-sccs-checkout, vc-sccs-rollback, vc-sccs-revert)
2461 (vc-sccs-steal-lock, vc-sccs-modify-change-comment)
2462 (vc-sccs-print-log): Use it.
2463
2464 * vc-hooks.el (vc-path): Remove SCCS-specific hack.
2465
2466 * emacs-lisp/lisp-mode.el (lisp-mode-auto-fill): Make it an alias.
2467 * progmodes/scheme.el (scheme-mode-variables): Don't use it.
2468
2469 * tooltip.el (tooltip-previous-message): New var.
2470 (tooltip-show-help-non-mode): Rewrite to better follow the behavior of
2471 the C code (avoid overwriting a minibuffer, restore previous echo
2472 message, ...).
2473 (tooltip-delay, tooltip-process-prompt-regexp, tooltip-strip-prompt):
2474 Simplify.
2475
2476 2008-04-19 Nick Roberts <nickrob@snap.net.nz>
2477
2478 * progmodes/gdb-ui.el (gdb-thread-indicator): New variable.
2479 (gdb-init-1): Initialise it.
2480 (gdb-annotation-rules): New entry for "new-thread".
2481 (gdb-thread-identification): New function to customize
2482 mode-line-buffer-identification.
2483 (gdb-frames-mode, gdb-registers-mode, gdb-locals-mode)
2484 (gdb-assembler-mode): Use it.
2485 (gdb-threads-mode): Force "info threads" onto queue.
2486
2487 2008-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2488
2489 * files.el (locate-file-completion-table): Rename from
2490 locate-file-completion and make it use `pred' in the normal way.
2491 (locate-file-completion): New compatibility wrapper.
2492 (load-library): Use locate-file-completion-table.
2493 * finder.el (finder-commentary):
2494 * subr.el (locate-library):
2495 * emacs-lisp/find-func.el (find-library): Likewise.
2496 * info.el: Use with-current-buffer and inhibit-read-only.
2497 (Info-read-node-name-2): Change to use `predicate' in the normal way.
2498 (Info-read-node-name-1): Adjust uses accordingly.
2499
2500 * minibuffer.el (completion-table-with-context): Add support for `pred'.
2501 (completion-table-with-terminator): Don't use complete-with-action
2502 since we have to distinguish all three cases anyway.
2503 (completion-table-with-predicate): New function.
2504 (dynamic-completion-table): Add obsolete alias.
2505
2506 * emacs-lisp/trace.el (trace-make-advice): Don't change selected-window.
2507
2508 2008-04-18 Sam Steingold <sds@gnu.org>
2509
2510 * vc.el (vc-dir-menu-map, vc-dir-mode-map, vc-dir-tool-bar-map):
2511 Use quit-window instead of bury-buffer.
2512
2513 2008-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
2514
2515 * minibuffer.el (completion-table-with-terminator): Fix last fix.
2516
2517 2008-04-18 Andreas Schwab <schwab@suse.de>
2518
2519 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2520 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2521 Depend on $(lisp)/subdirs.el.
2522
2523 2008-04-18 Juanma Barranquero <lekktu@gmail.com>
2524
2525 * descr-text.el (describe-char-after):
2526 Use `define-obsolete-function-alias'.
2527
2528 * dired-x.el (dired-omit-files-p): Use `define-obsolete-variable-alias'.
2529
2530 * facemenu.el (facemenu-unlisted-faces): Fix obsolescence description.
2531
2532 * savehist.el (savehist-load): Add WHEN to obsolescence declaration.
2533 Remove redundant obsolescence info in docstring.
2534
2535 * vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
2536 (vc-header-alist): Add WHEN to obsolescence declaration.
2537 (vc-state): Fix typo in docstring.
2538
2539 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap):
2540 Use `define-obsolete-variable-alias'.
2541
2542 * emulation/tpu-edt.el (tpu-have-ispell):
2543 * international/codepage.el (codepage-setup):
2544 Fix typo in obsolescence declaration.
2545
2546 * international/mule.el (char-coding-system-table):
2547 Remove redundant obsolescence info in docstring.
2548 (charset-list, generic-char-p, set-char-table-default):
2549 Fix typos in obsolescence decarations.
2550
2551 * international/mule-diag.el (non-iso-charset-alist):
2552 Fix typo in obsolescence declaration.
2553 (decode-codepage-char): Remove redundant obsolescence info in docstring.
2554
2555 * font-core.el (font-lock-defaults-alist):
2556 * font-lock.el (font-lock-reference-face):
2557 * frame.el (screen-height, screen-width, set-screen-width)
2558 (set-screen-height):
2559 * hilit-chg.el (highlight-changes-initial-state):
2560 * isearch.el (isearch-return-char):
2561 * log-edit.el (cvs-commit-buffer-require-final-newline)
2562 (cvs-changelog-full-paragraphs):
2563 * mouse.el (mouse-major-mode-menu, mouse-popup-menubar)
2564 (mouse-popup-menubar-stuff):
2565 * mwheel.el (mouse-wheel-down-button, mouse-wheel-up-button)
2566 (mouse-wheel-click-button):
2567 * outline.el (outline-visible):
2568 * pcvs-defs.el (cvs-diff-ignore-marks, cvs-diff-buffer-name):
2569 * pcvs-info.el (cvs-display-full-path, cvs-fileinfo->full-path):
2570 * emacs-lisp/lisp-mode.el (lisp-comment-indent):
2571 * progmodes/compile.el (compile-internal):
2572 Add WHEN to obsolescence declarations.
2573
2574 2008-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
2575
2576 * emacs-lisp/debug.el (debug): Revert to bury-buffer since quit-window
2577 is not better anyway.
2578
2579 2008-04-17 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2580
2581 * whitespace.el (whitespace-report-region): Handle whitespace-tab-width
2582 properly.
2583
2584 2008-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2585
2586 * progmodes/python.el (python-mode-map): Use abbrev-table-menu.
2587 (python-use-skeletons): Remove, unused.
2588 (python-skeletons): Remove. Use the abbrev table instead.
2589 (python-mode-abbrev-table): Fix regexp;
2590 add enable-function and case-fixed.
2591 (def-python-skeleton): Simplify.
2592 (python-expand-template): Use the abbrev-table and abbrev-insert.
2593 (python-abbrev-pc-hook, python-abbrev-syntax-table, python-pea-hook):
2594 Remove.
2595 (python-mode): Don't set pre-abbrev-expand-hook.
2596
2597 * skeleton.el: Set coding-tag.
2598
2599 * abbrev.el (abbrev-insert): New function extracted from expand-abbrev.
2600 (expand-abbrev): Use it.
2601 (abbrev-table-menu): New function.
2602
2603 * abbrev.el (define-abbrev-table): Fontify dosctrings as such.
2604
2605 * minibuffer.el (completion-table-with-terminator): Fix paren typo.
2606
2607 2008-04-17 Sam Steingold <sds@gnu.org>
2608
2609 * pcvs-util.el (cvs-bury-buffer): Use quit-window instead of the
2610 idiosyncratic bury-buffer/delete-window logic.
2611
2612 2008-04-17 Juanma Barranquero <lekktu@gmail.com>
2613
2614 * emacs-lisp/crm.el (crm-completion-help, crm-complete)
2615 (crm-complete-word, crm-complete-and-exit): Fix typo in previous change.
2616
2617 2008-04-17 Kenichi Handa <handa@m17n.org>
2618
2619 * international/characters.el: Don't make the width of U+00AD to 0.
2620
2621 2008-04-17 Nick Roberts <nickrob@snap.net.nz>
2622
2623 * progmodes/gdb-ui.el (gdb-stack-update): New variable.
2624 (gdb, gdb-starting, gdb-frames-mode): Use it.
2625 (gdb-invalidate-frames): Advise to call "info stack" only if
2626 execution has occurred.
2627 (gdb-info-breakpoints-custom): Only update overlay-arrow pointing to
2628 selected frame if no execution has occurred.
2629 (gdb-frames-force-update): New interactive function.
2630 (gdb-frames-mode-map): Bind it to "F".
2631
2632 2008-04-17 Michael Olson <mwolson@gnu.org>
2633
2634 * textmodes/remember.el (remember-version): Release Remember 2.0.
2635
2636 2008-04-16 Yoni Rabkin <yoni@rabkins.net>
2637
2638 * textmodes/artist.el:
2639 * progmodes/vhdl-mode.el:
2640 * progmodes/verilog-mode.el:
2641 * progmodes/vera-mode.el:
2642 * progmodes/simula.el:
2643 * progmodes/ps-mode.el:
2644 * progmodes/cmacexp.el:
2645 * obsolete/hilit19.el:
2646 * emulation/viper.el:
2647 * ediff.el: Cleanup the bug-report email addresses and make sure the
2648 maintainer is still willing to handle bug reports.
2649
2650 2008-04-16 Dan Nicolaescu <dann@ics.uci.edu>
2651
2652 * vc.el (vc-dir-kill-query): Fix thinko.
2653
2654 2008-04-16 Glenn Morris <rgm@gnu.org>
2655
2656 * calendar/diary-lib.el (diary-remind): Don't clobber `date' passed
2657 by diary-sexp-entry.
2658
2659 2008-04-16 Markus Triska <markus.triska@gmx.at>
2660
2661 * proced.el (proced-command-alist): Add support for darwin.
2662
2663 2008-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2664
2665 * proced.el (proced-mode): Redefine as just the major-mode.
2666 (proced): Separate it from proced-mode.
2667
2668 * vc.el: Rename vc-status to vc-dir and the vc-status var to vc-ewoc.
2669
2670 2008-04-15 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2671
2672 * whitespace.el: Honor the `indent-tabs-mode' setting from user.
2673 Suggested by Stephen Deasey <sdeasey@gmail.com>. Honor also the
2674 `tab-width' setting from user. New version 10.0. Doc and docstring
2675 fix.
2676 (whitespace-style, whitespace-chars): Remove options.
2677 (whitespace-style-mark): New option, replace whitespace-style deleted
2678 option. Fix docstring.
2679 (whitespace-style-color): New option, replace whitespace-chars deleted
2680 option. Fix docstring.
2681 (whitespace-space, whitespace-hspace, whitespace-tab)
2682 (whitespace-newline, whitespace-trailing, whitespace-line)
2683 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2684 (whitespace-space-after-tab, whitespace-hspace-regexp)
2685 (whitespace-space-regexp, whitespace-tab-regexp)
2686 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
2687 (whitespace-empty-at-eob-regexp, whitespace-line-column)
2688 (whitespace-toggle-option-alist): Fix docstring.
2689 (whitespace-space-before-tab-regexp, whitespace-indentation-regexp)
2690 (whitespace-space-after-tab-regexp, whitespace-display-mappings): Fix
2691 docstring and initialization.
2692 (global-whitespace-mode): Autoloaded global minor mode.
2693 (whitespace-chars-value-list, whitespace-style-value-list)
2694 (whitespace-active-chars, whitespace-active-style)
2695 (whitespace-toggle-chars, whitespace-toggle-style): Remove vars.
2696 (whitespace-color-value-list): New var, replace
2697 whitespace-chars-value-list removed var.
2698 (whitespace-mark-value-list): New var, replace
2699 whitespace-style-value-list removed var.
2700 (whitespace-active-color): New var, replace whitespace-active-chars
2701 removed var.
2702 (whitespace-active-mark): New var, replace whitespace-active-style
2703 removed var.
2704 (whitespace-toggle-color): New var, replace whitespace-toggle-chars
2705 removed var.
2706 (whitespace-toggle-mark): New var, replace whitespace-toggle-style
2707 removed var.
2708 (whitespace-toggle-option-alist, whitespace-report-list)
2709 (whitespace-report-text, whitespace-help-text): Fix initialization.
2710 (whitespace-indent-tabs-mode, whitespace-tab-width): New vars.
2711 (whitespace-toggle-options, global-whitespace-toggle-options)
2712 (whitespace-cleanup-region, whitespace-report-region)
2713 (whitespace-interactive-char): Fix docstring and code.
2714 (whitespace-cleanup, whitespace-report): Fix docstring.
2715 (whitespace-replace-spaces-by-tabs): Remove fun.
2716 (whitespace-replace-action): New fun, replace
2717 whitespace-replace-spaces-by-tabs removed fun.
2718 (whitespace-regexp, whitespace-indentation-regexp)
2719 (whitespace-space-after-tab-regexp, whitespace-insert-value)
2720 (whitespace-kill-buffer): New funs.
2721 (whitespace-insert-option-mark, whitespace-help-on)
2722 (whitespace-help-off, whitespace-turn-on, whitespace-turn-off)
2723 (whitespace-color-on, whitespace-color-off)
2724 (whitespace-display-char-on): Fix code.
2725
2726 2008-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2727
2728 * mouse-drag.el (mouse-throw-magnifier-with-scroll-bar)
2729 (mouse-throw-magnifier-with-mouse-movement): Remove.
2730 (mouse-throw-magnifier-base): New const.
2731 (mouse-drag-scroll-delta): New fun.
2732 (mouse-drag-throw): Use it.
2733
2734 2008-04-15 Juanma Barranquero <lekktu@gmail.com>
2735
2736 * international/uni-bidi.el, international/uni-category.el:
2737 * international/uni-combining.el, international/uni-comment.el:
2738 * international/uni-decimal.el, international/uni-decomposition.el:
2739 * international/uni-digit.el, international/uni-lowercase.el:
2740 * international/uni-mirrored.el, international/uni-name.el:
2741 * international/uni-numeric.el, international/uni-old-name.el:
2742 * international/uni-titlecase.el, international/uni-uppercase.el:
2743 * international/charprop.el: Regenerate.
2744
2745 2008-04-15 Dan Nicolaescu <dann@ics.uci.edu>
2746
2747 * vc.el (vc-status-fileinfo): Add new member directoryp.
2748 (vc-default-status-printer): Print directories.
2749 (vc-status-update): Sort files before subdirectories.
2750
2751 * vc-cvs.el (vc-cvs-after-dir-status, vc-cvs-dir-status):
2752 Add alternative implementation based on "cvs update".
2753
2754 2008-04-15 Tassilo Horn <tassilo@member.fsf.org>
2755
2756 * doc-view.el: Changed requirements section to tell that only one
2757 of dvipdf or dvipdfm is needed.
2758 (doc-view-already-converted-p): Fix bug that forced reconversion
2759 if doc was already converted.
2760
2761 2008-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2762
2763 * minibuffer.el (minibuffer-message):
2764 Make sure we can put-text-property.
2765
2766 * emacs-lisp/crm.el: Complete rewrite.
2767
2768 * tmm.el (tmm-completion-delete-prompt): Don't hardcode point-min==1.
2769 (tmm-add-prompt): Make sure completion-setup-hook is preserved even in
2770 case of an error in display-completion-list.
2771
2772 * filecache.el (file-cache-completions-keymap): Move init from
2773 file-cache-completion-setup-function into declaration.
2774 (file-cache-minibuffer-complete): Simplify.
2775 (file-cache-completion-setup-function): Use standard-output,
2776 preserve current-buffer.
2777
2778 * vc.el (vc-status-update): Fix typo.
2779 (vc-status-update): Set needs-update.
2780 (vc-status-refresh): η-reduce.
2781
2782 2008-04-14 Tassilo Horn <tassilo@member.fsf.org>
2783
2784 * doc-view.el (doc-view-mode-map): Bind C-a to image-bol and C-e
2785 to image-eol.
2786
2787 2008-04-14 Alexandre Julliard <julliard@winehq.org>
2788
2789 * vc.el (vc-status-update): Undo the previous revert.
2790
2791 2008-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2792
2793 * minibuffer.el (completion-table-with-terminator): Those completions
2794 are never valid w.r.t test-completion.
2795 (completion--file-name-table):
2796 Check completion-all-completions-with-base-size.
2797
2798 2008-04-14 Tassilo Horn <tassilo@member.fsf.org>
2799
2800 * doc-view.el (doc-view-dvipdf-program): New variable.
2801 (doc-view-dvipdfm-program): Mention doc-view-dvipdf-program.
2802 (doc-view-mode-p): Check for doc-view-dvipdf-program as
2803 alternative for doc-view-dvipdfm-program.
2804 (doc-view-dvi->pdf): Prefer dvipdf over dvipdfm.
2805
2806 * doc-view.el (doc-view-start-process): Don't set
2807 default-directory to "~/" if the current value is valid.
2808 This broke PS files that run other files in the same directory.
2809
2810 2008-04-14 Dan Nicolaescu <dann@ics.uci.edu>
2811
2812 * vc.el (vc-status-kill-query): New function.
2813 (vc-status-mode): Add it to kill-buffer-query-functions.
2814 (vc-status-show-fileentry): New function.
2815 (vc-status-menu-map): Bind it. Bind vc-next-action.
2816
2817 2008-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2818
2819 * minibuffer.el (minibuffer-message): Put cursor at the right place.
2820
2821 2008-04-13 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
2822
2823 * proced.el (proced-send-signal): Fix error recognition.
2824
2825 2008-04-13 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
2826
2827 * proced.el (proced-command-alist): Remove sort column.
2828 (proced-command, proced-procname-column):
2829 Use make-variable-buffer-local.
2830 (proced-signal-function): Rename from proced-kill-program.
2831 Allow for elisp symbols and string values representing system calls.
2832 (proced-marker-regexp, proced-success-message): New functions.
2833 (proced): Use defalias. Add autoload cookie.
2834 (proced-unmark-backward, proced-toggle-marks)
2835 (proced-hide-processes): New commands.
2836 (proced-do-mark): Simplify code.
2837 (proced-insert-mark): Use optional arg BACKWARD instead of line number.
2838 (proced-update): Remove sorting.
2839 (proced-send-signal): Display number of processes to operate on.
2840 Allow for system calls or elisp functions to send signals.
2841 Check if signal was sent successfully.
2842
2843 2008-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
2844
2845 * minibuffer.el (completion-all-completion-with-base-size): New var.
2846 (completion--some): New function.
2847 (completion-table-with-context, completion--file-name-table):
2848 Return the base-size if requested.
2849 (completion-table-in-turn): Generalize to multiple arguments.
2850 (complete-in-turn): Compatibility alias.
2851 (completion-styles-alist): New var.
2852 (completion-styles): New customization.
2853 (minibuffer-try-completion, minibuffer-all-completions):
2854 New functions.
2855 (minibuffer--do-completion, minibuffer-complete-and-exit)
2856 (minibuffer-try-word-completion): Use them.
2857 (display-completion-list, minibuffer-completion-help): Use them.
2858 Handle all-completions's new base-size info to set completion-base-size.
2859 * info.el (Info-read-node-name-1): Use completion-table-with-context,
2860 completion-table-with-terminator and complete-with-action.
2861 Remove the now obsolete completion-base-size-function property.
2862 * simple.el (completion-list-mode-map): Move init into declaration.
2863 (completion-list-mode): Use define-derived-mode.
2864 (completion-setup-function): Use any completion-base-size that may
2865 have been set before. Remove handling of completion-base-size-function.
2866 * loadup.el: Move abbrev.el up earlier.
2867
2868 2008-04-13 Alexandre Julliard <julliard@winehq.org>
2869
2870 * vc-git.el (vc-git-after-dir-status-stage)
2871 (vc-git-dir-status-goto-stage): New functions.
2872 (vc-git-after-dir-status-stage1)
2873 (vc-git-after-dir-status-stage1-empty-db)
2874 (vc-git-after-dir-status-stage2): Remove, functionality moved
2875 into the new generic stage functions.
2876 (vc-git-dir-status-files): New function.
2877
2878 * vc.el (vc-status-update): Revert an incorrect rewrite.
2879 Add some comments.
2880 (vc-status-refresh-files): New function.
2881 (vc-status-refresh): Use `vc-status-refresh-files' to refresh the
2882 state of up-to-date files.
2883 (vc-default-dir-status-files): New function.
2884
2885 2008-04-13 Juanma Barranquero <lekktu@gmail.com>
2886
2887 * minibuffer.el (completion--embedded-envvar-table)
2888 (read-file-name-internal): Fix typos in 2008-04-11 change.
2889
2890 * faces.el (read-face-name): Use `completion-table-in-turn',
2891 not `complete-in-turn'.
2892
2893 2008-04-13 Andreas Schwab <schwab@suse.de>
2894
2895 * progmodes/etags.el: Require 'cl when compiling.
2896
2897 2008-04-12 Nick Roberts <nickrob@snap.net.nz>
2898
2899 * progmodes/gud.el (gud-menu-map): Expand tooltip.
2900
2901 * progmodes/gdb-ui.el (gdb-find-source-frame): Improve doc string.
2902 (menu): Add/expand menu tooltips.
2903
2904 2008-04-12 Dan Nicolaescu <dann@ics.uci.edu>
2905
2906 * progmodes/sh-script.el (sh-show-indent): Fix typo.
2907 (sh-mode-map): Add a toggle for inserting braces and quotes in pairs.
2908
2909 * vc-cvs.el (vc-cvs-registered): Allow removed files to be
2910 considered registered.
2911
2912 2008-04-12 Reiner Steib <Reiner.Steib@gmx.de>
2913
2914 * emacs-lisp/copyright.el (copyright-update-directory): New command.
2915
2916 * ediff-wind.el (ediff-split-window-function)
2917 (ediff-merge-split-window-function): Improve custom type.
2918
2919 2008-04-12 Eli Zaretskii <eliz@gnu.org>
2920
2921 * loadup.el ("minibuffer"): Move after "faces".
2922
2923 2008-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2924
2925 * progmodes/hideif.el (hif-factor): Handle unary minus.
2926
2927 2008-04-12 Glenn Morris <rgm@gnu.org>
2928
2929 * calendar/cal-china.el (chinese-calendar-time-zone):
2930 Mark obsolete name as risky too.
2931
2932 * calendar/calendar.el (calendar-faces): New custom group.
2933 (calendar-today, diary, holiday): Doc fix.
2934 Move to calendar-faces group.
2935 * calendar/diary-lib.el (diary-face, diary-anniversary, diary-time)
2936 (diary-button): Doc fix. Move to calendar-faces group.
2937
2938 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
2939 * desktop.el, files.el, hilit-chg.el, ibuffer.el, iswitchb.el:
2940 * pcvs-info.el, recentf.el, speedbar.el, calendar/cal-china.el:
2941 * calendar/cal-hebrew.el, calendar/cal-x.el, calendar/calendar.el
2942 * calendar/diary-lib.el, net/net-utils.el, progmodes/gud.el:
2943 Move non-autoloaded define-obsolete-variable-alias calls for defcustoms
2944 not in dumped files before the associated defcustom.
2945
2946 2008-04-11 Johan Bockgård <bojohan@gnu.org>
2947
2948 * minibuffer.el (lazy-completion-table): Fix debug spec.
2949
2950 2008-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2951
2952 * minibuffer.el (complete-with-action, lazy-completion-table):
2953 Move from subr.el.
2954 (apply-partially, completion-table-dynamic)
2955 (completion-table-with-context, completion-table-with-terminator)
2956 (completion-table-in-turn): New funs.
2957 (completion--make-envvar-table, completion--embedded-envvar-table):
2958 New funs.
2959 (read-file-name-internal): Use them.
2960 (completion-setup-hook): Move from simple.el.
2961 * subr.el (complete-with-action, lazy-completion-table):
2962 * simple.el (completion-setup-hook): Move to minibuffer.el.
2963
2964 2008-04-11 Glenn Morris <rgm@gnu.org>
2965
2966 * Makefile.in (AUTOGENEL): Add calc/calc-loaddefs.el.
2967
2968 2008-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2969
2970 * progmodes/python.el (python-mode): Don't mess with hippie-expand.
2971
2972 * Makefile.in (bootstrap-prepare): Make tpu-edt.el writable as well.
2973
2974 * textmodes/fill.el (fill-forward-paragraph-function): New var.
2975 (fill-forward-paragraph): New fun.
2976 (fill-paragraph, fill-region): Use it.
2977
2978 * vc.el: Change `dir-status' to not take (and pass) status-buffer.
2979 (vc-status-create-fileinfo): Make `extra' optional.
2980 (vc-status-busy): New fun.
2981 (vc-status-menu-map): Use it.
2982 (vc-status-crt-marked): Remove.
2983 (vc-status-update): Rename from vc-status-add-entries.
2984 Add argument so as to prevent addition of entries. Rewrite.
2985 (vc-update-vc-status-buffer): Remove.
2986 (vc-status-refresh): Don't remove old entries, set them to
2987 up-to-date instead. Also do it after the update is complete.
2988 (vc-status-marked-files): η-reduce.
2989
2990 * dired.el (dired-read-dir-and-switches): Use read-directory-name even
2991 for non-dialogs.
2992
2993 * Makefile.in (bootstrap-prepare): Don't copy ldefs-boot over loaddefs.
2994
2995 * loadup.el: Load ldefs-boot.el if loaddefs.el doesn't exist.
2996
2997 2008-04-11 Jan Djärv <jan.h.d@swipnet.se>
2998
2999 * tooltip.el (tooltip-show-help-non-mode): Set message-truncate-lines
3000 to t and don't truncate msg.
3001
3002 2008-04-11 Glenn Morris <rgm@gnu.org>
3003
3004 * calendar/calendar.el (diary, holidays):
3005 Move custom groups to other files.
3006 (holiday-general-holidays, holiday-oriental-holidays)
3007 (holiday-local-holidays, holiday-other-holidays, hebrew-holidays-1)
3008 (hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
3009 (holiday-hebrew-holidays, holiday-christian-holidays)
3010 (holiday-islamic-holidays, holiday-bahai-holidays)
3011 (holiday-solar-holidays, calendar-holidays): Move to holidays.el.
3012 * calendar/diary-lib.el: Move custom group here from calendar.el.
3013 * calendar/holidays-lib.el: Move custom group and variables here
3014 from calendar.el.
3015
3016 * calendar/cal-china.el (calendar-chinese-time-zone): Mark as risky.
3017
3018 * calendar/cal-dst.el (calendar-dst-check-each-year-flag):
3019 Fix custom group.
3020 (calendar-current-time-zone-cache): Autoload riskiness.
3021
3022 * calendar/cal-tex.el (cal-tex-preamble-extra): Fix custom type.
3023
3024 2008-04-11 Chong Yidong <cyd@stupidchicken.com>
3025
3026 * woman.el (woman2-TH): Use string-equal instead of string-match.
3027
3028 2008-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3029
3030 * smerge-mode.el (smerge-apply-resolution-patch): Fix typo.
3031 (smerge-resolve): Merge the "2-way refinement" case with one half of
3032 the "mere whitespace" resolution.
3033
3034 2008-04-10 Dan Nicolaescu <dann@ics.uci.edu>
3035
3036 * vc-bzr.el (vc-bzr-after-dir-status): Detect the conflict state.
3037
3038 2008-04-10 Juanma Barranquero <lekktu@gmail.com>
3039
3040 * subr.el (assoc-ignore-case, assoc-ignore-representation):
3041 Add WHEN to obsolescence declaration.
3042
3043 * makefile.w32-in (AUTOGENEL): Add calc-loaddefs.el.
3044
3045 2008-04-10 Dan Nicolaescu <dann@ics.uci.edu>
3046
3047 * vc-hooks.el (vc-state): Add new state `conflict'.
3048 (vc-after-save): Use when not if.
3049 (vc-default-mode-line-string): Deal with the conflict state.
3050 (vc-prefix-map, vc-menu-map): Bind vc-status instead of vc-directory.
3051
3052 * vc.el (vc-editable-p, vc-default-status-printer)
3053 (vc-next-action): Deal with the conflict state.
3054 (vc-mark-resolved): New function.
3055 (vc-status-mode): Fix mode name.
3056 (vc-default-comment-history): Use when not if.
3057 (Todo): Add new entries, remove old ones.
3058
3059 * vc-cvs.el (vc-cvs-merge, vc-cvs-merge-news): Set conflict state.
3060 (vc-cvs-parse-status, vc-cvs-after-dir-status):
3061 * vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
3062 Detect the conflict state.
3063
3064 * vc-hg.el (vc-hg-dir-status): Remove unneeded call.
3065
3066 2008-04-10 Glenn Morris <rgm@gnu.org>
3067
3068 * menu-bar.el (menu-bar-options-menu) <truncate-lines>:
3069 Respect truncate-partial-width-windows in non-full windows,
3070 with regards to :toggle and :enable state.
3071
3072 * simple.el (toggle-truncate-lines): Doc fix.
3073
3074 * Makefile.in (MH_E_DIR): New variable.
3075 (MH_E_SRC): Restore variable removed 2008-03-13.
3076 (mh-loaddefs.el): Depend on $MH_E_SRC.
3077 (CAL_DIR, CAL_SRC): New variables.
3078 (cal-loaddefs.el, diary-loaddefs.el, hol-loaddefs.el):
3079 Depend on CAL_SRC.
3080
3081 * calendar/calendar.el (calendar, diary): Add :prefix.
3082 (holidays): Change :prefix.
3083 (calendar-today, holiday, calendar-holiday-marker)
3084 (european-calendar-style): Change custom groups.
3085
3086 * calendar/calendar.el (diary-hook, diary-display-hook):
3087 Move to diary-lib.el.
3088 * calendar/diary-lib.el (diary-hook, diary-display-hook):
3089 Move here from calendar.el.
3090 * calendar/appt.el: Require diary-lib rather than calendar.
3091 * calendar/cal-x.el (diary-display-hook): Declare for compiler.
3092
3093 * calendar/appt.el (appt): Add :prefix.
3094
3095 * calendar/diary-lib.el (diary-hook): Doc fix.
3096 (diary-mark-sexp-entries): Fix replacement of calendar-for-loop.
3097
3098 2008-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
3099
3100 * minibuffer.el (minibuffer--double-dollars, read-file-name-internal):
3101 New functions.
3102
3103 * minibuffer.el (minibuffer--do-completion): Don't forget to propagate
3104 the arg to recursive calls.
3105
3106 2008-04-09 Juanma Barranquero <lekktu@gmail.com>
3107
3108 * minibuffer.el (completion-auto-help): Fix typo.
3109
3110 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
3111
3112 * vc-cvs.el (vc-cvs-diff-tree): Remove unused function.
3113
3114 2008-04-09 Michael Albinus <michael.albinus@gmx.de>
3115
3116 * net/tramp.el (tramp-find-file-name-coding-system-alist): New defun.
3117 (tramp-handle-insert-file-contents, tramp-handle-write-region): Use it.
3118
3119 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
3120
3121 * vc-hooks.el (vc-default-mode-line-string): Use ? for missing.
3122
3123 * minibuffer.el (minibuffer): Move group from cus-edit.el.
3124 (completion-auto-help): Move from C code.
3125 (minibuffer--maybe-completion-help): Remove.
3126 (minibuffer--bitset): New function.
3127 (minibuffer--do-completion): Rename from minibuffer-do-completion.
3128 Renumber a bit. Really complete on string *before* point.
3129 Add argument used for word-completion.
3130 Join trailing / in completion with following text, as done in
3131 minibuffer-complete-word.
3132 Handle new value `lazy' for completion-auto-help.
3133 (minibuffer-try-word-completion): New function extracted from
3134 minibuffer-complete-word.
3135 (minibuffer-complete-word): Use minibuffer--do-completion.
3136 (minibuffer--insert-strings): Rename from
3137 minibuffer-complete-insert-strings.
3138 (exit-minibuffer): Fix typo.
3139 * cus-edit.el (minibuffer): Move group to minibuffer.el.
3140 * cus-start.el: Remove completion-auto-help.
3141
3142 2008-04-09 Alexandre Julliard <julliard@winehq.org>
3143
3144 * vc.el (vc-status-add-entries): New function.
3145 (vc-status-add-entry): Remove.
3146 (vc-update-vc-status-buffer, vc-status-mark-buffer-changed):
3147 Use vc-status-add-entries.
3148
3149 * emacs-lisp/ewoc.el (ewoc-collect): Return results in the correct
3150 order.
3151
3152 2008-04-09 Jason Rumney <jasonr@gnu.org>
3153
3154 * makefile.w32-in (LOADDEFS): Add mh-loaddefs.el.
3155 ($(lisp)/mh-e/mh-loaddefs.el): Simplify rule.
3156 (pre-mh-loaddefs.el-CMD, pre-mh-loaddefs.el-SH): Remove.
3157 (AUTOGENEL): New variable.
3158 (distclean, maintainer-clean): New targets.
3159
3160 2008-04-09 Chong Yidong <cyd@stupidchicken.com>
3161
3162 * emacs-lisp/regexp-opt.el (regexp-opt):
3163 Reduce max-lisp-eval-depth and max-specpdl-size to 10000.
3164
3165 2008-04-09 Lennart Borgman <lennart.borgman@gmail.com>
3166
3167 * nxml/nxml-mode.el (nxml-cleanup): New function.
3168 (nxml-mode): Add it to change-major-mode-hook.
3169
3170 2008-04-09 Jan Djärv <jan.h.d@swipnet.se>
3171
3172 * term/x-win.el (x-gtk-stock-map): Map info to gtk-info.
3173
3174 2008-04-09 Juanma Barranquero <lekktu@gmail.com>
3175
3176 * calc/.cvsignore: New file.
3177
3178 2008-04-09 Jan Djärv <jan.h.d@swipnet.se>
3179
3180 * vc.el (vc-status-tool-bar-map): Add vc-print-log to tool bar.
3181
3182 * tooltip.el (tooltip-mode): Set tooltip-show-help-non-mode as
3183 show-help-function when turning tooltip off.
3184 (tooltip-show): Call tooltip-show-help-non-mode if use-echo-area.
3185 (tooltip-trunc-str, tooltip-show-help-non-mode): New.
3186
3187 2008-04-09 Alan Mackenzie <acm@muc.de>
3188
3189 * font-lock.el (font-lock-extend-after-change-region-function):
3190 Make it buffer local.
3191
3192 2008-04-09 Glenn Morris <rgm@gnu.org>
3193
3194 * calendar/calendar.el (diary-file, european-calendar-style):
3195 Remove autoload cookies.
3196
3197 2008-04-09 Dan Nicolaescu <dann@ics.uci.edu>
3198
3199 * outline.el (outline-mode-menu-bar-map):
3200 * log-view.el (log-view-mode-menu):
3201 * log-edit.el (log-edit-menu): Add :help.
3202
3203 2008-04-09 Chong Yidong <cyd@stupidchicken.com>
3204
3205 * emacs-lisp/regexp-opt.el (regexp-opt-group):
3206 Use substring-no-properties for correct handling of unibyte strings.
3207
3208 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
3209
3210 * add-log.el (change-log-next-buffer): Handle the case where version<
3211 signals an error.
3212
3213 * mouse.el (mouse-menu-major-mode-map): New fun extracted from
3214 mouse-major-mode-menu.
3215 (mouse-menu-bar-map): New fun extracted from mouse-popup-menubar.
3216 (mouse-major-mode-menu, mouse-popup-menubar)
3217 (mouse-popup-menubar-stuff): Use them.
3218 (C-down-mouse-3): Bind to a dynamic map rather than to
3219 mouse-popup-menubar-stuff.
3220
3221 * bindings.el (mode-line-major-mode-keymap): Bind down-mouse-1
3222 to mouse-menu-major-mode-map rather than to mouse-major-mode-menu.
3223
3224 2008-04-09 Dan Nicolaescu <dann@ics.uci.edu>
3225
3226 * vc-svn.el (vc-svn-modify-change-comment): Add support for the
3227 file:// access method.
3228
3229 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
3230
3231 * minibuffer.el: New file.
3232 * loadup.el: Load it.
3233
3234 2008-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
3235
3236 * Makefile.in ($(lisp)/mh-e/mh-loaddefs.el): Make it depend on mh-e/*.el
3237 rather than subdirs.el. It introduces an ugly circular dependency, tho.
3238
3239 * calc/calc.el: Load "calc-loaddefs" rather than set up manual autoloads.
3240 (calc-mode-map, calc-digit-map, calc-dispatch-map):
3241 Move initialization into declaration.
3242 * calc/calc-yank.el:
3243 * calc/calc-misc.el:
3244 * calc/calc-embed.el:
3245 * calc/calc-aent.el: Add autoload cookies. Set generated-autoload-file.
3246
3247 2008-04-08 Michael Albinus <michael.albinus@gmx.de>
3248
3249 * ps-samp.el (ps-add-printer, ps-remove-printer)
3250 (ps-make-dynamic-printer-menu): New functions.
3251
3252 * net/zeroconf.el: New file.
3253
3254 2008-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
3255
3256 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits): Typo.
3257
3258 2008-04-08 Dan Nicolaescu <dann@ics.uci.edu>
3259
3260 * vc-rcs.el (vc-rcs-modify-change-comment):
3261 * vc-cvs.el (vc-cvs-modify-change-comment): Fix argument order.
3262
3263 * log-view.el (log-view-mode-menu): Bind log-view-modify-change-comment.
3264
3265 2008-04-08 Juanma Barranquero <lekktu@gmail.com>
3266
3267 * international/mule-cmds.el (set-locale-environment): Don't warn if
3268 coding system doesn't agree with system locale (this reverts changes
3269 by Dave Love, dated 2002-10-27 and 2002-10-09).
3270
3271 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
3272 * emacs-lisp/cl-macs.el (get-setf-method): Use `string-match-p'.
3273
3274 * emacs-lisp/copyright.el (copyright-update-year): Use `looking-at-p'.
3275
3276 2008-04-08 Glenn Morris <rgm@gnu.org>
3277
3278 * calendar/calendar.el (calendar-date-style): Remove autoload cookie.
3279 * textmodes/remember.el (remember-diary-convert-entry):
3280 Require calendar.
3281
3282 * textmodes/remember.el (remember-diary-extract-entries): Don't pass
3283 diary-file, since it is the default for make-diary-entry anyway.
3284
3285 * calendar/cal-menu.el (cal-menu-event-to-date):
3286 Rename calendar-event-to-date. Update callers.
3287 (calendar-mouse-tex-day): Rename cal-tex-mouse-day.
3288 (calendar-mouse-tex-week): Rename cal-tex-mouse-week.
3289 (calendar-mouse-tex-week2): Rename cal-tex-mouse-week2.
3290 (calendar-mouse-tex-week-iso): Rename cal-tex-mouse-week-iso.
3291 (calendar-mouse-tex-week-monday): Rename cal-tex-mouse-week-monday.
3292 (calendar-mouse-tex-filofax-daily): Rename cal-tex-mouse-filofax-daily.
3293 (calendar-mouse-tex-filofax-2week): Rename cal-tex-mouse-filofax-2week.
3294 (calendar-mouse-tex-filofax-week): Rename cal-tex-mouse-filofax-week.
3295 (calendar-mouse-tex-month): Rename cal-tex-mouse-month.
3296 (calendar-mouse-tex-month-landscape):
3297 Rename cal-tex-mouse-month-landscape.
3298 (calendar-mouse-tex-year): Rename cal-tex-mouse-year.
3299 (calendar-mouse-tex-filofax-year): Rename cal-tex-mouse-filofax-year.
3300 (calendar-mouse-tex-year-landscape):
3301 Rename cal-tex-mouse-year-landscape.
3302 (cal-menu-context-mouse-menu): Update for above name changes.
3303
3304 * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
3305 * calendar/cal-french.el, calendar/cal-hebrew.el, calendar/cal-islam.el:
3306 * calendar/cal-iso.el, calendar/cal-julian.el, calendar/cal-move.el:
3307 * calendar/cal-persia.el, calendar/cal-tex.el, calendar/calendar.el:
3308 * calendar/holidays.el: Replace int-to-string with number-to-string.
3309
3310 2008-04-08 Chong Yidong <cyd@stupidchicken.com>
3311
3312 * mwheel.el (mwheel-scroll): Deactivate any temporarily active
3313 region if point moves.
3314
3315 2008-04-08 Kenichi Handa <handa@m17n.org>
3316
3317 * faces.el (font-slant-table): Change numeric values for `r',
3318 `roman', and `normal'.
3319
3320 2008-04-07 Vincent Belaïche <vincent.b.1@hotmail.fr>
3321
3322 * calc/calc-vec.el (calcFunc-kron, calc-kron): New functions.
3323
3324 2008-04-07 Jay Belanger <jay.p.belanger@gmail.com>
3325
3326 * calc/calc-ext.el (calc-init-extensions): Add `calc-kron' and
3327 `calcFunc-kron' to autoloads. Add keybinding for `calc-kron'.
3328
3329 2008-04-07 Michael Albinus <michael.albinus@gmx.de>
3330
3331 * net/tramp.el (tramp-methods): Fix again tramp-copy-args of
3332 "pscp" and "psftp". Reported by Gilles Pion <gpion@lfdj.com>.
3333
3334 2008-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
3335
3336 * dired-aux.el (dired-read-shell-command): Use read-shell-command.
3337
3338 2008-04-07 Sam Steingold <sds@gnu.org>
3339
3340 * progmodes/inf-lisp.el (lisp-compile-string, lisp-eval-string):
3341 Add helper functions.
3342 (lisp-do-defun): Extract the common part of lisp-eval-defun and
3343 lisp-compile-defun; DEFVAR forms reset the variables to the init
3344 values, just like in emacs-lisp mode eval-defun.
3345 (lisp-eval-defun, lisp-compile-defun): Use lisp-do-defun.
3346 (lisp-compile-region): Use lisp-compile-string.
3347
3348 2008-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
3349
3350 * subr.el (combine-and-quote-strings): Also quote strings that contain
3351 the separator.
3352
3353 * pcvs-util.el (cvs-map): Avoid recursion :-(
3354
3355 2008-04-07 Glenn Morris <rgm@gnu.org>
3356
3357 * calendar/calendar.el (calendar-mode-map): Replace use of kbd.
3358
3359 * calendar.el (diary-view-entries-initially-flag): Rename
3360 view-diary-entries-initially. Keep old name as alias, update users.
3361 (calendar-mark-diary-entries-flag): Rename
3362 mark-diary-entries-in-calendar. Keep old name as alias, update users.
3363 (calendar-view-holidays-initially-flag): Rename
3364 view-calendar-holidays-initially. Keep old name as alias, update users.
3365 (calendar-mark-holidays-flag): Rename mark-holidays-in-calendar.
3366 Keep old name as alias, update users.
3367 (calendar-initial-window-hook): Rename initial-calendar-window-hook.
3368 Keep old name as alias, update users.
3369 (calendar-today-visible-hook): Rename today-visible-calendar-hook.
3370 Keep old name as alias, update users.
3371 (calendar-today-invisible-hook): Rename today-invisible-calendar-hook.
3372 Keep old name as alias, update users.
3373 (diary-iso-date-forms): Rename iso-date-diary-pattern. Update users.
3374 (diary-american-date-forms): Rename american-date-diary-pattern.
3375 Keep old name as alias, update users.
3376 (diary-european-date-forms): Rename european-date-diary-pattern.
3377 Keep old name as alias, update users.
3378 (calendar-iso-date-display-form): Rename iso-calendar-display-form.
3379 Keep old name as alias, update users.
3380 (calendar-european-date-display-form): Rename
3381 european-calendar-display-form. Keep old name as alias, update users.
3382 (calendar-american-date-display-form): Rename
3383 european-calendar-display-form. Keep old name as alias, update users.
3384 (diary-show-holidays-flag): Rename holidays-in-diary-buffer.
3385 Keep old name as alias, update users.
3386 (holiday-general-holidays): Rename general-holidays.
3387 Keep old name as alias, update users.
3388 (holiday-oriental-holidays): Rename oriental-holidays.
3389 Keep old name as alias, update users.
3390 (holiday-local-holidays): Rename local-holidays.
3391 Keep old name as alias, update users.
3392 (holiday-other-holidays): Rename other-holidays.
3393 Keep old name as alias, update users.
3394 (holiday-hebrew-holidays): Rename hebrew-holidays.
3395 Keep old name as alias, update users.
3396 (holiday-christian-holidays): Rename christian-holidays.
3397 Keep old name as alias, update users.
3398 (holiday-islamic-holidays): Rename islamic-holidays.
3399 Keep old name as alias, update users.
3400 (holiday-bahai-holidays): Rename bahai-holidays.
3401 Keep old name as alias, update users.
3402 (holiday-solar-holidays): Rename solar-holidays.
3403 Keep old name as alias, update users.
3404 (diary-fancy-buffer): Rename fancy-diary-buffer.
3405 Keep old name as alias, update users.
3406 (calendar-other-calendars-buffer): Rename other-calendars-buffer.
3407 Update users.
3408 (calendar-hebrew-yahrzeit-buffer): Rename cal-hebrew-yahrzeit-buffer.
3409 Update users.
3410 (calendar-increment-month): Rename increment-calendar-month.
3411 Keep old name as alias, update callers.
3412 (calendar-increment-month-cons): Rename old calendar-increment-month.
3413 Update callers.
3414 (calendar-extract-month): Rename extract-calendar-month.
3415 Keep old name as alias, update callers
3416 (calendar-extract-day): Rename extract-calendar-day.
3417 Keep old name as alias, update callers.
3418 (calendar-extract-year): Rename extract-calendar-year.
3419 Keep old name as alias, update callers.
3420 (calendar-generate-window): Rename generate-calendar-window.
3421 Update callers.
3422 (calendar-generate): Rename generate-calendar. Update callers.
3423 (calendar-generate-month): Rename generate-calendar-month.
3424 Update callers.
3425 (calendar-redraw): Rename redraw-calendar. Update callers.
3426 (calendar-describe-mode): Rename describe-calendar-mode. Update uses.
3427 (calendar-mouse-other-month): Rename mouse-calendar-other-month.
3428 Update callers.
3429 (calendar-update-mode-line): Rename update-calendar-mode-line.
3430 Update callers.
3431 (calendar-exit): Rename exit-calendar. Keep old name as alias,
3432 update callers.
3433 (calendar-mark-visible-date): Rename mark-visible-calendar-date.
3434 Keep old name as alias, update callers.
3435 * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
3436 * calendar/cal-dst.el, calendar/cal-french.el, calendar/cal-hebrew.el:
3437 * calendar/cal-html.el, calendar/cal-islam.el, calendar/cal-iso.el:
3438 * calendar/cal-julian.el, calendar/cal-menu.el, calendar/cal-move.el:
3439 * calendar/cal-persia.el, calendar/cal-tex.el, calendar/cal-x.el:
3440 * calendar/diary-lib.el, calendar/holidays.el, calendar/lunar.el:
3441 * calendar/solar.el: Update for calendar.el name changes.
3442 * org/org.el (org-agenda-format-date-aligned)
3443 (org-agenda-execute-calendar-command): Access date elements directly
3444 rather than using calendar functions.
3445 (org-read-date, org-goto-calendar, org-agenda-goto-calendar):
3446 Also set calendar-view-diary-initially-flag,
3447 calendar-view-holidays-initially-flag
3448 (org-get-entries-from-diary): Also set diary-fancy-buffer.
3449 (org-agenda-execute-calendar-command): No need to set displayed-day.
3450
3451 2008-04-06 Alan Mackenzie <acm@muc.de>
3452
3453 * progmodes/cc-langs.el (c-before-font-lock-function): Correct a
3454 typo in the doc string.
3455
3456 * progmodes/cc-mode.el (c-basic-common-init):
3457 Set font-lock-extend-after-change-region-function.
3458 (c-extend-after-change-region): New function, used in
3459 font-lock-extend-after-change-region-function, thus superseding
3460 advice on the Font Lock after change functions.
3461 (c-advise-fl-for-region): Remove this macro.
3462
3463 2008-04-06 Reiner Steib <Reiner.Steib@gmx.de>
3464
3465 * textmodes/flyspell.el (flyspell-duplicate-distance):
3466 Improve custom type.
3467
3468 2008-04-06 Glenn Morris <rgm@gnu.org>
3469
3470 * calendar/diary-lib.el (diary-sexp-entry-symbol):
3471 Rename sexp-diary-entry-symbol. Keep old name as alias, update users.
3472 (diary-list-entries-hook): Rename list-diary-entries-hook.
3473 Keep old name as alias, update users.
3474 (diary-mark-entries-hook): Rename mark-diary-entries-hook.
3475 Keep old name as alias, update users.
3476 (diary-nongregorian-listing-hook): Rename
3477 nongregorian-diary-listing-hook. Keep old name as alias, update users.
3478 (diary-nongregorian-marking-hook): Rename
3479 nongregorian-diary-marking-hook. Keep old name as alias, update users.
3480 (diary-print-entries-hook): Rename print-diary-entries-hook.
3481 Keep old name as alias, update users.
3482 (diary-abbreviated-year-flag): Rename abbreviated-calendar-year.
3483 Keep old name as alias, update users.
3484 (diary-number-of-entries): Rename number-of-diary-entries.
3485 Keep old name as alias, update users.
3486 (view-diary-entries, list-diary-entries, show-all-diary-entries):
3487 Give version of obsolescence.
3488 (diary-view-other-diary-entries): Rename view-other-diary-entries.
3489 Keep old name as alias, update callers.
3490 (diary-add-to-list): Rename add-to-diary-list. Keep old name as alias,
3491 update callers.
3492 (diary-include-other-diary-files): Rename include-other-diary-files.
3493 Keep old name as alias, update callers.
3494 (diary-simple-display): Rename simple-diary-display.
3495 Keep old name as alias, update callers.
3496 (diary-fancy-display): Rename fancy-diary-display.
3497 Keep old name as alias, update callers.
3498 (diary-print-entries): Rename print-diary-entries.
3499 Keep old name as alias, update callers.
3500 (diary-marking-entries-flag): Rename marking-diary-entries.
3501 Update users.
3502 (diary-marking-entry-flag): Rename marking-diary-entry. Update users.
3503 (diary-mark-entries): Rename mark-diary-entries.
3504 Keep old name as alias, update callers.
3505 (diary-mark-sexp-entries): Rename mark-sexp-diary-entries.
3506 Keep old name as alias, update callers.
3507 (diary-mark-included-diary-files): Rename mark-included-diary-files.
3508 Keep old name as alias, update callers.
3509 (calendar-mark-days-named): Rename mark-calendar-days-named.
3510 Keep old name as alias, update callers.
3511 (calendar-mark-month): Rename mark-calendar-month.
3512 Keep old name as alias, update callers.
3513 (calendar-mark-date-pattern): Rename mark-calendar-date-pattern.
3514 Keep old name as alias, update callers.
3515 (diary-sort-entries): Rename sort-diary-entries.
3516 Keep old name as alias, update callers.
3517 (diary-list-sexp-entries): Rename list-sexp-diary-entries.
3518 Keep old name as alias, update callers.
3519 (diary-make-entry): Rename make-diary-entry. Keep old name as alias,
3520 update callers.
3521 (diary-insert-entry): Rename insert-diary-entry.
3522 Keep old name as alias.
3523 (diary-insert-weekly-entry): Rename insert-weekly-diary-entry.
3524 Keep old name as alias.
3525 (diary-insert-monthly-entry): Rename insert-monthly-diary-entry.
3526 Keep old name as alias.
3527 (diary-insert-yearly-entry): Rename insert-yearly-diary-entry.
3528 Keep old name as alias.
3529 (diary-insert-anniversary-entry): Rename insert-anniversary-diary-entry.
3530 Keep old name as alias.
3531 (diary-insert-block-entry): Rename insert-block-diary-entry.
3532 Keep old name as alias.
3533 (diary-insert-cyclic-entry): Rename insert-cyclic-diary-entry.
3534 Keep old name as alias.
3535 (diary-fancy-font-lock-keywords): Rename fancy-diary-font-lock-keywords.
3536 Keep old name as alias, update users.
3537 (diary-fancy-display-mode): Rename fancy-diary-display-mode.
3538 Keep old name as alias, update callers.
3539 * calendar/cal-bahai.el, calendar/cal-hebrew.el, calendar/cal-islam.el:
3540 * calendar/cal-menu.el, calendar/cal-x.el, calendar/calendar.el:
3541 * calendar/icalendar.el: Update for diary-lib name changes.
3542
3543 2008-04-06 Chong Yidong <cyd@stupidchicken.com>
3544
3545 * dired-aux.el (dired-overwrite-confirmed): Revert last change.
3546
3547 * dired.el (dired-dnd-handle-local-file): Obey dired-backup-overwrite
3548 for copy, move, and link operations.
3549
3550 2008-04-06 Michael Kifer <kifer@cs.stonybrook.edu>
3551
3552 * emulation/viper-init.el, emulation/viper-ex.el, emulation/viper-cmd.el
3553 (viper-search-wrap-around-t): Replace with viper-search-wrap-around.
3554
3555 * ediff-util.el, ediff-vers.el, ediff-wind.el: Replace 3-argument
3556 'require' statements with 1-argument ones (wrapped in if's).
3557 For compatibility with the current stable version of XEmacs.
3558
3559 2008-04-06 Dan Nicolaescu <dann@ics.uci.edu>
3560
3561 * vc.el (vc-status-prepare-status-buffer): Reset vc-parent-buffer-name.
3562
3563 2008-04-06 Jason Rumney <jasonr@gnu.org>
3564
3565 * language/burmese.el ("Burmese"): Make sample text consistent with
3566 language name.
3567
3568 2008-04-06 Nick Roberts <nickrob@snap.net.nz>
3569
3570 * progmodes/gdb-ui.el (gdb): New group.
3571 (gdb-debug-log-max, gdb-enable-debug)
3572 (gdb-cpp-define-alist-program, gdb-cpp-define-alist-flags)
3573 (gdb-show-main, gdb-many-windows, gdb-use-separate-io-buffer)
3574 (gdb-speedbar-auto-raise, gdb-use-colon-colon-notation)
3575 (gdb-show-changed-values, gdb-max-children)
3576 (gdb-delete-out-of-scope, gdb-same-frame, gdb-find-source-frame)
3577 (breakpoint-enabled, breakpoint-disabled, gdb-max-frames)
3578 (gdb-all-registers, gdb-memory-repeat-count, gdb-memory-format)
3579 (gdb-memory-unit): Move to new group from GUD group.
3580 (menu): Allow customization from GDB-UI menu-item.
3581
3582 2008-04-05 Chong Yidong <cyd@stupidchicken.com>
3583
3584 * dired-aux.el (dired-overwrite-confirmed): Supply initial value.
3585
3586 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
3587
3588 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-annotate-command)
3589 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
3590 Revision numbers can include ".".
3591
3592 * diff-mode.el (diff-end-of-hunk): Be careful not to overlook trailing
3593 "+" lines not accounted for by counting "-" and context lines.
3594
3595 2008-04-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3596
3597 * term/mac-win.el (mac-service-open-file): Use file URL instead of
3598 file name string.
3599
3600 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
3601
3602 * vc-bzr.el (vc-bzr-annotate-command): Preserve line alignment.
3603 (vc-bzr-annotate-time): Accept space used to preserve alignment.
3604
3605 2008-04-05 Richard Stallman <rms@gnu.org>
3606
3607 * emacs-lisp/advice.el (defadvice): Add usage pattern.
3608
3609 2008-04-05 Nick Roberts <nickrob@snap.net.nz>
3610
3611 * progmodes/gdb-ui.el: Add advice about using Cygwin GDB (from a
3612 thread in [h-e-w]).
3613
3614 2008-04-05 Juanma Barranquero <lekktu@gmail.com>
3615
3616 * files.el (abort-if-file-too-large): Fix typo in docstring.
3617
3618 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
3619
3620 * subr.el (functionp): Return nil for special forms.
3621
3622 2008-04-05 Glenn Morris <rgm@gnu.org>
3623
3624 * emacs-lisp/autoload.el (autoload-ensure-default-file):
3625 Provide a feature.
3626 * calendar/calendar.el, calendar/diary-lib.el, calendar/holidays.el:
3627 Require loaddef file rather than loading it.
3628 * Makefile.in ($(lisp)/mh-e/mh-loaddefs.el): Simplify rule now that
3629 autoload-ensure-default-file provides a feature.
3630
3631 * Makefile.in (LOADDEFS): Add mh-loaddefs.el.
3632 (AUTOGENEL): mh-loaddefs is in $LOADDEFS now.
3633 (compile, compile-always, recompile): Use $LOADDEFS.
3634 (cal-autoloads): Remove.
3635
3636 * calendar/cal-x.el (calendar-dedicate-diary): Use get-buffer rather
3637 than buffer-live-p. Reported by David Koppelman <koppel@ece.lsu.edu>.
3638
3639 * calendar/calendar.el (hebrew-holidays-1, hebrew-holidays-2)
3640 (hebrew-holidays-3, hebrew-holidays-4): Don't autoload obsolescence.
3641
3642 * calendar/calendar.el (diary-hebrew-entry-symbol):
3643 Rename hebrew-diary-entry-symbol. Keep old name as alias.
3644 (diary-islamic-entry-symbol): Rename islamic-diary-entry-symbol.
3645 Keep old name as alias.
3646 (diary-bahai-entry-symbol): Rename bahai-diary-entry-symbol.
3647 Keep old name as alias.
3648 * calendar/cal-bahai.el: Update for rename bahai-diary-entry-symbol
3649 to diary-bahai-entry-symbol.
3650 * calendar/cal-hebrew.el: Update for rename hebrew-diary-entry-symbol
3651 to diary-hebrew-entry-symbol.
3652 * calendar/cal-islam.el: Update for rename islamic-diary-entry-symbol
3653 to diary-islamic-entry-symbol.
3654 * calendar/diary-lib.el: Update for diary-entry-symbol renames.
3655
3656 * calendar/solar.el (diary-sabbath-candles-minutes)
3657 (diary-sabbath-candles): Move to cal-hebrew.
3658 * calendar/cal-hebrew.el (diary-hebrew-sabbath-candles-minutes)
3659 (diary-hebrew-sabbath-candles): Move here from solar.el and rename.
3660 Doc fix. Keep old name as alias.
3661 (diary-hebrew-sabbath-candles): Simplify.
3662 (solar-setup, solar-sunrise-sunset, calendar-latitude)
3663 (calendar-longitude, calendar-time-zone): Declare for compiler.
3664 * calendar/diary-lib.el (list-sexp-diary-entries): Update doc for
3665 rename.
3666
3667 * calendar/cal-coptic.el (calendar-coptic-month-name-array):
3668 Rename coptic-calendar-month-name-array. Update callers.
3669 (calendar-coptic-epoch): Rename coptic-calendar-epoch. Update callers.
3670 (calendar-coptic-name): Rename coptic-name. Update callers.
3671 (calendar-coptic-leap-year-p): Rename coptic-calendar-leap-year-p.
3672 Update callers.
3673 (calendar-coptic-last-day-of-month):
3674 Rename coptic-calendar-last-day-of-month. Update callers.
3675 (calendar-coptic-to-absolute): Rename calendar-absolute-from-coptic.
3676 Keep old name as alias, update callers.
3677 (calendar-coptic-print-date): Rename calendar-print-coptic-date.
3678 Keep old name as alias, update callers.
3679 (calendar-coptic-goto-date): Rename calendar-goto-coptic-date.
3680 Keep old name as alias.
3681 (calendar-ethiopic-month-name-array):
3682 Rename ethiopic-calendar-month-name-array. Update callers.
3683 (calendar-ethiopic-epoch): Rename ethiopic-calendar-epoch.
3684 Update callers.
3685 (calendar-ethiopic-name): Rename ethiopic-name. Update callers.
3686 (calendar-ethiopic-to-absolute): Rename calendar-absolute-from-ethiopic.
3687 Keep old name as alias, update callers.
3688 (calendar-ethiopic-print-date): Rename calendar-print-ethiopic-date.
3689 Keep old name as alias, update callers.
3690 (calendar-ethiopic-goto-date): Rename calendar-goto-ethiopic-date.
3691 Keep old name as alias.
3692
3693 * calendar/cal-french.el (calendar-french-epoch):
3694 Rename french-calendar-epoch. Update callers.
3695 (calendar-french-month-name-array): Rename variable and function
3696 french-calendar-month-name-array. Update callers.
3697 (calendar-french-multibyte-month-name-array):
3698 Rename french-calendar-multibyte-month-name-array. Update callers.
3699 (calendar-french-day-name-array): Rename variable and function
3700 french-calendar-day-name-array. Update callers.
3701 (calendar-french-special-days-array): Rename variable and function
3702 french-calendar-special-days-array. Update callers.
3703 (calendar-french-multibyte-special-days-array):
3704 Rename french-calendar-multibyte-special-days-array. Update callers.
3705 (calendar-french-accents-p): Rename french-calendar-accents.
3706 Update callers.
3707 (calendar-french-leap-year-p): Rename french-calendar-leap-year-p.
3708 Update callers.
3709 (calendar-french-last-day-of-month):
3710 Rename french-calendar-last-day-of-month. Update callers.
3711 (calendar-french-to-absolute): Rename calendar-absolute-from-french.
3712 Keep old name as alias, update callers.
3713 (calendar-french-print-date): Rename calendar-print-french-date.
3714 Keep old name as alias, update callers.
3715 (calendar-french-goto-date): Rename calendar-goto-french-date.
3716 Keep old name as alias.
3717
3718 * calendar/cal-menu.el, calendar/calendar.el:
3719 Update for Coptic and French name changes.
3720
3721 * calendar/cal-china.el (calendar-chinese): Rename custom group
3722 from chinese-calendar. Update users.
3723 (calendar-chinese-time-zone): Rename chinese-calendar-time-zone.
3724 Keep old name as alias, update users.
3725 (calendar-chinese-location-name): Rename chinese-calendar-location-name.
3726 Keep old name as alias.
3727 (calendar-chinese-daylight-time-offset):
3728 Rename chinese-calendar-daylight-time-offset. Keep old name as alias,
3729 update users.
3730 (calendar-chinese-standard-time-zone-name):
3731 Rename chinese-calendar-standard-time-zone-name.
3732 Keep old name as alias, update users.
3733 (calendar-chinese-daylight-saving-start):
3734 Rename chinese-calendar-daylight-savings-starts.
3735 Keep old name as alias, update users.
3736 (calendar-chinese-daylight-saving-end):
3737 Rename chinese-calendar-daylight-savings-ends. Keep old name as alias,
3738 update users.
3739 (calendar-chinese-daylight-saving-start-time):
3740 Rename chinese-calendar-daylight-savings-starts-time.
3741 Keep old name as alias, update users.
3742 (calendar-chinese-daylight-saving-end-time):
3743 Rename chinese-calendar-daylight-savings-ends-time.
3744 Keep old name as alias, update users.
3745 (calendar-chinese-celestial-stem): Rename
3746 calendar-chinese-celestial-stem. Keep old name as alias, update users.
3747 (calendar-chinese-terrestrial-branch):
3748 Rename calendar-chinese-terrestrial-branch. Keep old name as alias,
3749 update users.
3750 (calendar-chinese-zodiac-sign-on-or-after):
3751 Rename chinese-zodiac-sign-on-or-after. Update callers.
3752 (calendar-chinese-new-moon-on-or-after):
3753 Rename chinese-new-moon-on-or-after. Update callers.
3754 (calendar-chinese-month-list): Rename chinese-month-list.
3755 Update callers.
3756 (calendar-chinese-number-months): Rename number-chinese-months.
3757 Update callers.
3758 (calendar-chinese-compute-year): Rename compute-chinese-year.
3759 Update callers.
3760 (calendar-chinese-year-cache): Rename chinese-year-cache. Update users.
3761 (calendar-chinese-year): Rename chinese-year. Update callers.
3762 (calendar-chinese-year-cache-init): Rename chinese-year-cache-init.
3763 (calendar-chinese-to-absolute): Rename calendar-absolute-from-chinese.
3764 Keep old name as alias, update callers.
3765 (calendar-chinese-print-date): Rename calendar-print-chinese-date.
3766 Keep old name as alias, update callers.
3767 (calendar-chinese-months-to-alist):
3768 Rename make-chinese-month-assoc-list. Update callers.
3769 (calendar-chinese-months): Rename chinese-months. Update callers.
3770 (calendar-chinese-goto-date): Rename calendar-goto-chinese-date.
3771 Keep old name as alias, update callers.
3772
3773 * calendar/cal-hebrew.el (calendar-hebrew-leap-year-p):
3774 Rename hebrew-calendar-leap-year-p. Update callers.
3775 (calendar-hebrew-last-month-of-year):
3776 Rename hebrew-calendar-last-month-of-year. Update callers.
3777 (calendar-hebrew-elapsed-days): Rename hebrew-calendar-elapsed-days.
3778 Update callers.
3779 (calendar-hebrew-days-in-year): Rename hebrew-calendar-days-in-year.
3780 Update callers.
3781 (calendar-hebrew-long-heshvan-p): Rename hebrew-calendar-long-heshvan-p.
3782 Update callers.
3783 (calendar-hebrew-short-kislev-p): Rename hebrew-calendar-short-kislev-p.
3784 Update callers.
3785 (calendar-hebrew-last-day-of-month):
3786 Rename hebrew-calendar-last-day-of-month. Update callers.
3787 (calendar-hebrew-to-absolute): Rename calendar-absolute-from-hebrew.
3788 Keep old name as alias, update callers.
3789 (calendar-hebrew-print-date): Rename calendar-print-hebrew-date.
3790 Keep old name as alias, update callers.
3791 (calendar-hebrew-yahrzeit): Rename hebrew-calendar-yahrzeit.
3792 Keep old name as alias, update callers.
3793 (calendar-hebrew-goto-date): Rename calendar-goto-hebrew-date.
3794 Keep old name as alias.
3795 (holiday-hebrew-rosh-hashanah): Rename holiday-rosh-hashanah-etc.
3796 Keep old name as alias.
3797 (holiday-hebrew-hanukkah): Rename holiday-hanukkah.
3798 Keep old name as alias.
3799 (holiday-hebrew-passover): Rename holiday-passover-etc.
3800 Keep old name as alias.
3801 (holiday-hebrew-tisha-b-av): Rename holiday-tisha-b-av-etc.
3802 Keep old name as alias, update callers.
3803 (diary-hebrew-list-entries): Rename list-hebrew-diary-entries.
3804 Keep old name as alias.
3805 (calendar-hebrew-mark-date-pattern):
3806 Rename mark-hebrew-calendar-date-pattern. Keep old name as alias,
3807 update callers.
3808 (diary-hebrew-mark-entries): Rename mark-hebrew-diary-entries.
3809 Keep old name as alias.
3810 (diary-hebrew-insert-entry): Rename insert-hebrew-diary-entry.
3811 Keep old name as alias.
3812 (diary-hebrew-insert-monthly-entry):
3813 Rename insert-monthly-hebrew-diary-entry. Keep old name as alias.
3814 (diary-hebrew-insert-yearly-entry):
3815 Rename insert-yearly-hebrew-diary-entry. Keep old name as alias.
3816 (calender-hebrew-list-yahrzeits): Rename list-yahrzeit-dates.
3817 Keep old name as alias.
3818 (diary-hebrew-omer): Rename diary-omer. Keep old name as alias.
3819 (diary-hebrew-yahrzeit): Rename diary-yahrzeit. Keep old name as alias.
3820 (diary-hebrew-rosh-hodesh): Rename diary-rosh-hodesh.
3821 Keep old name as alias.
3822 (calendar-hebrew-parashiot-names):
3823 Rename hebrew-calendar-parashiot-names. Update callers.
3824 (calendar-hebrew-parasha-name): Rename hebrew-calendar-parasha-name.
3825 (calendar-hebrew-year-Saturday-incomplete-Sunday):
3826 Rename hebrew-calendar-year-Saturday-incomplete-Sunday.
3827 (calendar-hebrew-year-Saturday-complete-Tuesday):
3828 Rename hebrew-calendar-year-Saturday-complete-Tuesday.
3829 (calendar-hebrew-year-Monday-incomplete-Tuesday):
3830 Rename hebrew-calendar-year-Monday-incomplete-Tuesday.
3831 (calendar-hebrew-year-Monday-complete-Thursday):
3832 Rename hebrew-calendar-year-Monday-complete-Thursday.
3833 (calendar-hebrew-year-Tuesday-regular-Thursday):
3834 Rename hebrew-calendar-year-Tuesday-regular-Thursday.
3835 (calendar-hebrew-year-Thursday-regular-Saturday):
3836 Rename hebrew-calendar-year-Thursday-regular-Saturday.
3837 (calendar-hebrew-year-Thursday-complete-Sunday):
3838 Rename hebrew-calendar-year-Thursday-complete-Sunday.
3839 (calendar-hebrew-year-Saturday-incomplete-Tuesday):
3840 Rename hebrew-calendar-year-Saturday-incomplete-Tuesday.
3841 (calendar-hebrew-year-Saturday-complete-Thursday):
3842 Rename hebrew-calendar-year-Saturday-complete-Thursday.
3843 (calendar-hebrew-year-Monday-incomplete-Thursday):
3844 Rename hebrew-calendar-year-Monday-incomplete-Thursday.
3845 (calendar-hebrew-year-Monday-complete-Saturday):
3846 Rename hebrew-calendar-year-Monday-complete-Saturday.
3847 (calendar-hebrew-year-Tuesday-regular-Saturday):
3848 Rename hebrew-calendar-year-Tuesday-regular-Saturday.
3849 (calendar-hebrew-year-Thursday-incomplete-Sunday):
3850 Rename hebrew-calendar-year-Thursday-incomplete-Sunday.
3851 (calendar-hebrew-year-Thursday-complete-Tuesday):
3852 Rename hebrew-calendar-year-Thursday-complete-Tuesday.
3853 (diary-hebrew-parasha): Rename diary-parasha. Keep old name as alias.
3854 Update for above name changes of constants.
3855
3856 * calendar/cal-menu.el, calendar/calendar.el:
3857 Update for chinese and hebrew name changes.
3858 * calendar/diary-lib.el: Update for hebrew name changes.
3859
3860 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
3861
3862 * subr.el (keymap-canonicalize): Correct thinko.
3863
3864 * server.el: Undo part of the multi-tty change, which is only
3865 needed if server.el is preloaded, and broke server-running-p.
3866 (server-socket-dir): Initialize in the defvar, as before.
3867 (server-start): Remove initialization of server-socket-dir.
3868
3869 2008-04-05 Eli Zaretskii <eliz@gnu.org>
3870
3871 * ls-lisp.el (ls-lisp-format): Support inodes that are 2- or
3872 3-member cons cells.
3873
3874 2008-04-05 Chong Yidong <cyd@stupidchicken.com>
3875
3876 * cus-face.el (custom-face-attributes): Handle roman slant.
3877
3878 * faces.el (default): Ensure the face-defface-spec property is set.
3879
3880 2008-04-05 Adrian Robert <Adrian.B.Robert@gmail.com>
3881
3882 * files.el (abort-if-file-too-large): New function.
3883 (find-file-noselect, insert-file-1): Use it.
3884
3885 2008-04-05 Reto Zimmermann <reto@gnu.org>
3886
3887 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
3888 Replace C-c[a-zA-Z] key bindings.
3889
3890 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
3891
3892 * progmodes/hideif.el (hif-token-alist): New var.
3893 (hif-token-regexp, hif-tokenize): Use it.
3894 (hif-mathify-binop): New macro.
3895 (hif-plus, hif-minus, hif-notequal, hif-greater, hif-less)
3896 (hif-greater-equal, hif-less-equal): Use it.
3897 (hif-logior, hif-logand): New functions.
3898 (hif-math): Accept | and & as well.
3899
3900 * progmodes/etags.el: Fix problem with completion for buffer-local
3901 tables. Reported by Radey Shouman <shouman@comcast.net>.
3902 (tags-complete-tag): Remove.
3903 (tags-lazy-completion-table): New function to replace it.
3904 (find-tag-tag, complete-tag): Update users.
3905
3906 2008-04-04 Dan Nicolaescu <dann@ics.uci.edu>
3907
3908 * vc-rcs.el (vc-rcs-dir-status):
3909 * vc-sccs.el (vc-sccs-dir-status): New function.
3910
3911 * outline.el (outline-mode-menu-bar-map):
3912 * term.el (terminal-signal-menu): Add :help.
3913
3914 * net/eudc.el (eudc-mode-map): Declare and define in one step.
3915 (eudc-tail-menu, eudc-server-menu, eudc-tools-menu): Add :help.
3916
3917 * emacs-lisp/re-builder.el (reb-mode-map):
3918 * textmodes/nroff-mode.el (nroff-mode-map): Add menus.
3919
3920 * diff-mode.el (diff-file-junk-re): Recognize the git format for
3921 new files, deleted files and for changing permissions.
3922 (diff-mode): Set beginning-of-defun-function and
3923 end-of-defun-function.
3924
3925 * vc-bzr.el (vc-bzr-state): Use when instead of if.
3926
3927 * vc.el (vc-default-status-fileinfo-extra): New function.
3928 (vc-status-mark-buffer-changed): Use it.
3929 (vc-update-vc-status-buffer): Allow for partial updates.
3930
3931 2008-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3932
3933 * net/tramp.el (after-init-hook): Don't wrap a lambda around
3934 tramp-register-completion-file-name-handler.
3935
3936 * subr.el (keymap-canonicalize): New function.
3937 * mouse.el (mouse-menu-non-singleton): Use it.
3938 (mouse-major-mode-menu): Remove hack made unnecessary.
3939
3940 * simple.el (set-fill-column): Prompt rather than error by default.
3941
3942 2008-04-04 Andreas Schwab <schwab@suse.de>
3943
3944 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
3945 Reset new-rules after each round.
3946
3947 * Makefile.in (cal-autoloads): New target.
3948 (compile, compile-always, recompile): Depend on it.
3949 ($(lisp)/calendar/cal-loaddefs.el)
3950 ($(lisp)/calendar/diary-loaddefs.el)
3951 ($(lisp)/calendar/hol-loaddefs.el): Depend on calendar/*.el.
3952
3953 2008-04-04 Michael Kifer <kifer@cs.stonybrook.edu>
3954
3955 * ediff*.el: Replace load with require in eval-when-compile.
3956
3957 * ediff-hook: Delete all invocations of (autoload ...).
3958
3959 * ediff-util.el (ediff-setup): Make window-min-height a local variable
3960 in ediff control window, and set its min height to 2.
3961 (ediff-setup-control-buffer): Dedicate the control window.
3962 (ediff-toggle-multiframe): Undedicate control window.
3963 Work directly with ediff-setup-windows-multiframe and
3964 ediff-setup-windows-plain.
3965
3966 * ediff-wind (ediff-choose-window-setup-function-automatically):
3967 New function.
3968 (ediff-window-setup-function): Change initialization.
3969 (ediff-setup-windows-automatic): Delete.
3970 (ediff-setup-windows-plain-merge): Make control window dedicated.
3971 (ediff-destroy-control-frame): Do not skip frames if working in a
3972 single frame.
3973
3974 * emulation/viper-ex.el: Move provide's forward, prevent recursion in
3975 eval-when-compile.
3976
3977 * emulation/viper-util.el: Move provide's forward, prevent recursion in
3978 eval-when-compile.
3979
3980 2008-04-04 Glenn Morris <rgm@gnu.org>
3981
3982 * calendar/cal-bahai.el (calendar-bahai-to-absolute): Rename
3983 calendar-absolute-from-bahai. Update callers, keep old name as alias.
3984
3985 * calendar/cal-islam.el (calendar-islamic-leap-year-p):
3986 Rename islamic-calendar-leap-year-p. Update callers.
3987 (calendar-islamic-last-day-of-month):
3988 Rename islamic-calendar-last-day-of-month. Update callers.
3989 (calendar-islamic-day-number):
3990 Rename islamic-calendar-day-number. Update callers.
3991 (calendar-islamic-to-absolute): Rename calendar-absolute-from-islamic.
3992 Update callers, keep old name as alias.
3993 (calendar-islamic-print-date): Rename calendar-print-islamic-date.
3994 Update callers, keep old name as alias.
3995 (calendar-islamic-goto-date): Rename calendar-goto-islamic-date.
3996 Keep old name as alias.
3997 (diary-islamic-list-entries): Rename list-islamic-diary-entries.
3998 Update callers, keep old name as alias.
3999 (calendar-islamic-mark-date-pattern):
4000 Rename mark-islamic-calendar-date-pattern. Update callers, keep old
4001 name as alias.
4002 (diary-islamic-insert-entry): Rename insert-islamic-diary-entry.
4003 Keep old name as alias.
4004 (diary-islamic-insert-monthly-entry):
4005 Rename insert-monthly-islamic-diary-entry. Keep old name as alias.
4006 (diary-islamic-insert-yearly-entry):
4007 Rename insert-yearly-islamic-diary-entry. Keep old name as alias.
4008
4009 * calendar/cal-iso.el (calendar-iso-to-absolute): Rename
4010 calendar-absolute-from-iso. Update callers, keep old name as alias.
4011 (calendar-iso-print-date): Rename calendar-print-iso-date.
4012 Update callers, keep old name as alias.
4013 (calendar-iso-goto-date): Rename calendar-goto-iso-date.
4014 Keep old name as alias.
4015 (calendar-iso-goto-week): Rename calendar-goto-iso-week.
4016 Keep old name as alias.
4017
4018 * calendar/cal-julian.el (calendar-julian-to-absolute): Rename
4019 calendar-absolute-from-julian. Update callers, keep old name as alias.
4020 (calendar-julian-print-date): Rename calendar-print-julian-date.
4021 Update callers, keep old name as alias.
4022 (calendar-julian-goto-date): Rename calendar-goto-julian-date.
4023 Update callers, keep old name as alias.
4024 (calendar-astro-to-absolute): Rename calendar-absolute-from-astro.
4025 Update callers, keep old name as alias.
4026 (calendar-astro-print-day-number):
4027 Rename calendar-print-astro-day-number. Update callers, keep old
4028 name as alias.
4029 (calendar-astro-goto-day-number): Rename calendar-goto-astro-day-number.
4030 Update callers, keep old name as alias.
4031
4032 * calendar/cal-mayan.el (calendar-mayan-string-from-long-count):
4033 Rename calendar-string-to-mayan-long-count. Update callers.
4034 (calendar-mayan-print-date): Rename calendar-print-mayan-date.
4035 Update callers, keep old name as alias.
4036 (calendar-mayan-read-haab-date): Rename calendar-read-mayan-haab-date.
4037 Update callers.
4038 (calendar-mayan-read-tzolkin-date):
4039 Rename calendar-read-mayan-tzolkin-date. Update callers.
4040 (calendar-mayan-next-haab-date): Rename calendar-next-haab-date.
4041 Keep old name as alias.
4042 (calendar-mayan-previous-haab-date): Rename calendar-previous-haab-date.
4043 Keep old name as alias.
4044 (calendar-mayan-next-tzolkin-date): Rename calendar-next-tzolkin-date.
4045 Keep old name as alias.
4046 (calendar-mayan-previous-tzolkin-date):
4047 Rename calendar-previous-tzolkin-date. Keep old name as alias.
4048 (calendar-mayan-next-round-date):
4049 Rename calendar-next-calendar-round-date. Keep old name as alias.
4050 (calendar-mayan-previous-round-date):
4051 Rename calendar-previous-calendar-round-date. Keep old name as alias.
4052 (calendar-mayan-long-count-to-absolute): Rename
4053 calendar-absolute-from-mayan-long-count. Keep old name as alias.
4054 (calendar-mayan-goto-long-count-date):
4055 Rename calendar-goto-mayan-long-count-date. Keep old name as alias.
4056
4057 * calendar/cal-persia.el (calendar-persian-month-name-array):
4058 Rename persian-calendar-month-name-array. Update callers.
4059 (calendar-persian-epoch): Rename persian-calendar-epoch.
4060 Update callers.
4061 (calendar-persian-leap-year-p): Rename persian-calendar-leap-year-p.
4062 Update callers.
4063 (calendar-persian-last-day-of-month):
4064 Rename persian-calendar-last-day-of-month. Update callers.
4065 (calendar-persian-to-absolute): Rename calendar-absolute-from-persian.
4066 Update callers, keep old name as alias.
4067 (calendar-persian-print-date): Rename calendar-print-persian-date.
4068 Update callers, keep old name as alias.
4069 (calendar-persian-goto-date): Rename calendar-goto-persian-date.
4070 Keep old name as alias.
4071
4072 * calendar/cal-china.el, calendar/cal-coptic.el, calendar/cal-islam.el:
4073 * calendar/cal-persia.el, calendar/holidays.el, calendar/lunar.el:
4074 * calendar/solar.el: Update for cal-julian name changes.
4075
4076 * calendar/cal-dst.el: Update for persian name changes.
4077
4078 * calendar/cal-menu.el, calendar/calendar.el:
4079 Update for islamic, iso, julian, mayan, persian name changes.
4080
4081 * calendar/diary-lib.el: Update for islamic name changes.
4082
4083 * calendar/calendar.el (calendar-hebrew-all-holidays-flag):
4084 Rename all-hebrew-calendar-holidays. Update callers, keep old name
4085 as alias.
4086 (calendar-christian-all-holidays-flag):
4087 Rename all-christian-calendar-holidays. Update callers, keep old
4088 name as alias.
4089 (calendar-islamic-all-holidays-flag):
4090 Rename all-islamic-calendar-holidays. Update callers, keep old
4091 name as alias.
4092 (calendar-bahai-all-holidays-flag): Rename all-bahai-calendar-holidays.
4093 Update callers, keep old name as alias.
4094 * calendar/cal-bahai.el, calendar/cal-hebrew.el, calendar/holidays.el:
4095 Update for the above name changes.
4096
4097 2008-04-04 Juanma Barranquero <lekktu@gmail.com>
4098
4099 * hilit-chg.el (global-highlight-changes-mode)
4100 (highlight-changes-passive-string, highlight-changes-active-string):
4101 Mark as obsolete since 23.1, not 22.1.
4102
4103 2008-04-03 Juanma Barranquero <lekktu@gmail.com>
4104
4105 * hilit-chg.el (highlight-changes-visibility-initial-state)
4106 (hilit-chg-update, highlight-changes-mode-turn-on):
4107 Fix typos in docstrings.
4108
4109 2008-04-03 Stephen Berman <Stephen.Berman@gmx.net>
4110
4111 * newcomment.el (comment-enter-backward): Be careful to restore
4112 position changed during narrowing.
4113
4114 2008-04-03 Giuliano Procida <giuliano.procida@googlemail.com> (tiny change)
4115
4116 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
4117 Recognize `sub ($$)'.
4118
4119 2008-04-03 Richard Sharman <rsharman@pobox.com>
4120
4121 * hilit-chg.el (highlight-changes-mode): Rename from
4122 highlight-changes; no longer uses sub-modes active and passive;
4123 implemented by define-minor-mode.
4124 (highlight-changes-toggle-visibility): New function, to replace
4125 the old passive/active submodes of global-highlight-changes-mode;
4126 implemented by define-minor-mode.
4127 (global-highlight-changes-mode): Rename from global-highlight-changes;
4128 rewrite using define-globalized-minor-mode.
4129 (hilit-chg-major-mode-hook, hilit-chg-check-global)
4130 (hilit-chg-post-command-hook, hilit-chg-check-global)
4131 (hilit-chg-update-all-buffers, hilit-chg-turn-off-maybe): Remove due
4132 to use of define-globalized-minor-mode.
4133 (highlight-changes-global-initial-state): Change to be boolean.
4134 (highlight-changes-visible-string, highlight-changes-invisible-string):
4135 Rename from highlight-changes-active-string and
4136 highlight-changes-passive-string.
4137 (hilit-chg-update, hilit-chg-set): Use them.
4138 (global-highlight-changes-mode): Rename from global-highlight-changes.
4139 (hilit-chg-map-changes, hilit-chg-display-changes): Add arguments to
4140 docstring.
4141 (hilit-chg-hide-changes): Rewrite to use dolist.
4142 (hilit-chg-set-face-on-change, hilit-chg-update)
4143 (highlight-changes-rotate-faces): Use highlight-changes-visible-mode
4144 variable instead of testing highlight-changes-mode.
4145 (highlight-markup-buffers): Add require ediff-util; argument on calls
4146 to highlight-changes-mode changed.
4147 (highlight-compare-with-file): Fix problems with interactive
4148 call giving invalid default file.
4149
4150 2008-04-03 Nick Roberts <nickrob@snap.net.nz>
4151
4152 * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint):
4153 Fix in disassembly buffer (regression in 22.2).
4154
4155 2008-04-03 Michael Kifer <kifer@cs.stonybrook.edu>
4156
4157 * emulation/viper-macs.el (viper-read-fast-keysequence):
4158 Use viper-read-event instead of viper-read-key.
4159
4160 * emulation/viper.el (viper-mode): Move the check for fundamental mode.
4161
4162 * emulation/viper-utils.el (viper-get-saved-cursor-color-in-insert-mode)
4163 (viper-get-saved-cursor-color-in-replace-mode): Get rid of redundant
4164 let-statements.
4165
4166 * emulation/viper-ex.el, emulation/viper-macs.el:
4167 * emulation/viper-mous.el:
4168 Replace load with require in eval-when-compile.
4169
4170 2008-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
4171
4172 * files.el (auto-mode-alist): Use archive-mode for Debian packages.
4173
4174 * arc-mode.el (archive-mode-map): Obey mouse-1-click-follows-link.
4175 (archive-try-jka-compr): New function.
4176 (archive-set-buffer-as-visiting-file): Use it.
4177
4178 * tar-mode.el (tar-mode-map): Obey mouse-1-click-follows-link.
4179
4180 2008-04-03 Chong Yidong <cyd@stupidchicken.com>
4181
4182 * simple.el (handle-shift-selection): New arg.
4183
4184 2008-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
4185
4186 * emacs-lisp/cl-macs.el (defsetf): Accept a lambda for the 2-arg form.
4187
4188 * vc-bzr.el (vc-bzr-previous-revision, vc-bzr-next-revision): New funs.
4189
4190 2008-04-03 Chong Yidong <cyd@stupidchicken.com>
4191
4192 * shell.el (shell-dynamic-complete-filename): New fun.
4193 (shell-dynamic-complete-functions): Use it.
4194
4195 * help-fns.el (describe-variable): Undo 2008-02-25 change.
4196
4197 2008-04-03 Kenichi Handa <handa@m17n.org>
4198
4199 * international/fontset.el (create-fontset-from-x-resource):
4200 Handle the error of X resource more gracefully.
4201
4202 * international/latin1-disp.el (latin1-display): Don't use make-char.
4203 Fix the argument to set-char-table-range.
4204 (latin1-display-identities): Don't use make-char.
4205 (latin1-display-reset): Use map-charset-chars instead of directly
4206 calling standard-display-default.
4207 (latin1-display-check-font): Don't use make-char.
4208 (latin1-display-setup): Likewise.
4209 (latin1-display-ucs-per-lynx): Likewise.
4210
4211 2008-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
4212
4213 * emacs-lisp/timer.el (timer): Define as a defstruct, so we can
4214 name the fields, to make the code clearer.
4215 Rewrite all `aset' and `aref' using the defined accessors.
4216 (timer--time): New pseudo-field.
4217 (timer-set-time, timer-set-idle-time, timer-inc-time)
4218 (timer-set-time-with-usecs, with-timeout-suspend): Use it.
4219 (timer--time-less-p): New function.
4220 (timer--activate): New function, extracted from timer-activate.
4221 (timer-activate-when-idle, timer-activate): Use it.
4222 (cancel-function-timers): Use dolist.
4223
4224 2008-04-03 Glenn Morris <rgm@gnu.org>
4225
4226 * add-log.el (c-beginning-of-defun, c-end-of-defun):
4227 Remove declarations; no longer used.
4228 (c-cpp-define-name, c-defun-name): Declare as functions.
4229
4230 * calendar/cal-bahai.el (holiday-fixed): Autoload it.
4231 (holiday-bahai-new-year, holiday-bahai-ridvan): New functions.
4232
4233 * calendar/cal-hebrew.el (holiday-rosh-hashanah-etc)
4234 (holiday-passover-etc, holiday-hanukkah): Doc fix.
4235 Add optional argument. Simplify.
4236 (holiday-tisha-b-av-etc): Use memq rather than unless.
4237 (holiday-julian): Autoload it.
4238 (holiday-hebrew-misc): New function.
4239
4240 * calendar/cal-islam.el (holiday-islamic-new-year): New function.
4241
4242 * calendar/calendar.el (hebrew-holidays-1, hebrew-holidays-2)
4243 (hebrew-holidays-3, hebrew-holidays-4): Make obsolete.
4244 (hebrew-holidays-2): Just use holiday-hanukkah now it respects
4245 all-hebrew-calendar-holidays.
4246 (hebrew-holidays, christian-holidays, islamic-holidays, bahai-holidays):
4247 Simplify using new functions.
4248 (calendar-holidays): Doc fix.
4249 (generate-calendar-window): Use bound-and-true-p.
4250
4251 * calendar/diary-lib.el (diary-mail-addr): Use bound-and-true-p.
4252
4253 * calendar/holidays.el (calendar-holiday-list): Fix previous change.
4254 (holiday-filter-visible-calendar): Doc fix. Use mapcar.
4255 (holiday-easter-etc): Fix nesting of result. Tweak holiday order.
4256 Use calendar-date-is-visible-p, not holiday-filter-visible-calendar.
4257
4258 * net/tramp.el (tramp-drop-volume-letter): Move definition before use.
4259
4260 2008-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
4261
4262 * vc-mtn.el (vc-mtn-command): Avoid localization of messages.
4263
4264 * vc-bzr.el (vc-bzr-checkout): Simplify.
4265
4266 * image-mode.el (image-mode-fit-frame): New command.
4267
4268 * simple.el (beginning-of-buffer, end-of-buffer, goto-line, undo)
4269 (copy-region-as-kill, kill-ring-save, use-region-p, mark-word)
4270 (keyboard-escape-quit): Check region-active-p i.s.o
4271 transient-mark-mode.
4272
4273 2008-04-02 Simon Josefsson <simon@josefsson.org>
4274
4275 * net/imap.el (imap-enable-exchange-bug-workaround): New variable.
4276 (imap-message-copyuid-1): Use it.
4277 (imap-message-appenduid-1): Likewise. Based on patch by Nathan
4278 J. Williams in
4279 <http://permalink.gmane.org/gmane.emacs.gnus.general/65855>.
4280
4281 2008-04-02 Alan Mackenzie <acm@muc.de>
4282
4283 * progmodes/cc-cmds.el (c-defun-name, c-cpp-define-name):
4284 New optimised functions to get the name of the current defun/macro.
4285
4286 * add-log.el (add-log-current-defun): Move the functionality which
4287 gets the current function name for C like modes to cc-cmds.el,
4288 thus optimising for speed.
4289
4290 2008-04-02 Chong Yidong <cyd@stupidchicken.com>
4291
4292 * simple.el (deactivate-mark): When the mark is temporarily
4293 active, restore the original value of transient-mark-mode.
4294 (set-mark-command): First deactivate the mark if was temporarily active.
4295 (exchange-point-and-mark): Reactivate the mark if it was
4296 temporarily active.
4297 (handle-shift-selection): New fun.
4298 (transient-mark-mode): Move var documentation here from buffer.c.
4299 (next-line, previous-line, backward-word, move-end-of-line)
4300 (move-beginning-of-line, forward-to-indentation)
4301 (backward-to-indentation, back-to-indentation)
4302 (beginning-of-buffer, end-of-buffer): Add ^ interactive spec.
4303
4304 * mouse.el (mouse-set-region-1): Save the old value of
4305 transient-mark-mode.
4306 (mouse-drag-track): Ignore the now-obsolete value `identity' for
4307 transient-mark-mode.
4308
4309 * textmodes/paragraphs.el (forward-paragraph)
4310 (backward-paragraph, forward-sentence, backward-sentence): Add ^
4311 interactive spec.
4312
4313 * emulation/cua-base.el (cua-mode): Turn off shift-select-mode.
4314
4315 2008-04-02 Michael Albinus <michael.albinus@gmx.de>
4316
4317 * net/tramp.el (tramp-make-tramp-temp-file):
4318 Use `tramp-drop-volume-letter' for the local file name part.
4319
4320 2008-04-02 Dan Nicolaescu <dann@ics.uci.edu>
4321
4322 * progmodes/sh-script.el (sh-mode-map): Rename the menu. Add :help.
4323 Add menu entries corresponding to all the key bindings.
4324
4325 * emacs-lisp/debug.el (debugger-mode-map):
4326 * textmodes/conf-mode.el (conf-mode-map): Add a menu.
4327 (conf-align-assignments): Only work on the region if it is active.
4328 (conf-quote-normal): Use when instead of if. Remove redundant test.
4329
4330 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
4331 for tracing and re-builder.
4332
4333 2008-04-02 Glenn Morris <rgm@gnu.org>
4334
4335 * calendar/appt.el (appt-disp-window-function): Doc fix.
4336 (appt-display-message): Move beep before display.
4337 (appt-check): Make interactive. Reduce the number of lets.
4338 Use string-equal to compare mode-line strings.
4339 (appt-disp-window): Pluralize "minute" as needed. Make appt buffer
4340 read-only.
4341 (appt-select-lowest-window, appt-make-list): Reduce the number of lets.
4342 (appt-delete): Simplify.
4343
4344 * calendar/cal-china.el (holiday-chinese-new-year): Use a single let.
4345
4346 * calendar/cal-dst.el (calendar-time-zone-daylight-rules): Simplify.
4347
4348 * calendar/cal-hebrew.el (list-yahrzeit-dates):
4349 * calendar/cal-tex.el (cal-tex-insert-blank-days-at-end)
4350 (cal-tex-last-blank-p, cal-tex-daily-page): Expand calendar-for-loops.
4351
4352 * calendar/calendar.el (diary-entry-marker, calendar-today-marker)
4353 (calendar-holiday-marker, mark-visible-calendar-date):
4354 * calendar/diary-lib.el (fancy-diary-display):
4355 Check for font-lock-mode before using faces.
4356
4357 * calendar/calendar.el (hebrew-holidays-3, generate-calendar-month)
4358 (calendar-gregorian-from-absolute): Reduce the number of lets.
4359 (hebrew-holidays-4, generate-calendar-window): Simplify.
4360 (calendar-for-loop): Make obsolete.
4361 (calendar-nth-named-day): Doc fix.
4362
4363 * calendar/diary-lib.el (diary-list-entries, fancy-diary-display)
4364 (print-diary-entries, mark-sexp-diary-entries, calendar-mark-complex)
4365 (calendar-mark-1, list-sexp-diary-entries, diary-remind):
4366 Reduce the number of lets.
4367 (mark-sexp-diary-entries, calendar-mark-complex):
4368 Expand calendar-for-loops.
4369
4370 2008-04-01 Chong Yidong <cyd@stupidchicken.com>
4371
4372 * find-dired.el (find-dired-filter): Fix last patch to handle
4373 multi-line process input. Pad link numbers too.
4374
4375 2008-04-01 Jari Aalto <jari.aalto@cante.net>
4376
4377 * find-dired.el (find-dired-filter): Align columns by padding file sizes.
4378
4379 2008-04-01 Jason Rumney <jasonr@gnu.org>
4380
4381 * international/characters.el (script-list): Add phonetic script,
4382 covering IPA (previously Latin), Phonetic Extensions and
4383 Phonetic Extensions Supplement (both previously unassigned).
4384
4385 * international/fontset.el (setup-default-fontset): Use unicode fonts
4386 that cover bopomofo script for bopomofo.
4387 Likewise for braille and mathematical.
4388 Use unicode scripts that cover the phonetic script for IPA.
4389
4390 2008-04-01 Johan Bockgård <bojohan@gnu.org>
4391
4392 * emacs-lisp/cl-macs.el (frame-parameter) <defsetf>: Make it
4393 return the assigned value.
4394
4395 2008-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
4396
4397 * abbrev.el (abbrev-mode): Use define-minor-mode.
4398
4399 * mouse.el (mouse-major-mode-menu-prefix): Remove. Remove uses.
4400 (mouse-menu-non-singleton): Rename from mouse-major-mode-menu-1.
4401 Use map-keymap.
4402 (minor-mode-menu-from-indicator): Use it. Simplify.
4403
4404 * bindings.el (mode-line-mode-menu): Move before (new) first use.
4405 (mode-line-major-mode-keymap, mode-line-minor-mode-keymap):
4406 Bind the key directly to the menu.
4407 (mode-line-mode-menu-1, mode-line-mode-menu): Remove functions.
4408
4409 2008-04-01 Daiki Ueno <ueno@unixuser.org>
4410
4411 * epa.el (epa-decrypt-region): Explain the reason why this
4412 function should not be used in Lisp programs.
4413 (epa-decrypt-armor-in-region): Ditto.
4414 (epa-verify-region): Ditto.
4415 (epa-verify-cleartext-in-region): Ditto.
4416 (epa-sign-region): Ditto.
4417 (epa-encrypt-region): Ditto.
4418
4419 * epg.el (epg-start-receive-keys): Fix typo in docstring.
4420
4421 * epa.el (epa-select-keys): Show menu even if there is no key in
4422 GnuPG's keyring.
4423
4424 2008-04-01 Glenn Morris <rgm@gnu.org>
4425
4426 * calendar/calendar.el (calendar-make-temp-face): New function.
4427 (mark-visible-calendar-date):
4428 * calendar/diary-lib.el (fancy-diary-display): Use it.
4429
4430 * vc-hooks.el (vc-responsible-backend): Declare as function.
4431
4432 * calendar/calendar.el (calendar-nongregorian-visible-p): New function.
4433 * calendar/cal-hebrew.el (calendar-hebrew-date-is-visible-p):
4434 * calendar/cal-julian.el (holiday-julian): Use it.
4435
4436 * calendar/cal-hebrew.el (hebrew-calendar-elapsed-days): Doc fix.
4437 (calendar-hebrew-date-is-visible-p): Extract some common code into
4438 separate function.
4439 (holiday-hebrew, mark-hebrew-calendar-date-pattern): Use it.
4440
4441 * calendar/cal-menu.el (cal-menu-holidays-menu):
4442 * calendar/calendar.el (calendar-mode-map): Use calendar-mark-holidays
4443 rather than obsolete alias.
4444
4445 * calendar/calendar.el (mark-visible-calendar-date): Also use overlay
4446 for mark characters.
4447 (calendar-unmark): Unmark by removing all overlays, rather than
4448 redrawing.
4449 (calendar-starred-day): Remove.
4450 (calendar-mode): Disable undo. Don't make calendar-starred-day local.
4451 (calendar-cursor-to-date): No need for special star handling now
4452 using overlays.
4453 (calendar-star-date): Use overlays.
4454
4455 * calendar/cal-french.el (calendar-goto-french-date):
4456 * calendar/cal-hebrew.el (calendar-hebrew-from-absolute)
4457 (holiday-hanukkah, mark-hebrew-calendar-date-pattern):
4458 * calendar/cal-move.el (calendar-forward-month, calendar-end-of-month):
4459 * calendar/cal-persia.el (calendar-persian-date-string):
4460 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
4461 (cal-tex-cursor-month, cal-tex-LaTeXify-string):
4462 * calendar/lunar.el (lunar-phase-list, lunar-new-moon-on-or-after):
4463 * calendar/solar.el (solar-equinoxes-solstices):
4464 Reduce nesting of some lets.
4465
4466 * calendar/cal-mayan.el (calendar-string-to-mayan-long-count)
4467 (calendar-goto-mayan-long-count-date): Simplify.
4468
4469 * calendar/holidays.el (calendar-holiday-list, holiday-easter-etc):
4470 Simplify by using mapcar.
4471 (calendar-list-holidays): Return holiday-list.
4472 (list-holidays): Use let rather than let*. Remove un-needed locals
4473 `d', `never'.
4474 (calendar-check-holidays): Return result from dolist.
4475 (holiday-float): Use a single let*. Simplify if-and to and.
4476 (holiday-sexp, holiday-advent, holiday-greek-orthodox-easter): Use a
4477 single let*.
4478
4479 2008-04-01 Jay Belanger <jay.p.belanger@gmail.com>
4480
4481 * calc/calc.el: Autoload `calc-yank'.
4482 (calc-mode-map): Add keybindings for `calc-yank'.
4483 * calc/calc-ext.el (calc-init-extensions): Remove keybinding
4484 assignments for `calc-yank'.
4485
4486 2008-03-31 Dan Nicolaescu <dann@ics.uci.edu>
4487
4488 * vc.el (vc-status-add-entry): Assume ENTRY is a list, not a cons.
4489 (vc-status-mark-buffer-changed): Handle the extra field.
4490
4491 * vc-bzr.el (vc-bzr-after-dir-status):
4492 * vc-cvs.el (vc-cvs-after-dir-status):
4493 * vc-hg.el (vc-hg-after-dir-status):
4494 * vc-svn.el (vc-svn-after-dir-status): Return a list, not a cons.
4495
4496 2008-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
4497
4498 * doc-view.el: Compute displayed pages first (in PDF).
4499 (doc-view-current-converter-processes): Rename from
4500 doc-view-current-converter-process. Update users.
4501 (doc-view-sentinel): Test buffer's liveness.
4502 (doc-view-pdf/ps->png-sentinel): Remove.
4503 (doc-view-start-process): New function.
4504 (doc-view-dvi->pdf, doc-view-pdf/ps->png, doc-view-pdf->txt)
4505 (doc-view-ps->pdf): Use it.
4506 (doc-view-pdf->png-1, doc-view-pdf->png, doc-view-active-pages):
4507 New functions.
4508 (doc-view-convert-current-doc, doc-view-goto-page): Use them.
4509 (doc-view-mode): Kill the processes when leaving the mode.
4510
4511 2008-03-31 Juanma Barranquero <lekktu@gmail.com>
4512
4513 * emacs-lisp/bytecomp.el (byte-compile-warnings-safe-p):
4514 Use `byte-compile-warning-types'. Add docstring.
4515
4516 2008-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
4517
4518 * smerge-mode.el (smerge-apply-resolution-patch): New fun.
4519 (smerge-resolve): Add various resolution heuristics.
4520
4521 * smerge-mode.el (smerge-refine): Allow highlighting other subparts
4522 in 3-way conflicts.
4523
4524 2008-03-31 Glenn Morris <rgm@gnu.org>
4525
4526 * calendar/cal-bahai.el (diary-bahai-mark-entries):
4527 * calendar/cal-hebrew.el (mark-hebrew-diary-entries):
4528 * calendar/cal-islam.el (mark-islamic-diary-entries):
4529 Fix argument order in call to diary-mark-entries-1.
4530
4531 * calendar/cal-bahai.el (calendar-bahai-date-string): Avoid an error for
4532 pre-Bahai dates.
4533 (holiday-bahai): Use an algorithm actually relevant to this calendar
4534 system.
4535
4536 * calendar/cal-china.el (holiday-chinese-new-year): Doc fix.
4537
4538 * calendar/cal-islam.el (holiday-islamic): Remove un-needed let.
4539 Use and.
4540
4541 * calendar/cal-julian.el (holiday-julian): Fix a problem with holidays
4542 in the last fortnight in Julian October.
4543
4544 * calendar/calendar.el (increment-calendar-month): Optionally handle
4545 systems without 12 months per year.
4546
4547 (calendar-date-is-visible-p): Doc fix. Simplify.
4548
4549 * calendar/holidays.el (holiday-filter-visible-calendar): Return result
4550 from dolist.
4551
4552 2008-03-30 Juanma Barranquero <lekktu@gmail.com>
4553
4554 * hi-lock.el (hi-lock-mode): Fix typos in docstring.
4555 (hi-lock-unload-function): New function.
4556
4557 2008-03-30 Michael Albinus <michael.albinus@gmx.de>
4558
4559 * net/tramp.el (tramp-do-copy-or-rename-file): Fix check for
4560 overwriting when NEWNAME is a local file.
4561
4562 * net/trampver.el: Update release number.
4563
4564 2008-03-30 Alexandre Julliard <julliard@winehq.org>
4565
4566 * vc-git.el: Make vc-status display information about copies,
4567 renames and permission changes.
4568 (vc-git-extra-fileinfo): New defstruct.
4569 (vc-git-escape-file-name, vc-git-file-type-as-string)
4570 (vc-git-rename-as-string, vc-git-permissions-as-string)
4571 (vc-git-status-printer): New functions.
4572 (vc-git-after-dir-status-stage2): Also return vc-git-extra-fileinfo.
4573 (vc-git-after-dir-status-stage1): Look for copies, renames and
4574 permission changes.
4575 (vc-git-after-dir-status-stage1-empty-db): Set permissions.
4576 (vc-git-dir-status): Ask for staged files and renames.
4577
4578 2008-03-30 Dan Nicolaescu <dann@ics.uci.edu>
4579
4580 * vc.el: Allow backends to display backend specific information in
4581 the vc-status listing.
4582 (vc-status-fileinfo): Add a field for backend specific information.
4583 (vc-status-printer): Rename to ...
4584 (vc-default-status-printer): ... this.
4585 (vc-status-printer): New function.
4586 (vc-update-vc-status-buffer): Set the backend specific file info
4587 if provided.
4588
4589 2008-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
4590
4591 * textmodes/remember.el (remember-diary-convert-entry): Revert last
4592 change (ill-conceived).
4593
4594 2008-03-29 Glenn Morris <rgm@gnu.org>
4595
4596 * calendar/cal-hebrew.el (holiday-hebrew): Simplify.
4597 * calendar/cal-julian.el (holiday-julian): Simplify.
4598
4599 * calendar/holidays.el (list-holidays): Use or.
4600
4601 2008-03-29 Juri Linkov <juri@jurta.org>
4602
4603 * window.el (split-window-preferred-horizontally): New function.
4604
4605 * cus-start.el (split-window-preferred-function):
4606 Set choice for "vertically" to nil instead of split-window.
4607 Set choice for "horizontally" to split-window-preferred-horizontally
4608 instead of lambda.
4609
4610 2008-03-29 Juri Linkov <juri@jurta.org>
4611
4612 * simple.el (minibuffer-default-add-function): New variable with
4613 the default to minibuffer-default-add-completions.
4614 (minibuffer-default-add-done): New variable. Make it buffer-local.
4615 (minibuffer-default-add-completions): New function.
4616 (goto-history-element): Set minibuffer-default-add-done to t and
4617 call a function in minibuffer-default-add-function when the
4618 specified absolute history position is greater than the length of
4619 the minibuffer-default list and minibuffer-default-add-done is nil.
4620 Change "^End of history; no next item$" to "^End of defaults;
4621 no next item$".
4622
4623 * bindings.el (debug-ignored-errors): Change "^End of history;
4624 no next item$" to "^End of defaults; no next item$".
4625
4626 2008-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
4627
4628 * subr.el (with-temp-buffer): Assume kill-buffer can change cur-buf.
4629
4630 * textmodes/remember.el (remember-diary-convert-entry): Prefer boundp
4631 to with-no-warnings.
4632
4633 2008-03-29 Michael Albinus <michael.albinus@gmx.de>
4634
4635 Sync with Tramp 2.1.13.
4636
4637 * net/tramp-ftp.el: Require 'cl when byte-compiling.
4638
4639 * net/trampver.el: Update release number.
4640
4641 2008-03-29 Dan Nicolaescu <dann@ics.uci.edu>
4642
4643 * vc-hooks.el (vc-menu-map-filter): Be more careful when finding
4644 the current backend.
4645
4646 * vc.el (vc-status-menu-map, vc-status-mode-map): Bind vc-revert.
4647 (vc-status-refresh): Create a temporary buffer and call the
4648 `dir-status' backend function from that buffer.
4649
4650 * vc-bzr.el (vc-bzr-dir-status): Don't create a buffer.
4651 (vc-bzr-after-dir-status): Don't kill the buffer.
4652
4653 * vc-cvs.el (vc-cvs-dir-status): Don't create a buffer.
4654 (vc-cvs-after-dir-status): Don't kill the buffer.
4655
4656 * vc-git.el (vc-git-dir-status): Don't create a buffer.
4657 (vc-git-after-dir-status-stage2): Don't kill the buffer.
4658
4659 * vc-hg.el (vc-hg-dir-status): Don't create a buffer.
4660 (vc-hg-after-dir-status): Don't kill the buffer.
4661
4662 * vc-svn.el (vc-svn-dir-status): Don't create a buffer.
4663 (vc-svn-after-dir-status): Don't kill the buffer.
4664
4665 2008-03-29 Glenn Morris <rgm@gnu.org>
4666
4667 * calendar/calendar.el (diary-file, american-date-diary-pattern)
4668 (european-date-diary-pattern, european-calendar-display-form)
4669 (american-calendar-display-form, diary-display-hook): Doc fixes.
4670 (european-calendar-style): Doc fix. Use calendar-set-date-style for
4671 custom :set. Mark as obsolete.
4672 (calendar-date-style, iso-date-diary-pattern)
4673 (iso-calendar-display-form): New user variables.
4674 (diary-date-forms, calendar-date-display-form): Set using
4675 calendar-date-style. Doc fix.
4676 (calendar-set-date-style): New command.
4677 (european-calendar, american-calendar): Use calendar-set-date-style.
4678 Mark as obsolete.
4679
4680 * calendar/diary-lib.el (number): Move declaration where needed.
4681 (diary-mail-entries, list-sexp-diary-entries): Doc fixes.
4682 (diary-make-date): New function.
4683 (diary-date, diary-block, diary-anniversary, diary-cyclic): Doc fix.
4684 Use diary-make-date.
4685 (diary-date-display-form, diary-insert-entry-1): New functions.
4686 (insert-monthly-diary-entry, insert-yearly-diary-entry):
4687 Use diary-insert-entry-1.
4688 (insert-anniversary-diary-entry, insert-block-diary-entry)
4689 (insert-cyclic-diary-entry): Use diary-date-display-form.
4690
4691 * calendar/cal-bahai.el, calendar/cal-hebrew.el, calendar/cal-islam.el:
4692 Autoload diary-insert-entry-1.
4693 * calendar/cal-bahai.el (diary-bahai-insert-entry)
4694 (diary-bahai-insert-monthly-entry, diary-bahai-insert-yearly-entry):
4695 * calendar/cal-hebrew.el (insert-hebrew-diary-entry)
4696 (insert-monthly-hebrew-diary-entry, insert-yearly-hebrew-diary-entry)
4697 * calendar/cal-islam.el (insert-islamic-diary-entry)
4698 (insert-monthly-islamic-diary-entry, insert-yearly-islamic-diary-entry):
4699 Use diary-insert-entry-1.
4700
4701 * calendar/cal-hebrew.el (diary-make-date): Autoload it.
4702 (diary-yahrzeit): Doc fix. Use diary-make-date.
4703
4704 * calendar/icalendar.el (icalendar--datetime-to-american-date):
4705 New name for icalendar--datetime-to-noneuropean-date. Make old name
4706 obsolete alias.
4707 (icalendar--datetime-to-iso-date): New function.
4708 (icalendar--datetime-to-diary-date): Doc fix. Respect
4709 calendar-date-style if bound.
4710
4711 * textmodes/remember.el (remember-diary-convert-entry):
4712 Respect calendar-date-style if bound.
4713
4714 2008-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
4715
4716 * xt-mouse.el (xterm-mouse-mode): Use delete-terminal-functions.
4717 (xterm-mouse-handle-delete-frame): Delete.
4718
4719 * term/xterm.el (terminal-init-xterm): Use delete-terminal-functions.
4720 (xterm-turn-on-modify-other-keys, xterm-turn-off-modify-other-keys)
4721 (xterm-remove-modify-other-keys): Lookup terminal rather than frame
4722 in xterm-modify-other-keys-terminal-list.
4723
4724 * vc-bzr.el (vc-bzr-state-heuristic): Fix last change for when there
4725 are conflicts.
4726
4727 2008-03-29 Dan Nicolaescu <dann@ics.uci.edu>
4728
4729 * vc.el (vc-update): Check if the buffer is unsaved only if it
4730 actually exists.
4731 (vc-status-mode-map, vc-status-menu-map): Bind vc-update and
4732 vc-print-log.
4733
4734 2008-03-28 Magnus Henoch <mange@freemail.hu>
4735
4736 * net/dns.el (dns-write): Use set-buffer-multibyte.
4737
4738 2008-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
4739
4740 * vc-bzr.el (vc-bzr-sha1): New fun.
4741 (vc-bzr-state-heuristic): New fun, extracted from vc-bzr-registered.
4742 (vc-bzr-registered): Use it.
4743
4744 2008-03-28 Dan Nicolaescu <dann@ics.uci.edu>
4745
4746 * vc.el (vc-status-kill-dir-status-process): Simplify.
4747 (vc-status-refresh): Make sure the buffer is live.
4748 (ring): Don't require it, not used.
4749
4750 2008-03-28 Wilson Snyder <wsnyder@wsnyder.org>
4751
4752 * progmodes/verilog-mode.el (verilog-auto-inout-module):
4753 Add optional regular expression to AUTOINOUTMODULE.
4754 (verilog-inject-auto, verilog-auto-arg, verilog-auto-inst)
4755 (verilog-auto-inst-param, verilog-auto-reg)
4756 (verilog-auto-reg-input, verilog-auto-wire, verilog-auto-output)
4757 (verilog-auto-output-every, verilog-auto-input)
4758 (verilog-auto-inout, verilog-auto-sense, verilog-auto-tieoff)
4759 (verilog-auto-unused, verilog-auto): Update documentation to use
4760 more obvious instance module names versus cell names.
4761
4762 2008-03-28 Jan Djärv <jan.h.d@swipnet.se>
4763
4764 * progmodes/compile.el (compilation-mode-tool-bar-map): Only enable
4765 kill if a process is running.
4766
4767 * progmodes/grep.el (grep-mode-tool-bar-map): The same.
4768
4769 2008-03-28 Dan Nicolaescu <dann@ics.uci.edu>
4770
4771 * vc.el: Add new backend function 'status-extra-headers.
4772 (vc-default-status-extra-headers): New function.
4773 (vc-status-headers): Call 'status-extra-headers. Add colors.
4774
4775 * vc-git.el (vc-git-status-extra-headers): New function.
4776
4777 2008-03-28 Glenn Morris <rgm@gnu.org>
4778
4779 * calendar/cal-menu.el (cal-menu-holidays-menu)
4780 (cal-menu-list-holidays-year, cal-menu-list-holidays-following-year)
4781 (cal-menu-list-holidays-previous-year): Simplify now that 2nd arg of
4782 holiday-list is optional.
4783 (calendar-mouse-holidays): Remove un-needed local `l'.
4784
4785 * calendar/cal-move.el (calendar-cursor-to-nearest-date):
4786 Remove un-needed local `date'.
4787 (calendar-cursor-to-visible-date): Use let rather than let*.
4788 Remove un-needed local `first-of-month-weekday'.
4789
4790 * calendar/calendar.el (abbreviated-calendar-year): Move to diary-lib.
4791
4792 * calendar/diary-lib.el (print-diary-entries-hook, diary-list-entries):
4793 Doc fixes.
4794 (abbreviated-calendar-year): Move here from calendar.el. Doc fix.
4795 (diary-header-line-flag, diary-header-line-format): Declare.
4796 (diary-pull-attrs): Check for multiple matches.
4797 (diary-list-entries-2): Simplify finding start of date.
4798 (diary-show-all-entries, make-diary-entry): Respect non-nil values of
4799 pop-up-frames.
4800 (diary-mark-entries-1): Re-use offset in abbreviated-year case.
4801 (mark-sexp-diary-entries): Remove superfluous call to diary-pull-attrs.
4802
4803 2008-03-27 Dan Nicolaescu <dann@ics.uci.edu>
4804
4805 * vc-hg.el (vc-hg-state, vc-hg-dir-state): Deal with 'missing files.
4806
4807 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Fix predicate.
4808
4809 2008-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
4810
4811 * vc-hooks.el (vc-before-save): Don't prevent saving the file.
4812
4813 * image-mode.el (image-mode-reapply-winprops): Fix last change.
4814
4815 2008-03-27 Kenichi Handa <handa@ni.aist.go.jp>
4816
4817 * international/mule-conf.el (define-iso-single-byte-charset):
4818 Don't make latin-iso8859-* supplementary.
4819 (#'set-charset-priority): Don't change the priority of charsets
4820 `unicode' and `emacs'.
4821
4822 2008-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
4823
4824 * vc.el (vc-do-command): Don't pop to the buffer if it's an internal
4825 temp buffer.
4826
4827 2008-03-27 Glenn Morris <rgm@gnu.org>
4828
4829 * calendar/cal-bahai.el (diary-bahai-list-entries):
4830 * calendar/cal-hebrew.el (list-hebrew-diary-entries):
4831 * calendar/cal-islam.el (list-islamic-diary-entries): Doc fix.
4832
4833 * calendar/calendar.el (diary-file): Doc fix.
4834
4835 * calendar/diary-lib.el (diary-face-attrs): Fix `height' regexp.
4836 (list-diary-entries-hook, mark-diary-entries-hook)
4837 (include-other-diary-files, diary-mail-entries)
4838 (mark-included-diary-files, list-sexp-diary-entries): Doc fixes.
4839 (diary-set-header): New function.
4840 (diary-header-line-flag, diary-header-line-format):
4841 Use diary-set-header for custom :set function.
4842 (diary-set-maybe-redraw): Use symbol-value rather than eval.
4843 (diary-attrtype-convert): Use intern-soft rather than read.
4844 (diary-display-no-entries): New function.
4845 (simple-diary-display, fancy-diary-display): Use it.
4846 (fancy-diary-display): Doc fix. Remove unneeded local entry-list.
4847 (diary-mark-entries-1): Fix position offsets in non-gregorian case.
4848
4849 * calendar/holidays.el (list-holidays): Doc fix.
4850
4851 2008-03-26 Jay Belanger <jay.p.belanger@gmail.com>
4852
4853 * calc/calc-store.el (calc-read-var-name-history): New variable.
4854 (calc-read-var-name): Use `calc-read-var-name-history'.
4855
4856 2008-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4857
4858 * image-mode.el (image-mode-reapply-winprops): Simplify now that
4859 window-configuration-change-hook works buffer-locally.
4860
4861 2008-03-26 Johan Bockgård <bojohan@gnu.org>
4862
4863 * emacs-lisp/lisp-mnt.el (lm-with-file): Use mode and syntax table
4864 for Emacs Lisp, not Lisp.
4865
4866 2008-03-26 Juanma Barranquero <lekktu@gmail.com>
4867
4868 * help-fns.el (describe-function-1, describe-variable):
4869 If CURRENT-NAME is nil, don't end obsolescence info with semicolon.
4870
4871 * emacs-lisp/bytecomp.el (byte-compile-obsolete): If no
4872 replacement is provided, don't print "use nil instead".
4873
4874 2008-03-26 Johan Bockgård <bojohan@gnu.org>
4875
4876 * complete.el (PC-do-completion): Use regexp-quote.
4877
4878 2008-03-26 Dan Nicolaescu <dann@ics.uci.edu>
4879
4880 * vc-cvs.el (vc-cvs-parse-status, vc-cvs-after-dir-status):
4881 Detect missing files.
4882
4883 * vc-git.el (vc-git-extra-menu-map): New key map.
4884 (vc-git-extra-menu, vc-git-extra-status-menu, vc-git-grep):
4885 New functions.
4886
4887 * vc-hooks.el (vc-default-mode-line-string): Deal with 'removed
4888 and 'missing files.
4889
4890 2008-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4891
4892 * calendar/holidays.el (list-holidays): Make Y2 optional.
4893
4894 * calendar/appt.el (appt-buffer-name): Don't use a leading space for
4895 buffers shown to the user.
4896 (appt-disp-window): Disable undo explicitly now that the leading space
4897 is gone.
4898
4899 * simple.el (activate-mark): New function.
4900 (set-mark-command): Use it with region-active-p to clean up the code.
4901 (exchange-point-and-mark): Invert the meaning of C-u when
4902 transient-mark-mode is active.
4903
4904 * dired-aux.el (dired-create-files): Use dolist.
4905
4906 * bindings.el (mode-line-change-eol): Use with-selected-window.
4907
4908 * apropos.el (apropos-command): Include macros.
4909
4910 2008-03-26 Glenn Morris <rgm@gnu.org>
4911
4912 * calendar/cal-bahai.el: Require calendar, not cal-julian.
4913 (calendar-bahai-epoch): Doc fix.
4914
4915 * calendar/cal-china.el: Explicitly require calendar.
4916
4917 * calendar/cal-coptic.el, calendar/cal-islam.el, calendar/cal-persia.el:
4918 Require calendar rather than cal-julian.
4919 Autoload calendar-absolute-from-julian.
4920 * calendar/cal-coptic.el (coptic-calendar-epoch):
4921 * calendar/cal-islam.el (calendar-islamic-epoch):
4922 * calendar/cal-persia.el (persian-calendar-epoch): Set when compiling.
4923
4924 * calendar/cal-islam.el (calendar-islamic-epoch): Doc fix.
4925
4926 * calendar/cal-dst.el: Don't require cal-persia.
4927 (calendar-absolute-from-persian): Autoload it.
4928 (dst-adjust-time): Doc fix.
4929
4930 * calendar/cal-menu.el (cal-menu-diary-menu): Remove menu headings that
4931 cause cal-bahai, cal-islam, cal-hebrew to be loaded on starting the
4932 calendar.
4933
4934 * calendar/cal-menu.el: Require calendar rather than declaring
4935 functions.
4936 * calendar/calendar.el: Provide calendar before requiring cal-menu.
4937
4938 * calendar/cal-x.el (calendar-after-frame-setup-hook): New name for
4939 calendar-after-frame-setup-hooks. Update callers, make old name an
4940 obsolete alias. Doc fix.
4941 (calendar-frame-1): Doc fix.
4942
4943 * calendar/calendar.el (solar-holidays): Simplify holiday-sexp calls.
4944
4945 * calendar/calendar.el (oriental-holidays, solar-holidays):
4946 * calendar/holidays.el (list-holidays): Assume atan always bound.
4947
4948 * calendar/lunar.el, calendar/solar.el: Remove floating-point check.
4949 Explicitly require calendar, not cal-julian.
4950 * calendar/lunar.el: Explicitly require cal-dst.
4951
4952 2008-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4953
4954 * autorevert.el (auto-revert-buffers): Use buffer-live-p.
4955
4956 * help-fns.el (describe-function-1, describe-variable): If no
4957 replacement is provided, don't print "use nil instead".
4958
4959 2008-03-25 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
4960
4961 * proced.el: New file.
4962
4963 2008-03-25 Tetsurou Okazaki <okazaki@be.to> (tiny change)
4964
4965 * emacs-lisp/byte-opt.el (side-effect-free-fns): Fix typo.
4966
4967 2008-03-25 Juri Linkov <juri@jurta.org>
4968
4969 * battery.el: Add file cookie coding:iso-8859-1 for the degree sign
4970 in battery-mode-line-format.
4971
4972 * bindings.el (minibuffer-local-map): For the command
4973 file-cache-minibuffer-complete replace keymap minibuffer-local-map
4974 with map which is already locally bound to minibuffer-local-map.
4975
4976 2008-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
4977
4978 * subr.el (map-keymap-sorted): Rename from map-keymap-internal.
4979 Remove `sort-first' argument.
4980
4981 * subr.el (redisplay-end-trigger-functions)
4982 (window-redisplay-end-trigger, set-window-redisplay-end-trigger)
4983 (process-filter-multibyte-p, set-process-filter-multibyte):
4984 Mark as obsolete.
4985
4986 2008-03-25 Juanma Barranquero <lekktu@gmail.com>
4987
4988 * emacs-lisp/re-builder.el (reb-mode-common): Remove reference to
4989 bogus variable `reb-kill-buffer'; don't make hooks buffer-local,
4990 use the LOCAL arg of `add-hook'.
4991 (reb-blink-delay, reb-mode-hook, reb-re-syntax, reb-auto-match-limit):
4992 Remove spurious * from defcustom docstrings.
4993 (reb-next-match, reb-prev-match, reb-enter-subexp-mode):
4994 Fix typos in messages.
4995 (reb-mode-buffer-p): New function.
4996 (re-builder, reb-kill-buffer): Use `reb-mode-buffer-p'. Use `when'.
4997 (top, reb-show-subexp, reb-auto-update, reb-auto-update)
4998 (reb-delete-overlays, reb-cook-regexp, reb-update-regexp)
4999 (reb-update-overlays): Use `unless', `when'.
5000 (re-builder-unload-function): New function.
5001
5002 2008-03-25 Dan Nicolaescu <dann@ics.uci.edu>
5003
5004 * vc-hooks.el (vc-state): Add documentation for 'missing.
5005
5006 2008-03-25 Wilson Snyder <wsnyder@wsnyder.org>
5007
5008 * progmodes/verilog-mode.el (verilog-auto-output)
5009 (verilog-auto-input, verilog-auto-inout, verilog-auto)
5010 (verilog-delete-auto): Add optional regular expression to
5011 AUTOINPUT/AUTOOUTPUT/AUTOINOUT.
5012 (verilog-signals-matching-regexp): New internal function for
5013 signal matching.
5014
5015 2008-03-25 Johan Bockgård <bojohan@gnu.org>
5016
5017 * info.el (Info-isearch-search): Always return point.
5018
5019 2008-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
5020
5021 * diff-mode.el (diff-remembered-defdir): New var.
5022 (diff-find-file-name): Use it to flush diff-remembered-files-alist.
5023
5024 2008-03-25 Glenn Morris <rgm@gnu.org>
5025
5026 * calendar/cal-bahai.el (calendar-bahai-read-date): New name for
5027 calendar-bahai-prompt-for-date. Update callers, make old name an
5028 obsolete alias. Doc fix.
5029 * calendar/cal-coptic.el (calendar-coptic-read-date): New name for
5030 coptic-prompt-for-date. Update callers, make old name an
5031 obsolete alias. Doc fix.
5032 * calendar/cal-hebrew.el (calendar-hebrew-read-date): New name for
5033 calendar-hebrew-prompt-for-date. Update callers. Doc fix.
5034 * calendar/cal-islam.el (calendar-islamic-read-date): New name for
5035 calendar-islamic-prompt-for-date. Update callers. Doc fix.
5036 * calendar/cal-iso.el (calendar-iso-read-date): New name for
5037 calendar-iso-read-args. Update callers, make old name an obsolete
5038 alias.
5039 * calendar/cal-persia.el (calendar-persian-read-date): New name for
5040 persian-prompt-for-date. Update callers, make old name an
5041 obsolete alias. Doc fix. Move definition before use.
5042
5043 * calendar/cal-x.el (diary-frame-parameters)
5044 (calendar-frame-parameters, calendar-and-diary-frame-parameters)
5045 (calendar-frame-1): Doc fixes.
5046 (make-fancy-diary-buffer): Remove declaration.
5047 (calendar-dedicate-diary): Replace call to deleted function
5048 make-fancy-diary-buffer.
5049 (calendar-frame-setup): New function.
5050 (calendar-one-frame-setup, calendar-only-one-frame-setup)
5051 (calendar-two-frame-setup): Call calendar-frame-setup to do the actual
5052 work, and mark as obsolete.
5053 (special-display-buffer-names): Don't mess with this; it's not our
5054 business.
5055 (cal-x-load-hook): Defvar it, and mark as obsolete.
5056
5057 * calendar/calendar.el (calendar-remove-frame-by-deleting):
5058 Default to t. Add to 'calendar group.
5059 (calendar): Doc fix. Use calendar-frame-setup.
5060 (calendar-basic-setup): Doc fix. Add optional NODISPLAY argument.
5061 (generate-calendar-window): Doc fix.
5062
5063 2008-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
5064
5065 * vc-bzr.el (vc-bzr-print-log, vc-bzr-diff): Do it asynchronously.
5066
5067 2008-03-24 Drew Adams <drew.adams@oracle.com>
5068
5069 * finder.el (finder-mode-syntax-table, finder-font-lock-keywords):
5070 New variables.
5071 (finder-mode): Use finder-mode-syntax-table. Set font-lock-defaults.
5072 (finder-exit): Ignore errors rather than avoiding them.
5073 Kill *Finder-package* buffer also.
5074
5075 2008-03-24 Andreas Schwab <schwab@suse.de>
5076
5077 * xt-mouse.el (xterm-mouse-event): Avoid error with buttons > 5.
5078
5079 2008-03-24 Dan Nicolaescu <dann@ics.uci.edu>
5080
5081 * vc-hg.el (vc-hg-after-dir-status):
5082 * vc-bzr.el (vc-bzr-after-dir-status): Detect missing files.
5083
5084 * vc-cvs.el (vc-cvs-after-dir-status, vc-cvs-parse-status):
5085 Detect removed files.
5086
5087 * vc.el (vc-status-printer): Use a different face for missing files.
5088 (vc-status-hide-up-to-date): Rename from
5089 vc-status-remove-up-to-date. Update all callers.
5090 (vc-status-mode-map): Bind C-m.
5091
5092 2008-03-24 Alexandre Julliard <julliard@winehq.org>
5093
5094 * vc-git.el (vc-git-after-dir-status-stage1): Move state matching
5095 code ...
5096 (vc-git--state-code): ... to this new function.
5097 (vc-git-state): Use it.
5098
5099 2008-03-24 Trent Buck <trentbuck@gmail.com> (tiny change)
5100
5101 * textmodes/remember.el (remember-mail-date)
5102 (remember-store-in-mailbox): Write date and From line in such a
5103 way that Mutt can read it.
5104
5105 2008-03-23 Chong Yidong <cyd@stupidchicken.com>
5106
5107 * simple.el (transient-mark-mode): Turn on by default.
5108
5109 2008-03-23 Dan Nicolaescu <dann@ics.uci.edu>
5110
5111 * vc-bzr.el (vc-bzr-state): Return 'removed for removed files and
5112 'unregistered for unregistered files.
5113
5114 * vc-hg.el (vc-hg-state): Return 'removed for removed files.
5115
5116 * bindings.el (standard-mode-line-modes): Avoid duplicating a string.
5117
5118 * vc-cvs.el (vc-cvs-parse-status): Note there are problems with
5119 subdirectories.
5120
5121 * vc.el (vc-status-prepare-status-buffer): Fix thinko.
5122 (vc-status-menu-map): Add binding for vc-status-kill-dir-status-process.
5123 Add :enable for vc-status-refresh.
5124 (vc-status-menu-map-filter): Remove vc-ignore-menu-filter test.
5125 (vc-status-tool-bar-map): Add binding for
5126 vc-status-kill-dir-status-process.
5127 Don't test display-graphic-p and don't bind vc-ignore-menu-filter.
5128 (vc-update-vc-status-buffer, vc-status-kill-dir-status-process):
5129 Reset vc-status-process-buffer.
5130 (vc-status-refresh): Don't run two refreshes at a time.
5131 (vc-status): If the buffer is already in vc-status-mode only refresh.
5132 (vc-status-mark-buffer-changed): Add an optional file parameter.
5133 (vc-resynch-buffer): Use it.
5134 (vc-delete-file): Expand the file name before using it.
5135 Be careful to not create a new buffer with the old file contents.
5136 Update the VC state after performing the operation.
5137
5138 2008-03-23 Andreas Schwab <schwab@suse.de>
5139
5140 * menu-bar.el (menu-bar-showhide-fringe-ind-menu) [mixed]:
5141 Fix radio button condition.
5142 [box]: Likewise.
5143 [customize]: Add radio button.
5144
5145 2008-03-23 Jay Belanger <jay.p.belanger@gmail.com>
5146
5147 * calc/calc.el (calc-was-keypad-mode, calc-full-mode)
5148 (calc-user-parse-tables, calc-gnuplot-default-device)
5149 (calc-gnuplot-default-output, calc-gnuplot-print-device)
5150 (calc-gnuplot-print-output, calc-gnuplot-geometry)
5151 (calc-graph-default-resolution, calc-graph-default-resolution-3d)
5152 (calc-invocation-macro, calc-trail-pointer, calc-trail-overlay)
5153 (calc-undo-list, calc-redo-list, calc-main-buffer)
5154 (calc-trail-buffer, calc-why, calc-last-kill, calc-dollar-values)
5155 (calc-dollar-used, calc-hashes-used, calc-quick-prev-results)
5156 (calc-said-hello, calc-executing-macro, calc-any-selections)
5157 (calc-help-phase, calc-full-help-flag, calc-refresh-count)
5158 (calc-display-dirty, calc-embedded-info, calc-embedded-active)
5159 (calc-standalone-flag, var-EvalRules, math-expr-function-mapping)
5160 (math-expr-variable-mapping, calc-mode-map, calc-digit-map)
5161 (calc-dispatch-map, calc-do-dispatch, calc-read-key-sequence)
5162 (calc-create-buffer, calc-quit): Add docstrings.
5163
5164 2008-03-23 Juanma Barranquero <lekktu@gmail.com>
5165
5166 * makefile.w32-in (WINS_ALMOST): Add org.
5167
5168 2008-03-23 Dan Nicolaescu <dann@ics.uci.edu>
5169
5170 * vc-cvs.el (vc-cvs-after-dir-status, vc-cvs-dir-status):
5171 New functions to implement vc-status support.
5172
5173 2008-03-22 Dan Nicolaescu <dann@ics.uci.edu>
5174
5175 * vc.el (vc-status-prepare-status-buffer): New function.
5176 (vc-status): Use it.
5177
5178 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add ... where
5179 appropriate.
5180
5181 2008-03-22 Alexandre Julliard <julliard@winehq.org>
5182
5183 * vc-git.el (vc-git--empty-db-p)
5184 (vc-git-after-dir-status-stage1-empty-db): New functions.
5185 (vc-git-dir-status, vc-git-after-dir-status-stage1, vc-git-state):
5186 Add support for empty repositories.
5187
5188 2008-03-22 Dan Nicolaescu <dann@ics.uci.edu>
5189
5190 * vc-git.el (vc-git-annotate-extract-revision-at-line):
5191 Allow "^" in a version name.
5192
5193 * vc-mtn.el (vc-mtn-state): Support the added state.
5194
5195 2008-03-22 Carsten Dominik <dominik@science.uva.nl>
5196
5197 * org: New directory for Org-mode.
5198
5199 * org/org-export-latex.el: Moved from lisp/texmodes.
5200
5201 * org/org-irc.el: Moved from lisp/texmodes.
5202
5203 * org/org-mac-message.el: Moved from lisp/texmodes.
5204
5205 * org/org-mouse.el: Moved from lisp/texmodes.
5206
5207 * org/org-publish.el: Moved from lisp/texmodes.
5208
5209 2008-03-21 Juri Linkov <juri@jurta.org>
5210
5211 * comint.el (comint-dynamic-simple-complete):
5212 Use variable `stub' for the second arg `common-substring'
5213 of `comint-dynamic-list-completions'.
5214 (comint-dynamic-list-filename-completions):
5215 Use variable `filenondir' for the second arg `common-substring'
5216 of `comint-dynamic-list-completions'.
5217 (comint-dynamic-list-completions): Add new optional arg
5218 `common-substring'. Add `common-substring' as the second arg of
5219 the call to `display-completion-list'. Doc fix.
5220
5221 * comint.el (comint-dynamic-complete-as-filename)
5222 (comint-dynamic-list-filename-completions)
5223 (comint-dynamic-simple-complete): Use `minibuffer-message'
5224 to display message "No completions of %s" when a command
5225 is called in the minibuffer.
5226 (comint-dynamic-simple-complete): Don't display other
5227 completion messages when a command is called in the minibuffer.
5228 (comint-dynamic-list-completions): Use `minibuffer-message'
5229 to display message " [Type space to flush ...]" when a command
5230 is called in the minibuffer.
5231
5232 * shell.el (shell-dynamic-complete-command)
5233 (shell-dynamic-complete-environment-variable): Don't display
5234 completion messages when command is called in the minibuffer.
5235
5236 * emacs-lisp/lisp.el (lisp-complete-symbol):
5237 Use `minibuffer-message' to display message "No completions of %s"
5238 when this command is called in the minibuffer.
5239
5240 * bindings.el (standard-mode-line-modes): Put special help-echo
5241 tooltip on recursive edit %[ %] mode-line constructs.
5242
5243 * dabbrev.el (debug-ignored-errors): Remove $ from the end of
5244 "^No dynamic expansion for .* found$" to allow error messages like
5245 "No dynamic expansion for \"%s\" found in this-buffer".
5246
5247 2008-03-21 Michael Albinus <michael.albinus@gmx.de>
5248
5249 * net/tramp.el (tramp-methods): Fix tramp-copy-args of "pscp" and
5250 "psftp".
5251
5252 2008-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5253
5254 * vc-hooks.el (vc-default-mode-line-string): Add case for added files.
5255 * vc.el (vc-default-dired-state-info): Use just "modified".
5256 * vc-cvs.el (vc-cvs-state-heuristic): Turn rev 0 into `added'.
5257 (vc-cvs-mode-line-string): Make use of the better default.
5258 (vc-cvs-parse-entry): Use the new `added'.
5259 (vc-cvs-dired-state-info): Remove.
5260 * vc-svn.el (vc-svn-dired-state-info): Remove.
5261 * vc-hg.el (vc-hg-dired-state-info): Remove.
5262 * vc-git.el (vc-git-dired-state-info): Remove.
5263
5264 2008-03-21 Dan Nicolaescu <dann@ics.uci.edu>
5265
5266 * vc-git.el (vc-git-status-result): New variable.
5267 (vc-git-dir-status): Split out ...
5268 (vc-git-after-dir-status-stage1, vc-git-after-dir-status-stage2):
5269 ... these new functions and work asynchronously.
5270
5271 2008-03-21 Alexandre Julliard <julliard@winehq.org>
5272
5273 * vc-git.el (vc-git-after-dir-status): Remove.
5274 (vc-git-dired-state-info): Reimplement.
5275
5276 2008-03-21 Dan Nicolaescu <dann@ics.uci.edu>
5277
5278 * replace.el (occur-mode-map): Add :help.
5279
5280 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entry
5281 for disassemble.
5282
5283 * vc.el (vc-status-mark-buffer-changed): Better deal with files in
5284 the 'added state.
5285 (vc-status-remove-up-to-date): New function.
5286 (vc-status-mode-map, vc-status-menu-map): Bind it.
5287 (vc-status-printer): Use a different face up-to-date files.
5288 (vc-resynch-buffer): Update the vc-status buffer if it exists.
5289 (Todo): Remove solved entries.
5290
5291 * vc-hg.el (vc-hg-state):
5292 * vc-git.el (vc-git-state):
5293 * vc-cvs.el (vc-cvs-parse-status):
5294 * vc-bzr.el (vc-bzr-state): Return 'added when the file is in that
5295 state.
5296
5297 2008-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
5298
5299 * progmodes/compile.el (compile):
5300 * progmodes/grep.el (grep, grep-find): Use read-shell-command.
5301
5302 * simple.el (minibuffer-local-shell-command-map): New var.
5303 (minibuffer-complete-shell-command, read-shell-command): New funs.
5304 (shell-command, shell-command-on-region): Use them.
5305
5306 2008-03-20 Dan Nicolaescu <dann@ics.uci.edu>
5307
5308 * vc.el (vc-status-mark-buffer-changed): New function to implement
5309 updating of the *vc-status* buffer when a buffer is saved.
5310 (vc-status-mode): Use it for after-change-hook.
5311 (vc-add-to-vc-status-buffer): Rename to ...
5312 (vc-status-add-entry): ... this.
5313 (Todo): Add new entry.
5314
5315 2008-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
5316
5317 * sort.el (sort-reorder-buffer): Preserve the buffer's multibyteness.
5318
5319 2008-03-20 Juanma Barranquero <lekktu@gmail.com>
5320
5321 * icomplete.el (icomplete-prospects-length, icomplete-max-delay-chars)
5322 (icomplete-show-key-bindings, icomplete-minibuffer-setup-hook):
5323 Remove spurious * from defcustom docstrings.
5324 (icomplete-compute-delay): Fix docstring and remove spurious *.
5325 (icomplete-delay-completions-threshold): Fix typo in docstring and
5326 remove spurious *.
5327 (icomplete-completions): While collecting the list of prospective
5328 candidates, don't overshoot `icomplete-prospects-length'.
5329
5330 2008-03-20 Dan Nicolaescu <dann@ics.uci.edu>
5331
5332 * textmodes/refbib.el:
5333 * textmodes/reftex.el:
5334 * textmodes/reftex-global.el:
5335 * textmodes/reftex-vars.el:
5336 * textmodes/reftex-toc.el: Don't use eval-and-compile for byte
5337 compiler pacifying defvars.
5338 (reftex-toc-mode): Only make zmacs-regions local on XEmacs.
5339 * textmodes/reftex-index.el (zmacs-regions): Remove pacifier,
5340 not needed.
5341
5342 2008-03-20 Wilson Snyder <wsnyder@wsnyder.org>
5343
5344 * progmodes/verilog-mode.el (verilog-easy-menu-filter): New function.
5345 (verilog-stmt-menu, verilog-menu): Add :help and filter it.
5346 (verilog-customize, verilog-font-customize)
5347 (electric-verilog-backward-sexp, electric-verilog-forward-sexp)
5348 (verilog-mode): Update documentation strings to match tool tips.
5349 (verilog-auto-search-do, verilog-auto-re-search-do)
5350 (verilog-skip-forward-comment-or-string): Fix verilog-auto
5351 expansion when a .* appears inside a string.
5352 (verilog-re-search-forward, verilog-re-search-backward):
5353 Add comment to recall how this works.
5354 (verilog-read-decls): Fix AUTOINPUT/AUTOOUTPUT mis-including genvars.
5355
5356 2008-03-20 Glenn Morris <rgm@gnu.org>
5357
5358 * calendar/calendar.el (calendar-other-dates): New function.
5359 (calendar-print-other-dates): Use calendar-other-dates.
5360 * calendar/cal-menu.el (calendar-other-dates): Declare it, and removes
5361 the declarations it replaces.
5362 (calendar-mouse-print-dates): Use calendar-other-dates.
5363
5364 * calendar/cal-bahai.el (calendar-bahai-leap-year-p)
5365 (calendar-bahai-leap-base, calendar-bahai-from-absolute): Doc fixes.
5366 (calendar-absolute-from-bahai): Fix the leap-year case.
5367 (calendar-bahai-from-absolute): Re-use the Gregorian month.
5368 (calendar-bahai-date-string, calendar-bahai-print-date):
5369 Handle pre-Bahai dates.
5370
5371 * calendar/cal-china.el (chinese-calendar-celestial-stem)
5372 (chinese-calendar-terrestrial-branch): Make defcustoms.
5373
5374 * calendar/cal-menu.el (calendar-mouse-holidays): Re-use the title.
5375 (calendar-mouse-view-diary-entries): Use or.
5376 (calendar-mouse-chinese-date): Remove unused command.
5377 (cal-menu-load-hook): Mark as obsolete.
5378
5379 * calendar/solar.el (calendar-location-name, calendar-latitude)
5380 (calendar-longitude, solar-arctan, sunrise-sunset)
5381 (solar-mean-equinoxes/solstices): Use the appropriate equality test.
5382
5383 2008-03-20 Jay Belanger <jay.p.belanger@gmail.com>
5384
5385 * calc/calc.el: Remove outdated comments.
5386 (defcalcmodevar, calc-mode-var-list-restore-default-values)
5387 (calc-mode-var-list-restore-saved-values, calc-autorange-units):
5388 Add docstrings.
5389
5390 2008-03-19 Jason Rumney <jasonr@gnu.org>
5391
5392 * w32-fns.el (x-alternatives-map): Add S-tab mapping.
5393
5394 2008-03-19 Reiner Steib <Reiner.Steib@gmx.de>
5395
5396 * net/tls.el (open-tls-stream): Reindent.
5397
5398 2008-03-19 Michael Albinus <michael.albinus@gmx.de>
5399
5400 * net/tramp.el (tramp-let-maybe): Removed.
5401 (tramp-drop-volume-letter): Don't use `replace-regexp-in-string'.
5402 It does not exist under XEmacs.
5403 (tramp-handle-file-truename, tramp-handle-expand-file-name)
5404 (tramp-completion-file-name-handler): Let-bind
5405 `directory-sep-char'.
5406
5407 * net/tramp-fish.el (tramp-fish-handle-expand-file-name): Let-bind
5408 `directory-sep-char'.
5409
5410 2008-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
5411
5412 * help-fns.el (describe-function-1): Don't signal "missing arglist"
5413 for autoloaded keymaps.
5414
5415 * progmodes/verilog-mode.el (verilog-syntax-ppss): New function.
5416 (electric-verilog-terminate-line, verilog-in-struct-region-p)
5417 (verilog-backward-ws&directives, verilog-forward-ws&directives)
5418 (verilog-in-comment-p, verilog-in-star-comment-p)
5419 (verilog-in-slash-comment-p, verilog-skip-backward-comments)
5420 (verilog-parenthesis-depth, verilog-skip-backward-comment-or-string)
5421 (verilog-skip-forward-comment-or-string, verilog-in-paren)
5422 (verilog-skip-forward-comment-p): Use it.
5423
5424 2008-03-19 Juanma Barranquero <lekktu@gmail.com>
5425
5426 * textmodes/org.el (org-link-store, org-link-follow, org-latex)
5427 (org-remember-templates, org-time-stamp-rounding-minutes)
5428 (org-back-over-empty-lines, org-find-base-buffer-visiting)
5429 (org-columns-new): Fix typos in docstrings.
5430
5431 2008-03-19 Glenn Morris <rgm@gnu.org>
5432
5433 * net/tramp.el (tramp-drop-volume-letter): Evaluate when compiling.
5434 (tramp-handle-shell-command): Use condition-case rather than
5435 ignore-errors.
5436
5437 2008-03-19 Dan Nicolaescu <dann@ics.uci.edu>
5438
5439 * diff-mode.el (diff-header): Make the color louder.
5440 (diff-refine-change): Tone the color down.
5441
5442 2008-03-19 Juanma Barranquero <lekktu@gmail.com>
5443
5444 * descr-text.el (describe-char): When `describe-char-unidata-list'
5445 is set to show all properties, list them in the right order.
5446
5447 2008-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
5448
5449 * international/mule.el (load-with-code-conversion): Avoid setting
5450 default-enable-multibyte-characters.
5451
5452 2008-03-19 Gustav HÃ¥llberg <gustav@virtutech.com> (tiny change)
5453
5454 * vc.el (vc-annotate-background): Fix custom type.
5455
5456 2008-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
5457
5458 * descr-text.el (describe-char-unidata-list): Allow specifying
5459 just all properties.
5460 (describe-char): Handle that new value.
5461
5462 * emulation/cua-base.el (cua-paste): Signal an error in read-only buf.
5463
5464 2008-03-18 Tassilo Horn <tassilo@member.fsf.org>
5465
5466 * doc-view.el (doc-view-initiate-display): Use doc-view-doc-type
5467 instead of file name extension to make docs with uncommon
5468 extensions work.
5469
5470 2008-03-18 Tassilo Horn <tassilo@member.fsf.org>
5471
5472 * doc-view.el (require): Require cl at compile time because
5473 `assert' needs it.
5474
5475 2008-03-18 Glenn Morris <rgm@gnu.org>
5476
5477 * calendar/calendar.el (initial-calendar-window-hook)
5478 (today-visible-calendar-hook): Doc fixes.
5479
5480 2008-03-17 Michael Albinus <michael.albinus@gmx.de>
5481
5482 * net/tramp.el (tramp-root-regexp): Simplify.
5483 (tramp-completion-file-name-regexp-separate): Don't insist on
5484 leading "[". This prevents method or user or host completion.
5485 (tramp-let-maybe): Autoload it.
5486 (tramp-drop-volume-letter): Don't autoload. When not on W32, it
5487 is an alias for `identity'.
5488 (tramp-handle-write-region): Protect `last-coding-system-used'
5489 over the trailing statements.
5490 (tramp-completion-file-name-handler-post-function): Remove.
5491 (tramp-completion-file-name-handler): Let-bind `directory-sep-char'
5492 instead of calling `tramp-drop-volume-letter'.
5493
5494 * net/tramp.el:
5495 * net/tramp-uu.el:
5496 * net/trampver.el: Move coding cookie at the end.
5497
5498 2008-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
5499
5500 * net/tramp.el (tramp-completion-mode-p): Don't use char-equal for
5501 elements which may be something else than characters.
5502
5503 2008-03-17 Dan Nicolaescu <dann@ics.uci.edu>
5504
5505 * vc-bzr.el (vc-bzr-dir-status, vc-bzr-after-dir-status):
5506 New functions to implement vc-status support.
5507
5508 * vc.el (vc-default-extra-status-menu)
5509 (vc-add-to-vc-status-buffer): New functions.
5510
5511 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
5512 for eldoc and ielm.
5513
5514 2008-03-17 Glenn Morris <rgm@gnu.org>
5515
5516 * calendar/cal-x.el (diary-frame-parameters)
5517 (calendar-frame-parameters, calendar-and-diary-frame-parameters):
5518 Fix custom type; add options.
5519 (calendar-frame, diary-frame): Doc fixes.
5520 (calendar-dedicate-diary, calendar-frame-1): Extract common code into
5521 new functions.
5522 (calendar-one-frame-setup, calendar-two-frame-setup): Doc fixes.
5523 Use calendar-frame-1 and calendar-dedicate-diary.
5524 (calendar-one-frame-setup): Also handle only-one-frame case.
5525 (calendar-only-one-frame-setup): Doc fix. Just call
5526 calendar-one-frame-setup.
5527
5528 * calendar/diary-lib.el: Re-order some definitions before their use.
5529 (nongregorian-diary-listing-hook, nongregorian-diary-marking-hook)
5530 (diary-list-entries): Doc fixes.
5531 (make-fancy-diary-display): Remove function.
5532
5533 * calendar/calendar.el (calendar-today-marker)
5534 (initial-calendar-window-hook, today-visible-calendar-hook)
5535 (today-invisible-calendar-hook, diary-file, calendar-basic-setup)
5536 (calendar-star-date, calendar-mark-today): Doc fixes.
5537 (today-visible-calendar-hook): Add options.
5538 (calendar-in-read-only-buffer): New macro.
5539 (calendar-basic-setup): Adapt for change in calendar-read-date.
5540 Place holiday let inside if.
5541 (calendar-day-name-array, calendar-month-name-array): Make defcustoms.
5542 (calendar-read-date): Set day to 1 rather than nil in the NODAY case.
5543 (calendar-print-other-dates): Use one let rather than many.
5544
5545 * calendar/calendar.el (calendar-in-read-only-buffer): New macro.
5546 (calendar-print-other-dates):
5547 * calendar/cal-hebrew.el (list-yahrzeit-dates):
5548 * calendar/diary-lib.el (simple-diary-display, fancy-diary-display):
5549 * calendar/holidays.el (calendar-list-holidays, list-holidays)
5550 (calendar-cursor-holidays):
5551 * calendar/lunar.el (calendar-phases-of-moon): Use
5552 calendar-in-read-only-buffer to replace previous code and disable undo.
5553
5554 2008-03-16 Juri Linkov <juri@jurta.org>
5555
5556 * isearch.el (isearch-edit-string): Use search-ring-yank-pointer
5557 and regexp-search-ring-yank-pointer for the HISTPOS argument of
5558 read-from-minibuffer to provide the correct initial minibuffer
5559 history position in isearch-edit-string when it is called from
5560 isearch-ring-adjust.
5561
5562 * menu-bar.el (kill-this-buffer): Use menu-bar-non-minibuffer-window-p
5563 to check if the current buffer is the minibuffer, and in this case
5564 call abort-recursive-edit to kill the minibuffer. Doc fix.
5565 (kill-this-buffer-enabled-p): Allow this function to return non-nil
5566 when the current buffer is the minibuffer.
5567
5568 * simple.el (goto-line): Leave mark at previous position. Doc fix.
5569
5570 2008-03-16 Tassilo Horn <tassilo@member.fsf.org>
5571
5572 * doc-view.el (doc-view-doc->txt, doc-view-convert-current-doc):
5573 Use non-nil PARENTS attribute of make-directory instead of
5574 explicitly checking existence the current cache directory.
5575
5576 2008-03-16 Daiki Ueno <ueno@unixuser.org>
5577
5578 * epa-file.el (epa-file-select-keys): Fix bug with C-x C-s after
5579 M-x epa-file-select-keys.
5580
5581 2008-03-16 Kenichi Handa <handa@m17n.org>
5582
5583 * international/mule.el (auto-coding-alist):
5584 Use no-conversion-multibyte for archive files.
5585
5586 2008-03-16 Glenn Morris <rgm@gnu.org>
5587
5588 * calendar/diary-lib.el (calendar-mark-complex, calendar-mark-1):
5589 New functions.
5590 * calendar/cal-bahai.el (calendar-mark-1): Autoload it.
5591 (calendar-bahai-mark-date-pattern): Add optional argument `color'.
5592 Use calendar-mark-1.
5593 * calendar/cal-hebrew.el (calendar-mark-complex): Autoload it.
5594 (mark-hebrew-calendar-date-pattern): Add optional argument `color'.
5595 Use calendar-mark-complex.
5596 * calendar/cal-islam.el (calendar-mark-1): Autoload it.
5597 (mark-islamic-calendar-date-pattern): Add optional argument `color'.
5598 Use calendar-mark-1.
5599
5600 * calendar/calendar.el (calendar-mod): Remove.
5601 * calendar/cal-china.el (calendar-chinese-from-absolute)
5602 (calendar-chinese-date-string): Expand calendar-mod calls.
5603 * calendar/cal-mayan.el (calendar-mayan-tzolkin-from-absolute):
5604 Expand calendar-mod calls.
5605
5606 * calendar/cal-bahai.el (calendar-bahai-date-string): Use a single let.
5607 (diary-bahai-insert-entry, diary-bahai-insert-monthly-entry)
5608 (diary-bahai-insert-yearly-entry): Use let rather than let*.
5609 Move obsolete aliases after the functions that replaced them.
5610
5611 * calendar/cal-hebrew.el (calendar-absolute-from-hebrew)
5612 (hebrew-calendar-yahrzeit, insert-hebrew-diary-entry)
5613 (insert-monthly-hebrew-diary-entry, insert-yearly-hebrew-diary-entry):
5614 Use let rather than let*.
5615 (calendar-hebrew-prompt-for-date): New function.
5616 (calendar-goto-hebrew-date): Use calendar-hebrew-prompt-for-date.
5617 (holiday-tisha-b-av-etc): Use unless, let.
5618
5619 * calendar/cal-islam.el (calendar-islamic-prompt-for-date): New func.
5620 (calendar-goto-islamic-date): Use calendar-islamic-prompt-for-date.
5621
5622 * calendar/cal-mayan.el (calendar-mayan-haab-to-string): Simplify.
5623
5624 * calendar/calendar.el (calendar-for-loop): Add indent spec.
5625
5626 * calendar/diary-lib.el (diary-remind-message, mark-sexp-diary-entries)
5627 (list-sexp-diary-entries, diary-font-lock-sexps): Use format rather
5628 than concat.
5629 (diary): Remove un-needed let.
5630 (view-other-diary-entries): Rename argument.
5631 (diary-list-entries-2): New function.
5632 (diary-list-entries-1, diary-list-entries): Use diary-list-entries-2.
5633 (print-diary-entries): Use unless.
5634 (diary-mark-entries-1): Change argument order, make all but
5635 markfunc optional. Handle the standard (Gregorian) case.
5636 Use match-string-no-properties. Handle marks.
5637 (mark-diary-entries): Use diary-mark-entries-1.
5638 (diary-font-lock-keywords-1): New macro.
5639 (diary-font-lock-keywords): Use diary-font-lock-keywords-1.
5640
5641 2008-03-16 Ulf Jasper <ulf.jasper@web.de>
5642
5643 * icalendar.el (icalendar-version): Increase to 0.18.
5644 (icalendar-export-hidden-diary-entries): New variable.
5645 (icalendar-export-region): Use icalendar-export-hidden-diary-entries.
5646 In case of error, insert full error-val.
5647 (icalendar-first-weekday-of-year): Remove `offset' argument. Doc fix.
5648 Use calendar-day-of-week. Return the day number.
5649 (icalendar--convert-weekly-to-ical): Use funcall rather than apply.
5650
5651 2008-03-16 Craig Markwardt <Craig.Markwardt@nasa.gov>
5652
5653 * icalendar.el (icalendar-recurring-start-year): New variable.
5654 (icalendar--diarytime-to-isotime): Fix treatment of 12:00pm - 12:59pm.
5655 (icalendar-export-region): Ignore hidden diary entries.
5656 (icalendar--convert-ordinary-to-ical): Fix case where event
5657 spans across midnight boundary.
5658 (icalendar-first-weekday-of-year): New function.
5659 (icalendar--convert-weekly-to-ical): Allow user-selectable start
5660 year for recurring events (Mozilla calendars do not propagate
5661 recurring events forever, so year 2000 start date was not working).
5662 (icalendar--convert-yearly-to-ical): Remove extra spaces in
5663 formatting of BYMONTH and BYMONTHDAY (not allowed by ical spec).
5664
5665 2008-03-15 Michael Albinus <michael.albinus@gmx.de>
5666
5667 * net/tramp.el (tramp-root-regexp): New defconst.
5668 (tramp-completion-file-name-regexp-unified)
5669 (tramp-completion-file-name-regexp-separate)
5670 (tramp-completion-file-name-regexp-url): Use it.
5671 (tramp-do-copy-or-rename-file-via-buffer):
5672 Set `enable-multibyte-characters' to nil. Set `jka-compr-inhibit' to
5673 t for `insert-file-contents-literally'.
5674 (tramp-drop-volume-letter): Rewrite, using `tramp-root-regexp'.
5675 Autoload it.
5676 (tramp-completion-file-name-handler-post-function): New defconst.
5677 (tramp-completion-file-name-handler): Use it.
5678 (tramp-maybe-open-connection): Update calls to
5679 `tramp-flush-connection-property' for removed 2nd argument.
5680
5681 2008-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5682
5683 * vc-bzr.el (vc-bzr-diff): Use a faster invocation when possible.
5684 (vc-bzr-complete-with-prefix, vc-bzr-revision-completion-table):
5685 New functions.
5686
5687 2008-03-15 Glenn Morris <rgm@gnu.org>
5688
5689 * calendar/diary-lib.el (diary-list-entries-1, diary-mark-entries-1):
5690 New functions.
5691 * calendar/cal-bahai.el (number, original-date, add-to-diary-list)
5692 (diary-name-pattern, mark-calendar-days-named): Remove declarations.
5693 (diary-list-entries-1, diary-mark-entries-1): Autoload.
5694 (diary-bahai-list-entries): Use diary-list-entries-1.
5695 (diary-bahai-mark-entries): Doc fix. Use diary-mark-entries-1.
5696 * calendar/cal-hebrew.el (number, original-date, add-to-diary-list)
5697 (diary-name-pattern, mark-calendar-days-named): Remove declarations.
5698 (diary-list-entries-1, diary-mark-entries-1): Autoload.
5699 (list-hebrew-diary-entries): Use diary-list-entries-1.
5700 (mark-hebrew-diary-entries): Doc fix. Use diary-mark-entries-1.
5701 * calendar/cal-islam.el (number, original-date, add-to-diary-list)
5702 (diary-name-pattern, mark-calendar-days-named): Remove declarations.
5703 (diary-list-entries-1, diary-mark-entries-1): Autoload.
5704 (list-islamic-diary-entries): Use diary-list-entries-1.
5705 (mark-islamic-diary-entries): Doc fix. Use diary-mark-entries-1.
5706
5707 * calendar/appt.el (appt-check, appt-delete, appt-make-list): Use caar.
5708
5709 * calendar/cal-bahai.el (calendar-bahai-epoch): Doc fix.
5710
5711 * calendar/cal-china.el (number-chinese-months)
5712 (calendar-chinese-from-absolute): Use nth, caar.
5713
5714 * calendar/cal-coptic.el (coptic-calendar-epoch): Doc fix.
5715
5716 * calendar/cal-french.el (french-calendar-accents): Doc fix.
5717
5718 * calendar/cal-hebrew.el (calendar-hebrew-month-name-array-common-year)
5719 (calendar-hebrew-month-name-array-leap-year)
5720 (hebrew-calendar-parashiot-names): Make constants.
5721 (diary-parasha): Move definition after constants it uses.
5722
5723 * calendar/cal-html.el (cal-html-insert-link-yearpage)
5724 (cal-html-htmlify-list): Doc fix.
5725 (cal-html-htmlify-entry): Use nth.
5726
5727 * calendar/cal-islam.el (calendar-islamic-month-name-array)
5728 (calendar-islamic-epoch): Make constants.
5729 (calendar-islamic-epoch): Doc fix.
5730
5731 * calendar/cal-menu.el (cal-menu-goto-menu): Use "Go To".
5732
5733 * calendar/cal-tex.el (cal-tex-hook, cal-tex-insert-preamble)
5734 (cal-tex-month-name): Doc fix.
5735 (cal-tex-last-blank-p): Use zerop.
5736
5737 * calendar/calendar.el (european-calendar-style, calendar-for-loop)
5738 (calendar-sum, calendar-insert-indented, mouse-calendar-other-month)
5739 (calendar-cursor-to-date): Doc fix.
5740 (hebrew-holidays-1, hebrew-holidays-4): Simplify.
5741 (extract-calendar-day, extract-calendar-year): Use cadr, nth.
5742 (calendar-day-number): Use when.
5743 (generate-calendar-month): Use dotimes.
5744 (exit-calendar, calendar-print-other-dates): Use let rather than let*.
5745 (calendar-set-mark): Reverse conditional.
5746 (calendar-make-alist): Move definition before use.
5747
5748 * calendar/diary-lib.el (diary-face-attrs)
5749 (diary-glob-file-regexp-prefix, diary-selective-display)
5750 (number-of-diary-entries, diary-list-entries, diary-goto-entry)
5751 (list-sexp-diary-entries, diary-date, diary-block, diary-float)
5752 (diary-anniversary, diary-cyclic)
5753 (diary-fancy-font-lock-fontify-region-function): Doc fixes.
5754 (diary-header-line-format): Change wording.
5755 (diary-list-entries): Set `date-start' in let.
5756 (include-other-diary-files, mark-included-diary-files): Use format.
5757 (simple-diary-display, fancy-diary-display): Use cadr, unless.
5758 (mark-diary-entries): Use 1+.
5759 (mark-sexp-diary-entries, list-sexp-diary-entries): Use when.
5760 (mark-calendar-month): Use dotimes.
5761
5762 * calendar/holidays.el (displayed-month, displayed-year):
5763 Move declarations where needed.
5764 (calendar-list-holidays): Doc fix.
5765
5766 * calendar/parse-time.el (parse-time-string): Simplify.
5767
5768 * calendar/solar.el (solar-n-hemi-seasons, solar-s-hemi-seasons):
5769 Make constants.
5770 (solar-sunrise-sunset): Rename some local variables for clarity.
5771 (sunrise-sunset): Use zerop.
5772 (solar-mean-equinoxes/solstices): Doc fix.
5773
5774 * calendar/timeclock.el (timeclock-time-to-seconds, timeclock-log-data):
5775 Use nth.
5776 (timeclock-completing-read, timeclock-generate-report): Use zerop.
5777 (timeclock-mean, timeclock-generate-report): Use dolist.
5778
5779 * calendar/todo-mode.el (todo-add-category): Simplify.
5780 (todo-more-important-p, todo-delete-item, todo-file-item):
5781 Use unless, when.
5782 (todo-top-priorities): Use zerop.
5783
5784 2008-03-14 Nick Roberts <nickrob@snap.net.nz>
5785
5786 * buff-menu.el (list-buffers-noselect): Display buffer name in
5787 tooltip instead of mouse binding when it doesn't fit in the list.
5788
5789 2008-03-14 Dan Nicolaescu <dann@ics.uci.edu>
5790
5791 * faces.el (xw-defined-colors):
5792 * simple.el (widget-convert, shell-mode): Declare as functions
5793 instead of autoloading.
5794
5795 * abbrev.el:
5796 * button.el:
5797 * cus-face.el:
5798 * ediff-hook.el:
5799 * emacs-lisp/backquote.el:
5800 * emacs-lisp/timer.el:
5801 * facemenu.el:
5802 * faces.el:
5803 * menu-bar.el:
5804 * simple.el:
5805 * subr.el:
5806 * textmodes/fill.el:
5807 * textmodes/paragraphs.el: Remove autoloads, redundant when the
5808 files are preloaded.
5809
5810 2008-03-14 Stefan Monnier <monnier@iro.umontreal.ca>
5811
5812 * desktop.el (desktop-create-buffer): Don't catch errors if
5813 debug-on-error is set.
5814
5815 2008-03-14 Eli Zaretskii <eliz@gnu.org>
5816
5817 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
5818 ($(lisp)/calendar/diary-loaddefs.el)
5819 ($(lisp)/calendar/hol-loaddefs.el): New targets.
5820 (LOADDEFS): New macro.
5821 (autoloads): Depend on $(LOADDEFS).
5822
5823 2008-03-14 Dan Nicolaescu <dann@ics.uci.edu>
5824
5825 * font-lock.el (featurep): Remove test, not useful anymore.
5826 (facemenu-keymap): Move key binding ...
5827 * facemenu.el (facemenu-keymap): ... here.
5828
5829 * vc-bzr.el (vc-bzr-print-log): Insert a file marker. Run the log
5830 for each file in the list.
5831 (vc-bzr-log-view-mode): Recognize the file marker.
5832
5833 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
5834 for checkdoc and profiling.
5835
5836 2008-03-14 Bastien Guerry <bzg@altern.org>
5837
5838 * textmodes/flyspell.el (nxml-mode): Add the right
5839 `flyspell-mode-predicate'.
5840
5841 * wid-edit.el (link): Use 'mouse-face for :follow-link.
5842
5843 2008-03-14 Glenn Morris <rgm@gnu.org>
5844
5845 * calendar/solar.el: Reorder so that functions are defined before use.
5846 (displayed-month, displayed-year): Move declarations where needed.
5847 (solar-get-number): Move definition before use. Use unless.
5848 (solar-equatorial-coordinates): Simplify.
5849 (solar-sunrise-and-sunset): Use let rather than let*.
5850 (solar-longitude, solar-equinoxes-solstices): Use cadr, nth.
5851
5852 * startup.el (command-line-1): Rename -internal-script back to
5853 -scriptload (reverts previous change).
5854
5855 * calendar/cal-bahai.el (calendar-bahai-month-name-array)
5856 (calendar-bahai-leap-base): Add doc strings.
5857 (calendar-bahai-prompt-for-date, calendar-bahai-mark-date-pattern):
5858 Move definition before use.
5859 (calendar-bahai-goto-date, diary-bahai-list-entries): Doc fix.
5860 (diary-bahai-list-entries, diary-bahai-mark-entries): Move some constant
5861 variables outside the loop. Use dolist.
5862 (holiday-bahai, calendar-bahai-mark-date-pattern): Use unless.
5863
5864 * calendar/cal-china.el: Re-order so that functions are defined before
5865 use.
5866 (displayed-month, displayed-year): Move declarations where needed.
5867 (chinese-calendar-time-zone, calendar-goto-chinese-date): Doc fix.
5868 (chinese-calendar-celestial-stem, chinese-calendar-terrestrial-branch):
5869 Add doc strings.
5870 (chinese-year-cache): Recenter on 2010. Doc fix.
5871 (chinese-year, number-chinese-months, calendar-absolute-from-chinese):
5872 Doc fix. Simplify.
5873 (chinese-year-cache-init): New function.
5874 (compute-chinese-year, holiday-chinese-new-year)
5875 (calendar-chinese-date-string, calendar-goto-chinese-date)
5876 (make-chinese-month-assoc-list): Use cadr, nth.
5877 (chinese-months): Remove un-needed let.
5878
5879 * calendar/cal-coptic.el (coptic-calendar-month-name-array)
5880 (ethiopic-calendar-month-name-array, ethiopic-name): Add doc strings.
5881 (coptic-prompt-for-date): Move definition before use.
5882
5883 * calendar/cal-dst.el (calendar-time-zone-daylight-rules): Simplify.
5884 (calendar-dst-find-data, calendar-daylight-time-offset)
5885 (calendar-standard-time-zone-name, calendar-daylight-time-zone-name)
5886 (calendar-daylight-savings-starts-time)
5887 (calendar-daylight-savings-ends-time): Use cadr, nth.
5888
5889 * calendar/cal-french.el (french-calendar-epoch)
5890 (calendar-goto-french-date): Doc fix.
5891 (french-calendar-month-name-array)
5892 (french-calendar-multibyte-month-name-array)
5893 (french-calendar-day-name-array, french-calendar-special-days-array):
5894 Add doc strings.
5895
5896 * calendar/cal-hebrew.el (displayed-month, displayed-year)
5897 (original-date): Move declarations where needed.
5898 (calendar-goto-hebrew-date, list-hebrew-diary-entries, diary-yahrzeit):
5899 Doc fix.
5900 (list-hebrew-diary-entries, mark-hebrew-diary-entries): Move some
5901 constant variables outside the loop. Use dolist.
5902
5903 * calendar/cal-islam.el (displayed-month, displayed-year)
5904 (original-date): Move declarations where needed.
5905 (islamic-calendar-day-number): Remove unused local variable `day'.
5906 (calendar-goto-islamic-date): Doc fix.
5907 (holiday-islamic): Use unless.
5908 (list-islamic-diary-entries, mark-islamic-diary-entries): Move some
5909 constant variables outside the loop. Use dolist.
5910 (mark-islamic-calendar-date-pattern): Move definition before use.
5911 Use unless.
5912 (mark-islamic-diary-entries): Doc fix.
5913 (insert-islamic-diary-entry, insert-monthly-islamic-diary-entry)
5914 (insert-yearly-islamic-diary-entry): Use let rather than let*.
5915
5916 * calendar/cal-julian.el (calendar-absolute-from-julian):
5917 Move definition before use. Remove un-needed local `day'.
5918 (calendar-goto-julian-date, calendar-goto-astro-day-number): Doc fix.
5919
5920 * calendar/cal-mayan.el (calendar-mayan-haab-month-name-array)
5921 (calendar-mayan-tzolkin-names-array): Add doc strings.
5922 (calendar-mayan-long-count-from-absolute): Use a single let.
5923 (calendar-string-to-mayan-long-count): Simplify.
5924 (calendar-next-haab-date, calendar-previous-haab-date)
5925 (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
5926 (calendar-previous-calendar-round-date)
5927 (calendar-goto-mayan-long-count-date, calendar-mayan-date-string):
5928 Doc fix.
5929 (calendar-mayan-tzolkin-haab-on-or-before): Use zerop.
5930 (calendar-mayan-date-string, calendar-print-mayan-date)
5931 (calendar-read-mayan-haab-date, calendar-read-mayan-tzolkin-date)
5932 (calendar-mayan-long-count-common-era): Move definitions before use.
5933
5934 * calendar/cal-menu.el (displayed-year): Move declaration where needed.
5935 (calendar-event-to-date, cal-tex-mouse-week, cal-tex-mouse-week-iso):
5936 Doc fix.
5937 (calendar-mouse-goto-date): Move definition before use.
5938
5939 * calendar/cal-move.el (calendar-cursor-to-nearest-date): Use or, when.
5940 Move definition before use.
5941 (calendar-cursor-to-visible-date): Move definition before use.
5942 (calendar-scroll-left): Use unless and zerop. Combine lets into one,
5943 and place inside the conditional.
5944 (calendar-forward-day): Simplify.
5945 (calendar-end-of-month): Use unless.
5946 (calendar-goto-day-of-year): Doc fix.
5947 Relocate obsolete aliases after their replacements.
5948
5949 * calendar/cal-persia.el (calendar-goto-persian-date): Doc fix.
5950
5951 * calendar/diary-lib.el (mark-diary-entries): Move some constant
5952 variables outside the diary-date-forms loop.
5953
5954 * calendar/calendar.el (diary-file): Doc fix.
5955 (calendar-buffer-list): Return buffers rather than strings (fixes
5956 previous change).
5957 (hebrew-holidays-4): Fix typo.
5958
5959 * calendar/holidays.el (displayed-month, displayed-year):
5960 Move declarations where needed.
5961 (calendar-holiday-list, calendar-list-holidays)
5962 (holiday-filter-visible-calendar): Move definitions before use.
5963 (list-holidays): Use cadr.
5964 Relocate obsolete aliases after their replacements.
5965
5966 * calendar/lunar.el (date, displayed-month, displayed-year):
5967 Move declarations where needed.
5968 (lunar-phase-list): Move definition after functions it uses.
5969 (calendar-phases-of-moon, diary-phases-of-moon)
5970 (lunar-new-moon-on-or-after): Use cadr, nth.
5971 (lunar-new-moon-on-or-after): Doc fix.
5972
5973 * textmodes/org-irc.el (top-level): CL not required when compiling.
5974 (org-irc-visit-erc): Replace runtime CL functions.
5975
5976 * textmodes/org-publish.el (declare-function): Add compatibility stub.
5977 (org-publish-delete-dups): Declare as function.
5978
5979 2008-03-14 Dan Nicolaescu <dann@ics.uci.edu>
5980
5981 * vc-bzr.el (vc-bzr-log-view-mode): "." can be part of a revno.
5982 (vc-bzr-show-log-entry): Make regexp match more cases.
5983 (vc-diff-switches-list): Remove autoload, not needed.
5984
5985 2008-03-14 Juri Linkov <juri@jurta.org>
5986
5987 * isearch.el (isearch-edit-string): Remove one call to
5988 `isearch-push-state' not to push an inconsistent state,
5989 but keep another correct call to `isearch-push-state'.
5990 (isearch-ring-adjust): Call `isearch-push-state' only when
5991 `search-ring-update' is non-nil since `isearch-edit-string'
5992 already pushes its state.
5993 (isearch-message): Improve matching the failed part by checking
5994 if the original message starts with the last successful message.
5995
5996 * dired.el (dired-warn-writable): Rename to `dired-perm-write'.
5997 (dired-perm-write): Rename from `dired-warn-writable'.
5998 Change parent face from `font-lock-warning-face' to
5999 `font-lock-comment-delimiter-face'.
6000 (dired-warn-writable-face): Rename to `dired-perm-write-face'.
6001 (dired-perm-write-face): Rename from `dired-warn-writable-face'.
6002 (dired-font-lock-keywords): Replace `dired-warn-writable-face'
6003 with `dired-perm-write-face'.
6004
6005 2008-03-13 Tassilo Horn <tassilo@member.fsf.org>
6006
6007 * doc-view.el (doc-view-doc->txt, doc-view-convert-current-doc):
6008 Create cache dir only if it doesn't already exist.
6009
6010 2008-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
6011
6012 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Fix handling
6013 of \ and '.
6014
6015 2008-03-13 Johan Bockgård <bojohan@gnu.org>
6016
6017 * net/browse-url.el (browse-url-text-xterm):
6018 Unquote browse-url-text-browser.
6019
6020 2008-03-13 Carsten Dominik <dominik@science.uva.nl>
6021
6022 * textmodes/org-mouse.el: Version number change.
6023
6024 * textmodes/org-publish.el (org-publish-expand-components):
6025 Remove null projects from the list of components.
6026 (org-publish-attachment): Bugfix: handle mandatory argument pub-dir.
6027 Remove unused retrieval of the :publishing-directory property.
6028 (org-publish-file): Bugfix: when using a relative directory as the
6029 publishing directory, convert it to a directory filename.
6030 (org-publish-project): New alias.
6031 (org-publish-get-files): Protect against empty p.
6032 (org-publish-file): Send an error when file is not part of any project.
6033 (org-publish-file): Offer to refresh the list of files in known
6034 project when the current file is not part of any project.
6035 (org-publish-before-export-hook)
6036 (org-publish-after-export-hook): New hooks.
6037 (org-publish-org-to): Use new hooks and kill buffers.
6038 (org-publish-file): Remove the code for killing buffers.
6039 (org-publish-initialize-files-alist): Use interactive.
6040 (org-publish-file): If the publishing function creates a new
6041 buffer, kill it after publishing.
6042 (org-publish-timestamp-filename): Protect ":" in file name path
6043 under windows.
6044
6045 * textmodes/org-export-latex.el (org-export-as-latex): Revert the
6046 change that killed the LaTeX buffer.
6047
6048 * textmodes/org.el (org-ctrl-c-star): Implement a missing branch
6049 in the decision tree.
6050 (org-select-remember-template): Clean the code.
6051 (org-prepare-dblock): Add the extra :content parameter.
6052 (org-write-agenda): New output type ".ics" files.
6053 (org-write-agenda): Call `org-icalendar-verify-function', both for
6054 time stamps and for TODO entries.
6055 (org-agenda-collect-markers, org-create-marker-find-array)
6056 (org-check-agenda-marker-table): New functions.
6057 (org-agenda-marker-table): New variable.
6058 (org-export-as-html): Revert the change that killed the html
6059 buffer. Side effects first need to be studied carefully.
6060 (org-get-tags-at): Fix the structure of the condition-case statement.
6061 (org-ts-regexp0, org-repeat-re, org-display-custom-time)
6062 (org-timestamp-change): Fix regulear expressions to swallow the
6063 extra character for repeat-shift control.
6064 (org-auto-repeat-maybe): Implement the new repeater mechanisms.
6065 (org-get-legal-level): Alias to `org-get-valid-level'.
6066 (org-dblock-write:clocktable): Add a :link parameter, linking
6067 headlines to their location in the Org agenda files.
6068 (org-get-tags-at): Bugfix: prevent `org-back-to-heading' from
6069 throwing an error when getting tags before headlines.
6070 (org-timestamp-change, org-modify-ts-extra)
6071 (org-ts-regexp1): Fix timestamp editing.
6072 (org-agenda-custom-commands-local-options): New constant.
6073 (org-agenda-custom-commands):
6074 Use `org-agenda-custom-commands-local-options' to improve customize
6075 type. "htmlize": Removed hack to fix face problem with htmlize,
6076 it no longer seem necessary.
6077 (org-follow-link-hook): New hook.
6078 (org-agenda-custom-commands): Add "Component" as a tag for each
6079 item in a command serie.
6080 (org-open-at-point): Run `org-follow-link-hook'.
6081 (org-agenda-schedule): Bugfix: don't display marker type when it
6082 is nil.
6083 (org-store-link): org-irc required.
6084 (org-set-regexps-and-options): Parse the new logging options.
6085 (org-extract-log-state-settings): New function.
6086 (org-todo): Handle the new ways of recording state change stuff.
6087 (org-local-logging): New function.
6088 (org-columns-open-link): Fix bug with opening link in column view.
6089 (org-local-logging): New function
6090 (org-todo): Make sure that LOGGING properties are honoured.
6091 (org-todo-keywords): Improve docstring.
6092 (org-startup-options): Cleanup startup options.
6093 (org-set-regexps-and-options): Process the "!" markers.
6094 (org-todo): Respect the new logging stuff.
6095 (org-log-note-how): New variable.
6096 (org-add-log-maybe): New parameter HOW that defines how logging
6097 should be done and also overrides PURPOSE. Add a docstring.
6098 (org-add-log-note): Check if we really need to ask for a note.
6099 (org-get-current-options): Digest the new keyword.
6100 (org-agenda-reset-markers): Rename from
6101 `org-agenda-maybe-reset-markers'. Remove FORCE argument.
6102 (org-diary, org-agenda-quit, org-prepare-agenda): Call the renamed
6103 function, without force argument.
6104 (org-buffer-property-keys): Bind local variables s and p.
6105 (org-make-tags-matcher): Allow "" to match an empty or
6106 non-existent property value.
6107 (org-export-as-html): Join unsorted lists when they directly
6108 follow each other. Such lists may be created by headlines that
6109 are converted to lists.
6110 (org-nofm-to-completion): New function.
6111 (org-export-as-html): Use :html-extension instead of
6112 org-export-html-extension.
6113 (org-store-link): Support for links from `rmail-summary-mode'.
6114 (org-columns-new, org-complete, org-set-property): Set the
6115 `include-columns' argument in the call to
6116 `org-buffer-property-keys'.
6117 (org-buffer-property-keys): New argument `include-columns', to
6118 include properties expected by any of the COLUMS formats in the
6119 current buffer.
6120 (org-cleaned-string-for-export): Get rid of drawers first, so that
6121 they will be removed also in the text before the first headline.
6122 (org-clock-report): Show the clocktable when found.
6123 (org-refile): Fix positioning bug when `org-reverse-note-order' is nil.
6124 (org-version): With prefix argument, insert `org-version' at point.
6125 (org-agenda-goto): Recenter the window after finding the target
6126 location, to make sure the correct position will be displayed.
6127 (org-agenda-get-deadlines): Don't scale priority with the warning
6128 period.
6129 (org-insert-heading): Don't break line in the middle of the line.
6130 (org-agenda-get-deadlines): Allow `org-deadline-warning-days' to
6131 be 0.
6132 (org-update-checkbox-count): Revamp to deal with hierarchical
6133 beckboxes. This was a patch from Miguel A. Figueroa-Villanueva.
6134 (org-remove-timestamp-with-keyword): New function.
6135 (org-schedule, org-deadline):
6136 Use `org-remove-timestamp-with-keyword' to make sure all such time
6137 stamps are removed.
6138 (org-mode): Support for `align'.
6139 (org-agenda-get-deadlines): Make sure priorities increase as the
6140 due date approaches and is passed.
6141 (org-remember-apply-template): Fix problem with tags that
6142 contain "_" or "@".
6143 (org-make-link-regexps): Improve the regular expression for plain links.
6144 (org-agenda-get-closed): List each clocking entry.
6145 (org-set-tags): Only tabify before tags if indent-tabs-mode is t.
6146 (org-special-ctrl-k): New option.
6147 (org-kill-line): New function.
6148 (org-archive-all-done): Fix incorrect number of stars in regexp.
6149 (org-refile-get-location): New function.
6150 (org-refile-goto-last-stored): New function.
6151 (org-global-tags-completion-table): Add the value of org-tag-alist
6152 in each buffer, to make sure that also unused tags will be
6153 available for completion.
6154 (org-columns-edit-value)
6155 (org-columns-next-allowed-value): Only update if not in agenda.
6156 (org-clocktable-steps): New function.
6157 (org-dblock-write:clocktable): Call `org-clocktable-steps'.
6158 (org-archive-subtree): Add the outline tree context as a property.
6159 (org-closest-date): New optional argument `prefer'.
6160 (org-goto-auto-isearch): New option.
6161 (org-goto-map, org-get-location): Implement auto-isearch.
6162 (org-goto-local-auto-isearch-map): New variable.
6163 (org-goto-local-search-forward-headings)
6164 (org-goto-local-auto-isearch): New functions.
6165
6166 2008-03-13 Philip Jackson <emacs@shellarchive.co.uk>
6167
6168 * textmodes/org-irc.el: New file.
6169
6170 2008-03-13 John Wiegley <johnw@gnu.org>
6171
6172 * textmodes/org-mac-message.el: New file.
6173
6174 2008-03-13 Dan Nicolaescu <dann@ics.uci.edu>
6175
6176 * font-lock.el (font-lock-comment-face): Set the foreground for
6177 the light background 8 colors case.
6178
6179 2008-03-13 Glenn Morris <rgm@gnu.org>
6180
6181 * font-lock.el (lisp-font-lock-keywords-1): Support wider range of
6182 generate-autoload-cookie patterns.
6183
6184 * startup.el (command-line-1): Rename -scriptload to -internal-script.
6185
6186 * Makefile.in ($(lisp)/loaddefs.el): Remove this target.
6187 (MH_E_SRC): Remove variable.
6188 ($(lisp)/mh-e/mh-loaddefs.el): Remove $MH_E_SRC dependency.
6189 Simplify file header. Use $@ for generated-autoload-file.
6190
6191 * Makefile.in (LOADDEFS): New variable.
6192 (AUTOGENEL): Use $LOADDEFS.
6193 (autoloads): Remove $(lisp)/loaddefs.el dependency; add $LOADDEFS.
6194 ($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
6195 ($(lisp)/calendar/hol-loaddefs.el): New targets.
6196 * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
6197 * calendar/cal-french.el, calendar/cal-hebrew.el, calendar/cal-html.el:
6198 * calendar/cal-islam.el, calendar/cal-iso.el, calendar/cal-julian.el:
6199 * calendar/cal-mayan.el, calendar/cal-move.el, calendar/cal-persia.el:
6200 * calendar/cal-tex.el, calendar/cal-x.el, calendar/diary-lib.el:
6201 * calendar/holidays.el, calendar/lunar.el, calendar/solar.el:
6202 Add calendar-specific autoload cookies, and remove any setting of
6203 generated-autoload-file.
6204 * calendar/calendar.el: Remove explicit autoloads now in cal-loaddefs.
6205 * calendar/diary-lib.el: Replace explicit autoloads with reading of
6206 diary-loaddefs.
6207 * calendar/holidays.el: Replace explicit autoloads with reading of
6208 hol-loaddefs.
6209
6210 * calendar/calendar.el (cal-hebrew-yahrzeit-buffer): New constant.
6211 (calendar-buffer-list): Simplify.
6212 (generate-calendar-window): Use calendar-mark-holidays rather than
6213 obsolete alias.
6214
6215 * calendar/cal-hebrew.el (list-yahrzeit-dates):
6216 Use cal-hebrew-yahrzeit-buffer.
6217
6218 * calendar/cal-x.el (calendar-only-one-frame-setup)
6219 (calendar-two-frame-setup): Doc fixes.
6220 (special-display-buffer-names): Use cal-hebrew-yahrzeit-buffer.
6221
6222 * calendar/appt.el (appt-mode-string): Mark as risky.
6223 (appt-check): Apply mode-line-emphasis face to appt-mode-string.
6224
6225 * calendar/cal-html.el (diary-list-entries):
6226 * calendar/cal-tex.el (calendar-holiday-list, diary-list-entries)
6227 (calendar-iso-from-absolute): Fix autoloads.
6228
6229 * calendar/cal-iso.el (calendar-absolute-from-iso)
6230 (calendar-iso-read-args): Simplify.
6231 (calendar-iso-date-string, calendar-iso-read-args)
6232 (calendar-goto-iso-date, calendar-goto-iso-week): Doc fixes.
6233
6234 * calendar/cal-julian.el (calendar-julian-from-absolute): Use zerop.
6235 (displayed-month, displayed-year): Move declarations where needed.
6236 (calendar-print-astro-day-number): Doc fix.
6237
6238 * calendar/cal-persia.el (persian-calendar-month-name-array)
6239 (persian-calendar-epoch, calendar-persian-date-string): Doc fixes.
6240 (persian-prompt-for-date): Remove local variable `today'.
6241
6242 * calendar/diary-lib.el (mark-calendar-month): Use zerop.
6243
6244 * calendar/solar.el (solar-moment, solar-exact-local-noon)
6245 (solar-sunrise-sunset, solar-sunrise-sunset-string)
6246 (solar-ephemeris-time, solar-date-next-longitude, solar-sidereal-time)
6247 (diary-sabbath-candles, solar-equinoxes/solstices)
6248 (solar-equinoxes-solstices): Use cadr, cdar, nth, zerop.
6249 (solar-time-equation, solar-date-to-et): Simplify.
6250
6251 * mail/supercite.el: Remove the `function' in `(function (lambda'.
6252 Replace `(car (cdr' with cadr'.
6253
6254 * progmodes/f90.el (f90-font-lock-n): New function.
6255 (f90-font-lock-1, f90-font-lock-2, f90-font-lock-3, f90-font-lock-4):
6256 Use f90-font-lock-n.
6257 (f90-indent-region, f90-indent-subprogram, f90-match-end): Use cadr.
6258
6259 * progmodes/f90.el (f90-mode-abbrev-table):
6260 * progmodes/fortran.el (fortran-mode-abbrev-table):
6261 Use newer form of define-abbrev, where supported. No need to bind
6262 abbrevs-changed for system abbrevs.
6263
6264 2008-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
6265
6266 * term/xterm.el (terminal-init-xterm): delete-frame-hook ->
6267 delete-frame-functions.
6268
6269 * bookmark.el (Info-current-node): Remove.
6270
6271 2008-03-12 Juri Linkov <juri@jurta.org>
6272
6273 * help.el (describe-project): Remove defaliases for view-todo and
6274 describe-project that are now unnecessary after the merge from
6275 emacs--rel--22 that added define-obsolete-function-alias.
6276
6277 * startup.el (inhibit-startup-screen): Revert incomplete
6278 2008-03-10 merge from emacs--rel--22 that partly reverted
6279 2008-02-28 change that added initial message to *scratch* buffer
6280 regardless of the value of `inhibit-startup-screen'.
6281 Now keep this change in the trunk, but not in the 22 branch.
6282
6283 2008-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6284
6285 * international/quail.el (quail-setup-completion-buf, quail-help):
6286 * mail/binhex.el (binhex-decode-region-internal):
6287 * mail/uudecode.el (uudecode-decode-region-internal):
6288 * net/dns.el (dns-read-string-name, dns-read, dns-read-type, query-dns):
6289 * sha1.el (sha1-string-external): Use set-buffer-multibyte rather than
6290 setting default-enable-multibyte-characters.
6291
6292 * emulation/viper-util.el (viper-file-remote-p): Remove, unused.
6293
6294 * comint.el: Fix up indentation and comment style. Remove `function'.
6295
6296 * international/mule-cmds.el (reset-language-environment)
6297 (set-language-environment-nonascii-translation):
6298 Don't set-unibyte-charset.
6299
6300 * doc-view.el: Remove all cb-args, use closures instead.
6301 (doc-view-sentinel): Merge doc-view-dvi->pdf-sentinel,
6302 doc-view-ps->pdf-sentinel, and doc-view-pdf->txt-sentinel (which was
6303 doing an incorrect check). Update all callers to use the new name.
6304 (doc-view-doc->txt): Add missing `txt' argument.
6305
6306 2008-03-12 Tassilo Horn <tassilo@member.fsf.org>
6307
6308 * doc-view.el (doc-view-current-cache-dir): Set buffer used for
6309 md5 sum calculation to single-byte.
6310
6311 2008-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6312
6313 * doc-view.el (doc-view-new-window-function): Add assertion.
6314 (doc-view-doc-type): New var.
6315 (doc-view-convert-current-doc, doc-view-doc->txt): Use it.
6316 (doc-view-intersection): New fun.
6317 (doc-view-mode): Use it to set the new var.
6318
6319 2008-03-12 Tassilo Horn <tassilo@member.fsf.org>
6320
6321 * doc-view.el (doc-view-doc->txt, doc-view-open-text)
6322 (doc-view-already-converted-p): New functions.
6323 (doc-view-clear-cache): Don't recreate doc-view-cache-directory.
6324 (doc-view-mode-map): Bind C-c C-t to doc-view-open-text.
6325 (doc-view-dvi->pdf-sentinel, doc-view-dvi->pdf)
6326 (doc-view-pdf->txt-sentinel, doc-view-pdf->txt)
6327 (doc-view-ps->pdf-sentinel, doc-view-ps->pdf)
6328 (doc-view-convert-current-doc): Don't hardwire the functions the
6329 sentinels call. Now they're provided by two args CALLBACK and
6330 CB-ARGS to the functions.
6331 (doc-view-search): Use doc-view-doc->txt.
6332 (doc-view-initiate-display): Use doc-view-already-converted-p.
6333 Mention new binding C-c C-t if doc-view-mode doesn't work.
6334
6335 2008-03-12 Dan Nicolaescu <dann@ics.uci.edu>
6336
6337 * diff-mode.el (diff-refine-change): Adjust colors to be more visible.
6338
6339 2008-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6340
6341 * textmodes/sgml-mode.el (sgml-font-lock-syntactic-keywords):
6342 Mark " outside of tags as punctuation.
6343
6344 2008-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
6345
6346 * menu-bar.el (minibuffer-local-map): Use the same command for the
6347 "Quit" menu as used for the C-g key, so the shortcut displayed is C-g.
6348 Prefer RET over C-j for exit-minibuffer.
6349
6350 * files.el (display-buffer-other-frame): Eliminate problematic code.
6351
6352 * menu-bar.el (menu-bar-update-buffers-maxbuf): Remove.
6353 (menu-bar-select-buffer): Remove.
6354 (menu-bar-select-frame): Make non-interactive and take a frame arg.
6355 (menu-bar-update-buffers): Don't use buffer-names or frame names as events.
6356
6357 2008-03-11 Juanma Barranquero <lekktu@gmail.com>
6358
6359 * icomplete.el (icomplete-completions): Remove obsolete code.
6360
6361 * net/net-utils.el (iwconfig-program-options): Doc fix.
6362 (net-utils-run-program, run-network-program): Define as functions.
6363
6364 2008-03-11 Dan Nicolaescu <dann@ics.uci.edu>
6365
6366 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map): Fix typo.
6367
6368 2008-03-11 Glenn Morris <rgm@gnu.org>
6369
6370 * faces.el (mode-line-emphasis): New face.
6371 * vc.el (vc-set-mode-line-busy-indicator): Use mode-line-emphasis face.
6372
6373 * calendar/calendar.el (top-level): Load cal-loaddefs when compiling.
6374
6375 2008-03-11 Chong Yidong <cyd@stupidchicken.com>
6376
6377 * simple.el (set-mark-command): Doc fix.
6378
6379 2008-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
6380
6381 * Makefile.in (bootstrap-prepare): Don't chmod cal-loaddefs.el.
6382
6383 * emacs-lisp/autoload.el (autoload-find-destination):
6384 Don't force raw-text.
6385
6386 * calendar/calendar.el ("cal-loaddefs"): Load, rather than require.
6387 * calendar/cal-loaddefs.el: Don't version control.
6388
6389 2008-03-10 Dan Nicolaescu <dann@ics.uci.edu>
6390
6391 * progmodes/make-mode.el (makefile-mode-abbrev-table): Add menu
6392 entries and add :help to the existing ones.
6393
6394 2008-03-10 Glenn Morris <rgm@gnu.org>
6395
6396 * calendar/cal-hebrew.el (date, entry, number): Move declarations
6397 to where they are needed.
6398
6399 * calendar/calendar.el (diary-file, hebrew-holidays-1)
6400 (hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
6401 (calendar, calendar-basic-setup, calendar-mode-map, calendar-set-mark)
6402 (calendar-version): Doc fixes.
6403 (calendar-absolute-from-gregorian): Use zerop.
6404 (calendar-mode-line-format): Make it a defcustom.
6405
6406 * calendar/diary-lib.el (diary-face-attrs): Fix custom :type.
6407 (diary-face-attrs, diary-glob-file-regexp-prefix, diary-unknown-time)
6408 (diary-pull-attrs, diary-header-line-flag, diary-list-entries)
6409 (diary-unhide-everything, include-other-diary-files, diary-goto-entry)
6410 (mark-included-diary-files, mark-calendar-days-named)
6411 (mark-calendar-date-pattern, mark-calendar-month, diary-entry-compare)
6412 (diary-remind, insert-diary-entry, insert-weekly-diary-entry)
6413 (insert-monthly-diary-entry, insert-yearly-diary-entry)
6414 (insert-anniversary-diary-entry, insert-block-diary-entry)
6415 (insert-cyclic-diary-entry, fancy-diary-font-lock-keywords)
6416 (diary-font-lock-sexps): Doc fixes.
6417 (diary-remind-message, mark-calendar-month): Use zerop.
6418 (diary-attrtype-convert, diary-pull-attrs): Simplify.
6419 (diary-list-entries): Revert let to let* (previous change).
6420
6421 * Makefile.in (bootstrap-prepare): Also chmod cal-loaddefs.el.
6422
6423 2008-03-10 Kim F. Storm <storm@cua.dk>
6424
6425 * help.el (view-emacs-todo, describe-gnu-project): Define obsolete
6426 function aliases for the old names.
6427
6428 2008-03-10 Juanma Barranquero <lekktu@gmail.com>
6429
6430 * iswitchb.el (iswitchb-use-faces): Doc fix.
6431 (iswitchb-buffer-ignore, iswitchb-read-buffer):
6432 Fix typos in docstrings.
6433
6434 2008-03-10 Dan Nicolaescu <dann@ics.uci.edu>
6435
6436 * progmodes/verilog-mode.el (verilog-highlight-grouping-keywords):
6437 Fix typo.
6438 (verilog-type-font-keywords): Reindent.
6439
6440 2008-03-10 Michael McNamara <mac@mail.brushroad.com>
6441
6442 * verilog-mode.el (verilog-font-grouping-keywords): Fix bug in the
6443 grouping-keyword regular expression.
6444 (verilog-font-lock-keywords): Allow users to toggle special
6445 highlight of grouping-keywords.
6446 (verilog-highlight-grouping-keywords): The toggle for special
6447 highlighting of grouping keywords.
6448
6449 2008-03-10 Juri Linkov <juri@jurta.org>
6450
6451 * startup.el: Revert 2008-02-28 change that adds initial message
6452 to *scratch* buffer regardless of the value of
6453 `inhibit-startup-screen'.
6454
6455 2008-03-10 Dan Nicolaescu <dann@ics.uci.edu>
6456
6457 * textmodes/css-mode.el (css-indent-offset, css-electric-keys):
6458 * textmodes/bibtex-style.el (bibtex-style-indent-basic):
6459 * progmodes/verilog-mode.el (verilog-mode):
6460 * net/socks.el (socks):
6461 * vc-mtn.el (vc-mtn-mode-line-rewrite): Add :version.
6462
6463 2008-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
6464
6465 * doc-view.el (bookmark-buffer-file-name, bookmark-prop-get): Declare.
6466 (doc-view-bookmark-make-record): Use them.
6467 (doc-view-bookmark-jump): Use them. Fix find-file ->find-file-noselect.
6468 (bookmark-get-filename, bookmark-get-bookmark-record): Remove.
6469
6470 * bookmark.el (bookmark-make-record-function): Change expected return
6471 value to include a suggested bookmark name.
6472 (bookmark-make): Split into bookmark-make-record and bookmark-store.
6473 Fix reversed `overwrite' semantics.
6474 (bookmark-set): Call bookmark-make-record before prompting the user.
6475 Then pass the result to bookmark-store later on.
6476 (bookmark-make-name-function): Remove.
6477 (bookmark-buffer-file-name, bookmark-buffer-name): Don't use it.
6478 * info.el (bookmark-make-name-function): Remove.
6479 (Info-mode): Don't set it.
6480 (Info-bookmark-make-name): Remove.
6481 (Info-bookmark-make-record): Use Info-current-node as suggested default
6482 bookmark name.
6483
6484 * bookmark.el (bookmark-set): Make bookmark before reading annotations.
6485 I.e. use bookmark-edit-annotation rather than bookmark-read-annotation.
6486 (bookmark-read-annotation-mode-map, bookmark-annotation-paragraph)
6487 (bookmark-annotation-buffer, bookmark-annotation-file)
6488 (bookmark-annotation-point, bookmark-send-annotation)
6489 (bookmark-read-annotation-mode, bookmark-read-annotation): Remove.
6490 (bookmark-edit-annotation-text-func): Rename from
6491 bookmark-read-annotation-text-func. Keep old name as an obsolete alias.
6492 (bookmark-edit-annotation-mode-map): Move initialization into
6493 declaration.
6494
6495 * bookmark.el: Remove spurious * in docstrings.
6496 (bookmark-minibuffer-read-name-map): New var.
6497 (bookmark-set): Use it. Also pass the default value as it should.
6498 (bookmark-send-edited-annotation): Take no chances with text properties.
6499 (bookmark-insert-current-bookmark): Inline bookmark-insert-buffer-name.
6500 (bookmark-insert-buffer-name): Remove.
6501 (bookmark-buffer-file-name): Signal an error rather than returning nil.
6502
6503 2008-03-09 Thomas Hühn <xf27@arcor.de> (tiny change)
6504
6505 * tutorial.el (tutorial--default-keys): Update `C-l' binding.
6506
6507 2008-03-09 Dan Nicolaescu <dann@ics.uci.edu>
6508
6509 * diff-mode.el (diff-mode-menu): Add :help.
6510
6511 2008-03-09 Glenn Morris <rgm@gnu.org>
6512
6513 * calendar/calendar.el (general-holidays, oriental-holidays)
6514 (local-holidays, other-holidays, hebrew-holidays-1, hebrew-holidays-2)
6515 (hebrew-holidays-3, hebrew-holidays-4, hebrew-holidays)
6516 (christian-holidays, islamic-holidays, bahai-holidays, solar-holidays)
6517 (calendar-holidays): Restore autoload cookies, because people are
6518 used to using these variables without loading calendar.el.
6519
6520 * calendar/cal-islam.el (diary-islamic-date): Move to end.
6521 (date, number): Declare where needed.
6522
6523 * calendar/diary-lib.el (nongregorian-diary-marking-hook)
6524 (list-sexp-diary-entries): Doc fixes.
6525 (diary-list-entries): Doc fix. Remove free variable `entry'.
6526 (fancy-diary-display): Use dolist, bobp. Remove free variable `entry'.
6527 Simplify setting of `date-holiday-list'.
6528 (mark-diary-entries): Remove free variable `entry'.
6529 (diary-list-entries, include-other-diary-files, fancy-diary-display):
6530 Use let where let* is not needed.
6531
6532 2008-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
6533
6534 * bookmark.el (bookmark-make): Don't pass the `annotation' to the
6535 make-record function, instead paste it in afterwards.
6536 (bookmark-make-record-for-text-file):
6537 * doc-view.el (doc-view-bookmark-make-record):
6538 * info.el (Info-bookmark-make-record): Don't mess with annotations.
6539
6540 2008-03-08 Glenn Morris <rgm@gnu.org>
6541
6542 * calendar/diary-lib.el (entry): Declare for compiler part-way through.
6543
6544 2008-03-08 Stefan Monnier <monnier@iro.umontreal.ca>
6545
6546 * calendar/diary-lib.el (diary-list-entries)
6547 (include-other-diary-files, mark-diary-entries)
6548 (mark-sexp-diary-entries, mark-included-diary-files)
6549 (diary-entry-time, list-sexp-diary-entries): Remove the special
6550 handling of ^M that dates back to the use of selective-display.
6551 (simple-diary-display): Obey setting of pop-up-frames.
6552 (body, entry): Remove unnecessary declarations.
6553
6554 * bookmark.el (bookmark-prop-get, bookmark-prop-set): New funs.
6555 (bookmark-get-annotation, bookmark-set-annotation)
6556 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
6557 (bookmark-set-position, bookmark-get-front-context-string)
6558 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
6559 (bookmark-set-rear-context-string, bookmark-get-handler): Use them.
6560 * info.el (Info-bookmark-make-record): Don't bother recording point.
6561 (bookmark-get-filename, bookmark-get-front-context-string)
6562 (bookmark-get-rear-context-string, bookmark-get-position):
6563 Don't declare any more.
6564 (bookmark-get-info-node): Remove.
6565 (bookmark-prop-get): Declare.
6566 (Info-bookmark-jump): Use it.
6567
6568 2008-03-08 Johan Bockgård <bojohan@gnu.org>
6569
6570 * subr.el (while-no-input): Don't splice BODY directly into the
6571 `or' form.
6572
6573 2008-03-08 Dan Nicolaescu <dann@ics.uci.edu>
6574
6575 * diff-mode.el (diff-ignore-whitespace-hunk):
6576 Bind inhibit-read-only before trying to change the buffer.
6577
6578 2008-03-08 Glenn Morris <rgm@gnu.org>
6579
6580 * calendar/appt.el (appt): Move custom group here from calendar.el.
6581 (appt-disp-window, appt-convert-time): Doc fixes.
6582
6583 * calendar/cal-bahai.el (calendar-bahai-prompt-for-date)
6584 (calendar-bahai-mark-date-pattern):
6585 * calendar/cal-hebrew.el (mark-hebrew-calendar-date-pattern):
6586 * calendar/cal-islam.el (mark-islamic-calendar-date-pattern):
6587 * calendar/cal-julian.el (calendar-absolute-from-julian):
6588 * calendar/cal-persia.el (persian-prompt-for-date): Use zerop.
6589
6590 * calendar/cal-china.el (chinese-calendar): Move custom group here from
6591 calendar.el.
6592 (chinese-calendar-celestial-stem, chinese-calendar-terrestrial-branch):
6593 Make constants.
6594 (chinese-calendar-time-zone, chinese-calendar-daylight-time-offset)
6595 (chinese-calendar-daylight-savings-starts)
6596 (chinese-calendar-daylight-savings-ends)
6597 (chinese-calendar-daylight-savings-starts-time)
6598 (chinese-calendar-daylight-savings-ends-time)
6599 (chinese-zodiac-sign-on-or-after, chinese-new-moon-on-or-after):
6600 Doc fixes.
6601
6602 * calendar/cal-coptic.el (coptic-name): Add doc string.
6603
6604 * calendar/cal-french.el (french-calendar-month-name-array)
6605 (french-calendar-day-name-array, french-calendar-special-days-array):
6606 Add doc strings.
6607
6608 * calendar/cal-bahai.el (diary-bahai-mark-entries)
6609 (diary-bahai-insert-entry, diary-bahai-insert-monthly-entry)
6610 (diary-bahai-insert-yearly-entry):
6611 * calendar/cal-dst.el (calendar-next-time-zone-transition)
6612 (calendar-time-zone):
6613 * calendar/cal-hebrew.el (hebrew-calendar-leap-year-p)
6614 (hebrew-calendar-elapsed-days, hebrew-calendar-long-heshvan-p)
6615 (hebrew-calendar-short-kislev-p, mark-hebrew-diary-entries)
6616 (insert-hebrew-diary-entry, insert-monthly-hebrew-diary-entry)
6617 (insert-yearly-hebrew-diary-entry, diary-yahrzeit):
6618 * calendar/cal-islam.el (islamic-calendar-leap-year-p)
6619 (list-islamic-diary-entries, mark-islamic-diary-entries)
6620 (insert-islamic-diary-entry, insert-monthly-islamic-diary-entry)
6621 (insert-yearly-islamic-diary-entry):
6622 * calendar/cal-iso.el (calendar-iso-read-args):
6623 * calendar/cal-mayan.el (calendar-string-to-mayan-long-count)
6624 (calendar-mayan-haab-to-string, calendar-mayan-tzolkin-to-string)
6625 (calendar-read-mayan-haab-date, calendar-read-mayan-tzolkin-date)
6626 (calendar-next-calendar-round-date)
6627 (calendar-mayan-long-count-common-era):
6628 * calendar/cal-menu.el (cal-menu-holiday-window-suffix)
6629 (cal-menu-x-popup-menu, calendar-mouse-holidays)
6630 (calendar-mouse-view-diary-entries, calendar-mouse-print-dates)
6631 (calendar-mouse-goto-date):
6632 * calendar/cal-move.el (calendar-scroll-left, calendar-scroll-right):
6633 * calendar/holidays.el (holidays):
6634 * calendar/lunar.el (phases-of-moon, lunar-new-moon-on-or-after):
6635 * calendar/time-date.el (date-to-time, time-subtract, time-add)
6636 (safe-date-to-time): Doc fixes.
6637
6638 * calendar/cal-persia.el (persian-calendar-month-name-array)
6639 (persian-calendar-epoch): Make constants.
6640
6641 * calendar/cal-tex.el (calendar-tex): Move custom group here from
6642 calendar.el.
6643
6644 * calendar/cal-x.el (diary-frame-parameters)
6645 (calendar-frame-parameters, calendar-and-diary-frame-parameters)
6646 (calendar-after-frame-setup-hooks): Make defcustoms.
6647 (calendar-one-frame-setup, calendar-only-one-frame-setup)
6648 (calendar-two-frame-setup): Doc fix.
6649
6650 * calendar/cal-loaddefs.el: New file.
6651
6652 * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
6653 * calendar/cal-french.el, calendar/cal-html.el:
6654 * calendar/cal-islam.el, calendar/cal-iso.el, calendar/cal-julian.el:
6655 * calendar/cal-mayan.el, calendar/cal-move.el, calendar/cal-persia.el:
6656 * calendar/cal-tex.el, calendar/cal-x.el:
6657 Unquote lambda functions. Add autoload cookies to functions formerly
6658 autoloaded in calendar.el. Set `generated-autoload-file' to
6659 "cal-loaddefs.el".
6660
6661 * calendar/calendar.el: Move many autoloads to separate file,
6662 cal-loaddefs.el. Move defcustoms to start and re-order.
6663 (calendar-month-name-array, calendar-starred-day): No need to
6664 declare for compiler.
6665 (cal-loaddefs): Require it.
6666 (appt, chinese-calendar, calendar-tex): Move custom groups to the
6667 appropriate file.
6668 (diary-entry-marker, calendar-today-marker, calendar-holiday-marker):
6669 Reverse logic.
6670 (diary-face, diary-file-name-prefix-function, diary-include-string)
6671 (diary-glob-file-regexp-prefix, diary-face-attrs)
6672 (diary-file-name-prefix, sexp-diary-entry-symbol)
6673 (print-diary-entries-hook, list-diary-entries-hook)
6674 (nongregorian-diary-listing-hook, mark-diary-entries-hook)
6675 (nongregorian-diary-marking-hook, diary-list-include-blanks):
6676 Move to diary-lib.
6677 (all-christian-calendar-holidays, all-islamic-calendar-holidays)
6678 (all-bahai-calendar-holidays): Doc fix.
6679 (calendar-insert-indented): Doc fix. Use when rather than if.
6680 (exit-calendar): Use mapc rather than mapcar.
6681 (calendar-cursor-to-date): Use zerop.
6682 (calendar-mark-ring): Add doc-string.
6683 (calendar-starred-day): Defvar it.
6684 (calendar-mode): Make calendar-starred-day local.
6685 (calendar-star-date): No need to make calendar-starred-day local.
6686
6687 * calendar/diary-lib.el: Move defcustoms to start.
6688 (diary-include-string, diary-list-include-blanks)
6689 (diary-glob-file-regexp-prefix, diary-face, diary-face-attrs)
6690 (diary-file-name-prefix, diary-file-name-prefix-function)
6691 (sexp-diary-entry-symbol, list-diary-entries-hook)
6692 (mark-diary-entries-hook, nongregorian-diary-listing-hook)
6693 (nongregorian-diary-marking-hook, print-diary-entries-hook):
6694 Move here from calendar.el.
6695 (diary-file-name-prefix-function): Use 'identity.
6696 (diary-face): Make it a defcustom, and mark as obsolete.
6697 (top-level): No need to require cal-hebrew, cal-islam when compiling.
6698 (calendar-hebrew-month-name-array-leap-year)
6699 (calendar-islamic-month-name-array, calendar-bahai-month-name-array):
6700 Define for compiler.
6701 (diary-font-lock-keywords): Use format rather than concat.
6702 Add bahai-diary-entry-symbol.
6703
6704 * calendar/cal-hebrew.el, calendar/holidays.el, calendar/lunar.el:
6705 * calendar/solar.el: Unquote lambda functions.
6706
6707 * calendar/solar.el (calendar-location-name, calendar-latitude)
6708 (calendar-longitude, solar-setup, solar-sin-degrees)
6709 (solar-cosine-degrees, solar-tangent-degrees, solar-xy-to-quadrant)
6710 (solar-degrees-to-quadrant, solar-atn2, solar-arccos)
6711 (solar-sunrise-and-sunset, solar-moment, solar-daylight)
6712 (solar-exact-local-noon, solar-julian-ut-centuries)
6713 (solar-ephemeris-time, solar-date-next-longitude)
6714 (solar-horizontal-coordinates, solar-equatorial-coordinates)
6715 (solar-ecliptic-coordinates, solar-data-list, solar-longitude)
6716 (solar-ephemeris-correction, solar-sidereal-time, solar-date-to-et)
6717 (sunrise-sunset, solar-seasons-data, solar-equinoxes/solstices):
6718 Doc fixes.
6719 (solar-horizontal-coordinates, solar-equatorial-coordinates)
6720 (solar-ecliptic-coordinates): Rename argument `for-sunrise-sunset'.
6721 (solar-ecliptic-coordinates): Use unless.
6722 (calendar-sunrise-sunset, diary-sunrise-sunset, diary-sabbath-candles):
6723 Use or.
6724
6725 * calendar/timeclock.el: Add doc-strings to all functions.
6726 (timeclock-workday, timeclock-in, timeclock-completing-read): Doc fixes.
6727 (timeclock-entry-list-length, timeclock-entry-list-projects)
6728 (timeclock-day-list-projects, timeclock-day-list): Use dolist.
6729
6730 * calendar/todo-mode.el: Remove un-needed eval-when-compile.
6731
6732 * textmodes/org.el (list-diary-entries-hook): Declare for compiler.
6733 (org-get-entries-from-diary): Require diary-lib.
6734
6735 2008-03-08 Juanma Barranquero <lekktu@gmail.com>
6736
6737 * info.el (bookmark-make-name-function, bookmark-get-bookmark-record):
6738 Pacify byte-compiler.
6739
6740 2008-03-07 Alan Mackenzie <acm@muc.de>
6741
6742 * progmodes/cc-engine.el (c-in-knr-argdecl): Limit number of
6743 paren/bracket pairs parsed, to solve performance problem.
6744
6745 2008-03-07 Bastien Guerry <bzg@altern.org>
6746
6747 * bookmark.el (bookmark-set): Don't check for
6748 `bookmark-make-name-function' since `bookmark-buffer-file-name'
6749 already takes care of this.
6750 (bookmark-buffer-name, bookmark-buffer-file-name):
6751 Remove Info-mode specific code.
6752
6753 * info.el (bookmark-get-info-node): Define this function in
6754 info.el, not in bookmark.el.
6755 (Info-mode): Set `bookmark-make-name-function' to
6756 `Info-bookmark-make-name' locally.
6757 (Info-bookmark-make-name): New function.
6758
6759 * bookmark.el (bookmark-make-name-function): New variable.
6760
6761 2008-03-07 Karl Fogel <kfogel@red-bean.com>
6762
6763 * bookmark.el (bookmark-set): Make `bookmark-make-record-function'
6764 buffer-local, not `bookmark-make-cell-function' (the old name).
6765
6766 2008-03-07 Tassilo Horn <tassilo@member.fsf.org>
6767
6768 * doc-view.el (doc-view-bookmark-make-record):
6769 * image-mode.el (image-bookmark-make-record):
6770 * info.el (Info-bookmark-make-record): Delete obsolete second arg.
6771
6772 2008-03-07 Jan Djärv <jan.h.d@swipnet.se>
6773
6774 * vc.el (vc-status-menu-map-filter): Return orig-binding if
6775 boundp 'vc-ignore-menu-filter.
6776 (vc-status-tool-bar-map): Make it defvar.
6777 (vc-status-mode): vc-status-tool-bar-map now variable.
6778 (vc-status-toggle-mark): toggle-mark-file => vc-status-toggle-mark-file.
6779
6780 2008-03-07 Karl Fogel <kfogel@red-bean.com>
6781
6782 Give a better name to part of the bookmark interface.
6783
6784 This was originally a much larger change, but halfway through I
6785 updated and discovered that Stefan Monnier had done the rest.
6786 It looks like he anticipated the new name too, because he used
6787 `the-record' instead of `the-cell' for some internal variable names.
6788
6789 * bookmark.el (bookmark-make-record-function): Was
6790 `bookmark-make-cell-function'.
6791 (bookmark-make, bookmark-send-annotation): Update for above.
6792 (bookmark-make-record-for-text-file):
6793 Was `bookmark-make-cell-for-text-file'. Fix doc string re 2008-03-07T05:00:18Z!monnier@iro.umontreal.ca.
6794
6795 * info.el: Adjust accordingly.
6796 (Info-bookmark-make-record): Was `Info-bookmark-make-cell'.
6797
6798 * image-mode.el: Adjust accordingly.
6799 (image-bookmark-make-record): Was `image-bookmark-make-cell'.
6800
6801 * doc-view.el: Adjust accordingly.
6802 (doc-view-bookmark-make-record): Was `doc-view-bookmark-make-cell'.
6803
6804 2008-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
6805
6806 * bookmark.el (bookmark-map, bookmark-read-annotation-mode-map):
6807 Move initialization into declaration.
6808 (bookmark-get-info-node, bookmark-set-info-node): Remove.
6809 (bookmark-make, bookmark-make-cell-for-text-file): Remove info-node arg.
6810 (bookmark-info-current-node): Remove.
6811 (bookmark-jump-noselect): Rename from bookmark-jump-internal.
6812 Add relocation fallback. Set bookmark-current-bookmark.
6813 (bookmark-default-handler): Rename from bookmark-jump-noselect.
6814 Remove relocation fallback. Don't set bookmark-current-bookmark.
6815 (bookmark-set): Let it be used even if there's no buffer-file-name
6816 as long as there is a bookmark-make-cell-function.
6817 * info.el (Info-bookmark-jump): Remove relocation fallback.
6818 Don't set bookmark-current-bookmark.
6819
6820 2008-03-07 Glenn Morris <rgm@gnu.org>
6821
6822 * calendar/appt.el (appt-issue-message)
6823 (appt-message-warning-time, appt-audible, appt-visible)
6824 (appt-msg-window, appt-display-mode-line, appt-display-duration)
6825 (appt-display-diary): Remove autoload cookies.
6826
6827 * calendar/cal-china.el, calendar/timeclock.el, calendar/todo-mode.el:
6828 Remove leading `*' from defcustom doc-strings.
6829
6830 * calendar/cal-dst.el (calendar-dst): New custom group.
6831 (calendar-daylight-savings-starts, calendar-daylight-savings-ends)
6832 (calendar-time-zone, calendar-daylight-time-offset)
6833 (calendar-standard-time-zone-name, calendar-daylight-time-zone-name)
6834 (calendar-daylight-savings-starts-time)
6835 (calendar-daylight-savings-ends-time): Convert from defvar to defcustom.
6836 (calendar-daylight-savings-starts, calendar-daylight-savings-ends):
6837 Move to start.
6838
6839 * calendar/cal-menu.el (holidays-in-diary-buffer): Declare for compiler.
6840
6841 * calendar/calendar.el (calendar-version): Use emacs-version and
6842 make it obsolete. Move to end.
6843 (calendar-offset, view-diary-entries-initially)
6844 (mark-diary-entries-in-calendar, calendar-remove-frame-by-deleting)
6845 (view-calendar-holidays-initially, all-hebrew-calendar-holidays)
6846 (all-christian-calendar-holidays, all-islamic-calendar-holidays)
6847 (all-bahai-calendar-holidays, calendar-load-hook)
6848 (initial-calendar-window-hook, today-visible-calendar-hook)
6849 (today-invisible-calendar-hook, calendar-move-hook)
6850 (diary-nonmarking-symbol, hebrew-diary-entry-symbol)
6851 (islamic-diary-entry-symbol, bahai-diary-entry-symbol)
6852 (diary-include-string, sexp-diary-entry-symbol)
6853 (abbreviated-calendar-year, american-date-diary-pattern)
6854 (european-date-diary-pattern, european-calendar-display-form)
6855 (american-calendar-display-form, print-diary-entries-hook)
6856 (list-diary-entries-hook, diary-hook, diary-display-hook)
6857 (nongregorian-diary-listing-hook, mark-diary-entries-hook)
6858 (nongregorian-diary-marking-hook, diary-list-include-blanks)
6859 (holidays-in-diary-buffer, general-holidays, oriental-holidays)
6860 (local-holidays, other-holidays, hebrew-holidays-1)
6861 (hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
6862 (hebrew-holidays, christian-holidays, islamic-holidays)
6863 (bahai-holidays, solar-holidays, calendar-setup)
6864 (calendar-week-start-day): Remove autoload cookies.
6865 (diary-glob-file-regexp-prefix): Doc fix.
6866 (calendar-goto-info-node): Use `info' rather than `Info-find-node'.
6867 (Info-find-emacs-command-nodes, Info-find-node): Remove declarations.
6868 (calendar-week-start-day, calendar-debug-sexp): Move to start.
6869
6870 * calendar/solar.el: Remove leading `*' from defcustom doc-strings.
6871 (calendar-time-display-form, calendar-latitude)
6872 (calendar-longitude, solar-equinoxes-solstices): Remove autoload
6873 cookies.
6874 (calendar-latitude, calendar-longitude): Move functions after
6875 variables.
6876 (diary-sabbath-candles-minutes): Move to start.
6877 (solar-setup): Use or rather than if.
6878 (solar-sin-degrees, solar-cosine-degrees, solar-tangent-degrees):
6879 Remove condition-case.
6880 (solar-atn2): Use zerop.
6881 (solar-equinoxes-solstices): Doc fix.
6882
6883 * mail/supercite.el: Remove leading `*' from defcustom doc-strings.
6884 (sc-mode-map-prefix): Doc fix. Make it a defcustom.
6885
6886 * textmodes/org.el (org-agenda-sunrise-sunset): Require solar.
6887 (calendar-longitude, calendar-latitude, calendar-location-name):
6888 Declare for compiler.
6889
6890 2008-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
6891
6892 * arc-mode.el (archive-ar-file-header-re): New const.
6893 (archive-ar-summarize, archive-ar-extract): New funs.
6894 (archive-find-type): Recognize ar archives.
6895
6896 * vc-bzr.el (vc-bzr-resolve-when-done, vc-bzr-find-file-hook):
6897 New functions.
6898
6899 * info.el (Info-bookmark-make-cell): Don't use the info-node argument.
6900
6901 2008-03-06 Lennart Borgman <lennart.borgman@gmail.com>
6902
6903 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
6904 Replace :enable (mark-active) with :enable mark-active.
6905
6906 2008-03-06 Juanma Barranquero <lekktu@gmail.com>
6907
6908 * vms-patch.el (make-legal-file-name): New obsolete alias.
6909 (make-valid-file-name): Rename from `make-legal-file-name'.
6910 (make-auto-save-file-name): Use it.
6911
6912 * calendar/calendar.el (calendar-date-is-legal-p): New obsolete alias.
6913 (calendar-date-is-valid-p): Rename from `calendar-date-is-legal-p'.
6914 (calendar-date-is-visible-p, mark-visible-calendar-date): Use it.
6915
6916 * textmodes/org.el (org-export-html-style): Doc fix.
6917 (org-get-legal-level): New obsolete alias.
6918 (org-get-valid-level): Rename from `org-get-legal-level'.
6919 (org-promote, org-demote, org-archive-subtree)
6920 (org-remember-handler, org-refile, org-put-clock-overlay): Use it.
6921
6922 2008-03-06 Jan Djärv <jan.h.d@swipnet.se>
6923
6924 * term/x-win.el (x-gtk-stock-map): Add bookmark_add.
6925
6926 * vc.el (vc-status-tool-bar-map, vc-status-toggle-mark-file)
6927 (vc-status-toggle-mark): New functions.
6928 (vc-status-mode): Set tool bar map.
6929
6930 2008-03-05 Chong Yidong <cyd@stupidchicken.com>
6931
6932 * emacs-lisp/lisp.el (parens-require-spaces): Doc fix.
6933 Reported by Drew Adams <drew.adams@oracle.com>.
6934
6935 2008-03-05 Kenichi Handa <handa@ni.aist.go.jp>
6936
6937 * subr.el (read-quoted-char): Resolve modifers of the character
6938 event.
6939
6940 * comint.el (comint-exec-1): Don't change the coding-system for
6941 decoding to dos-like EOL.
6942 (comint-carriage-motion): Fully rewrite.
6943
6944 2008-03-05 Juanma Barranquero <lekktu@gmail.com>
6945
6946 * epg.el (epg-context-include-certs): Reflow docstring.
6947 (epg-start-sign-keys, epg-sign-keys, epg-context-armor)
6948 (epg-context-signers, epg-context-sig-notations, epg-context-set-armor)
6949 (epg-context-set-signers, epg-context-set-sig-notations)
6950 (epg-make-import-status, epg-make-import-result)
6951 (epg-start-delete-keys): Fix typos in docstrings.
6952 (epg-start-sign-keys, epg-sign-keys):
6953 Fix typos in obsolescence declarations.
6954
6955 * iswitchb.el: Don't check for `cadr' and `last'.
6956 (iswitchb-define-mode-map, iswitchb-default-keybindings):
6957 Add obsolescence declaration and remove redundant info from docstring.
6958 (iswitchb-set-common-completion, iswitchb-set-matches)
6959 (iswitchb-get-matched-buffers, iswitchb-visit-buffer): Use `let'.
6960 (recentf-list, most-len, most-is-exact):
6961 Don't wrap defvars within `eval-when-compile'.
6962
6963 2008-03-05 Glenn Morris <rgm@gnu.org>
6964
6965 * ediff-hook.el (ediff-cond-compile-for-xemacs-or-emacs): Remove.
6966 * ediff-init.el (ediff-cond-compile-for-xemacs-or-emacs): Remove.
6967 * ediff-diff.el, ediff-help.el, ediff-hook.el, ediff-init.el:
6968 * ediff-mult.el, ediff-util.el, ediff-wind.el: Expand all
6969 ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
6970
6971 * ediff-hook.el (ediff-window-setup-function): Don't autoload
6972 declaration for compiler.
6973 (ediff-xemacs-init-menus): Use when rather than if.
6974
6975 * ediff-init.el (top-level, ediff-frame-iconified-p): Simplify
6976 if+and to just and.
6977 (ediff-read-event, ediff-overlayp, ediff-make-overlay)
6978 (ediff-delete-overlay): Move the XEmacs test inside the definition.
6979
6980 * ediff-mult.el (ediff-get-meta-info): Use or and unless rather than if.
6981
6982 * ediff-util.el (ediff-kill-bottom-toolbar): Place (ediff-use-toolbar-p)
6983 test inside XEmacs test.
6984 (ediff-make-bottom-toolbar): Place whole cond inside XEmacs test,
6985 since it was doing nothing on Emacs.
6986 (ediff-make-bullet-proof-overlay): Use when rather than if.
6987
6988 * ediff-wind.el (ediff-select-lowest-window): Use when rather than if.
6989 (ediff-setup-control-frame): Remove
6990 ediff-cond-compile-for-xemacs-or-emacs, since it is already inside
6991 a (featurep 'xemacs) test.
6992
6993 2008-03-05 Jay Belanger <jay.p.belanger@gmail.com>
6994
6995 * calc/calc-ext.el (calc-extended-command-history): New variable.
6996 (calc-exectute-extended-command): Use `calc-extended-command-history'.
6997
6998 2008-03-05 Dan Nicolaescu <dann@ics.uci.edu>
6999
7000 * bindings.el (mode-line-remote): Add mouse-face. Improve tooltip.
7001 (standard-mode-line-position): Add mouse-face.
7002
7003 * progmodes/compile.el (compilation-menu-map, compilation-mode-map):
7004 * progmodes/grep.el (grep-mode-map): Add :help.
7005
7006 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Define and
7007 initialize in one step. Add :help. Use :enable to activate menu
7008 items. Show the key binding for edebug-defun.
7009 (lisp-interaction-mode-map): Add a menu.
7010
7011 * term.el (term-mode-map): Define and initialize in one step.
7012
7013 * ediff-init.el (ediff-color-display-p): Simplify.
7014 (Xor): Remove unused function.
7015 (ediff-with-syntax-table): Simplify for Emacs.
7016
7017 * ediff-hook.el (menu-bar-ediff-menu): Don't depend on the
7018 menu-bar being loaded, it always is.
7019
7020 2008-03-05 Glenn Morris <rgm@gnu.org>
7021
7022 * textmodes/tex-mode.el (tex-mode): Suppress warning about
7023 multiple definitions when compiling.
7024
7025 2008-03-04 Alan Mackenzie <acm@muc.de>
7026
7027 * progmodes/cc-mode.el (c-neutralize-syntax-in-CPP): Fix coding bug.
7028
7029 * progmodes/cc-langs.el (c-before-font-lock-function): Fix bug in
7030 doc-string, "c-old-LEN" -> "c-old-END".
7031
7032 2008-03-04 Jason Rumney <jasonr@gnu.org>
7033
7034 * nxml/rng-nxml.el (rng-preferred-prefix-alist): Add dublin core
7035 namespaces.
7036
7037 2008-03-04 Glenn Morris <rgm@gnu.org>
7038
7039 * textmodes/tex-mode.el (tex-cmd-bibtex-args): Add :version and :group.
7040
7041 * ediff-init.el (ediff-clear-fine-diff-vector): Use mapc rather
7042 than mapcar.
7043
7044 2008-03-03 Stefan Monnier <monnier@iro.umontreal.ca>
7045
7046 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
7047 (byte-compile-nilconstp): Can't use recursion in a defsubst.
7048
7049 * textmodes/tex-mode.el (latex-mode): Remove % from paragraph-separate
7050 so that M-q can fill comments.
7051 (tex-executable-exists-p, tex-compile): Extend with special syntax for
7052 commands implemented in elisp.
7053 (tex-compile-commands): Add an entry to use doc-view for pdf files.
7054 (tex-format-cmd): New function.
7055 (tex-compile): Use it to let the user specify default arguments.
7056 (tex-cmd-bibtex-args): New var.
7057 (tex-cmd-doc-view): New function.
7058
7059 2008-03-03 Juanma Barranquero <lekktu@gmail.com>
7060
7061 * faces.el (face-spec-set): Fix typos in docstring.
7062
7063 2008-03-03 Dan Nicolaescu <dann@ics.uci.edu>
7064
7065 * bindings.el (mode-line-column-line-number-mode-map): New variable.
7066 (standard-mode-line-position): Use it to add a menu for toggling
7067 column number and line number display.
7068
7069 2008-03-03 Stefan Monnier <monnier@iro.umontreal.ca>
7070
7071 * emacs-lisp/bytecomp.el (byte-compile-maybe-guarded):
7072 Remove optimization that was working around the form-code-walker bug.
7073
7074 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7075 Walk into the body of lambdas after byte-compile-unfold-lambda.
7076
7077 2008-03-03 Glenn Morris <rgm@gnu.org>
7078
7079 * emulation/viper-util.el (viper-frame-value): Prefer buffer-local
7080 value, if set, over frame value.
7081
7082 * simple.el (transient-mark-mode): Don't turn on by default.
7083
7084 * net/tls.el (open-tls-stream): Restore the 2007-11-04 change
7085 accidentally removed by the 2007-12-05 merge from Gnus.
7086
7087 2008-03-02 Dan Nicolaescu <dann@ics.uci.edu>
7088
7089 * progmodes/compile.el (compilation-menu-map): Add menu entries
7090 for useful options.
7091
7092 2008-03-01 Dan Nicolaescu <dann@ics.uci.edu>
7093 Glenn Morris <rgm@gnu.org>
7094
7095 * emacs-lisp/bytecomp.el (byte-recompile-directory)
7096 (byte-compile-file, batch-byte-compile, batch-byte-compile-file):
7097 Give a `bytecomp-' prefix to local variables with common names.
7098
7099 2008-03-01 Glenn Morris <rgm@gnu.org>
7100
7101 * emacs-lisp/bytecomp.el (byte-compile-maybe-guarded): Restore
7102 code commented out 2007-11-10.
7103
7104 * emulation/edt.el (zmacs-region-stays): Define for compiler once only.
7105
7106 * emulation/viper-init.el (viper-cond-compile-for-xemacs-or-emacs):
7107 Delete macro.
7108 * emulation/viper-cmd.el, emulation/viper-ex.el:
7109 * emulation/viper-init.el, emulation/viper-keym.el:
7110 * emulation/viper-mous.el, emulation/viper-util.el:
7111 * emulation/viper.el:
7112 Expand all viper-cond-compile-for-xemacs-or-emacs calls to a
7113 featurep test.
7114
7115 Replace obselete frame-local variables with frame-parameters.
7116 * emulation/viper-init.el (viper-replace-overlay-cursor-color)
7117 (viper-insert-state-cursor-color, viper-emacs-state-cursor-color)
7118 (viper-vi-state-cursor-color): Only call make-variable-frame-local
7119 on XEmacs.
7120 * emulation/viper-util.el (viper-frame-value): New macro.
7121 * emulation/viper-cmd.el (viper-insert-state-post-command-sentinel)
7122 (viper-R-state-post-command-sentinel)
7123 (viper-replace-state-post-command-sentinel)
7124 (viper-change-state-to-insert, viper-change-state-to-emacs):
7125 * emulation/viper-util.el (viper-set-cursor-color-according-to-state)
7126 (viper-save-cursor-color, viper-get-saved-cursor-color-in-replace-mode)
7127 (viper-get-saved-cursor-color-in-insert-mode)
7128 (viper-get-saved-cursor-color-in-emacs-mode, viper-set-replace-overlay):
7129 Use viper-frame-value for viper-replace-overlay-cursor-color,
7130 viper-emacs-state-cursor-color, viper-insert-state-cursor-color, and
7131 viper-vi-state-cursor-color values.
7132
7133 * emulation/viper-cmd.el (zmacs-region-stays):
7134 * emulation/viper-util.el (zmacs-region-stays): No need to define
7135 for compiler.
7136
7137 * emulation/viper-keym.el (viper-add-keymap): Use mapc rather than
7138 mapcar on Emacs.
7139
7140 * emulation/viper-mous.el (viper-counting-clicks-p): Only define
7141 on XEmacs.
7142
7143 * emulation/viper-util.el (viper-set-minibuffer-overlay): Use when
7144 rather than if.
7145
7146 2008-03-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7147
7148 * whitespace.el: New version 9.3. As the glyph code generation was
7149 fixed, it is possible now to use character code above ?\x1FFFF in the
7150 display table. Fix `whitespace-indentation-regexp' to not include an
7151 extra ending character. Reported by Michael Welsh Duggan
7152 <mwd@cert.org>. Added hook actions when buffer is written or killed as
7153 the original whitespace package had. Suggested by Eric Cooper
7154 <ecc@cmu.edu>. Doc fix.
7155 (whitespace-action): New option.
7156 (whitespace-display-mappings): Changed default newline visualization to
7157 display downwards arrow, as the glyph code generation was fixed.
7158 (whitespace-unload-function): Assure that all local whitespace mode is
7159 turned off.
7160 (whitespace-global-modes): Fix type customization.
7161 (whitespace-mode, global-whitespace-mode, whitespace-cleanup-region)
7162 (whitespace-insert-option-mark, whitespace-help-on, whitespace-turn-on)
7163 (whitespace-turn-off, whitespace-color-on, whitespace-display-char-on):
7164 Fix code.
7165 (whitespace-buffer): Command removed.
7166 (whitespace-trailing-regexp, whitespace-mark-x)
7167 (whitespace-display-window, whitespace-action-when-on)
7168 (whitespace-add-local-hook, whitespace-remove-local-hook)
7169 (whitespace-write-file-hook, whitespace-kill-buffer-hook)
7170 (whitespace-action): New funs.
7171 (whitespace-report-list, whitespace-report-text)
7172 (whitespace-report-buffer-name): New consts.
7173 (whitespace-report, whitespace-report-region): New commands.
7174
7175 2008-03-01 Juanma Barranquero <lekktu@gmail.com>
7176
7177 * disp-table.el (make-glyph-code): Don't test the result of
7178 `face-id', which already signals an error for invalid faces.
7179 (glyph-face): Simplify.
7180
7181 * desktop.el (desktop-read): Set `desktop-dirname' to nil before
7182 running `desktop-not-loaded-hook' to allow modifying it.
7183 Don't show warning message if `desktop-dirname' was modified.
7184
7185 2008-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
7186
7187 * diff-mode.el (diff-sanity-check-hunk): Only accept an empty line if
7188 we still expect more lines.
7189
7190 * textmodes/fill.el (fill-comment-paragraph): Don't try to do
7191 comment-paragraph filling if the commark doesn't match
7192 comment-start-skip.
7193
7194 2008-03-01 Daiki Ueno <ueno@unixuser.org>
7195
7196 * international/utf-7.el (utf-7-encode): Never skip the trailing - for
7197 the `imap' variant.
7198
7199 2008-03-01 Jason Rumney <jasonr@gnu.org>
7200
7201 * files.el (make-auto-save-file-name): Encode more characters in
7202 non-file buffer names. Use url-encoding.
7203
7204 2008-03-01 Juanma Barranquero <lekktu@gmail.com>
7205
7206 * net/net-utils.el (ftp-program): Fix typo in docstring.
7207 (ifconfig-program-options, netstat-program-options)
7208 (arp-program-options, route-program-options, nslookup-program-options)
7209 (ftp-program-options, smbclient-program-options)
7210 (dns-lookup-program-options, arp, route): Doc fixes.
7211
7212 * progmodes/gdb-ui.el (gdb-pc-address, gdb-source-file-list)
7213 (gdb-cpp-define-alist-program, gdb-mouse-jump, gdb-get-buffer-create)
7214 (gdb-set-gud-minor-mode-existing-buffers-1, gdb-debug-log):
7215 Fix typos in docstrings.
7216 (gdb-pending-triggers): Reflow docstring.
7217 (gdb, gdb-init-1): Fix typos in docstrings of gud-def definitions.
7218
7219 2008-03-01 Alan Mackenzie <acm@muc.de>
7220
7221 * progmodes/cc-mode.el (c-neutralize-syntax-in-CPP): Fix a bug on
7222 typing "#" at EOB.
7223
7224 2008-03-01 Juanma Barranquero <lekktu@gmail.com>
7225
7226 * emulation/cua-base.el (cua-remap-control-z): Fix typo in docstring.
7227
7228 2008-02-29 Kim F. Storm <storm@cua.dk>
7229
7230 * emulation/cua-base.el (cua-remap-control-v)
7231 (cua-remap-control-z): New defcustoms.
7232 (cua-mode): Add them to set-after property.
7233 (cua--init-keymaps): Use them.
7234 Add C-x/C-c home, end, next, and prior to cua--prefix-repeat-keymap.
7235
7236 * help.el (view-emacs-todo): Rename from view-todo.
7237 (describe-gnu-project): Rename from describe-project. Users changed.
7238 (view-help-file): New helper function.
7239 (describe-distribution, describe-copying, describe-gnu-project)
7240 (view-todo, view-order-manuals, view-emacs-problems): Use it.
7241 (view-emacs-debugging, view-external-packages): New commands.
7242 (help-map): Move describe-distribution to C-h C-o (ordering).
7243 Move view-emacs-problems to C-h C-p (problems).
7244 Bind view-emacs-debugging to C-h C-d (debugging).
7245 Bind view-external-packages to C-h C-e (extras).
7246 (help-for-help-internal): Cleanup and align descriptions.
7247 Remove command names to reduce clutter.
7248
7249 2008-02-29 Nick Roberts <nickrob@snap.net.nz>
7250
7251 * vc.el (vc-set-mode-line-busy-indicator): Use shorter message
7252 and quieter face (not a warning).
7253
7254 2008-02-29 Dan Nicolaescu <dann@ics.uci.edu>
7255
7256 * vc.el (vc-status-crt-marked): New variable.
7257 (vc-status-mode): Make it local.
7258 (vc-status-refresh): Use it to save the marked files.
7259 (vc-update-vc-status-buffer): Use it to restore the marked files.
7260
7261 * vc-svn.el (vc-svn-after-dir-status):
7262 * vc-hg.el (vc-hg-after-dir-status): Clean up the temporary buffer.
7263
7264 2008-02-29 Glenn Morris <rgm@gnu.org>
7265
7266 * allout.el (allout-topic-encryption-bullet)
7267 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling)
7268 (allout-encrypt-unencrypted-on-saves): Change defcustom :version
7269 from 22.0 to 22.1.
7270
7271 * net/imap.el (imap-ping-server):
7272 * net/tls.el (tls-checktrust, tls-untrusted, tls-hostmismatch):
7273 Change defcustom :version from 23.0 to 23.1.
7274
7275 2008-02-29 Juanma Barranquero <lekktu@gmail.com>
7276
7277 * desktop.el (desktop-save): Save the buffer name if the
7278 uniquified base name is empty.
7279
7280 2008-02-29 Nick Roberts <nickrob@snap.net.nz>
7281
7282 * progmodes/gdb-ui.el (gdb-info-stack-custom): Apply function-name-face
7283 correctly when user has "set print address off".
7284
7285 2008-02-28 Juanma Barranquero <lekktu@gmail.com>
7286
7287 * cus-edit.el (custom-mode, custom-mode-hook): Use 23.1 as
7288 version number of the next major Emacs release, not 23.0.
7289
7290 * longlines.el (longlines-unload-function): New function.
7291
7292 2008-02-28 Juri Linkov <juri@jurta.org>
7293
7294 * startup.el (normal-splash-screen): Add argument `concise'.
7295 Remove unused binding `prev-buffer'. Let-bind `splash-buffer'
7296 to the created buffer. If `concise' is non-nil, call
7297 `display-buffer', otherwise `switch-to-buffer'. Doc fix.
7298 (display-startup-screen): Add argument `concise' to the call to
7299 `normal-splash-screen'.
7300
7301 2008-02-28 Kim F. Storm <storm@cua.dk>
7302
7303 * startup.el (startup-echo-area-message): Check for about-emacs.
7304
7305 2008-02-28 Juri Linkov <juri@jurta.org>
7306
7307 * startup.el: Always add initial message to *scratch* buffer if
7308 `initial-scratch-message' is non-nil regardless of the value of
7309 `inhibit-startup-screen'.
7310 (inhibit-startup-screen, initial-scratch-message): Doc fix.
7311 (command-line-1): Move code that inserts `initial-scratch-message'
7312 up before the if-form that checks for `inhibit-startup-screen'.
7313 Suggested by Jonathan Rockway <jon@jrock.us>.
7314
7315 2008-02-28 Juri Linkov <juri@jurta.org>
7316
7317 * cus-edit.el (custom-mode-map, custom-mode-link-map):
7318 Rename `custom-mode' to `Custom-mode' in docstrings.
7319 (custom-buffer-create-internal, customize-browse):
7320 Rename `custom-mode' to `Custom-mode'.
7321 (custom-mode-hook): Rename to `Custom-mode-hook'.
7322 (Custom-mode-hook): Renamed from `custom-mode-hook'.
7323 (custom-mode): Rename to `Custom-mode'.
7324 (Custom-mode): Renamed from `custom-mode'. Doc fix.
7325 (custom-mode): Add backward-compatible non-interactive variant of
7326 `Custom-mode' that simply calls `Custom-mode'. Mark it obsoleted.
7327 (custom-mode-hook): Mark it as obsolete alias of `Custom-mode-hook'.
7328
7329 * info-look.el: Rename `custom-mode' to `Custom-mode'.
7330
7331 * emulation/viper.el (viper-emacs-state-mode-list):
7332 Rename `custom-mode' to `Custom-mode'.
7333
7334 * menu-bar.el (menu-bar-search-menu, menu-bar-replace-menu):
7335 Capitalize "Tagged Files".
7336 (minibuffer-local-map): Add menu items for next/previous
7337 history elements and isearch history forward/backward.
7338
7339 * progmodes/hideshow.el (hs-minor-mode-menu): Compare
7340 `hs-isearch-open' with t instead of `comment' in :selected
7341 for "Code and Comment blocks" menu item.
7342
7343 2008-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
7344
7345 * uniquify.el (uniquify-buffer-base-name): Undo last change.
7346 Should be done in desktop.el instead.
7347
7348 2008-02-28 Glenn Morris <rgm@gnu.org>
7349
7350 * autoinsert.el (auto-insert-alist): Update to FDL 1.2.
7351
7352 * emacs-lisp/byte-run.el (make-obsolete): Doc fix.
7353
7354 * mail/emacsbug.el: Remove leading `*' from defcustom doc-strings.
7355 (Info-menu, Info-goto-node): Remove declarations.
7356 (report-emacs-bug-info): Use info rather than Info-goto-node.
7357
7358 * progmodes/idlwave.el (Info-goto-node): Remove declaration.
7359 (idlwave-convert-xml-system-routine-info): Don't require xml.
7360 (idlwave-show-commentary, idlwave-shell-show-commentary):
7361 Don't require finder.
7362 (idlwave-info): Don't require info. Use info rather than
7363 Info-goto-node.
7364
7365 * textmodes/org.el (Info-goto-node): Remove declaration.
7366 (org-info): Use info rather than Info-goto-node.
7367
7368 * textmodes/reftex.el (reftex-show-commentary): Don't require finder.
7369 (reftex-info): Don't require info. Use info rather than Info-goto-node.
7370
7371 2008-02-28 Dan Nicolaescu <dann@ics.uci.edu>
7372
7373 * progmodes/hideshow.el (hs-minor-mode-menu): Add some options to
7374 the menu.
7375
7376 * vc.el (vc-deduce-fileset, vc-next-action, vc-start-entry)
7377 (vc-finish-logentry): Check for vc-status-mode, not only for
7378 vc-dired-mode.
7379
7380 2008-02-28 Kenichi Handa <handa@ni.aist.go.jp>
7381
7382 * isearch.el (isearch-printing-char): Don't check
7383 keyboard-coding-system.
7384 Call isearch-process-search-multibyte-characters only when
7385 current-input-method is non-nil.
7386
7387 2008-02-27 Kim F. Storm <storm@cua.dk>
7388
7389 * disp-table.el (make-glyph-code): Encode as cons if face id > 63.
7390 (glyph-char, glyph-face): Handle cons encoding.
7391
7392 2008-02-27 Juanma Barranquero <lekktu@gmail.com>
7393
7394 * uniquify.el (uniquify-buffer-base-name): If the base name is an
7395 empty string, return nil to allow the caller to default to the
7396 buffer name. Reported by Martin Fischer <parozusa@web.de>.
7397
7398 * tool-bar.el (tool-bar-setup): Doc fix.
7399
7400 * mail/supercite.el (sc-describe):
7401 Fix typos in obsolescence declaration.
7402
7403 2008-02-27 Glenn Morris <rgm@gnu.org>
7404
7405 * autoinsert.el (auto-insert-alist): Change permission text to
7406 match FSF's GPLv3 form.
7407
7408 * mail/supercite.el (sc-cite-original): Doc fix.
7409 (sc-version): Make obsolete.
7410 (sc-describe): Show the SC info page. Make obsolete.
7411
7412 2008-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
7413
7414 * simple.el (set-mark-command): Deactivate mark on second C-SPC C-SPC
7415 when using transient-mark-mode.
7416 (default-indicate-unused-lines): Remove unused var.
7417
7418 2008-02-26 Jan Djärv <jan.h.d@swipnet.se>
7419
7420 * progmodes/grep.el (grep-mode-tool-bar-map): Change place on next
7421 and previous.
7422
7423 * progmodes/compile.el (compilation-mode-tool-bar-map): The same.
7424
7425 2008-02-26 Glenn Morris <rgm@gnu.org>
7426
7427 * net/net-utils.el (top-level): Don't require comint when compiling.
7428 (nslookup-font-lock-keywords): Don't require font-lock.
7429 Use font-lock faces rather than variables.
7430 (nslookup, ftp, smbclient, network-service-connection):
7431 Don't require comint.
7432 (comint-prompt-regexp, comint-input-autoexpand)
7433 (comint-input-ring): Declare for compiler.
7434 (comint-mode, ffap-string-at-point, comint-exec): Autoload.
7435 (dns-lookup-host): Don't require ffap. Remove `with-no-warnings'.
7436
7437 * ibuffer.el (ibuffer-do-toggle-read-only): Don't use `iff' in
7438 doc-string.
7439
7440 2008-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
7441
7442 * doc-view.el (doc-view-current-page): Add a `win' argument.
7443
7444 2008-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
7445
7446 * doc-view.el (doc-view-conversion-buffer): Give it an internal name.
7447 Demote it to plain defvar.
7448 (doc-view-conversion-refresh-interval): Reduce interval.
7449 (doc-view-goto-page): Allow moving to pages not yet rendered.
7450 (doc-view-goto-page): Construct a file name rather than extracting it
7451 from doc-view-current-files.
7452 (doc-view-kill-proc): Ignore errors from kill-process.
7453 (doc-view-pdf/ps->png-sentinel): Die gracefully if the buffer is dead.
7454 (doc-view-insert-image): Use appropriate text if the page hasn't been
7455 rendered yet. Adjust scrolling so the text is displayed.
7456 (doc-view-display): Detect not just that a page is available, but also
7457 that it wasn't available before, so as to avoid refreshing all pages
7458 repeatedly.
7459 (doc-view-mode): Make doc-view-cache-directory if needed.
7460
7461 2008-02-25 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
7462
7463 * ibuffer.el (ibuffer-do-toggle-read-only): New optional arg as in
7464 toggle-read-only.
7465
7466 * textmodes/bibtex.el (bibtex-format-entry): Handle error message
7467 refering to a missing required field with the OPT prefix.
7468 Make unwindform more robust.
7469
7470 * textmodes/bibtex.el: Remove support for hideshow minor mode as
7471 it duplicates the bibtex support in progmodes/hideshow.el.
7472 * progmodes/hideshow.el (hs-special-modes-alist): Allow bibtex
7473 entries that do not start at the beginning of a line.
7474
7475 2008-02-25 Chong Yidong <cyd@stupidchicken.com>
7476
7477 * files.el (shell-quote-wildcard-pattern): Quote ' and " as well.
7478
7479 2008-02-25 Robert J. Chassell <bob@rattlesnake.com>
7480
7481 * help-fns.el (describe-variable): Add phrases about
7482 initialization file with and without customization;
7483 use new button type help-info-variable.
7484
7485 * help-mode.el (help-info-variable):
7486 New button able to read Info files for help-fns.el.
7487
7488 2008-02-25 Jan Djärv <jan.h.d@swipnet.se>
7489
7490 * progmodes/grep.el (grep-mode-tool-bar-map): New variable.
7491 (grep-mode): Use grep-mode-tool-bar-map.
7492
7493 * progmodes/compile.el (tool-bar): Require tool-bar.
7494 (compilation-mode-tool-bar-map): New variable.
7495 (compilation-mode): Use compilation-mode-tool-bar-map.
7496
7497 * term/x-win.el (x-gtk-stock-map): Add cancel. Remove extensions.
7498
7499 2008-02-25 Glenn Morris <rgm@gnu.org>
7500
7501 * vc-sccs.el (vc-sccs-diff): Fix setting of oldvers and newvers.
7502
7503 2008-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
7504
7505 * diff-mode.el (diff-file-junk-re): New const.
7506 (diff-beginning-of-file-and-junk): Use it.
7507 (diff-file-kill): Make sure we were really inside a file diff.
7508
7509 * diff-mode.el: Make it more robust in the presence of empty context
7510 lines in unified hunks.
7511 (diff-valid-unified-empty-line): New var.
7512 (diff-unified->context, diff-sanity-check-hunk): Obey it.
7513 (diff-end-of-hunk): Obey it. New arg `donttrustheader'.
7514 (diff-fixup-modifs, diff-post-command-hook): Use this new arg.
7515 (diff-hunk-header-re-unified): New const.
7516 (diff-font-lock-keywords, diff-hunk-header-re, diff-split-hunk)
7517 (diff-fixup-modifs, diff-unified->context, diff-next-complex-hunk)
7518 (diff-sanity-check-hunk): Use it.
7519
7520 * diff-mode.el (diff-beginning-of-file-and-junk): If we're on the
7521 Index: line, don't search backward for the previous one.
7522
7523 2008-02-25 Kenichi Handa <handa@ni.aist.go.jp>
7524
7525 * international/fontset.el (setup-default-fontset): Add non-OTF
7526 lao font for lao script.
7527
7528 * language/tibetan.el: Register tibetan-composition-function in
7529 composition-function-table.
7530
7531 * language/tibet-util.el (tibetan-composition-function):
7532 Adjust for the new calling way (argument changed). Try font-shape-text
7533 if possible.
7534
7535 * language/lao.el: Register lao-composition-function in
7536 composition-function-table.
7537
7538 * language/lao-util.el (lao-composition-function): Adjust for the new
7539 calling way (argument changed). Try font-shape-text if possible.
7540
7541 2008-02-25 Jason Rumney <jasonr@gnu.org>
7542
7543 * files.el (file-name-invalid-regexp): Fix octal/decimal confusion.
7544
7545 2008-02-25 Juri Linkov <juri@jurta.org>
7546
7547 * isearch.el (isearch-fail): Use "RosyBrown1" for a light
7548 background, "red4" for a dark background, "red" for 16 and
7549 8 colors, "grey" for grayscale, and inverse video otherwise.
7550 Add :version tag.
7551 (isearch-message): Keep the original isearch-message intact, and
7552 add text properties to it where necessary. Add `isearch-error' to
7553 the condition that checks if isearch is unsuccessful.
7554
7555 2008-02-24 Juri Linkov <juri@jurta.org>
7556
7557 * progmodes/compile.el (compilation-handle-exit):
7558 Use compilation-error face instead of font-lock-warning-face.
7559 Display the same message in the minibuffer as is inserted
7560 at the end of the compilation buffer.
7561
7562 2008-02-24 Glenn Morris <rgm@gnu.org>
7563
7564 * vc-cvs.el (vc-cvs-register): Fix registering of directories in
7565 multiple file case.
7566
7567 * vc-mcvs.el (vc-mcvs-register): Fix let-binding (for use of `file').
7568
7569 * vc-rcs.el (vc-rcs-register): Fix treatment of directories in
7570 multiple file case. Use a single `let' rather than two.
7571
7572 2008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
7573
7574 * progmodes/compile.el (compilation-start): Specify a face for
7575 mode-line-process.
7576 (compilation-handle-exit): Specify a face and a tooltip for
7577 mode-line-process.
7578
7579 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
7580
7581 * hilit-chg.el: Remove spurious * in defcustom docstrings.
7582 (hilit-chg-make-ov): Simplify.
7583 (hilit-chg-fixup): Use remove-overlays.
7584 (hilit-chg-set-face-on-change): Remove redundant call to
7585 `remove-text-properties'.
7586
7587 * dired.el (dired-mark-prompt): Don't count/display the t element.
7588 Reported by Carsten Blaauw <it-media.blaauw@daimler.com>.
7589
7590 2008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
7591
7592 * progmodes/verilog-mode.el (eval-when-compile): Don't define
7593 add-submenu.
7594 (verilog-xemacs-menu): Add :keys for C-M-a, C-M-e and C-M-h.
7595 Remove. Move contents to the only use ...
7596 (verilog-menu): ... here.
7597 (verilog-statement-menu): Remove. Move contents to the only use ...
7598 (verilog-stmt-menu): ... here.
7599 (verilog-mark-defun): Simply call mark-defun for emacs.
7600 (occur-pos-list): Declare for byte compiler.
7601 (mode-popup-menu): Don't defvar.
7602 (verilog-add-statement-menu): Remove.
7603 (verilog-mode-hook): Don't add verilog-add-statement-menu.
7604 (verilog-mode): Call easy-menu-add and set mode-popup-menu for XEmacs.
7605
7606 2008-02-24 Michael McNamara <mac@mail.brushroad.com>
7607
7608 * progmodes/verilog-mode.el (verilog-xemacs-menu): Remove XEmacs
7609 conditional.
7610 (verilog-font-grouping-keywords-face): Make the begin..end
7611 keywords standout more than other verilog keywords.
7612 (verilog-type-font-keywords): Move the begin..end out of this list
7613 to facilitate making them to (potentially) stand out more.
7614 (verilog-backward-token): Fix indent of bare always{_*}?, initial,
7615 function & task blocks.
7616 (verilog-behavioral-block-beg-re): Fix indent of bare always{_*}?,
7617 initial, function & task blocks.
7618 (verilog-forward-sexp): Handle the new "disable fork" statement of
7619 IEEE-1800 Verilog.
7620 (verilog-beg-block-re-ordered): Handle the new "disable fork"
7621 statement of IEEE-1800 Verilog.
7622 (verilog-calc-1): Handle the new "disable fork" statement of
7623 IEEE-1800 Verilog.
7624 (verilog-disable-fork-re): Add const to help handle the new
7625 "disable fork" statement of IEEE-1800 Verilog.
7626 (verilog-declaration-core-re): Add port directions by themselves,
7627 with no qualification, as base item of a declaration.
7628 (verilog-pretty-declarations): Add new flag to ask it to refrain
7629 from printing to the message buffer.
7630 (verilog-pretty-expr): Add a QUIET flag to ask it to refrain from
7631 printing to the message buffer. Improve handling of the many
7632 types of expression line up.
7633 (verilog-just-one-space): Remove printing of an empty message.
7634 (verilog-get-lineup-indent): Rework to support the better handling
7635 of expression lineup for verilog-pretty-expr.
7636 (verilog-auto-wire): Pass the quiet flag to verilog-pretty-expr.
7637
7638 2008-02-24 Alan Mackenzie <acm@muc.de>
7639
7640 * progmodes/cc-mode.el (c-extend-region-for-CPP): Bug fix from
7641 yesterday's commit.
7642
7643 2008-02-24 Nick Roberts <nickrob@snap.net.nz>
7644
7645 * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint): Fall back
7646 to mouse-set-point in buffers that aren't associated with files.
7647
7648 * progmodes/gud.el: Rename menu item to "Show GUD tooltips".
7649
7650 2008-02-24 Alan Mackenzie <acm@muc.de>
7651
7652 Set of changes so that "obtrusive" syntactic elements in a
7653 C/C++/ObjC preprocessor line (e.g. an unbalanced string quote or
7654 unmatched paren) don't interact syntactically with stuff outside
7655 the CPP line.
7656
7657 * progmodes/cc-awk.el (c-awk-beyond-logical-line, c-awk-old-ByLL):
7658 Replace c-awk-end-of-logical-line and c-awk-old-EoLL to solve an
7659 off-by-one bug.
7660 (c-awk-record-region-clear-NL): Replaces c-awk-before-change, with
7661 a bit of refactoring.
7662 (c-awk-extend-and-syntax-tablify-region): Takes some of the
7663 functionality of c-awk-advise-fl-for-awk-region, which has been
7664 refactored away.
7665
7666 * progmodes/cc-defs.el (c-clear-char-property-with-value-function)
7667 (c-clear-char-property-with-value): New function and macro which
7668 remove text-properties `equal' to a supplied value.
7669
7670 * progmodes/cc-engine.el: Comment about text properties amended.
7671
7672 * progmodes/cc-fonts.el (c-cpp-matchers): Make it put regexp
7673 parens around "error\\|warning".
7674
7675 * progmodes/cc-langs.el (c-get-state-before-change-function)
7676 (c-before-font-lock-function, c-anchored-cpp-prefix):
7677 New language variables.
7678 (c-cpp-message-directives): Handle "#warning" in C, C++ and ObjC.
7679
7680 * progmodes/cc-mode.el (c-basic-common-init): C and ObjC now use
7681 syntax-table text properties.
7682 (c-common-init): Call language specific before/after-change
7683 functions at mode initialisation.
7684 (c-new-BEG, c-new-END, c-old-BOM, c-old-EOM): New variables.
7685 (c-extend-region-for-CPP, c-neutralize-CPP-line)
7686 (c-neutralize-syntax-in-CPP): New functions.
7687 (c-before-change, c-after-change): Call the new language specific
7688 change functions defined in cc-langs.el.
7689 (c-advise-fl-for-region): New macro.
7690 (awk-mode): Remove AWK specific stuff which has been refactored
7691 into language independent stuff.
7692
7693 2008-02-24 Nick Roberts <nickrob@snap.net.nz>
7694
7695 * progmodes/gdb-ui.el (gdba): Recreate as an alias for gdb.
7696 (gdb): (Re)set gdb-flush-pending-output to nil here...
7697 (gdb-init-1): ...instead of here (before gdb-prompt).
7698
7699 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
7700
7701 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
7702 Recognize ''' just like any other char-constant.
7703
7704 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
7705
7706 * vc-hooks.el (vc-find-root): Remove initial loop because it's not
7707 careful enough. Detect the uid-change all within the main loop.
7708
7709 2008-02-24 Stefan Monnier <monnier@pastel.home>
7710
7711 * textmodes/sgml-mode.el (sgml-mode): Fix comment syntax.
7712
7713 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
7714
7715 * hilit-chg.el (highlight-save-buffer-state): New macro.
7716 (highlight-save-buffer-state, hilit-chg-set-face-on-change)
7717 (hilit-chg-clear): Use it to preserve the modified-p flag.
7718 (highlight-changes-rotate-faces): Don't mess with the undo-list.
7719
7720 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
7721
7722 * font-lock.el (font-lock-set-defaults): Unset previously set variables
7723 when needed.
7724
7725 2008-02-24 Ævar Arnfjörð Bjarmason <avar@cpan.org> (tiny change)
7726
7727 * net/rcirc.el (rcirc-url-regexp): Replace definition by copying
7728 from gnus-button-url-regexp.
7729
7730 2008-02-24 Eli Zaretskii <eliz@gnu.org>
7731
7732 * progmodes/compile.el (compilation-next-error): Doc fix.
7733 (compilation-find-file): Doc fix.
7734
7735 2008-02-24 Glenn Morris <rgm@gnu.org>
7736
7737 * net/net-utils.el (ipconfig-program, ipconfig-program-options):
7738 Add obsolete aliases to the old names.
7739
7740 2008-02-24 Richard Stallman <rms@gnu.org>
7741
7742 * net/net-utils.el (ifconfig): Rename from ipconfig.
7743 (ipconfig): Alias to ifconfig.
7744 (ifconfig-program): Rename from ipconfig-program.
7745 (ifconfig-program-options): Rename from ipconfig-program-options.
7746
7747 2008-02-24 Michael McNamara <mac@mail.brushroad.com>
7748
7749 * progmodes/verilog-mode.el (verilog-declaration-core-re):
7750 Add port directions by themselves, with no qualification, as base
7751 item of a declaration.
7752 (verilog-pretty-declarations): Add new flag that inhibits printing
7753 to the message buffer.
7754 (verilog-pretty-expr): Add new flag that inhibits printing to the
7755 message buffer. Improve handling of the many types of expression
7756 line up.
7757 (verilog-just-one-space): Don't print an empty message.
7758 (verilog-get-lineup-indent): Rework to support the better handling
7759 of expression lineup for verilog-pretty-expr.
7760 (verilog-auto-wire): Pass the quiet flag to verilog-pretty-expr.
7761 (verilog-mode-version, verilog-mode-release-date): Update.
7762
7763 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
7764
7765 * subr.el (cancel-change-group): Don't move point.
7766
7767 2008-02-23 Markus Triska <markus.triska@gmx.at>
7768
7769 * linum.el (linum-after-config): Update all visible windows.
7770
7771 2008-02-23 Glenn Morris <rgm@gnu.org>
7772
7773 * menu-bar.el (menu-bar-games-menu): Add Bubbles and Pong.
7774 Add :help for Solitaire and Tetris.
7775
7776 * tree-widget.el (tree-widget-lookup-image): Let-bind `file'.
7777
7778 * mail/smtpmail.el: Remove leading `*' from defcustom doc-strings.
7779 (smtpmail-code-conv-from): Doc fix. Fix custom type.
7780 (smtpmail-queue-index-file): Make it a defcustom.
7781 (smtpmail-queue-index): Delete.
7782 (smtpmail-send-it, smtpmail-send-queued-mail):
7783 Use smtpmail-queue-index-file and smtpmail-queue-dir rather than
7784 smtpmail-queue-index.
7785
7786 * net/net-utils.el (iwconfig-program, iwconfig-program-options):
7787 Add :version.
7788
7789 2008-02-23 Yoni Rabkin <yoni@rabkins.net> (tiny change)
7790
7791 * net/net-utils.el (iwconfig-program, iwconfig-program-options):
7792 New variables.
7793 (iwconfig): New function.
7794
7795 2008-02-23 Dan Nicolaescu <dann@ics.uci.edu>
7796
7797 * vc.el (vc-find-revision): Make vc-parent-buffer local before
7798 setting it.
7799 (vc-status-menu-map): Do not define using easy-menu.
7800 (vc-status-menu-map): New defalias.
7801 (vc-status-mode-map): Hook up the menu.
7802 (top-level): Update TODO.
7803
7804 * vc-hg.el (vc-hg-extra-status-menu): Return a keymap.
7805
7806 * vc-bzr.el (vc-bzr-init-version): Rename to ...
7807 (vc-bzr-init-revision): ... this.
7808
7809 2008-02-23 Jason Rumney <jasonr@gnu.org>
7810
7811 * makefile.w32-in (WINS_ALMOST): Remove term.
7812 (WINS): Add term here.
7813 (custom-deps, finder-data): Use WINS_ALMOST.
7814
7815 2008-02-22 Juanma Barranquero <lekktu@gmail.com>
7816
7817 * faces.el (font-weight-table): Fix value of `semi-light'.
7818
7819 2008-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
7820
7821 * faces.el (font-weight-table, font-slant-table, font-swidth-table):
7822 Make those tables bijective.
7823
7824 2008-02-22 Ken Manheimer <ken.manheimer@gmail.com>
7825
7826 Finish pdbtrack integration cleanup, settling missing-functions
7827 byte compiler warnings appropriately.
7828
7829 * progmodes/python.el (python-point): Remove this - beginning-of-line
7830 was all that was necessary for `python-pdbtrack-overlay-arrow'.
7831 (python-end-of-def-or-class, python-beginning-of-def-or-class)
7832 (python-goto-initial-line): Drop these - they were only needed for
7833 python-point.
7834 (python-comint-output-filter-function): Use condition-case and
7835 beginning-of-line directly, instead of python-mode.el functions
7836 which require all sorts of baggage.
7837 (point-safe): Unnecessary - we're using condition-case directly,
7838 instead.
7839 (python-execute-file): Include for python-shell, which I'm leaving
7840 in keeping despite it being unnecessary for pdb tracking.
7841
7842 2008-02-22 Peter Danenberg <pcd@wikitex.org> (tiny change)
7843
7844 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7845 Add SRFI 11 support.
7846 (let-values, let*-values): Specify scheme-indent-function.
7847
7848 2008-02-22 Dan Nicolaescu <dann@ics.uci.edu>
7849
7850 * vc.el (vc-exec-after): Move setting mode-line-process in the
7851 busy case ...
7852 (vc-set-mode-line-busy-indicator): ... in this new function.
7853 (vc-status-refresh): Call vc-set-mode-line-busy-indicator.
7854 (vc-update-vc-status-buffer): Reset mode-line-process.
7855 (vc-status-mark-all-files, vc-status-unmark-all-files): Change to
7856 mark/unmark all the files with the same state as the current one.
7857 With a prefix argument mark/unmark all files.
7858 (vc-status-mode-menu): Adjust strings.
7859 (vc-update-vc-status-buffer): Only do something when the argument
7860 is not nil.
7861 (vc-status-kill-dir-status-process): New function.
7862 (vc-status-mode-map): Bind it.
7863 (vc-status-process-buffer): New variable.
7864 (vc-status-mode): Make it local.
7865 (vc-status-refresh): Set it.
7866
7867 * vc-hg.el (vc-hg-dir-status):
7868 * vc-git.el (vc-git-dir-status):
7869 * vc-svn.el (vc-svn-dir-status): Return the buffer in which the
7870 command is run.
7871
7872 2008-02-22 Glenn Morris <rgm@gnu.org>
7873
7874 * json.el (top-level): No need to require thingatpt.
7875 (json-read-keyword): Use thing-at-point rather than word-at-point.
7876
7877 * time.el (top-level): No need to require time-date when compiling.
7878
7879 * emacs-lisp/copyright.el (copyright-update-year):
7880 Fix subexpression numbering for the case when years are split over
7881 lines, and for the replace case.
7882
7883 * emulation/tpu-edt.el (tpu-have-ispell): Doc fix. Make obsolete.
7884 (tpu-caar, tpu-cadr): Delete functions.
7885 (zmacs-regions): No need to declare for compiler.
7886 (tpu-goto-breadcrumb): Use cadr rather than tpu-cadr.
7887 (tpu-spell-check): Rewrite, and handle mark after point.
7888 (tpu-special-insert): Use or rather than if.
7889
7890 * emulation/vip.el (vip-special-prefix-com): Use ispell-region
7891 rather than spell-region.
7892
7893 * textmodes/spell.el (spell-buffer, spell-word): Suppress compiler
7894 warnings about spell-region.
7895
7896 2008-02-22 Kenichi Handa <handa@ni.aist.go.jp>
7897
7898 * ldefs-boot.el: Regenerated.
7899
7900 * loadup.el: Don't load language/devanagari, language/kannanda,
7901 language/malayalam, and language/tamil. Load language/sinhala.
7902
7903 * language/indian.el (indian-font-foundry)
7904 (indian-script-language-alist, indian-font-char-index-table)
7905 (indian-font-char, indian-font-char-range, indian-script-table)
7906 (indian-default-script, indian-composable-pattern): Delete them.
7907 ("Devanagari", "Kannada", "Malayalam", "Tamil"): Definitions of
7908 language environments moved to here.
7909 ("Bengali", "Punjabi", "Gujarati", "Oriya", "Telugu"):
7910 New language environments.
7911
7912 * language/devanagari.el, language/devan-util.el,
7913 * language/kannanda.el, language/knd-util.el, language/malayalam.el,
7914 * language/mlm-util.el, language/tamil.el, language/tml-util.el:
7915 Delete them.
7916
7917 * language/sinhala.el: New file.
7918
7919 2008-02-21 Ken Manheimer <ken.manheimer@gmail.com>
7920
7921 Update Nick Robert's port of pdb tracking from python-mode.el.
7922
7923 * progmodes/python.el (python-pdbtrack-toggle-stack-tracking):
7924 Clarify docstring.
7925 (python-pdbtrack-minor-mode-string): A sign indicating that pdb
7926 tracking is happening.
7927 (python-pdbtrack-stack-entry-regexp): Better recognize stack traces.
7928 (python-pdbtrack-input-prompt): Better recognize PDB prompts.
7929 (comint-output-filter-functions): Add python-pdbtrack-track-stack-file.
7930 Tracking is plugged in to all comint buffers once python.el is loaded.
7931 (python-pdbtrack-overlay-arrow): Toggle activation of
7932 `python-pdbtrack-minor-mode-string' in addition to the overlay arrow.
7933 (python-pdbtrack-track-stack-file): Use new
7934 `python-pdbtrack-get-source-buffer' for more flexible access to
7935 debugging source files.
7936 (python-pdbtrack-get-source-buffer): Identify debugging target buffer
7937 according to pdb stack trace, optionally using new
7938 `python-pdbtrack-grub-for-buffer' if file is not locally available.
7939 (python-pdbtrack-grub-for-buffer): Find most recent python-mode
7940 named buffer, or having function with indicated name.
7941 (python-shell): Remove comint-output-filter-functions hook
7942 addition, it's being done elsewhere. Wrap long line.
7943
7944 2008-02-21 Michael Olson <mwolson@gnu.org>
7945
7946 * json.el: Replace XEmacs compatibility code to get rid of
7947 compiler warnings.
7948
7949 * time.el: Fix compiler warning.
7950
7951 2008-02-21 Edward O'Connor <ted@oconnor.cx>
7952
7953 * json.el: New file (JavaScript Object Notation parser / generator).
7954
7955 2008-02-21 Dave Love <fx@gnu.org>
7956
7957 * progmodes/sym-comp.el: New file.
7958
7959 * progmodes/python.el: Merge from Dave Love's 2008-01-20 version.
7960 Require sym-comp. Add Python buffer to same-window-buffer-names.
7961 Fixup whitespaces.
7962 (python-font-lock-keywords): Add highlighting for Python builtins.
7963 (python-font-lock-syntactic-keywords): Rewrite.
7964 (python-quote-syntax): Use syntax-ppss-context instead of parsing
7965 ppss directly.
7966 (python-mode-map): Add binding for python-find-function.
7967 (python-calculate-indentation): Clean up the logic.
7968 (python-beginning-of-defun): Explicitly set return value.
7969 (python-beginning-of-statement): Stop looping if we get stuck
7970 going backwards.
7971 (python-next-statement): Stop looping if we somehow end up inside
7972 a string while advancing.
7973 (python-preoutput-continuation, python-version-checked): New vars.
7974 (python-check-version): New function.
7975 (run-python): Set default command to python-command instead of
7976 python-python-command.
7977 (run-python): Use python-check-version. Give PYTHONPATH
7978 precedence over data-directory in the process environment.
7979 Load function definitions in python process after.
7980 (python-check-comint-prompt): New function.
7981 (python-send-command, python-send-receive): Use it.
7982 (python-complete-symbol, python-try-complete): Functions deleted.
7983 Use symbol-complete instead of python-complete-symbol throughout.
7984 (python-fill-paragraph): Further refine the fenced-string regexp.
7985 (def-python-skeleton): Expand to the original abbrev instead if in
7986 a comment or string. Tweak skeletons for `if', `while', `for',
7987 `try/except', `try/finally', `name'.
7988 (python-pea-hook, python-abbrev-pc-hook): New functions.
7989 (python-abbrev-syntax-table): New var.
7990 (python-mode): Add python-pea-hook to pre-abbrev-expand-hook.
7991 Use symbol-completion-try-complete for hippie expansion.
7992 Turn on font lock unconditionally.
7993 (python-mode-hook): Defcustom it. No need to use make-local
7994 variable on indent-tabs-mode in "Turn off Indent Tabs mode"
7995 option, since it's buffer-local.
7996
7997 2008-02-21 Juanma Barranquero <lekktu@gmail.com>
7998
7999 * play/hanoi.el (hanoi-internal): Set `show-trailing-whitespace' to nil.
8000
8001 2008-02-21 Drew Adams <drew.adams@oracle.com>
8002
8003 * mouse.el (minor-mode-menu-from-indicator): Create a menu with a
8004 "Turn off" and a "Help" entry when the minor mode has no menu.
8005
8006 2008-02-21 Dan Nicolaescu <dann@ics.uci.edu>
8007
8008 * vc.el (vc-status-mark, vc-status-unmark): New functions.
8009 (vc-status-mode-map, vc-status-mode-menu): Bind them instead of
8010 vc-status-mark-file and vc-status-unmark-file.
8011 (vc-status-mark-unmark): New function.
8012 (vc-status-previous-line, vc-status-next-line): No longer interactive.
8013
8014 2008-02-21 Glenn Morris <rgm@gnu.org>
8015
8016 * composite.el (encode-composition-rule): Fix typo in error message.
8017 (composition-function-table, auto-composition-mode): Doc fixes.
8018
8019 * subr.el (sit-for): Fix obsolete form for nil second argument.
8020
8021 * textmodes/spell.el (spell-buffer, spell-word, spell-region)
8022 (spell-string): Make obsolete, in favor of ispell.
8023
8024 2008-02-21 Kenichi Handa <handa@ni.aist.go.jp>
8025
8026 * language/devanagari.el: Don't setup composition-function-table
8027 here.
8028 ("Devanagari"): Change charset, coding-system, coding-priority to
8029 Unicode-based ones. Don't require the feature devan-util.
8030
8031 * composite.el (compose-chars-after): Fix arguments for a function
8032 in composition-function-table.
8033 (auto-compose-region): Likewise.
8034
8035 * ps-mule.el (ps-mule-font-info-database-bdf): Use ethio16f-uni.bdf
8036 for Ethiopic.
8037 (ps-mule-plot-string): Ignore glyph-string based compositions.
8038
8039 2008-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
8040
8041 * doc-view.el: Allow different windows to show different pages.
8042 (doc-view-current-page, doc-view-current-slice, doc-view-current-info)
8043 (doc-view-current-image, doc-view-current-overlay): Remove variables,
8044 add them back as macros instead, using image-mode-winprops instead.
8045 Update all users of those variables.
8046 (doc-view-new-window-function): New function to create a new overlay
8047 for each new window.
8048 (doc-view-mode): Use it and image-mode-setup-winprops.
8049 (doc-view-clone-buffer-hook): Rewrite accordingly.
8050
8051 * image-mode.el: Extend [hv]scroll support to per-window properties.
8052 (image-mode-current-vscroll, image-mode-current-hscroll): Remove.
8053 (image-mode-winprops-alist): New var to replace them.
8054 (image-mode-new-window-functions): New hook.
8055 (image-mode-winprops, image-mode-window-get, image-mode-window-put):
8056 New funs.
8057 (image-set-window-vscroll, image-set-window-hscroll): Use them.
8058 Remove the `window' argument, update callers.
8059 (image-mode-reapply-winprops): Rename image-reset-current-vhscroll.
8060 Use the new functions.
8061 (image-mode-reapply-winprops): New fun.
8062 (image-mode): Use it.
8063
8064 2008-02-20 Jay Belanger <jay.p.belanger@gmail.com>
8065
8066 * calc/calc-math.el (math-sin-raw): Add optional argument
8067 to keep track of original argument.
8068 (math-cos-raw): Use optional argument when calling math-sin-raw.
8069 (math-sin-raw-2, math-cos-raw-2): Check for a zero argument
8070 with close to original precision.
8071
8072 2008-02-20 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
8073
8074 * textmodes/bibtex.el (bibtex-convert-alien): Do not use optional
8075 args in calls of sit-for.
8076
8077 2008-02-20 Juanma Barranquero <lekktu@gmail.com>
8078
8079 * vc-svn.el (vc-svn-program): Fix typo in docstring.
8080 (vc-svn-checkin): Fix typo in error message.
8081
8082 * help-mode.el: Require easymenu when compiling.
8083
8084 2008-02-20 Dan Nicolaescu <dann@ics.uci.edu>
8085
8086 * help-mode.el (help-mode-menu): New menu.
8087
8088 2008-02-20 Glenn Morris <rgm@gnu.org>
8089
8090 * mail/rmail.el (rmail-autodetect): Add .exe extension to movemail
8091 on Windows.
8092
8093 2008-02-20 Kenichi Handa <handa@ni.aist.go.jp>
8094
8095 * ps-mule.el (ps-mule-encode-region): Return a single string.
8096 (ps-mule-plot-string): Adjust for the above change.
8097 (ps-mule-encode-header-string): Likewise.
8098
8099 * international/latin1-disp.el (latin1-display): Don't use
8100 ucs-mule-8859-to-mule-unicode. Fix the way of resetting
8101 standard-display-table.
8102 (latin1-display-identities): Adjust for the change of what is
8103 returned by (get-language-info charset 'charset).
8104
8105 * international/mule-util.el (char-displayable-p): Fix for Latin-1
8106 characters and terminal case.
8107
8108 2008-02-19 Ken Manheimer <ken.manheimer@gmail.com>
8109
8110 Minor Adaptions by Nick Roberts <nickrob@snap.net.nz> for Emacs.
8111
8112 * progmodes/python.el: Also require comint when loading.
8113 (python-mode-map): Bind python-pdbtrack-toggle-stack-tracking.
8114 Replace python-shell with run-python on menu bar.
8115 (python-shell-map): New map.
8116 (python-default-interpreter, python-python-command-args)
8117 (python-jython-command-args, python-pdbtrack-do-tracking-p):
8118 New options.
8119 (python-which-shell, python-which-args, python-which-bufname):
8120 New buffer local variables.
8121 (python-file-queue, python-pdbtrack-is-tracking-p): New variables.
8122
8123 * progmodes/python.el (python-pdbtrack-stack-entry-regexp)
8124 (python-pdbtrack-input-prompt, python-pdbtrack-track-range):
8125 New constants.
8126
8127 Pdbtrack features:
8128
8129 (python-point, python-end-of-def-or-class)
8130 (python-beginning-of-def-or-class, python-goto-initial-line)
8131 (python-comint-output-filter-function)
8132 (python-pdbtrack-overlay-arrow)
8133 (python-pdbtrack-track-stack-file, python-toggle-shells)
8134 (python-shell, python-pdbtrack-toggle-stack-tracking)
8135 (turn-on-pdbtrack, turn-off-pdbtrack, python-sentinel):
8136 New functions.
8137
8138 2008-02-19 Katsumi Yamaoka <yamaoka@jpl.org>
8139
8140 * net/ange-ftp.el (ange-ftp-quote-string): Return the null string
8141 when the argument is nil.
8142
8143 2008-02-19 Dan Nicolaescu <dann@ics.uci.edu>
8144
8145 * vc.el (dir-status): Add a brief description.
8146
8147 2008-02-19 Thien-Thi Nguyen <ttn@gnuvola.org>
8148
8149 * vc-hooks.el (vc-find-root): Take optional arg INVERT.
8150 If non-nil, reverse the sense of the check.
8151
8152 * vc-rcs.el (vc-rcs-root): New func.
8153 * vc-cvs.el (vc-cvs-root): New func.
8154 * vc-svn.el (vc-svn-root): New func.
8155 * vc-sccs.el (vc-sccs-root): New func.
8156
8157 2008-02-18 Kenichi Handa <handa@ni.aist.go.jp>
8158
8159 * language/japan-util.el (setup-japanese-environment-internal):
8160 Call use-cjk-char-width-table.
8161
8162 * language/japanese.el ("Japanese"): Set exit-function to
8163 use-default-char-width-table.
8164
8165 * international/characters.el: Delete occurrences of non-Unicode
8166 tibetan and ethiopic characters.
8167 (cjk-char-width-table): New variable.
8168 (use-cjk-char-width-table, use-default-char-width-table):
8169 New functions.
8170
8171 2008-02-19 Dan Nicolaescu <dann@ics.uci.edu>
8172
8173 * vc.el (vc-status-menu, vc-status-menu-map-filter): New functions.
8174 (vc-status-mode-menu): Add a :filter.
8175 (vc-status-printer): Add faces.
8176
8177 * vc-hg.el (vc-hg-extra-status-menu): New function.
8178 (vc-hg-dir-status): Clean up the buffer before using it.
8179
8180 2008-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
8181
8182 * progmodes/gdb-ui.el (gdb-output-sink): Define with an invalid value.
8183 (gdb): Initialize it here instead.
8184
8185 * files.el (locate-dominating-file): Fix thinko in last change.
8186 Reported by Bruce Stephens <bruce.stephens@isode.com>.
8187
8188 2008-02-18 Dan Nicolaescu <dann@ics.uci.edu>
8189
8190 * vc.el (vc-status-mode-menu): New menu for vc-status.
8191
8192 2008-02-18 Juanma Barranquero <lekktu@gmail.com>
8193
8194 * progmodes/verilog-mode.el (customize): Fix typo in error message.
8195 (verilog-mode, verilog-mode-indent, verilog-mode-actions)
8196 (verilog-mode-auto, verilog-indent-level-module)
8197 (verilog-minimum-comment-distance, verilog-library-flags)
8198 (verilog-library-directories, verilog-library-files)
8199 (verilog-auto-reset-widths, verilog-imenu-generic-expression)
8200 (verilog-xemacs-menu, verilog-set-compile-command)
8201 (verilog-set-compile-command, verilog-mode-syntax-table, verilog-mode)
8202 (verilog-get-expr, verilog-strip-comments, verilog-one-line)
8203 (verilog-lint-off, verilog-batch-auto, verilog-batch-delete-auto)
8204 (verilog-batch-inject-auto, verilog-batch-indent)
8205 (verilog-continued-line, verilog-type-keywords)
8206 (verilog-read-sub-decls-sig, verilog-read-sub-decls-line)
8207 (verilog-read-inst-pins, verilog-read-arg-pins)
8208 (verilog-read-auto-template, verilog-read-signals, verilog-getopt-file)
8209 (verilog-add-list-unique, verilog-symbol-detick, verilog-modi-filename)
8210 (verilog-auto-star, verilog-auto-inst, verilog-auto-wire)
8211 (verilog-enum-ascii, verilog-sk-begin, verilog-sk-fork)
8212 (verilog-sk-datadef, verilog-colorize-include-files-buffer)
8213 (verilog-mode-version, verilog-mode-release-date)
8214 (verilog-mode-release-emacs, verilog-linter, verilog-coverage)
8215 (verilog-simulator, verilog-compiler)
8216 (verilog-auto-sense-defines-constant, verilog-company)
8217 (verilog-project, verilog-mark-defun, verilog-submit-bug-report):
8218 Fix typos in docstrings.
8219 (verilog-set-auto-endcomments, verilog-calculate-indent)
8220 (verilog-inject-auto, verilog-auto-arg, verilog-auto-inout-module):
8221 Reflow docstrings.
8222 (verilog-tab-always-indent, verilog-highlight-p1800-keywords)
8223 (verilog-auto-star-save, verilog-auto-inst-vector, verilog-mode-hook)
8224 (electric-verilog-forward-sexp, verilog-in-case-region-p)
8225 (verilog-in-struct-region-p, verilog-in-generate-region-p)
8226 (verilog-leap-to-head, verilog-current-indent-level)
8227 (verilog-case-indent-level, verilog-cpp-keywords)
8228 (verilog-defun-keywords, verilog-block-keywords, verilog-tf-keywords)
8229 (verilog-case-keywords, verilog-separator-keywords, verilog-completion)
8230 (verilog-signals-not-in, verilog-symbol-detick-text)
8231 (verilog-modi-cache-preserve-tick, verilog-modi-cache-preserve-buffer)
8232 (verilog-forward-close-paren, verilog-backward-open-paren)
8233 (verilog-backward-open-bracket): Doc fixes.
8234
8235 * progmodes/gud.el (gud-def, gud-last-speedbar-stackframe): Doc fixes.
8236 (gud-symbol, gud-expansion-speedbar-buttons, gud-speedbar-buttons)
8237 (gud-gdb-run-command-fetch-lines, gud-dbx-use-stopformat-p)
8238 (gud-jdb-classpath, gud-jdb-find-source-using-classpath, jdb)
8239 (gud-find-class, gdb-script-mode, gud-tooltip-event, gud-tooltip-tips):
8240 Fix typos in docstrings.
8241
8242 * w32-vars.el (w32-system-shells): Add TCC (new name for 4NT).
8243
8244 2008-02-18 Bastien Guerry <Bastien.Guerry@ens.fr>
8245
8246 * info.el (Info-read-node-name): Removed unused `default' arg.
8247
8248 2008-02-18 Thien-Thi Nguyen <ttn@gnuvola.org>
8249
8250 * vc-git.el (vc-git-after-dir-status, vc-git-dir-status): New funcs.
8251
8252 2008-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
8253
8254 * image-mode.el (image-get-display-property): New fun.
8255 (image-forward-hscroll, image-next-line, image-eol, image-eob)
8256 (image-mode, image-minor-mode, image-toggle-display-text)
8257 (image-toggle-display): Use it.
8258
8259 2008-02-18 Jason Rumney <jasonr@gnu.org>
8260
8261 * international/mule.el (xml-find-file-coding-system): Don't warn
8262 about utf-16 with BOM.
8263
8264 * nxml/nxml-mode.el (nxml-mode): Don't add a write-contents-hook.
8265
8266 * international/mule.el (sgml-xml-auto-coding-function): Detect and
8267 warn if file encoding is not utf-8 and encoding not specified.
8268 (xml-find-file-coding-system): New function.
8269 * international/mule-conf.el (file-coding-system-alist): Use it.
8270
8271 2008-02-17 Glenn Morris <rgm@gnu.org>
8272
8273 * international/mule-cmds.el (set-locale-environment):
8274 Pass `frame' to getenv for LC_MESSAGES.
8275
8276 2008-02-17 Juri Linkov <juri@jurta.org>
8277
8278 * time.el (emacs-init-time): Use format instead of format-seconds.
8279
8280 2008-02-17 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
8281
8282 * textmodes/bibtex.el (bibtex-search-entry): Rename from
8283 bibtex-find-entry. Add autoload cookie.
8284 (bibtex-find-entry): Alias for bibtex-search-entry.
8285 (bibtex-search-crossref): Rename from bibtex-find-crossref.
8286 (bibtex-find-crossref): Alias for bibtex-search-crossref.
8287 (bibtex-clean-entry): atomic-change-group removed.
8288 (bibtex-format-entry): Use atomic-change-group. Use unwind-protect
8289 to locate buffer location where error occurred.
8290 Make error messages more specific.
8291 (bibtex-parse-keys): Only parse if buffer uses bibtex-mode.
8292
8293 2008-02-17 Dan Nicolaescu <dann@ics.uci.edu>
8294
8295 * progmodes/hideshow.el (hs-minor-mode-map): Move menu creation to
8296 top level.
8297
8298 * simple.el (transient-mark-mode): Add an :init-value.
8299
8300 * startup.el (command-line): Use custom-reevaluate-setting for
8301 transient-mark-mode.
8302
8303 2008-02-17 Michaël Cadilhac <michael@cadilhac.name>
8304
8305 * wdired.el (wdired-allow-to-change-permissions): Fix typo.
8306
8307 2008-02-16 Juri Linkov <juri@jurta.org>
8308
8309 * startup.el (after-init-time): New variable.
8310 (command-line): Set `after-init-time' to the current time.
8311
8312 * time.el (emacs-init-time): New function.
8313
8314 2008-02-16 Stefan Monnier <monnier@iro.umontreal.ca>
8315
8316 * files.el (locate-dominating-file): Remove initial loop because it's
8317 not careful enough. Detect the uid-change all within the main loop.
8318
8319 2008-02-16 Lawrence Mitchell <wence@gmx.li> (tiny change)
8320
8321 * ielm.el (ielm-is-whitespace-or-comment): Docstring fix.
8322
8323 2008-02-16 Dan Nicolaescu <dann@ics.uci.edu>
8324
8325 * vc.el (vc-annotate): Add new argument.
8326 (vc-annotate-warp-revision): Pass the current line to vc-annotate.
8327
8328 * progmodes/hideshow.el: Remove the minor-mode bookkeeping.
8329 Move make-variable-buffer-local code after the corresponding defvar.
8330 (hs-minor-mode-map): Define and initialize in one step.
8331 (hs-minor-mode): Change from defun to define-minor-mode.
8332
8333 2008-02-16 Nick Roberts <nickrob@snap.net.nz>
8334
8335 * progmodes/gud.el (gud-gdb): Don't reset gdb-ready.
8336 (gdb-ready): Move declaration...
8337
8338 * progmodes/gdb-ui.el (gdb-ready): ...to here.
8339 (gdb-early-user-input): New variable.
8340 (gdb): Reset gdb-flush-pending-output to nil and set
8341 comint-input-sender here (before gdb-prompt), instead of...
8342 (gdb-init-1): ...here.
8343 (gdb-send): If Emacs is not ready, defer user input to...
8344 (gdb-prompt): ...here.
8345
8346 2008-02-16 Glenn Morris <rgm@gnu.org>
8347
8348 * nxml/test.invalid.xml, nxml/test.valid.xml: Move to etc/nxml.
8349
8350 * startup.el (emacs-startup-time): Rename to `before-init-time'.
8351 (before-init-time): New name for `emacs-startup-time'.
8352 (command-line): Use before-init-time rather than emacs-startup-time.
8353 * time.el (emacs-uptime): Use before-init-time rather than
8354 emacs-startup-time.
8355
8356 * composite.el (composition-function-table): Doc fix.
8357
8358 * calendar/time-date.el (format-seconds): Remove `nonzero' argument
8359 in favor of `%z' specifier.
8360 (emacs-uptime): Move to time.el.
8361 * time.el (emacs-uptime): Move here from time-date.el. Add optional
8362 `format' argument. Doc fix. Use `%z' rather than removed `nonzero'
8363 argument of format-seconds.
8364
8365 2008-02-16 Dan Nicolaescu <dann@ics.uci.edu>
8366
8367 * bindings.el (mode-line-mule-info): Make the tooltips more explicit.
8368
8369 2008-02-15 Lawrence Mitchell <wence@gmx.li> (tiny change)
8370
8371 * ielm.el (ielm-is-whitespace): Remove.
8372 (ielm-is-whitespace-or-comment): New function.
8373 (ielm-eval-input): Use it.
8374
8375 2008-02-15 Jason Rumney <jasonr@gnu.org>
8376
8377 * term/mac-win.el: Fix coding tag.
8378
8379 2008-02-15 Dan Nicolaescu <dann@ics.uci.edu>
8380
8381 * vc-hooks.el (vc-menu-map):
8382 * bindings.el (mode-line-mode-menu): Add tooltips.
8383
8384 * bindings.el (help-echo): Add more tooltips. Use a less
8385 telegraphic style for existing tooltips.
8386
8387 2008-02-14 Stefan Monnier <monnier@iro.umontreal.ca>
8388
8389 * frame.el (frame-notice-user-settings): Distinguish explicit parent-id
8390 from the auto-generated one.
8391
8392 2008-02-14 Glenn Morris <rgm@gnu.org>
8393
8394 * mail/rmail-spam-filter.el (rmail-spam-filter):
8395 Let-bind message-spam-status.
8396
8397 * mail/smtpmail.el (password-cache-add): Declare as function.
8398
8399 2008-02-14 Justus Piater <Justus-bulk@Piater.name> (tiny change)
8400
8401 * mail/smtpmail.el: Use password-cache.
8402
8403 2008-02-14 Juanma Barranquero <lekktu@gmail.com>
8404
8405 * uniquify.el (uniquify-buffer-base-name): New function.
8406 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
8407
8408 * desktop.el (uniquify-managed): Don't defvar.
8409 (desktop-buffer-info): Use `uniquify-buffer-base-name', not
8410 `uniquify-managed'. Return also the buffer's base name.
8411 (desktop-save): When saving the buffer info, filter out the base name,
8412 and save it as buffer name if the buffer is managed by uniquify.
8413 (uniquify-item-base): Don't declare; not called anymore.
8414
8415 2008-02-14 Dan Nicolaescu <dann@ics.uci.edu>
8416
8417 * vc.el (vc-annotate-find-revision-at-line): New function.
8418 (vc-annotate-mode-map): Bind it.
8419 (vc-annotate-mode-menu): Add a menu entry for it. Add :help for
8420 some entries.
8421
8422 2008-02-14 Glenn Morris <rgm@gnu.org>
8423
8424 * calendar/time-date.el (format-seconds): New function.
8425 (emacs-uptime): Use format-seconds.
8426
8427 * Makefile.in (custom-deps, finder-data, autoloads, recompile):
8428 Remove `LC_ALL=C', since it's included in $(emacs) now.
8429
8430 2008-02-14 Zhang Wei <id.brep@gmail.com>
8431
8432 * textmodes/org-publish.el (org-publish-timestamp-filename):
8433 Replace colon characters in filename too.
8434
8435 2008-02-13 Bastien Guerry <bzg@altern.org>
8436
8437 * mail/rmail.el (rmail-header-name): New face.
8438 (rmail-font-lock-keywords): Use rmail-header-name.
8439
8440 * mail/rmail-spam-filter.el (rsf-definitions-alist): Allow check
8441 against X-Spam-Status header field.
8442 (rmail-spam-filter): Also check X-Spam-Status header field.
8443
8444 2008-02-14 Mark A. Hershberger <mah@everybody.org>
8445
8446 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8447 Add support for .pm files and .php files.
8448 (flymake-err-line-patterns): Add pattern for PHP errors.
8449 (flymake-php-init): New function. PHP support for flymake.
8450
8451 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8452 Add regular expression for PHP errors.
8453
8454 2008-02-13 Michael Albinus <michael.albinus@gmx.de>
8455
8456 * net/ange-ftp.el (ange-ftp-quote-string): Use `shell-quote-argument'.
8457 This DTRT even on w32 machines.
8458 (ange-ftp-cf1): Quote FILENAME.
8459
8460 2008-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
8461
8462 * smerge-mode.el (smerge-auto-combine-max-separation): New var.
8463 (smerge-auto-combine): New fun.
8464
8465 2008-02-12 Juri Linkov <juri@jurta.org>
8466
8467 * startup.el (fancy-startup-screen, normal-splash-screen):
8468 Set default-directory to command-line-default-directory.
8469
8470 * desktop.el (after-init-hook): Set inhibit-startup-screen to t
8471 after reading the desktop.
8472
8473 * progmodes/compile.el (compilation-auto-jump):
8474 Call compile-goto-error only when compilation-auto-jump-to-first-error
8475 is non-nil.
8476 (compilation-scroll-output): Replace :type 'boolean with a choice
8477 that has three options including a third option `first-error'.
8478 Doc fix.
8479 (compilation-start, compilation-forget-errors): Add an alternate
8480 condition comparing compilation-scroll-output with `first-error'
8481 in addition to compilation-auto-jump-to-first-error (to call
8482 compilation-auto-jump in the proper place).
8483
8484 2008-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
8485
8486 * international/mule.el (sgml-html-meta-auto-coding-function):
8487 Make sure the search limit is ahead.
8488
8489 * tar-mode.el: Fix broken indentation.
8490 (tar-mouse-extract, tar-extract, tar-subfile-save-buffer):
8491 Use with-current-buffer.
8492
8493 2008-02-12 Juanma Barranquero <lekktu@gmail.com>
8494
8495 * hexl.el (hexl-mode): Don't make `font-lock-defaults' buffer-local;
8496 it is already automatically buffer-local.
8497
8498 2008-02-11 Drew Adams <drew.adams@oracle.com>
8499
8500 * help.el (describe-key): Join some split lines to facilitate filling.
8501 * help-fns.el (describe-function-1): Fill text of overlong lines.
8502
8503 2008-02-12 Kenichi Handa <handa@ni.aist.go.jp>
8504
8505 * emacs-lisp/bytecomp.el (byte-compile-lapcode):
8506 Use unibyte-string instead of string-make-unibyte.
8507
8508 * Makefile.in (AUTOGENEL): Remove charprop.el and uni-*.el.
8509
8510 2008-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
8511
8512 * doc-view.el (doc-view-display): Change file arg to buffer arg, so it
8513 works also for buffers w/o buffer-file-name. Update callers.
8514 (doc-view-clone-buffer-hook): New fun.
8515 (doc-view-mode): Use it for indirect clones. Mark the overlays with
8516 the `doc-view' property so they can be recognized.
8517
8518 * simple.el (clone-indirect-buffer-hook): New hook.
8519 (clone-indirect-buffer): Run it.
8520
8521 2008-02-11 Daiki Ueno <ueno@unixuser.org>
8522
8523 * epa.el (epa-menu-mode): Merge into epa-mode.
8524 (epa-menu-items): Rename the label "EasyPG Assistant" to
8525 "Encryption/Decryption".
8526
8527 * epa-dired.el: Define a new minor-mode epa-dired-mode for dired.
8528 (epa-dired-mode-map): Rename from epa-dired-map.
8529 (epa-global-dired-mode): Rename the global minor mode.
8530
8531 2008-02-11 Drew Adams <drew.adams@oracle.com>
8532
8533 * isearch.el (isearch-fail): New face.
8534 (isearch-message): Highlight failure part of input.
8535
8536 2008-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
8537
8538 * ibuffer.el (ibuffer-header-line-format): New var.
8539 (ibuffer-mode): Set it instead of header-line-format.
8540 (ibuffer-update): Use it to set header-line-format.
8541
8542 * international/mule-cmds.el (ucs-insert): Inherit surrounding
8543 properties like self-insert-command.
8544
8545 2008-02-11 Drew Adams <drew.adams@oracle.com>
8546
8547 * progmodes/etags.el: Add many doc strings.
8548
8549 2008-02-11 Jason Rumney <jasonr@gnu.org>
8550
8551 * ldefs-boot.el: Regenerated.
8552
8553 2008-02-11 Glenn Morris <rgm@gnu.org>
8554
8555 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8556 Shorten some names.
8557
8558 * ffap.el (ffap-rfc-directories): Add :version.
8559
8560 2008-02-11 Chris Moore <christopher.ian.moore@gmail.com>
8561
8562 * jka-cmpr-hook.el (jka-compr-compression-info-list): Handle .sifz
8563 files, and backup files of same.
8564
8565 2008-02-11 Kevin Ryde <user42@zip.com.au>
8566
8567 * ffap.el (ffap-rfc-directories): New variable.
8568 (ffap-rfc): Look in those dirs before offering ffap-rfc-path.
8569
8570 * info.el (Info-next-reference, Info-prev-reference)
8571 (Info-try-follow-nearest-node): Move to and follow https:// links too.
8572
8573 * simple.el (completion-list-mode): Show full completion-list-mode-map
8574 in the docstring.
8575
8576 2008-02-11 Sam Steingold <sds@gnu.org>
8577
8578 * vc-hooks.el (vc-prefix-key): Remove (undo 2008-02-06 patch).
8579
8580 2008-02-11 Glenn Morris <rgm@gnu.org>
8581
8582 * startup.el (emacs-startup-time): New variable.
8583 (command-line): Set emacs-startup-time.
8584
8585 * calendar/time-date.el (emacs-uptime): New function.
8586
8587 2008-02-10 Bastien Guerry <bzg@altern.org>
8588
8589 * mail/rmail.el (rmail-nonignored-headers): Allow to be nil.
8590 (rmail-clear-headers): Don't check `rmail-nonignored-headers' when
8591 it is nil.
8592
8593 2008-02-10 Daiki Ueno <ueno@unixuser.org>
8594
8595 * epg-config.el: Expand the contents of epg-package-info.el.
8596 (epg-package-name): New constant.
8597 (epg-version-number): New constant.
8598 (epg-bug-report-address): New constant.
8599
8600 * epa-mail.el (epa-mail-mode): Add autoload cookie.
8601 (epa-global-mail-mode): New global minor mode.
8602
8603 * epa-file.el (epa-file-mode): New global minor mode.
8604
8605 * epa-dired.el (epa-dired-mode): New global minor mode.
8606
8607 * epa.el (epa-menu): New variable.
8608 (epa-menu-items): New variable.
8609 (epa-menu-mode): New global minor mode.
8610 (epa-global-minor-modes): New user option.
8611 (epa-mode): New global minor mode.
8612
8613 2008-02-10 Michael Albinus <michael.albinus@gmx.de>
8614
8615 * net/dbus.el: Remove `no-byte-compile' cookie.
8616 (dbus-call-method, dbus-register-signal, dbus-debug)
8617 (dbus-registered-functions-table): Declare them with
8618 `declare-function' or `defvar', respectively.
8619 (top): Don't assert any longer. Require 'cl when compiling.
8620 Apply `ignore-errors' but `dbus-ignore-errors'.
8621
8622 2008-02-10 Dan Nicolaescu <dann@ics.uci.edu>
8623
8624 * diff-mode.el (diff-add-change-log-entries-other-window):
8625 Use add-change-log-entry.
8626
8627 2008-02-09 Jason Rumney <jasonr@gnu.org>
8628
8629 * button.el (button-map):
8630 * wid-edit.el (widget-keymap): Avoid line-end confusion in autoloads.
8631 * ldefs-boot.el: Regenerate.
8632
8633 2008-02-09 Dan Nicolaescu <dann@ics.uci.edu>
8634
8635 * epa.el (epa-faces, epa):
8636 * epa-file.el (epa-file):
8637 * epg-config.el (epg): Add :version.
8638
8639 2008-02-09 Thien-Thi Nguyen <ttn@gnuvola.org>
8640
8641 * vc.el (vc-exec-after): Append CODE to previous fragments.
8642 (vc-diff-finish): Take BUFFER directly, not BUFFER-NAME;
8643 take MESSAGES instead of VERBOSE; use it when non-nil.
8644 (vc-diff-internal): Compute messages once; use them;
8645 update call to vc-diff-finish.
8646
8647 2008-02-09 Michael Olson <mwolson@gnu.org>
8648
8649 * net/tramp.el (tramp-process-sentinel): Avoid error when process
8650 buffer has been killed, such as by
8651 `tramp-cleanup-all-connections'.
8652
8653 2008-02-09 Miles Bader <miles@gnu.org>
8654
8655 * net/rcirc.el (rcirc-omit-mode): Suppress invisibility ellipsis.
8656
8657 2008-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
8658
8659 * diff-mode.el (diff-add-change-log-entries-other-window): Avoid the
8660 splitter in context hunks.
8661
8662 2008-02-08 Kenichi Handa <handa@ni.aist.go.jp>
8663
8664 * international/fontset.el (setup-default-fontset): Fix arabic otf
8665 font specification.
8666
8667 2008-02-08 Daiki Ueno <ueno@unixuser.org>
8668
8669 * epa-dired.el:
8670 * epa-file.el:
8671 * epa-mail.el:
8672 * epa-setup.el:
8673 * epa.el:
8674 * epg-config.el:
8675 * epg-package-info.el:
8676 * epg.el: Initial check-in of EasyPG.
8677
8678 2008-02-08 Glenn Morris <rgm@gnu.org>
8679
8680 * woman.el (woman-locale): New defcustom.
8681 (woman-expand-locale, woman-manpath-add-locales): New functions.
8682 (woman-manpath): Call woman-manpath-add-locales. Bump :version.
8683
8684 * international/mule-cmds.el (locale-translate): New function,
8685 with old code extracted from set-locale-environment.
8686 (set-locale-environment): Use locale-translate. Set woman-locale.
8687
8688 * cus-start.el (selection-coding-system): Remove, since it's now
8689 defined in select.el rather than in xselect.c.
8690 * select.el (selection-coding-system): Make it a defcustom, and
8691 add the properties from cus-start.el. Bump :version.
8692
8693 * custom.el (custom-theme-set-variables): Sort symbols that are
8694 dependencies before symbols that depend on them.
8695 (custom-enabled-themes): Set after custom-theme-directory.
8696
8697 * pcmpl-unix.el (top-level): Move provide statement to end.
8698 (pcmpl-unix-group-file, pcmpl-unix-passwd-file): Remove leading
8699 `*' from doc-string. Allow to be nil.
8700 (pcmpl-ssh-known-hosts-file): Convert comment into expanded doc-string.
8701 Allow to be nil. Add :version.
8702 (pcmpl-ssh-hosts): Move definition before use. Handle lines
8703 without hostnames, and multiple hostnames per line.
8704
8705 * term/x-win.el (x-handle-parent-id): Remove free variable `parent-id'.
8706
8707 2008-02-08 Phil Hagelberg <phil@evri.com>
8708
8709 * pcmpl-unix.el (pcmpl-ssh-known-hosts-file): New defcustom.
8710 (pcomplete/ssh, pcomplete/scp, pcmpl-ssh-hosts): New functions.
8711
8712 2008-02-07 Timo Savola <timo.savola@iki.fi>
8713
8714 * startup.el (command-line-x-option-alist): Add --parent-id.
8715
8716 * term/x-win.el (x-handle-parent-id): New function.
8717
8718 2008-02-07 Chris Moore <christopher.ian.moore@gmail.com>
8719
8720 * mouse.el (x-fixed-font-alist): Use consistent capitalization for
8721 "Font Menu".
8722
8723 2008-02-06 Michael Albinus <michael.albinus@gmx.de>
8724
8725 * net/dbus.el (dbus-interface-peer): New defconst.
8726 (dbus-ping): New defun.
8727
8728 2008-02-06 Sam Steingold <sds@gnu.org>
8729
8730 * vc-hooks.el (vc-prefix-key): New user-customizable variable.
8731
8732 2008-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
8733
8734 * net/ange-ftp.el (ange-ftp-unhandled-file-name-directory):
8735 Just return nil and let the C code provide a fallback.
8736
8737 2008-02-05 Glenn Morris <rgm@gnu.org>
8738
8739 * net/tramp-cmds.el (tramp-cleanup-connection): Update calls to
8740 tramp-flush-connection-property for removed 2nd argument.
8741
8742 2008-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
8743
8744 * diff-mode.el (diff-add-change-log-entries-other-window):
8745 Rename from diff-create-changelog. Change users.
8746 Minor change to hopefully work with plain diffs.
8747 (diff-mode-map): Add binding for it.
8748
8749 2008-02-04 Dan Nicolaescu <dann@ics.uci.edu>
8750
8751 * diff-mode.el: Add new TODO entry.
8752 (diff-create-changelog): New function.
8753 (diff-mode-menu): Bind it.
8754
8755 2008-02-04 Kenichi Handa <handa@ni.aist.go.jp>
8756
8757 * international/mule-diag.el (print-fontset-element): Handle the
8758 case of inhibiting the fallback fonts.
8759
8760 2008-02-04 Kim F. Storm <storm@cua.dk>
8761
8762 * ido.el (ido-magic-forward-char, ido-magic-backward-char)
8763 (ido-magic-delete-char): Use prefix arg.
8764
8765 2008-02-03 Juanma Barranquero <lekktu@gmail.com>
8766
8767 * term/w32-win.el (image-library-alist): Prefer libpng12 to libpng13,
8768 because the latter is in fact a 1.2.8 build distributed with GTK+ (as
8769 of today, the most recent libpng is 1.2.24).
8770
8771 2008-02-03 Michael Albinus <michael.albinus@gmx.de>
8772
8773 * ediff-util.el (ediff-compute-custom-diffs-maybe): Handle remote files.
8774
8775 * net/dbus.el (top): Check (featurep 'dbusbind).
8776
8777 * net/tramp.el (tramp-process-sentinel): New defun.
8778 (tramp-do-copy-or-rename-file-out-of-band)
8779 (tramp-maybe-open-connection): Use it as process sentinel.
8780 (tramp-handle-delete-directory): Don't use the "-f" option; it
8781 isn't portable.
8782 (tramp-handle-start-file-process): Echo `tramp-end-of-output'
8783 after the command.
8784 (tramp-handle-shell-command): Set `mode-line-process' in the
8785 asynchronous case.
8786
8787 * net/tramp-cache.el (tramp-flush-connection-property): Remove EVENT.
8788
8789 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
8790 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8791 Use `tramp-process-sentinel' as process sentinel.
8792
8793 2008-02-02 Juanma Barranquero <lekktu@gmail.com>
8794
8795 * whitespace.el (global-whitespace-mode): Revert last change.
8796 (whitespace-unload-function): Force `global-whitespace-mode'
8797 to deactivate local modes in a slightly less intrusive way.
8798
8799 2008-02-02 Eli Zaretskii <eliz@gnu.org>
8800
8801 * view.el (kill-buffer-if-not-modified): Add an autoload cookie.
8802
8803 2008-02-02 Glenn Morris <rgm@gnu.org>
8804
8805 * international/latin1-disp.el (latin1-display):
8806 * progmodes/fortran.el (fortran-comment-indent-char):
8807 * progmodes/idlw-shell.el (top-level):
8808 * term/mac-win.el (mac-keyboard-translate-char):
8809 * whitespace.el (whitespace-char-valid-p):
8810 * wid-edit.el (widget-key-sequence-read-event):
8811 Use characterp rather than char-valid-p.
8812
8813 * progmodes/cap-words.el (capitalized-next-word-boundary): Rename
8814 to capitalized-find-word-boundary. Doc fix. Update callers.
8815 (capitalized-next-word-boundary-function-table): Rename to
8816 capitalized-find-word-boundary-function-table. Doc fix. Update users.
8817
8818 * ps-bdf.el (bdf-read-font-info): Use string-to-number rather than
8819 string-to-int.
8820
8821 * ps-def.el (declare-function): Add compatibility definition.
8822 (ps-plot-with-face, ps-plot-string): Declare as functions.
8823 (ps-bold-faces, ps-italic-faces): Declare variables.
8824
8825 * ps-print.el (ps-mule-initialize, ps-mule-begin-job)
8826 (ps-mule-end-job): Declare as functions.
8827
8828 * wid-edit.el (widget-string-complete): Use assoc-string rather
8829 than assoc-ignore-case.
8830
8831 See ChangeLog.13 for earlier changes.
8832
8833 ;; Local Variables:
8834 ;; coding: utf-8
8835 ;; add-log-time-zone-rule: t
8836 ;; End:
8837
8838 Copyright (C) 2008 Free Software Foundation, Inc.
8839
8840 This file is part of GNU Emacs.
8841
8842 GNU Emacs is free software: you can redistribute it and/or modify
8843 it under the terms of the GNU General Public License as published by
8844 the Free Software Foundation, either version 3 of the License, or
8845 (at your option) any later version.
8846
8847 GNU Emacs is distributed in the hope that it will be useful,
8848 but WITHOUT ANY WARRANTY; without even the implied warranty of
8849 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8850 GNU General Public License for more details.
8851
8852 You should have received a copy of the GNU General Public License
8853 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
8854
8855 ;; arch-tag: c241c1f9-d668-48bf-920a-2897ed0340bc