ChangeLog 702 KB
Newer Older
Luc Teirlinck's avatar
Luc Teirlinck committed
1 2 3 4 5 6
2006-01-03  Luc Teirlinck  <teirllm@auburn.edu>

	* cus-edit.el (custom-buffer-create-internal): Move
	"Erase Customization" button back to same position it occupies in
	the individual State menus.

Kim F. Storm's avatar
Kim F. Storm committed
7 8 9 10 11 12 13 14 15 16
2006-01-04  Kim F. Storm  <storm@cua.dk>

	* wid-edit.el (key-sequence): Rework widget to read key binding
	using `kbd' syntax.  Use C-q to insert literal key, event, or code.
	(widget-key-sequence-default-value): Default value for empty sequence.
	(widget-key-sequence-map): New map for reading key binding.  Bind C-q.
	(widget-key-sequence-read-event): New command for C-q.
	(widget-key-sequence-validate, widget-key-sequence-value-to-internal)
	(widget-key-sequence-value-to-external): New functions.

17 18
2006-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>

19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
	* progmodes/flymake.el (flymake-create-temp-with-folder-structure):
	Use expand-file-name.
	(flymake-delete-temp-directory): Use expand-file-name,
	file-name-directory, and directory-file-name.
	(flymake-strrchr): Delete.
	(flymake-start-syntax-check): Don't pass the redundant buffer argument
	to the init-f function.
	(flymake-save-buffer-in-file, flymake-init-create-temp-buffer-copy)
	(flymake-init-find-buildfile-dir)
	(flymake-init-create-temp-source-and-master-buffer-copy)
	(flymake-simple-make-init-impl, flymake-simple-make-init)
	(flymake-master-make-init, flymake-master-make-header-init)
	(flymake-simple-make-java-init, flymake-simple-ant-java-init)
	(flymake-perl-init, flymake-simple-tex-init, flymake-master-tex-init)
	(flymake-xml-init): Remove corresponding redundant buffer argument.
	(flymake-allowed-file-name-masks): Remove last elems that are equal to
	the default anyway.  Clean up regexps.

37 38 39 40 41 42 43
	* progmodes/flymake.el (flymake-temp-source-file-name)
	(flymake-master-file-name, flymake-temp-master-file-name)
	(flymake-base-dir): New buffer-local vars.
	(flymake-buffer-data, flymake-get-buffer-value)
	(flymake-set-buffer-value): Replace those hash-tables by the new
	buffer-local vars.  Update callers.

44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
	* progmodes/flymake.el (flymake-check-start-time)
	(flymake-check-was-interrupted, flymake-err-info, flymake-is-running)
	(flymake-last-change-time, flymake-new-err-info, flymake-timer):
	Move definition, so we can remove redundant earlier declaration.
	(flymake-replace-regexp-in-string, flymake-split-string)
	(flymake-get-temp-dir): Use defalias.
	(flymake-popup-menu): Remove `pos' argument.  Use posn-at-point.
	(flymake-xemacs-window-edges): Remove unused function.
	(flymake-get-point-pixel-pos): Move.
	(flymake-pid-to-names, flymake-reg-names)
	(flymake-get-source-buffer-name, flymake-unreg-names): Remove.
	Replace by a simple list flymake-processes and by process-buffer.
	Update callers.  Other than simplify the code, it uses buffers rather
	than buffer-names so it doesn't get confused by uniquify.
	(flymake-buffer-data): The global value should just be nil.

60 61 62
	* emacs-lisp/bytecomp.el (byte-compile-file-form-defalias):
	Optimize the body of a defalias like any other code.

63 64 65 66 67 68
	* font-lock.el (font-lock-fontify-buffer, font-lock-fontify-region):
	Make sure we've setup font-lock's vars.  It may influence which
	function we then call.
	(font-lock-default-fontify-buffer): Don't bother calling set-defaults
	here since it's too late anyway.

69 70 71 72 73
2006-01-03  Romain Francoise  <romain@orebokech.com>

	* startup.el (fancy-splash-tail, normal-splash-screen):
	Update copyright year.

J.D. Smith's avatar
J.D. Smith committed
74 75
2006-01-02  J.D. Smith  <jdsmith@as.arizona.edu>

76
	* mouse.el (mouse-drag-track): Rename, from
J.D. Smith's avatar
J.D. Smith committed
77
	`mouse-drag-region-1'.  Includes optional argument required to
78 79
	enable post-drag event processing (e.g. delete region keys).
	Can be used without this argument to track a mouse region and operate
J.D. Smith's avatar
J.D. Smith committed
80 81 82
	on it as soon as the drag completes.
	(mouse-drag-region): Use `mouse-drag-track'.

83 84
2006-01-02  Chong Yidong  <cyd@stupidchicken.com>

85 86 87
	* cus-edit.el (custom-guess-name-alist, custom-guess-doc-alist):
	Move to `custom-buffer' group.

88 89 90 91 92 93 94 95 96 97
	* cus-theme.el: Rewrite the Custom New Theme Mode interface.
	(custom-new-theme-mode-map, custom-theme-insert-variable-marker)
	(custom-theme-insert-face-marker, custom-theme-variable-menu)
	(custom-theme-face-menu): New variables.
	(custom-theme-add-variable, custom-theme-variable-action)
	(custom-variable-reset-theme, custom-theme-delete-variable)
	(custom-face-reset-theme, custom-theme-face-action)
	(custom-theme-delete-face, custom-theme-merge-theme)
	(custom-theme-add-face, custom-theme-visit-theme): New functions.

98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121
2006-01-01  Chong Yidong  <cyd@stupidchicken.com>

	* custom.el: Move Custom Themes commentary to start of theme code.
	(custom-known-themes): Rename `standard' theme to `changed'.
	(custom-push-theme): Caller no longer specifies what theme to use
	when doing `reset'---the setting is simply removed from the theme.
	Delete MODE from `theme-value' and `theme-settings' properties.
	(custom-declare-theme): Ignore &rest args since we don't use them.

	(custom-loaded-themes): Delete variable.
	(custom-theme-load-themes, custom-theme-loaded-p)
	(custom-theme-value): Delete functions.

	(custom-declare-theme): Signal error on invalid theme names.
	(provide-theme): custom-loaded-themes was deleted.
	(load-theme): Load the file unconditionally.
	(enable-theme): Call `load-theme' if theme is undefined.
	(custom-enabled-themes): Only update value for successful loads.
	(disable-theme): Complete from enabled themes when interactive.
	(custom-variable-theme-value): Calculate theme value directly.

	(custom-theme-reset-variables, custom-reset-variables): Mark as
	XEmacs compatibility functions.  We don't actually use these.

122 123
	* cus-edit.el (custom-variable-state-set):
	Use custom-variable-theme-value instead of custom-theme-value.
124 125 126 127 128 129 130 131 132 133
	(custom-face-state-set): Rename `standard' theme to `changed'.
	(custom-save-variables, custom-save-faces): Delete unneeded
	references to custom-reset-variables.
	(custom-save-resets): Delete function.
	(custom-save-variables, custom-save-faces): MODE argument deleted.
	(custom-save-variables, custom-save-faces): Ignore theme values.

	* cus-face.el (custom-theme-reset-faces): Mark as XEmacs
	compatibility function.

134 135
2006-01-01  Richard M. Stallman  <rms@gnu.org>

136 137
	* cus-edit.el (Custom-set, Custom-save): Ask for confirmation.
	(Custom-reset-current, Custom-reset-saved): Likewise.
Richard M. Stallman's avatar
Richard M. Stallman committed
138
	(Custom-reset-standard): Show message if aborted.
139 140
	(custom-mode): Doc fix, describing those commands.

141 142 143
	* mouse.el (mouse-drag-region-1): When following link via mouse-2,
	put on event-kind property.

144 145
2005-12-31  Chong Yidong  <cyd@stupidchicken.com>

146 147 148 149 150 151
	* custom.el (provide-theme): Ban `user' theme name.
	(custom-enabling-themes): New variable.
	(enable-theme): Don't enable user if custom-enabling-themes is t.
	(custom-enabled-themes): Make it a defcustom.
	(custom-theme-recalc-face): No-op if face is undefined.

152 153 154 155 156 157
	* cus-edit.el (custom-button-mouse): New variable.
	(custom-button-mouse): New face.
	(custom-raised-buttons, custom-mode): Use it.

	* cus-theme.el (custom-new-theme-mode): Use custom-button-mouse.

Eli Zaretskii's avatar
Eli Zaretskii committed
158 159 160 161 162
2005-12-31  Eli Zaretskii  <eliz@gnu.org>

	* progmodes/gud.el (gud-display-line): Support hl-line in the
	source buffer.

163 164 165 166 167
2005-12-31  Lennart Borgman  <lennart.borgman.073@student.lu.se>  (tiny change)

	* mouse.el (mouse-drag-window-above): Verify that the found window
	overlaps with the given window in the horizontal dimension.

Eli Zaretskii's avatar
Eli Zaretskii committed
168 169 170 171 172 173
2005-12-31  Eli Zaretskii  <eliz@gnu.org>

	* Makefile.in (cvs-update): New target.

	* makefile.w32-in (cvs-update): Ditto.

174 175 176
2005-12-30  Chong Yidong  <cyd@stupidchicken.com>

	* cus-theme.el (custom-new-theme-mode): Use cus-edit faces.
177
	(custom-new-theme-mode-map): New variable.
178

179 180
2005-12-30  Richard M. Stallman  <rms@gnu.org>

181 182
	* custom.el (custom-load-themes): Function deleted.

183
	* cus-edit.el (custom-save-loaded-themes): Function deleted.
184 185
	(custom-save-variables): Don't delete or add custom-load-themes call.

186 187
2005-12-30  Stefan Monnier  <monnier@iro.umontreal.ca>

Stefan Monnier's avatar
Stefan Monnier committed
188 189
	* cus-start.el: Add `visible-cursor'.

