]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
0febaa033953c60085c03a57ca14c1e729de0916
[gnu-emacs] / lisp / ChangeLog
1 2008-07-20 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
4 (x-handle-initial-switch, x-handle-iconic, x-handle-xrm-switch)
5 (x-handle-geometry, x-handle-name-switch, x-display-name)
6 (x-handle-display, x-handle-args, x-colors): Move ...
7 * term/common-win.el: ... here. New file.
8 * term/w32-win.el (x-handle-switch, x-handle-numeric-switch)
9 (x-handle-initial-switch, x-handle-iconic, x-handle-xrm-switch)
10 (x-handle-geometry, x-handle-name-switch, x-display-name)
11 (x-handle-display, x-handle-args, x-colors): Remove.
12 * loadup.el: Load term/common-win before term/x-win and term/w32-win.
13
14 2008-07-19 Juri Linkov <juri@jurta.org>
15
16 * startup.el (fancy-startup-text): Move the line "To quit
17 a partially entered command, type Control-g" a few lines below
18 to be after the line "To start". Add text "at gnu.org" to
19 "Overview of Emacs features".
20
21 * dired.el (dired-mode-map): Fix menu text of
22 image-dired-display-thumbs.
23
24 * image-dired.el (image-dired-cmd-create-thumbnail-options)
25 (image-dired-cmd-create-temp-image-options)
26 (image-dired-cmd-create-standard-thumbnail-command): Add > to the
27 ImageMagick command line to change the dimensions of the image
28 only if its width or height exceeds the geometry specification.
29
30 * longlines.el: Add coding cookie utf-8 for the pilcrow sign.
31
32 * proced.el (proced-mode, proced): Add \\<proced-mode-map>
33 to docstrings.
34
35 2008-07-19 Adrian Robert <Adrian.B.Robert@gmail.com>
36
37 * term/ns-win.el (ns-ps-print-menu-map): Fix typo pointed out by
38 Vinicius Jose Latorre.
39
40 2008-07-19 Glenn Morris <rgm@gnu.org>
41
42 * term/ns-win.el (ns-make-command-string): Use mapconcat.
43 (ns-save-preferences): Fix typo in previous change. (Bug#573)
44
45 2008-07-18 Michael Albinus <michael.albinus@gmx.de>
46
47 * net/dbus.el (dbus-interface-properties): New defconst.
48 (dbus-introspect): Update docstring.
49 (dbus-introspect-xml, dbus-introspect-get-attribute)
50 (dbus-introspect-get-node-names, dbus-introspect-get-all-nodes)
51 (dbus-introspect-get-interface-names)
52 (dbus-introspect-get-interface, dbus-introspect-get-method-names)
53 (dbus-introspect-get-method, dbus-introspect-get-signal-names)
54 (dbus-introspect-get-signal, dbus-introspect-get-property-names)
55 (dbus-introspect-get-property)
56 (dbus-introspect-get-annotation-names)
57 (dbus-introspect-get-annotation)
58 (dbus-introspect-get-argument-names, dbus-introspect-get-argument)
59 (dbus-introspect-get-signature, dbus-get-property)
60 (dbus-set-property, dbus-get-all-properties): New defuns.
61
62 2008-07-18 Chong Yidong <cyd@stupidchicken.com>
63
64 * Makefile.in (ELCFILES): Remove ns-carbon-compat.elc. and
65 ns-grabenv.elc.
66
67 * ns-carbon-compat.el: File removed.
68
69 * ns-grabenv.el: File removed.
70
71 * term/ns-win.el: Contents of ns-carbon-compat.el and
72 ns-grabenv.el moved here.
73 (ns-grabenv, ns-open-file-select-line): Doc fixes.
74 (ns-submit-bug-report): Function removed. Reports go to the main
75 Emacs bug list.
76 (ns-handle-args, ns-spi-service-call): Doc fixes.
77 (info-ns-emacs): Function removed. Nextstep port manual will be
78 merged into the Emacs manual, so no separate link needed.
79
80 2008-07-18 Francesc Rocher <rocher@member.fsf.org>
81
82 * startup.el (fancy-splash-head): Fix change of 2008-07-02.
83
84 2008-07-18 Glenn Morris <rgm@gnu.org>
85
86 * eshell/esh-arg.el (eshell-quote-backslash): Restrict previous change
87 to XEmacs, since it does nothing for Emacs.
88
89 2008-07-18 Katsumi Yamaoka <yamaoka@jpl.org>
90
91 * net/tls.el (open-tls-stream): Make it work with the 2nd argument
92 BUFFER that is a string but does not exist as a buffer object, as
93 mentioned in the doc-string.
94
95 2008-07-17 Chong Yidong <cyd@stupidchicken.com>
96
97 * simple.el (line-move-visual): Make it a defcustom.
98 (line-move-1): Convert temporary-goal-column back to an integer if
99 it was set as a float by a previous call to line-move-visual.
100 (end-of-visual-line, beginning-of-visual-line, kill-visual-line)
101 (next-logical-line, previous-logical-line)
102 (turn-on-visual-line-mode): New functions.
103 (visual-line-mode-map): New variable.
104 (visual-line-mode, global-visual-line-mode): New minor mode.
105
106 2008-07-17 Glenn Morris <rgm@gnu.org>
107
108 * term/ns-win.el (parameters): Declare for compiler.
109
110 2008-07-17 Fan Kai <fktpp@xemacs.org> (tiny change)
111
112 * esh-arg.el (eshell-quote-backslash): Fix eshell path completion
113 for Windows.
114
115 2008-07-17 Daiki Ueno <ueno@unixuser.org>
116
117 * epa.el (epa-key-list-mode): Use run-mode-hooks.
118 (epa-key-mode): Ditto.
119 (epa-info-mode): Ditto.
120
121 2008-07-17 Glenn Morris <rgm@gnu.org>
122
123 * term/ns-win.el (ns-handle-switch): Simplify. Handle the numeric case.
124 (ns-handle-numeric-switch): Just call ns-handle-switch.
125 (ns-handle-name-switch, ns-handle-nxopen, ns-handle-nxopentemp)
126 (ns-handle-args): Simplify using `pop'.
127 (ns-display-name): Define (used in frame.el).
128 (menu-bar-select-frame): Add (ignored) arg to more closely match the
129 original definition.
130 (ns-perform-service): Declare.
131 (ns-save-preferences): Use fewer `let's.
132
133 * frame.el (ns-display-name): Declare for compiler.
134
135 2008-07-17 Kenichi Handa <handa@m17n.org>
136
137 * descr-text.el (describe-char-unidata-list): Initialize to the
138 list of name, general-category, decomposition, and old-name.
139
140 2008-07-16 Adrian Robert <Adrian.B.Robert@gmail.com>
141
142 * startup.el (command-line-1): Update processing of NS long options to
143 mimic recent changes to processing of X long options.
144
145 2008-07-16 Nick Roberts <nickrob@snap.net.nz>
146
147 * progmodes/gdb-ui.el (gdb-create-define-alist): Don't create a
148 list of #defines for remote files.
149 (gdb-source-info): Only show main if it has been found.
150
151 2008-07-16 Stefan Monnier <monnier@iro.umontreal.ca>
152
153 * term/ns-win.el: Require CL; fix up comment style; reindent.
154 (ns-define-service): Use subst-char-in-string. Avoid `eval'.
155 (ns-save-preferences): Use `case'.
156 (ns-initialize-window-system): Use `dolist'.
157
158 2008-07-16 Adrian Robert <Adrian.B.Robert@gmail.com>
159
160 * loadup.el: Remove load of easy-mmode prior to ns-win when NS
161 windowing is used.
162 * term/ns-win.el (ns-extended-platform-support-mode):
163 Correct/improve documentation.
164
165 2008-07-16 Glenn Morris <rgm@gnu.org>
166
167 * emacs-lisp/cl-compat.el, emacs-lisp/cl-macs.el, emacs-lisp/cl-seq.el:
168 Simply require 'cl (see comment in cl-compat.el).
169 * emacs-lisp/cl-macs.el (cl-compile-time-init): Remove function.
170 * emacs-lisp/cl.el (cl-do-pop, cl-mapcar-many): Declare for compiler.
171 (cl-hack-byte-compiler): Load cl-macs and run cl-hack-bytecomp-hook
172 directly rather by subterfuge. Provide cl before loading cl-macs.
173
174 * paths.el (rmail-spool-directory): Remove settings for systems that are
175 no longer supported.
176
177 * frame.el (ns-initialize-window-system): Declare for compiler.
178
179 * term/ns-win.el: Add numerous declarations for compiler.
180 (ns-pop-up-frames): Move definition before use. Doc fix.
181
182 * emacs-lisp/check-declare.el (check-declare-locate)
183 (check-declare-verify): Handle .m files.
184
185 2008-07-15 Adrian Robert <Adrian.B.Robert@gmail.com>
186
187 * ns-carbon-compat.el: New file: user-visible compatibility of
188 NeXTstep port with Carbon port.
189 * ns-grabenv.el: New file: functionality useful on OS X platform to
190 expose environment variables inside Emacs started from icon.
191 * Makefile.in (ELCFILES): Add ns-carbon-compat, ns-grabenv, ns-win.
192 * cus-edit.el:
193 * cus-face.el:
194 * disp-table.el:
195 * faces.el:
196 * info.el:
197 * mouse.el:
198 * mwheel.el:
199 * simple.el: Add ns to window systems treated as GUIs.
200 * facemenu.el (facemenu-read-color): Don't require a name match under
201 NS, to allow numeric color entry.
202 * frame.el (make-frame-on-display): Follow code for 'x in initializing
203 'ns window system if need be.
204 (various): Add 'ns as described above.
205 * loadup.el: Load ns-win.el, easy-menu.el, easy-mmode.el if
206 ns-windowing is active.
207 * startup.el (command-line-ns-option-alist): New constant to handle NS
208 windowing system specific command line args analogous to how they are
209 handled for X windows.
210 (command-line-1): Use the above where appropriate.
211 * version.el: Add NS port version.
212 * woman.el (woman-man.conf-path): Add /usr/share/misc to init path on
213 Darwin (usually OS X) systems.
214 (woman-use-own-frame): Include 'ns in list of GUI window systems.
215 * emulation/viper-util.el (ns-display-color-p)
216 (ns-color-defined-p): Remove these (caustically-commented) outdated
217 compensations for a port that was never itself integrated until now.
218 * gnus/gnus-util.el (gnus-select-frame-set-input-focus): Add support
219 for NS window system.
220 * international/mule-cmds.el: Add 'ns to list of special-cased window
221 systems (probably most of these, x/w32/mac/ns could be changed to
222 window-system non-nil).
223 * term/ns-win.el: New file: lisp-side support for NS windowing system.
224
225 2008-07-14 Jason Rumney <jasonr@gnu.org>
226
227 * term/w32-win.el (x-handle-switch, x-handle-name-switch)
228 (x-handle-numeric-switch, x-handle-initial-switch)
229 (x-handle-xrm-switch, x-handle-args, x-handle-display)
230 (xw-defined-colors, w32-initialize-window-system):
231 Avoid use of cl pop and push macros.
232
233 2008-07-14 Martin Rudalics <rudalics@gmx.at>
234
235 * add-log.el (change-log-goto-source): Avoid wrong-type-argument
236 error when change-log-search-file-name returns nil.
237
238 2008-07-13 Martin Rudalics <rudalics@gmx.at>
239
240 * add-log.el (change-log-search-file-name):
241 Use match-string-no-properties.
242 (change-log-search-tag-name-1, change-log-search-tag-name)
243 (change-log-goto-source-1, change-log-goto-source): New functions.
244 (change-log-tag-re, change-log-find-head, change-log-find-tail):
245 New variables.
246 (change-log-mode-map): Bind C-c C-c to change-log-goto-source.
247
248 2008-07-13 Jay Belanger <jay.p.belanger@gmail.com>
249
250 * calc-help.el (calc-describe-key): Add angles to special key
251 descriptions.
252
253 2008-07-13 Vincent Belaïche <vincent.b.1@hotmail.fr>
254
255 * calc-help.el (calc-describe-thing): Use `re-search-forward' to
256 search for regexp.
257
258 2008-07-12 Chong Yidong <cyd@stupidchicken.com>
259
260 * simple.el (line-move-visual): Handle null pixel position gracefully.
261
262 2008-07-11 Jason Rumney <jasonr@gnu.org>
263
264 * files.el (file-truename): Get truename of ancestors if file does
265 not exist on Windows.
266
267 2008-07-11 Chong Yidong <cyd@stupidchicken.com>
268
269 * simple.el (line-move-visual): Obey goal-column and no-error arg.
270 (track-eol, temporary-goal-column, previous-line, next-line):
271 Update docstring.
272 (move-end-of-line, move-beginning-of-line): Bind line-move-visual
273 to nil.
274
275 2008-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
276
277 * simple.el (line-move-visual): New var.
278 (line-move-visual): New function.
279 (line-move): Call line-move-visual.
280
281 2008-07-11 Dan Nicolaescu <dann@ics.uci.edu>
282
283 * progmodes/grep.el (grep-files-aliases): Improve the C++ source
284 pattern and add patterns for C++ header files.
285
286 2008-07-10 Chong Yidong <cyd@stupidchicken.com>
287
288 * window.el (truncated-partial-width-window-p): New function.
289
290 * menu-bar.el: Remove Longlines mode from menu. Add word-wrap option.
291
292 * faces.el (x-create-frame-with-faces): Don't pass parameters that
293 are set later to x-create-frame.
294 (face-set-after-frame-default): Apply X resources for non-default
295 faces.
296
297 2008-07-08 Chong Yidong <cyd@stupidchicken.com>
298
299 * faces.el (face-set-after-frame-default): Simplify. Don't apply
300 frame-specific X resource settings. Set faces using a list of
301 frame parameters explicitly passed to the calling
302 function (e.g. make-frame).
303 (x-create-frame-with-faces, tty-create-frame-with-faces): Supply
304 explicit frame parameter list to face-set-after-frame-default.
305
306 2008-07-08 Eduard Wiebe <usenet@pusto.de> (tiny change)
307
308 * net/browse-url.el (browse-url-default-browser):
309 Fix argument list in lambda.
310
311 2008-07-07 Ulf Jasper <ulf@web.de>
312
313 * net/newst-backend.el (newsticker--get-news-by-url): Catch errors
314 from url-retrieve.
315 (newsticker--sentinel-work): Fix xerror typo.
316
317 2008-07-07 Dan Nicolaescu <dann@ics.uci.edu>
318
319 * vc-dir.el (vc-dir-refresh): Only update files.
320
321 * vc-git.el (vc-git--ls-files-state): Remove unused function.
322
323 * vc-bzr.el (vc-bzr-after-dir-status): Deal with execute bit changes.
324
325 2008-07-06 John Paul Wallington <jpw@pobox.com>
326
327 * kermit.el (kermit-esc-char, kermit-clean-off): Doc fixes.
328
329 2008-07-05 Alexandre Julliard <julliard@winehq.org>
330
331 * vc-git.el (vc-git-registered): Return true for removed files.
332 (vc-git-print-log, vc-git-log-view-mode): Print a single log for
333 all the files instead of one per file.
334 (vc-git-previous-revision): Add support for project-wide previous
335 revision when specified file is nil.
336
337 2008-07-05 Dan Nicolaescu <dann@ics.uci.edu>
338
339 * vms-patch.el, vmsproc.el, mail/vms-pmail.el: Move to obsolete dir.
340
341 * vc-dir.el (vc-dir-find-child-files): New function.
342 (vc-dir-resync-directory-files): New function.
343 (vc-dir-recompute-file-state): New function, broken out of ...
344 (vc-dir-resynch-file): ... here. Also deal with directories.
345 * vc-dispatcher.el (vc-resynch-buffers-in-directory): New function.
346 (vc-resynch-buffer): Use it.
347
348 * vc-hg.el (vc-hg-registered): Do not set vc-state.
349
350 * vc-annotate.el (vc-annotate-mode-menu): Add separator.
351
352 2008-07-05 Nick Roberts <nickrob@snap.net.nz>
353
354 * progmodes/gdb-ui.el (gdb-display-buffer): Don't split a buffer
355 if it's not part of gdb-ui, e.g, at start.
356
357 * progmodes/gud.el (gud-gdb-get-stackframe): Allow absolute
358 filenames in stack trace (text command mode).
359
360 2008-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
361
362 * mouse-drag.el (mouse-drag-throw, mouse-drag-drag): Autoload.
363
364 * textmodes/sgml-mode.el (sgml-font-lock-syntactic-keywords):
365 Use syntax-ppss on a position *before* the char we want to change.
366
367 2008-07-04 Dan Nicolaescu <dann@ics.uci.edu>
368
369 * vc-dir.el (vc-dir-query-replace-regexp): New function.
370 (vc-dir-tool-bar-map, vc-dir-menu-map): Bind it.
371 (vc-dir-mode-map): Likewise.
372
373 2008-07-03 Juanma Barranquero <lekktu@gmail.com>
374
375 * eshell/esh-arg.el (eshell-quote-backslash): Fix typo in docstring.
376 (eshell-parse-argument-hook, eshell-special-chars-inside-quoting)
377 (eshell-arg-load-hook, eshell-special-chars-outside-quoting):
378 Remove spurious * in defcustom docstrings.
379
380 * textmodes/fill.el (fill-paragraph): Fix typo in docstring.
381 (fill-individual-varying-indent, colon-double-space, enable-kinsoku)
382 (adaptive-fill-mode, adaptive-fill-first-line-regexp)
383 (default-justification): Remove spurious * in defcustom docstrings.
384
385 * textmodes/rst.el (rst, rst-line-homogeneous-p, rst-mode-abbrev-table)
386 (rst-font-lock-keywords-function, rst-mode, rst-minor-mode)
387 (rst-compare-decorations, rst-default-indent, rst-update-section)
388 (rst-decoration-complete-p, rst-section-tree, rst-toc-insert-node)
389 (rst-toc-insert-find-delete-contents, rst-toc-count-lines)
390 (rst-toc-mode-goto-section, rst-faces, rst-level-face-base-color):
391 Fix typos in docstrings.
392 (rst-mode-lazy): Fix typo in docstring. Remove spurious *.
393 (rst-adjust, rst-line-homogeneous-p, rst-suggest-new-decoration)
394 (rst-get-decorations-around, rst-section-tree-point)
395 (rst-font-lock-adornment-point): Reflow docstrings.
396 (rst-get-decoration, rst-get-decoration-match, rst-adjust-decoration):
397 Doc fixes.
398 (rst-re-enumerations): Comment out.
399
400 * nxml/nxml-glyph.el (nxml-glyph-set-hook):
401 * nxml/nxml-uchnm.el (nxml-unicode-blocks)
402 (nxml-unicode-block-char-name-set):
403 * nxml/nxml-util.el (nxml-debug, nxml-make-namespace):
404 * nxml/rng-nxml.el (rng-set-state-after):
405 * nxml/rng-uri.el (rng-file-name-uri): Fix typo in docstring.
406
407 * nxml/rng-cmpct.el (rng-c-lookup-create, rng-c-parse-primary)
408 (rng-c-parse-annotation-body):
409 * nxml/rng-dt.el (rng-dt-namespace-context-getter): Reflow docstrings.
410
411 * nxml/nxml-mode.el (nxml, nxml-mode, nxml-after-change1)
412 (nxml-extend-region, nxml-merge-indent-context-type, nxml-complete)
413 (nxml-forward-balanced-item, nxml-dynamic-markup-word)
414 (nxml-define-char-name-set, nxml-toggle-char-ref-extra-display):
415 Fix typos in docstrings.
416 (nxml-attribute-indent): Reflow docstring.
417 (nxml-bind-meta-tab-to-complete-flag, nxml-last-fontify-end)
418 (nxml-default-buffer-file-coding-system): Doc fixes.
419
420 * nxml/nxml-ns.el (nxml-ns-state, nxml-ns-initial-state)
421 (nxml-ns-set-prefix): Fix typos in docstrings.
422 (nxml-ns-push-state, nxml-ns-pop-state, nxml-ns-set-default):
423 Reflow docstring.
424 (nxml-ns-get-prefix, nxml-ns-get-default): Doc fixes.
425
426 * nxml/nxml-outln.el (nxml-hide-all-text-content)
427 (nxml-show-direct-text-content, nxml-show-direct-subheadings)
428 (nxml-hide-direct-text-content, nxml-hide-subheadings)
429 (nxml-hide-text-content, nxml-show-subheadings, nxml-hide-other)
430 (nxml-outline-display-rest, nxml-outline-set-overlay)
431 (nxml-section-tag-forward, nxml-section-tag-backward)
432 (nxml-back-to-section-start): Fix typos in docstrings.
433
434 * nxml/nxml-parse.el (nxml-validate-function, nxml-parse-file):
435 Doc fixes.
436
437 * nxml/nxml-rap.el (nxml-scan-end, nxml-move-tag-backwards)
438 (nxml-scan-element-forward, nxml-scan-element-backward): Doc fixes.
439 (nxml-scan-after-change): Fix typo in docstring.
440
441 * nxml/rng-match.el (rng-being-compiled, rng-normalize-choice-list)
442 (rng-name-class-possible-names): Doc fixes.
443 (rng-memo-map-add, rng-intern-group, rng-match-possible-namespace-uris)
444 (rng-match-possible-start-tag-names, rng-match-possible-value-strings):
445 Fix typos in docstrings.
446 (rng-intern-group-shortcut, rng-intern-choice-shortcut):
447 Reflow docstrings.
448
449 * nxml/rng-util.el (rng-uniquify-eq, rng-uniquify-equal): Doc fixes.
450 (rng-substq, rng-complete-before-point): Fix typos in docstrings.
451
452 * nxml/rng-xsd.el (rng-xsd-make-date-time-regexp)
453 (rng-xsd-convert-date-time): Reflow docstrings.
454 (rng-xsd-compile): Fix typo in docstring.
455
456 * nxml/rng-loc.el (rng-current-schema-file-name)
457 (rng-locate-schema-file-using, rng-locate-schema-file-from-type-id):
458 Doc fixes.
459 (rng-set-schema-file): Fix typo in docstring.
460
461 * nxml/rng-valid.el (rng-error-count, rng-validate-mode)
462 (rng-do-some-validation, rng-process-start-tag, rng-process-text):
463 Fix typos in docstrings.
464 (rng-message-overlay, rng-conditional-up-to-date-start)
465 (rng-conditional-up-to-date-end): Doc fixes.
466 (rng-next-error, rng-previous-error): Reflow docstrings.
467
468 * nxml/xmltok.el (xmltok-attribute-raw-normalized-value): Doc fix.
469 (xmltok-dtd, xmltok-dependent-regions, xmltok-attribute-refs)
470 (xmltok-valid-char-p, xmltok-standalone, xmltok-forward-prolog)
471 (xmltok-merge-attributes): Fix typos in docstrings.
472 (xmltok-make-attribute, xmltok-forward-special)
473 (xmltok-get-declared-encoding-position): Reflow docstrings.
474
475 * nxml/xsd-regexp.el (xsdre-char-class-to-range-list): Doc fix.
476 (xsdre-range-list-union, xsdre-check-range-list, xsdre-current-regexp):
477 Fix typos in docstrings.
478
479 2008-07-02 John Paul Wallington <jpw@pobox.com>
480
481 * ibuffer.el (ibuffer-buffer-file-name):
482 Use `list-buffers-directory'. Remove special-casing for `cvs-mode'
483 and `vc-dir-mode'. Suggested by Dan Nicolaescu.
484
485 2008-07-02 Toru Tsuneyoshi <t_tuneyosi@hotmail.com>
486
487 * files.el (backup-extract-version): Handle versioned directories.
488 (trash-directory): New variable.
489 (move-file-to-trash): New function.
490
491 * cus-start.el (delete-by-moving-to-trash): Declare for custom.
492
493 2008-07-02 Magnus Henoch <mange@freemail.hu>
494
495 * vc-git.el (vc-git-annotate-command): Use proper option for
496 specifying revision.
497
498 2008-07-02 Francesc Rocher <rocher@member.fsf.org>
499
500 * startup.el (fancy-splash-head): Prefer SVG or PNG splash image,
501 if available.
502
503 2008-07-01 Dan Nicolaescu <dann@ics.uci.edu>
504
505 * uniquify.el (uniquify-list-buffers-directory-modes): Add vc-dir-mode.
506
507 * vc-annotate.el (vc-annotate-mode-map): Use lower case keys.
508 Add binding for vc-annotate-show-changeset-diff-revision-at-line.
509
510 * vc-dir.el (vc-dir-mode): Set list-buffers-directory.
511
512 2008-07-01 Nick Roberts <nickrob@snap.net.nz>
513
514 * progmodes/gdb-ui.el (gdb-create-source-file-list): New option.
515 (gdb-init-2): Use it. Don't run gdb-mode-hook again.
516 (gdb-var-list-children-regexp, gdb-var-update-regexp)
517 (gdb-info-breakpoints-custom, gdb-stack-list-frames-regexp)
518 (gdb-var-list-children-regexp-1, gdb-var-update-regexp-1)
519 (gdb-stack-list-locals-regexp): Future proof regexps better.
520
521 2008-06-30 Juri Linkov <juri@jurta.org>
522
523 * faces.el (face-name-history): New variable.
524 (make-face, make-empty-face): Replace interactive spec "S"
525 with `read-from-minibuffer' where `read' arg is t and
526 `hist' arg is `face-name-history'.
527 (read-face-name): Set `hist' arg of `completing-read-multiple'
528 to `face-name-history'.
529 (list-faces-display): Use `read-regexp' instead of `read-string'
530 to read regexp.
531
532 * hi-lock.el (hi-lock-regexp-history): Make it an obsolete alias
533 to `regexp-history'.
534 (hi-lock-face-history): Rename to `hi-lock-face-defaults' and
535 make it an obsolete alias to it.
536 (hi-lock-face-defaults): New variable renamed from
537 `hi-lock-face-history'.
538 (hi-lock-line-face-buffer, hi-lock-face-buffer)
539 (hi-lock-face-phrase-buffer): Use `read-regexp' instead of
540 `read-from-minibuffer'. Doc fix.
541 (hi-lock-read-face-name): Replace `hi-lock-face-history' with
542 `hi-lock-face-defaults'. Remove `mapcar (lambda (f) (cons f f))'.
543 Set `hist' arg of `completing-read' to `face-name-history'.
544 Put a list of default faces to `default' arg instead of `hist' arg.
545
546 * bindings.el (abbrev-map, narrow-map): New variables.
547 Bind `C-x a' to `abbrev-map' and `C-x n' to `narrow-map'.
548 Rebind related commands to these new maps.
549 (ctl-x-r-map): New variable for rectangle, register and bookmark
550 keys. Move rectangle keybindings to rect.el and register
551 keybindings to register.el.
552 (next-buffer, previous-buffer): Remove C-x prefix and move
553 keybindings to ctl-x-map.
554
555 * bookmark.el: Rebind three global `C-x r' keys "b", "m", "l"
556 to the new map `ctl-x-r-map' in autoload cookies.
557
558 * expand.el: Rebind two global `C-x a' keys "n", "p"
559 to the new map `abbrev-map' in autoload cookies.
560
561 * rect.el: Bind global keys to ctl-x-r-map in autoload cookies.
562
563 * register.el: Bind global keys to ctl-x-r-map in autoload cookies.
564
565 2008-06-30 Miles Bader <miles@gnu.org>
566
567 * net/rcirc.el (rcirc-markup-attributes): Don't skip a character
568 after processing an escape sequence.
569
570 2008-06-29 Michael Albinus <michael.albinus@gmx.de>
571
572 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Revert patch
573 from 2008-06-28. It does not work on W32.
574
575 2008-06-29 Juri Linkov <juri@jurta.org>
576
577 * replace.el (read-regexp): New function.
578 (keep-lines-read-args, occur-read-primary-args):
579 Call `read-regexp' instead of code moved to new function.
580 (keep-lines, flush-lines, how-many): Remove parenthesis and colon
581 from the end of prompt.
582 (replace-re-search-function): Doc fix.
583
584 2008-06-29 Kenichi Handa <handa@m17n.org>
585
586 * descr-text.el (describe-char-display): Always return a string.
587 (describe-char-padded-string): New function.
588 (describe-char): Adjusted for the change of
589 describe-char-display. Use describe-char-padded-string.
590
591 2008-06-29 Andreas Schwab <schwab@suse.de>
592
593 * vc-dir.el (vc-dir): Make backend argument optional and use
594 vc-responsible-backend when nil. Interactively pass nil for
595 backend instead of using the backend of what happens to be
596 default-directory at the time of the call.
597
598 * find-dired.el (find-dired-filter): Preserve point.
599
600 2008-06-28 Juanma Barranquero <lekktu@gmail.com>
601
602 * net/sasl.el (sasl-client-set-property, sasl-make-mechanism)
603 (sasl-find-mechanism, sasl-next-step):
604 * net/sasl-ntlm.el (sasl-ntlm-steps, sasl-ntlm-request)
605 (sasl-ntlm-response): Fix typos in docstrings.
606
607 2008-06-28 robert marshall <robert@capuchin.co.uk> (tiny change)
608
609 * international/mule-cmds.el (view-hello-file): Doc fix.
610
611 2008-06-28 Chong Yidong <cyd@stupidchicken.com>
612
613 * faces.el (inhibit-face-set-after-frame-default): Var deleted.
614 (set-face-attribute, face-set-after-frame-default)): Don't use it.
615
616 2008-06-28 John Paul Wallington <jpw@pobox.com>
617
618 * calc/calc.el (defmath): Add `doc-string' decl. Add docstring.
619
620 2008-06-28 Michael Albinus <michael.albinus@gmx.de>
621
622 * net/tramp.el (tramp-handle-file-modes): Handle symlinks.
623 (tramp-convert-file-attributes): Convert symlinks only when
624 returned from `tramp-handle-file-attributes-with-stat'.
625
626 * net/tramp-ftp.el (top): Delete 'ange-ftp property from
627 `substitute-in-file-name' when unloading.
628 (tramp-ftp-file-name-handler): Set `tramp-mode' to nil.
629
630 2008-06-28 Dan Nicolaescu <dann@ics.uci.edu>
631
632 * vc-dir.el (vc-dir-hide-up-to-date): Also hide empty directories.
633 (vc-string-prefix-p): Move function ...
634 * vc.el (vc-string-prefix-p): ... here.
635
636 2008-06-27 Juanma Barranquero <lekktu@gmail.com>
637
638 * vc-dir.el (vc-dir): Complete only directory names.
639
640 2008-06-27 Jason Rumney <jasonr@gnu.org>
641
642 * w32-fns.el (top-level): Unconditionally define all charsets.
643
644 2008-06-27 Alan Mackenzie <acm@muc.de>
645
646 * progmodes/cc-mode.el (c-mode-base-map): Don't bind C-M-[ae] to
647 the CC Mode specific functions; this is no longer needed, since
648 {beginning,end}-of-defun now pass ARG to ...-of-defun-function.
649
650 * progmodes/cc-defs.el (c-emacs-features): New feature
651 'argumentative-bod-function.
652
653 2008-06-27 John Paul Wallington <jpw@pobox.com>
654
655 * chistory.el (list-command-history): Use `bound-and-true-p'.
656 (command-history-map): Define within defvar. Add docstring.
657
658 2008-06-27 Juanma Barranquero <lekktu@gmail.com>
659
660 * image.el (image-jpeg-p): Don't fail if the arg cannot be converted
661 to unibyte; just assume it is not a JPEG. Use `string-match-p'.
662 (image-type-from-data, image-type-from-file-name): Use `string-match-p'.
663 (image-type-from-buffer): Use `looking-at-p'.
664
665 2008-06-27 Juanma Barranquero <lekktu@gmail.com>
666
667 * ibuf-ext.el (diff-sentinel): Declare.
668
669 2008-06-27 Glenn Morris <rgm@gnu.org>
670
671 * calendar/lunar.el (calendar-lunar-phases): Rename from
672 calendar-phases-of-moon. Keep old name as alias, update callers.
673 (lunar-phases): Rename from phases-of-moon. Keep old name as alias.
674 (diary-lunar-phases): Rename from diary-phases-of-moon.
675 Keep old name as alias.
676 * calendar/cal-menu.el (cal-menu-sunmoon-menu)
677 (cal-menu-global-mouse-menu): Update for lunar name changes.
678 * calendar/calendar.el (calendar-mode-map): Update for name change.
679 * calendar/diary-lib.el (diary-list-sexp-entries): Doc update.
680
681 2008-06-26 Glenn Morris <rgm@gnu.org>
682
683 * calendar/solar.el (solar-sunrise-sunset-string): Add optional
684 argument `nolocation'.
685 (calendar-sunrise-sunset-month): New function.
686 * calendar/cal-menu.el (cal-menu-sunmoon-menu): Rename from
687 cal-menu-moon-menu. Add calendar-sunrise-sunset-month.
688 (cal-menu-global-mouse-menu): Add calendar-sunrise-sunset-month.
689 * calendar/calendar.el (solar-sunrises-buffer): New constant.
690 (calendar-mode-map): Use cal-menu-sunmoon-menu.
691 (calendar-buffer-list): Add solar-sunrises-buffer.
692
693 * calendar/cal-menu.el (cal-menu-goto-menu): Tweak menu name.
694
695 2008-06-26 Chong Yidong <cyd@stupidchicken.com>
696
697 * cus-start.el: Add customization types for word-wrap and
698 shift-select-mode.
699
700 2008-06-26 John Paul Wallington <jpw@pobox.com>
701
702 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): New function.
703 (ibuffer-diff-with-file): Use it. Do diff on marked buffers.
704 (ibuffer-mark-on-buffer): Don't display message when removing marks.
705 (ibuffer-mark-by-mode): Use `buffer-local-value'.
706
707 2008-06-26 Dan Nicolaescu <dann@ics.uci.edu>
708
709 * vc-dir.el (tool-bar): Require.
710
711 * vc.el (ewoc, tool-bar): Do not require.
712
713 2008-06-26 Kenichi Handa <handa@m17n.org>
714
715 * international/mule-cmds.el (encode-coding-char): Fix for ASCII
716 characters.
717
718 * composite.el (terminal-composition-base-character-p): New function.
719 (terminal-composition-function):
720 Use terminal-composition-base-character-p. Include the base character
721 in the composition.
722 (auto-compose-chars): Don't check font-object for terminal display.
723
724 2008-06-26 Glenn Morris <rgm@gnu.org>
725
726 * doc-view.el (bookmark-make-record-default):
727 * image-mode.el (bookmark-make-record-default): Fix declaration.
728
729 * calendar/calendar.el (calendar-date-echo-text): Doc fix.
730 Add default :value for sexp type.
731 (calendar-month-edges): New variable.
732 (calendar-month-edges): New function.
733 (calendar-recompute-layout-variables): Set calendar-month-edges.
734 (calendar-intermonth-header, calendar-intermonth-text): New options.
735 (calendar-insert-at-column): New function.
736 (calendar-generate-month): Use calendar-insert-at-column.
737 Handle intermonth text. Add 'date property.
738 (calendar-column-to-month): Remove function.
739 (calendar-column-to-segment): New function.
740 (calendar-cursor-to-date): Use calendar-column-to-segment.
741 Check 'date property.
742
743 * calendar/calendar.el (calendar-print-other-dates):
744 Handle mouse events.
745 * calendar/cal-menu.el (calendar-mouse-print-dates): Remove function.
746 (cal-menu-context-mouse-menu): Use calendar-print-other-dates.
747
748 * calendar/holidays.el (calendar-cursor-holidays): Handle mouse events.
749 * calendar/cal-menu.el (calendar-mouse-holidays): Remove function.
750 (cal-menu-context-mouse-menu): Use calendar-cursor-holidays.
751
752 * calendar/cal-move.el (calendar-cursor-to-nearest-date):
753 Use calendar-column-to-segment, calendar-month-edges, and
754 the 'date property to handle intermonth text.
755
756 * calendar/cal-iso.el (calendar-iso-from-absolute): Add autoload cookie.
757
758 * calendar/cal-menu.el (cal-menu-moon-menu, cal-menu-diary-menu)
759 (cal-menu-holidays-menu, cal-menu-goto-menu, cal-menu-scroll-menu):
760 Add doc strings.
761 (cal-menu-context-mouse-menu): Add some :keys.
762 (calendar-check-holidays): Declare rather than autoloading.
763 (diary-show-holidays-flag): Remove unneeded declaration.
764
765 * calendar/cal-menu.el (cal-menu-moon-menu): Add sunrise/sunset.
766 * calendar/calendar.el (calendar-cursor-to-date): Handle case where
767 event-start is nil.
768
769 2008-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
770
771 * minibuffer.el (completion-basic-try-completion): Use the text after
772 point to constrain the completion candidates.
773 (completion-basic-all-completions): Adjust accordingly.
774
775 2008-06-25 Chong Yidong <cyd@stupidchicken.com>
776
777 * textmodes/tex-mode.el (tex-verbatim): Use monospace instead of
778 courier.
779
780 * faces.el (set-face-attribute): Doc fix.
781
782 2008-06-25 Juri Linkov <juri@jurta.org>
783
784 * bindings.el (goto-map): New variable. Rebind goto-related
785 commands to this `M-g' prefix keymap.
786 (search-map): New variable for `M-s' prefix keymap.
787 Bind `M-s o' to `occur', `M-shr' to `highlight-regexp', `M-shp' to
788 `highlight-phrase', `M-shl' to `highlight-lines-matching-regexp',
789 `M-shu' to `unhighlight-regexp', `M-shf' to `hi-lock-find-patterns',
790 `M-shw' to `hi-lock-write-interactive-patterns'.
791
792 * isearch.el (isearch-mode-map): Bind `M-s h r' to
793 `isearch-highlight-regexp'.
794 (isearch-highlight-regexp): New function.
795
796 2008-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
797
798 * info.el (Info-bookmark-make-record):
799 Use bookmark-make-record-default.
800 (Info-bookmark-jump): Use bookmark-default-handler.
801
802 * image-mode.el (image-bookmark-make-record):
803 Use bookmark-make-record-default.
804 (image-bookmark-jump): Use bookmark-default-handler.
805
806 * doc-view.el (doc-view-bookmark-make-record):
807 Use bookmark-make-record-default.
808 (doc-view-bookmark-jump): Use bookmark-default-handler.
809
810 * bookmark.el (bookmark-alist): Allow the 2 slightly different formats
811 used until now in bookmark.el's code.
812 (bookmark-get-bookmark): Accept bookmark names or bookmark records.
813 (bookmark-get-bookmark-record): Allow the 2 slightly different formats
814 used until now in bookmark.el's code.
815 (bookmark-set-filename): Remove special code, moved to its only caller.
816 (bookmark-store): Use the newer format.
817 (bookmark-make-record-default): Add arg `point-only'.
818 Rename from bookmark-make-record-for-text-file.
819 (bookmark--jump-via): New function.
820 (bookmark-jump, bookmark-jump-other-window, bookmark-bmenu-2-window)
821 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window):
822 Use it.
823 (bookmark-jump-noselect, bookmark-default-handler):
824 Don't return an alist, instead return the data implicitly by changing
825 current buffer and point. Signal an error if the file doesn't exist.
826
827 * buff-menu.el: Use with-current-buffer and inhibit-read-only.
828 (Buffer-menu-toggle-read-only): Avoid vc-toggle-read-only.
829
830 * bs.el: Use with-current-buffer. Simplify.
831 (bs-toggle-readonly): Avoid vc-toggle-read-only.
832
833 * eshell/esh-cmd.el (eshell-manipulate): Check eshell-debug-command
834 is bound before using it.
835
836 2008-06-25 Kenichi Handa <handa@m17n.org>
837
838 * image.el (image-jpeg-p): Convert DATA to unibyte at first.
839
840 2008-06-25 Dan Nicolaescu <dann@ics.uci.edu>
841
842 * vc-hg.el:
843 * vc-git.el: Require vc-dir when compiling.
844
845 * vc-dir.el (vc-dir-marked-only-files-and-states): Rename from
846 vc-dir-marked-only-files. Change the return value.
847 (vc-dir-child-files-and-states): Rename from vc-dir-child-files.
848 Change the return value.
849 (vc-dir-deduce-fileset): New function broken out from ...
850 * vc.el (vc-deduce-fileset): ... here and ...
851 (vc-deduce-fileset): ... here.
852
853 * vc-svn.el (vc-annotate-parent-rev): Pacify byte compiler.
854 (vc-svn-parse-status): Do not set the vc-backend property.
855
856 2008-06-25 Andreas Schwab <schwab@suse.de>
857
858 * faces.el (face-font-family-alternatives, variable-pitch):
859 Use "Sans Serif", not "Sans-Serif".
860
861 2008-06-24 Chong Yidong <cyd@stupidchicken.com>
862
863 * faces.el (face-font-family-alternatives, variable-pitch):
864 Change "Sans" to the canonical name "Sans-Serif".
865
866 2008-06-24 Jay Belanger <jay.p.belanger@gmail.com>
867
868 * calc/calc.el (calc-mode-map): Add extra keybindings to
869 `calc-missing-key'.
870 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
871 `kill-ring-save'.
872
873 2008-06-24 Miles Bader <miles@gnu.org>
874
875 * mouse.el (mouse-appearance-menu): Don't do anything if the user
876 pops up the menu but doesn't select anything.
877
878 2008-06-24 Dan Nicolaescu <dann@ics.uci.edu>
879
880 * add-log.el (add-change-log-entry): Add new arg to force each new
881 entry to be on a new line.
882 * diff-mode.el (diff-add-change-log-entries-other-window): Use it.
883
884 * vc-dir.el (vc-client-object): Remove.
885 (vc-dir-prepare-status-buffer): Take a backend as an argument and
886 use it when looking for a buffer.
887 (vc-dir): Add a backend argument. Set revert-buffer-function.
888 Don't create a client object. Move bindings ...
889 (vc-dir-menu-map, vc-dir-mode-map): ... here.
890 (vc-dir-revert-buffer-function): New function.
891 (vc-generic-status-printer): Rename to ...
892 (vc-dir-status-printer): ... this.
893 (vc-generic-state, vc-generic-status-fileinfo-extra)
894 (vc-dir-extra-menu, vc-make-backend-object): Remove.
895 (vc-default-status-printer): Use a different face for
896 directories. Don't display any text for directories in the state
897 column. Add tooltips.
898
899 * vc.el (Todo): Update.
900
901 * vc-hg.el (vc-annotate-convert-time, vc-default-status-printer):
902 * vc-rcs.el (vc-annotate-convert-time):
903 * vc-mtn.el (vc-annotate-convert-time):
904 * vc-git.el (vc-annotate-convert-time):
905 * vc-cvs.el (vc-annotate-convert-time):
906 * vc-bzr.el (vc-annotate-convert-time): Declare as functions.
907
908 2008-06-23 Dan Nicolaescu <dann@ics.uci.edu>
909
910 * vc-annotate.el (vc-annotate-mode): Derive from special-mode
911 instead of using view-mode.
912
913 2008-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
914
915 * Makefile.in (distclean): Don't delete *.elc and autogen files.
916
917 2008-06-22 Dan Nicolaescu <dann@ics.uci.edu>
918
919 * vc.el:
920 * vc-hooks.el:
921 * vc-dispatcher.el: Move vc-dir variables and functions ...
922 * vc-dir.el: ... here. New file.
923 * Makefile.in (ELCFILES): Add vc-dir.elc.
924
925 * vc.el: Move vc-annotate variables and functions ...
926 * vc-annotate.el: ... here. New file.
927 * Makefile.in (ELCFILES): Add vc-annotate.elc.
928
929 * vc-dav.el: Move here from url/vc-dav.el.
930 (Todo): Note work needed to make this backend functional.
931
932 * Makefile.in (ELCFILES): Update vc-dav.el location.
933
934 2008-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
935
936 * Makefile.in (COMPILE_FIRST): Trim down and add autoload.el.
937
938 2008-06-21 John Paul Wallington <jpw@pobox.com>
939
940 * emacs-lisp/derived.el (define-derived-mode): Add `doc-string' decl.
941
942 * textmodes/rst.el (rst-mode): Put docstring in right place.
943
944 2008-06-21 Chong Yidong <cyd@stupidchicken.com>
945
946 * startup.el (fancy-about-text, fancy-startup-tail): Increase text
947 size for legibility.
948
949 * faces.el (fixed-pitch): Use "Monospace" family.
950 (variable-pitch): Use "Sans" family.
951 (face-font-family-alternatives): Define alternatives for "Sans"
952 and "Monospace".
953
954 2008-06-21 Glenn Morris <rgm@gnu.org>
955
956 * mail/hashcash.el, net/tramp-smb.el, nxml/nxml-mode.el:
957 Require 'cl when compiling.
958
959 * emacs-lisp/debug.el (help-xref-interned): Declare.
960
961 * emacs-lisp/easy-mmode.el (easy-mmode-set-keymap-parents):
962 Evaluate definition when compiling.
963
964 * progmodes/bug-reference.el (bug-reference-map): Bind down-mouse-1
965 rather than mouse-1.
966 (bug-reference-url-format): Autoload safe if string.
967 (bug-reference-bug-regexp): Make space after "bug" optional.
968
969 * Makefile.in (all): Explicitly pass EMACS to sub-make,
970 for some non-GNU makes.
971
972 * cus-dep.el (custom-dependencies-no-scan-regexp):
973 * finder.el (finder-no-scan-regexp): Add ldefs-boot.el
974
975 * calendar/cal-move.el (calendar-forward-day): Scroll in one month
976 increments.
977
978 * calendar/calendar.el: Factor out the magic numbers controlling the
979 calendar layout.
980 (calendar-month-digit-width, calendar-month-width)
981 (calendar-right-margin): New variables.
982 (calendar-recompute-layout-variables, calendar-set-layout-variable):
983 New functions.
984 (calendar-left-margin, calendar-intermonth-spacing)
985 (calendar-column-width, calendar-day-header-width)
986 (calendar-day-digit-width): New options.
987 (calendar-first-date-row): New constant.
988 (calendar-move-to-column, calendar-ensure-newline): New functions,
989 replacing calendar-insert-indented.
990 (calendar-insert-indented): Remove function.
991 (calendar-generate-month): Use calendar-move-to-column and
992 calendar-ensure-newline. Use layout variables.
993 (calendar-generate, calendar-update-mode-line)
994 (calendar-font-lock-keywords): Use layout variables.
995 (calendar-column-to-month): New function.
996 (calendar-cursor-to-date): Use calendar-column-to-month.
997 Use layout variables.
998 * calendar/cal-move.el (calendar-cursor-to-nearest-date):
999 Use layout variables. Use calendar-column-to-month.
1000 (calendar-cursor-to-visible-date): Use layout variables.
1001
1002 2008-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
1003
1004 * Makefile.in (update-elclist): Don't exclude COMPILE_FIRST.
1005 (all): Run compile-last.
1006 (compile-onefile): New target.
1007 (compile-first): Simplify.
1008 (compile-last): Don't treat COMPILE_FIRST specially.
1009 (COMPILE_FIRST): List the elc files rather than the el files.
1010 (ELCFILES): Update.
1011
1012 2008-06-21 Ulf Jasper <ulf@web.de>
1013
1014 * net/newst-treeview.el: Remove dead code.
1015 (newsticker--window-config): Remove.
1016 (newsticker-treeview-quit): Do not save window config.
1017 (newsticker-treeview): Do not try to restore window config.
1018 (newsticker-groups, newsticker--treeview-list-sort-by-column)
1019 (newsticker--treeview-list-new-items)
1020 (newsticker--treeview-list-immortal-items)
1021 (newsticker--treeview-list-obsolete-items)
1022 (newsticker--treeview-list-all-items)
1023 (newsticker--treeview-list-feed-items): Fix documentation.
1024
1025 2008-06-21 Miles Bader <miles@gnu.org>
1026
1027 * face-remap.el (text-scale-adjust): Bind `echo-keystrokes' to nil.
1028
1029 2008-06-21 Alan Mackenzie <acm@muc.de>
1030
1031 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5D.5): Fix an
1032 infinite loop on invalid syntax.
1033
1034 2008-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
1035
1036 * textmodes/rst.el: Run rst-define-level-faces when loading.
1037 (rst-mode): Don't set the font-lock-multiline var.
1038 (rst-font-lock-find-unindented-line, rst-font-lock-handle-adornment):
1039 Set the font-lock-multiline property by hand.
1040
1041 * loadup.el: Don't add emacs-<VERS> name when bootstrapping.
1042
1043 * Makefile.in (emacs-deps): Remove.
1044 ($(lisp)/cus-load.el, $(lisp)/finder-inf.el): Re-add.
1045 (all): Use them.
1046 (autogen-clean): Remove.
1047
1048 2008-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1049
1050 * Makefile.in (all): New target.
1051 (bootstrap-prepare): Remove.
1052
1053 * Makefile.in ($(lisp)/progmodes/cc-mode.elc): Pass the .el file not
1054 the .elc file to batch-byte-compile.
1055
1056 * progmodes/cc-mode.el (c-make-inherited-keymap): Only use
1057 set-keymap-parents if set-keymap-parent doesn't exist.
1058
1059 * vc-bzr.el (vc-bzr-annotate-extract-revision-at-line):
1060 Allow more than one space before the |.
1061
1062 * textmodes/rst.el: Fix up docstring conventions.
1063 Move vars to before their first use.
1064 (rst-mode): Don't mess with font-lock-support-mode.
1065 (rst-suggest-new-decoration, rst-adjust-decoration):
1066 Avoid CL's copy-list.
1067 (rst-delete-entire-line): Use line-beginning-position.
1068 (rst-position): New fun.
1069 (rst-straighten-decorations): Use it instead of CL's position.
1070 (rst-straighten-bullets-region): Avoid CL's mapcar*.
1071 (rst-toc-mode): Use define-derived-mode.
1072 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2):
1073 Remove unused var `in-par'. Use `point' rather than `point-marker'.
1074 (rst-line-block-region): Reduce redundancy. Use the `pfxarg' arg.
1075 (rst-replace-lines): Simplify.
1076 (auto-mode-alist): Use rst-mode for *.rst and *.rest files.
1077
1078 * simple.el (special-mode-map): New var.
1079 (special-mode): New major mode.
1080
1081 2008-06-20 Dan Nicolaescu <dann@ics.uci.edu>
1082
1083 * vc-mtn.el (vc-mtn-log-view-mode): Set log-view-per-file-logs and
1084 log-view-file-re.
1085
1086 * vc.el (vc-dir-hide-up-to-date): Undo previous change.
1087 (vc-switch-backend): Simplify.
1088 (Todo): Remove solved items.
1089
1090 * vc-cvs.el (vc-cvs-parse-status, vc-cvs-parse-entry): Do not set
1091 the vc-backend property.
1092
1093 2008-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1094
1095 * emacs-lisp/checkdoc.el (checkdoc-start-section, checkdoc-error):
1096 Bind inhibit-read-only since the buffer is always read-only.
1097
1098 2008-06-20 Ulf Jasper <ulf@web.de>
1099
1100 * net/newst-treeview.el (newsticker-treeview-own-frame):
1101 Change default value to nil.
1102 (newsticker--treeview-list-add-item)
1103 (newsticker--treeview-propertize-tag): Show item title in tooltip.
1104
1105 2008-06-20 Martin Blais <blais@furius.ca>
1106 Stefan Merten <smerten@oekonux.de>
1107 David Goodger <goodger@python.org>
1108
1109 * textmodes/rst.el: New file.
1110
1111 2008-06-20 Sam Steingold <sds@gnu.org>
1112
1113 * vc.el (vc-dir-hide-up-to-date): Accept a prefix argument to also
1114 remove DIRECTORY entries.
1115
1116 2008-06-20 Eli Zaretskii <eliz@gnu.org>
1117
1118 * makefile.w32-in (distclean): Depend on `clean'.
1119 (clean): Delete calc/calc-loaddefs.el~ and eshell/esh-groups.el~.
1120 (AUTOGENEL): Add $(lisp)/nxml/subdirs.el.
1121 ($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an
1122 empty cus-load.el with `echo', and include "Local Variables"
1123 section to prevent the empty file from being compiled.
1124 (cus-load.el-SH, cus-load.el-CMD): New SHELLTYPE-specific targets
1125 that generate an empty cus-load.el.
1126
1127 2008-06-20 Juanma Barranquero <lekktu@gmail.com>
1128
1129 * makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
1130 Don't copy ldefs-boot.el over loaddefs.el.
1131 (bootstrap-clean): Remove loaddefs.el and don't depend on it.
1132 (loaddefs.el-SH, loaddefs.el-CMD): Don't add autoloads and defvars
1133 to loaddefs.el; they are not needed now. Add coding cookie.
1134
1135 2008-06-20 Miles Bader <miles@gnu.org>
1136
1137 * face-remap.el (face-remap-add-relative, face-remap-set-base):
1138 Strip unnecessary list levels from SPECS.
1139 (buffer-face-set, buffer-face-toggle):
1140 Change argument from FACE to &rest SPECS, and strip unnecessary
1141 list levels from SPECS.
1142 (buffer-face-mode-invoke): Change argument from FACE to SPECS.
1143
1144 2008-06-20 Jason Rumney <jasonr@gnu.org>
1145
1146 * international/fontset.el (setup-default-fontset): Specify script
1147 for latin use of iso10646-1. Fix use of lang tags.
1148
1149 2008-06-19 Miles Bader <miles@gnu.org>
1150
1151 * face-remap.el (text-scale-increase): Start from zero if
1152 text-scale-mode isn't enabled.
1153
1154 2008-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
1155
1156 * faces.el (face-set-after-frame-default): Re-apply explicit `font'
1157 frame parameters after setting up the `default' face.
1158
1159 2008-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1160
1161 * faces.el (face-set-after-frame-default): Don't exclude `default'.
1162
1163 2008-06-18 Glenn Morris <rgm@gnu.org>
1164
1165 * mouse.el (buffer-face-mode-invoke): Declare.
1166
1167 * Makefile.in (ELCFILES): Add org/org-id.elc.
1168
1169 * calendar/holidays.el (calendar-cursor-holidays): Accept optional date.
1170 * calendar/cal-menu.el (cal-menu-holidays-menu):
1171 Use calendar-cursor-holidays rather than cal-menu-today-holidays.
1172 (cal-menu-today-holidays): Remove function.
1173
1174 * calendar/cal-menu.el (cal-menu-holiday-window-suffix): Simplify.
1175 (cal-menu-list-holidays-year, cal-menu-list-holidays-following-year)
1176 (cal-menu-list-holidays-previous-year, calendar-mouse-goto-date):
1177 Remove unused functions.
1178 (calendar-mouse-view-diary-entries): Use format rather than concat.
1179
1180 * calendar/cal-menu.el (cal-menu-x-popup-menu): Turn it into a macro.
1181 (calendar-mouse-holidays, calendar-mouse-view-diary-entries)
1182 (calendar-mouse-print-dates): Adapt for cal-menu-x-popup-menu change.
1183
1184 * calendar/cal-menu.el (cal-menu-event-to-date): Remove function.
1185 (calendar-mouse-holidays, calendar-mouse-view-diary-entries)
1186 (calendar-mouse-view-other-diary-entries, calendar-mouse-print-dates)
1187 (cal-menu-set-date-title): Use calendar-cursor-to-date rather than
1188 cal-menu-event-to-date.
1189
1190 * calendar/cal-html.el (cal-html-cursor-month, cal-html-cursor-year):
1191 Handle mouse events.
1192 * calendar/cal-tex.el (cal-tex-cursor-year)
1193 (cal-tex-cursor-year-landscape, cal-tex-cursor-filofax-year)
1194 (cal-tex-cursor-month-landscape, cal-tex-cursor-month)
1195 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1196 (cal-tex-cursor-week-monday, cal-tex-cursor-filofax-2week)
1197 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily)
1198 (cal-tex-cursor-day): Handle mouse events. Rename ARG to N.
1199 (cal-tex-cursor-month): Mark N as optional.
1200 * calendar/cal-menu.el (calendar-mouse-tex-day)
1201 (calendar-mouse-tex-week, calendar-mouse-tex-week2)
1202 (calendar-mouse-tex-week-iso, calendar-mouse-tex-week-monday)
1203 (calendar-mouse-tex-filofax-daily, calendar-mouse-tex-filofax-2week)
1204 (calendar-mouse-tex-filofax-week, calendar-mouse-tex-month)
1205 (calendar-mouse-tex-month-landscape, calendar-mouse-tex-year)
1206 (calendar-mouse-tex-filofax-year, calendar-mouse-tex-year-landscape):
1207 Remove functions.
1208 (cal-menu-context-mouse-menu): Replace the above functions with the
1209 cal-tex versions. Add HTML submenu.
1210
1211 2008-06-17 Nick Roberts <nickrob@snap.net.nz>
1212
1213 * progmodes/gdb-ui.el (gud-gdba-marker-filter): Don't switch to
1214 text command mode.
1215 (gdb): Explain that gud-gdb is needed for text command mode.
1216
1217 2008-06-17 Martin Rudalics <rudalics@gmx.at>
1218
1219 * window.el (split-height-threshold): Remove spurious extra line.
1220
1221 2008-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
1222
1223 * calendar/calendar.el (calendar-cursor-to-date): Add argument `event'.
1224 (calendar-set-mark):
1225 * calendar/diary-lib.el (diary-insert-entry):
1226 * calendar/solar.el (calendar-sunrise-sunset): Use it.
1227 * calendar/cal-menu.el (calendar-mouse-sunrise/sunset)
1228 (calendar-mouse-insert-diary-entry, calendar-mouse-set-mark): Delete.
1229 (cal-menu-context-mouse-menu): Use calendar-set-mark,
1230 diary-insert-entry, and calendar-sunrise-sunset instead.
1231
1232 * vc.el (vc-deduce-fileset): Add arg `only-files'.
1233 (vc-next-action): Pass the new arg.
1234 (vc-register): Don't use `only-files'.
1235 Don't set `backup-inhibited' in the current buffer.
1236
1237 2008-06-17 Miles Bader <miles@gnu.org>
1238
1239 * mouse.el (mouse-appearance-menu): Use buffer-face-mode.
1240
1241 * face-remap.el (buffer-face-mode-face)
1242 (buffer-face-mode-remapping): New variables.
1243 (buffer-face-mode, buffer-face-set, buffer-face-toggle)
1244 (buffer-face-mode-invoke): New functions.
1245 (variable-pitch-mode-remapping): Variable removed.
1246 (variable-pitch-mode): Rewrite as an interface to `buffer-face-mode'.
1247
1248 * face-remap.el (internal-lisp-face-attributes): New variable.
1249 (face-attrs-more-relative-p, face-remap-order): New functions.
1250 (face-remap-add-relative): Use `face-remap-order'.
1251
1252 2008-06-17 Glenn Morris <rgm@gnu.org>
1253
1254 * mouse.el (x-select-font): Declare.
1255
1256 * calendar/calendar.el (calendar-move-hook):
1257 Add calendar-update-mode-line as an option.
1258 (calendar-date-echo-text): New user option.
1259 (calendar-generate-month): Set `day'. Use calendar-date-echo-text.
1260 (calendar-insert-indented): Simplify newline insertion.
1261 (calendar-describe-mode): Remove unused function.
1262 (calendar-mode-line-entry): New function.
1263 (calendar-mode-line-format): Doc fix. Use calendar-mode-line-entry.
1264 Mark as risky.
1265 (calendar-mouse-other-month): Remove function.
1266 (calendar-other-month): Handle mouse events.
1267 (calendar-goto-info-node): Call fit-window-to-buffer.
1268 (calendar-mode): Use define-derived-mode. Doc fix.
1269 (calendar-update-mode-line): Tweak whitespace.
1270
1271 2008-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
1272
1273 * vc-dispatcher.el (vc-dir-child-files): Use vc-string-prefix-p.
1274 (vc-dir-marked-only-files): vc-string-prefix-p.
1275
1276 2008-06-16 Nick Roberts <nickrob@snap.net.nz>
1277
1278 * progmodes/gdb-ui.el (gdb-memory-set-address)
1279 (gdb-memory-set-repeat-count): Allow keyboard bindings.
1280 (gdb-memory-mode-map): Bind above functions respectively
1281 to 'S' and 'N'.
1282
1283 2008-06-16 Derek Upham <sand@blarg.net> (tiny change)
1284
1285 * nxml/nxml-mode.el (nxml-mode): Use run-mode-hooks.
1286
1287 2008-06-16 Juanma Barranquero <lekktu@gmail.com>
1288
1289 * log-view.el (vc-diff-internal): Declare for compiler.
1290
1291 * vc-bzr.el (log-view-per-file-logs):
1292 * vc-svn.el (log-view-per-file-logs): Pacify byte compiler.
1293
1294 2008-06-15 Chong Yidong <cyd@stupidchicken.com>
1295
1296 * mouse.el (mouse-appearance-menu-map): New var.
1297 (mouse-appearance-menu): New function.
1298 Bind it to S-down-mouse-1.
1299
1300 2008-06-15 Juri Linkov <juri@jurta.org>
1301
1302 * info.el (Info-toc): Call Info-toc-nodes instead of Info-build-toc.
1303 (Info-toc, Info-insert-toc): Increment nth's index to add PARENT
1304 as the second element.
1305 (Info-build-toc): Add PARENT element extracted from the Up pointer.
1306 Don't print progress messages.
1307 (Info-toc-nodes): New variable and function.
1308 (Info-index-nodes): Optimize non-string file name case.
1309 (Info-breadcrumbs-depth): Increment the default value from 3 to 4.
1310 (Info-insert-breadcrumbs): Use the cached document structure instead
1311 of visiting all ancestor nodes. Remove the initial `>'.
1312
1313 2008-06-15 Dan Nicolaescu <dann@ics.uci.edu>
1314
1315 * log-view.el (log-view-diff-changeset): New function.
1316 (log-view-mode-map, log-view-mode-menu): Bind it.
1317 (log-view-per-file-logs, log-view-vc-fileset)
1318 (log-view-vc-backend): New variables.
1319 (log-view-find-revision, log-view-modify-change-comment)
1320 (log-view-annotate-version): Throw an error if the log is for more
1321 than one file and we can't find the current file. Get the current
1322 file from log-view-vc-fileset if necessary.
1323 (log-view-diff): Get the current file from log-view-vc-fileset if
1324 necessary.
1325
1326 * vc.el (vc-print-log): Set log-view-vc-fileset and log-view-vc-backend.
1327
1328 * vc-hg.el (vc-hg-log-view-mode): Call the log method only once.
1329 (vc-hg-log-view-mode): Declare for compiler.
1330 (vc-hg-log-view-mode): Set log-view-per-file-logs and
1331 log-view-file-re.
1332 (vc-hg-diff): If no file is passed, use default-directory for cwd.
1333
1334 * vc-bzr.el (vc-bzr-log-view-mode): Set log-view-per-file-logs.
1335
1336 * vc-svn.el (vc-svn-log-view-mode): New derived mode.
1337
1338 2008-06-15 Michael Albinus <michael.albinus@gmx.de>
1339
1340 * net/tramp.el (tramp-handle-start-file-process):
1341 Clear modification time of the connection buffer.
1342 (tramp-sh-file-name-handler): Reset `tramp-locked' in case of error.
1343 (tramp-open-connection-setup-interactive-shell): Flush cache, and
1344 restart `tramp-maybe-open-connection' when the remote system has
1345 been changed. Throw 'uname-changed event.
1346 (tramp-maybe-open-connection): Catch it.
1347
1348 * net/tramp-cmds.el (tramp-cleanup-all-connections):
1349 Reset `tramp-locked'.
1350
1351 2008-06-15 Ulf Jasper <ulf@web.de>
1352
1353 * net/newst-treeview.el (newsticker--treeview-list-update)
1354 (newsticker--treeview-item-update)
1355 (newsticker--treeview-tree-update)
1356 (newsticker-treeview-jump, newsticker-group-add-group)
1357 (newsticker-group-move-feed, newsticker-group-delete-group):
1358 Remove window dedication.
1359 (newsticker--group-manage-orphan-feeds): Handle ill-valued
1360 newsticker-groups.
1361 (newsticker--treeview-tree-expand): Don't manage orphan feeds here.
1362
1363 2008-06-15 Andreas Schwab <schwab@suse.de>
1364
1365 * vc-cvs.el (vc-cvs-status-extra-headers): Don't match newline
1366 when parsing CVS/Repository.
1367
1368 * wdired.el (wdired-search-and-rename): Fix undocumented change.
1369
1370 2008-06-15 Ulf Jasper <ulf@web.de>
1371
1372 * net/newst-plainview.el (newsticker-faces, newsticker-feed-face)
1373 (newsticker-extra-face, newsticker-enclosure-face): Moved to
1374 net/newst-reader.el.
1375
1376 * net/newst-reader.el (newsticker-faces, newsticker-feed-face)
1377 (newsticker-extra-face, newsticker-enclosure-face): Moved from
1378 net/newst-reader.el.
1379
1380 2008-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1381
1382 * international/encoded-kb.el (encoded-kbd-self-insert-utf-8):
1383 Catch and recover from case when the bytes we thought we were reading
1384 turn out to be something else entirely, such as latin-1 chars from
1385 quail. See bug#396.
1386
1387 2008-06-15 Dan Nicolaescu <dann@ics.uci.edu>
1388
1389 * vc.el (vc-deduce-fileset): Check if the buffer has a file.
1390 (vc-register): Call the backend function only once, instead of
1391 once for each file.
1392 (vc-next-action): Update call to vc-register.
1393 (vc-dir-register): Remove function.
1394 (vc-dir): Bind vc-register instead of vc-dir-register.
1395
1396 2008-06-14 Glenn Morris <rgm@gnu.org>
1397
1398 * Makefile.in (ELCFILES): Add net/newst-*.el.
1399
1400 2008-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
1401
1402 * wdired.el (wdired-do-renames): New function.
1403 (wdired-finish-edit): Use it to.
1404 (wdired-preprocess-files): Don't hardcode (point-min) == 1.
1405
1406 2008-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
1407
1408 * info.el (Info-insert-breadcrumbs): Don't break in apropos and toc.
1409
1410 2008-06-14 Martin Rudalics <rudalics@gmx.at>
1411
1412 * window.el (window--even-window-heights): Even window heights
1413 only if the selected window is higher than WINDOW.
1414 Reported by Stephen Berman <Stephen.Berman at gmx.net>.
1415
1416 2008-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
1417
1418 * info.el (Info-insert-breadcrumbs): Be careful to preserve history.
1419
1420 2008-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1421
1422 * term/linux.el (terminal-init-linux): Load t-mouse.
1423
1424 2008-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1425 Drew Adams <drew.adams@oracle.com>
1426
1427 * info.el (Info-breadcrumbs-depth): New var.
1428 (Info-insert-breadcrumbs): New function.
1429 (Info-fontify-node): Use it.
1430 (Info-mode-map): Move initialization into declaration.
1431
1432 2008-06-13 Ulf Jasper <ulf.jasper@web.de>
1433
1434 Rename net/newsticker-*.el to net/newst-*.el.
1435 * net/newst-backend.el: Rename from net/newsticker-backend.el.
1436 * net/newst-plainview.el: Rename from net/newsticker-plainview.el.
1437 * net/newst-reader.el: Rename from net/newsticker-reader.el.
1438 * net/newst-ticker.el: Rename from net/newsticker-ticker.el.
1439 * net/newst-treeview.el: Rename from net/newsticker-treeview.el.
1440 * net/newsticker-backend.el: Rename to net/newst-backend.el.
1441 * net/newsticker-plainview.el: Rename to net/newst-plainview.el.
1442 * net/newsticker-reader.el: Rename to net/newst-reader.el.
1443 * net/newsticker-ticker.el: Rename to net/newst-ticker.el.
1444 * net/newsticker-treeview.el: Rename to net/newst-treeview.el.
1445
1446 2008-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1447
1448 * progmodes/compile.el (compilation-start): Don't disable undo in
1449 comint buffer. Don't override the comint-filter with our own.
1450 (compilation-filter): Change point's insertion-type.
1451
1452 * comint.el (comint-output-filter): Use copy-marker.
1453
1454 2008-06-13 David Reitter <david.reitter@gmail.com>
1455
1456 * textmodes/flyspell.el (mail-mode-flyspell-verify):
1457 Check message-signature-separator exists before using it.
1458
1459 2008-06-13 Dan Nicolaescu <dann@ics.uci.edu>
1460
1461 * vc.el (vc-delete-file): Bind default-directory before calling
1462 the backend.
1463 (vc-annotate-show-diff-revision-at-line): Move most of the code to ...
1464 (vc-annotate-show-diff-revision-at-line-internal): ... here.
1465 New function.
1466 (vc-annotate-show-changeset-diff-revision-at-line): New function.
1467 (vc-annotate-mode-menu): Bind it.
1468
1469 2008-06-13 Jason Rumney <jasonr@gnu.org>
1470
1471 * term/w32-win.el (mouse-set-font): Remove overridden function.
1472 (w32-select-font): Declare as obsolete alias for x-select-font.
1473
1474 2008-06-13 Daniel Engeler <engeler@gmail.com>
1475
1476 These changes add serial port access.
1477 * term.el (term-update-mode-line): Modify.
1478 (serial-port-is-file-p, serial-nice-speed-history)
1479 (serial-no-speed, serial-mode-line-speed-menu)
1480 (serial-mode-line-config-menu): New variables and constants.
1481 (serial-name-history, serial-speed-history)
1482 (serial-supported-or-barf, serial-read-name, serial-read-speed)
1483 (serial-term, serial-speed, serial-mode-line-speed-menu-1)
1484 (serial-mode-line-speed-menu, serial-update-speed-menu)
1485 (serial-mode-line-config-menu-1, serial-mode-line-config-menu)
1486 (serial-update-config-menu): New functions.
1487
1488 2008-06-13 Glenn Morris <rgm@gnu.org>
1489
1490 * menu-bar.el (menu-set-font): Use fboundp rather than functionp.
1491
1492 * emacs-lisp/bytecomp.el (byte-compile-maybe-guarded): Doc fix.
1493
1494 2008-06-13 Kenichi Handa <handa@m17n.org>
1495
1496 * cus-face.el (custom-face-attributes): Add :foundry.
1497
1498 * faces.el (set-face-attribute): Parse "FOUNDRY-FAMILY" here.
1499 (face-x-resources): Add :foundry.
1500 (face-valid-attribute-values): Likewise.
1501 (face-attribute-name-alist): Likewise.
1502 (describe-face): Likewise.
1503
1504 2008-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1505
1506 * emacs-lisp/map-ynp.el (map-y-or-n-p): Accept non-char events.
1507
1508 2008-06-12 Chong Yidong <cyd@stupidchicken.com>
1509
1510 * longlines.el (longlines-search-forward, longlines-search-backward)
1511 (longlines-re-search-forward): Use a smarter search-spaces-regexp.
1512
1513 2008-06-12 Sam Steingold <sds@gnu.org>
1514
1515 * vc.el (vc-rename-file): DTRT when the destination is a directory
1516 name and the source is a file.
1517
1518 2008-06-12 Chong Yidong <cyd@stupidchicken.com>
1519
1520 * menu-bar.el (menu-set-font): Rename x-font-dialog to x-select-font.
1521
1522 2008-06-12 Glenn Morris <rgm@gnu.org>
1523
1524 * progmodes/f90.el (f90-beginning-of-subprogram)
1525 (f90-end-of-subprogram): Only give a message when interactive.
1526
1527 * term/mac-win.el (x-toolkit-scroll-bars): Check bound.
1528
1529 * progmodes/cperl-mode.el (cperl-info-on-command):
1530 Use display-pixel-height rather than x-display-pixel-height.
1531
1532 * mail/rmailedit.el (rmail-cease-edit):
1533 * vc-dispatcher.el (vc-dir-mode): Check tool-bar-mode is bound.
1534
1535 * emulation/edt.el (edt-xserver):
1536 * emulation/edt-mapper.el (edt-xserver): Use replace-regexp-in-string.
1537
1538 * emulation/edt-mapper.el: Drop test for Emacs < 19.
1539
1540 * mwheel.el (mouse-wheel-follow-mouse, mwheel-event-window):
1541 Evaluate definitions when compiling. Reverse tests.
1542
1543 * dframe.el (dframe-reposition-frame-emacs): Reorder test, and
1544 use unless.
1545
1546 * menu-bar.el (w32-menu-bar-open): Declare for compiler.
1547
1548 * textmodes/artist.el (x-pointer-shape):
1549 * term/x-win.el (x-parse-geometry, x-resource-name, accelerate-menu)
1550 (x-open-connection, x-server-max-request-size, x-get-resource):
1551 * term/w32console.el (x-setup-function-keys):
1552 * term/w32-win.el (x-parse-geometry, x-resource-name)
1553 (generate-fontset-menu, image-library-alist, x-open-connection)
1554 (setup-default-fontset, set-fontset-font, setup-default-fontset)
1555 (create-fontset-from-fontset-spec, create-fontset-from-x-resource)
1556 (x-get-resource):
1557 * term/mac-win.el (x-parse-geometry, x-resource-name)
1558 (x-get-selection-internal, tool-bar-mode, set-fontset-font)
1559 (new-fontset, x-display-list, x-open-connection, x-get-resource):
1560 * progmodes/gud.el (tooltip-last-mouse-motion-event, tooltip-hide)
1561 (tooltip-start-delayed-tip, tooltip-use-echo-area, tooltip-show)
1562 (tooltip-strip-prompt, tooltip-expr-to-print, tooltip-event-buffer):
1563 * progmodes/gdb-ui.el (tooltip-show, tooltip-use-echo-area)
1564 (tooltip-identifier-from-point, define-fringe-bitmap):
1565 * play/gamegrid.el (image-size):
1566 * play/bubbles.el (image-size):
1567 * mail/emacsbug.el (x-server-vendor, x-server-version):
1568 * international/mule-util.el (internal-char-font):
1569 * international/mule-diag.el (font-info, query-fontset, fontset-info)
1570 (fontset-alias-alist, fontset-list, fontset-plain-name):
1571 * international/mule-cmds.el (x-server-vendor, x-server-version):
1572 * international/fontset.el (font-encoding-charset-alist)
1573 (otf-script-alist, new-fontset, set-fontset-font)
1574 (x-pixel-size-width-font-regexp, vertical-centering-font-regexp)
1575 (fontset-list, query-fontset, x-get-resource):
1576 * emulation/edt.el (x-server-vendor):
1577 * emulation/edt-mapper.el (x-server-vendor):
1578 * emacs-lisp/map-ynp.el (x-popup-dialog):
1579 * emacs-lisp/lmenu.el (x-popup-dialog):
1580 * x-dnd.el (x-window-property, x-change-window-property)
1581 (x-get-selection-internal):
1582 * woman.el (x-list-fonts):
1583 * w32-fns.el (x-server-version):
1584 * tooltip.el (x-show-tip, x-hide-tip):
1585 * tool-bar.el (image-mask-p):
1586 * thumbs.el (image-size):
1587 * term.el (overflow-newline-into-fringe):
1588 * subr.el (scroll-bar-scale):
1589 * startup.el (x-get-resource, tool-bar-mode, image-size):
1590 * select.el (x-get-selection-internal, x-own-selection-internal)
1591 (x-disown-selection-internal):
1592 * mouse.el (generate-fontset-menu):
1593 * mouse-sel.el (x-select-text, x-cut-buffer-or-selection-value):
1594 * image.el (image-library-alist):
1595 * image-mode.el (image-size, image-refresh):
1596 * image-dired.el (clear-image-cache):
1597 * gs.el (x-display-mm-width, x-display-pixel-width)
1598 (x-display-mm-height, x-display-pixel-height)
1599 (x-change-window-property, x-display-grayscale-p, x-window-property):
1600 * frame.el (tool-bar-mode, x-display-name, x-close-connection)
1601 (x-focus-frame, x-list-fonts, x-display-screens)
1602 (x-display-pixel-height, x-display-pixel-width, x-display-mm-height)
1603 (x-display-mm-width, x-display-backing-store, x-display-save-under)
1604 (x-display-planes, x-display-color-cells, x-display-visual-class):
1605 * faces.el (internal-face-x-get-resource)
1606 (internal-set-lisp-face-attribute-from-resource, x-bitmap-file-path)
1607 (fontset-list, x-list-fonts, xw-color-defined-p, xw-color-values)
1608 (xw-display-color-p, x-display-grayscale-p, x-get-resource)
1609 (x-parse-geometry, x-create-frame, x-setup-function-keys)
1610 (tool-bar-setup):
1611 * doc-view.el (clear-image-cache, image-size, tooltip-show):
1612 * dired.el (dnd-get-local-file-name, dnd-get-local-file-uri):
1613 * dframe.el (x-display-pixel-width, x-display-pixel-height):
1614 * descr-text.el (internal-char-font):
1615 Define for compiler, for builds without X.
1616
1617 2008-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1618
1619 * vc-rcs.el (vc-rcs-state-heuristic): Don't assume the file exists.
1620
1621 2008-06-11 Glenn Morris <rgm@gnu.org>
1622
1623 * progmodes/fortran.el (fortran-end-of-subprogram): Check for a match
1624 before trying to move there.
1625 (fortran-calculate-indent): When fortran-check-all-num-for-matching-do
1626 is non-nil, indent most terminating statements like loop body.
1627
1628 * calendar/diary-lib.el (diary-list-entries-2): Accept optional
1629 Gregorian date, and add it, not the local date, to diary-entries-list.
1630 (diary-list-entries-1): Pass Gregorian date to diary-list-entries-2.
1631
1632 2008-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1633
1634 * progmodes/compile.el (compilation-filter): Fix up last change.
1635
1636 * term/linux.el (terminal-init-linux): Use gpm-mouse-enable.
1637
1638 * t-mouse.el (gpm-mouse-enable, gpm-mouse-disable): New functions.
1639 (gpm-mouse-mode): Make it into a proper global minor mode.
1640
1641 * files.el (save-some-buffers-action-alist): Only use recursive-edit
1642 if the user enabled recursive-minibuffers.
1643
1644 * emacs-lisp/map-ynp.el (map-y-or-n-p):
1645 Add support for scroll-other-window.
1646
1647 2008-06-11 Jason Rumney <jasonr@gnu.org>
1648
1649 * term/w32-win.el (w32-menu-bar-open): Rename from menu-bar-open.
1650 Use tmm-menubar if menu is disabled in this frame.
1651
1652 * menu-bar.el (menu-bar-open): Determine how to open menu bar
1653 from frame type, per documentation. Add w32 case.
1654
1655 2008-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1656
1657 * minibuffer.el (completion--merge-suffix): New function.
1658 (completion-basic-try-completion): Use it.
1659 (completion-pcm--find-all-completions): Add argument `filter'.
1660 (completion-pcm--filename-try-filter, completion-pcm--merge-try):
1661 New functions.
1662 (completion-pcm-try-completion): Use them.
1663
1664 * xt-mouse.el (turn-on-xterm-mouse-tracking)
1665 (turn-off-xterm-mouse-tracking): Use terminal-list.
1666
1667 * cus-start.el (underline-minimum-offset): Rename from
1668 x-underline-minimum-display-offset.
1669
1670 2008-06-10 David De La Harpe Golden <david@harpegolden.net> (tiny change)
1671
1672 * cus-start.el (x-underline-minimum-display-offset): Give it a type.
1673
1674 2008-06-10 Chong Yidong <cyd@stupidchicken.com>
1675
1676 * mouse.el (mouse-select-font): New function.
1677
1678 * faces.el (face-spec-recalc): When the face is set using
1679 Customize, avoid recalculating it twice.
1680
1681 * menu-bar.el (menu-set-font): New function. Bind "Set Default
1682 Font" menu item to it. Apply selected font to all frames, and
1683 make it savable.
1684 (menu-bar-options-save): Save `default' font if changed.
1685
1686 2008-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1687
1688 * ffap.el (ffap-string-at-point-mode-alist):
1689 Use alpha rather than lower.
1690
1691 * dired.el (dired-insert-directory): Don't assume Unix-style dir names.
1692
1693 * subr.el (momentary-string-display): Use an overlay.
1694
1695 * progmodes/compile.el (compilation-mode):
1696 Set window-point-insertion-type.
1697 (compilation-filter): Don't use insert-before-markers any more.
1698 * emacs-lisp/trace.el (trace-make-advice):
1699 Set window-point-insertion-type in the trace buffer.
1700 * startup.el (normal-top-level): Set window-point-insertion-type in
1701 *Messages*.
1702 * net/telnet.el (telnet-mode): Set window-point-insertion-type.
1703 (telnet-filter): Don't use insert-before-markers any more.
1704 * comint.el (comint-mode): Set window-point-insertion-type.
1705 (comint-output-filter): Don't use insert-before-markers any more.
1706 * button.el (make-text-button): Allow `start' to be a string.
1707
1708 2008-06-10 Juanma Barranquero <lekktu@gmail.com>
1709
1710 * emacs-lisp/autoload.el (autoload-rubric):
1711 Fix coding cookie not to force Unix EOL.
1712
1713 2008-06-10 Martin Rudalics <rudalics@gmx.at>
1714
1715 * window.el (window--splittable-p, window--try-to-split-window):
1716 Don't use with-selected-window to avoid messing up get-lru-window.
1717 Reported by David Hansen <david.hansen@gmx.net>.
1718
1719 2008-06-10 Glenn Morris <rgm@gnu.org>
1720
1721 * subr.el (locate-library): Doc fix.
1722
1723 * net/newsticker-treeview.el (w3m-toggle-inline-images): Declare.
1724 (newsticker-treeview-tool-bar-map, newsticker-treeview-mode):
1725 Check tool-bar-map is bound, for non-X builds.
1726
1727 * net/newsticker-reader.el (newsticker--next-item-image)
1728 (newsticker--previous-item-image, newsticker--previous-feed-image)
1729 (newsticker--next-feed-image, newsticker--mark-read-image)
1730 (ewsticker--mark-immortal-image, newsticker--narrow-image)
1731 (newsticker--get-all-image, newsticker--update-image)
1732 (newsticker--browse-image): Check xpm images are available.
1733 (newsticker--mark-read-image, newsticker--mark-immortal-image)
1734 (newsticker--narrow-image, newsticker--get-all-image): Doc fix.
1735
1736 * net/newsticker-plainview.el (tool-bar-map): Don't declare.
1737 (newsticker--plainview-tool-bar-map, newsticker-mode):
1738 Check tool-bar-map is bound, for non-X builds.
1739 (w3m-toggle-inline-image): Declare.
1740
1741 * net/newsticker-backend.el (tool-bar-map): Don't declare.
1742
1743 * emacs-lisp/autoload.el (autoload-rubric): Add coding cookie.
1744
1745 * finder.el (finder-font-lock-keywords): Handle ``quotes''.
1746 (finder-compile-keywords): Move let to where needed.
1747 (finder-mouse-face-on-line): Go back one more line if needed.
1748 (finder-list-matches): Use cadr.
1749 (finder-goto-xref): New function.
1750 (finder-commentary): Add buttons to jump to foo.el libraries.
1751
1752 2008-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1753
1754 * apropos.el (apropos-function, apropos-macro, apropos-command)
1755 (apropos-variable, apropos-face, apropos-group, apropos-widget)
1756 (apropos-plist): Add apropos-short-label property.
1757 (apropos-multi-type): New variables.
1758 (apropos-command, apropos-value): Set it.
1759 (apropos-compact-layout): New custom.
1760 (apropos-print, apropos-print-doc): Use it.
1761 (apropos-print): Truncate lines.
1762
1763 2008-06-09 Kenichi Handa <handa@m17n.org>
1764
1765 * international/fontset.el (font-encoding-alist):
1766 Add an entry for "ascii-0".
1767
1768 2008-06-09 Jihyun Cho <jihyun.jo@gmail.com>
1769
1770 * language/hanja-util.el (hanja-init-load): Show the message only
1771 when loading a table.
1772
1773 2008-06-08 Ulf Jasper <ulf.jasper@web.de>
1774
1775 * net/newsticker-treeview.el (newsticker-treeview):
1776 * net/newsticker-plainview.el (newsticker-plainview):
1777 Add autoload cookie.
1778
1779 2008-06-08 Ulf Jasper <ulf.jasper@web.de>
1780
1781 * net/newsticker.el: Split up into newsticker-backend, -ticker,
1782 -reader, -plainview, and -treeview.
1783 (newsticker-version): Change to 1.99.
1784
1785 * net/newsticker-backend.el: New. Move backend functionality from
1786 newsticker.el to newsticker-backend.el.
1787 (newsticker--download-logos): New.
1788 (newsticker--sentinel-callback): New.
1789 (newsticker--set-customvar): Remove. Split up into specific
1790 functions related to retrieval, ticker, buffer, and display.
1791 (newsticker--set-customvar-retrieval): New. Extracted from
1792 `newsticker--set-customvar'.
1793 (newsticker-retrieval): New. Renamed from `newsticker-feed'.
1794 (newsticker-url-list-defaults):
1795 Use `newsticker--set-customvar-retrieval' for :set. Change :group.
1796 (newsticker-url-list): Doc changed. URL can be a function.
1797 Use `newsticker--set-customvar-retrieval' for :set. Change :group.
1798 (newsticker-retrieval-method): New.
1799 (newsticker-wget-name, newsticker-wget-arguments): Change :group.
1800 (newsticker-retrieval-interval):
1801 Use `newsticker--set-customvar-retrieval' for :set. Change :group.
1802 (newsticker-desc-comp-max): Change :group.
1803 (newsticker--cache): Doc changed.
1804 (newsticker--guid-to-string): New.
1805 (newsticker--guid): Use `newsticker--guid-to-string'.
1806 (newsticker--real-feed-name): New.
1807 (newsticker--start-feed): New. Extracted from `newsticker-start'.
1808 (newsticker-start): Use `insert-file-contents' for reading cache.
1809 Use `newsticker--start-feed'.
1810 (newsticker--stop-feed): New. Extracted from `newsticker-stop'.
1811 (newsticker-stop): Check whether `newsticker-stop-ticker' is fbound.
1812 Use `newsticker--stop-feed'.
1813 (newsticker-save-item): New.
1814 (newsticker--get-news-by-funcall): New.
1815 (newsticker-get-news): Handle new retrieval methods.
1816 (newsticker--sentinel): Use `newsticker--sentinel-work'.
1817 (newsticker--sentinel-work): New. Extracted from
1818 `newsticker--sentinel'. Use `newsticker--download-logos',
1819 `newsticker--sentinel-callback'.
1820 (newsticker--parse-atom-0.3): Use `newsticker--guid-to-string'.
1821 (newsticker--parse-atom-1.0): Fix link determination.
1822 (newsticker--parse-rss-0.91): Fix time determination.
1823 (newsticker--parse-rss-0.92): Fix time determination.
1824 (newsticker--parse-rss-2.0): Use `newsticker--guid-to-string'.
1825 (newsticker--parse-generic-feed): New arg order in
1826 `newsticker--cache-add'.
1827 (newsticker--parse-generic-items): Fix for multiple items.
1828 New arg order in `newsticker--cache-add'.
1829 (newsticker--forget-preformatted): Check whether
1830 `newsticker--buffer-set-uptodate' is fbound.
1831 (newsticker--decode-iso8601-date): Handle fractions of seconds.
1832 (newsticker--decode-rfc822-date): Partial timezone handling.
1833 (newsticker--cache-contains): Fix guid problem.
1834 (newsticker--cache-add): Swap args AGE and TIME. Fix guid problem.
1835 (newsticker--cache-save): New.
1836 (newsticker--cache-update): Use temp buffer.
1837 (newsticker--stat-num-items): Allow multiple AGE args.
1838 (newsticker--stat-num-items-total): New.
1839 (newsticker--opml-import-outlines): New.
1840 (newsticker-opml-import): Use `newsticker--opml-import-outlines'.
1841 (newsticker--do-run-auto-mark-filter): Doc changed.
1842 (newsticker-retrieve-random-message): New.
1843
1844 * net/newsticker-ticker.el: New. Move ticker functionality from
1845 net/newsticker.el to net/newsticker-ticker.el.
1846 (newsticker--ticker-timer): Rename `newsticker--display-timer' to
1847 `newsticker--ticker-timer'.
1848 (newsticker-ticker-running-p): Rename `newsticker--display-timer'
1849 to `newsticker--ticker-timer'.
1850 (newsticker--set-customvar-ticker): New. Extracted from
1851 `newsticker--set-customvar'.
1852 (newsticker-ticker-interval): Rename `newsticker-display-interval'
1853 to `newsticker-ticker-interval'. Use `newsticker--set-customvar-ticker
1854 for :set. Change :group.
1855 (newsticker-scroll-smoothly): Doc changed. Change :group.
1856 (newsticker-hide-immortal-items-in-echo-area)
1857 (newsticker-hide-old-items-in-echo-area)
1858 (newsticker-hide-obsolete-items-in-echo-area):
1859 Use `newsticker--set-customvar-ticker for :set. Change :group.
1860 (newsticker-start-ticker): Rename `newsticker--display-timer' to
1861 `newsticker--ticker-timer'. Rename `newsticker-display-interval'
1862 to `newsticker-ticker-interval'.
1863 (newsticker-stop-ticker): Rename `newsticker--display-timer' to
1864 `newsticker--ticker-timer'.
1865
1866 * net/newsticker-reader.el: New. Move reader functionality from
1867 net/newsticker.el to net/newsticker-reader.el.
1868 (newsticker--set-customvar-formatting): New. Extracted from
1869 `newsticker--set-customvar'.
1870 (newsticker-reader, newsticker-frontend): New.
1871 (newsticker-enable-logo-manipulations): Change :group.
1872 (newsticker-justification): Use `newsticker--set-customvar-formatting'
1873 for :set. Change :group.
1874 (newsticker-use-full-width): Use `newsticker--set-customvar-formatting'
1875 for :set. Change :group.
1876 (newsticker-html-renderer): Doc changed.
1877 Use `newsticker--set-customvar-formatting' for :set. Change :group.
1878 (newsticker-date-format):
1879 Use `newsticker--set-customvar-formatting' for :set. Change :group.
1880 (newsticker--insert-enclosure):
1881 Rename `newsticker--buffer-insert-enclosure' to
1882 `newsticker--insert-enclosure'. Add keymap arg.
1883 (newsticker--print-extra-elements):
1884 Rename `newsticker--buffer-print-extra-elements' to
1885 `newsticker--print-extra-elements'. Add keymap arg.
1886 (newsticker--do-print-extra-element):
1887 Rename `newsticker--buffer-do-print-extra-element' to
1888 `newsticker--do-print-extra-element'. Add keymap arg.
1889 (newsticker-show-news): Use `newsticker-frontend'.
1890
1891 * net/newsticker-plainview.el: New. Move plainview functionality
1892 from net/newsticker.el to net/newsticker-reader.el.
1893 (newsticker-plainview): New.
1894 (newsticker--set-customvar-sorting): New. Extracted from
1895 `newsticker--set-customvar'.
1896 (newsticker-sort-method): Use `newsticker--set-customvar-sorting
1897 for :set. Changed :group.
1898 (newsticker-heading-format, newsticker-item-format)
1899 (newsticker-desc-format, newsticker-statistics-format):
1900 Use `newsticker--set-customvar-formatting for :set. Change :group.
1901 (newsticker-faces): Change :group.
1902 (newsticker-default-face): Enable again.
1903 (newsticker-hide-old-items-in-newsticker-buffer)
1904 (newsticker-show-descriptions-of-new-items):
1905 Use `newsticker--set-customvar-buffer' for :set. Change :group.
1906 (newsticker-show-all-news-elements): Change :group.
1907 (newsticker-plainview-hooks): New.
1908 (newsticker-select-item-hook, newsticker-select-feed-hook)
1909 (newsticker-buffer-change-hook, newsticker-narrow-hook): Change :group.
1910 (newsticker--plainview-tool-bar-map): Rename `newsticker--tool-bar-map'
1911 to `newsticker--plainview-tool-bar-map'.
1912 (newsticker--url-keymap): Add mouse-1 binding.
1913 (newsticker-plainview): New.
1914 (newsticker-mark-all-items-of-feed-as-read): Change doc.
1915 (newsticker--buffer-do-insert-text): Use renamed
1916 newsticker--[buffer-]insert-enclosure and
1917 newsticker--[buffer-]print-extra-elements.
1918 (newsticker--buffer-set-faces): Use newsticker-default-face.
1919
1920 * net/newsticker-treeview.el: New.
1921
1922 2008-06-08 Andreas Schwab <schwab@suse.de>
1923
1924 * vc-dispatcher.el (vc-dir-children-marked-p): Fix child check.
1925
1926 * vc-cvs.el (vc-cvs-dir-status): Pass -f to cvs.
1927
1928 * vc-dispatcher.el (vc-dir-move-to-goal-column): Don't move in an
1929 empty line.
1930
1931 * minibuffer.el (minibuffer-message): Bind inhibit-quit around sit-for.
1932
1933 2008-06-08 Martin Rudalics <rudalics@gmx.at>
1934
1935 * window.el (split-height-threshold, split-width-threshold):
1936 Add choice nil.
1937 (split-window-preferred-function): Allow either nil or a function.
1938 (window--splittable-p, window--try-to-split-window):
1939 Handle changed option values.
1940
1941 (window--frame-usable-p): Handle nil argument.
1942
1943 (display-buffer): Call get-lru-window when pop-up-windows is nil
1944 and window can't be split.
1945
1946 2008-06-08 Michael Albinus <michael.albinus@gmx.de>
1947
1948 * uniquify.el (uniquify-get-proposed-name): Handle remote files.
1949
1950 * net/tramp.el (top): Quote feature names. Remove
1951 `tramp-rfn-eshadow-setup-minibuffer' from
1952 `rfn-eshadow-setup-minibuffer-hook' when unloading.
1953 (tramp-read-passwd): There is only one call to
1954 `auth-source-user-or-password' needed. Pacify byte compiler.
1955
1956 2008-06-08 Andreas Schwab <schwab@suse.de>
1957
1958 * window.el (display-buffer): Use lru window if current window
1959 cannot be split.
1960
1961 2008-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1962
1963 * apropos.el (apropos-library): New command and new button.
1964 (apropos-library-button): New function.
1965
1966 * apropos.el: Remove spurious * in docstrings.
1967 (apropos-label-face): Use variable pitch.
1968 (apropos-print): Use dolist and with-current-buffer.
1969 (apropos-print-doc): Use when.
1970
1971 * window.el (special-display-p, display-buffer):
1972 Fix up C->Elisp transcription error.
1973
1974 2008-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1975
1976 * emacs-lisp/bytecomp.el (byte-compile-current-group): New var.
1977 (byte-compile-file): Initialize it.
1978 (byte-compile-nogroup-warn): Keep track of the current group.
1979
1980 2008-06-08 Glenn Morris <rgm@gnu.org>
1981
1982 * Makefile.in (compile, compile-always, bootstrap-prepare):
1983 Explictly pass EMACS to sub-makes that use it, for non-GNU makes.
1984
1985 2008-06-07 Jihyun Cho <jihyun.jo@gmail.com>
1986
1987 * language/hanja-util.el (hanja-init-load): Use a char-table for
1988 hanja-table.
1989 (hangul-to-hanja-char): Adjust for the above change.
1990
1991 2008-06-07 Glenn Morris <rgm@gnu.org>
1992
1993 * finder.el (finder-compile-keywords): Use lm-keywords-list rather than
1994 lm-keywords.
1995
1996 * mail/sendmail.el (mail-interactive): Add :version.
1997
1998 * term/linux.el (terminal-init-linux): Use gpm-mouse-mode rather than
1999 obsolete alias.
2000
2001 * ediff-merg.el, strokes.el, wid-edit.el, emacs-lisp/lisp-mnt.el:
2002 * emulation/edt-mapper.el, eshell/em-dirs.el, eshell/em-glob.el:
2003 * eshell/em-ls.el, eshell/em-unix.el, eshell/esh-cmd.el:
2004 * eshell/esh-io.el, eshell/esh-opt.el, eshell/esh-test.el:
2005 * eshell/esh-util.el, international/mule-cmds.el:
2006 * international/mule-diag.el, mail/smtpmail.el, net/netrc.el:
2007 * net/tls.el, progmodes/etags.el, textmodes/page-ext.el:
2008 Remove unnecessary eval-when-compiles and eval-and-compiles.
2009
2010 * Makefile.in (bootstrap-clean): Run autogen-clean.
2011 (maintainer-clean): No need to run autogen-clean now it is included in
2012 bootstrap-clean.
2013
2014 2008-06-06 Miles Bader <miles@gnu.org>
2015
2016 * Makefile.in (ELCFILES): Add gnus/nndir.elc.
2017
2018 2008-06-06 Chong Yidong <cyd@stupidchicken.com>
2019
2020 * menu-bar.el (menu-bar-options-menu): Add Menu entry for
2021 longlines mode.
2022
2023 * replace.el (replace-search-function)
2024 (replace-re-search-function): New vars.
2025 (perform-replace): Use them.
2026
2027 * longlines.el (longlines-re-search-forward): New function.
2028 (longlines-mode): Bind replace-search-function and
2029 replace-re-search-function, to ensure that replacement commands
2030 treat newlines as spaces.
2031 (longlines-show-effect): Default to a pilcrow sign.
2032
2033 2008-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2034
2035 * help.el (function-called-at-point):
2036 * help-fns.el (variable-at-point): Use emacs-lisp-mode-syntax-table
2037 even when calling find-tag-default.
2038
2039 2008-06-06 Daniel Colascione <danc@merrillpress.com>
2040
2041 * nxml/nxml-mode.el (nxml-syntax-highlight-flag)
2042 (nxml-fontify-chunk-size, nxml-clear-face, nxml-set-fontified)
2043 (nxml-clear-fontified, nxml-fontify, nxml-fontify1)
2044 (nxml-fontify-buffer, nxml-do-fontify):
2045 Remove obsolete variables and functions.
2046 (nxml-font-lock-keywords, nxml-set-face, nxml-mode)
2047 (nxml-degrade, nxml-after-change, nxml-after-change1)
2048 (nxml-extend-region, nxml-extend-after-change-region)
2049 (nxml-extend-after-change-region1, nxml-fontify-matcher)
2050 (nxml-toggle-char-ref-extra-display): Use font-lock, and
2051 font-lock-extend-region-functions in particular, to fontify
2052 nxml-mode buffers.
2053 (nxml-debug-region): New debugging helper function.
2054
2055 * nxml/nxml-rap.el (nxml-clear-inside, nxml-set-inside)
2056 (nxml-scan-after-change, nxml-move-tag-backwards):
2057 Adapt for font-lock changes.
2058
2059 * nxml/nxml-util.el (nxml-debug, nxml-debug-change)
2060 (nxml-debug-set-inside, nxml-debug-clear-inside):
2061 New debugging functions.
2062 (nxml-with-degradation-on-error): New helper macro.
2063
2064 2008-06-06 Martin Rudalics <rudalics@gmx.at>
2065
2066 * window.el (display-buffer): Remove dead call to get-lru-window.
2067
2068 2008-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2069
2070 * mail/sendmail.el (mail-interactive): Change default.
2071
2072 2008-06-05 John Paul Wallington <jpw@pobox.com>
2073
2074 * bindings.el (completion-ignored-extensions):
2075 Add .p64fsl, .d64fsl, and .dx64fsl.
2076
2077 2008-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2078
2079 * ffap.el (ffap-prompter): Don't use the region.
2080
2081 2008-06-05 Sam Steingold <sds@gnu.org>
2082
2083 * vc-cvs.el (vc-cvs-registered): Consider a directory with a CVS
2084 subdirectory to be registered.
2085
2086 2008-06-05 Martin Rudalics <rudalics@gmx.at>
2087
2088 * window.el (display-buffer-function, special-display-p)
2089 (special-display-buffer-names, special-display-regexps)
2090 (special-display-function, same-window-p, same-window-buffer-names)
2091 (same-window-regexps, pop-up-frames, display-buffer-reuse-frames)
2092 (pop-up-frame-function, pop-up-windows, even-window-heights)
2093 (split-window-preferred-function, split-height-threshold)
2094 (window--display-buffer-1, display-buffer, pop-to-buffer):
2095 Move from window.c and buffer.c.
2096 (window--splittable-p, window--try-to-split-window)
2097 (window--frame-usable-p, window--display-buffer-2)
2098 (window--even-window-heights): New functions.
2099 (split-width-threshold): New option.
2100 (split-window-preferred-horizontally): Remove.
2101
2102 * cus-start.el: Remove corresponding declarations.
2103
2104 2008-06-05 Sam Steingold <sds@gnu.org>
2105
2106 * vc.el (vc-update): Use `save-some-buffers' instead of signaling
2107 an error on modified buffers.
2108
2109 2008-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2110
2111 * progmodes/etags.el (tags-verify-table): Be careful to use and update
2112 tags-file-name and tags-table-list from the right buffer.
2113 (tags-table-check-computed-list, tags-table-extend-computed-list)
2114 (find-tag-noselect): Use with-current-buffer.
2115
2116 * emacs-lisp/trace.el (trace-entry-message, trace-exit-message):
2117 Use print-circle.
2118
2119 * minibuffer.el (minibuffer-local-must-match-filename-map):
2120 Declare obsolete alias for the old name.
2121
2122 * abbrev.el (unexpand-abbrev): Better preserve markers.
2123
2124 2008-06-05 Glenn Morris <rgm@gnu.org>
2125
2126 * emacs-lisp/autoload.el (autoload-rubric): New function,
2127 extracted from autoload-ensure-default-file.
2128 (autoload-ensure-default-file): Use autoload-rubric.
2129
2130 * cus-dep.el (generated-custom-dependencies-file): Doc fix.
2131 (custom-dependencies-no-scan-regexp): New variable.
2132 (custom-make-dependencies): Use with-temp-buffer and autoload-rubric.
2133 Don't scan files matching custom-dependencies-no-scan-regexp.
2134 Disable undo in the output buffer. Remove kept-new-versions wackiness.
2135
2136 * finder.el (finder-headmark): Initialize and add doc string.
2137 (generated-finder-keywords-file): Doc fix.
2138 (finder-no-scan-regexp): New variable.
2139 (finder-compile-keywords): Use a single let binding.
2140 Disable undo in the output buffer. Use autoload-rubric.
2141 Use mapc rather than mapcar. Don't scan files matching
2142 finder-no-scan-regexp. Use with-temp-buffer. Use expand-file-name
2143 rather than concat. Use directory-files to do regexp matching.
2144 No need to require jka-compr.
2145 (finder-list-keywords): Remove un-needed set-buffer. Disable undo.
2146 (finder-list-matches): Disable undo.
2147 (finder-commentary): Use let rather than let*. Disable undo.
2148 (finder-current-item): Use zerop.
2149 (finder-mode): Use define-derived-mode.
2150 (finder-exit): Doc fix. Use dolist.
2151
2152 * Makefile.in ($(lisp)/cus-load.el): Remove unnecessary rule.
2153 (custom-deps): Don't require $(lisp)/cus-load.el.
2154 (custom-deps, finder-data): Don't depend on autoloads.
2155 Should not be needed now, and doing so was causing make install to
2156 re-dump emacs post-bootstrap.
2157 (bootstrap-after): Don't run update-elclist, since modifying Makefile.in
2158 mid-build forces some things to be rebuilt.
2159
2160 2008-06-05 Miles Bader <miles@gnu.org>
2161
2162 * face-remap.el
2163 (face-remap-add-relative): Renamed from `add-relative-face-remapping'.
2164 (face-remap-remove-relative): Renamed from
2165 `remove-relative-face-remapping'.
2166 (face-remap-reset-base): Renamed from
2167 `set-default-base-face-remapping'.
2168 (face-remap-set-base): Renamed from `set-base-face-remapping'.
2169 (text-scale-increase): Renamed from `increase-buffer-face-height'.
2170 (text-scale-decrease): Renamed from `decrease-buffer-face-height'.
2171 (text-scale-adjust): Renamed from `adjust-buffer-face-height'.
2172
2173 * face-remap.el (variable-pitch-mode): Autoload.
2174
2175 2008-06-04 Sam Steingold <sds@gnu.org>
2176
2177 * vc-hg.el (vc-hg-status-extra-header, vc-hg-status-extra-headers):
2178 Generate extra status headers for a Mercurial tree.
2179
2180 2008-06-04 John Paul Wallington <jpw@pobox.com>
2181
2182 * echistory.el (electric-history-map): Define within defvar.
2183 Add docstring.
2184
2185 * font-lock.el (font-lock-turn-off-thing-lock)
2186 (font-lock-after-fontify-buffer, font-lock-after-unfontify-buffer):
2187 Use `bound-and-true-p'.
2188 (cpp-font-lock-keywords-source-directives, cpp-font-lock-keywords):
2189 Doc fixes.
2190
2191 * international/ccl.el (define-ccl-program): Add `doc-string'
2192 declaration.
2193
2194 2008-06-04 Juanma Barranquero <lekktu@gmail.com>
2195
2196 * face-remap.el (variable-pitch-mode): Reflow docstrings.
2197 (text-scale-mode, adjust-buffer-face-height): Fix typos in docstrings.
2198
2199 2008-06-04 Trent W. Buck <trentbuck@gmail.com> (tiny change)
2200
2201 * emacs-lisp/rx.el (rx): Doc fix.
2202
2203 2008-06-04 Markus Triska <markus.triska@gmx.at>
2204
2205 * image-mode.el (image-mode-map): Add doc-view-inspired bindings.
2206
2207 2008-06-04 Miles Bader <miles@gnu.org>
2208
2209 * face-remap.el (adjust-buffer-face-height): New function.
2210 Add autoloaded keybindings in ctl-x-map.
2211 (increase-buffer-face-height, decrease-buffer-face-height):
2212 Simplify interactive spec to just "p". Remove autoloaded keybindings.
2213
2214 2008-06-03 Chong Yidong <cyd@stupidchicken.com>
2215
2216 * simple.el (line-move-1): If we did not move as far as desired,
2217 ensure that point-left and point-entered hooks are called.
2218
2219 2008-06-03 Sam Steingold <sds@gnu.org>
2220
2221 * vc-cvs.el (vc-cvs-status-extra-headers): Remove extraneous newlines.
2222
2223 2008-06-03 John Paul Wallington <jpw@pobox.com>
2224
2225 * progmodes/make-mode.el (makefile-cleanup-continuations)
2226 (makefile-warn-suspicious-lines, makefile-warn-continuations):
2227 Use `derived-mode-p'.
2228
2229 2008-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
2230
2231 * Makefile.in (update-elclist): Impose a fixed collation for sorting.
2232 (ELCFILES): Update.
2233
2234 2008-06-03 Miles Bader <miles@gnu.org>
2235
2236 * face-remap.el: New file.
2237 * Makefile.in (ELCFILES): Add face-remap.elc.
2238
2239 2008-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
2240
2241 * progmodes/flymake.el (flymake-process-filter): Make sure the source
2242 buffer isn't dead.
2243
2244 * obsolete/bg-mouse.el, obsolete/float.el, obsolete/hilit19.el,
2245 * obsolete/lselect.el, obsolete/mlsupport.el, obsolete/ooutline.el,
2246 * obsolete/profile.el, obsolete/rsz-mini.el, obsolete/uncompress.el,
2247 * obsolete/auto-show.el, obsolete/hscroll.el:
2248 Remove packages that were obsolete in Emacs-20, or that were obsolete
2249 in Emacs-21 and do not contain any more code.
2250
2251 * vc-dispatcher.el (vc-dir-menu-map-filter): Don't fail if
2252 vc-client-mode is not set.
2253
2254 * image-mode.el (image-mode-map): Suppress key map and bind `q'.
2255 * doc-view.el (doc-view-mode-map): Inherit from image-mode-map.
2256
2257 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords): Try to be
2258 yet a bit more clever at distinguishing / from /.
2259
2260 2008-06-03 Kenichi Handa <handa@m17n.org>
2261
2262 * Makefile.in (ELCFILES): Add $(lisp)/language/hanja-util.elc.
2263
2264 2008-06-03 Jihyun Cho <jihyun.jo@gmail.com>
2265
2266 * language/hanja-util.el: New file.
2267
2268 2008-06-03 Glenn Morris <rgm@gnu.org>
2269
2270 * progmodes/f90.el (f90-typedef-matcher, f90-looking-at-type-like):
2271 Check that end-of-word follows "type".
2272
2273 2008-06-02 Daiki Ueno <ueno@unixuser.org>
2274
2275 * epa-file.el (epa-file-write-region): Write the entire buffer
2276 content if START is nil.
2277
2278 2008-06-01 Thomas Morgan <tlm@thomasmorgan.net> (tiny change)
2279
2280 * select.el (x-get-selection): Fix typo.
2281
2282 2008-06-01 Juanma Barranquero <lekktu@gmail.com>
2283
2284 * descr-text.el (describe-text-sexp): Use `string-match-p'. Simplify.
2285 (describe-char): Use `looking-at-p', `string-match-p' when possible.
2286
2287 2008-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2288
2289 * tar-mode.el (tar-header-block-summarize): Ensure one space around
2290 user&group.
2291
2292 2008-05-31 John Paul Wallington <jpw@pobox.com>
2293
2294 * help-fns.el (describe-variable-custom-version-info):
2295 Handle dotted `package-version' info.
2296
2297 2008-05-31 Juanma Barranquero <lekktu@gmail.com>
2298
2299 * icomplete.el (icomplete-get-keys): Doc fix. Use `when'.
2300
2301 2008-05-31 Dan Nicolaescu <dann@ics.uci.edu>
2302
2303 * vc-cvs.el (vc-cvs-after-dir-status): Support spaces in file
2304 names and improve support for unregistered files.
2305
2306 2008-05-31 Glenn Morris <rgm@gnu.org>
2307
2308 * Makefile.in (compile-last): Replace tr in `els' assignment with sed.
2309 Remove shell variable `elc'. Split tests to hopefully be more portable.
2310 Fix `sel' assignment.
2311
2312 2008-05-30 Juanma Barranquero <lekktu@gmail.com>
2313
2314 * minibuffer.el (completion-table-dynamic): Doc fix.
2315
2316 2008-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2317
2318 * vc-cvs.el (vc-cvs-state-heuristic, vc-cvs-parse-status):
2319 Try and return `unregistered' when applicable.
2320
2321 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2322 Don't encourage naming variables with "-flag".
2323
2324 2008-05-30 Glenn Morris <rgm@gnu.org>
2325
2326 * Makefile.in (update-elclist): Hide the warning when it does not apply,
2327 make it milder when it does.
2328 (autogen-clean): New target.
2329 (maintainer-clean): Use autogen-clean.
2330
2331 * calendar/diary-lib.el (diary-display-function): New name for
2332 diary-display-hook. Keep old name as obsolete alias. Doc fix.
2333 Change custom type and version.
2334 (diary-list-entries-hook, diary-list-entries, diary-simple-display)
2335 (diary-fancy-display): Doc fixes.
2336 (diary-list-entries, diary-include-other-diary-files)
2337 (diary-mail-entries):
2338 Use diary-display-function rather than diary-display-hook.
2339
2340 * calendar/appt.el (appt-check): Use diary-display-function rather than
2341 diary-display-hook.
2342 * calendar/cal-x.el (calendar-dedicate-diary): Update for
2343 diary-display-function replacing diary-display-hook.
2344 * org/org-agenda.el (org-get-entries-from-diary): Also set
2345 diary-display-function.
2346
2347 * calendar/cal-html.el (cal-html-list-diary-entries):
2348 * calendar/cal-menu.el (calendar-mouse-view-diary-entries):
2349 * calendar/cal-tex.el (cal-tex-list-diary-entries): Use LIST-ONLY
2350 argument of diary-list-entries rather than setting diary-display-hook.
2351
2352 2008-05-30 Kenichi Handa <handa@m17n.org>
2353
2354 * international/mule-conf.el (utf-8-with-signature): Renamed from
2355 utf-8-sig.
2356 (utf-8-auto): Adjusted for the above change.
2357
2358 * international/mule-diag.el (describe-font): Don't check fontset
2359 here, and just call font-info. Get the default font by from the
2360 default face.
2361
2362 2008-05-29 Kenichi Handa <handa@m17n.org>
2363
2364 * international/mule-conf.el (utf-8-sig, utf-8-auto):
2365 New coding systems.
2366
2367 * international/mule.el (define-coding-system): Accept :bom for utf-8.
2368
2369 2008-05-29 Espen Wiborg <espen.wiborg@telio.no> (tiny change)
2370
2371 * international/utf-7.el (utf-7-encode): Use the right escape char
2372 depending on imap/nonimap encoding.
2373
2374 2008-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2375
2376 * minibuffer.el (completion-pcm-all-completions): Add the base-size.
2377
2378 2008-05-29 Juanma Barranquero <lekktu@gmail.com>
2379
2380 * icomplete.el (icomplete-prospects-height): Add :group.
2381
2382 2008-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2383
2384 * icomplete.el (icomplete-prospects-length): Make obsolete.
2385 (icomplete-prospects-height): New var.
2386 (icomplete-completions): Use it.
2387
2388 2008-05-29 David Kastrup <dak@gnu.org>
2389
2390 * autoinsert.el (auto-insert): Add :link.
2391
2392 2008-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2393
2394 * tar-mode.el (tar-header): New field `header-start'.
2395 (tar-header-block-tokenize): Set it when useful.
2396 Drop "GNUtar " magic value, which even GNU Tar doesn't know about.
2397 (tar-header-data-end): New function.
2398 (tar-summarize-buffer): Use it.
2399 (tar-next-line): Fix goal column for long usernames.
2400 (tar-expunge-internal): Use header-start.
2401 (tar-rename-entry): Handle ustar-style long names.
2402 (tar-alter-one-field): Add optional `descriptor' argument.
2403 (tar-subfile-save-buffer): Use it.
2404
2405 2008-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2406
2407 * tar-mode.el (tar-header): New field `header-start'.
2408 (tar-header-block-tokenize): Set header-start for longlink entries.
2409 (tar-expunge-internal): Use header-start to expunge longlink entries.
2410
2411 * files.el (hack-local-variables): Don't signal an error if the local
2412 variable section is not properly terminated.
2413
2414 * emacs-lisp/easymenu.el (easy-menu-convert-item)
2415 (easy-menu-convert-item-1): Move the duplicate-generation outside of
2416 the caching so it also works for identical entries.
2417
2418 * tar-mode.el (tar-summarize-buffer): Fix reporter initialization.
2419 (tar-mode): Use write-region-annotate-functions rather than
2420 write-contents-functions.
2421 (tar-extract): Remove unused var `pos'.
2422 (tar-subfile-save-buffer): Remove unused var `following-descs'.
2423 (tar-mode-write-file): Remove.
2424 (tar-write-region-annotate): New function.
2425
2426 * progmodes/flymake.el (flymake-save-buffer-in-file):
2427 * shadowfile.el (shadow-copy-file):
2428 * arc-mode.el (archive-*-write-file-member):
2429 * files.el (diff-buffer-with-file):
2430 * subr.el (with-temp-file): Pass nil to write-region.
2431 * jka-compr.el (jka-compr-write-region): Preserve `start's nullness.
2432
2433 * doc-view.el (doc-view-mode-map): Bind `q' to quit-window, as is
2434 the custom.
2435
2436 * files.el (basic-save-buffer-2): Pass nil rather than (point-min)
2437 to write-region.
2438
2439 2008-05-28 Glenn Morris <rgm@gnu.org>
2440
2441 * Makefile.in (update-elclist): Work around non-portability of "\"
2442 in various implementations of echo.
2443
2444 2008-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
2445
2446 * international/mule-diag.el (describe-current-coding-system):
2447 Don't assume selection-coding-system is always defined.
2448
2449 * tar-mode.el: Use defstruct and markers.
2450 (tar-setf): Remove.
2451 (tar-header): Use defstruct. Add `data-start' field.
2452 (make-tar-desc, tar-desc-tokens): Remove, folded into tar-header.
2453 (tar-desc-data-start): Remove (now called tar-header-data-start).
2454 (tar-roundup-512): New fun.
2455 (tar-header-block-tokenize): Receive a buffer position rather than
2456 a string. Handle @longLink here, be more careful about it.
2457 Create a marker for data-start.
2458 (tar-summarize-buffer): Don't handle @LongLink here any more.
2459 (tar-expunge-internal, tar-subfile-save-buffer): Don't update
2460 data-start on the following entries any more.
2461 (tar-chown-entry, tar-chgrp-entry): Use read-number.
2462
2463 * tar-mode.el: Use buffer-swap-text to separate summary and raw data.
2464 (tar-header-offset): Remove.
2465 (tar-parse-info, tar-header-offset, tar-file-name-coding-system):
2466 Not permanent any more.
2467 (tar-data-buffer): New var.
2468 (tar-data-swapped-p, tar-change-major-mode-hook)
2469 (tar-mode-kill-buffer-hook): New funs.
2470 (tar-untar-buffer, tar-summarize-buffer, tar-mode, tar-mode-revert)
2471 (tar-extract, tar-copy, tar-expunge-internal, tar-expunge)
2472 (tar-clear-modification-flags, tar-alter-one-field)
2473 (tar-subfile-save-buffer, tar-pad-to-blocksize, tar-mode-write-file):
2474 Change accordingly.
2475
2476 2008-05-27 Dan Nicolaescu <dann@ics.uci.edu>
2477
2478 * vc-dispatcher.el (vc-directory-resynch-file): Rename to ...
2479 (vc-dir-resynch-file): ... this. Update callers.
2480 Use vc-string-prefix-p. Ignore directory args.
2481 (vc-string-prefix-p): CSE.
2482 (vc-resynch-buffer): Restore conditional.
2483
2484 * vc-hooks.el (vc-after-save): Improve test.
2485 (vc-mode-line): Fix indentation.
2486
2487 2008-05-27 Chong Yidong <cyd@stupidchicken.com>
2488
2489 * calendar/parse-time.el (parse-time-months)
2490 (parse-time-weekdays): Add long-form month and day names.
2491
2492 2008-05-27 Glenn Morris <rgm@gnu.org>
2493
2494 * Makefile.in (update-elclist): Make errors in final sed non-fatal.
2495
2496 2008-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
2497
2498 * vc-dispatcher.el (vc-string-prefix-p): New function.
2499 (vc-dir-parent-marked-p): Use it.
2500
2501 2008-05-27 Dan Nicolaescu <dann@ics.uci.edu>
2502
2503 * vc.el (Problems): Remove fixed issues.
2504 (vc-expand-dirs): Avoid returning directories.
2505 (vc-dir): Fix C-x v v binding.
2506 (vc-make-backend-object): Fix name.
2507 (vc-dir-show-fileentry): Fix docstring.
2508 (vc-dir-refresh): Use vc-dir-backend. Fix docstring.
2509 (vc-dir-refresh-files): Use vc-dir-backend. Fix docstring.
2510 Reset the state for directories.
2511 (vc-dir-headers): Align labels.
2512 (vc-default-status-printer): Do no call prettify-state-info.
2513 (vc-deduce-fileset): Replace implementation with one based on a
2514 working older version.
2515 (vc-next-action): Use the new form of vc-deduce-fileset.
2516 Fix dealing with unregistered files.
2517
2518 * vc-dispatcher.el (vc-resynch-window): Fix mode-line updating.
2519 (vc-dir-menu-map): Fix menu title for the menu bar and the popup menu.
2520 (vc-dir-child-files): New function.
2521 (vc-dir-node-directory): New function.
2522 (vc-dir-update, vc-dir-parent-marked-p)
2523 (vc-dir-children-marked-p, vc-dir-mark-all-files)
2524 (vc-dir-marked-only-files, vc-dispatcher-selection-set): Use it.
2525
2526 * vc-cvs.el (vc-cvs-status-extra-headers): Align labels.
2527
2528 2008-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
2529
2530 * diff-mode.el (diff-context-mid-hunk-header-re): New const.
2531 (diff-font-lock-keywords, diff-context->unified)
2532 (diff-reverse-direction, diff-fixup-modifs, diff-sanity-check-hunk)
2533 (diff-hunk-text, diff-find-source-location): Use it.
2534 (diff-post-command-hook): Let the user edit the hunk headers.
2535
2536 2008-05-26 Andreas Schwab <schwab@suse.de>
2537
2538 * vc.el (vc-default-prettify-state-info): Fix formatting of an
2539 unknown state.
2540
2541 * tar-mode.el (tar-summarize-buffer): Comment fix.
2542
2543 2008-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
2544
2545 * tar-mode.el (tar-summarize-buffer): Handle GNU Tar @LongLink format.
2546
2547 2008-05-26 Glenn Morris <rgm@gnu.org>
2548
2549 * calendar/cal-hebrew.el (diary-ordinal-suffix): Declare for compiler.
2550
2551 2008-05-25 John Paul Wallington <jpw@pobox.com>
2552
2553 * proced.el (proced-next-line, proced-previous-line):
2554 Avoid calling `next-line' and `previous-line' from Lisp code.
2555
2556 2008-05-25 Ed Reingold <reingold@emr.cs.iit.edu>
2557
2558 * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
2559 Use diary-ordinal-suffix.
2560
2561 2008-05-24 Juanma Barranquero <lekktu@gmail.com>
2562
2563 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-defs)
2564 (edebug-all-forms, edebug-eval-macro-args, edebug-save-windows)
2565 (edebug-save-displayed-buffer-points, edebug-initial-mode)
2566 (edebug-trace, edebug-test-coverage, edebug-continue-kbd-macro)
2567 (edebug-print-length, edebug-print-level, edebug-print-circle)
2568 (edebug-unwrap-results, edebug-on-error, edebug-on-quit)
2569 (edebug-global-break-condition, edebug-sit-for-seconds):
2570 Remove spurious * from defcustom docstrings.
2571 (edebug-unwrap*, edebug-signal, edebug-eval-display):
2572 Improve argument/docstring consistency.
2573 (edebug-test-coverage, edebug-gensym, edebug-read)
2574 (edebug-top-level-nonstop, edebug-eval-result-list)
2575 (edebug-eval-redisplay, edebug-trace): Fix typos in docstring.
2576 (edebug-eval-defun, edebug-eval-top-level-form, edebug)
2577 (edebug-display-freq-count): Reflow docstrings.
2578 (edebug-restore-status): Doc fix.
2579
2580 2008-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
2581
2582 * proced.el (proced-header-line): Use the :align-to 0 feature
2583 rather than computing the corresponding position manually.
2584 (proced-update): Don't hardcode point-min==1.
2585
2586 2008-05-24 Alan Mackenzie <acm@muc.de>
2587
2588 * progmodes/cc-mode.el (c-postprocess-file-styles): Throw an error
2589 if c-file-style is set to a non-string.
2590
2591 (c-neutralize-CPP-line): Surround by `save-excursion'.
2592 (c-neutralize-syntax-in-CPP): Optimize for speed.
2593
2594 2008-05-24 Glenn Morris <rgm@gnu.org>
2595
2596 * Makefile.in (update-elclist): New target, to update ELCFILES.
2597 (bootstrap-after): Run update-elclist.
2598
2599 2008-05-24 Ulf Jasper <ulf.jasper@web.de>
2600
2601 * icalendar.el (icalendar-version): Increase to "0.19".
2602 (icalendar--date-style): New function.
2603 (icalendar--datetime-to-diary-date): Doc fix.
2604 Use icalendar--date-style.
2605 (icalendar--datestring-to-isodate): Doc fix. Handle iso date style.
2606 (icalendar--convert-yearly-to-ical)
2607 (icalendar--convert-recurring-to-diary): Handle iso date style,
2608 use icalendar-date-style.
2609
2610 2008-05-23 Dan Nicolaescu <dann@ics.uci.edu>
2611
2612 * vc.el (vc-delete-file): Make sure the buffer is deleted and
2613 vc-dir buffers are updated.
2614
2615 2008-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
2616
2617 * vc.el (vc-delete-file): Don't try to resynch the buffer.
2618
2619 2008-05-23 Paul Rivier <paul.r.ml@gmail.com>
2620
2621 * textmodes/reftex-vars.el (reftex-extra-bindings-prefix): New var.
2622 * textmodes/reftex.el (reftex-extra-bindings-map): New var.
2623 (reftex-extra-bindings): Use it.
2624
2625 * progmodes/mixal-mode.el (mixal-mode-map): Move key-bindings
2626 away from the user-reserved keys.
2627
2628 * progmodes/ada-mode.el (ada-mode-extra-map, ada-mode-extra-prefix):
2629 New vars.
2630 (ada-create-keymap): Use them.
2631
2632 2008-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
2633
2634 * emacs-lisp/regexp-opt.el (regexp-opt): Always return
2635 a properly-grouped regexp.
2636
2637 2008-05-23 Juanma Barranquero <lekktu@gmail.com>
2638
2639 * progmodes/cap-words.el (capitalized-words-mode):
2640 Fix typos in docstring.
2641
2642 2008-05-23 Kenichi Handa <handa@m17n.org>
2643
2644 * international/mule-conf.el: Don't define the charset `emacs'
2645 here, just put :docstring, :short-name, and :long-name.
2646
2647 2008-05-22 Kenichi Handa <handa@m17n.org>
2648
2649 * international/mule-diag.el (font-show-log): Limit each listing
2650 to 20 items.
2651
2652 2008-05-23 Nick Roberts <nickrob@snap.net.nz>
2653
2654 * progmodes/gdb-ui.el (gdb-enable-debug): New function.
2655 (gdb-annotation-rules): New entry for "thread-changed".
2656 (gdb-thread-changed): New function.
2657
2658 2008-05-23 Glenn Morris <rgm@gnu.org>
2659
2660 * Makefile.in (SOURCES): Remove, unused.
2661 (lisptagsfiles1, lisptagsfiles2): Use '*' rather than '[a-zA-Z]*'.
2662 (TAGS, TAGS-LISP): Use a single rule with multiple targets.
2663 Exclude more '*loaddefs' files.
2664 (compile-always): Simplify '.elc' deletion.
2665
2666 2008-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
2667
2668 * vc-bzr.el (vc-bzr-annotate-time): Reduce memory allocation.
2669 (vc-bzr-revision-completion-table): Handle `boundaries' argument.
2670
2671 * minibuffer.el (completion-boundaries): Change calling
2672 convention, so `string' has the same semantics as in
2673 try-completion and all-completions.
2674 (completion-table-with-context, completion--embedded-envvar-table)
2675 (completion--file-name-table)
2676 (completion-pcm--find-all-completions): Adjust code accordingly.
2677
2678 2008-05-22 Chong Yidong <cyd@stupidchicken.com>
2679
2680 * image-mode.el (image-mode-winprops): Add argument CLEANUP to
2681 prune image-mode-winprops-alist, preventing it from growing
2682 indefinitely.
2683 (image-mode-reapply-winprops): Use it.
2684
2685 2008-05-22 Teodor Zlatanov <tzz@lifelogs.com>
2686
2687 * net/netrc.el (netrc-machine): Always match if the port is not given.
2688
2689 2008-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
2690
2691 * minibuffer.el (completion-pcm--find-all-completions):
2692 Don't add pseudo-completions.
2693
2694 * icomplete.el (icomplete-eoinput): Remove.
2695 (icomplete-overlay): New var to replace it.
2696 (icomplete-tidy): Rewrite.
2697 (icomplete-exhibit): Use an overlay.
2698 (icomplete-completions): Use completion-all-sorted-completions.
2699 Obey completion-ignore-case.
2700
2701 * files.el (locate-dominating-file): Accept non-existing argument.
2702 (project-find-settings-file): Rewrite, using locate-dominating-file.
2703
2704 2008-05-22 Kenichi Handa <handa@m17n.org>
2705
2706 * faces.el (font-weight-table, font-slant-table, font-width-table):
2707 Delete them. Don't call internal-set-font-style-table.
2708
2709 * international/mule-diag.el (font-show-log): New function.
2710
2711 * international/fontset.el (script-representative-chars): Add more
2712 chars for latin. Add data for symbol.
2713 (setup-default-fontset): Add entries for phonetic, armenian, and symbol.
2714
2715 2008-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
2716
2717 * minibuffer.el (completion-all-sorted-completions): New var.
2718 (completion--flush-all-sorted-completions)
2719 (completion-all-sorted-completions): New functions.
2720 (minibuffer-force-complete): New command.
2721
2722 2008-05-21 Glenn Morris <rgm@gnu.org>
2723
2724 * files.el (c-postprocess-file-styles): Declare for compiler.
2725
2726 * Makefile.in: Allow for parallel byte-compiling.
2727 (ELCFILES): New variable.
2728 (.el.elc): Remove prerequisites from suffix rule. Print a message.
2729 (compile-first, compile-main, compile-last): New targets.
2730 (compile-always): Simplify - delete .elc files, then `make compile'.
2731
2732 * Makefile.in (compile-calc): Use glob rather than find.
2733 ($(lisp)/progmodes/cc-mode.elc): Use $@.
2734
2735 * eshell/esh-module.el: No need for cl when compiling.
2736
2737 * eshell/eshell.el (eshell-defgroup): New alias.
2738 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
2739 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
2740 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
2741 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
2742 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
2743 * eshell/em-xtra.el: Use eshell-defgroup rather than defgroup.
2744 Autoload the custom group. Set generated-autoload-file.
2745 * eshell/em-basic.el, eshell/esh-module.el: Require eshell,
2746 for eshell-defgroup.
2747 * eshell/esh-module.el (eshell-load-defgroups): Remove.
2748 Require esh-groups rather than loading it.
2749
2750 2008-05-21 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
2751
2752 * proced.el (proced-header-line): New variable and new function.
2753 (proced-mode): Set header-line-format.
2754 (proced-update): Set proced-header-line.
2755 (proced-send-signal): Use proced-header-line.
2756
2757 2008-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
2758
2759 * macros.el (insert-kbd-macro): Use prin1-char.
2760
2761 2008-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
2762
2763 * minibuffer.el (completion-boundaries): New function.
2764 (completion--some): Delay errors.
2765 (complete-with-action, completion-table-with-context):
2766 Handle `boundaries' case.
2767 (completion--try-word-completion): Avoid partial-completion
2768 when the user hasn't entered anything yet.
2769 (minibuffer-local-map, minibuffer-local-filename-completion-map)
2770 (minibuffer-local-must-match-map, minibuffer-local-completion-map)
2771 (minibuffer-local-must-match-filename-map, minibuffer-local-ns-map):
2772 Setup default keybindings.
2773 (completion--embedded-envvar-re): New var.
2774 (completion--embedded-envvar-table): Use it. Handle `boundaries' case.
2775 (completion--file-name-table): Handle `boundaries' case.
2776 (completion-pcm--pattern->regex): Avoid pathological backtracking.
2777 (completion-pcm--all-completions): Add a `prefix' arg.
2778 (completion-pcm--find-all-completions): New function.
2779 (completion-pcm-all-completions, completion-pcm-try-completion):
2780 Use it.
2781
2782 * icomplete.el (icomplete-completions): Don't use `predicate' with
2783 a table of a different type than `candidates'.
2784
2785 2008-05-20 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
2786
2787 * proced.el (proced-goal-column): Rename from proced-procname-column.
2788 (proced-goal-header-re): Rename from proced-procname-column-regexp.
2789 (proced-move-to-goal-column): Rename from proced-move-to-procname.
2790 (proced-header-face, proced-header-regexp): Remove.
2791 (proced-font-lock-keywords): Remove proced-header-face.
2792 (proced-header-alist, proced-sorting-schemes-re): New variables.
2793 (proced): Rename Proced buffer to *Proced*.
2794 (proced-next-line, proced-previous-line): New commands.
2795 (proced-do-mark, proced-do-mark-all, proced-toggle-marks)
2796 (proced-hide-processes): Do not treat first line as special.
2797 (proced-header-space): New function.
2798 (proced-update): Use header-line-format.
2799 Initialize proced-header-alist and proced-sorting-schemes-re.
2800 Set proced-goal-column. Include proced-command in mode-name.
2801 (proced-send-signal): Use header-line-format for *Marked
2802 Processes* buffer.
2803 (proced-sort): Restrict minibuffer completion to applicable
2804 sorting schemes.
2805 (proced-sorting-scheme-p): Use proced-sorting-schemes-re.
2806
2807 2008-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
2808
2809 * icomplete.el (icomplete-simple-completing-p):
2810 Allow icomplete-with-completion-tables to say "use it everywhere".
2811 (icomplete-completions): Obey completion-styles. Try to accommodate
2812 partial-completion style.
2813
2814 2008-05-20 Michael Olson <mwolson@gnu.org>
2815
2816 * files.el (project-find-settings-file): Change concat to
2817 expand-file-name.
2818
2819 2008-05-19 Tom Tromey <tromey@redhat.com>
2820
2821 * files.el (normal-mode): Call hack-project-variables.
2822 (hack-local-variables-confirm): Add 'project' argument.
2823 (hack-local-variables-apply): New function.
2824 (hack-local-variables): Use it.
2825 (project-class-alist, project-directory-alist): New variables.
2826 (project-get-alist): New function.
2827 (project-collect-bindings-from-alist)
2828 (project-collect-binding-list, set-directory-project)
2829 (project-find-settings-file, project-define-from-project-file)
2830 (hack-project-variables): New functions.
2831
2832 2008-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
2833
2834 * emacs-lisp/cl-specs.el (destructuring-bind): Fix spec.
2835
2836 2008-05-19 Juanma Barranquero <lekktu@gmail.com>
2837
2838 * faces.el (font-weight-table): Fix typo in docstring.
2839
2840 2008-05-18 David Hull <david@snap.com> (tiny change)
2841
2842 * vc-hg.el (vc-hg-annotate-re): Recognize the output of --follow.
2843 (vc-hg-annotate-command): Allow white space before version number.
2844
2845 2008-05-18 Jay Belanger <jay.p.belanger@gmail.com>
2846
2847 * calc/calc-yank.el (calc-register-alist): New variable.
2848 (calc-set-register, calc-get-register, calc-copy-to-register)
2849 (calc-insert-register, calc-add-to-register, calc-append-to-register)
2850 (calc-prepend-to-register): New functions.
2851
2852 * calc/calc-ext.el (calc-init-extensions): Add keybindings for
2853 `calc-copy-to-register' and `calc-insert-register'.
2854 Autoload new register functions.
2855
2856 * calc/calc-help.el (calc-r-prefix-help): Add help for register
2857 functions.
2858
2859 2008-05-18 Dan Nicolaescu <dann@ics.uci.edu>
2860
2861 * vc.el (Todo): Add known problems.
2862 (vc-dir-backend): New variable.
2863 (vc-dir): Set it.
2864 (vc-make-backend-object, vc-generic-status-printer)
2865 (vc-generic-state, vc-generic-status-fileinfo-extra)
2866 (vc-dir-extra-menu): Use it.
2867 (vc-generic-dir-headers): Remove, unused.
2868
2869 * vc-dispatcher.el (vc-dir-previous-directory): Rename from
2870 vc-dir-prev-directory for consistency with vc-dir-previous-line.
2871 (vc-dir-mode-map): Fix bindings.
2872
2873 * vc-bzr.el (vc-bzr-after-dir-status): Remove unused binding.
2874
2875 2008-05-18 Jay Belanger <jay.p.belanger@gmail.com>
2876
2877 * calc/calc-yank.el (calc-kill): Make sure that only the stack is
2878 operated on.
2879 (calc-kill-region): Kill entire lines.
2880
2881 2008-05-17 Glenn Morris <rgm@gnu.org>
2882
2883 * ezimage.el (ezimage-use-images): Drop support for Emacs < 21 and
2884 simplify initial value.
2885 (defezimage): Drop support for Emacs without defimage, use a featurep
2886 test rather than fboundp when defining, drop with-no-warnings.
2887 (ezimage-insert-over-text): Move featurep test inside
2888 add-text-properties.
2889
2890 * elide-head.el (elide-head-headers-to-hide): Handle GPLv3 format.
2891
2892 * net/tramp.el (top-level): Load auth-source when compiling.
2893
2894 * progmodes/fortran.el (fortran-font-lock-keywords-2): Add .eqv., .neqv.
2895
2896 2008-05-17 Andreas Schwab <schwab@suse.de>
2897
2898 * vc-dispatcher.el (vc-dir-mode-map): Fix M-down and M-up binding.
2899
2900 2008-05-17 Dan Nicolaescu <dann@ics.uci.edu>
2901
2902 * vc.el (vc-annotate-show-diff-revision-at-line): Change
2903 vc-diff-internal arg to match what vc-deduce-fileseset returns now.
2904
2905 2008-05-17 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2906
2907 * menu-bar.el (menu-bar-select-buffer): Reinsert it as msb.el uses it.
2908
2909 2008-05-17 Jim Meyering <meyering@redhat.com>
2910
2911 * ido.el (ido-save-history): Do not emit a trailing newline at the
2912 end of the ido history file.
2913
2914 2008-05-16 John Paul Wallington <jpw@pobox.com>
2915
2916 * vc-dispatcher.el (top-level): Revert previous change: require cl
2917 when compiling.
2918
2919 2008-05-16 Eric S. Raymond <esr@snark.thyrsus.com>
2920
2921 * vc.el (vc-default-status-printer)
2922 (vc-default-prettify-state-info): Enhance the state prettyprinter
2923 to deal better with unknown states and indirect through it when
2924 painting vc-dir buffers.
2925
2926 2008-05-16 John Paul Wallington <jpw@pobox.com>
2927
2928 * vc-dispatcher.el (top-level): Don't require cl when compiling.
2929 (vc-dir-mode-map): Fix backquote.
2930 (vc-at-event): Doc fix. Use `make-symbol' instead of `gensym'.
2931
2932 2008-05-16 Michael Albinus <michael.albinus@gmx.de>
2933
2934 * net/tramp.el (tramp-handle-write-region): Fix check for short track.
2935 Reported by Glenn Morris <rgm@gnu.org>.
2936
2937 2008-05-16 Eric S. Raymond <esr@snark.thyrsus.com>
2938
2939 * vc.el: Remove my analysis of SCCS/RCS concurrency issues from
2940 the end of the file, it was good work at one time but has been
2941 stale since 1995 and may now be actively misleading.
2942 * vc-cvs.el (vc-cvs-status-extra-headers): Extract and display the
2943 CVS repository and module (assumptions for the latter a bit iffy).
2944 * vc-svn.el (vc-svn-status-extra-headers): Extract and display the
2945 SVN repository.
2946
2947 2008-05-16 Juanma Barranquero <lekktu@gmail.com>
2948
2949 * vc-rcs.el (vc-rcs-create-tag):
2950 * vc-sccs.el (vc-sccs-create-tag):
2951 Fix typo in error message and pass backend arg.
2952
2953 2008-05-15 Michael Albinus <michael.albinus@gmx.de>
2954
2955 * net/tramp.el (tramp-file-name-for-operation): Add `make-temp-name'.
2956
2957 2008-05-15 Teodor Zlatanov <tzz@lifelogs.com>
2958
2959 * net/tramp.el: Load auth-source library.
2960 (tramp-read-passwd): Use it for password, not login.
2961
2962 2008-05-15 Shigeru Fukaya <shugeru.fukaya@gmail.com>
2963
2964 * ses.el (ses-goto-print): Use move-to-column rather than forward-char.
2965 (ses-print-cell): Use string-width, truncate-string-to-width,
2966 delete-region rather than length, substring, delete-char.
2967 (ses-setup): Set inhibit-point-motion-hooks to t.
2968 Calculate position by actually moving point rather than just using
2969 unibyte character length.
2970 (ses-mode): Set indent-tabs-mode to nil.
2971 (ses-center): Use string-width rather than length.
2972
2973 2008-05-15 Eric S. Raymond <esr@snark.thyrsus.com>
2974
2975 * vc-cvs.el, vc-git.el, vc-hg.el, vc-hooks.el, vc-mcvs.el,
2976 * vc-rcs.el, vc-sccs.el, vc-svn.el, vc.el:
2977 Rename vc-*-create-snapshot and vc-*-retrieve-snapshot to
2978 vc-*-create-tag and vc-*-retrieve-tag respectively.
2979
2980 * vc-dispatcher.el: Fix an incorrect buffer name and remove an
2981 unneeded defalias.
2982
2983 * vc.el, vc-dispatcher.el (vc-dir-menu-map-filter): Move.
2984
2985 * vc.el, vc-dispatcher.el (vc-dir-menu-map): Remove assumption
2986 about buffer names.
2987
2988 2008-05-15 Glenn Morris <rgm@gnu.org>
2989
2990 * vc-hooks.el (vc-directory-resynch-file): Fix declaration.
2991
2992 * org/org-exp.el (org-infojs-options-inbuffer-template):
2993 Fix declaration.
2994
2995 * progmodes/cc-mode.el (declare-function): Add compat definition.
2996 (awk-mode-syntax-table, c-awk-unstick-NL-prop): Declare for compiler.
2997
2998 2008-05-14 Eric S. Raymond <esr@snark.thyrsus.com>
2999
3000 * vc-dispatcher.el (vc-dispatcher-selection): Change the returned
3001 list to a cons so the caller can get back both expanded and
3002 unexpanded filesets.
3003 * vc.el (vc-deduce-fileseset, vc-next-action, vc-diff-internal)
3004 (vc-merge, vc-version-diff, vc-print-log, vc-revert, vc-rollback):
3005 Change handling of selection-set returns as required.
3006
3007 2008-05-15 John Paul Wallington <jpw@pobox.com>
3008
3009 * add-log.el (top-level): Don't require cl when compiling.
3010
3011 * arc-mode.el (archive-add-new-member): Use `derived-mode-p'.
3012 (archive-*-extract): Use `zerop'.
3013 (archive-*-write-file-member): Use `or', use `zerop'.
3014
3015 * diff-mode.el (diff-current-defun): Use `buffer-local-value'.
3016
3017 * ibuffer.el (ibuffer-assert-ibuffer-mode): New defsubst.
3018 (ibuffer-mark-interactive, ibuffer-set-mark)
3019 (ibuffer-insert-buffer-line, ibuffer-redisplay-current)
3020 (ibuffer-map-lines, ibuffer-switch-format)
3021 (ibuffer-update-title-and-summary)
3022 (ibuffer-redisplay-engine): Use it.
3023
3024 * ibuf-ext.el (ibuffer-interactive-filter-by-mode)
3025 (ibuffer-set-filter-groups-by-mode, ibuffer-list-buffer-modes)
3026 (define-ibuffer-filter mode, define-ibuffer-filter used-mode)
3027 (define-ibuffer-sorter major-mode, ibuffer-mark-unsaved-buffers)
3028 (ibuffer-mark-read-only-buffers)
3029 (ibuffer-mark-dired-buffers): Use `buffer-local-value'.
3030
3031 * ibuf-macs.el (ibuffer-aif, ibuffer-awhen, ibuffer-save-marks)
3032 (define-ibuffer-column, define-ibuffer-sorter)
3033 (define-ibuffer-op, define-ibuffer-filter): Add declarations
3034 containing indentation specs, replacing equivalent top-level
3035 forms that set `lisp-indent-function' properties.
3036 (define-ibuffer-op): Use `derived-mode-p'.
3037 (define-ibuffer-filter): Remove redundant `concat' call.
3038
3039 2008-05-14 Michael Albinus <michael.albinus@gmx.de>
3040
3041 * net/tramp.el (tramp-echo-mark): Update docstring.
3042 (tramp-echo-mark-marker): New defconst.
3043 (tramp-check-for-regexp): Use it.
3044
3045 2008-05-14 Eric S. Raymond <esr@snark.thyrsus.com>
3046
3047 * vc.el (vc-deduce-fileset): Do the right thing when visting a
3048 buffer (say, a log buffer or diff buffer) with a vc-dir buffer
3049 as parent.
3050
3051 2008-05-14 John Paul Wallington <jpw@pobox.com>
3052
3053 * international/mule.el (convert-define-charset-argument):
3054 Remove period from end of error message.
3055 (coding-system-mnemonic): Doc fix.
3056 (ctext-pre-write-conversion): Doc fix.
3057
3058 2008-05-14 Simon Marshall <simon@gnu.org>
3059
3060 * obsolete/fast-lock.el (fast-lock-cache-directories): Remove "."
3061 from its default value and give it the risky-local-variable
3062 property (CVE-2008-2142).
3063
3064 2008-05-14 Kenichi Handa <handa@m17n.org>
3065
3066 * language/korean.el ("Korean"): Set `iso639-language'
3067 property to `ko'.
3068
3069 * language/japanese.el ("Japanese"): Set `iso639-language'
3070 property to `ja'.
3071
3072 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
3073 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK")
3074 ("Chinese-GB18030"): Set `iso639-language' property to `zh'.
3075
3076 * international/mule-cmds.el (set-language-environment):
3077 Set current-iso639-language.
3078
3079 * international/fontset.el (setup-default-fontset): For kana, han,
3080 hangul, and cjk-misc, move an entry with font-spec at the end.
3081 (generate-fontset-menu): Exclue fontset-auto* from the list.
3082
3083 * composite.el (compose-chars-after): Assume that WINDOW is always
3084 non-nil.
3085
3086 * faces.el (font-weight-table, font-slant-table)
3087 (font-swidth-table): Declare them by defconst. Change the format
3088 of elements. Call internal-set-font-style-table after their
3089 declaration.
3090 (face-valid-attribute-values): Call font-family-list. Get values
3091 for width, weight, and slant from font-xxx-table.
3092
3093 * cus-face.el (custom-face-attributes): Add "thin" for :weight.
3094
3095 2008-05-13 John Paul Wallington <jpw@pobox.com>
3096
3097 * ibuffer.el (ibuffer-buffer-file-name): New function.
3098 (define-ibuffer-column filename): Use it.
3099
3100 * ibuf-ext.el (define-ibuffer-filter filename): Use it.
3101
3102 2008-05-13 Chong Yidong <cyd@stupidchicken.com>
3103
3104 * talk.el (talk): Simplify. Pass display arg to talk-add-display
3105 as a string.
3106 (talk-add-display): Simplify. Accept only string args.
3107
3108 2008-05-13 Jay Belanger <jay.p.belanger@gmail.com>
3109
3110 * calc/calc.el (calc-mode-map): Remove old keybinding for `calc-yank'.
3111
3112 2008-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3113
3114 * Makefile.in (bootstrap-prepare): Don't chmod files.
3115 (autoloads): Do it here instead, where it's actually needed.
3116
3117 2008-05-13 Chong Yidong <cyd@stupidchicken.com>
3118
3119 * tool-bar.el (tool-bar-make-keymap): Account for the optional
3120 KEY-BINDING-DATA field in menu-item list.
3121
3122 2008-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3123
3124 * dired.el (dired-read-dir-and-switches): Move things about to use less
3125 recursion during macroexpansion.
3126
3127 * dired.el (dired-read-dir-and-switches): Use read-file-name.
3128
3129 * dired.el (dired-read-dir-and-switches): Ignore ., .., and
3130 completion-ignored-extension directories if there's something else.
3131 (dired-mark-if, dired-map-over-marks, dired-readin, dired-revert)
3132 (dired-remember-marks, dired-undo, dired-build-subdir-alist)
3133 (dired-internal-do-deletions, dired-mark-files-in-region, dired-mark)
3134 (dired-toggle-marks, dired-change-marks, dired-unmark-all-files):
3135 buffer-read-only -> inhibit-read-only.
3136
3137 2008-05-12 Eric S. Raymond <esr@snark.thyrsus.com>
3138
3139 * vc.el (vc-expand-dirs): Stop this function from tossing out
3140 explicitly specified files.
3141
3142 2008-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3143
3144 * smerge-mode.el (smerge-apply-resolution-patch): Don't pass nil
3145 to `insert'.
3146
3147 2008-05-12 Dan Nicolaescu <dann@ics.uci.edu>
3148
3149 * vc.el (vc-annotate-show-diff-revision-at-line): Remove incorrect
3150 cons. Use vc-annotate-backend.
3151 (with-vc-file, edit-vc-file): Remove unused macros.
3152
3153 2008-05-12 Teodor Zlatanov <tzz@lifelogs.com>
3154
3155 * mail/smtpmail.el: Add autoload for `auth-source-user-or-password'.
3156 (smtpmail-try-auth-methods): Use it.
3157
3158 2008-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3159
3160 * emacs-lisp/cl.el (cl-set-nthcdr): Make it a defsubst so that
3161 (setf (nthcdr ..) ..) doesn't require CL at runtime.
3162
3163 2008-05-11 Carsten Dominik <dominik@science.uva.nl>
3164
3165 * org/org.el (org-modules): Repair problems with loading org-jsinfo.org.
3166
3167 2008-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3168
3169 * vc-bzr.el (vc-bzr-sha1, vc-bzr-command-discarding-stderr)
3170 (vc-bzr-revision-completion-table): Use process-file.
3171 (vc-bzr-working-revision): Pass relative file names.
3172
3173 * diff-mode.el (diff-hunk-header-re): Refine the regexp.
3174
3175 2008-05-11 Juri Linkov <juri@jurta.org>
3176
3177 * wid-edit.el (widget-image-directory): Change default image data
3178 subdirectory from "custom" to "images/custom".
3179
3180 * info.el (Info-next-preorder): Let-bind `Info-history' to nil
3181 before recursive call to `Info-next-preorder' to not add
3182 intermediate nodes to the history.
3183
3184 * isearch.el: Put isearch-scroll property on recenter-top-bottom.
3185
3186 * emulation/cua-base.el: Put isearch-scroll property
3187 on cua-scroll-up and cua-scroll-down.
3188
3189 2008-05-11 Eric S. Raymond <esr@snark.thyrsus.com>
3190
3191 * vc-hooks.el (vc-recompute-state): Remove (dead code).
3192
3193 2008-05-10 Dan Nicolaescu <dann@ics.uci.edu>
3194
3195 * vc-dispatcher.el (ewoc): Require.
3196 (vc-log-edit, vc-buffer-sync): Declare for byte compiler.
3197
3198 * vc-hg.el (vc-hg-diff, vc-hg-annotate-command): Use when not if.
3199
3200 2008-05-10 Chong Yidong <cyd@stupidchicken.com>
3201
3202 * term/w32-win.el (x-colors):
3203 * term/mac-win.el (x-colors):
3204 * term/x-win.el (x-colors): Re-order colors.
3205
3206 2008-05-10 Reiner Steib <reiner.steib@gmx.de>
3207
3208 * smerge-mode.el (smerge-command-prefix): Fix custom type.
3209
3210 2008-05-10 Eric S. Raymond <esr@snark.thyrsus.com>
3211
3212 * vc-dispatcher.el (vc-dir-next-directory, vc-dir-prev-directory):
3213 New functions implementing motion to next and previous directory.
3214
3215 * vc-arch.el (vc-arch-command):
3216 * vc-bzr.el (vc-bzr-command):
3217 * vc-cvs.el (vc-cvs-command):
3218 * vc-dispatcher.el (vc-do-command):
3219 * vc-git.el (vc-git-command):
3220 * vc-hg.el (vc-hg-command):
3221 * vc-mcvs.el (vc-mvcs-command):
3222 * vc-mtn.el (vc-mtn-command):
3223 * vc-sccs.el (vc-sccs-command, vc-sccs-workfile)
3224 (vc-sccs-workfile-unchanged-p):
3225 * vc-svn.el (vc-svn-command, vc-svn-create-repo):
3226 * vc-rcs.el (all methods): Remove assumption about what a nil
3227 argument to vc-do-command means. This means no buffer name needs
3228 to be hardcoded into the dispatcher layer, and it's better to be
3229 explicit anyway.
3230
3231 * vc-svn.el (vc-svn-dir-state-heuristic): Remove.
3232
3233 2008-05-10 Dan Nicolaescu <dann@ics.uci.edu>
3234
3235 * vc.el: Update todo.
3236
3237 * vc-sccs.el (vc-sccs-dir-status):
3238 * vc-rcs.el (vc-rcs-dir-status): Avoid using results from multiple
3239 backends and returning up to date files.
3240
3241 * vc-hooks.el (vc-prefix-map): Remove duplicate binding.
3242
3243 2008-05-09 Eric S. Raymond <esr@snark.thyrsus.com>
3244
3245 * vc.el (vc-dir):
3246 * vc-hooks.el: Tweak the VC directory bindings. These are now
3247 documented in the manual.
3248
3249 * vc-dispatcher.el (vc-dir-update, vc-dir-parent-marked-p)
3250 (vc-dir-children-marked-p): Remove the vc-dir-insert-directories global.
3251 (vc-dispatcher-selection-set): Allow callers to pass in an
3252 observer flag that says no buffer sync is required.
3253 * vc.el (vc-deduce-fileset, vc-print-log, vc-version-diff):
3254 Use the observer flag.
3255
3256 2008-05-09 Michael Albinus <michael.albinus@gmx.de>
3257
3258 * simple.el (start-file-process): Clarify docstring.
3259
3260 2008-05-09 Eric S. Raymond <esr@snark.thyrsus.com>
3261
3262 * vc-sccs.el, vc.svn.el, vc-git.el, vc-hg.el, vc-mtn.el:
3263 Remove stub implementations of, and references to, wash-log.
3264 * vc-rcs.el (vc-rcs-comment-history):
3265 * vc-cvs.el (vc-cvs-comment-history):
3266 Inline the code that used to be wash-log.
3267
3268 * vc-sccs.el (vc-sccs-checkin, vc-sccs-checkout, vc-sccs-rollback)
3269 (vc-sccs-revert, vc-sccs-steal-lock, vc-sccs-modify-change-comment)
3270 (vc-sccs-print-log, vc-sccs-diff): Grok directories.
3271 * vc-rcs.el (vc-sccs-checkin, vc-sccs-checkout)
3272 (vc-rcs-revert, vc-rcs-steal-lock, vc-rcs-modify-change-comment)
3273 (vc-rcs-print-log): Grok directories.
3274
3275 2008-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3276
3277 * vc.el (vc-mark-resolved): Add `backend' argument.
3278 (vc-next-action): Pass it the backend.
3279 (vc-next-action, vc-checkout, vc-mark-resolved, vc-version-diff)
3280 (vc-merge, vc-rollback, vc-update, vc-transfer-file, vc-delete-file)
3281 (vc-default-comment-history, vc-default-create-snapshot)
3282 (vc-default-retrieve-snapshot, vc-default-revert, vc-annotate)
3283 (vc-annotate-revision-previous-to-line)
3284 (vc-annotate-show-diff-revision-at-line, vc-annotate-warp-revision):
3285 * vc-svn.el (vc-svn-checkout):
3286 * vc-mcvs.el (vc-mcvs-checkout):
3287 * vc-hooks.el (vc-state, vc-default-workfile-unchanged-p)
3288 (vc-working-revision, vc-before-save, vc-mode-line):
3289 Prefer vc-call-backend to vc-call so as not to recompute the backend.
3290
3291 * vc.el (vc-deduce-fileset): Don't require the checkout-model and the
3292 state to be consistent since it's often an unwarranted restriction.
3293 Don't return the state either.
3294 (vc-next-action): Check that the state is consistent.
3295 (vc-diff-internal, vc-version-diff, vc-print-log, vc-revert)
3296 (vc-rollback, vc-update): Adapt to new return value of
3297 vc-deduce-fileset.
3298
3299 * vc-dispatcher.el (vc-dispatcher-browsing): Use derived-mode-p.
3300 (vc-dir-prepare-status-buffer): Use vc-dispatcher-browsing.
3301 (vc-dispatcher-in-fileset-p): New fun.
3302 (vc-dispatcher-selection-set): Use it to properly handle directories.
3303
3304 2008-05-09 Dan Nicolaescu <dann@ics.uci.edu>
3305
3306 * vc.el (vc-version-diff, vc-print-log, vc-revert, vc-rollback)
3307 (vc-update): Remove unused let bindings.
3308
3309 2008-05-09 Eric S. Raymond <esr@snark.thyrsus.com>
3310
3311 * vc.el (vc-deduce-fileset, vc-next-action, vc-version-diff)
3312 (vc-diff, vc-revert, vc-rollback, vc-update):
3313 * vc-dispatcher.el (vc-dispatcher-selection-set):
3314 Get rid of 4 special cases in fileset selection. This involved
3315 changing the return value of (vc-deduce-fileset) so that it passes
3316 back a deduced state as well as a deduced back end.
3317
3318 2008-05-08 Sam Steingold <sds@gnu.org>
3319
3320 * progmodes/compile.el (compilation-minor-mode-map)
3321 (compilation-mode-map): Bind "g" to recompile and "q" to quit-window.
3322 * grep.el (grep-mode-map): Use `set-keymap-parent' to connect it
3323 to `compilation-minor-mode-map' (instead of an explicit `cons').
3324
3325 2008-05-08 Juanma Barranquero <lekktu@gmail.com>
3326
3327 * org/org.el (org-modules, org-format-latex-options):
3328 * org/org-archive.el (org-archive-stamp-time)
3329 (org-archive-save-context-info):
3330 * org/org-faces.el (org-hide):
3331 * org/org-irc.el (org-irc-parse-link):
3332 * org/org-macs.el (org-call-with-arg, org-autoload):
3333 * org/org-mew.el (org-mew-store-link):
3334 * org/org-remember.el (org-remember-store-without-prompt)
3335 (org-remember-templates): Fix typos in docstrings.
3336
3337 * org/org-info.el (org-info-store-link): Remove leftover docstring.
3338
3339 * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
3340 (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
3341 (org-bbdb-anniv-split): Fix typos in docstrings.
3342
3343 * org/org-publish.el (org-publish-project-alist): Doc fixes.
3344 (org-publish-use-timestamps-flag): Reflow docstring.
3345 (org-publish-files-alist): Fix typos in docstring.
3346
3347 2008-05-07 Sam Steingold <sds@gnu.org>
3348
3349 * pcvs-util.el (cvs-bury-buffer): Revert my patch: quit-window
3350 appears to be too aggressive with window removal.
3351
3352 2008-05-08 Michael McNamara <mac@mail.brushroad.com>
3353
3354 * verilog-mode.el (verilog-type-font-keywords): Add leda and 0in
3355 as pragma keywords.
3356 (verilog-pretty-expr): Support lining up assignments which include
3357 part selects.
3358 (verilog-mode): More portable check for the availability of
3359 hideshow support.
3360 (verilog-do-indent): Remove special indent for declarations inside
3361 a parenthetical list. The code is ill-advised, and doesn't work
3362 given the new user defined types.
3363 (verilog-set-auto-endcomments): Enhance function automatic
3364 endcomment to support functions that return user defined types.
3365 (verilog-mode): Add code to tell which-function-mode minor mode
3366 that Verilog supports this feature.
3367
3368 2008-05-08 Eli Zaretskii <eliz@gnu.org>
3369
3370 * epa-file.el: Require epa-hook.
3371
3372 * loadup.el ("epa-hook"): Load epa-hook instead of epa-file-hook.
3373
3374 * epa-hook.el: Renamed from epa-file-hook.el, to avoid
3375 file-names clashes on 8+3 filesystems. Provide epa-hook.
3376
3377 * org/org-jsinfo.el: Renamed from org-infojs.el, to avoid
3378 file-names clashes on 8+3 filesystems.
3379
3380 2008-05-08 Carsten Dominik <dominik@science.uva.nl>
3381
3382 * org/org.el (org-read-date-get-relative): Interpret lone
3383 weekday abbreviation as relative to today.
3384
3385 2008-05-08 Juanma Barranquero <lekktu@gmail.com>
3386
3387 * abbrev.el (define-abbrev-table):
3388 * composite.el (toggle-auto-composition):
3389 * json.el (json-alist-p, json-plist-p):
3390 * minibuffer.el (completion-table-with-predicate):
3391 * ps-mule.el (ps-mule-external-libraries):
3392 * emacs-lisp/advice.el (ad-special-form-p):
3393 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3394 * eshell/em-smart.el (eshell-review-quick-commands):
3395 * progmodes/python.el (python-comment-line-p, python-blank-line-p)
3396 (python-skip-out, python-check-comint-prompt):
3397 Don't use `iff' in docstrings.
3398
3399 * international/robin.el (robin-package-alist): Fix typo in docstring.
3400 (robin-current-package-name): Doc fix.
3401 (robin-activate): Don't use `iff' in docstring.
3402
3403 2008-05-07 Eric S. Raymond <esr@snark.thyrsus.com>
3404
3405 * vc.el, vc-dispatcher.el: VC-Dired support removed.
3406 The code uses a ewoc-based implementation now.
3407 * vc-hooks.el: Support for Meta-CVS has been removed.
3408
3409 2008-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3410
3411 * tool-bar.el: Choose images dynamically.
3412 (tool-bar-make-keymap, tool-bar-find-image): New function.
3413 (tool-bar-find-image-cache): New var.
3414 (tool-bar-local-item, tool-bar-local-item-from-menu):
3415 Don't select the image yet, do it later in tool-bar-make-keymap.
3416
3417 2008-05-07 Andreas Schwab <schwab@suse.de>
3418
3419 * window.el: Require 'cl when compiling.
3420
3421 2008-05-07 Dan Nicolaescu <dann@ics.uci.edu>
3422
3423 * vc-dispatcher.el (vc-dir-insert-directories): Default to t.
3424
3425 2008-05-07 Glenn Morris <rgm@gnu.org>
3426
3427 * subr.el (ignore-errors): Move here from cl-macs.el.
3428 * emacs-lisp/cl-macs.el (ignore-errors): Move to subr.el.
3429
3430 * progmodes/fortran.el (fortran-mode): Fix font-lock-syntactic-keywords
3431 oddness.
3432
3433 2008-05-06 Eric S. Raymond <esr@snark.thyrsus.com>
3434
3435 * vc-hooks.el (vc-find-file-hook):
3436 * vc-dispatcher.el (vc-resynch-window): Decouple vc-dispatcher
3437 further from vc.el.
3438 * vc.el (vc-dir-mode): Move VC-specific context menu entries here.
3439
3440 2008-05-06 Wilson Snyder <wsnyder@wsnyder.org>
3441
3442 * verilog-mode.el (verilog-getopt-file): Cleanup warning message format.
3443 (verilog-auto, verilog-auto-arg, verilog-auto-ascii-enum)
3444 (verilog-auto-inout, verilog-auto-inout-module)
3445 (verilog-auto-input, verilog-auto-inst, verilog-auto-inst-param)
3446 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
3447 (verilog-auto-reg-input, verilog-auto-reset, verilog-auto-sense)
3448 (verilog-auto-sense-sigs, verilog-auto-tieoff)
3449 (verilog-auto-unused, verilog-auto-wire)
3450 (verilog-decls-get-assigns, verilog-decls-get-consts)
3451 (verilog-decls-get-gparams, verilog-decls-get-inouts)
3452 (verilog-decls-get-inputs, verilog-decls-get-outputs)
3453 (verilog-decls-get-ports, verilog-decls-get-regs)
3454 (verilog-decls-get-signals, verilog-decls-get-wires)
3455 (verilog-dir-cache-lib-filenames, verilog-dir-cache-list)
3456 (verilog-dir-cache-preserving, verilog-dir-file-exists-p)
3457 (verilog-dir-files, verilog-expand-dirnames, verilog-getopt-file)
3458 (verilog-inject-sense, verilog-library-filenames)
3459 (verilog-mode-release-date, verilog-mode-version)
3460 (verilog-modi-cache-add, verilog-modi-cache-preserve-buffer)
3461 (verilog-modi-cache-preserve-tick, verilog-modi-cache-results)
3462 (verilog-modi-get-assigns, verilog-modi-get-consts)
3463 (verilog-modi-get-gparams, verilog-modi-get-inouts)
3464 (verilog-modi-get-inputs, verilog-modi-get-outputs)
3465 (verilog-modi-get-ports, verilog-modi-get-regs)
3466 (verilog-modi-get-signals, verilog-modi-get-sub-inouts)
3467 (verilog-modi-get-sub-inputs, verilog-modi-get-sub-outputs)
3468 (verilog-modi-get-wires, verilog-preserve-cache)
3469 (verilog-preserve-dir-cache, verilog-preserve-modi-cache)
3470 (verilog-read-sub-decls, verilog-read-sub-decls-line)
3471 (verilog-read-sub-decls-sig, verilog-subdecls-get-inouts)
3472 (verilog-subdecls-get-inputs, verilog-subdecls-get-outputs):
3473 Add caching of additional state, and rework signal extraction
3474 routines to improve AUTO expansion performance by 300%++.
3475
3476 2008-05-06 Chong Yidong <cyd@stupidchicken.com>
3477
3478 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3479 Tweak Open Watcom regexp to distinguish between errors and warnings.
3480
3481 2008-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
3482
3483 * dired.el (dired-read-dir-and-switches): Fix up last change.
3484
3485 2008-05-05 Eric S. Raymond <esr@snark.thyrsus.com>
3486
3487 * vc.el (vc-deduce-fileset): Lift all the policy and UI stuff
3488 out of this function, move it to vc-dispatcher-selection-set.
3489
3490 2008-05-05 Sam Steingold <sds@gnu.org>
3491
3492 * window.el (delete-other-windows-vertically): New function.
3493
3494 2008-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3495
3496 * dired.el (dired-read-dir-and-switches):
3497 Obey read-file-name-completion-ignore-case.
3498
3499 2008-05-05 Nick Roberts <nickrob@snap.net.nz>
3500
3501 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3502 Add regexp for Open Watcom compiler output.
3503
3504 2008-05-05 Phil Sung <psung@mit.edu> (tiny change)
3505
3506 * progmodes/python.el (python-block-pairs): Align finally with except.
3507
3508 2008-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3509
3510 * vc-rcs.el (vc-rcs-fetch-master-state): Fix inf-loop.
3511
3512 2008-05-05 Tom Tromey <tromey@redhat.com>
3513
3514 * smerge-mode.el (smerge-start-session): Don't call smerge-next if
3515 looking at conflict marker.
3516
3517 2008-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3518
3519 * vc-dispatcher.el (vc-dir-mark-buffer-changed): Fix typo
3520 client-mode -> vc-client-object, and guess `funcall' was meant.
3521 (vc-dir-mode): Rename client-mode -> vc-client-mode.
3522
3523 2008-05-05 Dan Nicolaescu <dann@ics.uci.edu>
3524
3525 * net/zeroconf.el (dbus-call-method, dbus-register-signal)
3526 (dbus-debug): Move declarations outside eval-when-compile.
3527
3528 2008-05-04 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
3529
3530 * proced.el (proced-command-alist): Fix system-type values.
3531 Fix defcustom.
3532 (proced-sorting-schemes-alist, proced-sorting-scheme): New variables.
3533 (proced-sort-pcpu, proced-sort-pmem, proced-sort-pid)
3534 (proced-sort-start, proced-sort, proced-sort-time): New commands.
3535 (proced-update): Use proced-sorting-scheme. Update modeline.
3536 (proced-send-signal): Use nreverse.
3537 (proced-sorting-scheme-p): New function.
3538
3539 2008-05-04 Andreas Schwab <schwab@suse.de>
3540
3541 * vc.el: Require dired when compiling.
3542
3543 * minibuffer.el (completion--insert-strings): Don't delete past bol.
3544
3545 2008-05-03 Glenn Morris <rgm@gnu.org>
3546
3547 * ediff-diff.el, ediff-help.el, ediff-merg.el, ediff-mult.el:
3548 * ediff-ptch.el, ediff-util.el, ediff-wind.el, ediff.el:
3549 Simplify compilation requirements.
3550 * ediff-init.el, ediff-vers.el: Remove unnecessary variable
3551 declarations.
3552
3553 2008-05-03 Dave Love <fx@gnu.org>
3554
3555 * progmodes/python.el (python-beginning-of-statement):
3556 Loop at least once (fixes 2008-02-21 change).
3557
3558 2008-05-03 Eli Zaretskii <eliz@gnu.org>
3559
3560 * ls-lisp.el (ls-lisp-insert-directory): Use `string-width'
3561 instead of `length' for comparing length of user and group names.
3562
3563 2008-05-03 Eric S. Raymond <esr@snark.thyrsus.com>
3564
3565 * vc-dispatcher.el: New file, separates out the UI and command
3566 execution machinery from VCS-specific logic left in vc.el.
3567 The separation is not yet completely clean, but it's a good start.
3568 * vc.el: This file is about 1700 lines shorter now.
3569 Remove obsolete logentry-check from the backend API.
3570 * vc-sccs.el (vc-sccs-logentry-check): Remove. This was the only
3571 implementation of the logentry-check method, and it guarded against
3572 a log length limit that has probably been obsolete for 15 years (!).
3573
3574 2008-05-02 Sam Steingold <sds@gnu.org>
3575
3576 * progmodes/compile.el (compilation-start): Move setting of
3577 compilation-directory after (funcall mode) as that resets local
3578 variables, this fixes recompile in grep buffers.
3579 * grep.el (grep-mode-map): Bind "g" to recompile (like in dired &c).
3580
3581 2008-05-02 Eric S. Raymond <esr@snark.thyrsus.com>
3582
3583 * vc-arch.el, vc-bzr.el, vc-cvs.el, vc-git.el, vc-hg.el,
3584 * vc-hooks.el, vc-mcvs.el, vc-mtn.el, vc-rcs.el, vc-sccs.el,
3585 * vc-svn.el, vc.el (vc-*-checkout-model): Make sure every backend
3586 has one of these and that all are called in compatible ways.
3587 * vc-arch.el, vc-bzr.el, vc-cvs.el, vc-git.el, vc-hg.el,
3588 * vc-hooks.el, vc-mcvs.el, vc-mtn.el, vc-rcs.el, vc-sccs.el,
3589 * vc-svn.el, vc.el (vc-*-revision-granularity): Make sure every
3590 backend has one of these.
3591
3592 2008-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
3593
3594 * progmodes/octave-mod.el (octave-abbrev-table): Move defvar and
3595 initialization into define-abbrev-table. Use :regexp.
3596 (octave-mode-syntax-table): Don't set word syntax for `.
3597
3598 * files.el (minibuffer-with-setup-hook): Allow `fun' expressions rather
3599 than only value.
3600
3601 * dired.el (dired-read-dir-and-switches):
3602 Set minibuffer-completing-file-name and call substitute-in-file-name.
3603 (dired-format-columns-of-files): Use completion--insert-strings.
3604
3605 * minibuffer.el (completion-hilit-commonality): Revert last change:
3606 the leftover code was actually useful.
3607 (completion--insert-strings): Use string-width rather than length.
3608
3609 2008-05-02 Sam Steingold <sds@gnu.org>
3610
3611 * vc.el (vc-dir-mode-map): Enable mouse bindings.
3612 (vc-at-event): New macro: run the body at the even location.
3613 (vc-dir-menu, vc-dir-toggle-mark): Use it.
3614 (vc-dir-mark-file, vc-dir-unmark-file): Move only on non-mouse events.
3615 * subr.el (mouse-event-p): Check if the event is mouse-related.
3616
3617 2008-05-02 Nick Roberts <nickrob@snap.net.nz>
3618
3619 * progmodes/gdb-ui.el (gdb-info-breakpoints-custom):
3620 Don't throw error if no file is found.
3621
3622 2008-05-02 Juanma Barranquero <lekktu@gmail.com>
3623
3624 * vc-hooks.el (vc-call, vc-state): Fix typos in docstrings.
3625 (vc-default-state-heuristic): Doc fix.
3626
3627 2008-05-02 Richard Sharman <rsharman@pobox.com>
3628
3629 * hilit-chg.el (highlight-changes-mode): Remove references to
3630 hooks that no longer exist. Because define-minor-mode is used the
3631 hook highlight-changes-mode-hook exists and can do what both the
3632 old hooks used to do. The documentation at the top of the file
3633 was updated to demonstrate this.
3634 (highlight-changes-mode): Remove commented out call to a hook
3635 function that is no longer there.
3636 (hilit-chg-set): Remove running of highlight-changes-enable-hook.
3637
3638 2008-05-02 Eric S. Raymond <esr@snark.thyrsus.com>
3639
3640 * vc.el (vc-default-dired-state-info): Change name of primitive
3641 to prettify-state-info, in preparation for ripping out dired mode.
3642 * vc-bzr.el (vc-bzr-dired-state-info): Change name of primitive
3643 to prettify-state-info, in preparation for ripping out dired mode.
3644 * vc-hooks.el (vc-toggle-read-only): Throw an error when a user
3645 tries this on a version-controlled buffer. It will do useless or
3646 actively bad things on any version control system newer than RCS.
3647 * vc-hooks.el (vc-dired-resynch-file):
3648 * vc.el (vc-dired-resynch-file): Change name of primitive to
3649 vc-directory-resynch-file, preparing to remove dired.
3650
3651 2008-05-02 Dan Nicolaescu <dann@ics.uci.edu>
3652
3653 * vc-rcs.el (vc-rcs-state): Fix typos.
3654
3655 * vc.el (vc-register): Change argument order so that the prefix
3656 argument is assigned correctly.
3657 (vc-next-action, vc-dir-register): Update for the above change.
3658
3659 2008-05-01 Juri Linkov <juri@jurta.org>
3660
3661 * replace.el (occur-read-primary-args): Set default to the car of
3662 regexp-history and display it in the prompt, but don't add to the
3663 list of minibuffer defaults. Bind history-add-new-input to nil to
3664 not add automatically `default'. For empty input return `default'.
3665 Otherwise, add `input' to regexp-history and return it.
3666 (occur-1): Signal an error for the empty regexp.
3667
3668 * progmodes/compile.el (compilation-auto-jump):
3669 Set window point to `pos' explicitly.
3670
3671 2008-05-01 Eric S. Raymond <esr@snark.thyrsus.com>
3672
3673 * vc-bzr.el (vc-bzr-state): Allow this to return 'ignored
3674 when appropriate.
3675 * vc-sccs.el (vc-sccs-state): Call vc-sccs-unregistered so
3676 we report the 'unregistered state reliably.
3677 * vc-rcs.el (vc-rcs-state): Call vc-rcs-unregistered so
3678 we report the 'unregistered state reliably.
3679 * vc-git.el (vc-git-state): Call vc-git-unregistered so
3680 we report the 'unregistered state reliably.
3681 * vc-hooks (vc-state): Document that vc-unregistered is
3682 now expected to be returned reliably.
3683 * vc.el (vc-default-dired-state): Change needs-patch state to
3684 needs-update, since the name now shows up in dir-status listings
3685 and was somewhat misleading.
3686 * vc-cvs.el (vc-cvs-delete-file): Don't do a "cvs commit"
3687 immediately after removing the file.
3688 * vc.el (vc-next-action): More informative messages when a fileset
3689 is in a mixed state or files are missing.
3690
3691 2008-05-01 Sam Steingold <sds@gnu.org>
3692
3693 * vc.el (vc-delete-file): Check if the file has uncommitted changes.
3694
3695 2008-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
3696
3697 * Makefile.in: Revert incorrect fix for claimed bootstrap breakage.
3698
3699 2008-05-01 Daiki Ueno <ueno@unixuser.org>
3700
3701 * epa-file-hook.el: New file split from epa-file.el.
3702 * epa-file.el: Require 'epa-file-hook.
3703 (epa-file-handler): Add autoload cookie.
3704 * loadup.el: Load epa-file-hook.
3705 * startup.el (command-line): Eval the body of auto-encryption-mode.
3706
3707 2008-05-01 Dan Nicolaescu <dann@ics.uci.edu>
3708
3709 * vc.el (vc-dir-mode-map): Don't bind "r".
3710
3711 * vc-hg.el (vc-hg-extra-fileinfo): New defstruct.
3712 (vc-hg-status-printer): New function.
3713 (vc-hg-after-dir-status): Deal with copied and renamed files.
3714 (vc-hg-dir-status): Add flag to show copied files.
3715
3716 2008-05-01 John Paul Wallington <jpw@pobox.com>
3717
3718 * ibuffer.el (ibuffer-last-sorting-mode): New variable.
3719 (ibuffer-do-sort-by-recency): Reverse sorting order if last
3720 sorting mode was recency.
3721
3722 * ibuf-macs.el (define-ibuffer-sorter): Define the sorter to
3723 reverse sorting order if last sorting mode was the sorter's.
3724
3725 2008-05-01 Jason Rumney <jasonr@gnu.org>
3726
3727 * w32-fns.el (w32-charset-info-alist): Map vietnamese to windows-1258.
3728
3729 2008-04-30 John Paul Wallington <jpw@pobox.com>
3730
3731 * ibuffer.el (define-ibuffer-column filename): When the major mode
3732 is `vc-dir-mode' show the buffer's default directory.
3733
3734 * ibuf-ext.el (define-ibuffer-filter filename): Likewise when the
3735 major mode is `vc-dir-mode' use the buffer's default directory.
3736
3737 2008-04-30 Sam Steingold <sds@gnu.org>
3738
3739 * vc.el (vc-dir-delete-file): Add.
3740 (vc-dir-mode-map): Bind "r" to vc-dir-delete-file, like in PCL-CVS.
3741 (vc-delete-file): Do not barf when the file has been already deleted.
3742
3743 2008-04-30 Dan Nicolaescu <dann@ics.uci.edu>
3744
3745 * emacs-lisp/lisp-mode.el (lisp-mode-map): Add menu.
3746
3747 2008-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
3748
3749 * progmodes/octave-mod.el (octave-help): New function.
3750 * progmodes/octave-hlp.el: Delete.
3751 * info-look.el (octave-mode): Add operator index.
3752
3753 * vc.el (vc-checkout): Typo.
3754
3755 2008-04-30 Dan Nicolaescu <dann@ics.uci.edu>
3756
3757 * menu-bar.el (menu-bar-tools-menu): Reorder, place Games last.
3758 Add "..." in the appropriate places.
3759
3760 * epa.el (epa-key-list-mode-map): Add more menu entries.
3761 Add "..." in the appropriate places.
3762
3763 * dired.el (dired-mode-map): Add :help.
3764
3765 * vc.el (vc-deduce-fileset): Add new parameter.
3766 (vc-dir-marked-only-files): New function.
3767 (vc-next-action): Don't ignore directories, look at the files
3768 inside them.
3769 (vc-dir-mode): Document how the mark/unmark commands work.
3770
3771 2008-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
3772
3773 * progmodes/compile.el (compilation-error-regexp-alist-alist) <gnu>:
3774 Rule out trailing spaces in file and directory names as well.
3775
3776 * minibuffer.el (completion--do-completion): Move point even if the
3777 completion makes no change.
3778 (completion-pcm-try-completion): Fix computation of new point.
3779
3780 2008-04-30 David Hansen <david.hansen@gmx.net>
3781
3782 * dired.el: Require 'cl.
3783
3784 2008-04-30 Nick Roberts <nickrob@snap.net.nz>
3785
3786 * progmodes/gdb-ui.el (gdb-frame-handler-1): Make overlay arrow
3787 hollow if not in innermost frame.
3788
3789 2008-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
3790
3791 Make `checkout-model' apply to filesets.
3792 * vc-hooks.el (vc-checkout-model): Rewrite.
3793 (vc-before-save, vc-after-save): Adjust callers accordingly.
3794 * vc.el (vc-editable-p, vc-next-action, vc-checkout, vc-update)
3795 (vc-transfer-file): Adjust callers accordingly.
3796 * vc-rcs.el (vc-rcs-checkout-model): Adjust arg.
3797 (vc-rcs-state, vc-rcs-state-heuristic, vc-rcs-receive-file)
3798 (vc-rcs-checkout, vc-rcs-fetch-master-state): Use vc-rcs-checkout-model
3799 instead of vc-checkout-model.
3800 * vc-mcvs.el (vc-mcvs-revert):
3801 Use vc-mcvs-checkout-model i.s.o vc-checkout-model.
3802 * vc-cvs.el (vc-cvs-checkout-model): Adjust arg.
3803 (vc-cvs-revert): Use vc-cvs-checkout-model i.s.o vc-checkout-model.
3804 * vc-svn.el (vc-svn-checkout-model):
3805 * vc-hg.el (vc-hg-checkout-model):
3806 * vc-git.el (vc-git-checkout-model):
3807 * vc-bzr.el (vc-bzr-checkout-model): Adjust arg.
3808
3809 * dired.el (dired-read-dir-and-switches): Replace last change with
3810 a new approach that mixes read-file-name and read-directory-name.
3811
3812 * files.el (read-buffer-to-switch):
3813 Avoid making assumptions about `other-buffer'.
3814
3815 2008-04-29 Sam Steingold <sds@gnu.org>
3816
3817 * vc.el (vc-dir-mode-hook): Add normal hook.
3818 (vc-dir-mode): Run it.
3819
3820 2008-04-29 Nick Roberts <nickrob@snap.net.nz>
3821
3822 * progmodes/gdb-ui.el (gdb-display-buffer): Don't pop up GUD buffer.
3823 Always split windows.
3824 (gdb-speedbar-timer-fn): Only raise frame after user input.
3825 (gdb-same-frame): Reverse initial value.
3826 (gdb-display-gdb-buffer): Check for GUD buffer in other frames.
3827
3828 * progmodes/gud.el (gud-speedbar-buttons): Raise frame in
3829 gdb-speedbar-timer-fn.
3830
3831 2008-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
3832
3833 * uniquify.el (uniquify-rationalize-a-list): Beware of side-effects.
3834
3835 2008-04-29 Daiki Ueno <ueno@unixuser.org>
3836
3837 * epa.el (epa-key-list-mode-map): Add menu.
3838 (epa-delete-keys, epa-import-keys): Fix typo.
3839
3840 2008-04-29 Glenn Morris <rgm@gnu.org>
3841
3842 * find-cmd.el (top-level): Does not need cl when compiling.
3843
3844 2008-04-29 Phil Jackson <phil@shellarchive.co.uk>
3845
3846 * find-cmd.el: New file.
3847
3848 2008-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
3849
3850 * minibuffer.el (completion-hilit-commonality): Remove leftover code.
3851 (completion-pcm--pattern->regex): Let `group' be a list of symbols.
3852 (completion-pcm--hilit-commonality): New function.
3853 (completion-pcm-all-completions): Use it.
3854
3855 * minibuffer.el (completion-common-substring): Mark obsolete.
3856 (completions-first-difference, completions-common-part):
3857 Move from simple.el.
3858 (completion-hilit-commonality): New fun.
3859 (display-completion-list, completion-emacs21-all-completions)
3860 (completion-emacs22-all-completions): Use it.
3861 * simple.el (completions-first-difference, completions-common-part):
3862 Move to minibuffer.el.
3863 (choose-completion-string): Use field functions and minibufferp.
3864 (completion-setup-function): Don't set completions faces.
3865
3866 2008-04-29 Glenn Morris <rgm@gnu.org>
3867
3868 * calendar/calendar.el (calendar-nth-named-absday)
3869 (calendar-nth-named-day):
3870 * calendar/diary-lib.el (diary-list-sexp-entries, diary-float):
3871 * calendar/holidays.el (holiday-float): Doc fixes.
3872
3873 * emacs-lisp/check-declare.el (check-declare-errmsg): Fix counting in
3874 the `full' case.
3875
3876 * org/org-agenda.el (calendar-iso-from-absolute):
3877 * org/org.el (calendar-absolute-from-iso, calendar-iso-from-absolute):
3878 Fix declarations.
3879
3880 2008-04-28 Nick Roberts <nickrob@snap.net.nz>
3881
3882 * progmodes/gdb-ui.el (gdb-info-breakpoints-custom): Make breakpoint
3883 icons work for assembler, i.e. FILE.s, FILE.S (not disassembly).
3884 (gdb-goto-breakpoint): Likewise for visiting breakpoints.
3885 (gdb-assembler-custom): Be careful not to match other addresses.
3886
3887 2008-04-29 Jason Rumney <jasonr@gnu.org>
3888
3889 * battery.el (battery-status-function): Use w32-battery-status
3890 on Windows.
3891 (battery-echo-area-format): Make apm format the general case.
3892 (battery-mode-line-format): Merge apm and pmset formats as the
3893 general case.
3894
3895 2008-04-29 Nick Roberts <nickrob@snap.net.nz>
3896
3897 * progmodes/gdb-ui.el (gdb-info-stack-custom):
3898 Use gud-tool-bar-item-visible-no-fringe.
3899 (gdb-display-buffer): Don't pop new buffer if gud-comint-buffer
3900 is already visible in frame. Remove optional size parameter
3901 and add optional frame parameter.
3902
3903 * progmodes/gud.el (gud-display-line): Only consider visible
3904 frames when looking for source buffer.
3905
3906 2008-04-28 Chong Yidong <cyd@stupidchicken.com>
3907
3908 * doc-view.el (doc-view-new-window-function): Avoid using WINDOW
3909 argument to get-char-property, in case the current buffer hasn't
3910 been assigned to that window yet.
3911 (doc-view-display): Default to selected window if the current
3912 buffer hasn't been assigned to a window yet.
3913
3914 2008-04-28 Vinicius Jose Latorre <bzg@altern.org>
3915
3916 * whitespace.el (whitespace-trailing-regexp): Fix docstring.
3917
3918 2008-04-28 Michael Albinus <michael.albinus@gmx.de>
3919
3920 * net/tramp.el (tramp-mode): New defcustom.
3921 (tramp-file-name-handler, tramp-completion-file-name-handler):
3922 Use it.
3923 (tramp-replace-environment-variables): Handle "$$".
3924
3925 2008-04-28 Sam Steingold <sds@gnu.org>
3926
3927 * vc-hg.el (vc-hg-rename-file): Fix argument order.
3928
3929 2008-04-28 Bastien Guerry <bzg@altern.org>
3930
3931 * whitespace.el (whitespace-trailing): Fix typo.
3932
3933 2008-04-28 Sam Steingold <sds@gnu.org>
3934
3935 * textmodes/remember.el (diary-make-entry): Update the autoload.
3936
3937 2008-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3938
3939 * minibuffer.el (completion-pcm--all-completions): Don't pass nil to
3940 all-completions.
3941
3942 2008-04-28 Juanma Barranquero <lekktu@gmail.com>
3943
3944 * desktop.el (desktop-minor-mode-table): Add `savehist-mode'.
3945
3946 2008-04-27 Dan Nicolaescu <dann@ics.uci.edu>
3947
3948 * vc.el (vc-dir-mode-map): Change bindings for unmark all and revert.
3949 (vc-dir-parent-marked-p, vc-dir-children-marked-p): Implement.
3950 (vc-dir-mark-file): Add an optional argument.
3951 (vc-dir-mark-all-files, vc-dir-unmark-all-files): Deal with directories.
3952
3953 2008-04-27 Daiki Ueno <ueno@unixuser.org>
3954
3955 * epa-file.el (epa-file-enable, epa-file-disable): Use find-file-hook
3956 rather than obsolete alias find-file-hooks.
3957 (auto-encryption-mode): Rename from epa-file-mode. Default to on.
3958 Use find-file-hook rather than obsolete alias find-file-hooks.
3959 Add to find-file-not-found-functions.
3960 (epa-file-handler): Put 'safe-magic and 'operations properties.
3961
3962 * epa.el (epa-global-minor-modes, epa-mode, epa-menu)
3963 (epa-menu-items): Remove.
3964
3965 * epa-dired.el (epa-dired-do-decrypt, epa-dired-do-verify)
3966 (epa-dired-do-sign, epa-dired-do-encrypt): Add autoload cookie.
3967 (epa-dired-mode, epa-global-dired-mode): Remove.
3968
3969 * dired.el (dired-mode-map): Bind encryption/decryption commands.
3970
3971 * menu-bar.el (menu-bar-encryption-decryption-menu): New menu item.
3972
3973 * files.el (insert-file-contents-literally): Inhibit epa-file-handler.
3974
3975 2008-04-27 Glenn Morris <rgm@gnu.org>
3976
3977 * textmodes/reftex-global.el (reftex-isearch-switch-to-next-file):
3978 Remove un-needed local `orig-list'. Replace cl `copy-list'.
3979
3980 2008-04-27 Carsten Dominik <dominik@science.uva.nl>
3981
3982 * org/org.el (org-html-level-start): Always have id's in HTML.
3983 (org-export-as-html): Use `org-link-protocols' to
3984 retrieve the export form of the link.
3985 (org-add-link-type): Final parameter renamed from PUBLISH.
3986 Better documentation of how it is to be used. Avoid double entries for
3987 the same link type.
3988 (org-add-link-props): New function.
3989 (org-modules-loaded): New variable.
3990 (org-load-modules-maybe, org-set-modules): New function.
3991 (org-modules): New option.
3992 (org-mode, org-cycle, orgstruct-mode, org-run-like-in-org-mode)
3993 (orgtbl-mode, org-store-link, org-insert-link-global)
3994 (org-open-at-point): Call `org-load-modules-maybe'.
3995 (org-search-view): Add more text properties.
3996 (org-agenda-schedule, org-agenda-deadline): Allow also in
3997 search-type agendas.
3998 (org-search-view): Order of arguments has been changed.
3999 Interpret prefix-arg as TODO-ONLY.
4000 (org-agenda, org-run-agenda-series, org-agenda-manipulate-query):
4001 Take new argument order of `org-search-view' into account.
4002 (org-todo-only): New variable.
4003 (org-search-syntax-table): New variable and function.
4004 (org-search-view): Do the search with the special syntax table.
4005 (define-obsolete-function-alias): Make work with XEmacs.
4006 (org-add-planning-info): Use old date as default when modifying an
4007 existing deadline or scheduled item.
4008 (org-agenda-compute-time-span): Make argument N optional.
4009 (org-agenda-format-date-aligned): Require `cal-iso'.
4010 (org-agenda-list): Include week into agenda heading, don't
4011 list it at each date (only on Mondays).
4012 (org-read-date-analyze): Define local variable `iso-date'.
4013 (org-agenda-format-date-aligned): Remove dependency on
4014 `calendar-time-from-absolute'.
4015 (org-remember-apply-template, org-go-to-remember-target):
4016 Interpret filenames relative to `org-directory'.
4017 (org-complete): Silently fail when trying to complete
4018 keywords that don't have a default value.
4019 (org-get-current-options): Add a #+DATE: option.
4020 (org-additional-option-like-keywords): Remove "DATE:" from the
4021 list of additional keywords.
4022 (org-export-as-html): Remove (current-time) as unnecessary second
4023 argument of `format-time-string'.
4024 (org-clock-find-position): Handle special case at end of buffer.
4025 (org-agenda-day-view): New argument DAY-OF-YEAR, pass it on to
4026 `org-agenda-change-time-span'.
4027 (org-agenda-week-view): New argument ISO-WEEK, pass it on to
4028 `org-agenda-change-time-span'.
4029 (org-agenda-month-view): New argument MONTH, pass it on to
4030 `org-agenda-change-time-span'.
4031 (org-agenda-year-view): New argument YEAR, pass it on to
4032 `org-agenda-change-time-span'.
4033 (org-agenda-change-time-span): New optional argument N, pass it on
4034 to `org-agenda-compute-time-span'.
4035 (org-agenda-compute-time-span): New argument N, interpret it by
4036 changing the starting day.
4037 (org-small-year-to-year): New function.
4038 (org-scheduled-past-days): Respect `org-scheduled-past-days'.
4039 (org-auto-repeat-maybe): Make sure that repeating dates are pushed
4040 into the future, and that the shift is at least one interval, never 0.
4041 (org-update-checkbox-count): Fix bug with checkbox counting.
4042 (org-add-note): New command.
4043 (org-add-log-setup): Rename from `org-add-log-maybe'.
4044 (org-log-note-headings): New entry for plain notes (i.e. notes not
4045 related to state changes or clocking).
4046 (org-get-org-file): Check for availability of `remember-data-file'.
4047 (org-cached-entry-get): Allow a regexp value for
4048 `org-use-property-inheritance'.
4049 (org-use-property-inheritance): Allow regexp value. Fix bug in
4050 customization type.
4051 (org-use-tag-inheritance): Allow a list and a regexp value for
4052 this variable.
4053 (org-scan-tags, org-get-tags-at): Implement selective tag inheritance.
4054 (org-entry-get): Respect value `selective' for the INHERIT argument.
4055 (org-tag-inherit-p, org-property-inherit-p): New functions.
4056 (org-agenda-format-date-aligned): Allow 10 characters for
4057 weekday, to acomodate German locale.
4058 (org-add-archive-files): New function.
4059 (org-agenda-files): New argument `ext', to get archive files as well.
4060 (org-tbl-menu): Protect the use of variables that
4061 are only available when org-table.el gets loaded.
4062 (org-read-agenda-file-list): Error if `org-agenda-files' is a
4063 single directory.
4064 (org-open-file): Allow a batch process to trigger
4065 waiting after executing a system command.
4066 (org-store-link): Link to headline when there is not
4067 target and no region in an org-mode buffer when creating a link.
4068 (org-link-types-re): New variable.
4069 (org-make-link-regexps): Compute `org-link-types-re'.
4070 (org-make-link-description-function): New option.
4071 (org-agenda-date, org-agenda-date-weekend): New faces.
4072 (org-archive-sibling-heading): New option.
4073 (org-archive-to-archive-sibling): New function.
4074 (org-iswitchb): New command.
4075 (org-buffer-list): New function.
4076 (org-agenda-columns): Also try the #+COLUMNS line in
4077 the buffer associated with the entry at point (or with the first
4078 entry in the agenda view).
4079 (org-modules): Add entry for org-bibtex.el.
4080 (org-completion-fallback-command): Move into `org-completion' group.
4081 (org-clock-heading-function): Move to `org-progress' group.
4082 (org-auto-repeat-maybe): Make sure that a note can
4083 be enforces if `org-log-repeat' is `note'.
4084 (org-modules): Allow additional symbols for external packages.
4085 (org-ctrl-c-ctrl-c): Allow for `org-clock-overlays' to be undefined.
4086 (org-clock-goto): Hide drawers after showing an
4087 entry with `org-clock-goto'.
4088 (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft):
4089 Try also a clocktable block shift.
4090 (org-clocktable-try-shift): New function.
4091 (org-columns-hscoll-title): New function.
4092 (org-columns-previous-hscroll): New variable.
4093 (org-columns-full-header-line-format): New variable.
4094 (org-columns-display-here-title, org-columns-remove-overlays):
4095 Install `org-columns-hscoll-title' in post-command-hook.
4096
4097 * org/org.el: Split into many small files.
4098
4099 * org/org-agenda.el: New file, split off from org.el.
4100
4101 * org/org-archive.el: New file, split off from org.el.
4102
4103 * org/org-bbdb.el: New file.
4104
4105 * org/org-bibtex.el: New file, split off from org.el.
4106
4107 * org/org-clock.el: New file, split off from org.el.
4108
4109 * org/org-colview.el: New file, split off from org.el.
4110
4111 * org/org-compat.el: New file, split off from org.el.
4112
4113 * org/org-exp.el: New file, split off from org.el.
4114
4115 * org/org-faces.el: New file, split off from org.el.
4116
4117 * org/org-gnus.el: New file, split off from org.el.
4118
4119 * org/org-info.el: New file, split off from org.el.
4120
4121 * org/org-infojs.el: New file.
4122
4123 * org/org-irc.el: New file.
4124
4125 * org/org-macs.el: New file, split off from org.el.
4126
4127 * org/org-mew.el: New file.
4128
4129 * org/org-mhe.el: New file, split off from org.el.
4130
4131 * org/org-publish.el: New file, split off from org.el.
4132
4133 * org/org-remember.el: New file, split off from org.el.
4134
4135 * org/org-rmail.el: New file, split off from org.el.
4136
4137 * org/org-table.el: New file, split off from org.el.
4138
4139 * org/org-vm.el: New file, split off from org.el.
4140
4141 * org/org-wl.el: New file, split off from org.el.
4142
4143 2008-04-27 Jason Riedy <jason@acm.org>
4144
4145 * lisp/org-table.el (orgtbl-to-generic): Add a :remove-nil-lines
4146 parameter that supresses lines that evaluate to NIL.
4147 (orgtbl-get-fmt): New inline function for
4148 picking apart formats that may be lists.
4149 (orgtbl-apply-fmt): New inline function for applying formats that
4150 may be functions.
4151 (orgtbl-eval-str): New inline function for strings that may be
4152 functions.
4153 (orgtbl-format-line, orgtbl-to-generic): Use and document.
4154 (orgtbl-to-latex, orgtbl-to-texinfo): Document.
4155 (*orgtbl-llfmt*, *orgtbl-llstart*)
4156 (*orgtbl-llend*): Dynamic variables for last-line formatting.
4157 (orgtbl-format-section): Shift formatting to support detecting the
4158 last line and formatting it specially.
4159 (orgtbl-to-generic): Document :ll* formats. Set to the non-ll
4160 formats unless overridden.
4161 (orgtbl-to-latex): Suggest using :llend to suppress the final \\.
4162 (*orgtbl-table*, *orgtbl-rtn*): Dynamically
4163 bound variables to hold the input collection of lines and output
4164 formatted text.
4165 (*orgtbl-hline*, *orgtbl-sep*, *orgtbl-fmt*, *orgtbl-efmt*)
4166 (*orgtbl-lfmt*, *orgtbl-lstart*, *orgtbl-lend*): Dynamically bound
4167 format parameters.
4168 (orgtbl-format-line): New function encapsulating formatting for a
4169 single line.
4170 (orgtbl-format-section): Similar for each section. Rebinding the
4171 dynamic vars customizes the formatting for each section.
4172 (orgtbl-to-generic): Use orgtbl-format-line and
4173 orgtbl-format-section.
4174 (org-get-param): Now unused, so delete.
4175 (orgtbl-gather-send-defs): New function to
4176 gather all the SEND definitions before a table.
4177 (orgtbl-send-replace-tbl): New function to find the RECEIVE
4178 corresponding to the current name.
4179 (orgtbl-send-table): Use the previous two functions and implement
4180 multiple destinations for each table.
4181
4182 * doc/org.texi (A LaTeX example): Note that fmt may be a
4183 one-argument function, and efmt may be a two-argument function.
4184 (Radio tables): Document multiple destinations.
4185
4186 2008-04-27 Carsten Dominik <dominik@science.uva.nl>
4187
4188 * org/org-agenda.el (org-add-to-diary-list): New function.
4189 (org-prefix-has-effort): New variable.
4190 (org-sort-agenda-noeffort-is-high): New option.
4191 (org-agenda-columns-show-summaries)
4192 (org-agenda-columns-compute-summary-properties): New options.
4193 (org-format-agenda-item): Compute the duration of the item.
4194 (org-agenda-weekend-days): New variable.
4195 (org-agenda-list, org-timeline): Use the proper faces for dates in
4196 the agenda and timeline buffers.
4197 (org-agenda-archive-to-archive-sibling): New command.
4198 (org-agenda-start-with-clockreport-mode): New option.
4199 (org-agenda-clockreport-parameter-plist): New option.
4200 (org-agenda-clocktable-mode): New variable.
4201 (org-agenda-deadline-leaders): Allow a function value for the
4202 deadline leader.
4203 (org-agenda-get-deadlines): Deal with new function value.
4204
4205 * lisp/org-clock.el (org-clock): New customization group.
4206 (org-clock-into-drawer, org-clock-out-when-done)
4207 (org-clock-in-switch-to-state, org-clock-heading-function):
4208 Move into the new group.
4209 (org-clock-out-remove-zero-time-clocks): New option.
4210 (org-clock-out): Use `org-clock-out-remove-zero-time-clocks'.
4211 (org-dblock-write:clocktable): Allow a Lisp form for the scope
4212 parameter.
4213 (org-dblock-write:clocktable): Fix bug with total time calculation.
4214 (org-dblock-write:clocktable): Request the unrestricted list of files.
4215 (org-get-clocktable): New function.
4216 (org-dblock-write:clocktable): Make sure :tstart and :tend can not only
4217 be strings but also integers (an absolute day number) and lists (m d y).
4218
4219 * org/org-colview.el (org-columns-next-allowed-value)
4220 (org-columns-edit-value): Limit the effort for updating in the
4221 agenda to recomputing a single file.
4222 (org-columns-compute): Only write property value if it has changed.
4223 This avoids raising the buffer-change-flag unnecessarily.
4224 (org-agenda-colview-summarize)
4225 (org-agenda-colview-compute): New functions.
4226 (org-agenda-columns): Call `org-agenda-colview-summarize'.
4227
4228 * org/org-exp.el (org-export-run-in-background): New option.
4229 (org-export-icalendar): Allow a batch process to trigger waiting
4230 after executing a system command.
4231 (org-export-preprocess-string): Rename from
4232 `org-cleaned-string-for-export'.
4233 (org-export-html-style): Made target class look like normal text.
4234 (org-export-as-html): Make use of the better proprocessing in
4235 `org-cleaned-string-for-export'.
4236 (org-cleaned-string-for-export): Better treatment of heuristic
4237 targets, many more internal links will now work in HTML export.
4238 (org-get-current-options): Incorporate LINK_UP, LINK_HOME, and INFOJS.
4239 (org-export-inbuffer-options-extra): New variable.
4240 (org-export-options-filters): New hook.
4241 (org-infile-export-plist): Find also the settings keywords in
4242 `org-export-inbuffer-options-extra'.
4243 (org-infile-export-plist): Allow multiple #+OPTIONS lines and
4244 multiple #+INFOJS_OPT lines.
4245 (org-export-html-handle-js-options): New function.
4246 (org-export-html-infojs-setup): New option.
4247 (org-export-as-html): Call `org-export-html-handle-js-options'.
4248 Add autoload to all entry points.
4249 (org-skip-comments): Function removed.
4250
4251 * org/org-table.el (org-table-make-reference): Extra parenthesis
4252 around single fields, to make sure that algebraic formulas get
4253 correctly interpreted by calc.
4254 (org-table-current-column): No longer interactive.
4255
4256 * org/org-export-latex.el (org-export-latex-preprocess):
4257 Rename from `org-export-latex-cleaned-string'.
4258
4259 2008-04-27 Bastien Guerry <bzg@altern.org>
4260
4261 * org/org-publish.el (org-publish-get-base-files-1): New function.
4262 (org-publish-get-base-files): Use it.
4263 (org-publish-temp-files): New variable.
4264 Don't require 'dired-aux anymore.
4265 (org-publish-initial-buffer): New variable.
4266 (org-publish-org-to, org-publish): Use it.
4267 (org-publish-get-base-files-1): Bug fix: get
4268 the proper list of files when recursing thru a directory.
4269 (org-publish-get-base-files): Use the :exclude property to skip
4270 both files and directories.
4271
4272 2008-04-27 Michael Albinus <michael.albinus@gmx.de>
4273
4274 * net/tramp.el (tramp-handle-make-symbolic-link)
4275 (tramp-handle-file-name-directory)
4276 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
4277 (tramp-do-copy-or-rename-file-directly)
4278 (tramp-handle-insert-directory, tramp-handle-expand-file-name)
4279 (tramp-handle-substitute-in-file-name)
4280 (tramp-handle-insert-file-contents, tramp-handle-write-region)
4281 * net/tramp-cache.el (tramp-get-file-property)
4282 (tramp-set-file-property, tramp-flush-file-property)
4283 (tramp-flush-directory-property)
4284 * net/tramp-compat.el (tramp-compat-make-temp-file)
4285 * net/tramp-fish.el (tramp-fish-handle-expand-file-name):
4286 Disable `file-name-handler-alist' when handling localname.
4287 It could have a remote file syntax, like a VMS file name.
4288
4289 2008-04-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4290
4291 * whitespace.el: New version 11.1.
4292 (whitespace-trailing-regexp): Option fix, now trailing regexp must be
4293 enclosed by \\( and \\)$. Docstring fix.
4294 (whitespace-trailing-regexp): Fun removed.
4295 (whitespace-report-list): Const initialization fix.
4296 (whitespace-color-on): Code fix.
4297
4298 2008-04-27 Andreas Schwab <schwab@suse.de>
4299
4300 * Makefile.el: Unbreak bootstrap.
4301
4302 2008-04-27 Michael Albinus <michael.albinus@gmx.de>
4303
4304 * net/tramp.el (tramp-replace-environment-variables): New defun.
4305 (tramp-handle-substitute-in-file-name, tramp-file-name-handler):
4306 Use it.
4307
4308 2008-04-27 Glenn Morris <rgm@gnu.org>
4309
4310 * emacs-lisp/bytecomp.el (byte-compile-file): Doc fix.
4311
4312 * calculator.el (calculator-expt): Replace cl function `oddp'.
4313
4314 2008-04-27 Johan Bockgård <bojohan@gnu.org>
4315
4316 * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
4317 Simplify. Collect `defun' and `autoload' entries.
4318 Avoid modifying load-history.
4319
4320 2008-04-26 Glenn Morris <rgm@gnu.org>
4321
4322 * textmodes/ispell.el (ispell-insert-word): Revert previous change.
4323
4324 * simple.el (quoted-insert, zap-to-char): Revert previous change.
4325
4326 2008-04-26 John Paul Wallington <jpw@pobox.com>
4327
4328 * hexl.el (hexl-mode): Stash `eldoc-documentation-function' in
4329 `hexl-mode-old-eldoc-documentation-function'.
4330 (hexl-mode-exit): Restore it.
4331 (hexl-mode-old-eldoc-documentation-function): Declare for compiler.
4332
4333 * w32-fns.el (top-level): Don't set `completion-ignore-case' to t.
4334
4335 2008-04-26 Juanma Barranquero <lekktu@gmail.com>
4336
4337 * minibuffer.el (completion-pcm-word-delimiters): Add :group.
4338 (completion-pcm--all-completions): Doc fix.
4339 (completion-styles-alist, completion-all-completions):
4340 Fix typos in docstrings.
4341
4342 2008-04-26 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4343
4344 * whitespace.el: There is now only one variable (whitespace-style) to
4345 specify which kind of blank is visualized. Doc and docstring fix.
4346 New version 11.0.
4347 (whitespace-style): New option, replace whitespace-style-mark and
4348 whitespace-style-color.
4349 (whitespace-style-mark, whitespace-style-color): Options removed.
4350 (whitespace-hspace, whitespace-tab, whitespace-newline)
4351 (whitespace-trailing, whitespace-line, whitespace-space-before-tab)
4352 (whitespace-indentation, whitespace-empty, whitespace-space-after-tab)
4353 (whitespace-hspace-regexp, whitespace-space-regexp)
4354 (whitespace-tab-regexp, whitespace-trailing-regexp)
4355 (whitespace-space-before-tab-regexp, whitespace-indentation-regexp)
4356 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
4357 (whitespace-space-after-tab-regexp, whitespace-line-column)
4358 (whitespace-display-mappings, whitespace-report): Docstring fix.
4359 (whitespace-color-value-list, whitespace-mark-value-list)
4360 (whitespace-active-color, whitespace-active-mark)
4361 (whitespace-toggle-color, whitespace-toggle-mark): Vars removed.
4362 (whitespace-style-value-list, whitespace-active-style)
4363 (whitespace-toggle-style): New vars.
4364 (whitespace-toggle-option-alist, whitespace-help-text):
4365 Var initialization and docstring fix.
4366 (whitespace-toggle-options, global-whitespace-toggle-options)
4367 (whitespace-cleanup, whitespace-cleanup-region)
4368 (whitespace-report-region, whitespace-interactive-char)
4369 (whitespace-toggle-list): Docstring and code fix.
4370 (whitespace-insert-option-mark, whitespace-help-on, whitespace-turn-on)
4371 (whitespace-turn-off, whitespace-color-on, whitespace-color-off)
4372 (whitespace-display-char-on, whitespace-display-char-off): Code fix.
4373 (whitespace-style-face-p, whitespace-style-mark-p): New fun.
4374
4375 2008-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4376
4377 * diff-mode.el (diff-hunk-header-re-unified): Allow elided line counts.
4378 (diff-end-of-hunk, diff-unified->context, diff-fixup-modifs)
4379 (diff-sanity-check-hunk): Adjust code accordingly.
4380
4381 2008-04-26 Glenn Morris <rgm@gnu.org>
4382
4383 * abbrev.el (define-abbrev): Don't use `iff' in doc-strings.
4384
4385 * forms-d2.dat: Move to ../etc.
4386 * forms-d2.el (forms-file): Adapt for above change.
4387
4388 * simple.el (quoted-insert, zap-to-char): Remove uses of obsolete
4389 `translation-table-for-input'.
4390
4391 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): New function.
4392 (byte-compile-obsolete, byte-compile-variable-ref): Use it.
4393
4394 * progmodes/fortran.el (fortran-mode-syntax-table): Change `;'
4395 to punctuation now it's not needed for abbrevs.
4396 (fortran-mode-abbrev-table): Remove defvar, make use of new
4397 define-abbrev-table :regexp feature.
4398
4399 * textmodes/ispell.el (ispell-insert-word): Remove, and replace with
4400 insert, now that translation-table-for-input is not needed.
4401
4402 2008-04-26 Johannes Weiner <hannes@saeurebad.de>
4403
4404 * emacs-lisp/pp.el (pp-display-expression): New function,
4405 extracted from pp-eval-expression.
4406 (pp-eval-expression): Use pp-display-expression.
4407 (pp-macroexpand-expression, pp-macroexpand-last-sexp): New functions.
4408 (pp-last-sexp): New function, extracted from pp-eval-last-sexp.
4409 (pp-eval-last-sexp): Use pp-last-sexp.
4410
4411 2008-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4412
4413 * abbrev.el (define-abbrev-table): Apply props even if the table
4414 exists already.
4415
4416 * minibuffer.el (completion-table-with-context): Fix `pred' for the
4417 various kinds of completion tables.
4418 (completion-emacs22-try-completion): Place cursor after the /, as was
4419 done in Emacs-22's minibuffer-complete-word.
4420 Fix bug reported by David Hansen <david.hansen@gmx.net>.
4421 (completion-emacs22-try-completion): Merge all mergable text rather
4422 than just /.
4423 (completion-pcm--delim-wild-regex): New var.
4424 (completion-pcm-word-delimiters): New custom.
4425 (completion-pcm--prepare-delim-re, completion-pcm--pattern-trivial-p)
4426 (completion-pcm--string->pattern, completion-pcm--pattern->regex)
4427 (completion-pcm--all-completions, completion-pcm-all-completions)
4428 (completion-pcm--merge-completions, completion-pcm--pattern->string)
4429 (completion-pcm-try-completion): New functions.
4430 (completion-styles-alist): Add them.
4431 (completion-styles): Add it to the default.
4432
4433 2008-04-25 Nick Roberts <nickrob@snap.net.nz>
4434
4435 * progmodes/gdb-ui.el (gud-watch): Don't create speedbar...
4436 (gdb-var-create-handler): ...until here when there are values.
4437 (gdb-post-prompt): Don't do -var-update with no watch expressions.
4438 (gdb-info-locals-handler): Don't match "struct {...}" as an array.
4439
4440 2008-04-25 Eli Zaretskii <eliz@gnu.org>
4441
4442 * ls-lisp.el (ls-lisp-format): Fix last change.
4443 (ls-lisp-uid-d-fmt, ls-lisp-uid-s-fmt, ls-lisp-gid-d-fmt)
4444 (ls-lisp-gid-s-fmt, ls-lisp-filesize-d-fmt)
4445 (ls-lisp-filesize-f-fmt): New defvars.
4446 (ls-lisp-insert-directory): Dynamically compute format specifiers
4447 for displaying UID, GID, and file size, and store them in the
4448 above variables.
4449 (ls-lisp-format): Use ls-lisp-filesize-f-fmt, ls-lisp-uid-s-fmt,
4450 ls-lisp-uid-d-fmt, ls-lisp-gid-s-fmt, and ls-lisp-gid-d-fmt
4451 instead of constant format strings.
4452 (ls-lisp-format-file-size): Use ls-lisp-filesize-f-fmt and
4453 ls-lisp-filesize-d-fmt instead of constant format strings.
4454
4455 2008-04-24 Nick Roberts <nickrob@snap.net.nz>
4456
4457 * progmodes/gdb-ui.el (gdb-invalidate-assembler): Compare numeric
4458 value of addresses rather than (partial) string value.
4459 (gdb-frame-handler): Change regexp according to above change.
4460 (gdb-breakpoints-mode, gdb-frames-mode, gdb-threads-mode)
4461 (gdb-registers-mode, gdb-memory-mode, gdb-locals-mode)
4462 (gdb-assembler-mode): Disable undo in these buffers.
4463
4464 2008-04-24 Michael Albinus <michael.albinus@gmx.de>
4465
4466 * net/tramp.el (tramp-get-remote-stat): Test whether stat supports %s.
4467 Reported by Loris Bennett <loris.bennett@fu-berlin.de>.
4468
4469 2008-04-24 Sam Steingold <sds@gnu.org>
4470
4471 * textmodes/remember.el (remember-diary-extract-entries): Use
4472 diary-make-entry instead of the obsolete make-diary-entry.
4473
4474 2008-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4475
4476 * subr.el (translation-table-for-input): Mark as obsolete.
4477
4478 * isearch.el (isearch-search-string): Avoid string-bytes and aset.
4479
4480 * international/quail.el (quail-build-decode-map): Avoid string-bytes.
4481
4482 * textmodes/ispell.el (ispell-dictionary-alist-1)
4483 (ispell-dictionary-alist-2, ispell-dictionary-alist-3)
4484 (ispell-dictionary-alist-4, ispell-dictionary-alist-5)
4485 (ispell-dictionary-alist-6): Remove.
4486 (ispell-dictionary-base-alist): New var, merges the above.
4487 (ispell-find-aspell-dictionaries, ispell-set-spellchecker-params):
4488 Use it.
4489 (ispell-dictionary-alist): Default to nil. Remove autoload.
4490 (ispell-local-dictionary-alist): Remove autoload.
4491
4492 * progmodes/f90.el (f90-mode-syntax-table): Don't set ` as word syntax.
4493 (f90-mode-abbrev-table): Use the new :regexp feature.
4494 Merge defvar and mapc into define-abbrev-table.
4495 (f90-imenu-type-matcher): Remove unused `l'.
4496 (f90-imenu-generic-expression): Remove unused `not-ib'.
4497 (f90-prepare-abbrev-list-buffer): Use with-current-buffer.
4498 (f90-change-keywords): Use restore-buffer-modified-p.
4499
4500 2008-04-24 Glenn Morris <rgm@gnu.org>
4501
4502 * net/goto-addr.el (goto-address-prog-mode):
4503 * progmodes/bug-reference.el (bug-reference-prog-mode):
4504 Define for compiler.
4505
4506 * minibuffer.el (x-file-dialog): Declare as function.
4507
4508 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file): Use
4509 dframe-update-speed rather than obsolete alias speedbar-update-speed.
4510
4511 * calendar/cal-menu.el (cal-menu-diary-menu): Fix typo.
4512 (cal-menu-scroll-menu): Use commands rather than key macros, which don't
4513 work with easymenu. Add :keys where needed.
4514
4515 * calendar/cal-move.el (calendar-scroll-left): Handle case when
4516 event-start is nil.
4517
4518 * calendar/calendar.el (calendar-mode-map): Fix typo.
4519
4520 2008-04-24 Tom Tromey <tromey@redhat.com>
4521
4522 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap):
4523 Document keywords. Add :suppress.
4524 * pcvs-defs.el (cvs-mode-map): Use :suppress.
4525
4526 * net/goto-addr.el (goto-address-unfontify): New function.
4527 (goto-address-fontify): Use it. Respect goto-address-prog-mode.
4528 (goto-address-fontify-region, goto-address-mode)
4529 (goto-address-prog-mode): New functions.
4530
4531 * progmodes/bug-reference.el: New file.
4532
4533 2008-04-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4534
4535 * term/mac-win.el (mac-ts-active-input-buf): Move defvar to macterm.c.
4536
4537 2008-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4538
4539 * emacs-lisp/easymenu.el (easy-menu-make-symbol): Don't wrap keyboard
4540 macros within lambdas.
4541
4542 2008-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
4543
4544 * minibuffer.el (completion-try-completion): Add `point' argument.
4545 Change return value.
4546 (completion-all-completions): Add `point' argument.
4547 (minibuffer-completion-help): Pass the new `point' argument.
4548 (completion--do-completion): Pass the whole field to try-completion.
4549 (completion--try-word-completion): Rewrite, making fewer assumptions.
4550 (completion-emacs21-try-completion, completion-emacs21-all-completions)
4551 (completion-emacs22-try-completion, completion-emacs22-all-completions)
4552 (completion-basic-try-completion, completion-basic-all-completions):
4553 New functions.
4554 (completion-styles-alist): Use them.
4555
4556 2008-04-23 Agustín Martín <agustin.martin@hispalinux.es>
4557
4558 * ispell.el (ispell-set-spellchecker-params): New function to make sure
4559 right params and dictionary alists are used after spellchecker changes.
4560 (ispell-aspell-dictionary-alist, ispell-last-program-name)
4561 (ispell-initialize-spellchecker-hook): New variables and hook.
4562 (ispell-find-aspell-dictionaries): Use ispell-aspell-dictionary-alist.
4563 (ispell-maybe-find-aspell-dictionaries): Remove.
4564 Calls replaced by (ispell-set-spellchecker-params) calls.
4565 (ispell-have-aspell-dictionaries): Remove.
4566 * flyspell.el: Replace ispell-maybe-find-aspell-dictionaries by
4567 ispell-set-spellchecker-params.
4568
4569 2008-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
4570
4571 * complete.el (PC-do-completion): Be more robust in the presence of
4572 unexpected values in minibuffer-completion-predicate.
4573
4574 * minibuffer.el (read-file-name): Don't let-bind default-directory.
4575 Only abbreviate default-filename if it's a file.
4576
4577 * minibuffer.el (read-file-name-function, read-file-name-predicate)
4578 (read-file-name-completion-ignore-case, insert-default-directory):
4579 New vars, moved from fileio.c.
4580 (read-file-name): New fun, moved from fileio.c.
4581 * cus-start.el: Remove insert-default-directory and
4582 read-file-name-completion-ignore-case.
4583
4584 2008-04-23 Magnus Henoch <mange@freemail.hu>
4585
4586 * tar-mode.el (tar-untar-buffer): If the entry has directory
4587 link type, extract it as a directory even if its file name doesn't
4588 end with a slash. Fixes extraction of NetBSD tar archives.
4589
4590 2008-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
4591
4592 * server.el (server-start): Also don't get confused by CRs since we
4593 don't quote them.
4594
4595 2008-04-23 Nick Roberts <nickrob@snap.net.nz>
4596
4597 * progmodes/gdb-ui.el (gdb-init-buffer): New function.
4598 (gdb-set-gud-minor-mode-existing-buffers)
4599 (gdb-info-breakpoints-custom, gdb-get-location)
4600 (gdb-set-gud-minor-mode-existing-buffers-1): Use it.
4601 Previously gdb-create-define-alist wasn't always run and added to
4602 after-save-hook.
4603
4604 * progmodes/gud.el (gud-tooltip-tips): Use tooltip-event-buffer.
4605
4606 2008-04-23 Kevin Ryde <user42@zip.com.au>
4607
4608 * progmodes/make-mode.el (makefile-fill-paragraph): Treat indented
4609 comments like unindented ones.
4610
4611 2008-04-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4612
4613 * term/mac-win.el (mac-ae-open-documents): Adjust selection range
4614 parameter origins.
4615
4616 2008-04-23 Kevin Ryde <user42@zip.com.au>
4617
4618 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4619 Bind print-level to ensure output forms aren't truncated if
4620 print-level is set to eval-expression-print-level when going via
4621 eval-defun and friends, or has been otherwise fiddled with.
4622
4623 2008-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
4624
4625 * progmodes/cc-mode.el (c-basic-common-init): Don't set
4626 font-lock-extend-after-change-region-function globally.
4627
4628 2008-04-23 Juanma Barranquero <lekktu@gmail.com>
4629
4630 * speedbar.el (speedbar-use-tool-tips-flag)
4631 (speedbar-ignored-directory-regexp, speedbar-file-unshown-regexp)
4632 (speedbar-file-regexp, speedbar-message, speedbar-item-info)
4633 (speedbar-files-item-info, speedbar-maybe-add-localized-support)
4634 (speedbar-insert-files-at-point, speedbar-dynamic-tags-function-list)
4635 (speedbar-generic-list-positioned-group-p, speedbar-insert-generic-list)
4636 (speedbar-fetch-replacement-function, speedbar-extract-one-symbol)
4637 (speedbar-separator-face): Fix typos in docstrings.
4638 (speedbar-stealthy-function-list, speedbar-verbosity-level)
4639 (speedbar-supported-extension-expressions, speedbar-update-current-file)
4640 (speedbar-add-indicator, speedbar-tag-expand): Reflow docstring.
4641 (speedbar-use-imenu-flag, speedbar-ignored-directory-expressions)
4642 (speedbar-directory-unshown-regexp, speedbar-handle-delete-frame)
4643 (speedbar-show-info-under-mouse, speedbar-directory-buttons)
4644 (speedbar-check-vc-this-line, speedbar-files-line-directory)
4645 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
4646 (speedbar-buffers-line-directory, speedbar-recenter-to-top)
4647 (speedbar-recenter): Doc fixes.
4648 (speedbar-update-speed, speedbar-navigating-speed): Add obsolescence
4649 declaration and remove redundant info in docstring.
4650
4651 2008-04-23 Dan Nicolaescu <dann@ics.uci.edu>
4652
4653 * vc-git.el (vc-git-status-printer): Deal with directories.
4654
4655 * vc.el (vc-next-action): Look at more than the first file to
4656 determine the state.
4657
4658 2008-04-23 Glenn Morris <rgm@gnu.org>
4659
4660 * dframe.el (dframe-have-timer-flag): Drop support for Emacs without
4661 timers. Doc fix.
4662 (dframe-update-speed): Drop support for XEmacs < 20.
4663 (dframe-frame-mode): Drop support for Emacs < 20.
4664 (dframe-set-timer-internal): Drop support for Emacs without timers.
4665 (dframe-popup-kludge): Use mouse-menu-major-mode-map if defined.
4666
4667 * ediff-init.el (ediff-check-version): Drop support for very old Emacs
4668 versions. Add doc-string. Mark as obsolete.
4669
4670 * ps-def.el (ps-color-device): Drop support for XEmacs < 19.12.
4671
4672 * speedbar.el (speedbar-use-tool-tips-flag): Check for tooltip-mode,
4673 rather than using an Emacs version test.
4674
4675 * tree-widget.el (tree-widget-image-enable): Use display-images-p
4676 rather than an Emacs version test.
4677
4678 * calendar/cal-china.el (holiday-chinese-qingming)
4679 (holiday-chinese-winter-solstice, holiday-chinese): New functions.
4680 * calendar/calendar.el (calendar-chinese-all-holidays-flag): New.
4681 * calendar/holidays.el (holiday-oriental-holidays): Add more holidays.
4682
4683 * calendar/cal-islam.el (holiday-islamic): Doc fix.
4684
4685 * calendar/diary-lib.el (diary-list-sexp-entries): Doc fix.
4686 (diary-remind): Allow negative DAYS to represent a range 1:DAYS.
4687 Suggested by Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>.
4688
4689 2008-04-23 Nick Roberts <nickrob@snap.net.nz>
4690
4691 * progmodes/gdb-ui.el (gdb-previous-frame-address): Rename...
4692 (gdb-previous-frame-pc-address): ...to this.
4693 (gdb-get-selected-frame): Use MI command -stack-info-frame instead
4694 of "info frame" with Gdb 6.4+.
4695 (gdb-stack-list-frames-regexp): New regexp.
4696 (gdb-frame-handler-1): Parse output of -stack-info-frame.
4697
4698 2008-04-22 David Glasser <glasser@davidglasser.net> (tiny change)
4699
4700 * tar-mode.el (tar-prefix-offset): New constant.
4701 (tar-header-block-tokenize): Support paths with long names
4702 which use the "ustar" standard.
4703
4704 2008-04-22 Mathias Dahl <mathias.dahl@gmail.com>
4705
4706 * image-dired.el (image-dired-track-original-file)
4707 (image-dired-modify-mark-on-thumb-original-file):
4708 Use `dired-goto-file' instead of `search-forward'. This solves
4709 a bug with finding files where the file name is a subset of other
4710 file names. Doc fix.
4711
4712 2008-04-22 Juri Linkov <juri@jurta.org>
4713
4714 * menu-bar.el (buffers-menu-max-size): Move its definition down to
4715 the "Buffers Menu" section. Change group name `mouse' to `menu'.
4716 (yank-menu-length): Change group name `mouse' to `menu'.
4717 (buffers-menu-buffer-name-length): New user option.
4718 (menu-bar-update-buffers): Use buffers-menu-buffer-name-length
4719 instead of the hard-coded number 27.
4720
4721 2008-04-22 Juri Linkov <juri@jurta.org>
4722
4723 * isearch.el (eval-when-compile): Require `help-macro'.
4724 (isearch-help-for-help-internal): Isearch specific Help screen
4725 created by `make-help-screen'.
4726 (isearch-help-map): New variable that binds "b", "k", "m" to
4727 isearch-specific commands, and binds other keys to
4728 isearch-other-control-char, thus allowing other Help keys to
4729 exit isearch mode and execute their global definitions.
4730 (isearch-help-for-help, isearch-describe-bindings)
4731 (isearch-describe-key, isearch-describe-mode): New commands.
4732 (isearch-mode-help): Define alias to isearch-describe-mode
4733 and remove its old function definition.
4734 (isearch-mode-map): Bind "\C-h" to isearch-help-map.
4735 Remove old comments because this issue is settled now.
4736 (isearch-forward): Describe three new Help commands in the docstring.
4737 (isearch-mode): Remove \\{isearch-mode-map} from the docstring,
4738 leave the single sentence at the first line of the docstring,
4739 and prepend the word "function" before `isearch-forward'
4740 to make the Help link to the function instead of variable.
4741
4742 2008-04-22 Juri Linkov <juri@jurta.org>
4743
4744 * isearch.el (isearch-success-function): New variable with default
4745 to `isearch-success-function-default'.
4746 (isearch-search): Call a function from `isearch-success-function'
4747 instead of calling the hard-coded `isearch-range-invisible'.
4748 (isearch-success-function-default): New function that calls
4749 `isearch-range-invisible' and inverts its return value.
4750
4751 * info.el (Info-search): In two similar places that skip
4752 undesired search matches move code to Info-search-success-function,
4753 and call `isearch-success-function' instead.
4754 (Info-search-success-function): New function copied from code
4755 in Info-search. Replace isearch-range-invisible with
4756 text-property-not-all that checks for 'invisible and 'display
4757 properties to skip partially invisible matches (whose display
4758 properties were set by Info-fontify-node).
4759 (Info-mode): Set buffer-local isearch-success-function
4760 to Info-search-success-function.
4761
4762 2008-04-22 Juri Linkov <juri@jurta.org>
4763
4764 * minibuffer.el (internal-complete-buffer-except): New function.
4765
4766 * files.el (read-buffer-to-switch): New function.
4767 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
4768 Change interactive spec to call read-buffer-to-switch instead of
4769 using the letter "B".
4770
4771 * simple.el (minibuffer-default-add-shell-commands): New function.
4772 Use declare-function for mailcap-file-default-commands from "mailcap".
4773 (shell-command): Set local minibuffer-default-add-function to
4774 minibuffer-default-add-shell-commands in minibuffer-with-setup-hook
4775 before calling read-shell-command. Set 4th arg default-value of
4776 read-shell-command to relative buffer-file-name in file buffers.
4777
4778 * dired-aux.el (dired-read-shell-command-default): Move it to
4779 gnus/mailcap.el and change its name to more general name
4780 mailcap-file-default-commands.
4781 (minibuffer-default-add-dired-shell-commands): New function.
4782 Use declare-function for mailcap-file-default-commands from "mailcap".
4783 (dired-read-shell-command): Set local minibuffer-default-add-function
4784 to minibuffer-default-add-dired-shell-commands in minibuffer-with-setup-hook
4785 before calling read-shell-command. Remove dired-read-shell-command-default
4786 from the default value arg because default values are not set in
4787 minibuffer-default-add-dired-shell-commands. Doc fix.
4788
4789 * dired-x.el (dired-smart-shell-command): Sync arguments and
4790 interactive spec with changes in `shell-command'.
4791 Use dired-get-filename to get the dired file name at point
4792 as the default value in dired mode.
4793
4794 2008-04-22 Juanma Barranquero <lekktu@gmail.com>
4795
4796 * info.el (Info-complete-menu-item): Add missing parenthesis.
4797
4798 2008-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
4799
4800 * info.el (Info-complete-menu-item): Save point.
4801
4802 2008-04-22 Juanma Barranquero <lekktu@gmail.com>
4803
4804 * minibuffer.el (minibuffer-complete-and-exit): Fix last change.
4805
4806 2008-04-22 Andreas Schwab <schwab@suse.de>
4807
4808 * Makefile.in (emacs-deps): Define.
4809 Use it instead of $(lisp)/subdirs.el.
4810
4811 2008-04-22 Dan Nicolaescu <dann@ics.uci.edu>
4812
4813 * vc.el (vc-next-action): Do not consider directories when
4814 checking for state compatibility.
4815 (vc-transfer-file): Use when not if.
4816 (vc-dir-parent-marked-p, vc-dir-children-marked-p): New functions.
4817 (vc-dir-mark-file): Use them.
4818 (vc-deduce-fileset): Also return the backend.
4819 (vc-diff-internal): Take as argument the value returned by
4820 vc-deduce-fileset instead of just the fileset.
4821 (vc-next-action, vc-finish-logentry, vc-version-diff, vc-diff)
4822 (vc-dir-mark-file, vc-print-log, vc-revert, vc-rollback)
4823 (vc-update): Update the vc-deduce-fileset and vc-diff-internal calls.
4824
4825 2008-04-22 Tassilo Horn <tassilo@member.fsf.org>
4826
4827 * doc-view.el (doc-view-scroll-up-or-next-page): Don't use
4828 set-window-vscroll but image-scroll-down. Fixes a bug where a
4829 command following SPC scrolled up again.
4830
4831 2008-04-22 Nick Roberts <nickrob@snap.net.nz>
4832
4833 * progmodes/gdb-ui.el (gdb-locals-header): New variable.
4834 (gdb-locals-mode, gdb-registers-mode): Use it for header line.
4835 (gud-watch): Add "$" prefix when in registers buffer.
4836
4837 2008-04-22 Glenn Morris <rgm@gnu.org>
4838
4839 * progmodes/gdb-ui.el (gdbmi-invalidate-frames): Declare as function.
4840
4841 * whitespace.el (whitespace-display-table)
4842 (whitespace-display-table-was-local): Move definitions before use.
4843
4844 * emacs-lisp/copyright.el (copyright-at-end-flag): New option.
4845 (copyright-limit): Respect copyright-at-end-flag.
4846 (copyright-re-search, copyright-start-point)
4847 (copyright-offset-too-large-p): New functions.
4848 (copyright-update-year): Use copyright-re-search.
4849 (copyright-update, copyright-fix-years): Use copyright-start-point,
4850 and copyright-re-search.
4851 (copyright): Use copyright-offset-too-large-p.
4852 * add-log.el (change-log-mode): Set copyright-at-end-flag.
4853
4854 * add-log.el (top-level): Require 'cl when compiling.
4855
4856 2008-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
4857
4858 * complete.el (PC-complete-as-file-name, PC-read-file-name-internal):
4859 Treat minibuffer-completion-predicate as a predicate.
4860
4861 * minibuffer.el (completion--file-name-table): Accept both the old
4862 `dir' arg or the new `pred' arg.
4863
4864 * ffap.el (ffap-read-file-or-url): Do not abuse completing-read's
4865 `predicate' argument to pass non-predicate data.
4866 (ffap-read-url-internal, ffap-read-file-or-url-internal):
4867 Use second arg as proper predicate.
4868
4869 * vc-bzr.el (vc-bzr-complete-with-prefix): Remove.
4870 (vc-bzr-revision-completion-table): Use completion-table-with-context
4871 instead.
4872
4873 * simple.el (choose-completion-string): Use minibuffer-completion-table.
4874
4875 2008-04-21 Chong Yidong <cyd@stupidchicken.com>
4876
4877 * term.el (term-emulate-terminal): Perform redisplay after the
4878 process filter has finished running.
4879
4880 2008-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
4881
4882 * vc.el (vc-dir): Use pop-to-buffer, so it can be customized.
4883
4884 * minibuffer.el (completion-try-completion): Change magic symbol
4885 property name. Rename from minibuffer-try-completion.
4886 (completion-all-completions): Rename from minibuffer-all-completions.
4887 Remove hide-spaces argument.
4888 (completion--do-completion): Rename from minibuffer--do-completion.
4889 (minibuffer-complete-and-exit): Call just try-completion rather than
4890 completion-try-completion to fix up the case.
4891 (completion--try-word-completion): Try to add space or hyphen before
4892 making `string' a prefix of `completion'.
4893 (completion--insert-strings): Rename from minibuffer--insert-strings.
4894
4895 2008-04-22 Naohiro Aota <nao.aota@gmail.com> (tiny change)
4896
4897 * net/tls.el (tls-program): Add -ign_eof argument to call the
4898 openssl commands.
4899 (tls-checktrust): Ditto.
4900
4901 2008-04-21 Dan Nicolaescu <dann@ics.uci.edu>
4902
4903 * vc-cvs.el (vc-cvs-status-extra-headers): New function.
4904
4905 * vc-hooks.el (vc-insert-file, vc-state, vc-working-revision)
4906 (vc-check-master-templates, vc-file-not-found-hook)
4907 (vc-kill-buffer-hook):
4908 * vc.el (vc-process-sentinel, vc-exec-after, vc-do-command)
4909 (vc-find-position-by-context, vc-buffer-context)
4910 (vc-restore-buffer-context, vc-responsible-backend)
4911 (vc-expand-dirs, vc-ensure-vc-buffer, vc-buffer-sync)
4912 (vc-next-action, vc-register, vc-register-with, vc-steal-lock)
4913 (vc-finish-logentry, vc-coding-system-for-diff, vc-switches)
4914 (vc-version-diff, vc-diff, vc-insert-headers)
4915 (vc-dired-buffers-for-dir, vc-dired-resynch-file)
4916 (vc-snapshot-precondition, vc-create-snapshot, vc-print-log)
4917 (vc-revert, vc-rollback, vc-version-backup-file)
4918 (vc-rename-master, vc-delete-file, vc-rename-file)
4919 (vc-branch-part, vc-default-retrieve-snapshot)
4920 (vc-annotate-display-autoscale, vc-annotate-display-select)
4921 (vc-annotate, vc-annotate-warp-revision, vc-annotate-difference)
4922 (vc-annotate-lines, vc-file-tree-walk-internal): Use when instead of if.
4923 (vc-dir-update): Handle directories.
4924 (vc-default-status-printer): Simplify.
4925
4926 * progmodes/asm-mode.el (asm-mode-map):
4927 * progmodes/hideif.el (hide-ifdef-mode-menu): Add :help.
4928
4929 * progmodes/m4-mode.el (m4-mode-map): Add menu.
4930
4931 2008-04-21 Kenichi Handa <handa@m17n.org>
4932
4933 * select.el (xselect-convert-to-string): Send a C_STRING only if
4934 the polymorphic target TEXT is requested.
4935
4936 2008-04-21 Juanma Barranquero <lekktu@gmail.com>
4937
4938 * minibuffer.el (completion-setup-hook, display-completion-list)
4939 (completion--file-name-table): Fix typos in docstrings.
4940 (completion-table-dynamic): Fix typo, and reflow docstring.
4941
4942 2008-04-20 Andreas Schwab <schwab@suse.de>
4943
4944 * server.el (server-switch-buffer): Also consider clients in the
4945 selected frame.
4946
4947 2008-04-19 Nick Roberts <nickrob@snap.net.nz>
4948
4949 * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint):
4950 Select window clicked on first.
4951 (gdb): Display thread number in mode-line.
4952 (gdb-make-header-line-mouse-map): Move to avoid byte compiler warnings.
4953 (gdb-breakpoints-header): New variable.
4954 (gdb-breakpoints-mode, gdb-threads-mode): Use it for header line.
4955
4956 2008-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4957
4958 * vc-sccs.el (vc-sccs-do-command): New fun. Use the "sccs" command.
4959 (vc-sccs-register, vc-sccs-checkin, vc-sccs-find-revision)
4960 (vc-sccs-checkout, vc-sccs-rollback, vc-sccs-revert)
4961 (vc-sccs-steal-lock, vc-sccs-modify-change-comment)
4962 (vc-sccs-print-log): Use it.
4963
4964 * vc-hooks.el (vc-path): Remove SCCS-specific hack.
4965
4966 * emacs-lisp/lisp-mode.el (lisp-mode-auto-fill): Make it an alias.
4967 * progmodes/scheme.el (scheme-mode-variables): Don't use it.
4968
4969 * tooltip.el (tooltip-previous-message): New var.
4970 (tooltip-show-help-non-mode): Rewrite to better follow the behavior of
4971 the C code (avoid overwriting a minibuffer, restore previous echo
4972 message, ...).
4973 (tooltip-delay, tooltip-process-prompt-regexp, tooltip-strip-prompt):
4974 Simplify.
4975
4976 2008-04-19 Nick Roberts <nickrob@snap.net.nz>
4977
4978 * progmodes/gdb-ui.el (gdb-thread-indicator): New variable.
4979 (gdb-init-1): Initialise it.
4980 (gdb-annotation-rules): New entry for "new-thread".
4981 (gdb-thread-identification): New function to customize
4982 mode-line-buffer-identification.
4983 (gdb-frames-mode, gdb-registers-mode, gdb-locals-mode)
4984 (gdb-assembler-mode): Use it.
4985 (gdb-threads-mode): Force "info threads" onto queue.
4986
4987 2008-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4988
4989 * files.el (locate-file-completion-table): Rename from
4990 locate-file-completion and make it use `pred' in the normal way.
4991 (locate-file-completion): New compatibility wrapper.
4992 (load-library): Use locate-file-completion-table.
4993 * finder.el (finder-commentary):
4994 * subr.el (locate-library):
4995 * emacs-lisp/find-func.el (find-library): Likewise.
4996 * info.el: Use with-current-buffer and inhibit-read-only.
4997 (Info-read-node-name-2): Change to use `predicate' in the normal way.
4998 (Info-read-node-name-1): Adjust uses accordingly.
4999
5000 * minibuffer.el (completion-table-with-context): Add support for `pred'.
5001 (completion-table-with-terminator): Don't use complete-with-action
5002 since we have to distinguish all three cases anyway.
5003 (completion-table-with-predicate): New function.
5004 (dynamic-completion-table): Add obsolete alias.
5005
5006 * emacs-lisp/trace.el (trace-make-advice): Don't change selected-window.
5007
5008 2008-04-18 Sam Steingold <sds@gnu.org>
5009
5010 * vc.el (vc-dir-menu-map, vc-dir-mode-map, vc-dir-tool-bar-map):
5011 Use quit-window instead of bury-buffer.
5012
5013 2008-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
5014
5015 * minibuffer.el (completion-table-with-terminator): Fix last fix.
5016
5017 2008-04-18 Andreas Schwab <schwab@suse.de>
5018
5019 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
5020 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5021 Depend on $(lisp)/subdirs.el.
5022
5023 2008-04-18 Juanma Barranquero <lekktu@gmail.com>
5024
5025 * descr-text.el (describe-char-after):
5026 Use `define-obsolete-function-alias'.
5027
5028 * dired-x.el (dired-omit-files-p): Use `define-obsolete-variable-alias'.
5029
5030 * facemenu.el (facemenu-unlisted-faces): Fix obsolescence description.
5031
5032 * savehist.el (savehist-load): Add WHEN to obsolescence declaration.
5033 Remove redundant obsolescence info in docstring.
5034
5035 * vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
5036 (vc-header-alist): Add WHEN to obsolescence declaration.
5037 (vc-state): Fix typo in docstring.
5038
5039 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap):
5040 Use `define-obsolete-variable-alias'.
5041
5042 * emulation/tpu-edt.el (tpu-have-ispell):
5043 * international/codepage.el (codepage-setup):
5044 Fix typo in obsolescence declaration.
5045
5046 * international/mule.el (char-coding-system-table):
5047 Remove redundant obsolescence info in docstring.
5048 (charset-list, generic-char-p, set-char-table-default):
5049 Fix typos in obsolescence decarations.
5050
5051 * international/mule-diag.el (non-iso-charset-alist):
5052 Fix typo in obsolescence declaration.
5053 (decode-codepage-char): Remove redundant obsolescence info in docstring.
5054
5055 * font-core.el (font-lock-defaults-alist):
5056 * font-lock.el (font-lock-reference-face):
5057 * frame.el (screen-height, screen-width, set-screen-width)
5058 (set-screen-height):
5059 * hilit-chg.el (highlight-changes-initial-state):
5060 * isearch.el (isearch-return-char):
5061 * log-edit.el (cvs-commit-buffer-require-final-newline)
5062 (cvs-changelog-full-paragraphs):
5063 * mouse.el (mouse-major-mode-menu, mouse-popup-menubar)
5064 (mouse-popup-menubar-stuff):
5065 * mwheel.el (mouse-wheel-down-button, mouse-wheel-up-button)
5066 (mouse-wheel-click-button):
5067 * outline.el (outline-visible):
5068 * pcvs-defs.el (cvs-diff-ignore-marks, cvs-diff-buffer-name):
5069 * pcvs-info.el (cvs-display-full-path, cvs-fileinfo->full-path):
5070 * emacs-lisp/lisp-mode.el (lisp-comment-indent):
5071 * progmodes/compile.el (compile-internal):
5072 Add WHEN to obsolescence declarations.
5073
5074 2008-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
5075
5076 * emacs-lisp/debug.el (debug): Revert to bury-buffer since quit-window
5077 is not better anyway.
5078
5079 2008-04-17 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5080
5081 * whitespace.el (whitespace-report-region): Handle whitespace-tab-width
5082 properly.
5083
5084 2008-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
5085
5086 * progmodes/python.el (python-mode-map): Use abbrev-table-menu.
5087 (python-use-skeletons): Remove, unused.
5088 (python-skeletons): Remove. Use the abbrev table instead.
5089 (python-mode-abbrev-table): Fix regexp;
5090 add enable-function and case-fixed.
5091 (def-python-skeleton): Simplify.
5092 (python-expand-template): Use the abbrev-table and abbrev-insert.
5093 (python-abbrev-pc-hook, python-abbrev-syntax-table, python-pea-hook):
5094 Remove.
5095 (python-mode): Don't set pre-abbrev-expand-hook.
5096
5097 * skeleton.el: Set coding-tag.
5098
5099 * abbrev.el (abbrev-insert): New function extracted from expand-abbrev.
5100 (expand-abbrev): Use it.
5101 (abbrev-table-menu): New function.
5102
5103 * abbrev.el (define-abbrev-table): Fontify dosctrings as such.
5104
5105 * minibuffer.el (completion-table-with-terminator): Fix paren typo.
5106
5107 2008-04-17 Sam Steingold <sds@gnu.org>
5108
5109 * pcvs-util.el (cvs-bury-buffer): Use quit-window instead of the
5110 idiosyncratic bury-buffer/delete-window logic.
5111
5112 2008-04-17 Juanma Barranquero <lekktu@gmail.com>
5113
5114 * emacs-lisp/crm.el (crm-completion-help, crm-complete)
5115 (crm-complete-word, crm-complete-and-exit): Fix typo in previous change.
5116
5117 2008-04-17 Kenichi Handa <handa@m17n.org>
5118
5119 * international/characters.el: Don't make the width of U+00AD to 0.
5120
5121 2008-04-17 Nick Roberts <nickrob@snap.net.nz>
5122
5123 * progmodes/gdb-ui.el (gdb-stack-update): New variable.
5124 (gdb, gdb-starting, gdb-frames-mode): Use it.
5125 (gdb-invalidate-frames): Advise to call "info stack" only if
5126 execution has occurred.
5127 (gdb-info-breakpoints-custom): Only update overlay-arrow pointing to
5128 selected frame if no execution has occurred.
5129 (gdb-frames-force-update): New interactive function.
5130 (gdb-frames-mode-map): Bind it to "F".
5131
5132 2008-04-17 Michael Olson <mwolson@gnu.org>
5133
5134 * textmodes/remember.el (remember-version): Release Remember 2.0.
5135
5136 2008-04-16 Yoni Rabkin <yoni@rabkins.net>
5137
5138 * textmodes/artist.el:
5139 * progmodes/vhdl-mode.el:
5140 * progmodes/verilog-mode.el:
5141 * progmodes/vera-mode.el:
5142 * progmodes/simula.el:
5143 * progmodes/ps-mode.el:
5144 * progmodes/cmacexp.el:
5145 * obsolete/hilit19.el:
5146 * emulation/viper.el:
5147 * ediff.el: Cleanup the bug-report email addresses and make sure the
5148 maintainer is still willing to handle bug reports.
5149
5150 2008-04-16 Dan Nicolaescu <dann@ics.uci.edu>
5151
5152 * vc.el (vc-dir-kill-query): Fix thinko.
5153
5154 2008-04-16 Glenn Morris <rgm@gnu.org>
5155
5156 * calendar/diary-lib.el (diary-remind): Don't clobber `date' passed
5157 by diary-sexp-entry.
5158
5159 2008-04-16 Markus Triska <markus.triska@gmx.at>
5160
5161 * proced.el (proced-command-alist): Add support for darwin.
5162
5163 2008-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
5164
5165 * proced.el (proced-mode): Redefine as just the major-mode.
5166 (proced): Separate it from proced-mode.
5167
5168 * vc.el: Rename vc-status to vc-dir and the vc-status var to vc-ewoc.
5169
5170 2008-04-15 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5171
5172 * whitespace.el: Honor the `indent-tabs-mode' setting from user.
5173 Suggested by Stephen Deasey <sdeasey@gmail.com>. Honor also the
5174 `tab-width' setting from user. New version 10.0. Doc and docstring
5175 fix.
5176 (whitespace-style, whitespace-chars): Remove options.
5177 (whitespace-style-mark): New option, replace whitespace-style deleted
5178 option. Fix docstring.
5179 (whitespace-style-color): New option, replace whitespace-chars deleted
5180 option. Fix docstring.
5181 (whitespace-space, whitespace-hspace, whitespace-tab)
5182 (whitespace-newline, whitespace-trailing, whitespace-line)
5183 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
5184 (whitespace-space-after-tab, whitespace-hspace-regexp)
5185 (whitespace-space-regexp, whitespace-tab-regexp)
5186 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
5187 (whitespace-empty-at-eob-regexp, whitespace-line-column)
5188 (whitespace-toggle-option-alist): Fix docstring.
5189 (whitespace-space-before-tab-regexp, whitespace-indentation-regexp)
5190 (whitespace-space-after-tab-regexp, whitespace-display-mappings): Fix
5191 docstring and initialization.
5192 (global-whitespace-mode): Autoloaded global minor mode.
5193 (whitespace-chars-value-list, whitespace-style-value-list)
5194 (whitespace-active-chars, whitespace-active-style)
5195 (whitespace-toggle-chars, whitespace-toggle-style): Remove vars.
5196 (whitespace-color-value-list): New var, replace
5197 whitespace-chars-value-list removed var.
5198 (whitespace-mark-value-list): New var, replace
5199 whitespace-style-value-list removed var.
5200 (whitespace-active-color): New var, replace whitespace-active-chars
5201 removed var.
5202 (whitespace-active-mark): New var, replace whitespace-active-style
5203 removed var.
5204 (whitespace-toggle-color): New var, replace whitespace-toggle-chars
5205 removed var.
5206 (whitespace-toggle-mark): New var, replace whitespace-toggle-style
5207 removed var.
5208 (whitespace-toggle-option-alist, whitespace-report-list)
5209 (whitespace-report-text, whitespace-help-text): Fix initialization.
5210 (whitespace-indent-tabs-mode, whitespace-tab-width): New vars.
5211 (whitespace-toggle-options, global-whitespace-toggle-options)
5212 (whitespace-cleanup-region, whitespace-report-region)
5213 (whitespace-interactive-char): Fix docstring and code.
5214 (whitespace-cleanup, whitespace-report): Fix docstring.
5215 (whitespace-replace-spaces-by-tabs): Remove fun.
5216 (whitespace-replace-action): New fun, replace
5217 whitespace-replace-spaces-by-tabs removed fun.
5218 (whitespace-regexp, whitespace-indentation-regexp)
5219 (whitespace-space-after-tab-regexp, whitespace-insert-value)
5220 (whitespace-kill-buffer): New funs.
5221 (whitespace-insert-option-mark, whitespace-help-on)
5222 (whitespace-help-off, whitespace-turn-on, whitespace-turn-off)
5223 (whitespace-color-on, whitespace-color-off)
5224 (whitespace-display-char-on): Fix code.
5225
5226 2008-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5227
5228 * mouse-drag.el (mouse-throw-magnifier-with-scroll-bar)
5229 (mouse-throw-magnifier-with-mouse-movement): Remove.
5230 (mouse-throw-magnifier-base): New const.
5231 (mouse-drag-scroll-delta): New fun.
5232 (mouse-drag-throw): Use it.
5233
5234 2008-04-15 Juanma Barranquero <lekktu@gmail.com>
5235
5236 * international/uni-bidi.el, international/uni-category.el:
5237 * international/uni-combining.el, international/uni-comment.el:
5238 * international/uni-decimal.el, international/uni-decomposition.el:
5239 * international/uni-digit.el, international/uni-lowercase.el:
5240 * international/uni-mirrored.el, international/uni-name.el:
5241 * international/uni-numeric.el, international/uni-old-name.el:
5242 * international/uni-titlecase.el, international/uni-uppercase.el:
5243 * international/charprop.el: Regenerate.
5244
5245 2008-04-15 Dan Nicolaescu <dann@ics.uci.edu>
5246
5247 * vc.el (vc-status-fileinfo): Add new member directoryp.
5248 (vc-default-status-printer): Print directories.
5249 (vc-status-update): Sort files before subdirectories.
5250
5251 * vc-cvs.el (vc-cvs-after-dir-status, vc-cvs-dir-status):
5252 Add alternative implementation based on "cvs update".
5253
5254 2008-04-15 Tassilo Horn <tassilo@member.fsf.org>
5255
5256 * doc-view.el: Changed requirements section to tell that only one
5257 of dvipdf or dvipdfm is needed.
5258 (doc-view-already-converted-p): Fix bug that forced reconversion
5259 if doc was already converted.
5260
5261 2008-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5262
5263 * minibuffer.el (minibuffer-message):
5264 Make sure we can put-text-property.
5265
5266 * emacs-lisp/crm.el: Complete rewrite.
5267
5268 * tmm.el (tmm-completion-delete-prompt): Don't hardcode point-min==1.
5269 (tmm-add-prompt): Make sure completion-setup-hook is preserved even in
5270 case of an error in display-completion-list.
5271
5272 * filecache.el (file-cache-completions-keymap): Move init from
5273 file-cache-completion-setup-function into declaration.
5274 (file-cache-minibuffer-complete): Simplify.
5275 (file-cache-completion-setup-function): Use standard-output,
5276 preserve current-buffer.
5277
5278 * vc.el (vc-status-update): Fix typo.
5279 (vc-status-update): Set needs-update.
5280 (vc-status-refresh): η-reduce.
5281
5282 2008-04-14 Tassilo Horn <tassilo@member.fsf.org>
5283
5284 * doc-view.el (doc-view-mode-map): Bind C-a to image-bol and C-e
5285 to image-eol.
5286
5287 2008-04-14 Alexandre Julliard <julliard@winehq.org>
5288
5289 * vc.el (vc-status-update): Undo the previous revert.
5290
5291 2008-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5292
5293 * minibuffer.el (completion-table-with-terminator): Those completions
5294 are never valid w.r.t test-completion.
5295 (completion--file-name-table):
5296 Check completion-all-completions-with-base-size.
5297
5298 2008-04-14 Tassilo Horn <tassilo@member.fsf.org>
5299
5300 * doc-view.el (doc-view-dvipdf-program): New variable.
5301 (doc-view-dvipdfm-program): Mention doc-view-dvipdf-program.
5302 (doc-view-mode-p): Check for doc-view-dvipdf-program as
5303 alternative for doc-view-dvipdfm-program.
5304 (doc-view-dvi->pdf): Prefer dvipdf over dvipdfm.
5305
5306 * doc-view.el (doc-view-start-process): Don't set
5307 default-directory to "~/" if the current value is valid.
5308 This broke PS files that run other files in the same directory.
5309
5310 2008-04-14 Dan Nicolaescu <dann@ics.uci.edu>
5311
5312 * vc.el (vc-status-kill-query): New function.
5313 (vc-status-mode): Add it to kill-buffer-query-functions.
5314 (vc-status-show-fileentry): New function.
5315 (vc-status-menu-map): Bind it. Bind vc-next-action.
5316
5317 2008-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5318
5319 * minibuffer.el (minibuffer-message): Put cursor at the right place.
5320
5321 2008-04-13 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
5322
5323 * proced.el (proced-send-signal): Fix error recognition.
5324
5325 2008-04-13 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
5326
5327 * proced.el (proced-command-alist): Remove sort column.
5328 (proced-command, proced-procname-column):
5329 Use make-variable-buffer-local.
5330 (proced-signal-function): Rename from proced-kill-program.
5331 Allow for elisp symbols and string values representing system calls.
5332 (proced-marker-regexp, proced-success-message): New functions.
5333 (proced): Use defalias. Add autoload cookie.
5334 (proced-unmark-backward, proced-toggle-marks)
5335 (proced-hide-processes): New commands.
5336 (proced-do-mark): Simplify code.
5337 (proced-insert-mark): Use optional arg BACKWARD instead of line number.
5338 (proced-update): Remove sorting.
5339 (proced-send-signal): Display number of processes to operate on.
5340 Allow for system calls or elisp functions to send signals.
5341 Check if signal was sent successfully.
5342
5343 2008-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
5344
5345 * minibuffer.el (completion-all-completion-with-base-size): New var.
5346 (completion--some): New function.
5347 (completion-table-with-context, completion--file-name-table):
5348 Return the base-size if requested.
5349 (completion-table-in-turn): Generalize to multiple arguments.
5350 (complete-in-turn): Compatibility alias.
5351 (completion-styles-alist): New var.
5352 (completion-styles): New customization.
5353 (minibuffer-try-completion, minibuffer-all-completions):
5354 New functions.
5355 (minibuffer--do-completion, minibuffer-complete-and-exit)
5356 (minibuffer-try-word-completion): Use them.
5357 (display-completion-list, minibuffer-completion-help): Use them.
5358 Handle all-completions's new base-size info to set completion-base-size.
5359 * info.el (Info-read-node-name-1): Use completion-table-with-context,
5360 completion-table-with-terminator and complete-with-action.
5361 Remove the now obsolete completion-base-size-function property.
5362 * simple.el (completion-list-mode-map): Move init into declaration.
5363 (completion-list-mode): Use define-derived-mode.
5364 (completion-setup-function): Use any completion-base-size that may
5365 have been set before. Remove handling of completion-base-size-function.
5366 * loadup.el: Move abbrev.el up earlier.
5367
5368 2008-04-13 Alexandre Julliard <julliard@winehq.org>
5369
5370 * vc-git.el (vc-git-after-dir-status-stage)
5371 (vc-git-dir-status-goto-stage): New functions.
5372 (vc-git-after-dir-status-stage1)
5373 (vc-git-after-dir-status-stage1-empty-db)
5374 (vc-git-after-dir-status-stage2): Remove, functionality moved
5375 into the new generic stage functions.
5376 (vc-git-dir-status-files): New function.
5377
5378 * vc.el (vc-status-update): Revert an incorrect rewrite.
5379 Add some comments.
5380 (vc-status-refresh-files): New function.
5381 (vc-status-refresh): Use `vc-status-refresh-files' to refresh the
5382 state of up-to-date files.
5383 (vc-default-dir-status-files): New function.
5384
5385 2008-04-13 Juanma Barranquero <lekktu@gmail.com>
5386
5387 * minibuffer.el (completion--embedded-envvar-table)
5388 (read-file-name-internal): Fix typos in 2008-04-11 change.
5389
5390 * faces.el (read-face-name): Use `completion-table-in-turn',
5391 not `complete-in-turn'.
5392
5393 2008-04-13 Andreas Schwab <schwab@suse.de>
5394
5395 * progmodes/etags.el: Require 'cl when compiling.
5396
5397 2008-04-12 Nick Roberts <nickrob@snap.net.nz>
5398
5399 * progmodes/gud.el (gud-menu-map): Expand tooltip.
5400
5401 * progmodes/gdb-ui.el (gdb-find-source-frame): Improve doc string.
5402 (menu): Add/expand menu tooltips.
5403
5404 2008-04-12 Dan Nicolaescu <dann@ics.uci.edu>
5405
5406 * progmodes/sh-script.el (sh-show-indent): Fix typo.
5407 (sh-mode-map): Add a toggle for inserting braces and quotes in pairs.
5408
5409 * vc-cvs.el (vc-cvs-registered): Allow removed files to be
5410 considered registered.
5411
5412 2008-04-12 Reiner Steib <Reiner.Steib@gmx.de>
5413
5414 * emacs-lisp/copyright.el (copyright-update-directory): New command.
5415
5416 * ediff-wind.el (ediff-split-window-function)
5417 (ediff-merge-split-window-function): Improve custom type.
5418
5419 2008-04-12 Eli Zaretskii <eliz@gnu.org>
5420
5421 * loadup.el ("minibuffer"): Move after "faces".
5422
5423 2008-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
5424
5425 * progmodes/hideif.el (hif-factor): Handle unary minus.
5426
5427 2008-04-12 Glenn Morris <rgm@gnu.org>
5428
5429 * calendar/cal-china.el (chinese-calendar-time-zone):
5430 Mark obsolete name as risky too.
5431
5432 * calendar/calendar.el (calendar-faces): New custom group.
5433 (calendar-today, diary, holiday): Doc fix.
5434 Move to calendar-faces group.
5435 * calendar/diary-lib.el (diary-face, diary-anniversary, diary-time)
5436 (diary-button): Doc fix. Move to calendar-faces group.
5437
5438 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
5439 * desktop.el, files.el, hilit-chg.el, ibuffer.el, iswitchb.el:
5440 * pcvs-info.el, recentf.el, speedbar.el, calendar/cal-china.el:
5441 * calendar/cal-hebrew.el, calendar/cal-x.el, calendar/calendar.el
5442 * calendar/diary-lib.el, net/net-utils.el, progmodes/gud.el:
5443 Move non-autoloaded define-obsolete-variable-alias calls for defcustoms
5444 not in dumped files before the associated defcustom.
5445
5446 2008-04-11 Johan Bockgård <bojohan@gnu.org>
5447
5448 * minibuffer.el (lazy-completion-table): Fix debug spec.
5449
5450 2008-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5451
5452 * minibuffer.el (complete-with-action, lazy-completion-table):
5453 Move from subr.el.
5454 (apply-partially, completion-table-dynamic)
5455 (completion-table-with-context, completion-table-with-terminator)
5456 (completion-table-in-turn): New funs.
5457 (completion--make-envvar-table, completion--embedded-envvar-table):
5458 New funs.
5459 (read-file-name-internal): Use them.
5460 (completion-setup-hook): Move from simple.el.
5461 * subr.el (complete-with-action, lazy-completion-table):
5462 * simple.el (completion-setup-hook): Move to minibuffer.el.
5463
5464 2008-04-11 Glenn Morris <rgm@gnu.org>
5465
5466 * Makefile.in (AUTOGENEL): Add calc/calc-loaddefs.el.
5467
5468 2008-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5469
5470 * progmodes/python.el (python-mode): Don't mess with hippie-expand.
5471
5472 * Makefile.in (bootstrap-prepare): Make tpu-edt.el writable as well.
5473
5474 * textmodes/fill.el (fill-forward-paragraph-function): New var.
5475 (fill-forward-paragraph): New fun.
5476 (fill-paragraph, fill-region): Use it.
5477
5478 * vc.el: Change `dir-status' to not take (and pass) status-buffer.
5479 (vc-status-create-fileinfo): Make `extra' optional.
5480 (vc-status-busy): New fun.
5481 (vc-status-menu-map): Use it.
5482 (vc-status-crt-marked): Remove.
5483 (vc-status-update): Rename from vc-status-add-entries.
5484 Add argument so as to prevent addition of entries. Rewrite.
5485 (vc-update-vc-status-buffer): Remove.
5486 (vc-status-refresh): Don't remove old entries, set them to
5487 up-to-date instead. Also do it after the update is complete.
5488 (vc-status-marked-files): η-reduce.
5489
5490 * dired.el (dired-read-dir-and-switches): Use read-directory-name even
5491 for non-dialogs.
5492
5493 * Makefile.in (bootstrap-prepare): Don't copy ldefs-boot over loaddefs.
5494
5495 * loadup.el: Load ldefs-boot.el if loaddefs.el doesn't exist.
5496
5497 2008-04-11 Jan Djärv <jan.h.d@swipnet.se>
5498
5499 * tooltip.el (tooltip-show-help-non-mode): Set message-truncate-lines
5500 to t and don't truncate msg.
5501
5502 2008-04-11 Glenn Morris <rgm@gnu.org>
5503
5504 * calendar/calendar.el (diary, holidays):
5505 Move custom groups to other files.
5506 (holiday-general-holidays, holiday-oriental-holidays)
5507 (holiday-local-holidays, holiday-other-holidays, hebrew-holidays-1)
5508 (hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
5509 (holiday-hebrew-holidays, holiday-christian-holidays)
5510 (holiday-islamic-holidays, holiday-bahai-holidays)
5511 (holiday-solar-holidays, calendar-holidays): Move to holidays.el.
5512 * calendar/diary-lib.el: Move custom group here from calendar.el.
5513 * calendar/holidays-lib.el: Move custom group and variables here
5514 from calendar.el.
5515
5516 * calendar/cal-china.el (calendar-chinese-time-zone): Mark as risky.
5517
5518 * calendar/cal-dst.el (calendar-dst-check-each-year-flag):
5519 Fix custom group.
5520 (calendar-current-time-zone-cache): Autoload riskiness.
5521
5522 * calendar/cal-tex.el (cal-tex-preamble-extra): Fix custom type.
5523
5524 2008-04-11 Chong Yidong <cyd@stupidchicken.com>
5525
5526 * woman.el (woman2-TH): Use string-equal instead of string-match.
5527
5528 2008-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5529
5530 * smerge-mode.el (smerge-apply-resolution-patch): Fix typo.
5531 (smerge-resolve): Merge the "2-way refinement" case with one half of
5532 the "mere whitespace" resolution.
5533
5534 2008-04-10 Dan Nicolaescu <dann@ics.uci.edu>
5535
5536 * vc-bzr.el (vc-bzr-after-dir-status): Detect the conflict state.
5537
5538 2008-04-10 Juanma Barranquero <lekktu@gmail.com>
5539
5540 * subr.el (assoc-ignore-case, assoc-ignore-representation):
5541 Add WHEN to obsolescence declaration.
5542
5543 * makefile.w32-in (AUTOGENEL): Add calc-loaddefs.el.
5544
5545 2008-04-10 Dan Nicolaescu <dann@ics.uci.edu>
5546
5547 * vc-hooks.el (vc-state): Add new state `conflict'.
5548 (vc-after-save): Use when not if.
5549 (vc-default-mode-line-string): Deal with the conflict state.
5550 (vc-prefix-map, vc-menu-map): Bind vc-status instead of vc-directory.
5551
5552 * vc.el (vc-editable-p, vc-default-status-printer)
5553 (vc-next-action): Deal with the conflict state.
5554 (vc-mark-resolved): New function.
5555 (vc-status-mode): Fix mode name.
5556 (vc-default-comment-history): Use when not if.
5557 (Todo): Add new entries, remove old ones.
5558
5559 * vc-cvs.el (vc-cvs-merge, vc-cvs-merge-news): Set conflict state.
5560 (vc-cvs-parse-status, vc-cvs-after-dir-status):
5561 * vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
5562 Detect the conflict state.
5563
5564 * vc-hg.el (vc-hg-dir-status): Remove unneeded call.
5565
5566 2008-04-10 Glenn Morris <rgm@gnu.org>
5567
5568 * menu-bar.el (menu-bar-options-menu) <truncate-lines>:
5569 Respect truncate-partial-width-windows in non-full windows,
5570 with regards to :toggle and :enable state.
5571
5572 * simple.el (toggle-truncate-lines): Doc fix.
5573
5574 * Makefile.in (MH_E_DIR): New variable.
5575 (MH_E_SRC): Restore variable removed 2008-03-13.
5576 (mh-loaddefs.el): Depend on $MH_E_SRC.
5577 (CAL_DIR, CAL_SRC): New variables.
5578 (cal-loaddefs.el, diary-loaddefs.el, hol-loaddefs.el):
5579 Depend on CAL_SRC.
5580
5581 * calendar/calendar.el (calendar, diary): Add :prefix.
5582 (holidays): Change :prefix.
5583 (calendar-today, holiday, calendar-holiday-marker)
5584 (european-calendar-style): Change custom groups.
5585
5586 * calendar/calendar.el (diary-hook, diary-display-hook):
5587 Move to diary-lib.el.
5588 * calendar/diary-lib.el (diary-hook, diary-display-hook):
5589 Move here from calendar.el.
5590 * calendar/appt.el: Require diary-lib rather than calendar.
5591 * calendar/cal-x.el (diary-display-hook): Declare for compiler.
5592
5593 * calendar/appt.el (appt): Add :prefix.
5594
5595 * calendar/diary-lib.el (diary-hook): Doc fix.
5596 (diary-mark-sexp-entries): Fix replacement of calendar-for-loop.
5597
5598 2008-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5599
5600 * minibuffer.el (minibuffer--double-dollars, read-file-name-internal):
5601 New functions.
5602
5603 * minibuffer.el (minibuffer--do-completion): Don't forget to propagate
5604 the arg to recursive calls.
5605
5606 2008-04-09 Juanma Barranquero <lekktu@gmail.com>
5607
5608 * minibuffer.el (completion-auto-help): Fix typo.
5609
5610 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
5611
5612 * vc-cvs.el (vc-cvs-diff-tree): Remove unused function.
5613
5614 2008-04-09 Michael Albinus <michael.albinus@gmx.de>
5615
5616 * net/tramp.el (tramp-find-file-name-coding-system-alist): New defun.
5617 (tramp-handle-insert-file-contents, tramp-handle-write-region): Use it.
5618
5619 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
5620
5621 * vc-hooks.el (vc-default-mode-line-string): Use ? for missing.
5622
5623 * minibuffer.el (minibuffer): Move group from cus-edit.el.
5624 (completion-auto-help): Move from C code.
5625 (minibuffer--maybe-completion-help): Remove.
5626 (minibuffer--bitset): New function.
5627 (minibuffer--do-completion): Rename from minibuffer-do-completion.
5628 Renumber a bit. Really complete on string *before* point.
5629 Add argument used for word-completion.
5630 Join trailing / in completion with following text, as done in
5631 minibuffer-complete-word.
5632 Handle new value `lazy' for completion-auto-help.
5633 (minibuffer-try-word-completion): New function extracted from
5634 minibuffer-complete-word.
5635 (minibuffer-complete-word): Use minibuffer--do-completion.
5636 (minibuffer--insert-strings): Rename from
5637 minibuffer-complete-insert-strings.
5638 (exit-minibuffer): Fix typo.
5639 * cus-edit.el (minibuffer): Move group to minibuffer.el.
5640 * cus-start.el: Remove completion-auto-help.
5641
5642 2008-04-09 Alexandre Julliard <julliard@winehq.org>
5643
5644 * vc.el (vc-status-add-entries): New function.
5645 (vc-status-add-entry): Remove.
5646 (vc-update-vc-status-buffer, vc-status-mark-buffer-changed):
5647 Use vc-status-add-entries.
5648
5649 * emacs-lisp/ewoc.el (ewoc-collect): Return results in the correct
5650 order.
5651
5652 2008-04-09 Jason Rumney <jasonr@gnu.org>
5653
5654 * makefile.w32-in (LOADDEFS): Add mh-loaddefs.el.
5655 ($(lisp)/mh-e/mh-loaddefs.el): Simplify rule.
5656 (pre-mh-loaddefs.el-CMD, pre-mh-loaddefs.el-SH): Remove.
5657 (AUTOGENEL): New variable.
5658 (distclean, maintainer-clean): New targets.
5659
5660 2008-04-09 Chong Yidong <cyd@stupidchicken.com>
5661
5662 * emacs-lisp/regexp-opt.el (regexp-opt):
5663 Reduce max-lisp-eval-depth and max-specpdl-size to 10000.
5664
5665 2008-04-09 Lennart Borgman <lennart.borgman@gmail.com>
5666
5667 * nxml/nxml-mode.el (nxml-cleanup): New function.
5668 (nxml-mode): Add it to change-major-mode-hook.
5669
5670 2008-04-09 Jan Djärv <jan.h.d@swipnet.se>
5671
5672 * term/x-win.el (x-gtk-stock-map): Map info to gtk-info.
5673
5674 2008-04-09 Juanma Barranquero <lekktu@gmail.com>
5675
5676 * calc/.cvsignore: New file.
5677
5678 2008-04-09 Jan Djärv <jan.h.d@swipnet.se>
5679
5680 * vc.el (vc-status-tool-bar-map): Add vc-print-log to tool bar.
5681
5682 * tooltip.el (tooltip-mode): Set tooltip-show-help-non-mode as
5683 show-help-function when turning tooltip off.
5684 (tooltip-show): Call tooltip-show-help-non-mode if use-echo-area.
5685 (tooltip-trunc-str, tooltip-show-help-non-mode): New.
5686
5687 2008-04-09 Alan Mackenzie <acm@muc.de>
5688
5689 * font-lock.el (font-lock-extend-after-change-region-function):
5690 Make it buffer local.
5691
5692 2008-04-09 Glenn Morris <rgm@gnu.org>
5693
5694 * calendar/calendar.el (diary-file, european-calendar-style):
5695 Remove autoload cookies.
5696
5697 2008-04-09 Dan Nicolaescu <dann@ics.uci.edu>
5698
5699 * outline.el (outline-mode-menu-bar-map):
5700 * log-view.el (log-view-mode-menu):
5701 * log-edit.el (log-edit-menu): Add :help.
5702
5703 2008-04-09 Chong Yidong <cyd@stupidchicken.com>
5704
5705 * emacs-lisp/regexp-opt.el (regexp-opt-group):
5706 Use substring-no-properties for correct handling of unibyte strings.
5707
5708 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
5709
5710 * add-log.el (change-log-next-buffer): Handle the case where version<
5711 signals an error.
5712
5713 * mouse.el (mouse-menu-major-mode-map): New fun extracted from
5714 mouse-major-mode-menu.
5715 (mouse-menu-bar-map): New fun extracted from mouse-popup-menubar.
5716 (mouse-major-mode-menu, mouse-popup-menubar)
5717 (mouse-popup-menubar-stuff): Use them.
5718 (C-down-mouse-3): Bind to a dynamic map rather than to
5719 mouse-popup-menubar-stuff.
5720
5721 * bindings.el (mode-line-major-mode-keymap): Bind down-mouse-1
5722 to mouse-menu-major-mode-map rather than to mouse-major-mode-menu.
5723
5724 2008-04-09 Dan Nicolaescu <dann@ics.uci.edu>
5725
5726 * vc-svn.el (vc-svn-modify-change-comment): Add support for the
5727 file:// access method.
5728
5729 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
5730
5731 * minibuffer.el: New file.
5732 * loadup.el: Load it.
5733
5734 2008-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
5735
5736 * Makefile.in ($(lisp)/mh-e/mh-loaddefs.el): Make it depend on mh-e/*.el
5737 rather than subdirs.el. It introduces an ugly circular dependency, tho.
5738
5739 * calc/calc.el: Load "calc-loaddefs" rather than set up manual autoloads.
5740 (calc-mode-map, calc-digit-map, calc-dispatch-map):
5741 Move initialization into declaration.
5742 * calc/calc-yank.el:
5743 * calc/calc-misc.el:
5744 * calc/calc-embed.el:
5745 * calc/calc-aent.el: Add autoload cookies. Set generated-autoload-file.
5746
5747 2008-04-08 Michael Albinus <michael.albinus@gmx.de>
5748
5749 * ps-samp.el (ps-add-printer, ps-remove-printer)
5750 (ps-make-dynamic-printer-menu): New functions.
5751
5752 * net/zeroconf.el: New file.
5753
5754 2008-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
5755
5756 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits): Typo.
5757
5758 2008-04-08 Dan Nicolaescu <dann@ics.uci.edu>
5759
5760 * vc-rcs.el (vc-rcs-modify-change-comment):
5761 * vc-cvs.el (vc-cvs-modify-change-comment): Fix argument order.
5762
5763 * log-view.el (log-view-mode-menu): Bind log-view-modify-change-comment.
5764
5765 2008-04-08 Juanma Barranquero <lekktu@gmail.com>
5766
5767 * international/mule-cmds.el (set-locale-environment): Don't warn if
5768 coding system doesn't agree with system locale (this reverts changes
5769 by Dave Love, dated 2002-10-27 and 2002-10-09).
5770
5771 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
5772 * emacs-lisp/cl-macs.el (get-setf-method): Use `string-match-p'.
5773
5774 * emacs-lisp/copyright.el (copyright-update-year): Use `looking-at-p'.
5775
5776 2008-04-08 Glenn Morris <rgm@gnu.org>
5777
5778 * calendar/calendar.el (calendar-date-style): Remove autoload cookie.
5779 * textmodes/remember.el (remember-diary-convert-entry):
5780 Require calendar.
5781
5782 * textmodes/remember.el (remember-diary-extract-entries): Don't pass
5783 diary-file, since it is the default for make-diary-entry anyway.
5784
5785 * calendar/cal-menu.el (cal-menu-event-to-date):
5786 Rename calendar-event-to-date. Update callers.
5787 (calendar-mouse-tex-day): Rename cal-tex-mouse-day.
5788 (calendar-mouse-tex-week): Rename cal-tex-mouse-week.
5789 (calendar-mouse-tex-week2): Rename cal-tex-mouse-week2.
5790 (calendar-mouse-tex-week-iso): Rename cal-tex-mouse-week-iso.
5791 (calendar-mouse-tex-week-monday): Rename cal-tex-mouse-week-monday.
5792 (calendar-mouse-tex-filofax-daily): Rename cal-tex-mouse-filofax-daily.
5793 (calendar-mouse-tex-filofax-2week): Rename cal-tex-mouse-filofax-2week.
5794 (calendar-mouse-tex-filofax-week): Rename cal-tex-mouse-filofax-week.
5795 (calendar-mouse-tex-month): Rename cal-tex-mouse-month.
5796 (calendar-mouse-tex-month-landscape):
5797 Rename cal-tex-mouse-month-landscape.
5798 (calendar-mouse-tex-year): Rename cal-tex-mouse-year.
5799 (calendar-mouse-tex-filofax-year): Rename cal-tex-mouse-filofax-year.
5800 (calendar-mouse-tex-year-landscape):
5801 Rename cal-tex-mouse-year-landscape.
5802 (cal-menu-context-mouse-menu): Update for above name changes.
5803
5804 * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
5805 * calendar/cal-french.el, calendar/cal-hebrew.el, calendar/cal-islam.el:
5806 * calendar/cal-iso.el, calendar/cal-julian.el, calendar/cal-move.el:
5807 * calendar/cal-persia.el, calendar/cal-tex.el, calendar/calendar.el:
5808 * calendar/holidays.el: Replace int-to-string with number-to-string.
5809
5810 2008-04-08 Chong Yidong <cyd@stupidchicken.com>
5811
5812 * mwheel.el (mwheel-scroll): Deactivate any temporarily active
5813 region if point moves.
5814
5815 2008-04-08 Kenichi Handa <handa@m17n.org>
5816
5817 * faces.el (font-slant-table): Change numeric values for `r',
5818 `roman', and `normal'.
5819
5820 2008-04-07 Vincent Belaïche <vincent.b.1@hotmail.fr>
5821
5822 * calc/calc-vec.el (calcFunc-kron, calc-kron): New functions.
5823
5824 2008-04-07 Jay Belanger <jay.p.belanger@gmail.com>
5825
5826 * calc/calc-ext.el (calc-init-extensions): Add `calc-kron' and
5827 `calcFunc-kron' to autoloads. Add keybinding for `calc-kron'.
5828
5829 2008-04-07 Michael Albinus <michael.albinus@gmx.de>
5830
5831 * net/tramp.el (tramp-methods): Fix again tramp-copy-args of
5832 "pscp" and "psftp". Reported by Gilles Pion <gpion@lfdj.com>.
5833
5834 2008-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
5835
5836 * dired-aux.el (dired-read-shell-command): Use read-shell-command.
5837
5838 2008-04-07 Sam Steingold <sds@gnu.org>
5839
5840 * progmodes/inf-lisp.el (lisp-compile-string, lisp-eval-string):
5841 Add helper functions.
5842 (lisp-do-defun): Extract the common part of lisp-eval-defun and
5843 lisp-compile-defun; DEFVAR forms reset the variables to the init
5844 values, just like in emacs-lisp mode eval-defun.
5845 (lisp-eval-defun, lisp-compile-defun): Use lisp-do-defun.
5846 (lisp-compile-region): Use lisp-compile-string.
5847
5848 2008-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
5849
5850 * subr.el (combine-and-quote-strings): Also quote strings that contain
5851 the separator.
5852
5853 * pcvs-util.el (cvs-map): Avoid recursion :-(
5854
5855 2008-04-07 Glenn Morris <rgm@gnu.org>
5856
5857 * calendar/calendar.el (calendar-mode-map): Replace use of kbd.
5858
5859 * calendar.el (diary-view-entries-initially-flag): Rename
5860 view-diary-entries-initially. Keep old name as alias, update users.
5861 (calendar-mark-diary-entries-flag): Rename
5862 mark-diary-entries-in-calendar. Keep old name as alias, update users.
5863 (calendar-view-holidays-initially-flag): Rename
5864 view-calendar-holidays-initially. Keep old name as alias, update users.
5865 (calendar-mark-holidays-flag): Rename mark-holidays-in-calendar.
5866 Keep old name as alias, update users.
5867 (calendar-initial-window-hook): Rename initial-calendar-window-hook.
5868 Keep old name as alias, update users.
5869 (calendar-today-visible-hook): Rename today-visible-calendar-hook.
5870 Keep old name as alias, update users.
5871 (calendar-today-invisible-hook): Rename today-invisible-calendar-hook.
5872 Keep old name as alias, update users.
5873 (diary-iso-date-forms): Rename iso-date-diary-pattern. Update users.
5874 (diary-american-date-forms): Rename american-date-diary-pattern.
5875 Keep old name as alias, update users.
5876 (diary-european-date-forms): Rename european-date-diary-pattern.
5877 Keep old name as alias, update users.
5878 (calendar-iso-date-display-form): Rename iso-calendar-display-form.
5879 Keep old name as alias, update users.
5880 (calendar-european-date-display-form): Rename
5881 european-calendar-display-form. Keep old name as alias, update users.
5882 (calendar-american-date-display-form): Rename
5883 european-calendar-display-form. Keep old name as alias, update users.
5884 (diary-show-holidays-flag): Rename holidays-in-diary-buffer.
5885 Keep old name as alias, update users.
5886 (holiday-general-holidays): Rename general-holidays.
5887 Keep old name as alias, update users.
5888 (holiday-oriental-holidays): Rename oriental-holidays.
5889 Keep old name as alias, update users.
5890 (holiday-local-holidays): Rename local-holidays.
5891 Keep old name as alias, update users.
5892 (holiday-other-holidays): Rename other-holidays.
5893 Keep old name as alias, update users.
5894 (holiday-hebrew-holidays): Rename hebrew-holidays.
5895 Keep old name as alias, update users.
5896 (holiday-christian-holidays): Rename christian-holidays.
5897 Keep old name as alias, update users.
5898 (holiday-islamic-holidays): Rename islamic-holidays.
5899 Keep old name as alias, update users.
5900 (holiday-bahai-holidays): Rename bahai-holidays.
5901 Keep old name as alias, update users.
5902 (holiday-solar-holidays): Rename solar-holidays.
5903 Keep old name as alias, update users.
5904 (diary-fancy-buffer): Rename fancy-diary-buffer.
5905 Keep old name as alias, update users.
5906 (calendar-other-calendars-buffer): Rename other-calendars-buffer.
5907 Update users.
5908 (calendar-hebrew-yahrzeit-buffer): Rename cal-hebrew-yahrzeit-buffer.
5909 Update users.
5910 (calendar-increment-month): Rename increment-calendar-month.
5911 Keep old name as alias, update callers.
5912 (calendar-increment-month-cons): Rename old calendar-increment-month.
5913 Update callers.
5914 (calendar-extract-month): Rename extract-calendar-month.
5915 Keep old name as alias, update callers.
5916 (calendar-extract-day): Rename extract-calendar-day.
5917 Keep old name as alias, update callers.
5918 (calendar-extract-year): Rename extract-calendar-year.
5919 Keep old name as alias, update callers.
5920 (calendar-generate-window): Rename generate-calendar-window.
5921 Update callers.
5922 (calendar-generate): Rename generate-calendar. Update callers.
5923 (calendar-generate-month): Rename generate-calendar-month.
5924 Update callers.
5925 (calendar-redraw): Rename redraw-calendar. Update callers.
5926 (calendar-describe-mode): Rename describe-calendar-mode. Update uses.
5927 (calendar-mouse-other-month): Rename mouse-calendar-other-month.
5928 Update callers.
5929 (calendar-update-mode-line): Rename update-calendar-mode-line.
5930 Update callers.
5931 (calendar-exit): Rename exit-calendar. Keep old name as alias,
5932 update callers.
5933 (calendar-mark-visible-date): Rename mark-visible-calendar-date.
5934 Keep old name as alias, update callers.
5935 * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
5936 * calendar/cal-dst.el, calendar/cal-french.el, calendar/cal-hebrew.el:
5937 * calendar/cal-html.el, calendar/cal-islam.el, calendar/cal-iso.el:
5938 * calendar/cal-julian.el, calendar/cal-menu.el, calendar/cal-move.el:
5939 * calendar/cal-persia.el, calendar/cal-tex.el, calendar/cal-x.el:
5940 * calendar/diary-lib.el, calendar/holidays.el, calendar/lunar.el:
5941 * calendar/solar.el: Update for calendar.el name changes.
5942 * org/org.el (org-agenda-format-date-aligned)
5943 (org-agenda-execute-calendar-command): Access date elements directly
5944 rather than using calendar functions.
5945 (org-read-date, org-goto-calendar, org-agenda-goto-calendar):
5946 Also set calendar-view-diary-initially-flag,
5947 calendar-view-holidays-initially-flag.
5948 (org-get-entries-from-diary): Also set diary-fancy-buffer.
5949 (org-agenda-execute-calendar-command): No need to set displayed-day.
5950
5951 2008-04-06 Alan Mackenzie <acm@muc.de>
5952
5953 * progmodes/cc-langs.el (c-before-font-lock-function): Correct a
5954 typo in the doc string.
5955
5956 * progmodes/cc-mode.el (c-basic-common-init):
5957 Set font-lock-extend-after-change-region-function.
5958 (c-extend-after-change-region): New function, used in
5959 font-lock-extend-after-change-region-function, thus superseding
5960 advice on the Font Lock after change functions.
5961 (c-advise-fl-for-region): Remove this macro.
5962
5963 2008-04-06 Reiner Steib <Reiner.Steib@gmx.de>
5964
5965 * textmodes/flyspell.el (flyspell-duplicate-distance):
5966 Improve custom type.
5967
5968 2008-04-06 Glenn Morris <rgm@gnu.org>
5969
5970 * calendar/diary-lib.el (diary-sexp-entry-symbol):
5971 Rename sexp-diary-entry-symbol. Keep old name as alias, update users.
5972 (diary-list-entries-hook): Rename list-diary-entries-hook.
5973 Keep old name as alias, update users.
5974 (diary-mark-entries-hook): Rename mark-diary-entries-hook.
5975 Keep old name as alias, update users.
5976 (diary-nongregorian-listing-hook): Rename
5977 nongregorian-diary-listing-hook. Keep old name as alias, update users.
5978 (diary-nongregorian-marking-hook): Rename
5979 nongregorian-diary-marking-hook. Keep old name as alias, update users.
5980 (diary-print-entries-hook): Rename print-diary-entries-hook.
5981 Keep old name as alias, update users.
5982 (diary-abbreviated-year-flag): Rename abbreviated-calendar-year.
5983 Keep old name as alias, update users.
5984 (diary-number-of-entries): Rename number-of-diary-entries.
5985 Keep old name as alias, update users.
5986 (view-diary-entries, list-diary-entries, show-all-diary-entries):
5987 Give version of obsolescence.
5988 (diary-view-other-diary-entries): Rename view-other-diary-entries.
5989 Keep old name as alias, update callers.
5990 (diary-add-to-list): Rename add-to-diary-list. Keep old name as alias,
5991 update callers.
5992 (diary-include-other-diary-files): Rename include-other-diary-files.
5993 Keep old name as alias, update callers.
5994 (diary-simple-display): Rename simple-diary-display.
5995 Keep old name as alias, update callers.
5996 (diary-fancy-display): Rename fancy-diary-display.
5997 Keep old name as alias, update callers.
5998 (diary-print-entries): Rename print-diary-entries.
5999 Keep old name as alias, update callers.
6000 (diary-marking-entries-flag): Rename marking-diary-entries.
6001 Update users.
6002 (diary-marking-entry-flag): Rename marking-diary-entry. Update users.
6003 (diary-mark-entries): Rename mark-diary-entries.
6004 Keep old name as alias, update callers.
6005 (diary-mark-sexp-entries): Rename mark-sexp-diary-entries.
6006 Keep old name as alias, update callers.
6007 (diary-mark-included-diary-files): Rename mark-included-diary-files.
6008 Keep old name as alias, update callers.
6009 (calendar-mark-days-named): Rename mark-calendar-days-named.
6010 Keep old name as alias, update callers.
6011 (calendar-mark-month): Rename mark-calendar-month.
6012 Keep old name as alias, update callers.
6013 (calendar-mark-date-pattern): Rename mark-calendar-date-pattern.
6014 Keep old name as alias, update callers.
6015 (diary-sort-entries): Rename sort-diary-entries.
6016 Keep old name as alias, update callers.
6017 (diary-list-sexp-entries): Rename list-sexp-diary-entries.
6018 Keep old name as alias, update callers.
6019 (diary-make-entry): Rename make-diary-entry. Keep old name as alias,
6020 update callers.
6021 (diary-insert-entry): Rename insert-diary-entry.
6022 Keep old name as alias.
6023 (diary-insert-weekly-entry): Rename insert-weekly-diary-entry.
6024 Keep old name as alias.
6025 (diary-insert-monthly-entry): Rename insert-monthly-diary-entry.
6026 Keep old name as alias.
6027 (diary-insert-yearly-entry): Rename insert-yearly-diary-entry.
6028 Keep old name as alias.
6029 (diary-insert-anniversary-entry): Rename insert-anniversary-diary-entry.
6030 Keep old name as alias.
6031 (diary-insert-block-entry): Rename insert-block-diary-entry.
6032 Keep old name as alias.
6033 (diary-insert-cyclic-entry): Rename insert-cyclic-diary-entry.
6034 Keep old name as alias.
6035 (diary-fancy-font-lock-keywords): Rename fancy-diary-font-lock-keywords.
6036 Keep old name as alias, update users.
6037 (diary-fancy-display-mode): Rename fancy-diary-display-mode.
6038 Keep old name as alias, update callers.
6039 * calendar/cal-bahai.el, calendar/cal-hebrew.el, calendar/cal-islam.el:
6040 * calendar/cal-menu.el, calendar/cal-x.el, calendar/calendar.el:
6041 * calendar/icalendar.el: Update for diary-lib name changes.
6042
6043 2008-04-06 Chong Yidong <cyd@stupidchicken.com>
6044
6045 * dired-aux.el (dired-overwrite-confirmed): Revert last change.
6046
6047 * dired.el (dired-dnd-handle-local-file): Obey dired-backup-overwrite
6048 for copy, move, and link operations.
6049
6050 2008-04-06 Michael Kifer <kifer@cs.stonybrook.edu>
6051
6052 * emulation/viper-init.el, emulation/viper-ex.el, emulation/viper-cmd.el
6053 (viper-search-wrap-around-t): Replace with viper-search-wrap-around.
6054
6055 * ediff-util.el, ediff-vers.el, ediff-wind.el: Replace 3-argument
6056 'require' statements with 1-argument ones (wrapped in if's).
6057 For compatibility with the current stable version of XEmacs.
6058
6059 2008-04-06 Dan Nicolaescu <dann@ics.uci.edu>
6060
6061 * vc.el (vc-status-prepare-status-buffer): Reset vc-parent-buffer-name.
6062
6063 2008-04-06 Jason Rumney <jasonr@gnu.org>
6064
6065 * language/burmese.el ("Burmese"): Make sample text consistent with
6066 language name.
6067
6068 2008-04-06 Nick Roberts <nickrob@snap.net.nz>
6069
6070 * progmodes/gdb-ui.el (gdb): New group.
6071 (gdb-debug-log-max, gdb-enable-debug)
6072 (gdb-cpp-define-alist-program, gdb-cpp-define-alist-flags)
6073 (gdb-show-main, gdb-many-windows, gdb-use-separate-io-buffer)
6074 (gdb-speedbar-auto-raise, gdb-use-colon-colon-notation)
6075 (gdb-show-changed-values, gdb-max-children)
6076 (gdb-delete-out-of-scope, gdb-same-frame, gdb-find-source-frame)
6077 (breakpoint-enabled, breakpoint-disabled, gdb-max-frames)
6078 (gdb-all-registers, gdb-memory-repeat-count, gdb-memory-format)
6079 (gdb-memory-unit): Move to new group from GUD group.
6080 (menu): Allow customization from GDB-UI menu-item.
6081
6082 2008-04-05 Chong Yidong <cyd@stupidchicken.com>
6083
6084 * dired-aux.el (dired-overwrite-confirmed): Supply initial value.
6085
6086 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
6087
6088 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-annotate-command)
6089 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
6090 Revision numbers can include ".".
6091
6092 * diff-mode.el (diff-end-of-hunk): Be careful not to overlook trailing
6093 "+" lines not accounted for by counting "-" and context lines.
6094
6095 2008-04-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6096
6097 * term/mac-win.el (mac-service-open-file): Use file URL instead of
6098 file name string.
6099
6100 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
6101
6102 * vc-bzr.el (vc-bzr-annotate-command): Preserve line alignment.
6103 (vc-bzr-annotate-time): Accept space used to preserve alignment.
6104
6105 2008-04-05 Richard Stallman <rms@gnu.org>
6106
6107 * emacs-lisp/advice.el (defadvice): Add usage pattern.
6108
6109 2008-04-05 Nick Roberts <nickrob@snap.net.nz>
6110
6111 * progmodes/gdb-ui.el: Add advice about using Cygwin GDB (from a
6112 thread in [h-e-w]).
6113
6114 2008-04-05 Juanma Barranquero <lekktu@gmail.com>
6115
6116 * files.el (abort-if-file-too-large): Fix typo in docstring.
6117
6118 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
6119
6120 * subr.el (functionp): Return nil for special forms.
6121
6122 2008-04-05 Glenn Morris <rgm@gnu.org>
6123
6124 * emacs-lisp/autoload.el (autoload-ensure-default-file):
6125 Provide a feature.
6126 * calendar/calendar.el, calendar/diary-lib.el, calendar/holidays.el:
6127 Require loaddef file rather than loading it.
6128 * Makefile.in ($(lisp)/mh-e/mh-loaddefs.el): Simplify rule now that
6129 autoload-ensure-default-file provides a feature.
6130
6131 * Makefile.in (LOADDEFS): Add mh-loaddefs.el.
6132 (AUTOGENEL): mh-loaddefs is in $LOADDEFS now.
6133 (compile, compile-always, recompile): Use $LOADDEFS.
6134 (cal-autoloads): Remove.
6135
6136 * calendar/cal-x.el (calendar-dedicate-diary): Use get-buffer rather
6137 than buffer-live-p. Reported by David Koppelman <koppel@ece.lsu.edu>.
6138
6139 * calendar/calendar.el (hebrew-holidays-1, hebrew-holidays-2)
6140 (hebrew-holidays-3, hebrew-holidays-4): Don't autoload obsolescence.
6141
6142 * calendar/calendar.el (diary-hebrew-entry-symbol):
6143 Rename hebrew-diary-entry-symbol. Keep old name as alias.
6144 (diary-islamic-entry-symbol): Rename islamic-diary-entry-symbol.
6145 Keep old name as alias.
6146 (diary-bahai-entry-symbol): Rename bahai-diary-entry-symbol.
6147 Keep old name as alias.
6148 * calendar/cal-bahai.el: Update for rename bahai-diary-entry-symbol
6149 to diary-bahai-entry-symbol.
6150 * calendar/cal-hebrew.el: Update for rename hebrew-diary-entry-symbol
6151 to diary-hebrew-entry-symbol.
6152 * calendar/cal-islam.el: Update for rename islamic-diary-entry-symbol
6153 to diary-islamic-entry-symbol.
6154 * calendar/diary-lib.el: Update for diary-entry-symbol renames.
6155
6156 * calendar/solar.el (diary-sabbath-candles-minutes)
6157 (diary-sabbath-candles): Move to cal-hebrew.
6158 * calendar/cal-hebrew.el (diary-hebrew-sabbath-candles-minutes)
6159 (diary-hebrew-sabbath-candles): Move here from solar.el and rename.
6160 Doc fix. Keep old name as alias.
6161 (diary-hebrew-sabbath-candles): Simplify.
6162 (solar-setup, solar-sunrise-sunset, calendar-latitude)
6163 (calendar-longitude, calendar-time-zone): Declare for compiler.
6164 * calendar/diary-lib.el (list-sexp-diary-entries): Update doc for
6165 rename.
6166
6167 * calendar/cal-coptic.el (calendar-coptic-month-name-array):
6168 Rename coptic-calendar-month-name-array. Update callers.
6169 (calendar-coptic-epoch): Rename coptic-calendar-epoch. Update callers.
6170 (calendar-coptic-name): Rename coptic-name. Update callers.
6171 (calendar-coptic-leap-year-p): Rename coptic-calendar-leap-year-p.
6172 Update callers.
6173 (calendar-coptic-last-day-of-month):
6174 Rename coptic-calendar-last-day-of-month. Update callers.
6175 (calendar-coptic-to-absolute): Rename calendar-absolute-from-coptic.
6176 Keep old name as alias, update callers.
6177 (calendar-coptic-print-date): Rename calendar-print-coptic-date.
6178 Keep old name as alias, update callers.
6179 (calendar-coptic-goto-date): Rename calendar-goto-coptic-date.
6180 Keep old name as alias.
6181 (calendar-ethiopic-month-name-array):
6182 Rename ethiopic-calendar-month-name-array. Update callers.
6183 (calendar-ethiopic-epoch): Rename ethiopic-calendar-epoch.
6184 Update callers.
6185 (calendar-ethiopic-name): Rename ethiopic-name. Update callers.
6186 (calendar-ethiopic-to-absolute): Rename calendar-absolute-from-ethiopic.
6187 Keep old name as alias, update callers.
6188 (calendar-ethiopic-print-date): Rename calendar-print-ethiopic-date.
6189 Keep old name as alias, update callers.
6190 (calendar-ethiopic-goto-date): Rename calendar-goto-ethiopic-date.
6191 Keep old name as alias.
6192
6193 * calendar/cal-french.el (calendar-french-epoch):
6194 Rename french-calendar-epoch. Update callers.
6195 (calendar-french-month-name-array): Rename variable and function
6196 french-calendar-month-name-array. Update callers.
6197 (calendar-french-multibyte-month-name-array):
6198 Rename french-calendar-multibyte-month-name-array. Update callers.
6199 (calendar-french-day-name-array): Rename variable and function
6200 french-calendar-day-name-array. Update callers.
6201 (calendar-french-special-days-array): Rename variable and function
6202 french-calendar-special-days-array. Update callers.
6203 (calendar-french-multibyte-special-days-array):
6204 Rename french-calendar-multibyte-special-days-array. Update callers.
6205 (calendar-french-accents-p): Rename french-calendar-accents.
6206 Update callers.
6207 (calendar-french-leap-year-p): Rename french-calendar-leap-year-p.
6208 Update callers.
6209 (calendar-french-last-day-of-month):
6210 Rename french-calendar-last-day-of-month. Update callers.
6211 (calendar-french-to-absolute): Rename calendar-absolute-from-french.
6212 Keep old name as alias, update callers.
6213 (calendar-french-print-date): Rename calendar-print-french-date.
6214 Keep old name as alias, update callers.
6215 (calendar-french-goto-date): Rename calendar-goto-french-date.
6216 Keep old name as alias.
6217
6218 * calendar/cal-menu.el, calendar/calendar.el:
6219 Update for Coptic and French name changes.
6220
6221 * calendar/cal-china.el (calendar-chinese): Rename custom group
6222 from chinese-calendar. Update users.
6223 (calendar-chinese-time-zone): Rename chinese-calendar-time-zone.
6224 Keep old name as alias, update users.
6225 (calendar-chinese-location-name): Rename chinese-calendar-location-name.
6226 Keep old name as alias.
6227 (calendar-chinese-daylight-time-offset):
6228 Rename chinese-calendar-daylight-time-offset. Keep old name as alias,
6229 update users.
6230 (calendar-chinese-standard-time-zone-name):
6231 Rename chinese-calendar-standard-time-zone-name.
6232 Keep old name as alias, update users.
6233 (calendar-chinese-daylight-saving-start):
6234 Rename chinese-calendar-daylight-savings-starts.
6235 Keep old name as alias, update users.
6236 (calendar-chinese-daylight-saving-end):
6237 Rename chinese-calendar-daylight-savings-ends. Keep old name as alias,
6238 update users.
6239 (calendar-chinese-daylight-saving-start-time):
6240 Rename chinese-calendar-daylight-savings-starts-time.
6241 Keep old name as alias, update users.
6242 (calendar-chinese-daylight-saving-end-time):
6243 Rename chinese-calendar-daylight-savings-ends-time.
6244 Keep old name as alias, update users.
6245 (calendar-chinese-celestial-stem): Rename
6246 calendar-chinese-celestial-stem. Keep old name as alias, update users.
6247 (calendar-chinese-terrestrial-branch):
6248 Rename calendar-chinese-terrestrial-branch. Keep old name as alias,
6249 update users.
6250 (calendar-chinese-zodiac-sign-on-or-after):
6251 Rename chinese-zodiac-sign-on-or-after. Update callers.
6252 (calendar-chinese-new-moon-on-or-after):
6253 Rename chinese-new-moon-on-or-after. Update callers.
6254 (calendar-chinese-month-list): Rename chinese-month-list.
6255 Update callers.
6256 (calendar-chinese-number-months): Rename number-chinese-months.
6257 Update callers.
6258 (calendar-chinese-compute-year): Rename compute-chinese-year.
6259 Update callers.
6260 (calendar-chinese-year-cache): Rename chinese-year-cache. Update users.
6261 (calendar-chinese-year): Rename chinese-year. Update callers.
6262 (calendar-chinese-year-cache-init): Rename chinese-year-cache-init.
6263 (calendar-chinese-to-absolute): Rename calendar-absolute-from-chinese.
6264 Keep old name as alias, update callers.
6265 (calendar-chinese-print-date): Rename calendar-print-chinese-date.
6266 Keep old name as alias, update callers.
6267 (calendar-chinese-months-to-alist):
6268 Rename make-chinese-month-assoc-list. Update callers.
6269 (calendar-chinese-months): Rename chinese-months. Update callers.
6270 (calendar-chinese-goto-date): Rename calendar-goto-chinese-date.
6271 Keep old name as alias, update callers.
6272
6273 * calendar/cal-hebrew.el (calendar-hebrew-leap-year-p):
6274 Rename hebrew-calendar-leap-year-p. Update callers.
6275 (calendar-hebrew-last-month-of-year):
6276 Rename hebrew-calendar-last-month-of-year. Update callers.
6277 (calendar-hebrew-elapsed-days): Rename hebrew-calendar-elapsed-days.
6278 Update callers.
6279 (calendar-hebrew-days-in-year): Rename hebrew-calendar-days-in-year.
6280 Update callers.
6281 (calendar-hebrew-long-heshvan-p): Rename hebrew-calendar-long-heshvan-p.
6282 Update callers.
6283 (calendar-hebrew-short-kislev-p): Rename hebrew-calendar-short-kislev-p.
6284 Update callers.
6285 (calendar-hebrew-last-day-of-month):
6286 Rename hebrew-calendar-last-day-of-month. Update callers.
6287 (calendar-hebrew-to-absolute): Rename calendar-absolute-from-hebrew.
6288 Keep old name as alias, update callers.
6289 (calendar-hebrew-print-date): Rename calendar-print-hebrew-date.
6290 Keep old name as alias, update callers.
6291 (calendar-hebrew-yahrzeit): Rename hebrew-calendar-yahrzeit.
6292 Keep old name as alias, update callers.
6293 (calendar-hebrew-goto-date): Rename calendar-goto-hebrew-date.
6294 Keep old name as alias.
6295 (holiday-hebrew-rosh-hashanah): Rename holiday-rosh-hashanah-etc.
6296 Keep old name as alias.
6297 (holiday-hebrew-hanukkah): Rename holiday-hanukkah.
6298 Keep old name as alias.
6299 (holiday-hebrew-passover): Rename holiday-passover-etc.
6300 Keep old name as alias.
6301 (holiday-hebrew-tisha-b-av): Rename holiday-tisha-b-av-etc.
6302 Keep old name as alias, update callers.
6303 (diary-hebrew-list-entries): Rename list-hebrew-diary-entries.
6304 Keep old name as alias.
6305 (calendar-hebrew-mark-date-pattern):
6306 Rename mark-hebrew-calendar-date-pattern. Keep old name as alias,
6307 update callers.
6308 (diary-hebrew-mark-entries): Rename mark-hebrew-diary-entries.
6309 Keep old name as alias.
6310 (diary-hebrew-insert-entry): Rename insert-hebrew-diary-entry.
6311 Keep old name as alias.
6312 (diary-hebrew-insert-monthly-entry):
6313 Rename insert-monthly-hebrew-diary-entry. Keep old name as alias.
6314 (diary-hebrew-insert-yearly-entry):
6315 Rename insert-yearly-hebrew-diary-entry. Keep old name as alias.
6316 (calender-hebrew-list-yahrzeits): Rename list-yahrzeit-dates.
6317 Keep old name as alias.
6318 (diary-hebrew-omer): Rename diary-omer. Keep old name as alias.
6319 (diary-hebrew-yahrzeit): Rename diary-yahrzeit. Keep old name as alias.
6320 (diary-hebrew-rosh-hodesh): Rename diary-rosh-hodesh.
6321 Keep old name as alias.
6322 (calendar-hebrew-parashiot-names):
6323 Rename hebrew-calendar-parashiot-names. Update callers.
6324 (calendar-hebrew-parasha-name): Rename hebrew-calendar-parasha-name.
6325 (calendar-hebrew-year-Saturday-incomplete-Sunday):
6326 Rename hebrew-calendar-year-Saturday-incomplete-Sunday.
6327 (calendar-hebrew-year-Saturday-complete-Tuesday):
6328 Rename hebrew-calendar-year-Saturday-complete-Tuesday.
6329 (calendar-hebrew-year-Monday-incomplete-Tuesday):
6330 Rename hebrew-calendar-year-Monday-incomplete-Tuesday.
6331 (calendar-hebrew-year-Monday-complete-Thursday):
6332 Rename hebrew-calendar-year-Monday-complete-Thursday.
6333 (calendar-hebrew-year-Tuesday-regular-Thursday):
6334 Rename hebrew-calendar-year-Tuesday-regular-Thursday.
6335 (calendar-hebrew-year-Thursday-regular-Saturday):
6336 Rename hebrew-calendar-year-Thursday-regular-Saturday.
6337 (calendar-hebrew-year-Thursday-complete-Sunday):
6338 Rename hebrew-calendar-year-Thursday-complete-Sunday.
6339 (calendar-hebrew-year-Saturday-incomplete-Tuesday):
6340 Rename hebrew-calendar-year-Saturday-incomplete-Tuesday.
6341 (calendar-hebrew-year-Saturday-complete-Thursday):
6342 Rename hebrew-calendar-year-Saturday-complete-Thursday.
6343 (calendar-hebrew-year-Monday-incomplete-Thursday):
6344 Rename hebrew-calendar-year-Monday-incomplete-Thursday.
6345 (calendar-hebrew-year-Monday-complete-Saturday):
6346 Rename hebrew-calendar-year-Monday-complete-Saturday.
6347 (calendar-hebrew-year-Tuesday-regular-Saturday):
6348 Rename hebrew-calendar-year-Tuesday-regular-Saturday.
6349 (calendar-hebrew-year-Thursday-incomplete-Sunday):
6350 Rename hebrew-calendar-year-Thursday-incomplete-Sunday.
6351 (calendar-hebrew-year-Thursday-complete-Tuesday):
6352 Rename hebrew-calendar-year-Thursday-complete-Tuesday.
6353 (diary-hebrew-parasha): Rename diary-parasha. Keep old name as alias.
6354 Update for above name changes of constants.
6355
6356 * calendar/cal-menu.el, calendar/calendar.el:
6357 Update for chinese and hebrew name changes.
6358 * calendar/diary-lib.el: Update for hebrew name changes.
6359
6360 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
6361
6362 * subr.el (keymap-canonicalize): Correct thinko.
6363
6364 * server.el: Undo part of the multi-tty change, which is only
6365 needed if server.el is preloaded, and broke server-running-p.
6366 (server-socket-dir): Initialize in the defvar, as before.
6367 (server-start): Remove initialization of server-socket-dir.
6368
6369 2008-04-05 Eli Zaretskii <eliz@gnu.org>
6370
6371 * ls-lisp.el (ls-lisp-format): Support inodes that are 2- or
6372 3-member cons cells.
6373
6374 2008-04-05 Chong Yidong <cyd@stupidchicken.com>
6375
6376 * cus-face.el (custom-face-attributes): Handle roman slant.
6377
6378 * faces.el (default): Ensure the face-defface-spec property is set.
6379
6380 2008-04-05 Adrian Robert <Adrian.B.Robert@gmail.com>
6381
6382 * files.el (abort-if-file-too-large): New function.
6383 (find-file-noselect, insert-file-1): Use it.
6384
6385 2008-04-05 Reto Zimmermann <reto@gnu.org>
6386
6387 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
6388 Replace C-c[a-zA-Z] key bindings.
6389
6390 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
6391
6392 * progmodes/hideif.el (hif-token-alist): New var.
6393 (hif-token-regexp, hif-tokenize): Use it.
6394 (hif-mathify-binop): New macro.
6395 (hif-plus, hif-minus, hif-notequal, hif-greater, hif-less)
6396 (hif-greater-equal, hif-less-equal): Use it.
6397 (hif-logior, hif-logand): New functions.
6398 (hif-math): Accept | and & as well.
6399
6400 * progmodes/etags.el: Fix problem with completion for buffer-local
6401 tables. Reported by Radey Shouman <shouman@comcast.net>.
6402 (tags-complete-tag): Remove.
6403 (tags-lazy-completion-table): New function to replace it.
6404 (find-tag-tag, complete-tag): Update users.
6405
6406 2008-04-04 Dan Nicolaescu <dann@ics.uci.edu>
6407
6408 * vc-rcs.el (vc-rcs-dir-status):
6409 * vc-sccs.el (vc-sccs-dir-status): New function.
6410
6411 * outline.el (outline-mode-menu-bar-map):
6412 * term.el (terminal-signal-menu): Add :help.
6413
6414 * net/eudc.el (eudc-mode-map): Declare and define in one step.
6415 (eudc-tail-menu, eudc-server-menu, eudc-tools-menu): Add :help.
6416
6417 * emacs-lisp/re-builder.el (reb-mode-map):
6418 * textmodes/nroff-mode.el (nroff-mode-map): Add menus.
6419
6420 * diff-mode.el (diff-file-junk-re): Recognize the git format for
6421 new files, deleted files and for changing permissions.
6422 (diff-mode): Set beginning-of-defun-function and
6423 end-of-defun-function.
6424
6425 * vc-bzr.el (vc-bzr-state): Use when instead of if.
6426
6427 * vc.el (vc-default-status-fileinfo-extra): New function.
6428 (vc-status-mark-buffer-changed): Use it.
6429 (vc-update-vc-status-buffer): Allow for partial updates.
6430
6431 2008-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6432
6433 * net/tramp.el (after-init-hook): Don't wrap a lambda around
6434 tramp-register-completion-file-name-handler.
6435
6436 * subr.el (keymap-canonicalize): New function.
6437 * mouse.el (mouse-menu-non-singleton): Use it.
6438 (mouse-major-mode-menu): Remove hack made unnecessary.
6439
6440 * simple.el (set-fill-column): Prompt rather than error by default.
6441
6442 2008-04-04 Andreas Schwab <schwab@suse.de>
6443
6444 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
6445 Reset new-rules after each round.
6446
6447 * Makefile.in (cal-autoloads): New target.
6448 (compile, compile-always, recompile): Depend on it.
6449 ($(lisp)/calendar/cal-loaddefs.el)
6450 ($(lisp)/calendar/diary-loaddefs.el)
6451 ($(lisp)/calendar/hol-loaddefs.el): Depend on calendar/*.el.
6452
6453 2008-04-04 Michael Kifer <kifer@cs.stonybrook.edu>
6454
6455 * ediff*.el: Replace load with require in eval-when-compile.
6456
6457 * ediff-hook: Delete all invocations of (autoload ...).
6458
6459 * ediff-util.el (ediff-setup): Make window-min-height a local variable
6460 in ediff control window, and set its min height to 2.
6461 (ediff-setup-control-buffer): Dedicate the control window.
6462 (ediff-toggle-multiframe): Undedicate control window.
6463 Work directly with ediff-setup-windows-multiframe and
6464 ediff-setup-windows-plain.
6465
6466 * ediff-wind (ediff-choose-window-setup-function-automatically):
6467 New function.
6468 (ediff-window-setup-function): Change initialization.
6469 (ediff-setup-windows-automatic): Delete.
6470 (ediff-setup-windows-plain-merge): Make control window dedicated.
6471 (ediff-destroy-control-frame): Do not skip frames if working in a
6472 single frame.
6473
6474 * emulation/viper-ex.el: Move provide's forward, prevent recursion in
6475 eval-when-compile.
6476
6477 * emulation/viper-util.el: Move provide's forward, prevent recursion in
6478 eval-when-compile.
6479
6480 2008-04-04 Glenn Morris <rgm@gnu.org>
6481
6482 * calendar/cal-bahai.el (calendar-bahai-to-absolute): Rename
6483 calendar-absolute-from-bahai. Update callers, keep old name as alias.
6484
6485 * calendar/cal-islam.el (calendar-islamic-leap-year-p):
6486 Rename islamic-calendar-leap-year-p. Update callers.
6487 (calendar-islamic-last-day-of-month):
6488 Rename islamic-calendar-last-day-of-month. Update callers.
6489 (calendar-islamic-day-number):
6490 Rename islamic-calendar-day-number. Update callers.
6491 (calendar-islamic-to-absolute): Rename calendar-absolute-from-islamic.
6492 Update callers, keep old name as alias.
6493 (calendar-islamic-print-date): Rename calendar-print-islamic-date.
6494 Update callers, keep old name as alias.
6495 (calendar-islamic-goto-date): Rename calendar-goto-islamic-date.
6496 Keep old name as alias.
6497 (diary-islamic-list-entries): Rename list-islamic-diary-entries.
6498 Update callers, keep old name as alias.
6499 (calendar-islamic-mark-date-pattern):
6500 Rename mark-islamic-calendar-date-pattern. Update callers, keep old
6501 name as alias.
6502 (diary-islamic-insert-entry): Rename insert-islamic-diary-entry.
6503 Keep old name as alias.
6504 (diary-islamic-insert-monthly-entry):
6505 Rename insert-monthly-islamic-diary-entry. Keep old name as alias.
6506 (diary-islamic-insert-yearly-entry):
6507 Rename insert-yearly-islamic-diary-entry. Keep old name as alias.
6508
6509 * calendar/cal-iso.el (calendar-iso-to-absolute): Rename
6510 calendar-absolute-from-iso. Update callers, keep old name as alias.
6511 (calendar-iso-print-date): Rename calendar-print-iso-date.
6512 Update callers, keep old name as alias.
6513 (calendar-iso-goto-date): Rename calendar-goto-iso-date.
6514 Keep old name as alias.
6515 (calendar-iso-goto-week): Rename calendar-goto-iso-week.
6516 Keep old name as alias.
6517
6518 * calendar/cal-julian.el (calendar-julian-to-absolute): Rename
6519 calendar-absolute-from-julian. Update callers, keep old name as alias.
6520 (calendar-julian-print-date): Rename calendar-print-julian-date.
6521 Update callers, keep old name as alias.
6522 (calendar-julian-goto-date): Rename calendar-goto-julian-date.
6523 Update callers, keep old name as alias.
6524 (calendar-astro-to-absolute): Rename calendar-absolute-from-astro.
6525 Update callers, keep old name as alias.
6526 (calendar-astro-print-day-number):
6527 Rename calendar-print-astro-day-number. Update callers, keep old
6528 name as alias.
6529 (calendar-astro-goto-day-number): Rename calendar-goto-astro-day-number.
6530 Update callers, keep old name as alias.
6531
6532 * calendar/cal-mayan.el (calendar-mayan-string-from-long-count):
6533 Rename calendar-string-to-mayan-long-count. Update callers.
6534 (calendar-mayan-print-date): Rename calendar-print-mayan-date.
6535 Update callers, keep old name as alias.
6536 (calendar-mayan-read-haab-date): Rename calendar-read-mayan-haab-date.
6537 Update callers.
6538 (calendar-mayan-read-tzolkin-date):
6539 Rename calendar-read-mayan-tzolkin-date. Update callers.
6540 (calendar-mayan-next-haab-date): Rename calendar-next-haab-date.
6541 Keep old name as alias.
6542 (calendar-mayan-previous-haab-date): Rename calendar-previous-haab-date.
6543 Keep old name as alias.
6544 (calendar-mayan-next-tzolkin-date): Rename calendar-next-tzolkin-date.
6545 Keep old name as alias.
6546 (calendar-mayan-previous-tzolkin-date):
6547 Rename calendar-previous-tzolkin-date. Keep old name as alias.
6548 (calendar-mayan-next-round-date):
6549 Rename calendar-next-calendar-round-date. Keep old name as alias.
6550 (calendar-mayan-previous-round-date):
6551 Rename calendar-previous-calendar-round-date. Keep old name as alias.
6552 (calendar-mayan-long-count-to-absolute): Rename
6553 calendar-absolute-from-mayan-long-count. Keep old name as alias.
6554 (calendar-mayan-goto-long-count-date):
6555 Rename calendar-goto-mayan-long-count-date. Keep old name as alias.
6556
6557 * calendar/cal-persia.el (calendar-persian-month-name-array):
6558 Rename persian-calendar-month-name-array. Update callers.
6559 (calendar-persian-epoch): Rename persian-calendar-epoch.
6560 Update callers.
6561 (calendar-persian-leap-year-p): Rename persian-calendar-leap-year-p.
6562 Update callers.
6563 (calendar-persian-last-day-of-month):
6564 Rename persian-calendar-last-day-of-month. Update callers.
6565 (calendar-persian-to-absolute): Rename calendar-absolute-from-persian.
6566 Update callers, keep old name as alias.
6567 (calendar-persian-print-date): Rename calendar-print-persian-date.
6568 Update callers, keep old name as alias.
6569 (calendar-persian-goto-date): Rename calendar-goto-persian-date.
6570 Keep old name as alias.
6571
6572 * calendar/cal-china.el, calendar/cal-coptic.el, calendar/cal-islam.el:
6573 * calendar/cal-persia.el, calendar/holidays.el, calendar/lunar.el:
6574 * calendar/solar.el: Update for cal-julian name changes.
6575
6576 * calendar/cal-dst.el: Update for persian name changes.
6577
6578 * calendar/cal-menu.el, calendar/calendar.el:
6579 Update for islamic, iso, julian, mayan, persian name changes.
6580
6581 * calendar/diary-lib.el: Update for islamic name changes.
6582
6583 * calendar/calendar.el (calendar-hebrew-all-holidays-flag):
6584 Rename all-hebrew-calendar-holidays. Update callers, keep old name
6585 as alias.
6586 (calendar-christian-all-holidays-flag):
6587 Rename all-christian-calendar-holidays. Update callers, keep old
6588 name as alias.
6589 (calendar-islamic-all-holidays-flag):
6590 Rename all-islamic-calendar-holidays. Update callers, keep old
6591 name as alias.
6592 (calendar-bahai-all-holidays-flag): Rename all-bahai-calendar-holidays.
6593 Update callers, keep old name as alias.
6594 * calendar/cal-bahai.el, calendar/cal-hebrew.el, calendar/holidays.el:
6595 Update for the above name changes.
6596
6597 2008-04-04 Juanma Barranquero <lekktu@gmail.com>
6598
6599 * hilit-chg.el (global-highlight-changes-mode)
6600 (highlight-changes-passive-string, highlight-changes-active-string):
6601 Mark as obsolete since 23.1, not 22.1.
6602
6603 2008-04-03 Juanma Barranquero <lekktu@gmail.com>
6604
6605 * hilit-chg.el (highlight-changes-visibility-initial-state)
6606 (hilit-chg-update, highlight-changes-mode-turn-on):
6607 Fix typos in docstrings.
6608
6609 2008-04-03 Stephen Berman <Stephen.Berman@gmx.net>
6610
6611 * newcomment.el (comment-enter-backward): Be careful to restore
6612 position changed during narrowing.
6613
6614 2008-04-03 Giuliano Procida <giuliano.procida@googlemail.com> (tiny change)
6615
6616 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
6617 Recognize `sub ($$)'.
6618
6619 2008-04-03 Richard Sharman <rsharman@pobox.com>
6620
6621 * hilit-chg.el (highlight-changes-mode): Rename from
6622 highlight-changes; no longer uses sub-modes active and passive;
6623 implemented by define-minor-mode.
6624 (highlight-changes-toggle-visibility): New function, to replace
6625 the old passive/active submodes of global-highlight-changes-mode;
6626 implemented by define-minor-mode.
6627 (global-highlight-changes-mode): Rename from global-highlight-changes;
6628 rewrite using define-globalized-minor-mode.
6629 (hilit-chg-major-mode-hook, hilit-chg-check-global)
6630 (hilit-chg-post-command-hook, hilit-chg-check-global)
6631 (hilit-chg-update-all-buffers, hilit-chg-turn-off-maybe): Remove due
6632 to use of define-globalized-minor-mode.
6633 (highlight-changes-global-initial-state): Change to be boolean.
6634 (highlight-changes-visible-string, highlight-changes-invisible-string):
6635 Rename from highlight-changes-active-string and
6636 highlight-changes-passive-string.
6637 (hilit-chg-update, hilit-chg-set): Use them.
6638 (global-highlight-changes-mode): Rename from global-highlight-changes.
6639 (hilit-chg-map-changes, hilit-chg-display-changes): Add arguments to
6640 docstring.
6641 (hilit-chg-hide-changes): Rewrite to use dolist.
6642 (hilit-chg-set-face-on-change, hilit-chg-update)
6643 (highlight-changes-rotate-faces): Use highlight-changes-visible-mode
6644 variable instead of testing highlight-changes-mode.
6645 (highlight-markup-buffers): Add require ediff-util; argument on calls
6646 to highlight-changes-mode changed.
6647 (highlight-compare-with-file): Fix problems with interactive
6648 call giving invalid default file.
6649
6650 2008-04-03 Nick Roberts <nickrob@snap.net.nz>
6651
6652 * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint):
6653 Fix in disassembly buffer (regression in 22.2).
6654
6655 2008-04-03 Michael Kifer <kifer@cs.stonybrook.edu>
6656
6657 * emulation/viper-macs.el (viper-read-fast-keysequence):
6658 Use viper-read-event instead of viper-read-key.
6659
6660 * emulation/viper.el (viper-mode): Move the check for fundamental mode.
6661
6662 * emulation/viper-utils.el (viper-get-saved-cursor-color-in-insert-mode)
6663 (viper-get-saved-cursor-color-in-replace-mode): Get rid of redundant
6664 let-statements.
6665
6666 * emulation/viper-ex.el, emulation/viper-macs.el:
6667 * emulation/viper-mous.el:
6668 Replace load with require in eval-when-compile.
6669
6670 2008-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
6671
6672 * files.el (auto-mode-alist): Use archive-mode for Debian packages.
6673
6674 * arc-mode.el (archive-mode-map): Obey mouse-1-click-follows-link.
6675 (archive-try-jka-compr): New function.
6676 (archive-set-buffer-as-visiting-file): Use it.
6677
6678 * tar-mode.el (tar-mode-map): Obey mouse-1-click-follows-link.
6679
6680 2008-04-03 Chong Yidong <cyd@stupidchicken.com>
6681
6682 * simple.el (handle-shift-selection): New arg.
6683
6684 2008-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
6685
6686 * emacs-lisp/cl-macs.el (defsetf): Accept a lambda for the 2-arg form.
6687
6688 * vc-bzr.el (vc-bzr-previous-revision, vc-bzr-next-revision): New funs.
6689
6690 2008-04-03 Chong Yidong <cyd@stupidchicken.com>
6691
6692 * shell.el (shell-dynamic-complete-filename): New fun.
6693 (shell-dynamic-complete-functions): Use it.
6694
6695 * help-fns.el (describe-variable): Undo 2008-02-25 change.
6696
6697 2008-04-03 Kenichi Handa <handa@m17n.org>
6698
6699 * international/fontset.el (create-fontset-from-x-resource):
6700 Handle the error of X resource more gracefully.
6701
6702 * international/latin1-disp.el (latin1-display): Don't use make-char.
6703 Fix the argument to set-char-table-range.
6704 (latin1-display-identities): Don't use make-char.
6705 (latin1-display-reset): Use map-charset-chars instead of directly
6706 calling standard-display-default.
6707 (latin1-display-check-font): Don't use make-char.
6708 (latin1-display-setup): Likewise.
6709 (latin1-display-ucs-per-lynx): Likewise.
6710
6711 2008-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
6712
6713 * emacs-lisp/timer.el (timer): Define as a defstruct, so we can
6714 name the fields, to make the code clearer.
6715 Rewrite all `aset' and `aref' using the defined accessors.
6716 (timer--time): New pseudo-field.
6717 (timer-set-time, timer-set-idle-time, timer-inc-time)
6718 (timer-set-time-with-usecs, with-timeout-suspend): Use it.
6719 (timer--time-less-p): New function.
6720 (timer--activate): New function, extracted from timer-activate.
6721 (timer-activate-when-idle, timer-activate): Use it.
6722 (cancel-function-timers): Use dolist.
6723
6724 2008-04-03 Glenn Morris <rgm@gnu.org>
6725
6726 * add-log.el (c-beginning-of-defun, c-end-of-defun):
6727 Remove declarations; no longer used.
6728 (c-cpp-define-name, c-defun-name): Declare as functions.
6729
6730 * calendar/cal-bahai.el (holiday-fixed): Autoload it.
6731 (holiday-bahai-new-year, holiday-bahai-ridvan): New functions.
6732
6733 * calendar/cal-hebrew.el (holiday-rosh-hashanah-etc)
6734 (holiday-passover-etc, holiday-hanukkah): Doc fix.
6735 Add optional argument. Simplify.
6736 (holiday-tisha-b-av-etc): Use memq rather than unless.
6737 (holiday-julian): Autoload it.
6738 (holiday-hebrew-misc): New function.
6739
6740 * calendar/cal-islam.el (holiday-islamic-new-year): New function.
6741
6742 * calendar/calendar.el (hebrew-holidays-1, hebrew-holidays-2)
6743 (hebrew-holidays-3, hebrew-holidays-4): Make obsolete.
6744 (hebrew-holidays-2): Just use holiday-hanukkah now it respects
6745 all-hebrew-calendar-holidays.
6746 (hebrew-holidays, christian-holidays, islamic-holidays, bahai-holidays):
6747 Simplify using new functions.
6748 (calendar-holidays): Doc fix.
6749 (generate-calendar-window): Use bound-and-true-p.
6750
6751 * calendar/diary-lib.el (diary-mail-addr): Use bound-and-true-p.
6752
6753 * calendar/holidays.el (calendar-holiday-list): Fix previous change.
6754 (holiday-filter-visible-calendar): Doc fix. Use mapcar.
6755 (holiday-easter-etc): Fix nesting of result. Tweak holiday order.
6756 Use calendar-date-is-visible-p, not holiday-filter-visible-calendar.
6757
6758 * net/tramp.el (tramp-drop-volume-letter): Move definition before use.
6759
6760 2008-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
6761
6762 * vc-mtn.el (vc-mtn-command): Avoid localization of messages.
6763
6764 * vc-bzr.el (vc-bzr-checkout): Simplify.
6765
6766 * image-mode.el (image-mode-fit-frame): New command.
6767
6768 * simple.el (beginning-of-buffer, end-of-buffer, goto-line, undo)
6769 (copy-region-as-kill, kill-ring-save, use-region-p, mark-word)
6770 (keyboard-escape-quit): Check region-active-p i.s.o
6771 transient-mark-mode.
6772
6773 2008-04-02 Simon Josefsson <simon@josefsson.org>
6774
6775 * net/imap.el (imap-enable-exchange-bug-workaround): New variable.
6776 (imap-message-copyuid-1): Use it.
6777 (imap-message-appenduid-1): Likewise. Based on patch by Nathan
6778 J. Williams in
6779 <http://permalink.gmane.org/gmane.emacs.gnus.general/65855>.
6780
6781 2008-04-02 Alan Mackenzie <acm@muc.de>
6782
6783 * progmodes/cc-cmds.el (c-defun-name, c-cpp-define-name):
6784 New optimised functions to get the name of the current defun/macro.
6785
6786 * add-log.el (add-log-current-defun): Move the functionality which
6787 gets the current function name for C like modes to cc-cmds.el,
6788 thus optimising for speed.
6789
6790 2008-04-02 Chong Yidong <cyd@stupidchicken.com>
6791
6792 * simple.el (deactivate-mark): When the mark is temporarily
6793 active, restore the original value of transient-mark-mode.
6794 (set-mark-command): First deactivate the mark if was temporarily active.
6795 (exchange-point-and-mark): Reactivate the mark if it was
6796 temporarily active.
6797 (handle-shift-selection): New fun.
6798 (transient-mark-mode): Move var documentation here from buffer.c.
6799 (next-line, previous-line, backward-word, move-end-of-line)
6800 (move-beginning-of-line, forward-to-indentation)
6801 (backward-to-indentation, back-to-indentation)
6802 (beginning-of-buffer, end-of-buffer): Add ^ interactive spec.
6803
6804 * mouse.el (mouse-set-region-1): Save the old value of
6805 transient-mark-mode.
6806 (mouse-drag-track): Ignore the now-obsolete value `identity' for
6807 transient-mark-mode.
6808
6809 * textmodes/paragraphs.el (forward-paragraph)
6810 (backward-paragraph, forward-sentence, backward-sentence): Add ^
6811 interactive spec.
6812
6813 * emulation/cua-base.el (cua-mode): Turn off shift-select-mode.
6814
6815 2008-04-02 Michael Albinus <michael.albinus@gmx.de>
6816
6817 * net/tramp.el (tramp-make-tramp-temp-file):
6818 Use `tramp-drop-volume-letter' for the local file name part.
6819
6820 2008-04-02 Dan Nicolaescu <dann@ics.uci.edu>
6821
6822 * progmodes/sh-script.el (sh-mode-map): Rename the menu. Add :help.
6823 Add menu entries corresponding to all the key bindings.
6824
6825 * emacs-lisp/debug.el (debugger-mode-map):
6826 * textmodes/conf-mode.el (conf-mode-map): Add a menu.
6827 (conf-align-assignments): Only work on the region if it is active.
6828 (conf-quote-normal): Use when instead of if. Remove redundant test.
6829
6830 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
6831 for tracing and re-builder.
6832
6833 2008-04-02 Glenn Morris <rgm@gnu.org>
6834
6835 * calendar/appt.el (appt-disp-window-function): Doc fix.
6836 (appt-display-message): Move beep before display.
6837 (appt-check): Make interactive. Reduce the number of lets.
6838 Use string-equal to compare mode-line strings.
6839 (appt-disp-window): Pluralize "minute" as needed. Make appt buffer
6840 read-only.
6841 (appt-select-lowest-window, appt-make-list): Reduce the number of lets.
6842 (appt-delete): Simplify.
6843
6844 * calendar/cal-china.el (holiday-chinese-new-year): Use a single let.
6845
6846 * calendar/cal-dst.el (calendar-time-zone-daylight-rules): Simplify.
6847
6848 * calendar/cal-hebrew.el (list-yahrzeit-dates):
6849 * calendar/cal-tex.el (cal-tex-insert-blank-days-at-end)
6850 (cal-tex-last-blank-p, cal-tex-daily-page): Expand calendar-for-loops.
6851
6852 * calendar/calendar.el (diary-entry-marker, calendar-today-marker)
6853 (calendar-holiday-marker, mark-visible-calendar-date):
6854 * calendar/diary-lib.el (fancy-diary-display):
6855 Check for font-lock-mode before using faces.
6856
6857 * calendar/calendar.el (hebrew-holidays-3, generate-calendar-month)
6858 (calendar-gregorian-from-absolute): Reduce the number of lets.
6859 (hebrew-holidays-4, generate-calendar-window): Simplify.
6860 (calendar-for-loop): Make obsolete.
6861 (calendar-nth-named-day): Doc fix.
6862
6863 * calendar/diary-lib.el (diary-list-entries, fancy-diary-display)
6864 (print-diary-entries, mark-sexp-diary-entries, calendar-mark-complex)
6865 (calendar-mark-1, list-sexp-diary-entries, diary-remind):
6866 Reduce the number of lets.
6867 (mark-sexp-diary-entries, calendar-mark-complex):
6868 Expand calendar-for-loops.
6869
6870 2008-04-01 Chong Yidong <cyd@stupidchicken.com>
6871
6872 * find-dired.el (find-dired-filter): Fix last patch to handle
6873 multi-line process input. Pad link numbers too.
6874
6875 2008-04-01 Jari Aalto <jari.aalto@cante.net>
6876
6877 * find-dired.el (find-dired-filter): Align columns by padding file sizes.
6878
6879 2008-04-01 Jason Rumney <jasonr@gnu.org>
6880
6881 * international/characters.el (script-list): Add phonetic script,
6882 covering IPA (previously Latin), Phonetic Extensions and
6883 Phonetic Extensions Supplement (both previously unassigned).
6884
6885 * international/fontset.el (setup-default-fontset): Use unicode fonts
6886 that cover bopomofo script for bopomofo.
6887 Likewise for braille and mathematical.
6888 Use unicode scripts that cover the phonetic script for IPA.
6889
6890 2008-04-01 Johan Bockgård <bojohan@gnu.org>
6891
6892 * emacs-lisp/cl-macs.el (frame-parameter) <defsetf>: Make it
6893 return the assigned value.
6894
6895 2008-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
6896
6897 * abbrev.el (abbrev-mode): Use define-minor-mode.
6898
6899 * mouse.el (mouse-major-mode-menu-prefix): Remove. Remove uses.
6900 (mouse-menu-non-singleton): Rename from mouse-major-mode-menu-1.
6901 Use map-keymap.
6902 (minor-mode-menu-from-indicator): Use it. Simplify.
6903
6904 * bindings.el (mode-line-mode-menu): Move before (new) first use.
6905 (mode-line-major-mode-keymap, mode-line-minor-mode-keymap):
6906 Bind the key directly to the menu.
6907 (mode-line-mode-menu-1, mode-line-mode-menu): Remove functions.
6908
6909 2008-04-01 Daiki Ueno <ueno@unixuser.org>
6910
6911 * epa.el (epa-decrypt-region): Explain the reason why this
6912 function should not be used in Lisp programs.
6913 (epa-decrypt-armor-in-region): Ditto.
6914 (epa-verify-region): Ditto.
6915 (epa-verify-cleartext-in-region): Ditto.
6916 (epa-sign-region): Ditto.
6917 (epa-encrypt-region): Ditto.
6918
6919 * epg.el (epg-start-receive-keys): Fix typo in docstring.
6920
6921 * epa.el (epa-select-keys): Show menu even if there is no key in
6922 GnuPG's keyring.
6923
6924 2008-04-01 Glenn Morris <rgm@gnu.org>
6925
6926 * calendar/calendar.el (calendar-make-temp-face): New function.
6927 (mark-visible-calendar-date):
6928 * calendar/diary-lib.el (fancy-diary-display): Use it.
6929
6930 * vc-hooks.el (vc-responsible-backend): Declare as function.
6931
6932 * calendar/calendar.el (calendar-nongregorian-visible-p): New function.
6933 * calendar/cal-hebrew.el (calendar-hebrew-date-is-visible-p):
6934 * calendar/cal-julian.el (holiday-julian): Use it.
6935
6936 * calendar/cal-hebrew.el (hebrew-calendar-elapsed-days): Doc fix.
6937 (calendar-hebrew-date-is-visible-p): Extract some common code into
6938 separate function.
6939 (holiday-hebrew, mark-hebrew-calendar-date-pattern): Use it.
6940
6941 * calendar/cal-menu.el (cal-menu-holidays-menu):
6942 * calendar/calendar.el (calendar-mode-map): Use calendar-mark-holidays
6943 rather than obsolete alias.
6944
6945 * calendar/calendar.el (mark-visible-calendar-date): Also use overlay
6946 for mark characters.
6947 (calendar-unmark): Unmark by removing all overlays, rather than
6948 redrawing.
6949 (calendar-starred-day): Remove.
6950 (calendar-mode): Disable undo. Don't make calendar-starred-day local.
6951 (calendar-cursor-to-date): No need for special star handling now
6952 using overlays.
6953 (calendar-star-date): Use overlays.
6954
6955 * calendar/cal-french.el (calendar-goto-french-date):
6956 * calendar/cal-hebrew.el (calendar-hebrew-from-absolute)
6957 (holiday-hanukkah, mark-hebrew-calendar-date-pattern):
6958 * calendar/cal-move.el (calendar-forward-month, calendar-end-of-month):
6959 * calendar/cal-persia.el (calendar-persian-date-string):
6960 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
6961 (cal-tex-cursor-month, cal-tex-LaTeXify-string):
6962 * calendar/lunar.el (lunar-phase-list, lunar-new-moon-on-or-after):
6963 * calendar/solar.el (solar-equinoxes-solstices):
6964 Reduce nesting of some lets.
6965
6966 * calendar/cal-mayan.el (calendar-string-to-mayan-long-count)
6967 (calendar-goto-mayan-long-count-date): Simplify.
6968
6969 * calendar/holidays.el (calendar-holiday-list, holiday-easter-etc):
6970 Simplify by using mapcar.
6971 (calendar-list-holidays): Return holiday-list.
6972 (list-holidays): Use let rather than let*. Remove un-needed locals
6973 `d', `never'.
6974 (calendar-check-holidays): Return result from dolist.
6975 (holiday-float): Use a single let*. Simplify if-and to and.
6976 (holiday-sexp, holiday-advent, holiday-greek-orthodox-easter): Use a
6977 single let*.
6978
6979 2008-04-01 Jay Belanger <jay.p.belanger@gmail.com>
6980
6981 * calc/calc.el: Autoload `calc-yank'.
6982 (calc-mode-map): Add keybindings for `calc-yank'.
6983 * calc/calc-ext.el (calc-init-extensions): Remove keybinding
6984 assignments for `calc-yank'.
6985
6986 2008-03-31 Dan Nicolaescu <dann@ics.uci.edu>
6987
6988 * vc.el (vc-status-add-entry): Assume ENTRY is a list, not a cons.
6989 (vc-status-mark-buffer-changed): Handle the extra field.
6990
6991 * vc-bzr.el (vc-bzr-after-dir-status):
6992 * vc-cvs.el (vc-cvs-after-dir-status):
6993 * vc-hg.el (vc-hg-after-dir-status):
6994 * vc-svn.el (vc-svn-after-dir-status): Return a list, not a cons.
6995
6996 2008-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
6997
6998 * doc-view.el: Compute displayed pages first (in PDF).
6999 (doc-view-current-converter-processes): Rename from
7000 doc-view-current-converter-process. Update users.
7001 (doc-view-sentinel): Test buffer's liveness.
7002 (doc-view-pdf/ps->png-sentinel): Remove.
7003 (doc-view-start-process): New function.
7004 (doc-view-dvi->pdf, doc-view-pdf/ps->png, doc-view-pdf->txt)
7005 (doc-view-ps->pdf): Use it.
7006 (doc-view-pdf->png-1, doc-view-pdf->png, doc-view-active-pages):
7007 New functions.
7008 (doc-view-convert-current-doc, doc-view-goto-page): Use them.
7009 (doc-view-mode): Kill the processes when leaving the mode.
7010
7011 2008-03-31 Juanma Barranquero <lekktu@gmail.com>
7012
7013 * emacs-lisp/bytecomp.el (byte-compile-warnings-safe-p):
7014 Use `byte-compile-warning-types'. Add docstring.
7015
7016 2008-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7017
7018 * smerge-mode.el (smerge-apply-resolution-patch): New fun.
7019 (smerge-resolve): Add various resolution heuristics.
7020
7021 * smerge-mode.el (smerge-refine): Allow highlighting other subparts
7022 in 3-way conflicts.
7023
7024 2008-03-31 Glenn Morris <rgm@gnu.org>
7025
7026 * calendar/cal-bahai.el (diary-bahai-mark-entries):
7027 * calendar/cal-hebrew.el (mark-hebrew-diary-entries):
7028 * calendar/cal-islam.el (mark-islamic-diary-entries):
7029 Fix argument order in call to diary-mark-entries-1.
7030
7031 * calendar/cal-bahai.el (calendar-bahai-date-string): Avoid an error for
7032 pre-Bahai dates.
7033 (holiday-bahai): Use an algorithm actually relevant to this calendar
7034 system.
7035
7036 * calendar/cal-china.el (holiday-chinese-new-year): Doc fix.
7037
7038 * calendar/cal-islam.el (holiday-islamic): Remove un-needed let.
7039 Use and.
7040
7041 * calendar/cal-julian.el (holiday-julian): Fix a problem with holidays
7042 in the last fortnight in Julian October.
7043
7044 * calendar/calendar.el (increment-calendar-month): Optionally handle
7045 systems without 12 months per year.
7046
7047 (calendar-date-is-visible-p): Doc fix. Simplify.
7048
7049 * calendar/holidays.el (holiday-filter-visible-calendar): Return result
7050 from dolist.
7051
7052 2008-03-30 Juanma Barranquero <lekktu@gmail.com>
7053
7054 * hi-lock.el (hi-lock-mode): Fix typos in docstring.
7055 (hi-lock-unload-function): New function.
7056
7057 2008-03-30 Michael Albinus <michael.albinus@gmx.de>
7058
7059 * net/tramp.el (tramp-do-copy-or-rename-file): Fix check for
7060 overwriting when NEWNAME is a local file.
7061
7062 * net/trampver.el: Update release number.
7063
7064 2008-03-30 Alexandre Julliard <julliard@winehq.org>
7065
7066 * vc-git.el: Make vc-status display information about copies,
7067 renames and permission changes.
7068 (vc-git-extra-fileinfo): New defstruct.
7069 (vc-git-escape-file-name, vc-git-file-type-as-string)
7070 (vc-git-rename-as-string, vc-git-permissions-as-string)
7071 (vc-git-status-printer): New functions.
7072 (vc-git-after-dir-status-stage2): Also return vc-git-extra-fileinfo.
7073 (vc-git-after-dir-status-stage1): Look for copies, renames and
7074 permission changes.
7075 (vc-git-after-dir-status-stage1-empty-db): Set permissions.
7076 (vc-git-dir-status): Ask for staged files and renames.
7077
7078 2008-03-30 Dan Nicolaescu <dann@ics.uci.edu>
7079
7080 * vc.el: Allow backends to display backend specific information in
7081 the vc-status listing.
7082 (vc-status-fileinfo): Add a field for backend specific information.
7083 (vc-status-printer): Rename to ...
7084 (vc-default-status-printer): ... this.
7085 (vc-status-printer): New function.
7086 (vc-update-vc-status-buffer): Set the backend specific file info
7087 if provided.
7088
7089 2008-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
7090
7091 * textmodes/remember.el (remember-diary-convert-entry): Revert last
7092 change (ill-conceived).
7093
7094 2008-03-29 Glenn Morris <rgm@gnu.org>
7095
7096 * calendar/cal-hebrew.el (holiday-hebrew): Simplify.
7097 * calendar/cal-julian.el (holiday-julian): Simplify.
7098
7099 * calendar/holidays.el (list-holidays): Use or.
7100
7101 2008-03-29 Juri Linkov <juri@jurta.org>
7102
7103 * window.el (split-window-preferred-horizontally): New function.
7104
7105 * cus-start.el (split-window-preferred-function):
7106 Set choice for "vertically" to nil instead of split-window.
7107 Set choice for "horizontally" to split-window-preferred-horizontally
7108 instead of lambda.
7109
7110 2008-03-29 Juri Linkov <juri@jurta.org>
7111
7112 * simple.el (minibuffer-default-add-function): New variable with
7113 the default to minibuffer-default-add-completions.
7114 (minibuffer-default-add-done): New variable. Make it buffer-local.
7115 (minibuffer-default-add-completions): New function.
7116 (goto-history-element): Set minibuffer-default-add-done to t and
7117 call a function in minibuffer-default-add-function when the
7118 specified absolute history position is greater than the length of
7119 the minibuffer-default list and minibuffer-default-add-done is nil.
7120 Change "^End of history; no next item$" to "^End of defaults;
7121 no next item$".
7122
7123 * bindings.el (debug-ignored-errors): Change "^End of history;
7124 no next item$" to "^End of defaults; no next item$".
7125
7126 2008-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
7127
7128 * subr.el (with-temp-buffer): Assume kill-buffer can change cur-buf.
7129
7130 * textmodes/remember.el (remember-diary-convert-entry): Prefer boundp
7131 to with-no-warnings.
7132
7133 2008-03-29 Michael Albinus <michael.albinus@gmx.de>
7134
7135 Sync with Tramp 2.1.13.
7136
7137 * net/tramp-ftp.el: Require 'cl when byte-compiling.
7138
7139 * net/trampver.el: Update release number.
7140
7141 2008-03-29 Dan Nicolaescu <dann@ics.uci.edu>
7142
7143 * vc-hooks.el (vc-menu-map-filter): Be more careful when finding
7144 the current backend.
7145
7146 * vc.el (vc-status-menu-map, vc-status-mode-map): Bind vc-revert.
7147 (vc-status-refresh): Create a temporary buffer and call the
7148 `dir-status' backend function from that buffer.
7149
7150 * vc-bzr.el (vc-bzr-dir-status): Don't create a buffer.
7151 (vc-bzr-after-dir-status): Don't kill the buffer.
7152
7153 * vc-cvs.el (vc-cvs-dir-status): Don't create a buffer.
7154 (vc-cvs-after-dir-status): Don't kill the buffer.
7155
7156 * vc-git.el (vc-git-dir-status): Don't create a buffer.
7157 (vc-git-after-dir-status-stage2): Don't kill the buffer.
7158
7159 * vc-hg.el (vc-hg-dir-status): Don't create a buffer.
7160 (vc-hg-after-dir-status): Don't kill the buffer.
7161
7162 * vc-svn.el (vc-svn-dir-status): Don't create a buffer.
7163 (vc-svn-after-dir-status): Don't kill the buffer.
7164
7165 2008-03-29 Glenn Morris <rgm@gnu.org>
7166
7167 * calendar/calendar.el (diary-file, american-date-diary-pattern)
7168 (european-date-diary-pattern, european-calendar-display-form)
7169 (american-calendar-display-form, diary-display-hook): Doc fixes.
7170 (european-calendar-style): Doc fix. Use calendar-set-date-style for
7171 custom :set. Mark as obsolete.
7172 (calendar-date-style, iso-date-diary-pattern)
7173 (iso-calendar-display-form): New user variables.
7174 (diary-date-forms, calendar-date-display-form): Set using
7175 calendar-date-style. Doc fix.
7176 (calendar-set-date-style): New command.
7177 (european-calendar, american-calendar): Use calendar-set-date-style.
7178 Mark as obsolete.
7179
7180 * calendar/diary-lib.el (number): Move declaration where needed.
7181 (diary-mail-entries, list-sexp-diary-entries): Doc fixes.
7182 (diary-make-date): New function.
7183 (diary-date, diary-block, diary-anniversary, diary-cyclic): Doc fix.
7184 Use diary-make-date.
7185 (diary-date-display-form, diary-insert-entry-1): New functions.
7186 (insert-monthly-diary-entry, insert-yearly-diary-entry):
7187 Use diary-insert-entry-1.
7188 (insert-anniversary-diary-entry, insert-block-diary-entry)
7189 (insert-cyclic-diary-entry): Use diary-date-display-form.
7190
7191 * calendar/cal-bahai.el, calendar/cal-hebrew.el, calendar/cal-islam.el:
7192 Autoload diary-insert-entry-1.
7193 * calendar/cal-bahai.el (diary-bahai-insert-entry)
7194 (diary-bahai-insert-monthly-entry, diary-bahai-insert-yearly-entry):
7195 * calendar/cal-hebrew.el (insert-hebrew-diary-entry)
7196 (insert-monthly-hebrew-diary-entry, insert-yearly-hebrew-diary-entry)
7197 * calendar/cal-islam.el (insert-islamic-diary-entry)
7198 (insert-monthly-islamic-diary-entry, insert-yearly-islamic-diary-entry):
7199 Use diary-insert-entry-1.
7200
7201 * calendar/cal-hebrew.el (diary-make-date): Autoload it.
7202 (diary-yahrzeit): Doc fix. Use diary-make-date.
7203
7204 * calendar/icalendar.el (icalendar--datetime-to-american-date):
7205 New name for icalendar--datetime-to-noneuropean-date. Make old name
7206 obsolete alias.
7207 (icalendar--datetime-to-iso-date): New function.
7208 (icalendar--datetime-to-diary-date): Doc fix. Respect
7209 calendar-date-style if bound.
7210
7211 * textmodes/remember.el (remember-diary-convert-entry):
7212 Respect calendar-date-style if bound.
7213
7214 2008-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
7215
7216 * xt-mouse.el (xterm-mouse-mode): Use delete-terminal-functions.
7217 (xterm-mouse-handle-delete-frame): Delete.
7218
7219 * term/xterm.el (terminal-init-xterm): Use delete-terminal-functions.
7220 (xterm-turn-on-modify-other-keys, xterm-turn-off-modify-other-keys)
7221 (xterm-remove-modify-other-keys): Lookup terminal rather than frame
7222 in xterm-modify-other-keys-terminal-list.
7223
7224 * vc-bzr.el (vc-bzr-state-heuristic): Fix last change for when there
7225 are conflicts.
7226
7227 2008-03-29 Dan Nicolaescu <dann@ics.uci.edu>
7228
7229 * vc.el (vc-update): Check if the buffer is unsaved only if it
7230 actually exists.
7231 (vc-status-mode-map, vc-status-menu-map): Bind vc-update and
7232 vc-print-log.
7233
7234 2008-03-28 Magnus Henoch <mange@freemail.hu>
7235
7236 * net/dns.el (dns-write): Use set-buffer-multibyte.
7237
7238 2008-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
7239
7240 * vc-bzr.el (vc-bzr-sha1): New fun.
7241 (vc-bzr-state-heuristic): New fun, extracted from vc-bzr-registered.
7242 (vc-bzr-registered): Use it.
7243
7244 2008-03-28 Dan Nicolaescu <dann@ics.uci.edu>
7245
7246 * vc.el (vc-status-kill-dir-status-process): Simplify.
7247 (vc-status-refresh): Make sure the buffer is live.
7248 (ring): Don't require it, not used.
7249
7250 2008-03-28 Wilson Snyder <wsnyder@wsnyder.org>
7251
7252 * progmodes/verilog-mode.el (verilog-auto-inout-module):
7253 Add optional regular expression to AUTOINOUTMODULE.
7254 (verilog-inject-auto, verilog-auto-arg, verilog-auto-inst)
7255 (verilog-auto-inst-param, verilog-auto-reg)
7256 (verilog-auto-reg-input, verilog-auto-wire, verilog-auto-output)
7257 (verilog-auto-output-every, verilog-auto-input)
7258 (verilog-auto-inout, verilog-auto-sense, verilog-auto-tieoff)
7259 (verilog-auto-unused, verilog-auto): Update documentation to use
7260 more obvious instance module names versus cell names.
7261
7262 2008-03-28 Jan Djärv <jan.h.d@swipnet.se>
7263
7264 * progmodes/compile.el (compilation-mode-tool-bar-map): Only enable
7265 kill if a process is running.
7266
7267 * progmodes/grep.el (grep-mode-tool-bar-map): The same.
7268
7269 2008-03-28 Dan Nicolaescu <dann@ics.uci.edu>
7270
7271 * vc.el: Add new backend function 'status-extra-headers.
7272 (vc-default-status-extra-headers): New function.
7273 (vc-status-headers): Call 'status-extra-headers. Add colors.
7274
7275 * vc-git.el (vc-git-status-extra-headers): New function.
7276
7277 2008-03-28 Glenn Morris <rgm@gnu.org>
7278
7279 * calendar/cal-menu.el (cal-menu-holidays-menu)
7280 (cal-menu-list-holidays-year, cal-menu-list-holidays-following-year)
7281 (cal-menu-list-holidays-previous-year): Simplify now that 2nd arg of
7282 holiday-list is optional.
7283 (calendar-mouse-holidays): Remove un-needed local `l'.
7284
7285 * calendar/cal-move.el (calendar-cursor-to-nearest-date):
7286 Remove un-needed local `date'.
7287 (calendar-cursor-to-visible-date): Use let rather than let*.
7288 Remove un-needed local `first-of-month-weekday'.
7289
7290 * calendar/calendar.el (abbreviated-calendar-year): Move to diary-lib.
7291
7292 * calendar/diary-lib.el (print-diary-entries-hook, diary-list-entries):
7293 Doc fixes.
7294 (abbreviated-calendar-year): Move here from calendar.el. Doc fix.
7295 (diary-header-line-flag, diary-header-line-format): Declare.
7296 (diary-pull-attrs): Check for multiple matches.
7297 (diary-list-entries-2): Simplify finding start of date.
7298 (diary-show-all-entries, make-diary-entry): Respect non-nil values of
7299 pop-up-frames.
7300 (diary-mark-entries-1): Re-use offset in abbreviated-year case.
7301 (mark-sexp-diary-entries): Remove superfluous call to diary-pull-attrs.
7302
7303 2008-03-27 Dan Nicolaescu <dann@ics.uci.edu>
7304
7305 * vc-hg.el (vc-hg-state, vc-hg-dir-state): Deal with 'missing files.
7306
7307 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Fix predicate.
7308
7309 2008-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
7310
7311 * vc-hooks.el (vc-before-save): Don't prevent saving the file.
7312
7313 * image-mode.el (image-mode-reapply-winprops): Fix last change.
7314
7315 2008-03-27 Kenichi Handa <handa@ni.aist.go.jp>
7316
7317 * international/mule-conf.el (define-iso-single-byte-charset):
7318 Don't make latin-iso8859-* supplementary.
7319 (#'set-charset-priority): Don't change the priority of charsets
7320 `unicode' and `emacs'.
7321
7322 2008-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
7323
7324 * vc.el (vc-do-command): Don't pop to the buffer if it's an internal
7325 temp buffer.
7326
7327 2008-03-27 Glenn Morris <rgm@gnu.org>
7328
7329 * calendar/cal-bahai.el (diary-bahai-list-entries):
7330 * calendar/cal-hebrew.el (list-hebrew-diary-entries):
7331 * calendar/cal-islam.el (list-islamic-diary-entries): Doc fix.
7332
7333 * calendar/calendar.el (diary-file): Doc fix.
7334
7335 * calendar/diary-lib.el (diary-face-attrs): Fix `height' regexp.
7336 (list-diary-entries-hook, mark-diary-entries-hook)
7337 (include-other-diary-files, diary-mail-entries)
7338 (mark-included-diary-files, list-sexp-diary-entries): Doc fixes.
7339 (diary-set-header): New function.
7340 (diary-header-line-flag, diary-header-line-format):
7341 Use diary-set-header for custom :set function.
7342 (diary-set-maybe-redraw): Use symbol-value rather than eval.
7343 (diary-attrtype-convert): Use intern-soft rather than read.
7344 (diary-display-no-entries): New function.
7345 (simple-diary-display, fancy-diary-display): Use it.
7346 (fancy-diary-display): Doc fix. Remove unneeded local entry-list.
7347 (diary-mark-entries-1): Fix position offsets in non-gregorian case.
7348
7349 * calendar/holidays.el (list-holidays): Doc fix.
7350
7351 2008-03-26 Jay Belanger <jay.p.belanger@gmail.com>
7352
7353 * calc/calc-store.el (calc-read-var-name-history): New variable.
7354 (calc-read-var-name): Use `calc-read-var-name-history'.
7355
7356 2008-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7357
7358 * image-mode.el (image-mode-reapply-winprops): Simplify now that
7359 window-configuration-change-hook works buffer-locally.
7360
7361 2008-03-26 Johan Bockgård <bojohan@gnu.org>
7362
7363 * emacs-lisp/lisp-mnt.el (lm-with-file): Use mode and syntax table
7364 for Emacs Lisp, not Lisp.
7365
7366 2008-03-26 Juanma Barranquero <lekktu@gmail.com>
7367
7368 * help-fns.el (describe-function-1, describe-variable):
7369 If CURRENT-NAME is nil, don't end obsolescence info with semicolon.
7370
7371 * emacs-lisp/bytecomp.el (byte-compile-obsolete): If no
7372 replacement is provided, don't print "use nil instead".
7373
7374 2008-03-26 Johan Bockgård <bojohan@gnu.org>
7375
7376 * complete.el (PC-do-completion): Use regexp-quote.
7377
7378 2008-03-26 Dan Nicolaescu <dann@ics.uci.edu>
7379
7380 * vc-cvs.el (vc-cvs-parse-status, vc-cvs-after-dir-status):
7381 Detect missing files.
7382
7383 * vc-git.el (vc-git-extra-menu-map): New key map.
7384 (vc-git-extra-menu, vc-git-extra-status-menu, vc-git-grep):
7385 New functions.
7386
7387 * vc-hooks.el (vc-default-mode-line-string): Deal with 'removed
7388 and 'missing files.
7389
7390 2008-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7391
7392 * calendar/holidays.el (list-holidays): Make Y2 optional.
7393
7394 * calendar/appt.el (appt-buffer-name): Don't use a leading space for
7395 buffers shown to the user.
7396 (appt-disp-window): Disable undo explicitly now that the leading space
7397 is gone.
7398
7399 * simple.el (activate-mark): New function.
7400 (set-mark-command): Use it with region-active-p to clean up the code.
7401 (exchange-point-and-mark): Invert the meaning of C-u when
7402 transient-mark-mode is active.
7403
7404 * dired-aux.el (dired-create-files): Use dolist.
7405
7406 * bindings.el (mode-line-change-eol): Use with-selected-window.
7407
7408 * apropos.el (apropos-command): Include macros.
7409
7410 2008-03-26 Glenn Morris <rgm@gnu.org>
7411
7412 * calendar/cal-bahai.el: Require calendar, not cal-julian.
7413 (calendar-bahai-epoch): Doc fix.
7414
7415 * calendar/cal-china.el: Explicitly require calendar.
7416
7417 * calendar/cal-coptic.el, calendar/cal-islam.el, calendar/cal-persia.el:
7418 Require calendar rather than cal-julian.
7419 Autoload calendar-absolute-from-julian.
7420 * calendar/cal-coptic.el (coptic-calendar-epoch):
7421 * calendar/cal-islam.el (calendar-islamic-epoch):
7422 * calendar/cal-persia.el (persian-calendar-epoch): Set when compiling.
7423
7424 * calendar/cal-islam.el (calendar-islamic-epoch): Doc fix.
7425
7426 * calendar/cal-dst.el: Don't require cal-persia.
7427 (calendar-absolute-from-persian): Autoload it.
7428 (dst-adjust-time): Doc fix.
7429
7430 * calendar/cal-menu.el (cal-menu-diary-menu): Remove menu headings that
7431 cause cal-bahai, cal-islam, cal-hebrew to be loaded on starting the
7432 calendar.
7433
7434 * calendar/cal-menu.el: Require calendar rather than declaring
7435 functions.
7436 * calendar/calendar.el: Provide calendar before requiring cal-menu.
7437
7438 * calendar/cal-x.el (calendar-after-frame-setup-hook): New name for
7439 calendar-after-frame-setup-hooks. Update callers, make old name an
7440 obsolete alias. Doc fix.
7441 (calendar-frame-1): Doc fix.
7442
7443 * calendar/calendar.el (solar-holidays): Simplify holiday-sexp calls.
7444
7445 * calendar/calendar.el (oriental-holidays, solar-holidays):
7446 * calendar/holidays.el (list-holidays): Assume atan always bound.
7447
7448 * calendar/lunar.el, calendar/solar.el: Remove floating-point check.
7449 Explicitly require calendar, not cal-julian.
7450 * calendar/lunar.el: Explicitly require cal-dst.
7451
7452 2008-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7453
7454 * autorevert.el (auto-revert-buffers): Use buffer-live-p.
7455
7456 * help-fns.el (describe-function-1, describe-variable): If no
7457 replacement is provided, don't print "use nil instead".
7458
7459 2008-03-25 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
7460
7461 * proced.el: New file.
7462
7463 2008-03-25 Tetsurou Okazaki <okazaki@be.to> (tiny change)
7464
7465 * emacs-lisp/byte-opt.el (side-effect-free-fns): Fix typo.
7466
7467 2008-03-25 Juri Linkov <juri@jurta.org>
7468
7469 * battery.el: Add file cookie coding:iso-8859-1 for the degree sign
7470 in battery-mode-line-format.
7471
7472 * bindings.el (minibuffer-local-map): For the command
7473 file-cache-minibuffer-complete replace keymap minibuffer-local-map
7474 with map which is already locally bound to minibuffer-local-map.
7475
7476 2008-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
7477
7478 * subr.el (map-keymap-sorted): Rename from map-keymap-internal.
7479 Remove `sort-first' argument.
7480
7481 * subr.el (redisplay-end-trigger-functions)
7482 (window-redisplay-end-trigger, set-window-redisplay-end-trigger)
7483 (process-filter-multibyte-p, set-process-filter-multibyte):
7484 Mark as obsolete.
7485
7486 2008-03-25 Juanma Barranquero <lekktu@gmail.com>
7487
7488 * emacs-lisp/re-builder.el (reb-mode-common): Remove reference to
7489 bogus variable `reb-kill-buffer'; don't make hooks buffer-local,
7490 use the LOCAL arg of `add-hook'.
7491 (reb-blink-delay, reb-mode-hook, reb-re-syntax, reb-auto-match-limit):
7492 Remove spurious * from defcustom docstrings.
7493 (reb-next-match, reb-prev-match, reb-enter-subexp-mode):
7494 Fix typos in messages.
7495 (reb-mode-buffer-p): New function.
7496 (re-builder, reb-kill-buffer): Use `reb-mode-buffer-p'. Use `when'.
7497 (top, reb-show-subexp, reb-auto-update, reb-delete-overlays)
7498 (reb-cook-regexp, reb-update-regexp, reb-update-overlays):
7499 Use `unless', `when'.
7500 (re-builder-unload-function): New function.
7501
7502 2008-03-25 Dan Nicolaescu <dann@ics.uci.edu>
7503
7504 * vc-hooks.el (vc-state): Add documentation for 'missing.
7505
7506 2008-03-25 Wilson Snyder <wsnyder@wsnyder.org>
7507
7508 * progmodes/verilog-mode.el (verilog-auto-output)
7509 (verilog-auto-input, verilog-auto-inout, verilog-auto)
7510 (verilog-delete-auto): Add optional regular expression to
7511 AUTOINPUT/AUTOOUTPUT/AUTOINOUT.
7512 (verilog-signals-matching-regexp): New internal function for
7513 signal matching.
7514
7515 2008-03-25 Johan Bockgård <bojohan@gnu.org>
7516
7517 * info.el (Info-isearch-search): Always return point.
7518
7519 2008-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
7520
7521 * diff-mode.el (diff-remembered-defdir): New var.
7522 (diff-find-file-name): Use it to flush diff-remembered-files-alist.
7523
7524 2008-03-25 Glenn Morris <rgm@gnu.org>
7525
7526 * calendar/cal-bahai.el (calendar-bahai-read-date): New name for
7527 calendar-bahai-prompt-for-date. Update callers, make old name an
7528 obsolete alias. Doc fix.
7529 * calendar/cal-coptic.el (calendar-coptic-read-date): New name for
7530 coptic-prompt-for-date. Update callers, make old name an
7531 obsolete alias. Doc fix.
7532 * calendar/cal-hebrew.el (calendar-hebrew-read-date): New name for
7533 calendar-hebrew-prompt-for-date. Update callers. Doc fix.
7534 * calendar/cal-islam.el (calendar-islamic-read-date): New name for
7535 calendar-islamic-prompt-for-date. Update callers. Doc fix.
7536 * calendar/cal-iso.el (calendar-iso-read-date): New name for
7537 calendar-iso-read-args. Update callers, make old name an obsolete
7538 alias.
7539 * calendar/cal-persia.el (calendar-persian-read-date): New name for
7540 persian-prompt-for-date. Update callers, make old name an
7541 obsolete alias. Doc fix. Move definition before use.
7542
7543 * calendar/cal-x.el (diary-frame-parameters)
7544 (calendar-frame-parameters, calendar-and-diary-frame-parameters)
7545 (calendar-frame-1): Doc fixes.
7546 (make-fancy-diary-buffer): Remove declaration.
7547 (calendar-dedicate-diary): Replace call to deleted function
7548 make-fancy-diary-buffer.
7549 (calendar-frame-setup): New function.
7550 (calendar-one-frame-setup, calendar-only-one-frame-setup)
7551 (calendar-two-frame-setup): Call calendar-frame-setup to do the actual
7552 work, and mark as obsolete.
7553 (special-display-buffer-names): Don't mess with this; it's not our
7554 business.
7555 (cal-x-load-hook): Defvar it, and mark as obsolete.
7556
7557 * calendar/calendar.el (calendar-remove-frame-by-deleting):
7558 Default to t. Add to 'calendar group.
7559 (calendar): Doc fix. Use calendar-frame-setup.
7560 (calendar-basic-setup): Doc fix. Add optional NODISPLAY argument.
7561 (generate-calendar-window): Doc fix.
7562
7563 2008-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
7564
7565 * vc-bzr.el (vc-bzr-print-log, vc-bzr-diff): Do it asynchronously.
7566
7567 2008-03-24 Drew Adams <drew.adams@oracle.com>
7568
7569 * finder.el (finder-mode-syntax-table, finder-font-lock-keywords):
7570 New variables.
7571 (finder-mode): Use finder-mode-syntax-table. Set font-lock-defaults.
7572 (finder-exit): Ignore errors rather than avoiding them.
7573 Kill *Finder-package* buffer also.
7574
7575 2008-03-24 Andreas Schwab <schwab@suse.de>
7576
7577 * xt-mouse.el (xterm-mouse-event): Avoid error with buttons > 5.
7578
7579 2008-03-24 Dan Nicolaescu <dann@ics.uci.edu>
7580
7581 * vc-hg.el (vc-hg-after-dir-status):
7582 * vc-bzr.el (vc-bzr-after-dir-status): Detect missing files.
7583
7584 * vc-cvs.el (vc-cvs-after-dir-status, vc-cvs-parse-status):
7585 Detect removed files.
7586
7587 * vc.el (vc-status-printer): Use a different face for missing files.
7588 (vc-status-hide-up-to-date): Rename from
7589 vc-status-remove-up-to-date. Update all callers.
7590 (vc-status-mode-map): Bind C-m.
7591
7592 2008-03-24 Alexandre Julliard <julliard@winehq.org>
7593
7594 * vc-git.el (vc-git-after-dir-status-stage1): Move state matching
7595 code ...
7596 (vc-git--state-code): ... to this new function.
7597 (vc-git-state): Use it.
7598
7599 2008-03-24 Trent Buck <trentbuck@gmail.com> (tiny change)
7600
7601 * textmodes/remember.el (remember-mail-date)
7602 (remember-store-in-mailbox): Write date and From line in such a
7603 way that Mutt can read it.
7604
7605 2008-03-23 Chong Yidong <cyd@stupidchicken.com>
7606
7607 * simple.el (transient-mark-mode): Turn on by default.
7608
7609 2008-03-23 Dan Nicolaescu <dann@ics.uci.edu>
7610
7611 * vc-bzr.el (vc-bzr-state): Return 'removed for removed files and
7612 'unregistered for unregistered files.
7613
7614 * vc-hg.el (vc-hg-state): Return 'removed for removed files.
7615
7616 * bindings.el (standard-mode-line-modes): Avoid duplicating a string.
7617
7618 * vc-cvs.el (vc-cvs-parse-status): Note there are problems with
7619 subdirectories.
7620
7621 * vc.el (vc-status-prepare-status-buffer): Fix thinko.
7622 (vc-status-menu-map): Add binding for vc-status-kill-dir-status-process.
7623 Add :enable for vc-status-refresh.
7624 (vc-status-menu-map-filter): Remove vc-ignore-menu-filter test.
7625 (vc-status-tool-bar-map): Add binding for
7626 vc-status-kill-dir-status-process.
7627 Don't test display-graphic-p and don't bind vc-ignore-menu-filter.
7628 (vc-update-vc-status-buffer, vc-status-kill-dir-status-process):
7629 Reset vc-status-process-buffer.
7630 (vc-status-refresh): Don't run two refreshes at a time.
7631 (vc-status): If the buffer is already in vc-status-mode only refresh.
7632 (vc-status-mark-buffer-changed): Add an optional file parameter.
7633 (vc-resynch-buffer): Use it.
7634 (vc-delete-file): Expand the file name before using it.
7635 Be careful to not create a new buffer with the old file contents.
7636 Update the VC state after performing the operation.
7637
7638 2008-03-23 Andreas Schwab <schwab@suse.de>
7639
7640 * menu-bar.el (menu-bar-showhide-fringe-ind-menu) [mixed]:
7641 Fix radio button condition.
7642 [box]: Likewise.
7643 [customize]: Add radio button.
7644
7645 2008-03-23 Jay Belanger <jay.p.belanger@gmail.com>
7646
7647 * calc/calc.el (calc-was-keypad-mode, calc-full-mode)
7648 (calc-user-parse-tables, calc-gnuplot-default-device)
7649 (calc-gnuplot-default-output, calc-gnuplot-print-device)
7650 (calc-gnuplot-print-output, calc-gnuplot-geometry)
7651 (calc-graph-default-resolution, calc-graph-default-resolution-3d)
7652 (calc-invocation-macro, calc-trail-pointer, calc-trail-overlay)
7653 (calc-undo-list, calc-redo-list, calc-main-buffer)
7654 (calc-trail-buffer, calc-why, calc-last-kill, calc-dollar-values)
7655 (calc-dollar-used, calc-hashes-used, calc-quick-prev-results)
7656 (calc-said-hello, calc-executing-macro, calc-any-selections)
7657 (calc-help-phase, calc-full-help-flag, calc-refresh-count)
7658 (calc-display-dirty, calc-embedded-info, calc-embedded-active)
7659 (calc-standalone-flag, var-EvalRules, math-expr-function-mapping)
7660 (math-expr-variable-mapping, calc-mode-map, calc-digit-map)
7661 (calc-dispatch-map, calc-do-dispatch, calc-read-key-sequence)
7662 (calc-create-buffer, calc-quit): Add docstrings.
7663
7664 2008-03-23 Juanma Barranquero <lekktu@gmail.com>
7665
7666 * makefile.w32-in (WINS_ALMOST): Add org.
7667
7668 2008-03-23 Dan Nicolaescu <dann@ics.uci.edu>
7669
7670 * vc-cvs.el (vc-cvs-after-dir-status, vc-cvs-dir-status):
7671 New functions to implement vc-status support.
7672
7673 2008-03-22 Dan Nicolaescu <dann@ics.uci.edu>
7674
7675 * vc.el (vc-status-prepare-status-buffer): New function.
7676 (vc-status): Use it.
7677
7678 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add ... where
7679 appropriate.
7680
7681 2008-03-22 Alexandre Julliard <julliard@winehq.org>
7682
7683 * vc-git.el (vc-git--empty-db-p)
7684 (vc-git-after-dir-status-stage1-empty-db): New functions.
7685 (vc-git-dir-status, vc-git-after-dir-status-stage1, vc-git-state):
7686 Add support for empty repositories.
7687
7688 2008-03-22 Dan Nicolaescu <dann@ics.uci.edu>
7689
7690 * vc-git.el (vc-git-annotate-extract-revision-at-line):
7691 Allow "^" in a version name.
7692
7693 * vc-mtn.el (vc-mtn-state): Support the added state.
7694
7695 2008-03-22 Carsten Dominik <dominik@science.uva.nl>
7696
7697 * org: New directory for Org-mode.
7698
7699 * org/org-export-latex.el: Moved from lisp/texmodes.
7700
7701 * org/org-irc.el: Moved from lisp/texmodes.
7702
7703 * org/org-mac-message.el: Moved from lisp/texmodes.
7704
7705 * org/org-mouse.el: Moved from lisp/texmodes.
7706
7707 * org/org-publish.el: Moved from lisp/texmodes.
7708
7709 2008-03-21 Juri Linkov <juri@jurta.org>
7710
7711 * comint.el (comint-dynamic-simple-complete):
7712 Use variable `stub' for the second arg `common-substring'
7713 of `comint-dynamic-list-completions'.
7714 (comint-dynamic-list-filename-completions):
7715 Use variable `filenondir' for the second arg `common-substring'
7716 of `comint-dynamic-list-completions'.
7717 (comint-dynamic-list-completions): Add new optional arg
7718 `common-substring'. Add `common-substring' as the second arg of
7719 the call to `display-completion-list'. Doc fix.
7720
7721 * comint.el (comint-dynamic-complete-as-filename)
7722 (comint-dynamic-list-filename-completions)
7723 (comint-dynamic-simple-complete): Use `minibuffer-message'
7724 to display message "No completions of %s" when a command
7725 is called in the minibuffer.
7726 (comint-dynamic-simple-complete): Don't display other
7727 completion messages when a command is called in the minibuffer.
7728 (comint-dynamic-list-completions): Use `minibuffer-message'
7729 to display message " [Type space to flush ...]" when a command
7730 is called in the minibuffer.
7731
7732 * shell.el (shell-dynamic-complete-command)
7733 (shell-dynamic-complete-environment-variable): Don't display
7734 completion messages when command is called in the minibuffer.
7735
7736 * emacs-lisp/lisp.el (lisp-complete-symbol):
7737 Use `minibuffer-message' to display message "No completions of %s"
7738 when this command is called in the minibuffer.
7739
7740 * bindings.el (standard-mode-line-modes): Put special help-echo
7741 tooltip on recursive edit %[ %] mode-line constructs.
7742
7743 * dabbrev.el (debug-ignored-errors): Remove $ from the end of
7744 "^No dynamic expansion for .* found$" to allow error messages like
7745 "No dynamic expansion for \"%s\" found in this-buffer".
7746
7747 2008-03-21 Michael Albinus <michael.albinus@gmx.de>
7748
7749 * net/tramp.el (tramp-methods): Fix tramp-copy-args of "pscp" and
7750 "psftp".
7751
7752 2008-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7753
7754 * vc-hooks.el (vc-default-mode-line-string): Add case for added files.
7755 * vc.el (vc-default-dired-state-info): Use just "modified".
7756 * vc-cvs.el (vc-cvs-state-heuristic): Turn rev 0 into `added'.
7757 (vc-cvs-mode-line-string): Make use of the better default.
7758 (vc-cvs-parse-entry): Use the new `added'.
7759 (vc-cvs-dired-state-info): Remove.
7760 * vc-svn.el (vc-svn-dired-state-info): Remove.
7761 * vc-hg.el (vc-hg-dired-state-info): Remove.
7762 * vc-git.el (vc-git-dired-state-info): Remove.
7763
7764 2008-03-21 Dan Nicolaescu <dann@ics.uci.edu>
7765
7766 * vc-git.el (vc-git-status-result): New variable.
7767 (vc-git-dir-status): Split out ...
7768 (vc-git-after-dir-status-stage1, vc-git-after-dir-status-stage2):
7769 ... these new functions and work asynchronously.
7770
7771 2008-03-21 Alexandre Julliard <julliard@winehq.org>
7772
7773 * vc-git.el (vc-git-after-dir-status): Remove.
7774 (vc-git-dired-state-info): Reimplement.
7775
7776 2008-03-21 Dan Nicolaescu <dann@ics.uci.edu>
7777
7778 * replace.el (occur-mode-map): Add :help.
7779
7780 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entry
7781 for disassemble.
7782
7783 * vc.el (vc-status-mark-buffer-changed): Better deal with files in
7784 the 'added state.
7785 (vc-status-remove-up-to-date): New function.
7786 (vc-status-mode-map, vc-status-menu-map): Bind it.
7787 (vc-status-printer): Use a different face up-to-date files.
7788 (vc-resynch-buffer): Update the vc-status buffer if it exists.
7789 (Todo): Remove solved entries.
7790
7791 * vc-hg.el (vc-hg-state):
7792 * vc-git.el (vc-git-state):
7793 * vc-cvs.el (vc-cvs-parse-status):
7794 * vc-bzr.el (vc-bzr-state): Return 'added when the file is in that
7795 state.
7796
7797 2008-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
7798
7799 * progmodes/compile.el (compile):
7800 * progmodes/grep.el (grep, grep-find): Use read-shell-command.
7801
7802 * simple.el (minibuffer-local-shell-command-map): New var.
7803 (minibuffer-complete-shell-command, read-shell-command): New funs.
7804 (shell-command, shell-command-on-region): Use them.
7805
7806 2008-03-20 Dan Nicolaescu <dann@ics.uci.edu>
7807
7808 * vc.el (vc-status-mark-buffer-changed): New function to implement
7809 updating of the *vc-status* buffer when a buffer is saved.
7810 (vc-status-mode): Use it for after-change-hook.
7811 (vc-add-to-vc-status-buffer): Rename to ...
7812 (vc-status-add-entry): ... this.
7813 (Todo): Add new entry.
7814
7815 2008-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
7816
7817 * sort.el (sort-reorder-buffer): Preserve the buffer's multibyteness.
7818
7819 2008-03-20 Juanma Barranquero <lekktu@gmail.com>
7820
7821 * icomplete.el (icomplete-prospects-length, icomplete-max-delay-chars)
7822 (icomplete-show-key-bindings, icomplete-minibuffer-setup-hook):
7823 Remove spurious * from defcustom docstrings.
7824 (icomplete-compute-delay): Fix docstring and remove spurious *.
7825 (icomplete-delay-completions-threshold): Fix typo in docstring and
7826 remove spurious *.
7827 (icomplete-completions): While collecting the list of prospective
7828 candidates, don't overshoot `icomplete-prospects-length'.
7829
7830 2008-03-20 Dan Nicolaescu <dann@ics.uci.edu>
7831
7832 * textmodes/refbib.el:
7833 * textmodes/reftex.el:
7834 * textmodes/reftex-global.el:
7835 * textmodes/reftex-vars.el:
7836 * textmodes/reftex-toc.el: Don't use eval-and-compile for byte
7837 compiler pacifying defvars.
7838 (reftex-toc-mode): Only make zmacs-regions local on XEmacs.
7839 * textmodes/reftex-index.el (zmacs-regions): Remove pacifier,
7840 not needed.
7841
7842 2008-03-20 Wilson Snyder <wsnyder@wsnyder.org>
7843
7844 * progmodes/verilog-mode.el (verilog-easy-menu-filter): New function.
7845 (verilog-stmt-menu, verilog-menu): Add :help and filter it.
7846 (verilog-customize, verilog-font-customize)
7847 (electric-verilog-backward-sexp, electric-verilog-forward-sexp)
7848 (verilog-mode): Update documentation strings to match tool tips.
7849 (verilog-auto-search-do, verilog-auto-re-search-do)
7850 (verilog-skip-forward-comment-or-string): Fix verilog-auto
7851 expansion when a .* appears inside a string.
7852 (verilog-re-search-forward, verilog-re-search-backward):
7853 Add comment to recall how this works.
7854 (verilog-read-decls): Fix AUTOINPUT/AUTOOUTPUT mis-including genvars.
7855
7856 2008-03-20 Glenn Morris <rgm@gnu.org>
7857
7858 * calendar/calendar.el (calendar-other-dates): New function.
7859 (calendar-print-other-dates): Use calendar-other-dates.
7860 * calendar/cal-menu.el (calendar-other-dates): Declare it, and removes
7861 the declarations it replaces.
7862 (calendar-mouse-print-dates): Use calendar-other-dates.
7863
7864 * calendar/cal-bahai.el (calendar-bahai-leap-year-p)
7865 (calendar-bahai-leap-base, calendar-bahai-from-absolute): Doc fixes.
7866 (calendar-absolute-from-bahai): Fix the leap-year case.
7867 (calendar-bahai-from-absolute): Re-use the Gregorian month.
7868 (calendar-bahai-date-string, calendar-bahai-print-date):
7869 Handle pre-Bahai dates.
7870
7871 * calendar/cal-china.el (chinese-calendar-celestial-stem)
7872 (chinese-calendar-terrestrial-branch): Make defcustoms.
7873
7874 * calendar/cal-menu.el (calendar-mouse-holidays): Re-use the title.
7875 (calendar-mouse-view-diary-entries): Use or.
7876 (calendar-mouse-chinese-date): Remove unused command.
7877 (cal-menu-load-hook): Mark as obsolete.
7878
7879 * calendar/solar.el (calendar-location-name, calendar-latitude)
7880 (calendar-longitude, solar-arctan, sunrise-sunset)
7881 (solar-mean-equinoxes/solstices): Use the appropriate equality test.
7882
7883 2008-03-20 Jay Belanger <jay.p.belanger@gmail.com>
7884
7885 * calc/calc.el: Remove outdated comments.
7886 (defcalcmodevar, calc-mode-var-list-restore-default-values)
7887 (calc-mode-var-list-restore-saved-values, calc-autorange-units):
7888 Add docstrings.
7889
7890 2008-03-19 Jason Rumney <jasonr@gnu.org>
7891
7892 * w32-fns.el (x-alternatives-map): Add S-tab mapping.
7893
7894 2008-03-19 Reiner Steib <Reiner.Steib@gmx.de>
7895
7896 * net/tls.el (open-tls-stream): Reindent.
7897
7898 2008-03-19 Michael Albinus <michael.albinus@gmx.de>
7899
7900 * net/tramp.el (tramp-let-maybe): Removed.
7901 (tramp-drop-volume-letter): Don't use `replace-regexp-in-string'.
7902 It does not exist under XEmacs.
7903 (tramp-handle-file-truename, tramp-handle-expand-file-name)
7904 (tramp-completion-file-name-handler): Let-bind
7905 `directory-sep-char'.
7906
7907 * net/tramp-fish.el (tramp-fish-handle-expand-file-name): Let-bind
7908 `directory-sep-char'.
7909
7910 2008-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
7911
7912 * help-fns.el (describe-function-1): Don't signal "missing arglist"
7913 for autoloaded keymaps.
7914
7915 * progmodes/verilog-mode.el (verilog-syntax-ppss): New function.
7916 (electric-verilog-terminate-line, verilog-in-struct-region-p)
7917 (verilog-backward-ws&directives, verilog-forward-ws&directives)
7918 (verilog-in-comment-p, verilog-in-star-comment-p)
7919 (verilog-in-slash-comment-p, verilog-skip-backward-comments)
7920 (verilog-parenthesis-depth, verilog-skip-backward-comment-or-string)
7921 (verilog-skip-forward-comment-or-string, verilog-in-paren)
7922 (verilog-skip-forward-comment-p): Use it.
7923
7924 2008-03-19 Juanma Barranquero <lekktu@gmail.com>
7925
7926 * textmodes/org.el (org-link-store, org-link-follow, org-latex)
7927 (org-remember-templates, org-time-stamp-rounding-minutes)
7928 (org-back-over-empty-lines, org-find-base-buffer-visiting)
7929 (org-columns-new): Fix typos in docstrings.
7930
7931 2008-03-19 Glenn Morris <rgm@gnu.org>
7932
7933 * net/tramp.el (tramp-drop-volume-letter): Evaluate when compiling.
7934 (tramp-handle-shell-command): Use condition-case rather than
7935 ignore-errors.
7936
7937 2008-03-19 Dan Nicolaescu <dann@ics.uci.edu>
7938
7939 * diff-mode.el (diff-header): Make the color louder.
7940 (diff-refine-change): Tone the color down.
7941
7942 2008-03-19 Juanma Barranquero <lekktu@gmail.com>
7943
7944 * descr-text.el (describe-char): When `describe-char-unidata-list'
7945 is set to show all properties, list them in the right order.
7946
7947 2008-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
7948
7949 * international/mule.el (load-with-code-conversion): Avoid setting
7950 default-enable-multibyte-characters.
7951
7952 2008-03-19 Gustav Hållberg <gustav@virtutech.com> (tiny change)
7953
7954 * vc.el (vc-annotate-background): Fix custom type.
7955
7956 2008-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
7957
7958 * descr-text.el (describe-char-unidata-list): Allow specifying
7959 just all properties.
7960 (describe-char): Handle that new value.
7961
7962 * emulation/cua-base.el (cua-paste): Signal an error in read-only buf.
7963
7964 2008-03-18 Tassilo Horn <tassilo@member.fsf.org>
7965
7966 * doc-view.el (doc-view-initiate-display): Use doc-view-doc-type
7967 instead of file name extension to make docs with uncommon
7968 extensions work.
7969
7970 2008-03-18 Tassilo Horn <tassilo@member.fsf.org>
7971
7972 * doc-view.el (require): Require cl at compile time because
7973 `assert' needs it.
7974
7975 2008-03-18 Glenn Morris <rgm@gnu.org>
7976
7977 * calendar/calendar.el (initial-calendar-window-hook)
7978 (today-visible-calendar-hook): Doc fixes.
7979
7980 2008-03-17 Michael Albinus <michael.albinus@gmx.de>
7981
7982 * net/tramp.el (tramp-root-regexp): Simplify.
7983 (tramp-completion-file-name-regexp-separate): Don't insist on
7984 leading "[". This prevents method or user or host completion.
7985 (tramp-let-maybe): Autoload it.
7986 (tramp-drop-volume-letter): Don't autoload. When not on W32, it
7987 is an alias for `identity'.
7988 (tramp-handle-write-region): Protect `last-coding-system-used'
7989 over the trailing statements.
7990 (tramp-completion-file-name-handler-post-function): Remove.
7991 (tramp-completion-file-name-handler): Let-bind `directory-sep-char'
7992 instead of calling `tramp-drop-volume-letter'.
7993
7994 * net/tramp.el:
7995 * net/tramp-uu.el:
7996 * net/trampver.el: Move coding cookie at the end.
7997
7998 2008-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
7999
8000 * net/tramp.el (tramp-completion-mode-p): Don't use char-equal for
8001 elements which may be something else than characters.
8002
8003 2008-03-17 Dan Nicolaescu <dann@ics.uci.edu>
8004
8005 * vc-bzr.el (vc-bzr-dir-status, vc-bzr-after-dir-status):
8006 New functions to implement vc-status support.
8007
8008 * vc.el (vc-default-extra-status-menu)
8009 (vc-add-to-vc-status-buffer): New functions.
8010
8011 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
8012 for eldoc and ielm.
8013
8014 2008-03-17 Glenn Morris <rgm@gnu.org>
8015
8016 * calendar/cal-x.el (diary-frame-parameters)
8017 (calendar-frame-parameters, calendar-and-diary-frame-parameters):
8018 Fix custom type; add options.
8019 (calendar-frame, diary-frame): Doc fixes.
8020 (calendar-dedicate-diary, calendar-frame-1): Extract common code into
8021 new functions.
8022 (calendar-one-frame-setup, calendar-two-frame-setup): Doc fixes.
8023 Use calendar-frame-1 and calendar-dedicate-diary.
8024 (calendar-one-frame-setup): Also handle only-one-frame case.
8025 (calendar-only-one-frame-setup): Doc fix. Just call
8026 calendar-one-frame-setup.
8027
8028 * calendar/diary-lib.el: Re-order some definitions before their use.
8029 (nongregorian-diary-listing-hook, nongregorian-diary-marking-hook)
8030 (diary-list-entries): Doc fixes.
8031 (make-fancy-diary-display): Remove function.
8032
8033 * calendar/calendar.el (calendar-today-marker)
8034 (initial-calendar-window-hook, today-visible-calendar-hook)
8035 (today-invisible-calendar-hook, diary-file, calendar-basic-setup)
8036 (calendar-star-date, calendar-mark-today): Doc fixes.
8037 (today-visible-calendar-hook): Add options.
8038 (calendar-in-read-only-buffer): New macro.
8039 (calendar-basic-setup): Adapt for change in calendar-read-date.
8040 Place holiday let inside if.
8041 (calendar-day-name-array, calendar-month-name-array): Make defcustoms.
8042 (calendar-read-date): Set day to 1 rather than nil in the NODAY case.
8043 (calendar-print-other-dates): Use one let rather than many.
8044
8045 * calendar/calendar.el (calendar-in-read-only-buffer): New macro.
8046 (calendar-print-other-dates):
8047 * calendar/cal-hebrew.el (list-yahrzeit-dates):
8048 * calendar/diary-lib.el (simple-diary-display, fancy-diary-display):
8049 * calendar/holidays.el (calendar-list-holidays, list-holidays)
8050 (calendar-cursor-holidays):
8051 * calendar/lunar.el (calendar-phases-of-moon): Use
8052 calendar-in-read-only-buffer to replace previous code and disable undo.
8053
8054 2008-03-16 Juri Linkov <juri@jurta.org>
8055
8056 * isearch.el (isearch-edit-string): Use search-ring-yank-pointer
8057 and regexp-search-ring-yank-pointer for the HISTPOS argument of
8058 read-from-minibuffer to provide the correct initial minibuffer
8059 history position in isearch-edit-string when it is called from
8060 isearch-ring-adjust.
8061
8062 * menu-bar.el (kill-this-buffer): Use menu-bar-non-minibuffer-window-p
8063 to check if the current buffer is the minibuffer, and in this case
8064 call abort-recursive-edit to kill the minibuffer. Doc fix.
8065 (kill-this-buffer-enabled-p): Allow this function to return non-nil
8066 when the current buffer is the minibuffer.
8067
8068 * simple.el (goto-line): Leave mark at previous position. Doc fix.
8069
8070 2008-03-16 Tassilo Horn <tassilo@member.fsf.org>
8071
8072 * doc-view.el (doc-view-doc->txt, doc-view-convert-current-doc):
8073 Use non-nil PARENTS attribute of make-directory instead of
8074 explicitly checking existence the current cache directory.
8075
8076 2008-03-16 Daiki Ueno <ueno@unixuser.org>
8077
8078 * epa-file.el (epa-file-select-keys): Fix bug with C-x C-s after
8079 M-x epa-file-select-keys.
8080
8081 2008-03-16 Kenichi Handa <handa@m17n.org>
8082
8083 * international/mule.el (auto-coding-alist):
8084 Use no-conversion-multibyte for archive files.
8085
8086 2008-03-16 Glenn Morris <rgm@gnu.org>
8087
8088 * calendar/diary-lib.el (calendar-mark-complex, calendar-mark-1):
8089 New functions.
8090 * calendar/cal-bahai.el (calendar-mark-1): Autoload it.
8091 (calendar-bahai-mark-date-pattern): Add optional argument `color'.
8092 Use calendar-mark-1.
8093 * calendar/cal-hebrew.el (calendar-mark-complex): Autoload it.
8094 (mark-hebrew-calendar-date-pattern): Add optional argument `color'.
8095 Use calendar-mark-complex.
8096 * calendar/cal-islam.el (calendar-mark-1): Autoload it.
8097 (mark-islamic-calendar-date-pattern): Add optional argument `color'.
8098 Use calendar-mark-1.
8099
8100 * calendar/calendar.el (calendar-mod): Remove.
8101 * calendar/cal-china.el (calendar-chinese-from-absolute)
8102 (calendar-chinese-date-string): Expand calendar-mod calls.
8103 * calendar/cal-mayan.el (calendar-mayan-tzolkin-from-absolute):
8104 Expand calendar-mod calls.
8105
8106 * calendar/cal-bahai.el (calendar-bahai-date-string): Use a single let.
8107 (diary-bahai-insert-entry, diary-bahai-insert-monthly-entry)
8108 (diary-bahai-insert-yearly-entry): Use let rather than let*.
8109 Move obsolete aliases after the functions that replaced them.
8110
8111 * calendar/cal-hebrew.el (calendar-absolute-from-hebrew)
8112 (hebrew-calendar-yahrzeit, insert-hebrew-diary-entry)
8113 (insert-monthly-hebrew-diary-entry, insert-yearly-hebrew-diary-entry):
8114 Use let rather than let*.
8115 (calendar-hebrew-prompt-for-date): New function.
8116 (calendar-goto-hebrew-date): Use calendar-hebrew-prompt-for-date.
8117 (holiday-tisha-b-av-etc): Use unless, let.
8118
8119 * calendar/cal-islam.el (calendar-islamic-prompt-for-date): New func.
8120 (calendar-goto-islamic-date): Use calendar-islamic-prompt-for-date.
8121
8122 * calendar/cal-mayan.el (calendar-mayan-haab-to-string): Simplify.
8123
8124 * calendar/calendar.el (calendar-for-loop): Add indent spec.
8125
8126 * calendar/diary-lib.el (diary-remind-message, mark-sexp-diary-entries)
8127 (list-sexp-diary-entries, diary-font-lock-sexps): Use format rather
8128 than concat.
8129 (diary): Remove un-needed let.
8130 (view-other-diary-entries): Rename argument.
8131 (diary-list-entries-2): New function.
8132 (diary-list-entries-1, diary-list-entries): Use diary-list-entries-2.
8133 (print-diary-entries): Use unless.
8134 (diary-mark-entries-1): Change argument order, make all but
8135 markfunc optional. Handle the standard (Gregorian) case.
8136 Use match-string-no-properties. Handle marks.
8137 (mark-diary-entries): Use diary-mark-entries-1.
8138 (diary-font-lock-keywords-1): New macro.
8139 (diary-font-lock-keywords): Use diary-font-lock-keywords-1.
8140
8141 2008-03-16 Ulf Jasper <ulf.jasper@web.de>
8142
8143 * icalendar.el (icalendar-version): Increase to 0.18.
8144 (icalendar-export-hidden-diary-entries): New variable.
8145 (icalendar-export-region): Use icalendar-export-hidden-diary-entries.
8146 In case of error, insert full error-val.
8147 (icalendar-first-weekday-of-year): Remove `offset' argument. Doc fix.
8148 Use calendar-day-of-week. Return the day number.
8149 (icalendar--convert-weekly-to-ical): Use funcall rather than apply.
8150
8151 2008-03-16 Craig Markwardt <Craig.Markwardt@nasa.gov>
8152
8153 * icalendar.el (icalendar-recurring-start-year): New variable.
8154 (icalendar--diarytime-to-isotime): Fix treatment of 12:00pm - 12:59pm.
8155 (icalendar-export-region): Ignore hidden diary entries.
8156 (icalendar--convert-ordinary-to-ical): Fix case where event
8157 spans across midnight boundary.
8158 (icalendar-first-weekday-of-year): New function.
8159 (icalendar--convert-weekly-to-ical): Allow user-selectable start
8160 year for recurring events (Mozilla calendars do not propagate
8161 recurring events forever, so year 2000 start date was not working).
8162 (icalendar--convert-yearly-to-ical): Remove extra spaces in
8163 formatting of BYMONTH and BYMONTHDAY (not allowed by ical spec).
8164
8165 2008-03-15 Michael Albinus <michael.albinus@gmx.de>
8166
8167 * net/tramp.el (tramp-root-regexp): New defconst.
8168 (tramp-completion-file-name-regexp-unified)
8169 (tramp-completion-file-name-regexp-separate)
8170 (tramp-completion-file-name-regexp-url): Use it.
8171 (tramp-do-copy-or-rename-file-via-buffer):
8172 Set `enable-multibyte-characters' to nil. Set `jka-compr-inhibit' to
8173 t for `insert-file-contents-literally'.
8174 (tramp-drop-volume-letter): Rewrite, using `tramp-root-regexp'.
8175 Autoload it.
8176 (tramp-completion-file-name-handler-post-function): New defconst.
8177 (tramp-completion-file-name-handler): Use it.
8178 (tramp-maybe-open-connection): Update calls to
8179 `tramp-flush-connection-property' for removed 2nd argument.
8180
8181 2008-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8182
8183 * vc-bzr.el (vc-bzr-diff): Use a faster invocation when possible.
8184 (vc-bzr-complete-with-prefix, vc-bzr-revision-completion-table):
8185 New functions.
8186
8187 2008-03-15 Glenn Morris <rgm@gnu.org>
8188
8189 * calendar/diary-lib.el (diary-list-entries-1, diary-mark-entries-1):
8190 New functions.
8191 * calendar/cal-bahai.el (number, original-date, add-to-diary-list)
8192 (diary-name-pattern, mark-calendar-days-named): Remove declarations.
8193 (diary-list-entries-1, diary-mark-entries-1): Autoload.
8194 (diary-bahai-list-entries): Use diary-list-entries-1.
8195 (diary-bahai-mark-entries): Doc fix. Use diary-mark-entries-1.
8196 * calendar/cal-hebrew.el (number, original-date, add-to-diary-list)
8197 (diary-name-pattern, mark-calendar-days-named): Remove declarations.
8198 (diary-list-entries-1, diary-mark-entries-1): Autoload.
8199 (list-hebrew-diary-entries): Use diary-list-entries-1.
8200 (mark-hebrew-diary-entries): Doc fix. Use diary-mark-entries-1.
8201 * calendar/cal-islam.el (number, original-date, add-to-diary-list)
8202 (diary-name-pattern, mark-calendar-days-named): Remove declarations.
8203 (diary-list-entries-1, diary-mark-entries-1): Autoload.
8204 (list-islamic-diary-entries): Use diary-list-entries-1.
8205 (mark-islamic-diary-entries): Doc fix. Use diary-mark-entries-1.
8206
8207 * calendar/appt.el (appt-check, appt-delete, appt-make-list): Use caar.
8208
8209 * calendar/cal-bahai.el (calendar-bahai-epoch): Doc fix.
8210
8211 * calendar/cal-china.el (number-chinese-months)
8212 (calendar-chinese-from-absolute): Use nth, caar.
8213
8214 * calendar/cal-coptic.el (coptic-calendar-epoch): Doc fix.
8215
8216 * calendar/cal-french.el (french-calendar-accents): Doc fix.
8217
8218 * calendar/cal-hebrew.el (calendar-hebrew-month-name-array-common-year)
8219 (calendar-hebrew-month-name-array-leap-year)
8220 (hebrew-calendar-parashiot-names): Make constants.
8221 (diary-parasha): Move definition after constants it uses.
8222
8223 * calendar/cal-html.el (cal-html-insert-link-yearpage)
8224 (cal-html-htmlify-list): Doc fix.
8225 (cal-html-htmlify-entry): Use nth.
8226
8227 * calendar/cal-islam.el (calendar-islamic-month-name-array)
8228 (calendar-islamic-epoch): Make constants.
8229 (calendar-islamic-epoch): Doc fix.
8230
8231 * calendar/cal-menu.el (cal-menu-goto-menu): Use "Go To".
8232
8233 * calendar/cal-tex.el (cal-tex-hook, cal-tex-insert-preamble)
8234 (cal-tex-month-name): Doc fix.
8235 (cal-tex-last-blank-p): Use zerop.
8236
8237 * calendar/calendar.el (european-calendar-style, calendar-for-loop)
8238 (calendar-sum, calendar-insert-indented, mouse-calendar-other-month)
8239 (calendar-cursor-to-date): Doc fix.
8240 (hebrew-holidays-1, hebrew-holidays-4): Simplify.
8241 (extract-calendar-day, extract-calendar-year): Use cadr, nth.
8242 (calendar-day-number): Use when.
8243 (generate-calendar-month): Use dotimes.
8244 (exit-calendar, calendar-print-other-dates): Use let rather than let*.
8245 (calendar-set-mark): Reverse conditional.
8246 (calendar-make-alist): Move definition before use.
8247
8248 * calendar/diary-lib.el (diary-face-attrs)
8249 (diary-glob-file-regexp-prefix, diary-selective-display)
8250 (number-of-diary-entries, diary-list-entries, diary-goto-entry)
8251 (list-sexp-diary-entries, diary-date, diary-block, diary-float)
8252 (diary-anniversary, diary-cyclic)
8253 (diary-fancy-font-lock-fontify-region-function): Doc fixes.
8254 (diary-header-line-format): Change wording.
8255 (diary-list-entries): Set `date-start' in let.
8256 (include-other-diary-files, mark-included-diary-files): Use format.
8257 (simple-diary-display, fancy-diary-display): Use cadr, unless.
8258 (mark-diary-entries): Use 1+.
8259 (mark-sexp-diary-entries, list-sexp-diary-entries): Use when.
8260 (mark-calendar-month): Use dotimes.
8261
8262 * calendar/holidays.el (displayed-month, displayed-year):
8263 Move declarations where needed.
8264 (calendar-list-holidays): Doc fix.
8265
8266 * calendar/parse-time.el (parse-time-string): Simplify.
8267
8268 * calendar/solar.el (solar-n-hemi-seasons, solar-s-hemi-seasons):
8269 Make constants.
8270 (solar-sunrise-sunset): Rename some local variables for clarity.
8271 (sunrise-sunset): Use zerop.
8272 (solar-mean-equinoxes/solstices): Doc fix.
8273
8274 * calendar/timeclock.el (timeclock-time-to-seconds, timeclock-log-data):
8275 Use nth.
8276 (timeclock-completing-read, timeclock-generate-report): Use zerop.
8277 (timeclock-mean, timeclock-generate-report): Use dolist.
8278
8279 * calendar/todo-mode.el (todo-add-category): Simplify.
8280 (todo-more-important-p, todo-delete-item, todo-file-item):
8281 Use unless, when.
8282 (todo-top-priorities): Use zerop.
8283
8284 2008-03-14 Nick Roberts <nickrob@snap.net.nz>
8285
8286 * buff-menu.el (list-buffers-noselect): Display buffer name in
8287 tooltip instead of mouse binding when it doesn't fit in the list.
8288
8289 2008-03-14 Dan Nicolaescu <dann@ics.uci.edu>
8290
8291 * faces.el (xw-defined-colors):
8292 * simple.el (widget-convert, shell-mode): Declare as functions
8293 instead of autoloading.
8294
8295 * abbrev.el:
8296 * button.el:
8297 * cus-face.el:
8298 * ediff-hook.el:
8299 * emacs-lisp/backquote.el:
8300 * emacs-lisp/timer.el:
8301 * facemenu.el:
8302 * faces.el:
8303 * menu-bar.el:
8304 * simple.el:
8305 * subr.el:
8306 * textmodes/fill.el:
8307 * textmodes/paragraphs.el: Remove autoloads, redundant when the
8308 files are preloaded.
8309
8310 2008-03-14 Stefan Monnier <monnier@iro.umontreal.ca>
8311
8312 * desktop.el (desktop-create-buffer): Don't catch errors if
8313 debug-on-error is set.
8314
8315 2008-03-14 Eli Zaretskii <eliz@gnu.org>
8316
8317 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
8318 ($(lisp)/calendar/diary-loaddefs.el)
8319 ($(lisp)/calendar/hol-loaddefs.el): New targets.
8320 (LOADDEFS): New macro.
8321 (autoloads): Depend on $(LOADDEFS).
8322
8323 2008-03-14 Dan Nicolaescu <dann@ics.uci.edu>
8324
8325 * font-lock.el (featurep): Remove test, not useful anymore.
8326 (facemenu-keymap): Move key binding ...
8327 * facemenu.el (facemenu-keymap): ... here.
8328
8329 * vc-bzr.el (vc-bzr-print-log): Insert a file marker. Run the log
8330 for each file in the list.
8331 (vc-bzr-log-view-mode): Recognize the file marker.
8332
8333 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
8334 for checkdoc and profiling.
8335
8336 2008-03-14 Bastien Guerry <bzg@altern.org>
8337
8338 * textmodes/flyspell.el (nxml-mode): Add the right
8339 `flyspell-mode-predicate'.
8340
8341 * wid-edit.el (link): Use 'mouse-face for :follow-link.
8342
8343 2008-03-14 Glenn Morris <rgm@gnu.org>
8344
8345 * calendar/solar.el: Reorder so that functions are defined before use.
8346 (displayed-month, displayed-year): Move declarations where needed.
8347 (solar-get-number): Move definition before use. Use unless.
8348 (solar-equatorial-coordinates): Simplify.
8349 (solar-sunrise-and-sunset): Use let rather than let*.
8350 (solar-longitude, solar-equinoxes-solstices): Use cadr, nth.
8351
8352 * startup.el (command-line-1): Rename -internal-script back to
8353 -scriptload (reverts previous change).
8354
8355 * calendar/cal-bahai.el (calendar-bahai-month-name-array)
8356 (calendar-bahai-leap-base): Add doc strings.
8357 (calendar-bahai-prompt-for-date, calendar-bahai-mark-date-pattern):
8358 Move definition before use.
8359 (calendar-bahai-goto-date, diary-bahai-list-entries): Doc fix.
8360 (diary-bahai-list-entries, diary-bahai-mark-entries): Move some constant
8361 variables outside the loop. Use dolist.
8362 (holiday-bahai, calendar-bahai-mark-date-pattern): Use unless.
8363
8364 * calendar/cal-china.el: Re-order so that functions are defined before
8365 use.
8366 (displayed-month, displayed-year): Move declarations where needed.
8367 (chinese-calendar-time-zone, calendar-goto-chinese-date): Doc fix.
8368 (chinese-calendar-celestial-stem, chinese-calendar-terrestrial-branch):
8369 Add doc strings.
8370 (chinese-year-cache): Recenter on 2010. Doc fix.
8371 (chinese-year, number-chinese-months, calendar-absolute-from-chinese):
8372 Doc fix. Simplify.
8373 (chinese-year-cache-init): New function.
8374 (compute-chinese-year, holiday-chinese-new-year)
8375 (calendar-chinese-date-string, calendar-goto-chinese-date)
8376 (make-chinese-month-assoc-list): Use cadr, nth.
8377 (chinese-months): Remove un-needed let.
8378
8379 * calendar/cal-coptic.el (coptic-calendar-month-name-array)
8380 (ethiopic-calendar-month-name-array, ethiopic-name): Add doc strings.
8381 (coptic-prompt-for-date): Move definition before use.
8382
8383 * calendar/cal-dst.el (calendar-time-zone-daylight-rules): Simplify.
8384 (calendar-dst-find-data, calendar-daylight-time-offset)
8385 (calendar-standard-time-zone-name, calendar-daylight-time-zone-name)
8386 (calendar-daylight-savings-starts-time)
8387 (calendar-daylight-savings-ends-time): Use cadr, nth.
8388
8389 * calendar/cal-french.el (french-calendar-epoch)
8390 (calendar-goto-french-date): Doc fix.
8391 (french-calendar-month-name-array)
8392 (french-calendar-multibyte-month-name-array)
8393 (french-calendar-day-name-array, french-calendar-special-days-array):
8394 Add doc strings.
8395
8396 * calendar/cal-hebrew.el (displayed-month, displayed-year)
8397 (original-date): Move declarations where needed.
8398 (calendar-goto-hebrew-date, list-hebrew-diary-entries, diary-yahrzeit):
8399 Doc fix.
8400 (list-hebrew-diary-entries, mark-hebrew-diary-entries): Move some
8401 constant variables outside the loop. Use dolist.
8402
8403 * calendar/cal-islam.el (displayed-month, displayed-year)
8404 (original-date): Move declarations where needed.
8405 (islamic-calendar-day-number): Remove unused local variable `day'.
8406 (calendar-goto-islamic-date): Doc fix.
8407 (holiday-islamic): Use unless.
8408 (list-islamic-diary-entries, mark-islamic-diary-entries): Move some
8409 constant variables outside the loop. Use dolist.
8410 (mark-islamic-calendar-date-pattern): Move definition before use.
8411 Use unless.
8412 (mark-islamic-diary-entries): Doc fix.
8413 (insert-islamic-diary-entry, insert-monthly-islamic-diary-entry)
8414 (insert-yearly-islamic-diary-entry): Use let rather than let*.
8415
8416 * calendar/cal-julian.el (calendar-absolute-from-julian):
8417 Move definition before use. Remove un-needed local `day'.
8418 (calendar-goto-julian-date, calendar-goto-astro-day-number): Doc fix.
8419
8420 * calendar/cal-mayan.el (calendar-mayan-haab-month-name-array)
8421 (calendar-mayan-tzolkin-names-array): Add doc strings.
8422 (calendar-mayan-long-count-from-absolute): Use a single let.
8423 (calendar-string-to-mayan-long-count): Simplify.
8424 (calendar-next-haab-date, calendar-previous-haab-date)
8425 (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
8426 (calendar-previous-calendar-round-date)
8427 (calendar-goto-mayan-long-count-date, calendar-mayan-date-string):
8428 Doc fix.
8429 (calendar-mayan-tzolkin-haab-on-or-before): Use zerop.
8430 (calendar-mayan-date-string, calendar-print-mayan-date)
8431 (calendar-read-mayan-haab-date, calendar-read-mayan-tzolkin-date)
8432 (calendar-mayan-long-count-common-era): Move definitions before use.
8433
8434 * calendar/cal-menu.el (displayed-year): Move declaration where needed.
8435 (calendar-event-to-date, cal-tex-mouse-week, cal-tex-mouse-week-iso):
8436 Doc fix.
8437 (calendar-mouse-goto-date): Move definition before use.
8438
8439 * calendar/cal-move.el (calendar-cursor-to-nearest-date): Use or, when.
8440 Move definition before use.
8441 (calendar-cursor-to-visible-date): Move definition before use.
8442 (calendar-scroll-left): Use unless and zerop. Combine lets into one,
8443 and place inside the conditional.
8444 (calendar-forward-day): Simplify.
8445 (calendar-end-of-month): Use unless.
8446 (calendar-goto-day-of-year): Doc fix.
8447 Relocate obsolete aliases after their replacements.
8448
8449 * calendar/cal-persia.el (calendar-goto-persian-date): Doc fix.
8450
8451 * calendar/diary-lib.el (mark-diary-entries): Move some constant
8452 variables outside the diary-date-forms loop.
8453
8454 * calendar/calendar.el (diary-file): Doc fix.
8455 (calendar-buffer-list): Return buffers rather than strings (fixes
8456 previous change).
8457 (hebrew-holidays-4): Fix typo.
8458
8459 * calendar/holidays.el (displayed-month, displayed-year):
8460 Move declarations where needed.
8461 (calendar-holiday-list, calendar-list-holidays)
8462 (holiday-filter-visible-calendar): Move definitions before use.
8463 (list-holidays): Use cadr.
8464 Relocate obsolete aliases after their replacements.
8465
8466 * calendar/lunar.el (date, displayed-month, displayed-year):
8467 Move declarations where needed.
8468 (lunar-phase-list): Move definition after functions it uses.
8469 (calendar-phases-of-moon, diary-phases-of-moon)
8470 (lunar-new-moon-on-or-after): Use cadr, nth.
8471 (lunar-new-moon-on-or-after): Doc fix.
8472
8473 * textmodes/org-irc.el (top-level): CL not required when compiling.
8474 (org-irc-visit-erc): Replace runtime CL functions.
8475
8476 * textmodes/org-publish.el (declare-function): Add compatibility stub.
8477 (org-publish-delete-dups): Declare as function.
8478
8479 2008-03-14 Dan Nicolaescu <dann@ics.uci.edu>
8480
8481 * vc-bzr.el (vc-bzr-log-view-mode): "." can be part of a revno.
8482 (vc-bzr-show-log-entry): Make regexp match more cases.
8483 (vc-diff-switches-list): Remove autoload, not needed.
8484
8485 2008-03-14 Juri Linkov <juri@jurta.org>
8486
8487 * isearch.el (isearch-edit-string): Remove one call to
8488 `isearch-push-state' not to push an inconsistent state,
8489 but keep another correct call to `isearch-push-state'.
8490 (isearch-ring-adjust): Call `isearch-push-state' only when
8491 `search-ring-update' is non-nil since `isearch-edit-string'
8492 already pushes its state.
8493 (isearch-message): Improve matching the failed part by checking
8494 if the original message starts with the last successful message.
8495
8496 * dired.el (dired-warn-writable): Rename to `dired-perm-write'.
8497 (dired-perm-write): Rename from `dired-warn-writable'.
8498 Change parent face from `font-lock-warning-face' to
8499 `font-lock-comment-delimiter-face'.
8500 (dired-warn-writable-face): Rename to `dired-perm-write-face'.
8501 (dired-perm-write-face): Rename from `dired-warn-writable-face'.
8502 (dired-font-lock-keywords): Replace `dired-warn-writable-face'
8503 with `dired-perm-write-face'.
8504
8505 2008-03-13 Tassilo Horn <tassilo@member.fsf.org>
8506
8507 * doc-view.el (doc-view-doc->txt, doc-view-convert-current-doc):
8508 Create cache dir only if it doesn't already exist.
8509
8510 2008-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
8511
8512 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Fix handling
8513 of \ and '.
8514
8515 2008-03-13 Johan Bockgård <bojohan@gnu.org>
8516
8517 * net/browse-url.el (browse-url-text-xterm):
8518 Unquote browse-url-text-browser.
8519
8520 2008-03-13 Carsten Dominik <dominik@science.uva.nl>
8521
8522 * textmodes/org-mouse.el: Version number change.
8523
8524 * textmodes/org-publish.el (org-publish-expand-components):
8525 Remove null projects from the list of components.
8526 (org-publish-attachment): Bugfix: handle mandatory argument pub-dir.
8527 Remove unused retrieval of the :publishing-directory property.
8528 (org-publish-file): Bugfix: when using a relative directory as the
8529 publishing directory, convert it to a directory filename.
8530 (org-publish-project): New alias.
8531 (org-publish-get-files): Protect against empty p.
8532 (org-publish-file): Send an error when file is not part of any project.
8533 (org-publish-file): Offer to refresh the list of files in known
8534 project when the current file is not part of any project.
8535 (org-publish-before-export-hook)
8536 (org-publish-after-export-hook): New hooks.
8537 (org-publish-org-to): Use new hooks and kill buffers.
8538 (org-publish-file): Remove the code for killing buffers.
8539 (org-publish-initialize-files-alist): Use interactive.
8540 (org-publish-file): If the publishing function creates a new
8541 buffer, kill it after publishing.
8542 (org-publish-timestamp-filename): Protect ":" in file name path
8543 under windows.
8544
8545 * textmodes/org-export-latex.el (org-export-as-latex): Revert the
8546 change that killed the LaTeX buffer.
8547
8548 * textmodes/org.el (org-ctrl-c-star): Implement a missing branch
8549 in the decision tree.
8550 (org-select-remember-template): Clean the code.
8551 (org-prepare-dblock): Add the extra :content parameter.
8552 (org-write-agenda): New output type ".ics" files.
8553 (org-write-agenda): Call `org-icalendar-verify-function', both for
8554 time stamps and for TODO entries.
8555 (org-agenda-collect-markers, org-create-marker-find-array)
8556 (org-check-agenda-marker-table): New functions.
8557 (org-agenda-marker-table): New variable.
8558 (org-export-as-html): Revert the change that killed the html
8559 buffer. Side effects first need to be studied carefully.
8560 (org-get-tags-at): Fix the structure of the condition-case statement.
8561 (org-ts-regexp0, org-repeat-re, org-display-custom-time)
8562 (org-timestamp-change): Fix regulear expressions to swallow the
8563 extra character for repeat-shift control.
8564 (org-auto-repeat-maybe): Implement the new repeater mechanisms.
8565 (org-get-legal-level): Alias to `org-get-valid-level'.
8566 (org-dblock-write:clocktable): Add a :link parameter, linking
8567 headlines to their location in the Org agenda files.
8568 (org-get-tags-at): Bugfix: prevent `org-back-to-heading' from
8569 throwing an error when getting tags before headlines.
8570 (org-timestamp-change, org-modify-ts-extra)
8571 (org-ts-regexp1): Fix timestamp editing.
8572 (org-agenda-custom-commands-local-options): New constant.
8573 (org-agenda-custom-commands):
8574 Use `org-agenda-custom-commands-local-options' to improve customize
8575 type. "htmlize": Removed hack to fix face problem with htmlize,
8576 it no longer seem necessary.
8577 (org-follow-link-hook): New hook.
8578 (org-agenda-custom-commands): Add "Component" as a tag for each
8579 item in a command serie.
8580 (org-open-at-point): Run `org-follow-link-hook'.
8581 (org-agenda-schedule): Bugfix: don't display marker type when it
8582 is nil.
8583 (org-store-link): org-irc required.
8584 (org-set-regexps-and-options): Parse the new logging options.
8585 (org-extract-log-state-settings): New function.
8586 (org-todo): Handle the new ways of recording state change stuff.
8587 (org-local-logging): New function.
8588 (org-columns-open-link): Fix bug with opening link in column view.
8589 (org-local-logging): New function.
8590 (org-todo): Make sure that LOGGING properties are honoured.
8591 (org-todo-keywords): Improve docstring.
8592 (org-startup-options): Cleanup startup options.
8593 (org-set-regexps-and-options): Process the "!" markers.
8594 (org-todo): Respect the new logging stuff.
8595 (org-log-note-how): New variable.
8596 (org-add-log-maybe): New parameter HOW that defines how logging
8597 should be done and also overrides PURPOSE. Add a docstring.
8598 (org-add-log-note): Check if we really need to ask for a note.
8599 (org-get-current-options): Digest the new keyword.
8600 (org-agenda-reset-markers): Rename from
8601 `org-agenda-maybe-reset-markers'. Remove FORCE argument.
8602 (org-diary, org-agenda-quit, org-prepare-agenda): Call the renamed
8603 function, without force argument.
8604 (org-buffer-property-keys): Bind local variables s and p.
8605 (org-make-tags-matcher): Allow "" to match an empty or
8606 non-existent property value.
8607 (org-export-as-html): Join unsorted lists when they directly
8608 follow each other. Such lists may be created by headlines that
8609 are converted to lists.
8610 (org-nofm-to-completion): New function.
8611 (org-export-as-html): Use :html-extension instead of
8612 org-export-html-extension.
8613 (org-store-link): Support for links from `rmail-summary-mode'.
8614 (org-columns-new, org-complete, org-set-property): Set the
8615 `include-columns' argument in the call to
8616 `org-buffer-property-keys'.
8617 (org-buffer-property-keys): New argument `include-columns', to
8618 include properties expected by any of the COLUMS formats in the
8619 current buffer.
8620 (org-cleaned-string-for-export): Get rid of drawers first, so that
8621 they will be removed also in the text before the first headline.
8622 (org-clock-report): Show the clocktable when found.
8623 (org-refile): Fix positioning bug when `org-reverse-note-order' is nil.
8624 (org-version): With prefix argument, insert `org-version' at point.
8625 (org-agenda-goto): Recenter the window after finding the target
8626 location, to make sure the correct position will be displayed.
8627 (org-agenda-get-deadlines): Don't scale priority with the warning
8628 period.
8629 (org-insert-heading): Don't break line in the middle of the line.
8630 (org-agenda-get-deadlines): Allow `org-deadline-warning-days' to
8631 be 0.
8632 (org-update-checkbox-count): Revamp to deal with hierarchical
8633 beckboxes. This was a patch from Miguel A. Figueroa-Villanueva.
8634 (org-remove-timestamp-with-keyword): New function.
8635 (org-schedule, org-deadline):
8636 Use `org-remove-timestamp-with-keyword' to make sure all such time
8637 stamps are removed.
8638 (org-mode): Support for `align'.
8639 (org-agenda-get-deadlines): Make sure priorities increase as the
8640 due date approaches and is passed.
8641 (org-remember-apply-template): Fix problem with tags that
8642 contain "_" or "@".
8643 (org-make-link-regexps): Improve the regular expression for plain links.
8644 (org-agenda-get-closed): List each clocking entry.
8645 (org-set-tags): Only tabify before tags if indent-tabs-mode is t.
8646 (org-special-ctrl-k): New option.
8647 (org-kill-line): New function.
8648 (org-archive-all-done): Fix incorrect number of stars in regexp.
8649 (org-refile-get-location): New function.
8650 (org-refile-goto-last-stored): New function.
8651 (org-global-tags-completion-table): Add the value of org-tag-alist
8652 in each buffer, to make sure that also unused tags will be
8653 available for completion.
8654 (org-columns-edit-value)
8655 (org-columns-next-allowed-value): Only update if not in agenda.
8656 (org-clocktable-steps): New function.
8657 (org-dblock-write:clocktable): Call `org-clocktable-steps'.
8658 (org-archive-subtree): Add the outline tree context as a property.
8659 (org-closest-date): New optional argument `prefer'.
8660 (org-goto-auto-isearch): New option.
8661 (org-goto-map, org-get-location): Implement auto-isearch.
8662 (org-goto-local-auto-isearch-map): New variable.
8663 (org-goto-local-search-forward-headings)
8664 (org-goto-local-auto-isearch): New functions.
8665
8666 2008-03-13 Philip Jackson <emacs@shellarchive.co.uk>
8667
8668 * textmodes/org-irc.el: New file.
8669
8670 2008-03-13 John Wiegley <johnw@gnu.org>
8671
8672 * textmodes/org-mac-message.el: New file.
8673
8674 2008-03-13 Dan Nicolaescu <dann@ics.uci.edu>
8675
8676 * font-lock.el (font-lock-comment-face): Set the foreground for
8677 the light background 8 colors case.
8678
8679 2008-03-13 Glenn Morris <rgm@gnu.org>
8680
8681 * font-lock.el (lisp-font-lock-keywords-1): Support wider range of
8682 generate-autoload-cookie patterns.
8683
8684 * startup.el (command-line-1): Rename -scriptload to -internal-script.
8685
8686 * Makefile.in ($(lisp)/loaddefs.el): Remove this target.
8687 (MH_E_SRC): Remove variable.
8688 ($(lisp)/mh-e/mh-loaddefs.el): Remove $MH_E_SRC dependency.
8689 Simplify file header. Use $@ for generated-autoload-file.
8690
8691 * Makefile.in (LOADDEFS): New variable.
8692 (AUTOGENEL): Use $LOADDEFS.
8693 (autoloads): Remove $(lisp)/loaddefs.el dependency; add $LOADDEFS.
8694 ($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
8695 ($(lisp)/calendar/hol-loaddefs.el): New targets.
8696 * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
8697 * calendar/cal-french.el, calendar/cal-hebrew.el, calendar/cal-html.el:
8698 * calendar/cal-islam.el, calendar/cal-iso.el, calendar/cal-julian.el:
8699 * calendar/cal-mayan.el, calendar/cal-move.el, calendar/cal-persia.el:
8700 * calendar/cal-tex.el, calendar/cal-x.el, calendar/diary-lib.el:
8701 * calendar/holidays.el, calendar/lunar.el, calendar/solar.el:
8702 Add calendar-specific autoload cookies, and remove any setting of
8703 generated-autoload-file.
8704 * calendar/calendar.el: Remove explicit autoloads now in cal-loaddefs.
8705 * calendar/diary-lib.el: Replace explicit autoloads with reading of
8706 diary-loaddefs.
8707 * calendar/holidays.el: Replace explicit autoloads with reading of
8708 hol-loaddefs.
8709
8710 * calendar/calendar.el (cal-hebrew-yahrzeit-buffer): New constant.
8711 (calendar-buffer-list): Simplify.
8712 (generate-calendar-window): Use calendar-mark-holidays rather than
8713 obsolete alias.
8714
8715 * calendar/cal-hebrew.el (list-yahrzeit-dates):
8716 Use cal-hebrew-yahrzeit-buffer.
8717
8718 * calendar/cal-x.el (calendar-only-one-frame-setup)
8719 (calendar-two-frame-setup): Doc fixes.
8720 (special-display-buffer-names): Use cal-hebrew-yahrzeit-buffer.
8721
8722 * calendar/appt.el (appt-mode-string): Mark as risky.
8723 (appt-check): Apply mode-line-emphasis face to appt-mode-string.
8724
8725 * calendar/cal-html.el (diary-list-entries):
8726 * calendar/cal-tex.el (calendar-holiday-list, diary-list-entries)
8727 (calendar-iso-from-absolute): Fix autoloads.
8728
8729 * calendar/cal-iso.el (calendar-absolute-from-iso)
8730 (calendar-iso-read-args): Simplify.
8731 (calendar-iso-date-string, calendar-iso-read-args)
8732 (calendar-goto-iso-date, calendar-goto-iso-week): Doc fixes.
8733
8734 * calendar/cal-julian.el (calendar-julian-from-absolute): Use zerop.
8735 (displayed-month, displayed-year): Move declarations where needed.
8736 (calendar-print-astro-day-number): Doc fix.
8737
8738 * calendar/cal-persia.el (persian-calendar-month-name-array)
8739 (persian-calendar-epoch, calendar-persian-date-string): Doc fixes.
8740 (persian-prompt-for-date): Remove local variable `today'.
8741
8742 * calendar/diary-lib.el (mark-calendar-month): Use zerop.
8743
8744 * calendar/solar.el (solar-moment, solar-exact-local-noon)
8745 (solar-sunrise-sunset, solar-sunrise-sunset-string)
8746 (solar-ephemeris-time, solar-date-next-longitude, solar-sidereal-time)
8747 (diary-sabbath-candles, solar-equinoxes/solstices)
8748 (solar-equinoxes-solstices): Use cadr, cdar, nth, zerop.
8749 (solar-time-equation, solar-date-to-et): Simplify.
8750
8751 * mail/supercite.el: Remove the `function' in `(function (lambda'.
8752 Replace `(car (cdr' with cadr'.
8753
8754 * progmodes/f90.el (f90-font-lock-n): New function.
8755 (f90-font-lock-1, f90-font-lock-2, f90-font-lock-3, f90-font-lock-4):
8756 Use f90-font-lock-n.
8757 (f90-indent-region, f90-indent-subprogram, f90-match-end): Use cadr.
8758
8759 * progmodes/f90.el (f90-mode-abbrev-table):
8760 * progmodes/fortran.el (fortran-mode-abbrev-table):
8761 Use newer form of define-abbrev, where supported. No need to bind
8762 abbrevs-changed for system abbrevs.
8763
8764 2008-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
8765
8766 * term/xterm.el (terminal-init-xterm): delete-frame-hook ->
8767 delete-frame-functions.
8768
8769 * bookmark.el (Info-current-node): Remove.
8770
8771 2008-03-12 Juri Linkov <juri@jurta.org>
8772
8773 * help.el (describe-project): Remove defaliases for view-todo and
8774 describe-project that are now unnecessary after the merge from
8775 emacs--rel--22 that added define-obsolete-function-alias.
8776
8777 * startup.el (inhibit-startup-screen): Revert incomplete
8778 2008-03-10 merge from emacs--rel--22 that partly reverted
8779 2008-02-28 change that added initial message to *scratch* buffer
8780 regardless of the value of `inhibit-startup-screen'.
8781 Now keep this change in the trunk, but not in the 22 branch.
8782
8783 2008-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8784
8785 * international/quail.el (quail-setup-completion-buf, quail-help):
8786 * mail/binhex.el (binhex-decode-region-internal):
8787 * mail/uudecode.el (uudecode-decode-region-internal):
8788 * net/dns.el (dns-read-string-name, dns-read, dns-read-type, query-dns):
8789 * sha1.el (sha1-string-external): Use set-buffer-multibyte rather than
8790 setting default-enable-multibyte-characters.
8791
8792 * emulation/viper-util.el (viper-file-remote-p): Remove, unused.
8793
8794 * comint.el: Fix up indentation and comment style. Remove `function'.
8795
8796 * international/mule-cmds.el (reset-language-environment)
8797 (set-language-environment-nonascii-translation):
8798 Don't set-unibyte-charset.
8799
8800 * doc-view.el: Remove all cb-args, use closures instead.
8801 (doc-view-sentinel): Merge doc-view-dvi->pdf-sentinel,
8802 doc-view-ps->pdf-sentinel, and doc-view-pdf->txt-sentinel (which was
8803 doing an incorrect check). Update all callers to use the new name.
8804 (doc-view-doc->txt): Add missing `txt' argument.
8805
8806 2008-03-12 Tassilo Horn <tassilo@member.fsf.org>
8807
8808 * doc-view.el (doc-view-current-cache-dir): Set buffer used for
8809 md5 sum calculation to single-byte.
8810
8811 2008-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8812
8813 * doc-view.el (doc-view-new-window-function): Add assertion.
8814 (doc-view-doc-type): New var.
8815 (doc-view-convert-current-doc, doc-view-doc->txt): Use it.
8816 (doc-view-intersection): New fun.
8817 (doc-view-mode): Use it to set the new var.
8818
8819 2008-03-12 Tassilo Horn <tassilo@member.fsf.org>
8820
8821 * doc-view.el (doc-view-doc->txt, doc-view-open-text)
8822 (doc-view-already-converted-p): New functions.
8823 (doc-view-clear-cache): Don't recreate doc-view-cache-directory.
8824 (doc-view-mode-map): Bind C-c C-t to doc-view-open-text.
8825 (doc-view-dvi->pdf-sentinel, doc-view-dvi->pdf)
8826 (doc-view-pdf->txt-sentinel, doc-view-pdf->txt)
8827 (doc-view-ps->pdf-sentinel, doc-view-ps->pdf)
8828 (doc-view-convert-current-doc): Don't hardwire the functions the
8829 sentinels call. Now they're provided by two args CALLBACK and
8830 CB-ARGS to the functions.
8831 (doc-view-search): Use doc-view-doc->txt.
8832 (doc-view-initiate-display): Use doc-view-already-converted-p.
8833 Mention new binding C-c C-t if doc-view-mode doesn't work.
8834
8835 2008-03-12 Dan Nicolaescu <dann@ics.uci.edu>
8836
8837 * diff-mode.el (diff-refine-change): Adjust colors to be more visible.
8838
8839 2008-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8840
8841 * textmodes/sgml-mode.el (sgml-font-lock-syntactic-keywords):
8842 Mark " outside of tags as punctuation.
8843
8844 2008-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
8845
8846 * menu-bar.el (minibuffer-local-map): Use the same command for the
8847 "Quit" menu as used for the C-g key, so the shortcut displayed is C-g.
8848 Prefer RET over C-j for exit-minibuffer.
8849
8850 * files.el (display-buffer-other-frame): Eliminate problematic code.
8851
8852 * menu-bar.el (menu-bar-update-buffers-maxbuf): Remove.
8853 (menu-bar-select-buffer): Remove.
8854 (menu-bar-select-frame): Make non-interactive and take a frame arg.
8855 (menu-bar-update-buffers): Don't use buffer-names or frame names as events.
8856
8857 2008-03-11 Juanma Barranquero <lekktu@gmail.com>
8858
8859 * icomplete.el (icomplete-completions): Remove obsolete code.
8860
8861 * net/net-utils.el (iwconfig-program-options): Doc fix.
8862 (net-utils-run-program, run-network-program): Define as functions.
8863
8864 2008-03-11 Dan Nicolaescu <dann@ics.uci.edu>
8865
8866 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map): Fix typo.
8867
8868 2008-03-11 Glenn Morris <rgm@gnu.org>
8869
8870 * faces.el (mode-line-emphasis): New face.
8871 * vc.el (vc-set-mode-line-busy-indicator): Use mode-line-emphasis face.
8872
8873 * calendar/calendar.el (top-level): Load cal-loaddefs when compiling.
8874
8875 2008-03-11 Chong Yidong <cyd@stupidchicken.com>
8876
8877 * simple.el (set-mark-command): Doc fix.
8878
8879 2008-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
8880
8881 * Makefile.in (bootstrap-prepare): Don't chmod cal-loaddefs.el.
8882
8883 * emacs-lisp/autoload.el (autoload-find-destination):
8884 Don't force raw-text.
8885
8886 * calendar/calendar.el ("cal-loaddefs"): Load, rather than require.
8887 * calendar/cal-loaddefs.el: Don't version control.
8888
8889 2008-03-10 Dan Nicolaescu <dann@ics.uci.edu>
8890
8891 * progmodes/make-mode.el (makefile-mode-abbrev-table): Add menu
8892 entries and add :help to the existing ones.
8893
8894 2008-03-10 Glenn Morris <rgm@gnu.org>
8895
8896 * calendar/cal-hebrew.el (date, entry, number): Move declarations
8897 to where they are needed.
8898
8899 * calendar/calendar.el (diary-file, hebrew-holidays-1)
8900 (hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
8901 (calendar, calendar-basic-setup, calendar-mode-map, calendar-set-mark)
8902 (calendar-version): Doc fixes.
8903 (calendar-absolute-from-gregorian): Use zerop.
8904 (calendar-mode-line-format): Make it a defcustom.
8905
8906 * calendar/diary-lib.el (diary-face-attrs): Fix custom :type.
8907 (diary-face-attrs, diary-glob-file-regexp-prefix, diary-unknown-time)
8908 (diary-pull-attrs, diary-header-line-flag, diary-list-entries)
8909 (diary-unhide-everything, include-other-diary-files, diary-goto-entry)
8910 (mark-included-diary-files, mark-calendar-days-named)
8911 (mark-calendar-date-pattern, mark-calendar-month, diary-entry-compare)
8912 (diary-remind, insert-diary-entry, insert-weekly-diary-entry)
8913 (insert-monthly-diary-entry, insert-yearly-diary-entry)
8914 (insert-anniversary-diary-entry, insert-block-diary-entry)
8915 (insert-cyclic-diary-entry, fancy-diary-font-lock-keywords)
8916 (diary-font-lock-sexps): Doc fixes.
8917 (diary-remind-message, mark-calendar-month): Use zerop.
8918 (diary-attrtype-convert, diary-pull-attrs): Simplify.
8919 (diary-list-entries): Revert let to let* (previous change).
8920
8921 * Makefile.in (bootstrap-prepare): Also chmod cal-loaddefs.el.
8922
8923 2008-03-10 Kim F. Storm <storm@cua.dk>
8924
8925 * help.el (view-emacs-todo, describe-gnu-project): Define obsolete
8926 function aliases for the old names.
8927
8928 2008-03-10 Juanma Barranquero <lekktu@gmail.com>
8929
8930 * iswitchb.el (iswitchb-use-faces): Doc fix.
8931 (iswitchb-buffer-ignore, iswitchb-read-buffer):
8932 Fix typos in docstrings.
8933
8934 2008-03-10 Dan Nicolaescu <dann@ics.uci.edu>
8935
8936 * progmodes/verilog-mode.el (verilog-highlight-grouping-keywords):
8937 Fix typo.
8938 (verilog-type-font-keywords): Reindent.
8939
8940 2008-03-10 Michael McNamara <mac@mail.brushroad.com>
8941
8942 * verilog-mode.el (verilog-font-grouping-keywords): Fix bug in the
8943 grouping-keyword regular expression.
8944 (verilog-font-lock-keywords): Allow users to toggle special
8945 highlight of grouping-keywords.
8946 (verilog-highlight-grouping-keywords): The toggle for special
8947 highlighting of grouping keywords.
8948
8949 2008-03-10 Juri Linkov <juri@jurta.org>
8950
8951 * startup.el: Revert 2008-02-28 change that adds initial message
8952 to *scratch* buffer regardless of the value of
8953 `inhibit-startup-screen'.
8954
8955 2008-03-10 Dan Nicolaescu <dann@ics.uci.edu>
8956
8957 * textmodes/css-mode.el (css-indent-offset, css-electric-keys):
8958 * textmodes/bibtex-style.el (bibtex-style-indent-basic):
8959 * progmodes/verilog-mode.el (verilog-mode):
8960 * net/socks.el (socks):
8961 * vc-mtn.el (vc-mtn-mode-line-rewrite): Add :version.
8962
8963 2008-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
8964
8965 * doc-view.el (bookmark-buffer-file-name, bookmark-prop-get): Declare.
8966 (doc-view-bookmark-make-record): Use them.
8967 (doc-view-bookmark-jump): Use them. Fix find-file ->find-file-noselect.
8968 (bookmark-get-filename, bookmark-get-bookmark-record): Remove.
8969
8970 * bookmark.el (bookmark-make-record-function): Change expected return
8971 value to include a suggested bookmark name.
8972 (bookmark-make): Split into bookmark-make-record and bookmark-store.
8973 Fix reversed `overwrite' semantics.
8974 (bookmark-set): Call bookmark-make-record before prompting the user.
8975 Then pass the result to bookmark-store later on.
8976 (bookmark-make-name-function): Remove.
8977 (bookmark-buffer-file-name, bookmark-buffer-name): Don't use it.
8978 * info.el (bookmark-make-name-function): Remove.
8979 (Info-mode): Don't set it.
8980 (Info-bookmark-make-name): Remove.
8981 (Info-bookmark-make-record): Use Info-current-node as suggested default
8982 bookmark name.
8983
8984 * bookmark.el (bookmark-set): Make bookmark before reading annotations.
8985 I.e. use bookmark-edit-annotation rather than bookmark-read-annotation.
8986 (bookmark-read-annotation-mode-map, bookmark-annotation-paragraph)
8987 (bookmark-annotation-buffer, bookmark-annotation-file)
8988 (bookmark-annotation-point, bookmark-send-annotation)
8989 (bookmark-read-annotation-mode, bookmark-read-annotation): Remove.
8990 (bookmark-edit-annotation-text-func): Rename from
8991 bookmark-read-annotation-text-func. Keep old name as an obsolete alias.
8992 (bookmark-edit-annotation-mode-map): Move initialization into
8993 declaration.
8994
8995 * bookmark.el: Remove spurious * in docstrings.
8996 (bookmark-minibuffer-read-name-map): New var.
8997 (bookmark-set): Use it. Also pass the default value as it should.
8998 (bookmark-send-edited-annotation): Take no chances with text properties.
8999 (bookmark-insert-current-bookmark): Inline bookmark-insert-buffer-name.
9000 (bookmark-insert-buffer-name): Remove.
9001 (bookmark-buffer-file-name): Signal an error rather than returning nil.
9002
9003 2008-03-09 Thomas Hühn <xf27@arcor.de> (tiny change)
9004
9005 * tutorial.el (tutorial--default-keys): Update `C-l' binding.
9006
9007 2008-03-09 Dan Nicolaescu <dann@ics.uci.edu>
9008
9009 * diff-mode.el (diff-mode-menu): Add :help.
9010
9011 2008-03-09 Glenn Morris <rgm@gnu.org>
9012
9013 * calendar/calendar.el (general-holidays, oriental-holidays)
9014 (local-holidays, other-holidays, hebrew-holidays-1, hebrew-holidays-2)
9015 (hebrew-holidays-3, hebrew-holidays-4, hebrew-holidays)
9016 (christian-holidays, islamic-holidays, bahai-holidays, solar-holidays)
9017 (calendar-holidays): Restore autoload cookies, because people are
9018 used to using these variables without loading calendar.el.
9019
9020 * calendar/cal-islam.el (diary-islamic-date): Move to end.
9021 (date, number): Declare where needed.
9022
9023 * calendar/diary-lib.el (nongregorian-diary-marking-hook)
9024 (list-sexp-diary-entries): Doc fixes.
9025 (diary-list-entries): Doc fix. Remove free variable `entry'.
9026 (fancy-diary-display): Use dolist, bobp. Remove free variable `entry'.
9027 Simplify setting of `date-holiday-list'.
9028 (mark-diary-entries): Remove free variable `entry'.
9029 (diary-list-entries, include-other-diary-files, fancy-diary-display):
9030 Use let where let* is not needed.
9031
9032 2008-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
9033
9034 * bookmark.el (bookmark-make): Don't pass the `annotation' to the
9035 make-record function, instead paste it in afterwards.
9036 (bookmark-make-record-for-text-file):
9037 * doc-view.el (doc-view-bookmark-make-record):
9038 * info.el (Info-bookmark-make-record): Don't mess with annotations.
9039
9040 2008-03-08 Glenn Morris <rgm@gnu.org>
9041
9042 * calendar/diary-lib.el (entry): Declare for compiler part-way through.
9043
9044 2008-03-08 Stefan Monnier <monnier@iro.umontreal.ca>
9045
9046 * calendar/diary-lib.el (diary-list-entries)
9047 (include-other-diary-files, mark-diary-entries)
9048 (mark-sexp-diary-entries, mark-included-diary-files)
9049 (diary-entry-time, list-sexp-diary-entries): Remove the special
9050 handling of ^M that dates back to the use of selective-display.
9051 (simple-diary-display): Obey setting of pop-up-frames.
9052 (body, entry): Remove unnecessary declarations.
9053
9054 * bookmark.el (bookmark-prop-get, bookmark-prop-set): New funs.
9055 (bookmark-get-annotation, bookmark-set-annotation)
9056 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
9057 (bookmark-set-position, bookmark-get-front-context-string)
9058 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
9059 (bookmark-set-rear-context-string, bookmark-get-handler): Use them.
9060 * info.el (Info-bookmark-make-record): Don't bother recording point.
9061 (bookmark-get-filename, bookmark-get-front-context-string)
9062 (bookmark-get-rear-context-string, bookmark-get-position):
9063 Don't declare any more.
9064 (bookmark-get-info-node): Remove.
9065 (bookmark-prop-get): Declare.
9066 (Info-bookmark-jump): Use it.
9067
9068 2008-03-08 Johan Bockgård <bojohan@gnu.org>
9069
9070 * subr.el (while-no-input): Don't splice BODY directly into the
9071 `or' form.
9072
9073 2008-03-08 Dan Nicolaescu <dann@ics.uci.edu>
9074
9075 * diff-mode.el (diff-ignore-whitespace-hunk):
9076 Bind inhibit-read-only before trying to change the buffer.
9077
9078 2008-03-08 Glenn Morris <rgm@gnu.org>
9079
9080 * calendar/appt.el (appt): Move custom group here from calendar.el.
9081 (appt-disp-window, appt-convert-time): Doc fixes.
9082
9083 * calendar/cal-bahai.el (calendar-bahai-prompt-for-date)
9084 (calendar-bahai-mark-date-pattern):
9085 * calendar/cal-hebrew.el (mark-hebrew-calendar-date-pattern):
9086 * calendar/cal-islam.el (mark-islamic-calendar-date-pattern):
9087 * calendar/cal-julian.el (calendar-absolute-from-julian):
9088 * calendar/cal-persia.el (persian-prompt-for-date): Use zerop.
9089
9090 * calendar/cal-china.el (chinese-calendar): Move custom group here from
9091 calendar.el.
9092 (chinese-calendar-celestial-stem, chinese-calendar-terrestrial-branch):
9093 Make constants.
9094 (chinese-calendar-time-zone, chinese-calendar-daylight-time-offset)
9095 (chinese-calendar-daylight-savings-starts)
9096 (chinese-calendar-daylight-savings-ends)
9097 (chinese-calendar-daylight-savings-starts-time)
9098 (chinese-calendar-daylight-savings-ends-time)
9099 (chinese-zodiac-sign-on-or-after, chinese-new-moon-on-or-after):
9100 Doc fixes.
9101
9102 * calendar/cal-coptic.el (coptic-name): Add doc string.
9103
9104 * calendar/cal-french.el (french-calendar-month-name-array)
9105 (french-calendar-day-name-array, french-calendar-special-days-array):
9106 Add doc strings.
9107
9108 * calendar/cal-bahai.el (diary-bahai-mark-entries)
9109 (diary-bahai-insert-entry, diary-bahai-insert-monthly-entry)
9110 (diary-bahai-insert-yearly-entry):
9111 * calendar/cal-dst.el (calendar-next-time-zone-transition)
9112 (calendar-time-zone):
9113 * calendar/cal-hebrew.el (hebrew-calendar-leap-year-p)
9114 (hebrew-calendar-elapsed-days, hebrew-calendar-long-heshvan-p)
9115 (hebrew-calendar-short-kislev-p, mark-hebrew-diary-entries)
9116 (insert-hebrew-diary-entry, insert-monthly-hebrew-diary-entry)
9117 (insert-yearly-hebrew-diary-entry, diary-yahrzeit):
9118 * calendar/cal-islam.el (islamic-calendar-leap-year-p)
9119 (list-islamic-diary-entries, mark-islamic-diary-entries)
9120 (insert-islamic-diary-entry, insert-monthly-islamic-diary-entry)
9121 (insert-yearly-islamic-diary-entry):
9122 * calendar/cal-iso.el (calendar-iso-read-args):
9123 * calendar/cal-mayan.el (calendar-string-to-mayan-long-count)
9124 (calendar-mayan-haab-to-string, calendar-mayan-tzolkin-to-string)
9125 (calendar-read-mayan-haab-date, calendar-read-mayan-tzolkin-date)
9126 (calendar-next-calendar-round-date)
9127 (calendar-mayan-long-count-common-era):
9128 * calendar/cal-menu.el (cal-menu-holiday-window-suffix)
9129 (cal-menu-x-popup-menu, calendar-mouse-holidays)
9130 (calendar-mouse-view-diary-entries, calendar-mouse-print-dates)
9131 (calendar-mouse-goto-date):
9132 * calendar/cal-move.el (calendar-scroll-left, calendar-scroll-right):
9133 * calendar/holidays.el (holidays):
9134 * calendar/lunar.el (phases-of-moon, lunar-new-moon-on-or-after):
9135 * calendar/time-date.el (date-to-time, time-subtract, time-add)
9136 (safe-date-to-time): Doc fixes.
9137
9138 * calendar/cal-persia.el (persian-calendar-month-name-array)
9139 (persian-calendar-epoch): Make constants.
9140
9141 * calendar/cal-tex.el (calendar-tex): Move custom group here from
9142 calendar.el.
9143
9144 * calendar/cal-x.el (diary-frame-parameters)
9145 (calendar-frame-parameters, calendar-and-diary-frame-parameters)
9146 (calendar-after-frame-setup-hooks): Make defcustoms.
9147 (calendar-one-frame-setup, calendar-only-one-frame-setup)
9148 (calendar-two-frame-setup): Doc fix.
9149
9150 * calendar/cal-loaddefs.el: New file.
9151
9152 * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
9153 * calendar/cal-french.el, calendar/cal-html.el:
9154 * calendar/cal-islam.el, calendar/cal-iso.el, calendar/cal-julian.el:
9155 * calendar/cal-mayan.el, calendar/cal-move.el, calendar/cal-persia.el:
9156 * calendar/cal-tex.el, calendar/cal-x.el:
9157 Unquote lambda functions. Add autoload cookies to functions formerly
9158 autoloaded in calendar.el. Set `generated-autoload-file' to
9159 "cal-loaddefs.el".
9160
9161 * calendar/calendar.el: Move many autoloads to separate file,
9162 cal-loaddefs.el. Move defcustoms to start and re-order.
9163 (calendar-month-name-array, calendar-starred-day): No need to
9164 declare for compiler.
9165 (cal-loaddefs): Require it.
9166 (appt, chinese-calendar, calendar-tex): Move custom groups to the
9167 appropriate file.
9168 (diary-entry-marker, calendar-today-marker, calendar-holiday-marker):
9169 Reverse logic.
9170 (diary-face, diary-file-name-prefix-function, diary-include-string)
9171 (diary-glob-file-regexp-prefix, diary-face-attrs)
9172 (diary-file-name-prefix, sexp-diary-entry-symbol)
9173 (print-diary-entries-hook, list-diary-entries-hook)
9174 (nongregorian-diary-listing-hook, mark-diary-entries-hook)
9175 (nongregorian-diary-marking-hook, diary-list-include-blanks):
9176 Move to diary-lib.
9177 (all-christian-calendar-holidays, all-islamic-calendar-holidays)
9178 (all-bahai-calendar-holidays): Doc fix.
9179 (calendar-insert-indented): Doc fix. Use when rather than if.
9180 (exit-calendar): Use mapc rather than mapcar.
9181 (calendar-cursor-to-date): Use zerop.
9182 (calendar-mark-ring): Add doc-string.
9183 (calendar-starred-day): Defvar it.
9184 (calendar-mode): Make calendar-starred-day local.
9185 (calendar-star-date): No need to make calendar-starred-day local.
9186
9187 * calendar/diary-lib.el: Move defcustoms to start.
9188 (diary-include-string, diary-list-include-blanks)
9189 (diary-glob-file-regexp-prefix, diary-face, diary-face-attrs)
9190 (diary-file-name-prefix, diary-file-name-prefix-function)
9191 (sexp-diary-entry-symbol, list-diary-entries-hook)
9192 (mark-diary-entries-hook, nongregorian-diary-listing-hook)
9193 (nongregorian-diary-marking-hook, print-diary-entries-hook):
9194 Move here from calendar.el.
9195 (diary-file-name-prefix-function): Use 'identity.
9196 (diary-face): Make it a defcustom, and mark as obsolete.
9197 (top-level): No need to require cal-hebrew, cal-islam when compiling.
9198 (calendar-hebrew-month-name-array-leap-year)
9199 (calendar-islamic-month-name-array, calendar-bahai-month-name-array):
9200 Define for compiler.
9201 (diary-font-lock-keywords): Use format rather than concat.
9202 Add bahai-diary-entry-symbol.
9203
9204 * calendar/cal-hebrew.el, calendar/holidays.el, calendar/lunar.el:
9205 * calendar/solar.el: Unquote lambda functions.
9206
9207 * calendar/solar.el (calendar-location-name, calendar-latitude)
9208 (calendar-longitude, solar-setup, solar-sin-degrees)
9209 (solar-cosine-degrees, solar-tangent-degrees, solar-xy-to-quadrant)
9210 (solar-degrees-to-quadrant, solar-atn2, solar-arccos)
9211 (solar-sunrise-and-sunset, solar-moment, solar-daylight)
9212 (solar-exact-local-noon, solar-julian-ut-centuries)
9213 (solar-ephemeris-time, solar-date-next-longitude)
9214 (solar-horizontal-coordinates, solar-equatorial-coordinates)
9215 (solar-ecliptic-coordinates, solar-data-list, solar-longitude)
9216 (solar-ephemeris-correction, solar-sidereal-time, solar-date-to-et)
9217 (sunrise-sunset, solar-seasons-data, solar-equinoxes/solstices):
9218 Doc fixes.
9219 (solar-horizontal-coordinates, solar-equatorial-coordinates)
9220 (solar-ecliptic-coordinates): Rename argument `for-sunrise-sunset'.
9221 (solar-ecliptic-coordinates): Use unless.
9222 (calendar-sunrise-sunset, diary-sunrise-sunset, diary-sabbath-candles):
9223 Use or.
9224
9225 * calendar/timeclock.el: Add doc-strings to all functions.
9226 (timeclock-workday, timeclock-in, timeclock-completing-read): Doc fixes.
9227 (timeclock-entry-list-length, timeclock-entry-list-projects)
9228 (timeclock-day-list-projects, timeclock-day-list): Use dolist.
9229
9230 * calendar/todo-mode.el: Remove un-needed eval-when-compile.
9231
9232 * textmodes/org.el (list-diary-entries-hook): Declare for compiler.
9233 (org-get-entries-from-diary): Require diary-lib.
9234
9235 2008-03-08 Juanma Barranquero <lekktu@gmail.com>
9236
9237 * info.el (bookmark-make-name-function, bookmark-get-bookmark-record):
9238 Pacify byte-compiler.
9239
9240 2008-03-07 Alan Mackenzie <acm@muc.de>
9241
9242 * progmodes/cc-engine.el (c-in-knr-argdecl): Limit number of
9243 paren/bracket pairs parsed, to solve performance problem.
9244
9245 2008-03-07 Bastien Guerry <bzg@altern.org>
9246
9247 * bookmark.el (bookmark-set): Don't check for
9248 `bookmark-make-name-function' since `bookmark-buffer-file-name'
9249 already takes care of this.
9250 (bookmark-buffer-name, bookmark-buffer-file-name):
9251 Remove Info-mode specific code.
9252
9253 * info.el (bookmark-get-info-node): Define this function in
9254 info.el, not in bookmark.el.
9255 (Info-mode): Set `bookmark-make-name-function' to
9256 `Info-bookmark-make-name' locally.
9257 (Info-bookmark-make-name): New function.
9258
9259 * bookmark.el (bookmark-make-name-function): New variable.
9260
9261 2008-03-07 Karl Fogel <kfogel@red-bean.com>
9262
9263 * bookmark.el (bookmark-set): Make `bookmark-make-record-function'
9264 buffer-local, not `bookmark-make-cell-function' (the old name).
9265
9266 2008-03-07 Tassilo Horn <tassilo@member.fsf.org>
9267
9268 * doc-view.el (doc-view-bookmark-make-record):
9269 * image-mode.el (image-bookmark-make-record):
9270 * info.el (Info-bookmark-make-record): Delete obsolete second arg.
9271
9272 2008-03-07 Jan Djärv <jan.h.d@swipnet.se>
9273
9274 * vc.el (vc-status-menu-map-filter): Return orig-binding if
9275 boundp 'vc-ignore-menu-filter.
9276 (vc-status-tool-bar-map): Make it defvar.
9277 (vc-status-mode): vc-status-tool-bar-map now variable.
9278 (vc-status-toggle-mark): toggle-mark-file => vc-status-toggle-mark-file.
9279
9280 2008-03-07 Karl Fogel <kfogel@red-bean.com>
9281
9282 Give a better name to part of the bookmark interface.
9283
9284 This was originally a much larger change, but halfway through I
9285 updated and discovered that Stefan Monnier had done the rest.
9286 It looks like he anticipated the new name too, because he used
9287 `the-record' instead of `the-cell' for some internal variable names.
9288
9289 * bookmark.el (bookmark-make-record-function): Was
9290 `bookmark-make-cell-function'.
9291 (bookmark-make, bookmark-send-annotation): Update for above.
9292 (bookmark-make-record-for-text-file):
9293 Was `bookmark-make-cell-for-text-file'. Fix doc string re 2008-03-07T05:00:18Z!monnier@iro.umontreal.ca.
9294
9295 * info.el: Adjust accordingly.
9296 (Info-bookmark-make-record): Was `Info-bookmark-make-cell'.
9297
9298 * image-mode.el: Adjust accordingly.
9299 (image-bookmark-make-record): Was `image-bookmark-make-cell'.
9300
9301 * doc-view.el: Adjust accordingly.
9302 (doc-view-bookmark-make-record): Was `doc-view-bookmark-make-cell'.
9303
9304 2008-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
9305
9306 * bookmark.el (bookmark-map, bookmark-read-annotation-mode-map):
9307 Move initialization into declaration.
9308 (bookmark-get-info-node, bookmark-set-info-node): Remove.
9309 (bookmark-make, bookmark-make-cell-for-text-file): Remove info-node arg.
9310 (bookmark-info-current-node): Remove.
9311 (bookmark-jump-noselect): Rename from bookmark-jump-internal.
9312 Add relocation fallback. Set bookmark-current-bookmark.
9313 (bookmark-default-handler): Rename from bookmark-jump-noselect.
9314 Remove relocation fallback. Don't set bookmark-current-bookmark.
9315 (bookmark-set): Let it be used even if there's no buffer-file-name
9316 as long as there is a bookmark-make-cell-function.
9317 * info.el (Info-bookmark-jump): Remove relocation fallback.
9318 Don't set bookmark-current-bookmark.
9319
9320 2008-03-07 Glenn Morris <rgm@gnu.org>
9321
9322 * calendar/appt.el (appt-issue-message)
9323 (appt-message-warning-time, appt-audible, appt-visible)
9324 (appt-msg-window, appt-display-mode-line, appt-display-duration)
9325 (appt-display-diary): Remove autoload cookies.
9326
9327 * calendar/cal-china.el, calendar/timeclock.el, calendar/todo-mode.el:
9328 Remove leading `*' from defcustom doc-strings.
9329
9330 * calendar/cal-dst.el (calendar-dst): New custom group.
9331 (calendar-daylight-savings-starts, calendar-daylight-savings-ends)
9332 (calendar-time-zone, calendar-daylight-time-offset)
9333 (calendar-standard-time-zone-name, calendar-daylight-time-zone-name)
9334 (calendar-daylight-savings-starts-time)
9335 (calendar-daylight-savings-ends-time): Convert from defvar to defcustom.
9336 (calendar-daylight-savings-starts, calendar-daylight-savings-ends):
9337 Move to start.
9338
9339 * calendar/cal-menu.el (holidays-in-diary-buffer): Declare for compiler.
9340
9341 * calendar/calendar.el (calendar-version): Use emacs-version and
9342 make it obsolete. Move to end.
9343 (calendar-offset, view-diary-entries-initially)
9344 (mark-diary-entries-in-calendar, calendar-remove-frame-by-deleting)
9345 (view-calendar-holidays-initially, all-hebrew-calendar-holidays)
9346 (all-christian-calendar-holidays, all-islamic-calendar-holidays)
9347 (all-bahai-calendar-holidays, calendar-load-hook)
9348 (initial-calendar-window-hook, today-visible-calendar-hook)
9349 (today-invisible-calendar-hook, calendar-move-hook)
9350 (diary-nonmarking-symbol, hebrew-diary-entry-symbol)
9351 (islamic-diary-entry-symbol, bahai-diary-entry-symbol)
9352 (diary-include-string, sexp-diary-entry-symbol)
9353 (abbreviated-calendar-year, american-date-diary-pattern)
9354 (european-date-diary-pattern, european-calendar-display-form)
9355 (american-calendar-display-form, print-diary-entries-hook)
9356 (list-diary-entries-hook, diary-hook, diary-display-hook)
9357 (nongregorian-diary-listing-hook, mark-diary-entries-hook)
9358 (nongregorian-diary-marking-hook, diary-list-include-blanks)
9359 (holidays-in-diary-buffer, general-holidays, oriental-holidays)
9360 (local-holidays, other-holidays, hebrew-holidays-1)
9361 (hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
9362 (hebrew-holidays, christian-holidays, islamic-holidays)
9363 (bahai-holidays, solar-holidays, calendar-setup)
9364 (calendar-week-start-day): Remove autoload cookies.
9365 (diary-glob-file-regexp-prefix): Doc fix.
9366 (calendar-goto-info-node): Use `info' rather than `Info-find-node'.
9367 (Info-find-emacs-command-nodes, Info-find-node): Remove declarations.
9368 (calendar-week-start-day, calendar-debug-sexp): Move to start.
9369
9370 * calendar/solar.el: Remove leading `*' from defcustom doc-strings.
9371 (calendar-time-display-form, calendar-latitude)
9372 (calendar-longitude, solar-equinoxes-solstices): Remove autoload
9373 cookies.
9374 (calendar-latitude, calendar-longitude): Move functions after
9375 variables.
9376 (diary-sabbath-candles-minutes): Move to start.
9377 (solar-setup): Use or rather than if.
9378 (solar-sin-degrees, solar-cosine-degrees, solar-tangent-degrees):
9379 Remove condition-case.
9380 (solar-atn2): Use zerop.
9381 (solar-equinoxes-solstices): Doc fix.
9382
9383 * mail/supercite.el: Remove leading `*' from defcustom doc-strings.
9384 (sc-mode-map-prefix): Doc fix. Make it a defcustom.
9385
9386 * textmodes/org.el (org-agenda-sunrise-sunset): Require solar.
9387 (calendar-longitude, calendar-latitude, calendar-location-name):
9388 Declare for compiler.
9389
9390 2008-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
9391
9392 * arc-mode.el (archive-ar-file-header-re): New const.
9393 (archive-ar-summarize, archive-ar-extract): New funs.
9394 (archive-find-type): Recognize ar archives.
9395
9396 * vc-bzr.el (vc-bzr-resolve-when-done, vc-bzr-find-file-hook):
9397 New functions.
9398
9399 * info.el (Info-bookmark-make-cell): Don't use the info-node argument.
9400
9401 2008-03-06 Lennart Borgman <lennart.borgman@gmail.com>
9402
9403 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
9404 Replace :enable (mark-active) with :enable mark-active.
9405
9406 2008-03-06 Juanma Barranquero <lekktu@gmail.com>
9407
9408 * vms-patch.el (make-legal-file-name): New obsolete alias.
9409 (make-valid-file-name): Rename from `make-legal-file-name'.
9410 (make-auto-save-file-name): Use it.
9411
9412 * calendar/calendar.el (calendar-date-is-legal-p): New obsolete alias.
9413 (calendar-date-is-valid-p): Rename from `calendar-date-is-legal-p'.
9414 (calendar-date-is-visible-p, mark-visible-calendar-date): Use it.
9415
9416 * textmodes/org.el (org-export-html-style): Doc fix.
9417 (org-get-legal-level): New obsolete alias.
9418 (org-get-valid-level): Rename from `org-get-legal-level'.
9419 (org-promote, org-demote, org-archive-subtree)
9420 (org-remember-handler, org-refile, org-put-clock-overlay): Use it.
9421
9422 2008-03-06 Jan Djärv <jan.h.d@swipnet.se>
9423
9424 * term/x-win.el (x-gtk-stock-map): Add bookmark_add.
9425
9426 * vc.el (vc-status-tool-bar-map, vc-status-toggle-mark-file)
9427 (vc-status-toggle-mark): New functions.
9428 (vc-status-mode): Set tool bar map.
9429
9430 2008-03-05 Chong Yidong <cyd@stupidchicken.com>
9431
9432 * emacs-lisp/lisp.el (parens-require-spaces): Doc fix.
9433 Reported by Drew Adams <drew.adams@oracle.com>.
9434
9435 2008-03-05 Kenichi Handa <handa@ni.aist.go.jp>
9436
9437 * subr.el (read-quoted-char): Resolve modifers of the character
9438 event.
9439
9440 * comint.el (comint-exec-1): Don't change the coding-system for
9441 decoding to dos-like EOL.
9442 (comint-carriage-motion): Fully rewrite.
9443
9444 2008-03-05 Juanma Barranquero <lekktu@gmail.com>
9445
9446 * epg.el (epg-context-include-certs): Reflow docstring.
9447 (epg-start-sign-keys, epg-sign-keys, epg-context-armor)
9448 (epg-context-signers, epg-context-sig-notations, epg-context-set-armor)
9449 (epg-context-set-signers, epg-context-set-sig-notations)
9450 (epg-make-import-status, epg-make-import-result)
9451 (epg-start-delete-keys): Fix typos in docstrings.
9452 (epg-start-sign-keys, epg-sign-keys):
9453 Fix typos in obsolescence declarations.
9454
9455 * iswitchb.el: Don't check for `cadr' and `last'.
9456 (iswitchb-define-mode-map, iswitchb-default-keybindings):
9457 Add obsolescence declaration and remove redundant info from docstring.
9458 (iswitchb-set-common-completion, iswitchb-set-matches)
9459 (iswitchb-get-matched-buffers, iswitchb-visit-buffer): Use `let'.
9460 (recentf-list, most-len, most-is-exact):
9461 Don't wrap defvars within `eval-when-compile'.
9462
9463 2008-03-05 Glenn Morris <rgm@gnu.org>
9464
9465 * ediff-hook.el (ediff-cond-compile-for-xemacs-or-emacs): Remove.
9466 * ediff-init.el (ediff-cond-compile-for-xemacs-or-emacs): Remove.
9467 * ediff-diff.el, ediff-help.el, ediff-hook.el, ediff-init.el:
9468 * ediff-mult.el, ediff-util.el, ediff-wind.el: Expand all
9469 ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
9470
9471 * ediff-hook.el (ediff-window-setup-function): Don't autoload
9472 declaration for compiler.
9473 (ediff-xemacs-init-menus): Use when rather than if.
9474
9475 * ediff-init.el (top-level, ediff-frame-iconified-p): Simplify
9476 if+and to just and.
9477 (ediff-read-event, ediff-overlayp, ediff-make-overlay)
9478 (ediff-delete-overlay): Move the XEmacs test inside the definition.
9479
9480 * ediff-mult.el (ediff-get-meta-info): Use or and unless rather than if.
9481
9482 * ediff-util.el (ediff-kill-bottom-toolbar): Place (ediff-use-toolbar-p)
9483 test inside XEmacs test.
9484 (ediff-make-bottom-toolbar): Place whole cond inside XEmacs test,
9485 since it was doing nothing on Emacs.
9486 (ediff-make-bullet-proof-overlay): Use when rather than if.
9487
9488 * ediff-wind.el (ediff-select-lowest-window): Use when rather than if.
9489 (ediff-setup-control-frame): Remove
9490 ediff-cond-compile-for-xemacs-or-emacs, since it is already inside
9491 a (featurep 'xemacs) test.
9492
9493 2008-03-05 Jay Belanger <jay.p.belanger@gmail.com>
9494
9495 * calc/calc-ext.el (calc-extended-command-history): New variable.
9496 (calc-exectute-extended-command): Use `calc-extended-command-history'.
9497
9498 2008-03-05 Dan Nicolaescu <dann@ics.uci.edu>
9499
9500 * bindings.el (mode-line-remote): Add mouse-face. Improve tooltip.
9501 (standard-mode-line-position): Add mouse-face.
9502
9503 * progmodes/compile.el (compilation-menu-map, compilation-mode-map):
9504 * progmodes/grep.el (grep-mode-map): Add :help.
9505
9506 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Define and
9507 initialize in one step. Add :help. Use :enable to activate menu
9508 items. Show the key binding for edebug-defun.
9509 (lisp-interaction-mode-map): Add a menu.
9510
9511 * term.el (term-mode-map): Define and initialize in one step.
9512
9513 * ediff-init.el (ediff-color-display-p): Simplify.
9514 (Xor): Remove unused function.
9515 (ediff-with-syntax-table): Simplify for Emacs.
9516
9517 * ediff-hook.el (menu-bar-ediff-menu): Don't depend on the
9518 menu-bar being loaded, it always is.
9519
9520 2008-03-05 Glenn Morris <rgm@gnu.org>
9521
9522 * textmodes/tex-mode.el (tex-mode): Suppress warning about
9523 multiple definitions when compiling.
9524
9525 2008-03-04 Alan Mackenzie <acm@muc.de>
9526
9527 * progmodes/cc-mode.el (c-neutralize-syntax-in-CPP): Fix coding bug.
9528
9529 * progmodes/cc-langs.el (c-before-font-lock-function): Fix bug in
9530 doc-string, "c-old-LEN" -> "c-old-END".
9531
9532 2008-03-04 Jason Rumney <jasonr@gnu.org>
9533
9534 * nxml/rng-nxml.el (rng-preferred-prefix-alist): Add dublin core
9535 namespaces.
9536
9537 2008-03-04 Glenn Morris <rgm@gnu.org>
9538
9539 * textmodes/tex-mode.el (tex-cmd-bibtex-args): Add :version and :group.
9540
9541 * ediff-init.el (ediff-clear-fine-diff-vector): Use mapc rather
9542 than mapcar.
9543
9544 2008-03-03 Stefan Monnier <monnier@iro.umontreal.ca>
9545
9546 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
9547 (byte-compile-nilconstp): Can't use recursion in a defsubst.
9548
9549 * textmodes/tex-mode.el (latex-mode): Remove % from paragraph-separate
9550 so that M-q can fill comments.
9551 (tex-executable-exists-p, tex-compile): Extend with special syntax for
9552 commands implemented in elisp.
9553 (tex-compile-commands): Add an entry to use doc-view for pdf files.
9554 (tex-format-cmd): New function.
9555 (tex-compile): Use it to let the user specify default arguments.
9556 (tex-cmd-bibtex-args): New var.
9557 (tex-cmd-doc-view): New function.
9558
9559 2008-03-03 Juanma Barranquero <lekktu@gmail.com>
9560
9561 * faces.el (face-spec-set): Fix typos in docstring.
9562
9563 2008-03-03 Dan Nicolaescu <dann@ics.uci.edu>
9564
9565 * bindings.el (mode-line-column-line-number-mode-map): New variable.
9566 (standard-mode-line-position): Use it to add a menu for toggling
9567 column number and line number display.
9568
9569 2008-03-03 Stefan Monnier <monnier@iro.umontreal.ca>
9570
9571 * emacs-lisp/bytecomp.el (byte-compile-maybe-guarded):
9572 Remove optimization that was working around the form-code-walker bug.
9573
9574 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
9575 Walk into the body of lambdas after byte-compile-unfold-lambda.
9576
9577 2008-03-03 Glenn Morris <rgm@gnu.org>
9578
9579 * emulation/viper-util.el (viper-frame-value): Prefer buffer-local
9580 value, if set, over frame value.
9581
9582 * simple.el (transient-mark-mode): Don't turn on by default.
9583
9584 * net/tls.el (open-tls-stream): Restore the 2007-11-04 change
9585 accidentally removed by the 2007-12-05 merge from Gnus.
9586
9587 2008-03-02 Dan Nicolaescu <dann@ics.uci.edu>
9588
9589 * progmodes/compile.el (compilation-menu-map): Add menu entries
9590 for useful options.
9591
9592 2008-03-01 Dan Nicolaescu <dann@ics.uci.edu>
9593 Glenn Morris <rgm@gnu.org>
9594
9595 * emacs-lisp/bytecomp.el (byte-recompile-directory)
9596 (byte-compile-file, batch-byte-compile, batch-byte-compile-file):
9597 Give a `bytecomp-' prefix to local variables with common names.
9598
9599 2008-03-01 Glenn Morris <rgm@gnu.org>
9600
9601 * emacs-lisp/bytecomp.el (byte-compile-maybe-guarded): Restore
9602 code commented out 2007-11-10.
9603
9604 * emulation/edt.el (zmacs-region-stays): Define for compiler once only.
9605
9606 * emulation/viper-init.el (viper-cond-compile-for-xemacs-or-emacs):
9607 Delete macro.
9608 * emulation/viper-cmd.el, emulation/viper-ex.el:
9609 * emulation/viper-init.el, emulation/viper-keym.el:
9610 * emulation/viper-mous.el, emulation/viper-util.el:
9611 * emulation/viper.el:
9612 Expand all viper-cond-compile-for-xemacs-or-emacs calls to a
9613 featurep test.
9614
9615 Replace obselete frame-local variables with frame-parameters.
9616 * emulation/viper-init.el (viper-replace-overlay-cursor-color)
9617 (viper-insert-state-cursor-color, viper-emacs-state-cursor-color)
9618 (viper-vi-state-cursor-color): Only call make-variable-frame-local
9619 on XEmacs.
9620 * emulation/viper-util.el (viper-frame-value): New macro.
9621 * emulation/viper-cmd.el (viper-insert-state-post-command-sentinel)
9622 (viper-R-state-post-command-sentinel)
9623 (viper-replace-state-post-command-sentinel)
9624 (viper-change-state-to-insert, viper-change-state-to-emacs):
9625 * emulation/viper-util.el (viper-set-cursor-color-according-to-state)
9626 (viper-save-cursor-color, viper-get-saved-cursor-color-in-replace-mode)
9627 (viper-get-saved-cursor-color-in-insert-mode)
9628 (viper-get-saved-cursor-color-in-emacs-mode, viper-set-replace-overlay):
9629 Use viper-frame-value for viper-replace-overlay-cursor-color,
9630 viper-emacs-state-cursor-color, viper-insert-state-cursor-color, and
9631 viper-vi-state-cursor-color values.
9632
9633 * emulation/viper-cmd.el (zmacs-region-stays):
9634 * emulation/viper-util.el (zmacs-region-stays): No need to define
9635 for compiler.
9636
9637 * emulation/viper-keym.el (viper-add-keymap): Use mapc rather than
9638 mapcar on Emacs.
9639
9640 * emulation/viper-mous.el (viper-counting-clicks-p): Only define
9641 on XEmacs.
9642
9643 * emulation/viper-util.el (viper-set-minibuffer-overlay): Use when
9644 rather than if.
9645
9646 2008-03-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9647
9648 * whitespace.el: New version 9.3. As the glyph code generation was
9649 fixed, it is possible now to use character code above ?\x1FFFF in the
9650 display table. Fix `whitespace-indentation-regexp' to not include an
9651 extra ending character. Reported by Michael Welsh Duggan
9652 <mwd@cert.org>. Added hook actions when buffer is written or killed as
9653 the original whitespace package had. Suggested by Eric Cooper
9654 <ecc@cmu.edu>. Doc fix.
9655 (whitespace-action): New option.
9656 (whitespace-display-mappings): Changed default newline visualization to
9657 display downwards arrow, as the glyph code generation was fixed.
9658 (whitespace-unload-function): Assure that all local whitespace mode is
9659 turned off.
9660 (whitespace-global-modes): Fix type customization.
9661 (whitespace-mode, global-whitespace-mode, whitespace-cleanup-region)
9662 (whitespace-insert-option-mark, whitespace-help-on, whitespace-turn-on)
9663 (whitespace-turn-off, whitespace-color-on, whitespace-display-char-on):
9664 Fix code.
9665 (whitespace-buffer): Command removed.
9666 (whitespace-trailing-regexp, whitespace-mark-x)
9667 (whitespace-display-window, whitespace-action-when-on)
9668 (whitespace-add-local-hook, whitespace-remove-local-hook)
9669 (whitespace-write-file-hook, whitespace-kill-buffer-hook)
9670 (whitespace-action): New funs.
9671 (whitespace-report-list, whitespace-report-text)
9672 (whitespace-report-buffer-name): New consts.
9673 (whitespace-report, whitespace-report-region): New commands.
9674
9675 2008-03-01 Juanma Barranquero <lekktu@gmail.com>
9676
9677 * disp-table.el (make-glyph-code): Don't test the result of
9678 `face-id', which already signals an error for invalid faces.
9679 (glyph-face): Simplify.
9680
9681 * desktop.el (desktop-read): Set `desktop-dirname' to nil before
9682 running `desktop-not-loaded-hook' to allow modifying it.
9683 Don't show warning message if `desktop-dirname' was modified.
9684
9685 2008-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
9686
9687 * diff-mode.el (diff-sanity-check-hunk): Only accept an empty line if
9688 we still expect more lines.
9689
9690 * textmodes/fill.el (fill-comment-paragraph): Don't try to do
9691 comment-paragraph filling if the commark doesn't match
9692 comment-start-skip.
9693
9694 2008-03-01 Daiki Ueno <ueno@unixuser.org>
9695
9696 * international/utf-7.el (utf-7-encode): Never skip the trailing - for
9697 the `imap' variant.
9698
9699 2008-03-01 Jason Rumney <jasonr@gnu.org>
9700
9701 * files.el (make-auto-save-file-name): Encode more characters in
9702 non-file buffer names. Use url-encoding.
9703
9704 2008-03-01 Juanma Barranquero <lekktu@gmail.com>
9705
9706 * net/net-utils.el (ftp-program): Fix typo in docstring.
9707 (ifconfig-program-options, netstat-program-options)
9708 (arp-program-options, route-program-options, nslookup-program-options)
9709 (ftp-program-options, smbclient-program-options)
9710 (dns-lookup-program-options, arp, route): Doc fixes.
9711
9712 * progmodes/gdb-ui.el (gdb-pc-address, gdb-source-file-list)
9713 (gdb-cpp-define-alist-program, gdb-mouse-jump, gdb-get-buffer-create)
9714 (gdb-set-gud-minor-mode-existing-buffers-1, gdb-debug-log):
9715 Fix typos in docstrings.
9716 (gdb-pending-triggers): Reflow docstring.
9717 (gdb, gdb-init-1): Fix typos in docstrings of gud-def definitions.
9718
9719 2008-03-01 Alan Mackenzie <acm@muc.de>
9720
9721 * progmodes/cc-mode.el (c-neutralize-syntax-in-CPP): Fix a bug on
9722 typing "#" at EOB.
9723
9724 2008-03-01 Juanma Barranquero <lekktu@gmail.com>
9725
9726 * emulation/cua-base.el (cua-remap-control-z): Fix typo in docstring.
9727
9728 2008-02-29 Kim F. Storm <storm@cua.dk>
9729
9730 * emulation/cua-base.el (cua-remap-control-v)
9731 (cua-remap-control-z): New defcustoms.
9732 (cua-mode): Add them to set-after property.
9733 (cua--init-keymaps): Use them.
9734 Add C-x/C-c home, end, next, and prior to cua--prefix-repeat-keymap.
9735
9736 * help.el (view-emacs-todo): Rename from view-todo.
9737 (describe-gnu-project): Rename from describe-project. Users changed.
9738 (view-help-file): New helper function.
9739 (describe-distribution, describe-copying, describe-gnu-project)
9740 (view-todo, view-order-manuals, view-emacs-problems): Use it.
9741 (view-emacs-debugging, view-external-packages): New commands.
9742 (help-map): Move describe-distribution to C-h C-o (ordering).
9743 Move view-emacs-problems to C-h C-p (problems).
9744 Bind view-emacs-debugging to C-h C-d (debugging).
9745 Bind view-external-packages to C-h C-e (extras).
9746 (help-for-help-internal): Cleanup and align descriptions.
9747 Remove command names to reduce clutter.
9748
9749 2008-02-29 Nick Roberts <nickrob@snap.net.nz>
9750
9751 * vc.el (vc-set-mode-line-busy-indicator): Use shorter message
9752 and quieter face (not a warning).
9753
9754 2008-02-29 Dan Nicolaescu <dann@ics.uci.edu>
9755
9756 * vc.el (vc-status-crt-marked): New variable.
9757 (vc-status-mode): Make it local.
9758 (vc-status-refresh): Use it to save the marked files.
9759 (vc-update-vc-status-buffer): Use it to restore the marked files.
9760
9761 * vc-svn.el (vc-svn-after-dir-status):
9762 * vc-hg.el (vc-hg-after-dir-status): Clean up the temporary buffer.
9763
9764 2008-02-29 Glenn Morris <rgm@gnu.org>
9765
9766 * allout.el (allout-topic-encryption-bullet)
9767 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling)
9768 (allout-encrypt-unencrypted-on-saves): Change defcustom :version
9769 from 22.0 to 22.1.
9770
9771 * net/imap.el (imap-ping-server):
9772 * net/tls.el (tls-checktrust, tls-untrusted, tls-hostmismatch):
9773 Change defcustom :version from 23.0 to 23.1.
9774
9775 2008-02-29 Juanma Barranquero <lekktu@gmail.com>
9776
9777 * desktop.el (desktop-save): Save the buffer name if the
9778 uniquified base name is empty.
9779
9780 2008-02-29 Nick Roberts <nickrob@snap.net.nz>
9781
9782 * progmodes/gdb-ui.el (gdb-info-stack-custom): Apply function-name-face
9783 correctly when user has "set print address off".
9784
9785 2008-02-28 Juanma Barranquero <lekktu@gmail.com>
9786
9787 * cus-edit.el (custom-mode, custom-mode-hook): Use 23.1 as
9788 version number of the next major Emacs release, not 23.0.
9789
9790 * longlines.el (longlines-unload-function): New function.
9791
9792 2008-02-28 Juri Linkov <juri@jurta.org>
9793
9794 * startup.el (normal-splash-screen): Add argument `concise'.
9795 Remove unused binding `prev-buffer'. Let-bind `splash-buffer'
9796 to the created buffer. If `concise' is non-nil, call
9797 `display-buffer', otherwise `switch-to-buffer'. Doc fix.
9798 (display-startup-screen): Add argument `concise' to the call to
9799 `normal-splash-screen'.
9800
9801 2008-02-28 Kim F. Storm <storm@cua.dk>
9802
9803 * startup.el (startup-echo-area-message): Check for about-emacs.
9804
9805 2008-02-28 Juri Linkov <juri@jurta.org>
9806
9807 * startup.el: Always add initial message to *scratch* buffer if
9808 `initial-scratch-message' is non-nil regardless of the value of
9809 `inhibit-startup-screen'.
9810 (inhibit-startup-screen, initial-scratch-message): Doc fix.
9811 (command-line-1): Move code that inserts `initial-scratch-message'
9812 up before the if-form that checks for `inhibit-startup-screen'.
9813 Suggested by Jonathan Rockway <jon@jrock.us>.
9814
9815 2008-02-28 Juri Linkov <juri@jurta.org>
9816
9817 * cus-edit.el (custom-mode-map, custom-mode-link-map):
9818 Rename `custom-mode' to `Custom-mode' in docstrings.
9819 (custom-buffer-create-internal, customize-browse):
9820 Rename `custom-mode' to `Custom-mode'.
9821 (custom-mode-hook): Rename to `Custom-mode-hook'.
9822 (Custom-mode-hook): Renamed from `custom-mode-hook'.
9823 (custom-mode): Rename to `Custom-mode'.
9824 (Custom-mode): Renamed from `custom-mode'. Doc fix.
9825 (custom-mode): Add backward-compatible non-interactive variant of
9826 `Custom-mode' that simply calls `Custom-mode'. Mark it obsoleted.
9827 (custom-mode-hook): Mark it as obsolete alias of `Custom-mode-hook'.
9828
9829 * info-look.el: Rename `custom-mode' to `Custom-mode'.
9830
9831 * emulation/viper.el (viper-emacs-state-mode-list):
9832 Rename `custom-mode' to `Custom-mode'.
9833
9834 * menu-bar.el (menu-bar-search-menu, menu-bar-replace-menu):
9835 Capitalize "Tagged Files".
9836 (minibuffer-local-map): Add menu items for next/previous
9837 history elements and isearch history forward/backward.
9838
9839 * progmodes/hideshow.el (hs-minor-mode-menu): Compare
9840 `hs-isearch-open' with t instead of `comment' in :selected
9841 for "Code and Comment blocks" menu item.
9842
9843 2008-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
9844
9845 * uniquify.el (uniquify-buffer-base-name): Undo last change.
9846 Should be done in desktop.el instead.
9847
9848 2008-02-28 Glenn Morris <rgm@gnu.org>
9849
9850 * autoinsert.el (auto-insert-alist): Update to FDL 1.2.
9851
9852 * emacs-lisp/byte-run.el (make-obsolete): Doc fix.
9853
9854 * mail/emacsbug.el: Remove leading `*' from defcustom doc-strings.
9855 (Info-menu, Info-goto-node): Remove declarations.
9856 (report-emacs-bug-info): Use info rather than Info-goto-node.
9857
9858 * progmodes/idlwave.el (Info-goto-node): Remove declaration.
9859 (idlwave-convert-xml-system-routine-info): Don't require xml.
9860 (idlwave-show-commentary, idlwave-shell-show-commentary):
9861 Don't require finder.
9862 (idlwave-info): Don't require info. Use info rather than
9863 Info-goto-node.
9864
9865 * textmodes/org.el (Info-goto-node): Remove declaration.
9866 (org-info): Use info rather than Info-goto-node.
9867
9868 * textmodes/reftex.el (reftex-show-commentary): Don't require finder.
9869 (reftex-info): Don't require info. Use info rather than Info-goto-node.
9870
9871 2008-02-28 Dan Nicolaescu <dann@ics.uci.edu>
9872
9873 * progmodes/hideshow.el (hs-minor-mode-menu): Add some options to
9874 the menu.
9875
9876 * vc.el (vc-deduce-fileset, vc-next-action, vc-start-entry)
9877 (vc-finish-logentry): Check for vc-status-mode, not only for
9878 vc-dired-mode.
9879
9880 2008-02-28 Kenichi Handa <handa@ni.aist.go.jp>
9881
9882 * isearch.el (isearch-printing-char): Don't check
9883 keyboard-coding-system.
9884 Call isearch-process-search-multibyte-characters only when
9885 current-input-method is non-nil.
9886
9887 2008-02-27 Kim F. Storm <storm@cua.dk>
9888
9889 * disp-table.el (make-glyph-code): Encode as cons if face id > 63.
9890 (glyph-char, glyph-face): Handle cons encoding.
9891
9892 2008-02-27 Juanma Barranquero <lekktu@gmail.com>
9893
9894 * uniquify.el (uniquify-buffer-base-name): If the base name is an
9895 empty string, return nil to allow the caller to default to the
9896 buffer name. Reported by Martin Fischer <parozusa@web.de>.
9897
9898 * tool-bar.el (tool-bar-setup): Doc fix.
9899
9900 * mail/supercite.el (sc-describe):
9901 Fix typos in obsolescence declaration.
9902
9903 2008-02-27 Glenn Morris <rgm@gnu.org>
9904
9905 * autoinsert.el (auto-insert-alist): Change permission text to
9906 match FSF's GPLv3 form.
9907
9908 * mail/supercite.el (sc-cite-original): Doc fix.
9909 (sc-version): Make obsolete.
9910 (sc-describe): Show the SC info page. Make obsolete.
9911
9912 2008-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
9913
9914 * simple.el (set-mark-command): Deactivate mark on second C-SPC C-SPC
9915 when using transient-mark-mode.
9916 (default-indicate-unused-lines): Remove unused var.
9917
9918 2008-02-26 Jan Djärv <jan.h.d@swipnet.se>
9919
9920 * progmodes/grep.el (grep-mode-tool-bar-map): Change place on next
9921 and previous.
9922
9923 * progmodes/compile.el (compilation-mode-tool-bar-map): The same.
9924
9925 2008-02-26 Glenn Morris <rgm@gnu.org>
9926
9927 * net/net-utils.el (top-level): Don't require comint when compiling.
9928 (nslookup-font-lock-keywords): Don't require font-lock.
9929 Use font-lock faces rather than variables.
9930 (nslookup, ftp, smbclient, network-service-connection):
9931 Don't require comint.
9932 (comint-prompt-regexp, comint-input-autoexpand)
9933 (comint-input-ring): Declare for compiler.
9934 (comint-mode, ffap-string-at-point, comint-exec): Autoload.
9935 (dns-lookup-host): Don't require ffap. Remove `with-no-warnings'.
9936
9937 * ibuffer.el (ibuffer-do-toggle-read-only): Don't use `iff' in
9938 doc-string.
9939
9940 2008-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
9941
9942 * doc-view.el (doc-view-current-page): Add a `win' argument.
9943
9944 2008-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
9945
9946 * doc-view.el (doc-view-conversion-buffer): Give it an internal name.
9947 Demote it to plain defvar.
9948 (doc-view-conversion-refresh-interval): Reduce interval.
9949 (doc-view-goto-page): Allow moving to pages not yet rendered.
9950 (doc-view-goto-page): Construct a file name rather than extracting it
9951 from doc-view-current-files.
9952 (doc-view-kill-proc): Ignore errors from kill-process.
9953 (doc-view-pdf/ps->png-sentinel): Die gracefully if the buffer is dead.
9954 (doc-view-insert-image): Use appropriate text if the page hasn't been
9955 rendered yet. Adjust scrolling so the text is displayed.
9956 (doc-view-display): Detect not just that a page is available, but also
9957 that it wasn't available before, so as to avoid refreshing all pages
9958 repeatedly.
9959 (doc-view-mode): Make doc-view-cache-directory if needed.
9960
9961 2008-02-25 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
9962
9963 * ibuffer.el (ibuffer-do-toggle-read-only): New optional arg as in
9964 toggle-read-only.
9965
9966 * textmodes/bibtex.el (bibtex-format-entry): Handle error message
9967 refering to a missing required field with the OPT prefix.
9968 Make unwindform more robust.
9969
9970 * textmodes/bibtex.el: Remove support for hideshow minor mode as
9971 it duplicates the bibtex support in progmodes/hideshow.el.
9972 * progmodes/hideshow.el (hs-special-modes-alist): Allow bibtex
9973 entries that do not start at the beginning of a line.
9974
9975 2008-02-25 Chong Yidong <cyd@stupidchicken.com>
9976
9977 * files.el (shell-quote-wildcard-pattern): Quote ' and " as well.
9978
9979 2008-02-25 Robert J. Chassell <bob@rattlesnake.com>
9980
9981 * help-fns.el (describe-variable): Add phrases about
9982 initialization file with and without customization;
9983 use new button type help-info-variable.
9984
9985 * help-mode.el (help-info-variable):
9986 New button able to read Info files for help-fns.el.
9987
9988 2008-02-25 Jan Djärv <jan.h.d@swipnet.se>
9989
9990 * progmodes/grep.el (grep-mode-tool-bar-map): New variable.
9991 (grep-mode): Use grep-mode-tool-bar-map.
9992
9993 * progmodes/compile.el (tool-bar): Require tool-bar.
9994 (compilation-mode-tool-bar-map): New variable.
9995 (compilation-mode): Use compilation-mode-tool-bar-map.
9996
9997 * term/x-win.el (x-gtk-stock-map): Add cancel. Remove extensions.
9998
9999 2008-02-25 Glenn Morris <rgm@gnu.org>
10000
10001 * vc-sccs.el (vc-sccs-diff): Fix setting of oldvers and newvers.
10002
10003 2008-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
10004
10005 * diff-mode.el (diff-file-junk-re): New const.
10006 (diff-beginning-of-file-and-junk): Use it.
10007 (diff-file-kill): Make sure we were really inside a file diff.
10008
10009 * diff-mode.el: Make it more robust in the presence of empty context
10010 lines in unified hunks.
10011 (diff-valid-unified-empty-line): New var.
10012 (diff-unified->context, diff-sanity-check-hunk): Obey it.
10013 (diff-end-of-hunk): Obey it. New arg `donttrustheader'.
10014 (diff-fixup-modifs, diff-post-command-hook): Use this new arg.
10015 (diff-hunk-header-re-unified): New const.
10016 (diff-font-lock-keywords, diff-hunk-header-re, diff-split-hunk)
10017 (diff-fixup-modifs, diff-unified->context, diff-next-complex-hunk)
10018 (diff-sanity-check-hunk): Use it.
10019
10020 * diff-mode.el (diff-beginning-of-file-and-junk): If we're on the
10021 Index: line, don't search backward for the previous one.
10022
10023 2008-02-25 Kenichi Handa <handa@ni.aist.go.jp>
10024
10025 * international/fontset.el (setup-default-fontset): Add non-OTF
10026 lao font for lao script.
10027
10028 * language/tibetan.el: Register tibetan-composition-function in
10029 composition-function-table.
10030
10031 * language/tibet-util.el (tibetan-composition-function):
10032 Adjust for the new calling way (argument changed). Try font-shape-text
10033 if possible.
10034
10035 * language/lao.el: Register lao-composition-function in
10036 composition-function-table.
10037
10038 * language/lao-util.el (lao-composition-function): Adjust for the new
10039 calling way (argument changed). Try font-shape-text if possible.
10040
10041 2008-02-25 Jason Rumney <jasonr@gnu.org>
10042
10043 * files.el (file-name-invalid-regexp): Fix octal/decimal confusion.
10044
10045 2008-02-25 Juri Linkov <juri@jurta.org>
10046
10047 * isearch.el (isearch-fail): Use "RosyBrown1" for a light
10048 background, "red4" for a dark background, "red" for 16 and
10049 8 colors, "grey" for grayscale, and inverse video otherwise.
10050 Add :version tag.
10051 (isearch-message): Keep the original isearch-message intact, and
10052 add text properties to it where necessary. Add `isearch-error' to
10053 the condition that checks if isearch is unsuccessful.
10054
10055 2008-02-24 Juri Linkov <juri@jurta.org>
10056
10057 * progmodes/compile.el (compilation-handle-exit):
10058 Use compilation-error face instead of font-lock-warning-face.
10059 Display the same message in the minibuffer as is inserted
10060 at the end of the compilation buffer.
10061
10062 2008-02-24 Glenn Morris <rgm@gnu.org>
10063
10064 * vc-cvs.el (vc-cvs-register): Fix registering of directories in
10065 multiple file case.
10066
10067 * vc-mcvs.el (vc-mcvs-register): Fix let-binding (for use of `file').
10068
10069 * vc-rcs.el (vc-rcs-register): Fix treatment of directories in
10070 multiple file case. Use a single `let' rather than two.
10071
10072 2008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
10073
10074 * progmodes/compile.el (compilation-start): Specify a face for
10075 mode-line-process.
10076 (compilation-handle-exit): Specify a face and a tooltip for
10077 mode-line-process.
10078
10079 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
10080
10081 * hilit-chg.el: Remove spurious * in defcustom docstrings.
10082 (hilit-chg-make-ov): Simplify.
10083 (hilit-chg-fixup): Use remove-overlays.
10084 (hilit-chg-set-face-on-change): Remove redundant call to
10085 `remove-text-properties'.
10086
10087 * dired.el (dired-mark-prompt): Don't count/display the t element.
10088 Reported by Carsten Blaauw <it-media.blaauw@daimler.com>.
10089
10090 2008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
10091
10092 * progmodes/verilog-mode.el (eval-when-compile): Don't define
10093 add-submenu.
10094 (verilog-xemacs-menu): Add :keys for C-M-a, C-M-e and C-M-h.
10095 Remove. Move contents to the only use ...
10096 (verilog-menu): ... here.
10097 (verilog-statement-menu): Remove. Move contents to the only use ...
10098 (verilog-stmt-menu): ... here.
10099 (verilog-mark-defun): Simply call mark-defun for emacs.
10100 (occur-pos-list): Declare for byte compiler.
10101 (mode-popup-menu): Don't defvar.
10102 (verilog-add-statement-menu): Remove.
10103 (verilog-mode-hook): Don't add verilog-add-statement-menu.
10104 (verilog-mode): Call easy-menu-add and set mode-popup-menu for XEmacs.
10105
10106 2008-02-24 Michael McNamara <mac@mail.brushroad.com>
10107
10108 * progmodes/verilog-mode.el (verilog-xemacs-menu): Remove XEmacs
10109 conditional.
10110 (verilog-font-grouping-keywords-face): Make the begin..end
10111 keywords standout more than other verilog keywords.
10112 (verilog-type-font-keywords): Move the begin..end out of this list
10113 to facilitate making them to (potentially) stand out more.
10114 (verilog-backward-token): Fix indent of bare always{_*}?, initial,
10115 function & task blocks.
10116 (verilog-behavioral-block-beg-re): Fix indent of bare always{_*}?,
10117 initial, function & task blocks.
10118 (verilog-forward-sexp): Handle the new "disable fork" statement of
10119 IEEE-1800 Verilog.
10120 (verilog-beg-block-re-ordered): Handle the new "disable fork"
10121 statement of IEEE-1800 Verilog.
10122 (verilog-calc-1): Handle the new "disable fork" statement of
10123 IEEE-1800 Verilog.
10124 (verilog-disable-fork-re): Add const to help handle the new
10125 "disable fork" statement of IEEE-1800 Verilog.
10126 (verilog-declaration-core-re): Add port directions by themselves,
10127 with no qualification, as base item of a declaration.
10128 (verilog-pretty-declarations): Add new flag to ask it to refrain
10129 from printing to the message buffer.
10130 (verilog-pretty-expr): Add a QUIET flag to ask it to refrain from
10131 printing to the message buffer. Improve handling of the many
10132 types of expression line up.
10133 (verilog-just-one-space): Remove printing of an empty message.
10134 (verilog-get-lineup-indent): Rework to support the better handling
10135 of expression lineup for verilog-pretty-expr.
10136 (verilog-auto-wire): Pass the quiet flag to verilog-pretty-expr.
10137
10138 2008-02-24 Alan Mackenzie <acm@muc.de>
10139
10140 * progmodes/cc-mode.el (c-extend-region-for-CPP): Bug fix from
10141 yesterday's commit.
10142
10143 2008-02-24 Nick Roberts <nickrob@snap.net.nz>
10144
10145 * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint): Fall back
10146 to mouse-set-point in buffers that aren't associated with files.
10147
10148 * progmodes/gud.el: Rename menu item to "Show GUD tooltips".
10149
10150 2008-02-24 Alan Mackenzie <acm@muc.de>
10151
10152 Set of changes so that "obtrusive" syntactic elements in a
10153 C/C++/ObjC preprocessor line (e.g. an unbalanced string quote or
10154 unmatched paren) don't interact syntactically with stuff outside
10155 the CPP line.
10156
10157 * progmodes/cc-awk.el (c-awk-beyond-logical-line, c-awk-old-ByLL):
10158 Replace c-awk-end-of-logical-line and c-awk-old-EoLL to solve an
10159 off-by-one bug.
10160 (c-awk-record-region-clear-NL): Replaces c-awk-before-change, with
10161 a bit of refactoring.
10162 (c-awk-extend-and-syntax-tablify-region): Takes some of the
10163 functionality of c-awk-advise-fl-for-awk-region, which has been
10164 refactored away.
10165
10166 * progmodes/cc-defs.el (c-clear-char-property-with-value-function)
10167 (c-clear-char-property-with-value): New function and macro which
10168 remove text-properties `equal' to a supplied value.
10169
10170 * progmodes/cc-engine.el: Comment about text properties amended.
10171
10172 * progmodes/cc-fonts.el (c-cpp-matchers): Make it put regexp
10173 parens around "error\\|warning".
10174
10175 * progmodes/cc-langs.el (c-get-state-before-change-function)
10176 (c-before-font-lock-function, c-anchored-cpp-prefix):
10177 New language variables.
10178 (c-cpp-message-directives): Handle "#warning" in C, C++ and ObjC.
10179
10180 * progmodes/cc-mode.el (c-basic-common-init): C and ObjC now use
10181 syntax-table text properties.
10182 (c-common-init): Call language specific before/after-change
10183 functions at mode initialisation.
10184 (c-new-BEG, c-new-END, c-old-BOM, c-old-EOM): New variables.
10185 (c-extend-region-for-CPP, c-neutralize-CPP-line)
10186 (c-neutralize-syntax-in-CPP): New functions.
10187 (c-before-change, c-after-change): Call the new language specific
10188 change functions defined in cc-langs.el.
10189 (c-advise-fl-for-region): New macro.
10190 (awk-mode): Remove AWK specific stuff which has been refactored
10191 into language independent stuff.
10192
10193 2008-02-24 Nick Roberts <nickrob@snap.net.nz>
10194
10195 * progmodes/gdb-ui.el (gdba): Recreate as an alias for gdb.
10196 (gdb): (Re)set gdb-flush-pending-output to nil here...
10197 (gdb-init-1): ...instead of here (before gdb-prompt).
10198
10199 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
10200
10201 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
10202 Recognize ''' just like any other char-constant.
10203
10204 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
10205
10206 * vc-hooks.el (vc-find-root): Remove initial loop because it's not
10207 careful enough. Detect the uid-change all within the main loop.
10208
10209 2008-02-24 Stefan Monnier <monnier@pastel.home>
10210
10211 * textmodes/sgml-mode.el (sgml-mode): Fix comment syntax.
10212
10213 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
10214
10215 * hilit-chg.el (highlight-save-buffer-state): New macro.
10216 (highlight-save-buffer-state, hilit-chg-set-face-on-change)
10217 (hilit-chg-clear): Use it to preserve the modified-p flag.
10218 (highlight-changes-rotate-faces): Don't mess with the undo-list.
10219
10220 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
10221
10222 * font-lock.el (font-lock-set-defaults): Unset previously set variables
10223 when needed.
10224
10225 2008-02-24 Ævar Arnfjörð Bjarmason <avar@cpan.org> (tiny change)
10226
10227 * net/rcirc.el (rcirc-url-regexp): Replace definition by copying
10228 from gnus-button-url-regexp.
10229
10230 2008-02-24 Eli Zaretskii <eliz@gnu.org>
10231
10232 * progmodes/compile.el (compilation-next-error): Doc fix.
10233 (compilation-find-file): Doc fix.
10234
10235 2008-02-24 Glenn Morris <rgm@gnu.org>
10236
10237 * net/net-utils.el (ipconfig-program, ipconfig-program-options):
10238 Add obsolete aliases to the old names.
10239
10240 2008-02-24 Richard Stallman <rms@gnu.org>
10241
10242 * net/net-utils.el (ifconfig): Rename from ipconfig.
10243 (ipconfig): Alias to ifconfig.
10244 (ifconfig-program): Rename from ipconfig-program.
10245 (ifconfig-program-options): Rename from ipconfig-program-options.
10246
10247 2008-02-24 Michael McNamara <mac@mail.brushroad.com>
10248
10249 * progmodes/verilog-mode.el (verilog-declaration-core-re):
10250 Add port directions by themselves, with no qualification, as base
10251 item of a declaration.
10252 (verilog-pretty-declarations): Add new flag that inhibits printing
10253 to the message buffer.
10254 (verilog-pretty-expr): Add new flag that inhibits printing to the
10255 message buffer. Improve handling of the many types of expression
10256 line up.
10257 (verilog-just-one-space): Don't print an empty message.
10258 (verilog-get-lineup-indent): Rework to support the better handling
10259 of expression lineup for verilog-pretty-expr.
10260 (verilog-auto-wire): Pass the quiet flag to verilog-pretty-expr.
10261 (verilog-mode-version, verilog-mode-release-date): Update.
10262
10263 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
10264
10265 * subr.el (cancel-change-group): Don't move point.
10266
10267 2008-02-23 Markus Triska <markus.triska@gmx.at>
10268
10269 * linum.el (linum-after-config): Update all visible windows.
10270
10271 2008-02-23 Glenn Morris <rgm@gnu.org>
10272
10273 * menu-bar.el (menu-bar-games-menu): Add Bubbles and Pong.
10274 Add :help for Solitaire and Tetris.
10275
10276 * tree-widget.el (tree-widget-lookup-image): Let-bind `file'.
10277
10278 * mail/smtpmail.el: Remove leading `*' from defcustom doc-strings.
10279 (smtpmail-code-conv-from): Doc fix. Fix custom type.
10280 (smtpmail-queue-index-file): Make it a defcustom.
10281 (smtpmail-queue-index): Delete.
10282 (smtpmail-send-it, smtpmail-send-queued-mail):
10283 Use smtpmail-queue-index-file and smtpmail-queue-dir rather than
10284 smtpmail-queue-index.
10285
10286 * net/net-utils.el (iwconfig-program, iwconfig-program-options):
10287 Add :version.
10288
10289 2008-02-23 Yoni Rabkin <yoni@rabkins.net> (tiny change)
10290
10291 * net/net-utils.el (iwconfig-program, iwconfig-program-options):
10292 New variables.
10293 (iwconfig): New function.
10294
10295 2008-02-23 Dan Nicolaescu <dann@ics.uci.edu>
10296
10297 * vc.el (vc-find-revision): Make vc-parent-buffer local before
10298 setting it.
10299 (vc-status-menu-map): Do not define using easy-menu.
10300 (vc-status-menu-map): New defalias.
10301 (vc-status-mode-map): Hook up the menu.
10302 (top-level): Update TODO.
10303
10304 * vc-hg.el (vc-hg-extra-status-menu): Return a keymap.
10305
10306 * vc-bzr.el (vc-bzr-init-version): Rename to ...
10307 (vc-bzr-init-revision): ... this.
10308
10309 2008-02-23 Jason Rumney <jasonr@gnu.org>
10310
10311 * makefile.w32-in (WINS_ALMOST): Remove term.
10312 (WINS): Add term here.
10313 (custom-deps, finder-data): Use WINS_ALMOST.
10314
10315 2008-02-22 Juanma Barranquero <lekktu@gmail.com>
10316
10317 * faces.el (font-weight-table): Fix value of `semi-light'.
10318
10319 2008-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
10320
10321 * faces.el (font-weight-table, font-slant-table, font-swidth-table):
10322 Make those tables bijective.
10323
10324 2008-02-22 Ken Manheimer <ken.manheimer@gmail.com>
10325
10326 Finish pdbtrack integration cleanup, settling missing-functions
10327 byte compiler warnings appropriately.
10328
10329 * progmodes/python.el (python-point): Remove this - beginning-of-line
10330 was all that was necessary for `python-pdbtrack-overlay-arrow'.
10331 (python-end-of-def-or-class, python-beginning-of-def-or-class)
10332 (python-goto-initial-line): Drop these - they were only needed for
10333 python-point.
10334 (python-comint-output-filter-function): Use condition-case and
10335 beginning-of-line directly, instead of python-mode.el functions
10336 which require all sorts of baggage.
10337 (point-safe): Unnecessary - we're using condition-case directly,
10338 instead.
10339 (python-execute-file): Include for python-shell, which I'm leaving
10340 in keeping despite it being unnecessary for pdb tracking.
10341
10342 2008-02-22 Peter Danenberg <pcd@wikitex.org> (tiny change)
10343
10344 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10345 Add SRFI 11 support.
10346 (let-values, let*-values): Specify scheme-indent-function.
10347
10348 2008-02-22 Dan Nicolaescu <dann@ics.uci.edu>
10349
10350 * vc.el (vc-exec-after): Move setting mode-line-process in the
10351 busy case ...
10352 (vc-set-mode-line-busy-indicator): ... in this new function.
10353 (vc-status-refresh): Call vc-set-mode-line-busy-indicator.
10354 (vc-update-vc-status-buffer): Reset mode-line-process.
10355 (vc-status-mark-all-files, vc-status-unmark-all-files): Change to
10356 mark/unmark all the files with the same state as the current one.
10357 With a prefix argument mark/unmark all files.
10358 (vc-status-mode-menu): Adjust strings.
10359 (vc-update-vc-status-buffer): Only do something when the argument
10360 is not nil.
10361 (vc-status-kill-dir-status-process): New function.
10362 (vc-status-mode-map): Bind it.
10363 (vc-status-process-buffer): New variable.
10364 (vc-status-mode): Make it local.
10365 (vc-status-refresh): Set it.
10366
10367 * vc-hg.el (vc-hg-dir-status):
10368 * vc-git.el (vc-git-dir-status):
10369 * vc-svn.el (vc-svn-dir-status): Return the buffer in which the
10370 command is run.
10371
10372 2008-02-22 Glenn Morris <rgm@gnu.org>
10373
10374 * json.el (top-level): No need to require thingatpt.
10375 (json-read-keyword): Use thing-at-point rather than word-at-point.
10376
10377 * time.el (top-level): No need to require time-date when compiling.
10378
10379 * emacs-lisp/copyright.el (copyright-update-year):
10380 Fix subexpression numbering for the case when years are split over
10381 lines, and for the replace case.
10382
10383 * emulation/tpu-edt.el (tpu-have-ispell): Doc fix. Make obsolete.
10384 (tpu-caar, tpu-cadr): Delete functions.
10385 (zmacs-regions): No need to declare for compiler.
10386 (tpu-goto-breadcrumb): Use cadr rather than tpu-cadr.
10387 (tpu-spell-check): Rewrite, and handle mark after point.
10388 (tpu-special-insert): Use or rather than if.
10389
10390 * emulation/vip.el (vip-special-prefix-com): Use ispell-region
10391 rather than spell-region.
10392
10393 * textmodes/spell.el (spell-buffer, spell-word): Suppress compiler
10394 warnings about spell-region.
10395
10396 2008-02-22 Kenichi Handa <handa@ni.aist.go.jp>
10397
10398 * ldefs-boot.el: Regenerated.
10399
10400 * loadup.el: Don't load language/devanagari, language/kannada,
10401 language/malayalam, and language/tamil. Load language/sinhala.
10402
10403 * language/indian.el (indian-font-foundry)
10404 (indian-script-language-alist, indian-font-char-index-table)
10405 (indian-font-char, indian-font-char-range, indian-script-table)
10406 (indian-default-script, indian-composable-pattern): Delete them.
10407 ("Devanagari", "Kannada", "Malayalam", "Tamil"): Definitions of
10408 language environments moved to here.
10409 ("Bengali", "Punjabi", "Gujarati", "Oriya", "Telugu"):
10410 New language environments.
10411
10412 * language/devanagari.el, language/devan-util.el,
10413 * language/kannada.el, language/knd-util.el, language/malayalam.el,
10414 * language/mlm-util.el, language/tamil.el, language/tml-util.el:
10415 Delete them.
10416
10417 * language/sinhala.el: New file.
10418
10419 2008-02-21 Ken Manheimer <ken.manheimer@gmail.com>
10420
10421 Update Nick Robert's port of pdb tracking from python-mode.el.
10422
10423 * progmodes/python.el (python-pdbtrack-toggle-stack-tracking):
10424 Clarify docstring.
10425 (python-pdbtrack-minor-mode-string): A sign indicating that pdb
10426 tracking is happening.
10427 (python-pdbtrack-stack-entry-regexp): Better recognize stack traces.
10428 (python-pdbtrack-input-prompt): Better recognize PDB prompts.
10429 (comint-output-filter-functions): Add python-pdbtrack-track-stack-file.
10430 Tracking is plugged in to all comint buffers once python.el is loaded.
10431 (python-pdbtrack-overlay-arrow): Toggle activation of
10432 `python-pdbtrack-minor-mode-string' in addition to the overlay arrow.
10433 (python-pdbtrack-track-stack-file): Use new
10434 `python-pdbtrack-get-source-buffer' for more flexible access to
10435 debugging source files.
10436 (python-pdbtrack-get-source-buffer): Identify debugging target buffer
10437 according to pdb stack trace, optionally using new
10438 `python-pdbtrack-grub-for-buffer' if file is not locally available.
10439 (python-pdbtrack-grub-for-buffer): Find most recent python-mode
10440 named buffer, or having function with indicated name.
10441 (python-shell): Remove comint-output-filter-functions hook
10442 addition, it's being done elsewhere. Wrap long line.
10443
10444 2008-02-21 Michael Olson <mwolson@gnu.org>
10445
10446 * json.el: Replace XEmacs compatibility code to get rid of
10447 compiler warnings.
10448
10449 * time.el: Fix compiler warning.
10450
10451 2008-02-21 Edward O'Connor <ted@oconnor.cx>
10452
10453 * json.el: New file (JavaScript Object Notation parser / generator).
10454
10455 2008-02-21 Dave Love <fx@gnu.org>
10456
10457 * progmodes/sym-comp.el: New file.
10458
10459 * progmodes/python.el: Merge from Dave Love's 2008-01-20 version.
10460 Require sym-comp. Add Python buffer to same-window-buffer-names.
10461 Fixup whitespaces.
10462 (python-font-lock-keywords): Add highlighting for Python builtins.
10463 (python-font-lock-syntactic-keywords): Rewrite.
10464 (python-quote-syntax): Use syntax-ppss-context instead of parsing
10465 ppss directly.
10466 (python-mode-map): Add binding for python-find-function.
10467 (python-calculate-indentation): Clean up the logic.
10468 (python-beginning-of-defun): Explicitly set return value.
10469 (python-beginning-of-statement): Stop looping if we get stuck
10470 going backwards.
10471 (python-next-statement): Stop looping if we somehow end up inside
10472 a string while advancing.
10473 (python-preoutput-continuation, python-version-checked): New vars.
10474 (python-check-version): New function.
10475 (run-python): Set default command to python-command instead of
10476 python-python-command.
10477 (run-python): Use python-check-version. Give PYTHONPATH
10478 precedence over data-directory in the process environment.
10479 Load function definitions in python process after.
10480 (python-check-comint-prompt): New function.
10481 (python-send-command, python-send-receive): Use it.
10482 (python-complete-symbol, python-try-complete): Functions deleted.
10483 Use symbol-complete instead of python-complete-symbol throughout.
10484 (python-fill-paragraph): Further refine the fenced-string regexp.
10485 (def-python-skeleton): Expand to the original abbrev instead if in
10486 a comment or string. Tweak skeletons for `if', `while', `for',
10487 `try/except', `try/finally', `name'.
10488 (python-pea-hook, python-abbrev-pc-hook): New functions.
10489 (python-abbrev-syntax-table): New var.
10490 (python-mode): Add python-pea-hook to pre-abbrev-expand-hook.
10491 Use symbol-completion-try-complete for hippie expansion.
10492 Turn on font lock unconditionally.
10493 (python-mode-hook): Defcustom it. No need to use make-local
10494 variable on indent-tabs-mode in "Turn off Indent Tabs mode"
10495 option, since it's buffer-local.
10496
10497 2008-02-21 Juanma Barranquero <lekktu@gmail.com>
10498
10499 * play/hanoi.el (hanoi-internal): Set `show-trailing-whitespace' to nil.
10500
10501 2008-02-21 Drew Adams <drew.adams@oracle.com>
10502
10503 * mouse.el (minor-mode-menu-from-indicator): Create a menu with a
10504 "Turn off" and a "Help" entry when the minor mode has no menu.
10505
10506 2008-02-21 Dan Nicolaescu <dann@ics.uci.edu>
10507
10508 * vc.el (vc-status-mark, vc-status-unmark): New functions.
10509 (vc-status-mode-map, vc-status-mode-menu): Bind them instead of
10510 vc-status-mark-file and vc-status-unmark-file.
10511 (vc-status-mark-unmark): New function.
10512 (vc-status-previous-line, vc-status-next-line): No longer interactive.
10513
10514 2008-02-21 Glenn Morris <rgm@gnu.org>
10515
10516 * composite.el (encode-composition-rule): Fix typo in error message.
10517 (composition-function-table, auto-composition-mode): Doc fixes.
10518
10519 * subr.el (sit-for): Fix obsolete form for nil second argument.
10520
10521 * textmodes/spell.el (spell-buffer, spell-word, spell-region)
10522 (spell-string): Make obsolete, in favor of ispell.
10523
10524 2008-02-21 Kenichi Handa <handa@ni.aist.go.jp>
10525
10526 * language/devanagari.el: Don't setup composition-function-table
10527 here.
10528 ("Devanagari"): Change charset, coding-system, coding-priority to
10529 Unicode-based ones. Don't require the feature devan-util.
10530
10531 * composite.el (compose-chars-after): Fix arguments for a function
10532 in composition-function-table.
10533 (auto-compose-region): Likewise.
10534
10535 * ps-mule.el (ps-mule-font-info-database-bdf): Use ethio16f-uni.bdf
10536 for Ethiopic.
10537 (ps-mule-plot-string): Ignore glyph-string based compositions.
10538
10539 2008-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
10540
10541 * doc-view.el: Allow different windows to show different pages.
10542 (doc-view-current-page, doc-view-current-slice, doc-view-current-info)
10543 (doc-view-current-image, doc-view-current-overlay): Remove variables,
10544 add them back as macros instead, using image-mode-winprops instead.
10545 Update all users of those variables.
10546 (doc-view-new-window-function): New function to create a new overlay
10547 for each new window.
10548 (doc-view-mode): Use it and image-mode-setup-winprops.
10549 (doc-view-clone-buffer-hook): Rewrite accordingly.
10550
10551 * image-mode.el: Extend [hv]scroll support to per-window properties.
10552 (image-mode-current-vscroll, image-mode-current-hscroll): Remove.
10553 (image-mode-winprops-alist): New var to replace them.
10554 (image-mode-new-window-functions): New hook.
10555 (image-mode-winprops, image-mode-window-get, image-mode-window-put):
10556 New funs.
10557 (image-set-window-vscroll, image-set-window-hscroll): Use them.
10558 Remove the `window' argument, update callers.
10559 (image-mode-reapply-winprops): Rename image-reset-current-vhscroll.
10560 Use the new functions.
10561 (image-mode-reapply-winprops): New fun.
10562 (image-mode): Use it.
10563
10564 2008-02-20 Jay Belanger <jay.p.belanger@gmail.com>
10565
10566 * calc/calc-math.el (math-sin-raw): Add optional argument
10567 to keep track of original argument.
10568 (math-cos-raw): Use optional argument when calling math-sin-raw.
10569 (math-sin-raw-2, math-cos-raw-2): Check for a zero argument
10570 with close to original precision.
10571
10572 2008-02-20 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
10573
10574 * textmodes/bibtex.el (bibtex-convert-alien): Do not use optional
10575 args in calls of sit-for.
10576
10577 2008-02-20 Juanma Barranquero <lekktu@gmail.com>
10578
10579 * vc-svn.el (vc-svn-program): Fix typo in docstring.
10580 (vc-svn-checkin): Fix typo in error message.
10581
10582 * help-mode.el: Require easymenu when compiling.
10583
10584 2008-02-20 Dan Nicolaescu <dann@ics.uci.edu>
10585
10586 * help-mode.el (help-mode-menu): New menu.
10587
10588 2008-02-20 Glenn Morris <rgm@gnu.org>
10589
10590 * mail/rmail.el (rmail-autodetect): Add .exe extension to movemail
10591 on Windows.
10592
10593 2008-02-20 Kenichi Handa <handa@ni.aist.go.jp>
10594
10595 * ps-mule.el (ps-mule-encode-region): Return a single string.
10596 (ps-mule-plot-string): Adjust for the above change.
10597 (ps-mule-encode-header-string): Likewise.
10598
10599 * international/latin1-disp.el (latin1-display): Don't use
10600 ucs-mule-8859-to-mule-unicode. Fix the way of resetting
10601 standard-display-table.
10602 (latin1-display-identities): Adjust for the change of what is
10603 returned by (get-language-info charset 'charset).
10604
10605 * international/mule-util.el (char-displayable-p): Fix for Latin-1
10606 characters and terminal case.
10607
10608 2008-02-19 Ken Manheimer <ken.manheimer@gmail.com>
10609
10610 Minor Adaptions by Nick Roberts <nickrob@snap.net.nz> for Emacs.
10611
10612 * progmodes/python.el: Also require comint when loading.
10613 (python-mode-map): Bind python-pdbtrack-toggle-stack-tracking.
10614 Replace python-shell with run-python on menu bar.
10615 (python-shell-map): New map.
10616 (python-default-interpreter, python-python-command-args)
10617 (python-jython-command-args, python-pdbtrack-do-tracking-p):
10618 New options.
10619 (python-which-shell, python-which-args, python-which-bufname):
10620 New buffer local variables.
10621 (python-file-queue, python-pdbtrack-is-tracking-p): New variables.
10622
10623 * progmodes/python.el (python-pdbtrack-stack-entry-regexp)
10624 (python-pdbtrack-input-prompt, python-pdbtrack-track-range):
10625 New constants.
10626
10627 Pdbtrack features:
10628
10629 (python-point, python-end-of-def-or-class)
10630 (python-beginning-of-def-or-class, python-goto-initial-line)
10631 (python-comint-output-filter-function)
10632 (python-pdbtrack-overlay-arrow)
10633 (python-pdbtrack-track-stack-file, python-toggle-shells)
10634 (python-shell, python-pdbtrack-toggle-stack-tracking)
10635 (turn-on-pdbtrack, turn-off-pdbtrack, python-sentinel):
10636 New functions.
10637
10638 2008-02-19 Katsumi Yamaoka <yamaoka@jpl.org>
10639
10640 * net/ange-ftp.el (ange-ftp-quote-string): Return the null string
10641 when the argument is nil.
10642
10643 2008-02-19 Dan Nicolaescu <dann@ics.uci.edu>
10644
10645 * vc.el (dir-status): Add a brief description.
10646
10647 2008-02-19 Thien-Thi Nguyen <ttn@gnuvola.org>
10648
10649 * vc-hooks.el (vc-find-root): Take optional arg INVERT.
10650 If non-nil, reverse the sense of the check.
10651
10652 * vc-rcs.el (vc-rcs-root): New func.
10653 * vc-cvs.el (vc-cvs-root): New func.
10654 * vc-svn.el (vc-svn-root): New func.
10655 * vc-sccs.el (vc-sccs-root): New func.
10656
10657 2008-02-18 Kenichi Handa <handa@ni.aist.go.jp>
10658
10659 * language/japan-util.el (setup-japanese-environment-internal):
10660 Call use-cjk-char-width-table.
10661
10662 * language/japanese.el ("Japanese"): Set exit-function to
10663 use-default-char-width-table.
10664
10665 * international/characters.el: Delete occurrences of non-Unicode
10666 tibetan and ethiopic characters.
10667 (cjk-char-width-table): New variable.
10668 (use-cjk-char-width-table, use-default-char-width-table):
10669 New functions.
10670
10671 2008-02-19 Dan Nicolaescu <dann@ics.uci.edu>
10672
10673 * vc.el (vc-status-menu, vc-status-menu-map-filter): New functions.
10674 (vc-status-mode-menu): Add a :filter.
10675 (vc-status-printer): Add faces.
10676
10677 * vc-hg.el (vc-hg-extra-status-menu): New function.
10678 (vc-hg-dir-status): Clean up the buffer before using it.
10679
10680 2008-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
10681
10682 * progmodes/gdb-ui.el (gdb-output-sink): Define with an invalid value.
10683 (gdb): Initialize it here instead.
10684
10685 * files.el (locate-dominating-file): Fix thinko in last change.
10686 Reported by Bruce Stephens <bruce.stephens@isode.com>.
10687
10688 2008-02-18 Dan Nicolaescu <dann@ics.uci.edu>
10689
10690 * vc.el (vc-status-mode-menu): New menu for vc-status.
10691
10692 2008-02-18 Juanma Barranquero <lekktu@gmail.com>
10693
10694 * progmodes/verilog-mode.el (customize): Fix typo in error message.
10695 (verilog-mode, verilog-mode-indent, verilog-mode-actions)
10696 (verilog-mode-auto, verilog-indent-level-module)
10697 (verilog-minimum-comment-distance, verilog-library-flags)
10698 (verilog-library-directories, verilog-library-files)
10699 (verilog-auto-reset-widths, verilog-imenu-generic-expression)
10700 (verilog-xemacs-menu, verilog-set-compile-command)
10701 (verilog-set-compile-command, verilog-mode-syntax-table, verilog-mode)
10702 (verilog-get-expr, verilog-strip-comments, verilog-one-line)
10703 (verilog-lint-off, verilog-batch-auto, verilog-batch-delete-auto)
10704 (verilog-batch-inject-auto, verilog-batch-indent)
10705 (verilog-continued-line, verilog-type-keywords)
10706 (verilog-read-sub-decls-sig, verilog-read-sub-decls-line)
10707 (verilog-read-inst-pins, verilog-read-arg-pins)
10708 (verilog-read-auto-template, verilog-read-signals, verilog-getopt-file)
10709 (verilog-add-list-unique, verilog-symbol-detick, verilog-modi-filename)
10710 (verilog-auto-star, verilog-auto-inst, verilog-auto-wire)
10711 (verilog-enum-ascii, verilog-sk-begin, verilog-sk-fork)
10712 (verilog-sk-datadef, verilog-colorize-include-files-buffer)
10713 (verilog-mode-version, verilog-mode-release-date)
10714 (verilog-mode-release-emacs, verilog-linter, verilog-coverage)
10715 (verilog-simulator, verilog-compiler)
10716 (verilog-auto-sense-defines-constant, verilog-company)
10717 (verilog-project, verilog-mark-defun, verilog-submit-bug-report):
10718 Fix typos in docstrings.
10719 (verilog-set-auto-endcomments, verilog-calculate-indent)
10720 (verilog-inject-auto, verilog-auto-arg, verilog-auto-inout-module):
10721 Reflow docstrings.
10722 (verilog-tab-always-indent, verilog-highlight-p1800-keywords)
10723 (verilog-auto-star-save, verilog-auto-inst-vector, verilog-mode-hook)
10724 (electric-verilog-forward-sexp, verilog-in-case-region-p)
10725 (verilog-in-struct-region-p, verilog-in-generate-region-p)
10726 (verilog-leap-to-head, verilog-current-indent-level)
10727 (verilog-case-indent-level, verilog-cpp-keywords)
10728 (verilog-defun-keywords, verilog-block-keywords, verilog-tf-keywords)
10729 (verilog-case-keywords, verilog-separator-keywords, verilog-completion)
10730 (verilog-signals-not-in, verilog-symbol-detick-text)
10731 (verilog-modi-cache-preserve-tick, verilog-modi-cache-preserve-buffer)
10732 (verilog-forward-close-paren, verilog-backward-open-paren)
10733 (verilog-backward-open-bracket): Doc fixes.
10734
10735 * progmodes/gud.el (gud-def, gud-last-speedbar-stackframe): Doc fixes.
10736 (gud-symbol, gud-expansion-speedbar-buttons, gud-speedbar-buttons)
10737 (gud-gdb-run-command-fetch-lines, gud-dbx-use-stopformat-p)
10738 (gud-jdb-classpath, gud-jdb-find-source-using-classpath, jdb)
10739 (gud-find-class, gdb-script-mode, gud-tooltip-event, gud-tooltip-tips):
10740 Fix typos in docstrings.
10741
10742 * w32-vars.el (w32-system-shells): Add TCC (new name for 4NT).
10743
10744 2008-02-18 Bastien Guerry <Bastien.Guerry@ens.fr>
10745
10746 * info.el (Info-read-node-name): Removed unused `default' arg.
10747
10748 2008-02-18 Thien-Thi Nguyen <ttn@gnuvola.org>
10749
10750 * vc-git.el (vc-git-after-dir-status, vc-git-dir-status): New funcs.
10751
10752 2008-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
10753
10754 * image-mode.el (image-get-display-property): New fun.
10755 (image-forward-hscroll, image-next-line, image-eol, image-eob)
10756 (image-mode, image-minor-mode, image-toggle-display-text)
10757 (image-toggle-display): Use it.
10758
10759 2008-02-18 Jason Rumney <jasonr@gnu.org>
10760
10761 * international/mule.el (xml-find-file-coding-system): Don't warn
10762 about utf-16 with BOM.
10763
10764 * nxml/nxml-mode.el (nxml-mode): Don't add a write-contents-hook.
10765
10766 * international/mule.el (sgml-xml-auto-coding-function): Detect and
10767 warn if file encoding is not utf-8 and encoding not specified.
10768 (xml-find-file-coding-system): New function.
10769 * international/mule-conf.el (file-coding-system-alist): Use it.
10770
10771 2008-02-17 Glenn Morris <rgm@gnu.org>
10772
10773 * international/mule-cmds.el (set-locale-environment):
10774 Pass `frame' to getenv for LC_MESSAGES.
10775
10776 2008-02-17 Juri Linkov <juri@jurta.org>
10777
10778 * time.el (emacs-init-time): Use format instead of format-seconds.
10779
10780 2008-02-17 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
10781
10782 * textmodes/bibtex.el (bibtex-search-entry): Rename from
10783 bibtex-find-entry. Add autoload cookie.
10784 (bibtex-find-entry): Alias for bibtex-search-entry.
10785 (bibtex-search-crossref): Rename from bibtex-find-crossref.
10786 (bibtex-find-crossref): Alias for bibtex-search-crossref.
10787 (bibtex-clean-entry): atomic-change-group removed.
10788 (bibtex-format-entry): Use atomic-change-group. Use unwind-protect
10789 to locate buffer location where error occurred.
10790 Make error messages more specific.
10791 (bibtex-parse-keys): Only parse if buffer uses bibtex-mode.
10792
10793 2008-02-17 Dan Nicolaescu <dann@ics.uci.edu>
10794
10795 * progmodes/hideshow.el (hs-minor-mode-map): Move menu creation to
10796 top level.
10797
10798 * simple.el (transient-mark-mode): Add an :init-value.
10799
10800 * startup.el (command-line): Use custom-reevaluate-setting for
10801 transient-mark-mode.
10802
10803 2008-02-17 Michaël Cadilhac <michael@cadilhac.name>
10804
10805 * wdired.el (wdired-allow-to-change-permissions): Fix typo.
10806
10807 2008-02-16 Juri Linkov <juri@jurta.org>
10808
10809 * startup.el (after-init-time): New variable.
10810 (command-line): Set `after-init-time' to the current time.
10811
10812 * time.el (emacs-init-time): New function.
10813
10814 2008-02-16 Stefan Monnier <monnier@iro.umontreal.ca>
10815
10816 * files.el (locate-dominating-file): Remove initial loop because it's
10817 not careful enough. Detect the uid-change all within the main loop.
10818
10819 2008-02-16 Lawrence Mitchell <wence@gmx.li> (tiny change)
10820
10821 * ielm.el (ielm-is-whitespace-or-comment): Docstring fix.
10822
10823 2008-02-16 Dan Nicolaescu <dann@ics.uci.edu>
10824
10825 * vc.el (vc-annotate): Add new argument.
10826 (vc-annotate-warp-revision): Pass the current line to vc-annotate.
10827
10828 * progmodes/hideshow.el: Remove the minor-mode bookkeeping.
10829 Move make-variable-buffer-local code after the corresponding defvar.
10830 (hs-minor-mode-map): Define and initialize in one step.
10831 (hs-minor-mode): Change from defun to define-minor-mode.
10832
10833 2008-02-16 Nick Roberts <nickrob@snap.net.nz>
10834
10835 * progmodes/gud.el (gud-gdb): Don't reset gdb-ready.
10836 (gdb-ready): Move declaration...
10837
10838 * progmodes/gdb-ui.el (gdb-ready): ...to here.
10839 (gdb-early-user-input): New variable.
10840 (gdb): Reset gdb-flush-pending-output to nil and set
10841 comint-input-sender here (before gdb-prompt), instead of...
10842 (gdb-init-1): ...here.
10843 (gdb-send): If Emacs is not ready, defer user input to...
10844 (gdb-prompt): ...here.
10845
10846 2008-02-16 Glenn Morris <rgm@gnu.org>
10847
10848 * nxml/test.invalid.xml, nxml/test.valid.xml: Move to etc/nxml.
10849
10850 * startup.el (emacs-startup-time): Rename to `before-init-time'.
10851 (before-init-time): New name for `emacs-startup-time'.
10852 (command-line): Use before-init-time rather than emacs-startup-time.
10853 * time.el (emacs-uptime): Use before-init-time rather than
10854 emacs-startup-time.
10855
10856 * composite.el (composition-function-table): Doc fix.
10857
10858 * calendar/time-date.el (format-seconds): Remove `nonzero' argument
10859 in favor of `%z' specifier.
10860 (emacs-uptime): Move to time.el.
10861 * time.el (emacs-uptime): Move here from time-date.el. Add optional
10862 `format' argument. Doc fix. Use `%z' rather than removed `nonzero'
10863 argument of format-seconds.
10864
10865 2008-02-16 Dan Nicolaescu <dann@ics.uci.edu>
10866
10867 * bindings.el (mode-line-mule-info): Make the tooltips more explicit.
10868
10869 2008-02-15 Lawrence Mitchell <wence@gmx.li> (tiny change)
10870
10871 * ielm.el (ielm-is-whitespace): Remove.
10872 (ielm-is-whitespace-or-comment): New function.
10873 (ielm-eval-input): Use it.
10874
10875 2008-02-15 Jason Rumney <jasonr@gnu.org>
10876
10877 * term/mac-win.el: Fix coding tag.
10878
10879 2008-02-15 Dan Nicolaescu <dann@ics.uci.edu>
10880
10881 * vc-hooks.el (vc-menu-map):
10882 * bindings.el (mode-line-mode-menu): Add tooltips.
10883
10884 * bindings.el (help-echo): Add more tooltips. Use a less
10885 telegraphic style for existing tooltips.
10886
10887 2008-02-14 Stefan Monnier <monnier@iro.umontreal.ca>
10888
10889 * frame.el (frame-notice-user-settings): Distinguish explicit parent-id
10890 from the auto-generated one.
10891
10892 2008-02-14 Glenn Morris <rgm@gnu.org>
10893
10894 * mail/rmail-spam-filter.el (rmail-spam-filter):
10895 Let-bind message-spam-status.
10896
10897 * mail/smtpmail.el (password-cache-add): Declare as function.
10898
10899 2008-02-14 Justus Piater <Justus-bulk@Piater.name> (tiny change)
10900
10901 * mail/smtpmail.el: Use password-cache.
10902
10903 2008-02-14 Juanma Barranquero <lekktu@gmail.com>
10904
10905 * uniquify.el (uniquify-buffer-base-name): New function.
10906 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
10907
10908 * desktop.el (uniquify-managed): Don't defvar.
10909 (desktop-buffer-info): Use `uniquify-buffer-base-name', not
10910 `uniquify-managed'. Return also the buffer's base name.
10911 (desktop-save): When saving the buffer info, filter out the base name,
10912 and save it as buffer name if the buffer is managed by uniquify.
10913 (uniquify-item-base): Don't declare; not called anymore.
10914
10915 2008-02-14 Dan Nicolaescu <dann@ics.uci.edu>
10916
10917 * vc.el (vc-annotate-find-revision-at-line): New function.
10918 (vc-annotate-mode-map): Bind it.
10919 (vc-annotate-mode-menu): Add a menu entry for it. Add :help for
10920 some entries.
10921
10922 2008-02-14 Glenn Morris <rgm@gnu.org>
10923
10924 * calendar/time-date.el (format-seconds): New function.
10925 (emacs-uptime): Use format-seconds.
10926
10927 * Makefile.in (custom-deps, finder-data, autoloads, recompile):
10928 Remove `LC_ALL=C', since it's included in $(emacs) now.
10929
10930 2008-02-14 Zhang Wei <id.brep@gmail.com>
10931
10932 * textmodes/org-publish.el (org-publish-timestamp-filename):
10933 Replace colon characters in filename too.
10934
10935 2008-02-13 Bastien Guerry <bzg@altern.org>
10936
10937 * mail/rmail.el (rmail-header-name): New face.
10938 (rmail-font-lock-keywords): Use rmail-header-name.
10939
10940 * mail/rmail-spam-filter.el (rsf-definitions-alist): Allow check
10941 against X-Spam-Status header field.
10942 (rmail-spam-filter): Also check X-Spam-Status header field.
10943
10944 2008-02-14 Mark A. Hershberger <mah@everybody.org>
10945
10946 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10947 Add support for .pm files and .php files.
10948 (flymake-err-line-patterns): Add pattern for PHP errors.
10949 (flymake-php-init): New function. PHP support for flymake.
10950
10951 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10952 Add regular expression for PHP errors.
10953
10954 2008-02-13 Michael Albinus <michael.albinus@gmx.de>
10955
10956 * net/ange-ftp.el (ange-ftp-quote-string): Use `shell-quote-argument'.
10957 This DTRT even on w32 machines.
10958 (ange-ftp-cf1): Quote FILENAME.
10959
10960 2008-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
10961
10962 * smerge-mode.el (smerge-auto-combine-max-separation): New var.
10963 (smerge-auto-combine): New fun.
10964
10965 2008-02-12 Juri Linkov <juri@jurta.org>
10966
10967 * startup.el (fancy-startup-screen, normal-splash-screen):
10968 Set default-directory to command-line-default-directory.
10969
10970 * desktop.el (after-init-hook): Set inhibit-startup-screen to t
10971 after reading the desktop.
10972
10973 * progmodes/compile.el (compilation-auto-jump):
10974 Call compile-goto-error only when compilation-auto-jump-to-first-error
10975 is non-nil.
10976 (compilation-scroll-output): Replace :type 'boolean with a choice
10977 that has three options including a third option `first-error'.
10978 Doc fix.
10979 (compilation-start, compilation-forget-errors): Add an alternate
10980 condition comparing compilation-scroll-output with `first-error'
10981 in addition to compilation-auto-jump-to-first-error (to call
10982 compilation-auto-jump in the proper place).
10983
10984 2008-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
10985
10986 * international/mule.el (sgml-html-meta-auto-coding-function):
10987 Make sure the search limit is ahead.
10988
10989 * tar-mode.el: Fix broken indentation.
10990 (tar-mouse-extract, tar-extract, tar-subfile-save-buffer):
10991 Use with-current-buffer.
10992
10993 2008-02-12 Juanma Barranquero <lekktu@gmail.com>
10994
10995 * hexl.el (hexl-mode): Don't make `font-lock-defaults' buffer-local;
10996 it is already automatically buffer-local.
10997
10998 2008-02-11 Drew Adams <drew.adams@oracle.com>
10999
11000 * help.el (describe-key): Join some split lines to facilitate filling.
11001 * help-fns.el (describe-function-1): Fill text of overlong lines.
11002
11003 2008-02-12 Kenichi Handa <handa@ni.aist.go.jp>
11004
11005 * emacs-lisp/bytecomp.el (byte-compile-lapcode):
11006 Use unibyte-string instead of string-make-unibyte.
11007
11008 * Makefile.in (AUTOGENEL): Remove charprop.el and uni-*.el.
11009
11010 2008-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
11011
11012 * doc-view.el (doc-view-display): Change file arg to buffer arg, so it
11013 works also for buffers w/o buffer-file-name. Update callers.
11014 (doc-view-clone-buffer-hook): New fun.
11015 (doc-view-mode): Use it for indirect clones. Mark the overlays with
11016 the `doc-view' property so they can be recognized.
11017
11018 * simple.el (clone-indirect-buffer-hook): New hook.
11019 (clone-indirect-buffer): Run it.
11020
11021 2008-02-11 Daiki Ueno <ueno@unixuser.org>
11022
11023 * epa.el (epa-menu-mode): Merge into epa-mode.
11024 (epa-menu-items): Rename the label "EasyPG Assistant" to
11025 "Encryption/Decryption".
11026
11027 * epa-dired.el: Define a new minor-mode epa-dired-mode for dired.
11028 (epa-dired-mode-map): Rename from epa-dired-map.
11029 (epa-global-dired-mode): Rename the global minor mode.
11030
11031 2008-02-11 Drew Adams <drew.adams@oracle.com>
11032
11033 * isearch.el (isearch-fail): New face.
11034 (isearch-message): Highlight failure part of input.
11035
11036 2008-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
11037
11038 * ibuffer.el (ibuffer-header-line-format): New var.
11039 (ibuffer-mode): Set it instead of header-line-format.
11040 (ibuffer-update): Use it to set header-line-format.
11041
11042 * international/mule-cmds.el (ucs-insert): Inherit surrounding
11043 properties like self-insert-command.
11044
11045 2008-02-11 Drew Adams <drew.adams@oracle.com>
11046
11047 * progmodes/etags.el: Add many doc strings.
11048
11049 2008-02-11 Jason Rumney <jasonr@gnu.org>
11050
11051 * ldefs-boot.el: Regenerated.
11052
11053 2008-02-11 Glenn Morris <rgm@gnu.org>
11054
11055 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11056 Shorten some names.
11057
11058 * ffap.el (ffap-rfc-directories): Add :version.
11059
11060 2008-02-11 Chris Moore <christopher.ian.moore@gmail.com>
11061
11062 * jka-cmpr-hook.el (jka-compr-compression-info-list): Handle .sifz
11063 files, and backup files of same.
11064
11065 2008-02-11 Kevin Ryde <user42@zip.com.au>
11066
11067 * ffap.el (ffap-rfc-directories): New variable.
11068 (ffap-rfc): Look in those dirs before offering ffap-rfc-path.
11069
11070 * info.el (Info-next-reference, Info-prev-reference)
11071 (Info-try-follow-nearest-node): Move to and follow https:// links too.
11072
11073 * simple.el (completion-list-mode): Show full completion-list-mode-map
11074 in the docstring.
11075
11076 2008-02-11 Sam Steingold <sds@gnu.org>
11077
11078 * vc-hooks.el (vc-prefix-key): Remove (undo 2008-02-06 patch).
11079
11080 2008-02-11 Glenn Morris <rgm@gnu.org>
11081
11082 * startup.el (emacs-startup-time): New variable.
11083 (command-line): Set emacs-startup-time.
11084
11085 * calendar/time-date.el (emacs-uptime): New function.
11086
11087 2008-02-10 Bastien Guerry <bzg@altern.org>
11088
11089 * mail/rmail.el (rmail-nonignored-headers): Allow to be nil.
11090 (rmail-clear-headers): Don't check `rmail-nonignored-headers' when
11091 it is nil.
11092
11093 2008-02-10 Daiki Ueno <ueno@unixuser.org>
11094
11095 * epg-config.el: Expand the contents of epg-package-info.el.
11096 (epg-package-name): New constant.
11097 (epg-version-number): New constant.
11098 (epg-bug-report-address): New constant.
11099
11100 * epa-mail.el (epa-mail-mode): Add autoload cookie.
11101 (epa-global-mail-mode): New global minor mode.
11102
11103 * epa-file.el (epa-file-mode): New global minor mode.
11104
11105 * epa-dired.el (epa-dired-mode): New global minor mode.
11106
11107 * epa.el (epa-menu): New variable.
11108 (epa-menu-items): New variable.
11109 (epa-menu-mode): New global minor mode.
11110 (epa-global-minor-modes): New user option.
11111 (epa-mode): New global minor mode.
11112
11113 2008-02-10 Michael Albinus <michael.albinus@gmx.de>
11114
11115 * net/dbus.el: Remove `no-byte-compile' cookie.
11116 (dbus-call-method, dbus-register-signal, dbus-debug)
11117 (dbus-registered-functions-table): Declare them with
11118 `declare-function' or `defvar', respectively.
11119 (top): Don't assert any longer. Require 'cl when compiling.
11120 Apply `ignore-errors' but `dbus-ignore-errors'.
11121
11122 2008-02-10 Dan Nicolaescu <dann@ics.uci.edu>
11123
11124 * diff-mode.el (diff-add-change-log-entries-other-window):
11125 Use add-change-log-entry.
11126
11127 2008-02-09 Jason Rumney <jasonr@gnu.org>
11128
11129 * button.el (button-map):
11130 * wid-edit.el (widget-keymap): Avoid line-end confusion in autoloads.
11131 * ldefs-boot.el: Regenerate.
11132
11133 2008-02-09 Dan Nicolaescu <dann@ics.uci.edu>
11134
11135 * epa.el (epa-faces, epa):
11136 * epa-file.el (epa-file):
11137 * epg-config.el (epg): Add :version.
11138
11139 2008-02-09 Thien-Thi Nguyen <ttn@gnuvola.org>
11140
11141 * vc.el (vc-exec-after): Append CODE to previous fragments.
11142 (vc-diff-finish): Take BUFFER directly, not BUFFER-NAME;
11143 take MESSAGES instead of VERBOSE; use it when non-nil.
11144 (vc-diff-internal): Compute messages once; use them;
11145 update call to vc-diff-finish.
11146
11147 2008-02-09 Michael Olson <mwolson@gnu.org>
11148
11149 * net/tramp.el (tramp-process-sentinel): Avoid error when process
11150 buffer has been killed, such as by
11151 `tramp-cleanup-all-connections'.
11152
11153 2008-02-09 Miles Bader <miles@gnu.org>
11154
11155 * net/rcirc.el (rcirc-omit-mode): Suppress invisibility ellipsis.
11156
11157 2008-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
11158
11159 * diff-mode.el (diff-add-change-log-entries-other-window): Avoid the
11160 splitter in context hunks.
11161
11162 2008-02-08 Kenichi Handa <handa@ni.aist.go.jp>
11163
11164 * international/fontset.el (setup-default-fontset): Fix arabic otf
11165 font specification.
11166
11167 2008-02-08 Daiki Ueno <ueno@unixuser.org>
11168
11169 * epa-dired.el:
11170 * epa-file.el:
11171 * epa-mail.el:
11172 * epa-setup.el:
11173 * epa.el:
11174 * epg-config.el:
11175 * epg-package-info.el:
11176 * epg.el: Initial check-in of EasyPG.
11177
11178 2008-02-08 Glenn Morris <rgm@gnu.org>
11179
11180 * woman.el (woman-locale): New defcustom.
11181 (woman-expand-locale, woman-manpath-add-locales): New functions.
11182 (woman-manpath): Call woman-manpath-add-locales. Bump :version.
11183
11184 * international/mule-cmds.el (locale-translate): New function,
11185 with old code extracted from set-locale-environment.
11186 (set-locale-environment): Use locale-translate. Set woman-locale.
11187
11188 * cus-start.el (selection-coding-system): Remove, since it's now
11189 defined in select.el rather than in xselect.c.
11190 * select.el (selection-coding-system): Make it a defcustom, and
11191 add the properties from cus-start.el. Bump :version.
11192
11193 * custom.el (custom-theme-set-variables): Sort symbols that are
11194 dependencies before symbols that depend on them.
11195 (custom-enabled-themes): Set after custom-theme-directory.
11196
11197 * pcmpl-unix.el (top-level): Move provide statement to end.
11198 (pcmpl-unix-group-file, pcmpl-unix-passwd-file): Remove leading
11199 `*' from doc-string. Allow to be nil.
11200 (pcmpl-ssh-known-hosts-file): Convert comment into expanded doc-string.
11201 Allow to be nil. Add :version.
11202 (pcmpl-ssh-hosts): Move definition before use. Handle lines
11203 without hostnames, and multiple hostnames per line.
11204
11205 * term/x-win.el (x-handle-parent-id): Remove free variable `parent-id'.
11206
11207 2008-02-08 Phil Hagelberg <phil@evri.com>
11208
11209 * pcmpl-unix.el (pcmpl-ssh-known-hosts-file): New defcustom.
11210 (pcomplete/ssh, pcomplete/scp, pcmpl-ssh-hosts): New functions.
11211
11212 2008-02-07 Timo Savola <timo.savola@iki.fi>
11213
11214 * startup.el (command-line-x-option-alist): Add --parent-id.
11215
11216 * term/x-win.el (x-handle-parent-id): New function.
11217
11218 2008-02-07 Chris Moore <christopher.ian.moore@gmail.com>
11219
11220 * mouse.el (x-fixed-font-alist): Use consistent capitalization for
11221 "Font Menu".
11222
11223 2008-02-06 Michael Albinus <michael.albinus@gmx.de>
11224
11225 * net/dbus.el (dbus-interface-peer): New defconst.
11226 (dbus-ping): New defun.
11227
11228 2008-02-06 Sam Steingold <sds@gnu.org>
11229
11230 * vc-hooks.el (vc-prefix-key): New user-customizable variable.
11231
11232 2008-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
11233
11234 * net/ange-ftp.el (ange-ftp-unhandled-file-name-directory):
11235 Just return nil and let the C code provide a fallback.
11236
11237 2008-02-05 Glenn Morris <rgm@gnu.org>
11238
11239 * net/tramp-cmds.el (tramp-cleanup-connection): Update calls to
11240 tramp-flush-connection-property for removed 2nd argument.
11241
11242 2008-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
11243
11244 * diff-mode.el (diff-add-change-log-entries-other-window):
11245 Rename from diff-create-changelog. Change users.
11246 Minor change to hopefully work with plain diffs.
11247 (diff-mode-map): Add binding for it.
11248
11249 2008-02-04 Dan Nicolaescu <dann@ics.uci.edu>
11250
11251 * diff-mode.el: Add new TODO entry.
11252 (diff-create-changelog): New function.
11253 (diff-mode-menu): Bind it.
11254
11255 2008-02-04 Kenichi Handa <handa@ni.aist.go.jp>
11256
11257 * international/mule-diag.el (print-fontset-element): Handle the
11258 case of inhibiting the fallback fonts.
11259
11260 2008-02-04 Kim F. Storm <storm@cua.dk>
11261
11262 * ido.el (ido-magic-forward-char, ido-magic-backward-char)
11263 (ido-magic-delete-char): Use prefix arg.
11264
11265 2008-02-03 Juanma Barranquero <lekktu@gmail.com>
11266
11267 * term/w32-win.el (image-library-alist): Prefer libpng12 to libpng13,
11268 because the latter is in fact a 1.2.8 build distributed with GTK+ (as
11269 of today, the most recent libpng is 1.2.24).
11270
11271 2008-02-03 Michael Albinus <michael.albinus@gmx.de>
11272
11273 * ediff-util.el (ediff-compute-custom-diffs-maybe): Handle remote files.
11274
11275 * net/dbus.el (top): Check (featurep 'dbusbind).
11276
11277 * net/tramp.el (tramp-process-sentinel): New defun.
11278 (tramp-do-copy-or-rename-file-out-of-band)
11279 (tramp-maybe-open-connection): Use it as process sentinel.
11280 (tramp-handle-delete-directory): Don't use the "-f" option; it
11281 isn't portable.
11282 (tramp-handle-start-file-process): Echo `tramp-end-of-output'
11283 after the command.
11284 (tramp-handle-shell-command): Set `mode-line-process' in the
11285 asynchronous case.
11286
11287 * net/tramp-cache.el (tramp-flush-connection-property): Remove EVENT.
11288
11289 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
11290 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
11291 Use `tramp-process-sentinel' as process sentinel.
11292
11293 2008-02-02 Juanma Barranquero <lekktu@gmail.com>
11294
11295 * whitespace.el (global-whitespace-mode): Revert last change.
11296 (whitespace-unload-function): Force `global-whitespace-mode'
11297 to deactivate local modes in a slightly less intrusive way.
11298
11299 2008-02-02 Eli Zaretskii <eliz@gnu.org>
11300
11301 * view.el (kill-buffer-if-not-modified): Add an autoload cookie.
11302
11303 2008-02-02 Glenn Morris <rgm@gnu.org>
11304
11305 * international/latin1-disp.el (latin1-display):
11306 * progmodes/fortran.el (fortran-comment-indent-char):
11307 * progmodes/idlw-shell.el (top-level):
11308 * term/mac-win.el (mac-keyboard-translate-char):
11309 * whitespace.el (whitespace-char-valid-p):
11310 * wid-edit.el (widget-key-sequence-read-event):
11311 Use characterp rather than char-valid-p.
11312
11313 * progmodes/cap-words.el (capitalized-next-word-boundary): Rename
11314 to capitalized-find-word-boundary. Doc fix. Update callers.
11315 (capitalized-next-word-boundary-function-table): Rename to
11316 capitalized-find-word-boundary-function-table. Doc fix. Update users.
11317
11318 * ps-bdf.el (bdf-read-font-info): Use string-to-number rather than
11319 string-to-int.
11320
11321 * ps-def.el (declare-function): Add compatibility definition.
11322 (ps-plot-with-face, ps-plot-string): Declare as functions.
11323 (ps-bold-faces, ps-italic-faces): Declare variables.
11324
11325 * ps-print.el (ps-mule-initialize, ps-mule-begin-job)
11326 (ps-mule-end-job): Declare as functions.
11327
11328 * wid-edit.el (widget-string-complete): Use assoc-string rather
11329 than assoc-ignore-case.
11330
11331 See ChangeLog.13 for earlier changes.
11332
11333 ;; Local Variables:
11334 ;; coding: utf-8
11335 ;; add-log-time-zone-rule: t
11336 ;; bug-reference-url-format: "http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=%s"
11337 ;; End:
11338
11339 Copyright (C) 2008 Free Software Foundation, Inc.
11340
11341 This file is part of GNU Emacs.
11342
11343 GNU Emacs is free software: you can redistribute it and/or modify
11344 it under the terms of the GNU General Public License as published by
11345 the Free Software Foundation, either version 3 of the License, or
11346 (at your option) any later version.
11347
11348 GNU Emacs is distributed in the hope that it will be useful,
11349 but WITHOUT ANY WARRANTY; without even the implied warranty of
11350 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11351 GNU General Public License for more details.
11352
11353 You should have received a copy of the GNU General Public License
11354 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
11355
11356 ;; arch-tag: c241c1f9-d668-48bf-920a-2897ed0340bc