190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205
	* progmodes/flymake.el (flymake-copy-buffer-to-temp-buffer): Simplify.
	(flymake-parse-output-and-residual): Remove `source-buffer' argument.
	(flymake-process-filter): Switch to buffer before calling it instead.
	(flymake-post-syntax-check, flymake-highlight-err-lines)
	(flymake-delete-own-overlays, flymake-parse-err-lines)
	(flymake-start-syntax-check, flymake-start-syntax-check-process)
	(flymake-count-lines, flymake-parse-residual):
	Remove constant buffer argument.
	(flymake-start-syntax-check-for-current-buffer): Remove.
	Update callers to use flymake-start-syntax-check instead.
	(flymake-display-err-menu-for-current-line):
	Remove unused var `mouse-pos'.
	(flymake-restore-formatting): Comment out unused function.
	(flymake-report-status, flymake-report-fatal-status): Remove buffer
	argument, use current-buffer instead.  Update callers.

206 207 208 209 210 211 212 213 214 215 216
2005-12-30  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>

	* textmodes/bibtex.el (bibtex-mode): Make completion-ignore-case
	buffer-local because choose-completion-delete-max-match requires
	that we set completion-ignore-case (i.e., binding via let is not
	sufficient).
	(bibtex-complete): Always set completion-ignore-case and
	choose-completion-string-functions. The latter is needed because
	choose-completion-string-functions keeps its value if we quit the
	*Completions* buffer without requesting a completion.

Andreas Schwab's avatar
Andreas Schwab committed
217 218
2005-12-30  Andreas Schwab  <schwab@suse.de>

219
	* progmodes/cc-defs.el: Ignore errors from font-lock-compile-keywords.
Andreas Schwab's avatar
Andreas Schwab committed
220

Eli Zaretskii's avatar
Eli Zaretskii committed
221 222 223 224
2005-12-30  Eli Zaretskii  <eliz@gnu.org>

	* jit-lock.el (jit-lock-chunk-size): Doc fix.

Juri Linkov's avatar
Juri Linkov committed
225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242
2005-12-30  Juri Linkov  <juri@jurta.org>

	* locate.el (locate-fcodes-file, locate-header-face)
	* progmodes/delphi.el (delphi-other-face)
	* progmodes/glasses.el (glasses-face): Add tag "None" to const nil.

	* paren.el (show-paren-match, show-paren-mismatch): Use existing
	group `paren-showing-faces'.

	* net/goto-addr.el (goto-address-highlight-keymap): Fix docstring.
	(goto-address): Fix docstring.

	* net/webjump.el (webjump-sample-sites): Update URLs.

	* textmodes/fill.el (fill-single-word-nobreak-p): Use `sentence-end'.

	* subr.el (cancel-change-group): Add listp around pending-undo-list.

243 244 245 246 247
2005-12-29  Stefan Monnier  <monnier@iro.umontreal.ca>

	* font-lock.el (font-lock-compile-keywords): Signal an error when
	font-lock-set-defaults hasn't been called.

Luc Teirlinck's avatar
Luc Teirlinck committed
248 249 250 251
2005-12-29  Luc Teirlinck  <teirllm@auburn.edu>

	* subr.el (noreturn, 1value): Doc fixes.

252 253 254 255 256
2005-12-29  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>

	* textmodes/bibtex.el (bibtex-text-in-field-bounds): Handle case
	that assoc-string returns nil.

257 258 259 260 261
2005-12-29  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>

	* textmodes/bibtex.el (bibtex-entry-type-whitespace)
	(bibtex-entry-type-str, bibtex-empty-field-re)
	(bibtex-search-backward-string, bibtex-preamble-prefix)
262
	(bibtex-search-entry, bibtex-enclosing-entry-maybe-empty-head): Remove.
263 264
	(bibtex-any-valid-entry-type): New variable.
	(bibtex-parse-field-name): Simplify.
265
	(bibtex-parse-string, bibtex-search-forward-string): New arg empty-key.
266
	(bibtex-preamble-prefix): Include left delimiter.
267 268
	(bibtex-search-forward-field, bibtex-search-backward-field):
	Allow unbounded search past entry boundaries (required by bibtex-pop).
269 270 271 272 273 274 275 276 277 278 279 280 281 282
	(bibtex-text-in-field-bounds): Use push.
	(bibtex-text-in-field): Do not use bibtex-narrow-to-entry.
	(bibtex-parse-preamble, bibtex-valid-entry)
	(bibtex-beginning-first-field): New functions.
	(bibtex-skip-to-valid-entry): Use bibtex-valid-entry.  Fix regexp.
	(bibtex-map-entries): Fix docstring.
	(bibtex-flash-head): New arg prompt. Simplify.
	(bibtex-enclosing-field): Include code of bibtex-inside-field.
	(bibtex-insert-kill): Simplify.  Always insert text past the
	current field or entry.
	(bibtex-format-entry): Use bibtex-parse-field.
	(bibtex-pop): Use bibtex-beginning-of-entry and
	bibtex-end-of-entry to initiate the search.  Insert empty field if
	we found ourselves.
283 284
	(bibtex-print-help-message): New args field and comma.
	Handle entry keys.
285 286 287 288 289 290 291 292 293 294 295 296 297 298
	(bibtex-make-field): Use bibtex-beginning-of-entry.
	(bibtex-end-of-entry): Use bibtex-valid-entry.  Recognize any
	invalid entry.
	(bibtex-validate): Use bibtex-valid-entry and bibtex-parse-string.
	Handle preambles.  Simplify code for thorough test.
	(bibtex-next-field, bibtex-find-text, bibtex-find-text-internal):
	New arg comma.  Handle entry heads.
	(bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters)
	(bibtex-kill-field, bibtex-copy-field-as-kil, bibtex-empty-field):
	New arg comma.
	(bibtex-kill-entry): Use bibtex-any-entry-maybe-empty-head.
	(bibtex-fill-field): Simplify.
	(bibtex-fill-entry): Use bibtex-beginning-first-field and
	bibtex-parse-field.
299
	(bibtex-convert-alien): Do not wait before calling bibtex-validate.
300 301
	(bibtex-complete): Use bibtex-parse-preamble.

Nick Roberts's avatar
Nick Roberts committed
302 303 304 305 306 307 308 309 310 311 312
2005-12-29  Nick Roberts  <nickrob@snap.net.nz>

	* progmodes/gdb-ui.el (gdb-tooltip-print, gdb-tooltip-print-1):
	Display name of expression instead of convenience variable.
	(gdb-post-prompt): Only call gdb-get-changed-registers if needed.

	* progmodes/gud.el (gud-tooltip-dereference): Rename from
	toggle-gud-tooltip-dereference.
	(gud-tooltip-print-command): Move concatenation of "*" to expr to...
	(gud-tooltip-tips): ...here when dereferencing..

313 314
2005-12-28  Bill Wohler  <wohler@newt.com>

315
	* simple.el (mh-e-user-agent): Move to mh-e/mh-comp.el and autoload.
316

317 318
2005-12-28  Stefan Monnier  <monnier@iro.umontreal.ca>

319 320 321 322 323 324 325 326 327 328
	* vc.el (vc-annotate-display): Replace optional arg `color-map' with
	compulsory arg `ratio'.  Inline body of vc-annotate-time-span.
	(vc-annotate-display-autoscale): Adjust call.
	(vc-annotate-display-default): Adjust call.  Make arg compulsory.
	Fix interactive spec.
	(vc-annotate-time-span): Remove.
	(vc-annotate-oldest-in-map): Rename from vc-annotate-car-last-cons.
	(vc-annotate-mode-menu, vc-annotate-display-autoscale)
	(vc-annotate-display-select): Use new name.

329 330 331 332 333 334 335 336
	* vc.el (vc-annotate-mode-map): Remove obsolete binding.
	(vc-annotate-mode-menu): Remove left-over redundant declaration.
	Correct the construction of span entries.  Simplify.
	(vc-annotate-display-select): Fix the nil case.
	(vc-annotate): Remove obsolete (and now broken) code.
	(vc-annotate-extract-revision-at-line): Remove obsolete code.
	(vc-annotate-time-span): Remove unused arg `quantize'.  Simplify.

Luc Teirlinck's avatar
Luc Teirlinck committed
337 338 339 340 341 342 343 344 345
2005-12-28  Luc Teirlinck  <teirllm@auburn.edu>

	* subr.el (lazy-completion-table): Correct typo in docstring.

	* startup.el (command-line): Use `custom-reevaluate-setting' for
	`send-mail-function'.

	* mail/sendmail.el (send-mail-function): Autoload the standard-value.

346 347
2005-12-05  Ralf Angeli  <angeli@iwi.uni-sb.de>

348 349
	* mail/smtpmail.el (smtpmail-try-auth-methods):
	Send credentials together with "AUTH PLAIN" command.
350

351 352 353 354 355 356 357
2005-12-27  Richard M. Stallman  <rms@gnu.org>

	* mouse.el (mouse-drag-region-1): When remapping mouse-1 to
	mouse-2, go back to previously selected window, so it's selected
	when mouse-2 command runs.

2005-12-27  Juri Linkov  <juri@jurta.org>
Juri Linkov's avatar
Juri Linkov committed
358 359 360 361 362 363 364 365 366 367 368 369 370

	* descr-text.el (describe-text-sexp): Use square brackets for
	button [Show] to distinguish it from the property value `show'.
	(describe-property-list): Use `insert-text-button' with
	`help-face' type instead of putting face in quotes, because button
	is not created automatically for a list of faces.
	(describe-text-properties-1): Put button-type value in quotes to
	distinguish from plain text "button".
	(describe-char): Display code point values in hex.  Don't use
	`symbol-name' for `current-input-method' because it is a string.
	Use `insert-text-button' with `help-face' type instead of putting
	hardcoded face in quotes, because button is not created automatically.

371 372
2005-12-27  Richard M. Stallman  <rms@gnu.org>

373 374
	* progmodes/glasses.el (glasses-face): More specific custom type.

375 376
	* files.el (set-visited-file-name): Doc fix.

377 378 379 380 381 382 383 384 385
	* textmodes/flyspell.el (flyspell-external-point-words):
	Use local var buffer-scan-pos to advance scan for next misspelling.
	Advance it only after we find the misspelling.

2005-12-27  Agustin Martin  <agustin.martin@hispalinux.es>

	* textmodes/flyspell.el (flyspell-external-point-words):
	New criteria for finding the misspelling in the buffer.

386
2005-12-27  Nick Roberts  <nickrob@snap.net.nz>
Juri Linkov's avatar
Juri Linkov committed
387 388 389 390 391 392 393

	* help-mode.el (help-insert-string): Set help-xref-stack-item
	rather than call help-setup-xref.

	* descr-text.el (describe-char): Revert previous changes for
	optional buffer argument.

394
2005-12-27  Juri Linkov  <juri@jurta.org>
Nick Roberts's avatar
Nick Roberts committed
395 396

	* help-mode.el (help-insert-string): New function.  Save buffer
397
	contents in cases where it is impossible to recompute the old contents.
Nick Roberts's avatar
Nick Roberts committed
398 399

	* descr-text.el (describe-char): Set help-xref-stack-item
Juri Linkov's avatar
Juri Linkov committed
400
	explicitly after buffer has been generated.
Nick Roberts's avatar
Nick Roberts committed
401

402 403 404 405
2005-12-27  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* cus-start.el (all): Add x-gtk-show-hidden-files.

406 407
2005-12-26  Richard M. Stallman  <rms@gnu.org>

408 409 410
	* replace.el (perform-replace): Calculate match-again
	before skipping read-only matches.

411 412 413 414 415 416 417
	* paren.el (paren-showing-faces): New group.
	(show-paren-match, show-paren-mismatch): Move to that group.

	* button.el (button): Put into group `basic-faces'.

	* progmodes/make-mode.el: Remove faces from group `faces'.

418 419 420
	* apropos.el (apropos, apropos-value): Doc fix.
	(apropos-documentation): Doc fix.

421 422 423 424 425 426 427
2005-12-26  Stefan Monnier  <monnier@iro.umontreal.ca>

	* subr.el (lazy-completion-table): Remove argument `args'.

	* textmodes/bibtex.el (bibtex-strings, bibtex-reference-keys):
	Don't use the `args' argument of lazy-completion-table.

428
2005-12-26  Nick Roberts  <nickrob@snap.net.nz>
Nick Roberts's avatar
Nick Roberts committed
429 430 431 432 433

	* descr-text.el (describe-char): Add optional argument for buffer.
	Set buffer appropriately.  Call help-setup-xref.
	Suggested by Stefan Monnier.

434
2005-12-26  Juri Linkov  <juri@jurta.org>
Nick Roberts's avatar
Nick Roberts committed
435

Juri Linkov's avatar
Juri Linkov committed
436 437 438
	* descr-text.el: Require `help-fns' at runtime.  Don't require
	`button' for byte compilation.
	(describe-text-widget): Add `help-echo' for first button.
Richard M. Stallman's avatar
Richard M. Stallman committed
439 440
	Use `help-info' for second.
	(describe-property-list): Use `help-argument-name' instead of `italic'.
Juri Linkov's avatar
Juri Linkov committed
441 442 443 444
	(describe-text-category): Add prompt to interactive spec.
	Call `help-setup-xref'.
	(describe-char): Use `help-character-set'.  Add `help-echo' for
	code point.  Use `help-input-method'.  Remove superfluous insert.
Nick Roberts's avatar
Nick Roberts committed
445

446 447
2005-12-25  Richard M. Stallman  <rms@gnu.org>

448 449 450
	* progmodes/cc-defs.el (c-emacs-features): Do parse-partial-sexp
	at point, in case of narrowing.

451 452 453 454
	* progmodes/delphi.el (delphi-other-face): Allow nil in type.

	* locate.el (locate-header-face): Allow nil in type.

455 456
	* progmodes/cpp.el (cpp-face-none-list): Use cpp-face instead of face.

457 458 459 460 461
2005-12-25  Romain Francoise  <romain@orebokech.com>

	* battery.el (battery-linux-proc-acpi): Also try
	`/proc/acpi/thermal_zone/THM0/temperature'.

462 463 464 465
2005-12-24  Chong Yidong  <cyd@stupidchicken.com>

	* custom.el (custom-push-theme): Fix docstring.

466 467
	* cus-edit.el (custom-variable-set, custom-variable-save)
	(custom-variable-save): Custom-quote widget values.
468 469
	(customize-save-variable): Fix custom-push-theme call.

470 471 472 473
2005-12-24  Eli Zaretskii  <eliz@gnu.org>

	* w32-fns.el (w32-batch-update-autoloads): New function.

474 475
	* makefile.w32-in (autoloads, $(lisp)/mh-e/mh-loaddefs.el):
	Use w32-batch-update-autoloads, and don't setq generated-autoload-file
476 477
	from the command line.

478 479 480 481 482 483 484 485 486 487
2005-12-23  Chong Yidong  <cyd@stupidchicken.com>

	* custom.el (custom-push-theme): Clarify docstring.  VALUE nil for
	reset means to remove setting from theme entirely.  Don't keep
	expanding theme-settings list; delete old entries if necessary.

	* cus-edit.el (custom-buffer-create-internal): Move "Erase
	customization" button one line up.
	(custom-themed): New face.
	(custom-magic-alist): New value, THEMED, for theme settings.
488 489
	(custom-variable-state-set, custom-face-state-set):
	Check theme-value instead of saved-value.
490
	(custom-variable-reset-standard, custom-face-reset-standard):
491
	Remove theme setting entirely.  Recalculate new values.
492 493 494 495
	(custom-variable-set, custom-variable-set)
	(custom-variable-reset-saved, custom-variable-reset-backup)
	(custom-face-set, custom-face-reset-saved): Update `user' theme.
	(custom-variable-save): Fix typos.
496

497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528
2005-12-23  Juri Linkov  <juri@jurta.org>

	* emacs-lisp/edebug.el (edebug-all-defs, edebug-all-forms):
	Add autoload cookies.
	(edebug-outside-d-c-i-n-s-w): New variable.
	(edebug-display, edebug-outside-excursion): Use it to save the
	original value of default-cursor-in-non-selected-windows.
	Set default-cursor-in-non-selected-windows to t while Edebug
	is active.
	(edebug-mode, edebug-eval-mode): Doc fix.

	* mouse.el (mouse-choose-completion): Replace `buffer-substring'
	with `buffer-substring-no-properties' to remove common substring
	highlighting.

	* info.el (info-other-window, info): Rename function argument
	`file' to `file-or-node'.
	(Info-complete-menu-item): Use local variable `complete-nodes' to
	keep the global value of `Info-complete-nodes' unchanged for
	subsequent completions.
	(info-tool-bar-map): Put `Info-index' icon just before `Info-search'.

	* simple.el (get-next-valid-buffer, last-buffer)
	(next-error-buffer-p, next-error-find-buffer)
	(minibuffer-history-sexp-flag): Doc fix.

	* savehist.el (savehist-mode-hook): Add `:group'.

	* log-view.el: Call autoload for vc-find-version.
	(log-view-current-file): Adjust subgroup numbers.
	(log-view-current-tag): Add `length'.

529 530 531 532
2005-12-23  Richard M. Stallman  <rms@gnu.org>

	* vc.el (vc-annotate-car-last-cons): Defn moved up.

Juri Linkov's avatar
Juri Linkov committed
533 534 535 536 537 538 539 540 541 542 543 544
2005-12-23  Juri Linkov  <juri@jurta.org>

	* hi-lock.el (hi-lock-archaic-interface-message-used)
	(hi-lock-archaic-interface-deduce, hi-lock-mode): Doc fix.
	(hi-lock-mode): Display "Hi" in the mode line only when
	hi-lock-interactive-patterns or hi-lock-file-patterns is non-nil.
	(hi-lock-write-interactive-patterns):
	Use hi-lock-file-patterns-prefix instead of hard-coded "Hi-lock".
	(hi-lock-set-pattern, hi-lock-set-file-patterns)
	(hi-lock-font-lock-hook): Set 3rd arg `how' of
	font-lock-add-keywords to t.

545 546 547 548 549 550 551 552 553 554 555 556
2005-12-23  David Koppelman  <koppel@ece.lsu.edu>

	* hi-lock.el (hi-lock-highlight-range): New variable.
	(hi-lock-mode, hi-lock-unface-buffer): Call font-lock-fontify-buffer
	only if font-lock-fontified is non-nil.  Remove overlays.
	(hi-lock-set-pattern): Call font-lock-fontify-buffer if
	font-lock-fontified is non-nil, otherwise use overlays (instead of
	text properties).
	(hi-lock-string-serialize-hash, hi-lock-string-serialize-serial):
	New variables.
	(hi-lock-string-serialize) New function.

557 558 559 560 561 562 563
2005-12-23  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* menu-bar.el (menu-find-file-existing): New function.
	(menu-bar-file-menu): Use menu-find-file-existing for Open.

	* tool-bar.el (tool-bar-setup): open changed to menu-find-file-existing.

564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583
2005-12-22  Stefan Monnier  <monnier@iro.umontreal.ca>

	* vc.el: Remove unnecessary leading * in docstrings.
	(vc-annotate-mode-map): Move initialization into declaration.
	(vc-static-header-alist): Nitpick on the regexp.
	(vc-default-init-version): New fun.
	(vc-register): Use it.
	(vc-insert-headers): Use dolist.
	(vc-annotate-get-backend): Remove unused function.
	(vc-annotate-add-menu): Remove.  Build the menu directly at toplevel.
	(vc-annotate-mode): Remove corresponding call.
	(vc-annotate-car-last-cons): Simplify.
	(vc-annotate-buffers): Remove var.
	(vc-annotate-backend): Make it buffer-local.
	(vc-annotate): Move the interaction to the interactive spec.
	Add a `buf' argument.
	(vc-annotate-warp-version): Use this new `buf' argument to avoid
	killing&creating a vc-annotate buffer, which is very disruptive when
	the buffers are shown in dedicated frames.

Nick Roberts's avatar
Nick Roberts committed
584 585 586 587 588 589 590 591 592 593 594 595
2005-12-23  Nick Roberts  <nickrob@snap.net.nz>

	* descr-text.el: Add FSF as maintainer.
	(describe-text-mode, describe-text-mode-map)
	(describe-text-mode-hook, describe-text-done): Delete.  Use normal
	help-mode.
	(describe-text-widget, describe-text-sexp)
	(describe-property-list, describe-text-category)
	(describe-text-properties, describe-text-properties-1)
	(describe-char): Use help buttons instead of widgets.
	(describe-char-unicodedata-file): Make URL link in doc string.

596
2005-12-22  Richard M. Stallman  <rms@gnu.org>
597

598 599 600 601 602
	* cus-edit.el (custom-variable-prompt): Say "variable" in prompt.
	(custom-buffer-create-internal): Reword the top-of-buffer help intro.
	Don't include buttons that write a file when there's no file.
	(custom-variable-menu, custom-face-menu, custom-group-menu):
	Don't include commands that write a file when there's no file.
603 604 605 606 607
	(customize-browse): Reword the top-of-buffer help intro.
	(custom-buffer-create-internal): Fix previous change.
	(customize-changed-options-previous-release): Prev release is 21.1.
	(customize-changed-options): Doc fix.
	(customize-changed): New alias.
608 609 610 611
	(custom-reset-menu, custom-magic-alist, Custom-mode-menu):
	Say "standard values".
	(Custom-reset-standard): Doc fix.
	(custom-face-reset-standard): Doc fix.
612

613 614 615 616 617 618 619 620 621 622
2005-12-22  Stefan Monnier  <monnier@iro.umontreal.ca>

	* font-lock.el (font-lock-default-fontify-buffer): Try and set-defaults
	even if font-lock-mode is non-nil since it may be t without having
	turned on font-lock-mode-internal.
	(font-lock-choose-keywords): Minor optimization.
	(font-lock-add-keywords, font-lock-remove-keywords)
	(font-lock-set-defaults): Don't call make-local-variable on a variable
	that we know to already be local.

623 624 625 626 627
2005-12-22  Katsumi Yamaoka  <yamaoka@jpl.org>

	* emacs-lisp/lisp.el (lisp-complete-symbol): Don't print progress
	messages if in the minibuffer.

628 629
2005-12-21  Stefan Monnier  <monnier@iro.umontreal.ca>

630 631 632 633
	* textmodes/flyspell.el (flyspell-check-word-p): Don't quote - in a RE.
	(tex-mode-flyspell-verify, flyspell-get-word)
	(flyspell-external-point-words): Don't use point-min/max uselessly.

634 635 636 637
	* emacs-lisp/lisp.el (lisp-complete-symbol): Mostly undo the change
	by Kevin Rodgers.  Instead, just hide the completions buffer if we
	don't need to show it.

Luc Teirlinck's avatar
Luc Teirlinck committed
638 639 640 641
2005-12-21  Luc Teirlinck  <teirllm@auburn.edu>

	* wid-edit.el (file, directory): Doc fixes for the `define-widget's.

642 643 644 645 646
2005-12-21  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/lisp.el (lisp-complete-symbol): Don't call
	delete-windows-on with an inexistent buffer.

Nick Roberts's avatar
Nick Roberts committed
647 648
2005-12-22  Nick Roberts  <nickrob@snap.net.nz>

649
	* progmodes/gud.el (gud-tooltip-modes, gud-tooltip-display):
Nick Roberts's avatar
Nick Roberts committed
650 651
	Delete defcustom variable :tag names.

652 653 654 655 656 657
2005-12-20  Stefan Monnier  <monnier@iro.umontreal.ca>

	* log-view.el (log-view-file-re, log-view-message-re): Use shy groups.
	(log-view-font-lock-keywords): Ajust subgroup numbers.
	(log-view-current-tag): Don't hard code the number of subgroups.

Juri Linkov's avatar
Juri Linkov committed
658 659 660 661 662 663 664 665 666 667
2005-12-20  Juri Linkov  <juri@jurta.org>

	* tooltip.el (tooltip): Move defgroup before define-minor-mode.
	(tooltip-x-offset, tooltip-y-offset): Doc fix.

	* menu-bar.el (menu-bar-menu-frame-live-and-visible-p)
	(menu-bar-non-minibuffer-window-p): Instead of checking
	display-multi-frame-p, use selected-frame when menu-updating-frame
	is nil.

Thien-Thi Nguyen's avatar
Thien-Thi Nguyen committed
668 669 670 671 672
2005-12-20  Davis Herring  <herring@lanl.gov>  (tiny change)

	* align.el (align-rules-list): Use [ \t] instead of \s-
	for column separators in text mode.

Nick Roberts's avatar
Nick Roberts committed
673 674
2005-12-20  Nick Roberts  <nickrob@snap.net.nz>

Thien-Thi Nguyen's avatar
Thien-Thi Nguyen committed
675
	* help-mode.el (help-customize-variable, help-customize-face):
Nick Roberts's avatar
Nick Roberts committed
676 677 678
	Don't pop help-xref-stack as help-follow no longer pushes
	anything on to it.

679 680 681 682 683 684 685 686 687 688
2005-12-20  Carsten Dominik  <dominik@science.uva.nl>

	* textmodes/org.el: (org-agenda-custom-commands): New option.
	(org-agenda): Offer custom commands on splash screen.
	(org-make-tags-matcher): Parser for Boolean logic added.
	(org-agenda-set-tags): New command.
	(org-agenda-menu, org-agenda-mode-map): Add `org-agenda-set-tags'.
	(org-set-tags): Efficiency improvements.
	(org-auto-align-tags): New option.
	(org-todo, org-demote, org-promote): Realign tags.
689
	(org-tags-completion-function): Use also "&" and "|" as separators.
690 691
	(org-org-menu): Agenda commands simplified.

Luc Teirlinck's avatar
Luc Teirlinck committed
692 693 694 695 696 697 698
2005-12-19  Luc Teirlinck  <teirllm@auburn.edu>

	* cus-edit.el (customize-apropos, customize-apropos-options):
	Docstring changes.

	* font-lock.el (font-lock): Add tags to the links in the defgroup.

699 700 701 702 703 704
2005-12-19  Chong Yidong  <cyd@stupidchicken.com>

	* longlines.el (longlines-mode): Wrap while widened.
	(longlines-decode-region, longlines-encode-region): Compute max
	just once.

YAMAMOTO Mitsuharu's avatar
YAMAMOTO Mitsuharu committed
705 706 707 708 709 710 711 712 713 714 715 716 717 718 719
2005-12-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* cus-edit.el (mac): New group.

	* cus-start.el (all): Add user options in macterm.c.  Add test for
	Mac-related built-ins.  Fix test for GTK-related built-ins.

	* term/mac-win.el (mac-handle-language-change)
	(mac-ae-open-documents, mac-ae-get-url, mac-services-open-file)
	(mac-services-open-selection, mac-services-mail-selection)
	(mac-services-mail-to, mac-services-insert-text)
	(mac-dispatch-apple-event): Add docstrings.
	(x-get-selection, mac-select-convert-to-string): Select coding
	system from `utf-16be' and `utf-16le' using `byteorder'.

720 721 722 723 724 725 726 727
2005-12-18  Stefan Monnier  <monnier@iro.umontreal.ca>

	* subr.el (lazy-completion-table): Don't be fooled if the var holds
	a "list" (lambda ...) rather than a real completion list.

	* emacs-lisp/cl-extra.el (cl-macroexpand-all): Fix code-walk for
	lexical-let when encountering ((lambda (...) ...) ...).

728 729
2005-12-17  Chong Yidong  <cyd@stupidchicken.com>

730
	* progmodes/sh-script.el (sh-mode):
731 732 733
	* language/ethio-util.el (ethio-fidel-to-sera-mail-or-marker):
	* textmodes/picture.el (picture-mode): Update docstrings.

Eli Zaretskii's avatar
Eli Zaretskii committed
734 735 736 737 738 739 740 741 742
2005-12-17  Eli Zaretskii  <eliz@gnu.org>

	* makefile.w32-in (autoloads, custom-deps): Warn that parts of
	commands enclosed in $(ARGQUOTE)s should not be split between two
	lines, as that will break with GNU Make >3.80, when sh.exe is used
	and arg quoting is with '..'.
	(autoloads): Don't break the quoted --eval expression between
	several lines.

743 744
2005-12-17  Chong Yidong  <cyd@stupidchicken.com>

745 746
	* emacs-lisp/edebug.el (edebug-safe-prin1-to-string):
	Capture error from printing circular structures.
747

748 749 750 751
2005-12-17  Martin Rudalics  <rudalics@gmx.at>  (tiny change)

	* wid-edit.el (widget-checkbox-action): Clear undo info.

752 753 754 755 756
2005-12-16  Bill Wohler  <wohler@newt.com>

	* menu-bar.el (kill-this-buffer): Set a good example by using menu
	bar, not menubar in comment.

757 758 759 760 761
2005-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/cc-engine.el (c-after-change-check-<>-operators):
	After-change-functions should not clobber the match data.

Juri Linkov's avatar
Juri Linkov committed
762 763 764 765 766 767 768 769
2005-12-16  Juri Linkov  <juri@jurta.org>

	* simple.el (choose-completion): Use `buffer-substring-no-properties'
	instead of `buffer-substring'.
	(completion-common-substring): Doc fix.
	(completion-setup-function): Use minibuffer-completion-contents
	instead of minibuffer-contents.  Don't set common-string-length
	initially.  Remove special handling of partial-completion-mode.
770 771
	Move computation of completion-base-size into one cond.
	Call completion-base-size-function in mainbuf.  In computation of
Juri Linkov's avatar
Juri Linkov committed
772 773 774
	completion-base-size for file name completion don't move point to
	the end of the minibuffer.  Move computation of common-string-length
	into one cond.  Start putting faces only when common-string-length>=0.
775 776
	Add condition to put completions-common-part when
	common-string-length>0.
Juri Linkov's avatar
Juri Linkov committed
777 778 779 780 781 782 783 784 785 786 787 788

	* complete.el (PC-do-completion): Remove `(equal (point) beg)' to
	place point at the first different character in the minibuffer
	even if this position is at the beginning of the minibuffer.

	* info.el (Info-read-node-name-1): In completion-base-size-function's
	lambda return 1 if common-substring or minibuffer-completion-contents
	starts with (, and 0 otherwise.

	* emacs-lisp/crm.el (crm-minibuffer-completion-help):
	Use `crm-current-element' for second arg of `display-completion-list'.

789 790 791 792 793 794
2005-12-16  Klaus Zeitler  <kzeitler@lucent.com>

	* files.el (set-auto-mode): Look for an interpreter specified on
	the first line also if search for mode specification succeeded,
	but the mode is not known.

Carsten Dominik's avatar
Carsten Dominik committed
795 796
2005-12-16  Carsten Dominik  <dominik@science.uva.nl>

Carsten Dominik's avatar
Carsten Dominik committed
797
	* textmodes/org.el: (org-tags-match-list-sublevels): New option.
798
	(org-open-at-point): Implement tag searches as links.
Carsten Dominik's avatar
Carsten Dominik committed
799
	(org-fit-agenda-window, org-get-buffer-tags, org-get-tags)
800
	(org-make-tags-matcher, org-scan-tags, org-activate-tags): New funs.
Carsten Dominik's avatar
Carsten Dominik committed
801 802 803 804 805 806 807
	(org-tags-sparse-tree, org-tags-view, org-set-tags)
	(org-agenda-dispatch): New commands.
	(org-use-tag-inheritance, org-tags-column): New options.
	(org-tab-follows-link, org-return-follows-link): New options.
	(org-tags): New customize group.
	(org-start-icalendar-file): Get local time zone.
	(org-tags-completion-function): New function.
808
	(org-set-font-lock-defaults): Make sure links will also be
Carsten Dominik's avatar
Carsten Dominik committed
809
	highlighted inside headlines.
Carsten Dominik's avatar
Carsten Dominik committed
810

Eli Zaretskii's avatar
Eli Zaretskii committed
811 812
2005-12-16  Mark Plaksin  <happy@usg.edu>  (tiny change)

813 814
	* term.el (term-emulate-terminal):
	Let term-handle-ansi-terminal-messages override what Bash says about
Eli Zaretskii's avatar
Eli Zaretskii committed
815 816
	its current directory.

817 818 819 820 821 822 823 824
2005-12-16  L$,1 q(Brentey K,Aa(Broly  <lorentey@elte.hu>

	* bindings.el (last-buffer): Move to simple.el.
	* simple.el (last-buffer): Move here.
	(get-next-valid-buffer): New function.
	(next-buffer): Use frame-local buffer list, maintain buried buffer list.
	(prev-buffer): Ditto. Rename to `previous-buffer'.

825
	* menu-bar.el (menu-bar-update-buffers): Update uses of `prev-buffer'.
826 827
	* bindings.el (global-map): Ditto.

Luc Teirlinck's avatar
Luc Teirlinck committed
828 829 830 831 832
2005-12-15  Luc Teirlinck  <teirllm@auburn.edu>

	* cus-edit.el: Introductory comment change.
	(custom-magic-alist): Change message string for the `rogue' state.

833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858
2005-12-15  Richard M. Stallman  <rms@gnu.org>

	* tooltip.el: Delete defcustom variable :tag names.

	* complete.el (partial-completion-mode): Doc fix.

	* textmodes/flyspell.el (flyspell-external-point-words):
	Use save-excursion to ensure we don't move backward in the
	search loop, not even one character.
	(flyspell-delete-all-overlays): Use remove-overlays directly.

	* textmodes/ispell.el (ispell-current-personal-dictionary): New var.
	(ispell-start-process): Set that variable.
	Clear ispell-buffer-local-name.
	(ispell-internal-change-dictionary):
	Set ispell-current-dictionary after killing process.
	(ispell-buffer-local-dict):
	Don't set spell-personal-dictionary after killing process.
	(ispell-buffer-local-words): Don't clear out ispell-buffer-local-name.
	(ispell-tex-skip-alists)
	(ispell-html-skip-alists, ispell-skip-region-alist): Mark as risky.

	* net/newsticker.el (newsticker--retrieval-timer-list)
	(newsticker--display-timer, newsticker-running-p)
	(newsticker-ticker-running-p): Definitions moved up.

Nick Roberts's avatar
Nick Roberts committed
859 860
2005-12-16  Nick Roberts  <nickrob@snap.net.nz>

861
	* progmodes/gdb-ui.el (gdb-many-windows): Echo new state in minibuffer.
Nick Roberts's avatar
Nick Roberts committed
862

David Ponce's avatar
David Ponce committed
863 864
2005-12-15  David Ponce  <david@dponce.com>

865
	* recentf.el (recentf-dialog-goto-first): Fix missing error condition.
David Ponce's avatar
David Ponce committed
866 867 868
	(recentf-edit-list, recentf-open-files): Signal an error when
	there is no recent file.

Romain Francoise's avatar
Romain Francoise committed
869 870 871 872
2005-12-14  Lennart Borgman  <lennart.borgman.073@student.lu.se>

	* textmodes/texinfmt.el (texinfo-format-region): Set buffer to
	read-only except for texinfo-format-region evaluation.
Robert J. Chassell's avatar
Robert J. Chassell committed
873

874 875 876 877 878
2005-12-14  Richard M. Stallman  <rms@gnu.org>

	* vc.el (vc-default-previous-version, vc-default-next-version)
	(vc-do-command): Doc fixes.

Stefan Monnier's avatar
Stefan Monnier committed
879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936
2005-12-14  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>

	* textmodes/bibtex.el (bibtex-expand-strings)
	(bibtex-autokey-expand-string, bibtex-name-part)
	(bibtex-entry-type-whitespace, bibtex-entry-type-str)
	(bibtex-any-entry-maybe-empty-head, bibtex-string-type)
	(bibtex-preamble-prefix, bibtex-string-empty-key): New variables.
	(bibtex-entry-type, bibtex-entry-head): Match only valid entries.
	(bibtex-entry-postfix, bibtex-known-entry-type-re)
	(bibtex-valid-entry-re, bibtex-any-valid-entry-re)
	(bibtex-valid-entry-whitespace-re, bibtex-empty-field-re)
	(bibtex-field-name-for-parsing, bibtex-remove-delimiters-string)
	(bibtex-beginning-of-last-entry): Remove.
	(bibtex-parse-field-name): Use bibtex-field-name.  Issue error
	message if comma is missing but buffer is read-only.
	(bibtex-parse-field-text): Handle whitespaces at the end of field
	text.  Return 3-element list with beginning and end of field text
	and end of field.
	(bibtex-end-of-text-in-field, bibtex-end-of-field): Change accordingly.
	(bibtex-parse-field): Remove arg name.  Use bibtex-field-name.
	(bibtex-search-forward-field, bibtex-search-backward-field):
	Search always delimited by limits of entry.  Use more efficient
	search algorithms.
	(bibtex-name-in-field): Use bibtex-start-of-name-in-field and
	bibtex-end-of-name-in-field.
	(bibtex-text-in-field-bounds): Handle BibTeX strings when
	extracting the content of a field.
	(bibtex-text-in-field): Use search limits.
	(bibtex-parse-string-prefix): Handle empty string keys based on
	bibtex-string-empty-key.
	(bibtex-parse-string): Fix docstring.
	(bibtex-text-in-string): Use bibtex-text-in-field-bounds.
	(bibtex-preamble-prefix, bibtex-strings): New functions.
	(bibtex-skip-to-valid-entry): Include preceding whitespace in
	BibTeX entries (consistent with other BibTeX functions).
	(bibtex-map-entries): Use bibtex-skip-to-valid-entry.
	(bibtex-search-entry): Fix docstring.  Simplify.
	(bibtex-flash-head, bibtex-complete-string-cleanup)
	(bibtex-count-entries, bibtex-sort-buffer): Simplify.
	(bibtex-beginning-of-first-entry): Use bibtex-skip-to-valid-entry.
	(bibtex-parse-entry): New optional arg content.
	(bibtex-format-entry, bibtex-autofill-entry, bibtex-url): Use it.
	Use bibtex-text-in-field-bounds.
	(bibtex-print-help-message): Handle BibTeX strings and preambles.
	(bibtex-end-of-entry): Use bibtex-preamble-prefix and
	bibtex-parse-string-postfix.
	(bibtex-find-text-internal): New function.
	(bibtex-remove-delimiters): Use it.
	(bibtex-find-text): Use it.  New optional arg help.
	(bibtex-complete): Handle BibTeX string and preamble entries.
	(bibtex-Preamble): Fix order of closing delimiters.

2005-12-14  Stefan Monnier  <monnier@iro.umontreal.ca>

	* vc.el (vc-default-revert): New fun.

	* vc-mcvs.el (vc-mcvs-revert): Fix call to vc-default-revert.

937 938 939 940 941 942
2005-12-14  Romain Francoise  <romain@orebokech.com>

	* font-lock.el (font-lock-keywords-alist): Rename `append' to `how'.
	(font-lock-add-keywords, font-lock-update-removed-keyword-alist):
	(font-lock-remove-keywords): Likewise.

943 944
2005-12-14  Juri Linkov  <juri@jurta.org>

Juri Linkov's avatar
Juri Linkov committed
945 946
	* log-view.el (log-view-diff): Doc fix.

947 948 949
	* isearch.el (isearch-query-replace): Use (mark) instead of
	isearch-opoint if mark is active in transient-mark-mode.

950 951 952 953
2005-12-14  Aaron S. Hawley  <Aaron.Hawley@uvm.edu>

	* isearch.el (isearch-query-replace): Check for isearch-other-end.

Juri Linkov's avatar
Juri Linkov committed
954 955 956 957 958
2005-12-14  Per Abrahamsen  <abraham@dina.kvl.dk>

	* progmodes/cpp.el (cpp-face): New widget.
	(cpp-known-face, cpp-unknown-face, cpp-edit-list): Use it.

959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976
2005-12-14  Juri Linkov  <juri@jurta.org>

	* help-macro.el (make-help-screen): Bind `inhibit-read-only' to t
	around `erase-buffer' and `insert'.

	* descr-text.el (describe-text-properties): Replace buffer name
	"*Help-2*" with "*Help*<2>".
	(describe-char): Add functions print-help-return-message,
	toggle-read-only.  Use help-setup-xref with nil to not store
	describe-char in help-xref-stack.  Use help-make-xrefs to
	make [back] button.

	* desktop.el (desktop-minor-mode-table): Add vc-dired-mode with nil.

	* wdired.el (wdired-old-point): New internal variable.
	(wdired-change-to-wdired-mode): Set it buffer-locally.
	(wdired-abort-changes): Restore point after aborting changes.

977 978 979 980 981 982 983
2005-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>

	* vc.el (vc-do-command): Add a new value t for okstatus.

	* vc-svn.el (vc-svn-registered): Use it to avoid popping up a spurious
	frame in case of errors.

984 985
2005-12-13  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

986
	* menu-bar.el (menu-bar-showhide-fringe-menu): Move "On the Right"
987 988
	so it comes after "On the Left" in the menu.

Luc Teirlinck's avatar
Luc Teirlinck committed
989 990 991 992 993
2005-12-12  Luc Teirlinck  <teirllm@auburn.edu>

	* cus-edit.el (customize-apropos, customize-apropos-options)
	(customize-apropos-faces, customize-apropos-groups): Doc fixes.

994 995 996 997
2005-12-12  Bill Wohler  <wohler@newt.com>

	* vc-svn.el (vc-svn-registered): Fix problem of visiting
	non-writable Subversion-controlled files by saving window
998
	configuration before calling vc-do-command.  vc-do-command calls
999 1000
	pop-to-buffer on error which is unexpected during registration.

1001 1002 1003 1004
2005-12-12  Jay Belanger  <belanger@truman.edu>

	* calc/README: Update the summary of changes.

1005 1006 1007 1008 1009 1010
2005-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	* descr-text.el (describe-char): Rework last fix to solve the problem
	is the same way it's solved for everything else in that function
	(i.e. by extracting the info before setting up the *Help* buffer).

Kim F. Storm's avatar
Kim F. Storm committed
1011 1012 1013 1014 1015 1016
2005-12-12  Kim F. Storm  <storm@cua.dk>

	* subr.el (version-regexp-alist): Allow space as separator before
	non-numeric part, e.g. "1.0 alpha".
	(version-to-list): Interpret .X.Y version as 0.X.Y version.

Carsten Dominik's avatar
Carsten Dominik committed
1017 1018 1019 1020 1021 1022 1023 1024
2005-12-12  Carsten Dominik  <dominik@science.uva.nl>

	* textmodes/org.el: (org-agenda, org-timeline, org-todo):
	Implement Logging and the keep-modes setting.
	(org-get-category): Make sure a string is returned.
	(org-log-done): New function.
	(org-log-done, org-closed-string): New options.

1025 1026
2005-12-12  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

1027
	* tooltip.el (tooltip-y-offset): Change default to 20.
1028

1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050
2005-12-12  Richard M. Stallman  <rms@gnu.org>

	* mouse.el (mouse-drag-vertical-line): Use adjust-window-trailing-edge.

	* frame.el (display-hourglass): Doc fix.

	* help.el (help-for-help-internal): Simplify entry for `a'.

	* info.el (Info-on-current-buffer): Doc fix.
	(info-insert-file-contents): Don't test (featurep 'jka-compr).

	* startup.el (inhibit-splash-screen): Make this the real name.
	(inhibit-startup-message): Make this the alias.
	(command-line): Find only simple.el, and use its directory
	to fill in other preloaded files' names.
	(command-line): Deactivate the mark if deactivate-mark is set.

	* international/mule.el (load-with-code-conversion):
	Bind deactivate-mark.

	* progmodes/compile.el (compilation-error-regexp-alist): Doc fix.

Luc Teirlinck's avatar
Luc Teirlinck committed
1051 1052 1053 1054 1055 1056 1057 1058
2005-12-11  Luc Teirlinck  <teirllm@auburn.edu>

	* cus-edit.el (customize-apropos): Avoid listing an option more
	than once under different aliases.  No longer list user options
	that are not defined with defcustom (unless a prefix arg is given).
	Doc fix.
	(customize-apropos-options): Doc fix.

1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075
2005-12-11  Juri Linkov  <juri@jurta.org>

	* frame.el (set-background-color, set-foreground-color)
	(set-cursor-color, set-mouse-color, set-border-color):
	Add explicit prompts to read colors by `facemenu-read-color'.
	(show-trailing-whitespace, blink-cursor-delay)
	(blink-cursor-interval, display-hourglass, hourglass-delay):
	Remove tags.
	(display-hourglass, hourglass-delay): Doc fix.
	(cursor-in-non-selected-windows): Capitalize words in tag.

	* faces.el (frame-background-mode): Replace `choice-item' keywords
	with `const' to not make [default] button.  Change default value tag
	from `default' to `automatic'.  Doc fix.
	(trailing-whitespace) <defface>: Change group `whitespace' to
	`whitespace-faces'.

1076 1077 1078 1079
2005-12-11  Richard M. Stallman  <rms@gnu.org>

	* buff-menu.el (Buffer-menu-sort-column): Not a user variable.

YAMAMOTO Mitsuharu's avatar
YAMAMOTO Mitsuharu committed
1080 1081 1082 1083
2005-12-11  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* term/mac-win.el: Create keymap for mac-apple-event-map.

Nick Roberts's avatar
Nick Roberts committed
1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094
2005-12-11  Nick Roberts  <nickrob@snap.net.nz>

	* tooltip.el (tooltip-mode): Move to start of file so that it
	appears at top of customize buffer.

	* progmodes/gud.el (gud-tooltip-modes, gud-tooltip-display):
	Add the gud groupname.
	(gud-tooltip-mode): Add the tooltip groupname.
	(gud-tooltip-echo-area): Add the gud groupname. Remove tag to
	avoid conflict with tooltip-use-echo-area.

1095 1096 1097 1098
2005-12-10  Romain Francoise  <romain@orebokech.com>

	* help.el (help-for-help-internal): Add `r' in doc string.

Eli Zaretskii's avatar
Eli Zaretskii committed
1099 1100
2005-12-10  Johan Bockg,Ae(Brd  <bojohan@dd.chalmers.se>

1101 1102
	* align.el (align-regexp, align-highlight-rule):
	Use region-beginning and region-end instead of point and mark, so that
Eli Zaretskii's avatar
Eli Zaretskii committed
1103 1104 1105
	repetition (with `repeat-complex-command') recomputes the region
	bounds.

1106
2005-12-10  Lennart Borgman  <lennart.borgman.073@student.lu.se>
1107 1108 1109 1110 1111 1112

	* window.el (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
	(bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
	(bw-refresh-edges, bw-adjust-window, bw-balance-sub): New functions.
	(balance-windows): Rewrite using the above new functions.

1113 1114
2005-12-10  David Koppelman  <koppel@ece.lsu.edu>

1115
	* hi-lock.el: (hi-lock-mode) Renamed from hi-lock-buffer-mode;
1116 1117 1118
	react if global-hi-lock-mode seems intended.
	(global-hi-lock-mode) Renamed from hi-lock-mode.
	(hi-lock-archaic-interface-message-used)
1119
	(hi-lock-archaic-interface-deduce): New variables.
1120 1121
	(turn-on-hi-lock-if-enabled, hi-lock-line-face-buffer)
	(hi-lock-face-buffer, hi-lock-face-phrase-buffer)
1122 1123
	(hi-lock-find-patterns, hi-lock-font-lock-hook):
	Replace hi-lock-buffer-mode with hi-lock-mode.
1124

1125 1126 1127 1128 1129 1130 1131 1132
2005-12-10  Kevin Rodgers  <ihs_4664@ihs.com>

	* emacs-lisp/lisp.el (lisp-complete-symbol): Regenerate the
	completion list, even after a partial completion has been
	inserted in the current buffer.  If there are more than 1
	completion, redisplay the *Completions* buffer; if the
	completion is unique, delete the *Completions* window.

1133 1134 1135 1136
2005-12-10  Eli Zaretskii  <eliz@gnu.org>

	* mail/rmail.el (rmail-next-same-subject): Handle multiple "Re: "
	strings and long subject lines that were broken into multiple
Eli Zaretskii's avatar
Eli Zaretskii committed
1137 1138
	lines at arbitrary places.  Handle subjects that have "Re: " in
	the middle.
1139

1140 1141 1142 1143 1144
2005-12-10  John W. Eaton  <jwe@octave.org>

	* emacs/octave-mod.el (octave-electric-space): Don't indent
	comments or strings if octave-auto-indent is nil.

YAMAMOTO Mitsuharu's avatar
YAMAMOTO Mitsuharu committed
1145 1146
2005-12-10  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

1147 1148
	* term/mac-win.el: Require url when compiling.
	Call mac-process-deferred-apple-events after loading init files.
YAMAMOTO Mitsuharu's avatar
YAMAMOTO Mitsuharu committed
1149 1150 1151 1152
	(mac-apple-event-map): New defvar.  Define event handlers in it.
	(core-event, internet-event): New Apple event class symbols.
	(open-application, reopen-application, open-documents)
	(print-documents, open-contents, quit-application)
1153 1154
	(application-died, show-preferences, autosave-now, get-url):
	New Apple event ID symbols.
YAMAMOTO Mitsuharu's avatar
YAMAMOTO Mitsuharu committed
1155 1156 1157 1158 1159 1160 1161 1162 1163
	(about): New HICommand ID symbol.
	(mac-event-spec, mac-event-ae): New macros.
	(mac-ae-parameter, mac-ae-list, mac-bytes-to-integer)
	(mac-ae-selection-range, mac-ae-text-for-search)
	(mac-ae-open-documents, mac-ae-text, mac-ae-get-url): New functions.
	(mac-application-menu-map): Remove keymap.  Handlers for HICommand
	and Services menu events are now defined in mac-apple-event-map.
	(mac-drag-n-drop): Remove selection range handling.

1164 1165
2005-12-10  Kenichi Handa  <handa@m17n.org>

1166
	* simple.el (zap-to-char):
1167 1168 1169
	* isearch.el (isearch-process-search-char): Translate CHAR by
	translation-table-for-input.

1170 1171 1172 1173
2005-12-09  Chong Yidong  <cyd@stupidchicken.com>

	* foldout.el (foldout-exit-fold): Properly hide subtree.

Reiner Steib's avatar
Reiner Steib committed
1174 1175 1176
2005-12-09  Reiner Steib  <Reiner.Steib@gmx.de>

	* files.el (save-buffer):
1177
	* international/ucs-tables.el (ucs-set-table-for-input):
Reiner Steib's avatar
Reiner Steib committed
1178 1179 1180
	* mail/mail-extr.el (mail-extract-address-components):
	* mail/sendmail.el (mail-mode): Reformat doc string.

1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202
2005-12-09  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-highlight): Change main overlay priority
	from 1 to 1001.  Simplify.
	(isearch-lazy-highlight-update): Change lazy overlay priority
	from 0 to 1000.

	* replace.el (replace-highlight): Change overlay priority from
	1 to 1001.

	* textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
	Change overlay priority from 1 to 1001.  Reuse existing overlay.

	* compare-w.el (compare-windows-highlight): Change overlay
	priority from 1 to 1000.

	* menu-bar.el (menu-bar-edit-menu): Add listp around
	pending-undo-list to disable menu item "undo" when pending
	undo list is empty.

	* locate.el (locate): Disable undo in *Locate* buffer.

Kim F. Storm's avatar
Kim F. Storm committed
1203 1204 1205 1206
2005-12-09  Kim F. Storm  <storm@cua.dk>

	* mail/smtpmail.el (smtpmail-via-smtp): Disable undo in SMTP buffer.

David Ponce's avatar
David Ponce committed
1207 1208
2005-12-09  David Ponce  <david@dponce.com>

Kim F. Storm's avatar
Kim F. Storm committed
1209
	* recentf.el: Improvement of the menu code.
David Ponce's avatar
David Ponce committed
1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244
	(recentf-enabled-p): Move before first use.  Use `kill-emacs-hook'
	instead of menu hook.
	(recentf-show-menu, recentf-hide-menu): New functions.
	(recentf-menu-customization-changed, recentf-mode): Use them.
	(recentf-menu-action, recentf-max-menu-items)
	(recentf-menu-open-all-flag, recentf-menu-append-commands-flag)
	(recentf-arrange-by-rule-others)
	(recentf-arrange-by-rules-min-items)
	(recentf-arrange-by-rule-subfilter) : Don't use
	`recentf-menu-customization-changed'.
	(recentf-arrange-rules): Likewise.  Accept functions to compute
	sub-menu titles.
	(recentf-menu-filter): Likewise.  Doc fix.
	(recentf-menu-value-shortcut): Doc fix.
	(recentf-dump-variable): Quote atom value.
	(recentf-make-menu-items): Update to use it as a menu filter.
	(recentf-match-rule): New function.
	(recentf-arrange-by-rule): Use it.
	(recentf-indirect-mode-rule): New function.
	(recentf-build-mode-rules): Use it.
	(recentf-dir-rule): New function.
	(recentf-arrange-by-dir): Use it.
	(recentf-filter-changer-current): Rename from
	`recentf-filter-changer-state'.  All references updated.
	(recentf-filter-changer-alist): Update filter names.
	(recentf-filter-changer-select): New function.
	(recentf-filter-changer): Use it.  Make a sub-menu from filters
	available in `recentf-filter-changer-alist'.
	(recentf-data-cache, recentf-clear-data)
	(recentf-update-menu): Remove.  All references updated.
	(recentf-match-rule-p, recentf-build-dir-rules)
	(recentf-filter-changer-goto-next)
	(recentf-filter-changer-get-current)
	(recentf-filter-changer-get-next): Remove.

Luc Teirlinck's avatar
Luc Teirlinck committed
1245 1246 1247 1248 1249 1250
2005-12-08  Luc Teirlinck  <teirllm@auburn.edu>

	* cus-edit.el (custom-buffer-create-internal): Relabel the whole
	buffer "Reset" button to "Reset to Current" for consistency with
	the State buttons.

1251 1252 1253 1254 1255
2005-12-08  John Paul Wallington  <jpw@pobox.com>

	* ibuf-ext.el (define-ibuffer-filter filename):
	If `dired-directory' is a list then really use its car.

Kim F. Storm's avatar
Kim F. Storm committed
1256 1257 1258 1259 1260
2005-12-08  Kim F. Storm  <storm@cua.dk>

	* emulation/cua-rect.el (cua--rectangle-aux-replace): Fix
	indention of text on right side of replaced rectangle.

Nick Roberts's avatar
Nick Roberts committed
1261 1262
2005-12-09  Nick Roberts  <nickrob@snap.net.nz>

Kim F. Storm's avatar
Kim F. Storm committed
1263
	* progmodes/gud.el (gud-speedbar-buttons, gud-tooltip-tips):
Nick Roberts's avatar
Nick Roberts committed
1264 1265 1266
	No need to check gud-comint-buffer is bound.
	(gdb): Prevent multiple debugging when first session uses gdba.

Alan Mackenzie's avatar
Alan Mackenzie committed
1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376
2005-12-08  Alan Mackenzie  <bug-cc-mode@gnu.org>

	CC Mode update to 5.31.

	* progmodes/cc-subword.el: Add a dummy `c-subword-mode' for
	Emacsen which lack `define-minor-mode'.  (Currently Emacs <21.  We
	might do this function properly in the future).

	* progmodes/cc-cmds.el, cc-defs.el, cc-styles.el, cc-vars.el: New
	macros c-sentence-end and c-default-value-sentence end, to cope
	with Emacs 22's new function `sentence-end'.

2005-12-08  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-cmds.el (c-show-syntactic-information): Solved the
	compat issue using `c-put-overlay' and `c-delete-overlay'.

	* progmodes/cc-defs.el (c-put-overlay, c-delete-overlay): New
	compat macros to handle overlays/extents.

2005-12-08  Alan Mackenzie  <bug-cc-mode@gnu.org>

	* progmodes/cc-fix.el: Add definitions of the macros push and pop
	(for GNU Emacs 20.4)

	* progmodes/cc-defs.el:
	(i) Load cc-fix.elc for `push' and `pop' (for GNU Emacs 20.4)

	* progmodes/cc-cmds.el (c-show-syntactic-information): change the
	highlighting mechanism so it will work in XEmacs too.

	* progmodes/cc-defs.el: Insert c-int-to-char.

	* progmodes/cc-langs.el (c-nonsymbol-token-char-list): Insert a
	call to the new macro c-int-to-char.  This solves XEmacs's
	regarding characters as different from integers.

2005-12-08  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-fonts.el (c-make-syntactic-matcher): New internal
	helper.

	(c-cpp-matchers, c-basic-matchers-before): Use the `eval'
	construct to make the indirect face lookup work in XEmacs.

	(c-cpp-matchers): Append the negation char face to the existing
	fontification, so that the cpp face doesn't disappear.  Use
	`c-make-syntactic-matcher' to avoid negation chars in comments and
	strings.

	* progmodes/cc-fonts.el (c-negation-char-face-name): New variable
	to map to `font-lock-negation-char-face' in emacsen where it
	exists.

2005-12-08  Alan Mackenzie  <bug-cc-mode@gnu.org>

	* progmodes/cc-mode.el: Bind c-subword-mode to C-c C-w.

	* progmodes/cc-subword.el, cc-cmds.el, cc-mode.el: Rename
	"c-subword-move-mode" as "c-subword-mode".

	* progmodes/cc-mode.el: Added tty suitable bindings for C-c
	<delete> and C-c C-<delete>.  (To the c-hungry- delete functions).

2005-12-08  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-mode.el: Added autoload directive for
	`c-subword-move-mode' for use in older emacsen.

2005-12-08  Alan Mackenzie  <bug-cc-mode@gnu.org>

	* progmodes/cc-mode.el:
	(i) Insert a binding for C-c C-backspace into
	c-bind-special-erase-keys which works in TTYs.
	(ii) Make sure that when file styles are used, any explicitly
	given style variables take priority over those in the style.  Do
	this by calling `hack-local-variables' a second time.

	* progmodes/cc-vars.el: Add language specific customization
	widgets for AWK to c-doc-comment-style, c-require-final-newline
	and c-default-style.  Add a defcustom for awk-mode-hook.  Give
	c-syntactic-element and c-syntactic-context doc-strings by
	directly setting their `variable-documentation' propery.  This
	allows Emacs 22.1 to read these with C-h v.

	* progmodes/cc-awk.el: Apply a tidy-up patch (from Stefan
	Monnier).

2005-12-08  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-fonts.el, cc-vars.el
	(gtkdoc-font-lock-doc-comments, gtkdoc-font-lock-doc-protection,
	gtkdoc-font-lock-keywords): GtkDoc patterns contributed by
	Masatake YAMATO.

	(c-doc-comment-style): Made GtkDoc default in C mode.

	* progmodes/cc-mode.el: Fixed key bindings for C-c C-<backspace>
	and C-c C-<delete>.

	(c-bind-special-erase-keys): New function for use on
	`normal-erase-is-backspace-hook' to bind C-c C-<delete> correctly.

	* progmodes/cc-cmds.el (c-hungry-delete): New function to fix
	<delete> key behavior in XEmacs according to `delete-forward-p'.
	C.f. `c-electric-delete'.

2005-12-08  Alan Mackenzie  <bug-cc-mode@gnu.org>

	* progmodes/cc-mode.el: Give c-hungry-backspace and
1377
	c-hungry-delete-forward permanent key bindings.
Alan Mackenzie's avatar
Alan Mackenzie committed
1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603

	* progmodes/cc-cmds.el (c-electric-semi&comma): Bind
	c-syntactic-context for calls to "criteria functions", for
	consistency with other calls to user functions.

	* progmodes/cc-cmds.el (c-indent-command): expunge use of
	`current-prefix-arg', since this might be the prefix arg to a
	command which calls c-indent-command as a function.  Change the
	interactive spec from "p" to "P".

	* progmodes/cc-styles.el: Amend the doc-string of c-set-style, in
	reponse to a report from Joseph Kiniry <kiniry@acm.org> that it
	was difficult to understand.

2005-12-08  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-engine.el (c-on-identifier): Fixed bug when at the
	first char of an identifier.

	* progmodes/cc-engine.el (c-on-identifier): Handle the "operator
	+" syntax in C++.

2005-12-08  Alan Mackenzie  <bug-cc-mode@gnu.org>

	* progmodes/cc-cmds.el (c-mask-paragraph): correct, so that
	auto-fill doesn't split a c-comment's last word from a hanging
	"*/" when a space is typed between them after fill-column.

	* progmodes/cc-defs.el: New macro c-delete-and-extract-region.

	* progmodes/cc-styles.el (c-set-style,
	c-setup-paragraph-variables): Abort the command if we're not in a
	CC Mode buffer.

	* progmodes/cc-align.el (c-lineup-C-comments): Correct indentation
	with blank comment-prefix, and a blank line as the comment's
	second line.

2005-12-08  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-fonts.el (c-cpp-matchers, c-basic-matchers-before):
	Incorporated the patterns added in the Emacs development branch
	for the new Emacs 22 face `font-lock-negation-char-face'.

	* progmodes/cc-fonts.el (c-invalid-face-name): Use "red1" instead
	of "red" since it stands out better in xterms and DOS terminals.

	* progmodes/cc-engine.el (c-literal-faces): Added
	`font-lock-comment-delimiter-face' which is new in Emacs 22.

2005-12-08  Alan Mackenzie  <bug-cc-mode@gnu.org>

	* progmodes/cc-cmds.el: Make C-c C-a (`c-toggle-auto-newline')
	forcibly enable c-electric-flag.

	* progmodes/cc-vars.el, cc-cmds.el: New clean-up
	`comment-close-slash' on c-electric-slash: if enabled, typing `/'
	just after the comment-prefix of a C-style comment will close that
	comment.

2005-12-08  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-fonts.el (c-basic-matchers-before,
	c-complex-decl-matchers): Fixed the "not-arrow-prefix" regexp used
	in Pike.

	* progmodes/cc-langs.el (c-other-op-syntax-tokens): Only C++ has
	digraphs.

	* progmodes/cc-fonts.el, cc-langs.el, cc-engine.el
	(c-cpp-message-directives, c-cpp-include-directives,
	c-opt-cpp-macro-define, c-opt-cpp-macro-define-start,
	c-cpp-expr-directives): Introduced new language constants to
	control cpp syntax in a cleaner way.

	(c-cpp-expr-functions): Renamed from c-cpp-defined-fns.

	(c-cpp-matchers, c-forward-to-cpp-define-body): Use them.

	* progmodes/cc-langs.el, cc-fonts.el (c-string-escaped-newlines,
	c-multiline-string-start-char): New language constants and
	variables to specify how newlines in string literals work.

	(c-font-lock-invalid-string): Use them.

	* progmodes/cc-cmds.el (c-try-one-liner): Robustness fix if an
	unbalanced close brace is entered.  Optimization by avoiding going
	back over arbitrarily large blocks.  Removed hints that this
	function only would be relevant/useful in AWK.

	(c-electric-brace): Indent syntactically after the cleanups since
	lineup functions might do it differently then.

	* progmodes/cc-engine.el, cc-langs.el
	(c-opt-op-identifier-prefix): New language constant and variable.

	(c-just-after-func-arglist-p, c-after-special-operator-id,
	c-search-decl-header-end, c-inside-bracelist-p): Use it.

	* progmodes/cc-align.el, cc-engine.el
	(c-after-special-operator-id): New helper to handle C++ operator
	identifiers.

	(c-lineup-topmost-intro-cont, c-just-after-func-arglist-p,
	c-guess-basic-syntax): Handle C++ operator identifiers in
	declarations.

	* progmodes/cc-langs.el (c-assignment-operators): Added the
	trigraph version of ^= too.

	* progmodes/cc-langs.el (c-assignment-operators): Added the
	trigraph version of |= in C++.

	* progmodes/cc-fonts.el (c-font-lock-declarators): Handle
	`c-decl-hangon-kwds' after the identifier name.

	* progmodes/cc-engine.el (c-guess-basic-syntax): When deciding
	whether an arglist is "nonempty", ignore a comment after the open
	paren if it isn't followed by a non-comment token on the same
	line.

	* progmodes/cc-engine.el (c-guess-basic-syntax): Case 4: Enable
	heuristics below the point to cope with classes inside special
	brace lists in Pike.

2005-12-08  Alan Mackenzie  <bug-cc-mode@gnu.org>