ChangeLog 696 KB
Newer Older
1 2
2006-01-01  Richard M. Stallman  <rms@gnu.org>

3 4
	* 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
5
	(Custom-reset-standard): Show message if aborted.
6 7
	(custom-mode): Doc fix, describing those commands.

8 9 10
	* mouse.el (mouse-drag-region-1): When following link via mouse-2,
	put on event-kind property.

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

13 14 15 16 17 18
	* 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.

19 20 21 22 23 24
	* 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
25 26 27 28 29
2005-12-31  Eli Zaretskii  <eliz@gnu.org>

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

30 31 32 33 34
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
35 36 37 38 39 40
2005-12-31  Eli Zaretskii  <eliz@gnu.org>

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

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

41 42 43
2005-12-30  Chong Yidong  <cyd@stupidchicken.com>

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

46 47
2005-12-30  Richard M. Stallman  <rms@gnu.org>

48 49
	* custom.el (custom-load-themes): Function deleted.

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

53 54
2005-12-30  Stefan Monnier  <monnier@iro.umontreal.ca>

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

57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
	* 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.

73 74 75 76 77 78 79 80 81 82 83
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
84 85
2005-12-30  Andreas Schwab  <schwab@suse.de>

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

Eli Zaretskii's avatar
Eli Zaretskii committed
88 89 90 91
2005-12-30  Eli Zaretskii  <eliz@gnu.org>

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

Juri Linkov's avatar
Juri Linkov committed
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109
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.

110 111 112 113 114
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
115 116 117 118
2005-12-29  Luc Teirlinck  <teirllm@auburn.edu>

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

119 120 121 122 123
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.

124 125 126 127 128
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)
129
	(bibtex-search-entry, bibtex-enclosing-entry-maybe-empty-head): Remove.
130 131
	(bibtex-any-valid-entry-type): New variable.
	(bibtex-parse-field-name): Simplify.
132
	(bibtex-parse-string, bibtex-search-forward-string): New arg empty-key.
133
	(bibtex-preamble-prefix): Include left delimiter.
134 135
	(bibtex-search-forward-field, bibtex-search-backward-field):
	Allow unbounded search past entry boundaries (required by bibtex-pop).
136 137 138 139 140 141 142 143 144 145 146 147 148 149
	(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.
150 151
	(bibtex-print-help-message): New args field and comma.
	Handle entry keys.
152 153 154 155 156 157 158 159 160 161 162 163 164 165
	(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.
166
	(bibtex-convert-alien): Do not wait before calling bibtex-validate.
167 168
	(bibtex-complete): Use bibtex-parse-preamble.

Nick Roberts's avatar
Nick Roberts committed
169 170 171 172 173 174 175 176 177 178 179
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..

180 181
2005-12-28  Bill Wohler  <wohler@newt.com>

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

184 185
2005-12-28  Stefan Monnier  <monnier@iro.umontreal.ca>

186 187 188 189 190 191 192 193 194 195
	* 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.

196 197 198 199 200 201 202 203
	* 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
204 205 206 207 208 209 210 211 212
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.

213 214
2005-12-05  Ralf Angeli  <angeli@iwi.uni-sb.de>

215 216
	* mail/smtpmail.el (smtpmail-try-auth-methods):
	Send credentials together with "AUTH PLAIN" command.
217

218 219 220 221 222 223 224
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
225 226 227 228 229 230 231 232 233 234 235 236 237

	* 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.

238 239
2005-12-27  Richard M. Stallman  <rms@gnu.org>

240 241
	* progmodes/glasses.el (glasses-face): More specific custom type.

242 243
	* files.el (set-visited-file-name): Doc fix.

244 245 246 247 248 249 250 251 252
	* 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.

253
2005-12-27  Nick Roberts  <nickrob@snap.net.nz>
Juri Linkov's avatar
Juri Linkov committed
254 255 256 257 258 259 260

	* 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.

261
2005-12-27  Juri Linkov  <juri@jurta.org>
Nick Roberts's avatar
Nick Roberts committed
262 263

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

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

269 270 271 272
2005-12-27  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

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

273 274
2005-12-26  Richard M. Stallman  <rms@gnu.org>

275 276 277
	* replace.el (perform-replace): Calculate match-again
	before skipping read-only matches.

278 279 280 281 282 283 284
	* 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'.

285 286 287
	* apropos.el (apropos, apropos-value): Doc fix.
	(apropos-documentation): Doc fix.

288 289 290 291 292 293 294
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.

295
2005-12-26  Nick Roberts  <nickrob@snap.net.nz>
Nick Roberts's avatar
Nick Roberts committed
296 297 298 299 300

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

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

Juri Linkov's avatar
Juri Linkov committed
303 304 305
	* 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
306 307
	Use `help-info' for second.
	(describe-property-list): Use `help-argument-name' instead of `italic'.
Juri Linkov's avatar
Juri Linkov committed
308 309 310 311
	(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
312

313 314
2005-12-25  Richard M. Stallman  <rms@gnu.org>

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

318 319 320 321
	* progmodes/delphi.el (delphi-other-face): Allow nil in type.

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

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

324 325 326 327 328
2005-12-25  Romain Francoise  <romain@orebokech.com>

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

329 330 331 332
2005-12-24  Chong Yidong  <cyd@stupidchicken.com>

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

333 334
	* cus-edit.el (custom-variable-set, custom-variable-save)
	(custom-variable-save): Custom-quote widget values.
335 336
	(customize-save-variable): Fix custom-push-theme call.

337 338 339 340
2005-12-24  Eli Zaretskii  <eliz@gnu.org>

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

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

345 346 347 348 349 350 351 352 353 354
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.
355 356
	(custom-variable-state-set, custom-face-state-set):
	Check theme-value instead of saved-value.
357
	(custom-variable-reset-standard, custom-face-reset-standard):
358
	Remove theme setting entirely.  Recalculate new values.
359 360 361 362
	(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.
363

364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395
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'.

396 397 398 399
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
400 401 402 403 404 405 406 407 408 409 410 411
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.

412 413 414 415 416 417 418 419 420 421 422 423
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.

424 425 426 427 428 429 430
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.

431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450
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
451 452 453 454 455 456 457 458 459 460 461 462
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.

463
2005-12-22  Richard M. Stallman  <rms@gnu.org>
464

465 466 467 468 469
	* 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.
470 471 472 473 474
	(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.
475 476 477 478
	(custom-reset-menu, custom-magic-alist, Custom-mode-menu):
	Say "standard values".
	(Custom-reset-standard): Doc fix.
	(custom-face-reset-standard): Doc fix.
479

480 481 482 483 484 485 486 487 488 489
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.

490 491 492 493 494
2005-12-22  Katsumi Yamaoka  <yamaoka@jpl.org>

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

495 496
2005-12-21  Stefan Monnier  <monnier@iro.umontreal.ca>

497 498 499 500
	* 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.

501 502 503 504
	* 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
505 506 507 508
2005-12-21  Luc Teirlinck  <teirllm@auburn.edu>

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

509 510 511 512 513
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
514 515
2005-12-22  Nick Roberts  <nickrob@snap.net.nz>

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

519 520 521 522 523 524
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
525 526 527 528 529 530 531 532 533 534
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
535 536 537 538 539
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
540 541
2005-12-20  Nick Roberts  <nickrob@snap.net.nz>

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

546 547 548 549 550 551 552 553 554 555
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.
556
	(org-tags-completion-function): Use also "&" and "|" as separators.
557 558
	(org-org-menu): Agenda commands simplified.

Luc Teirlinck's avatar
Luc Teirlinck committed
559 560 561 562 563 564 565
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.

566 567 568 569 570 571
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
572 573 574 575 576 577 578 579 580 581 582 583 584 585 586
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'.

587 588 589 590 591 592 593 594
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 (...) ...) ...).

595 596
2005-12-17  Chong Yidong  <cyd@stupidchicken.com>

597
	* progmodes/sh-script.el (sh-mode):
598 599 600
	* 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
601 602 603 604 605 606 607 608 609
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.

610 611
2005-12-17  Chong Yidong  <cyd@stupidchicken.com>

612 613
	* emacs-lisp/edebug.el (edebug-safe-prin1-to-string):
	Capture error from printing circular structures.
614

615 616 617 618
2005-12-17  Martin Rudalics  <rudalics@gmx.at>  (tiny change)

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

619 620 621 622 623
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.

624 625 626 627 628
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
629 630 631 632 633 634 635 636
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.
637 638
	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
639 640 641
	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.
642 643
	Add condition to put completions-common-part when
	common-string-length>0.
Juri Linkov's avatar
Juri Linkov committed
644 645 646 647 648 649 650 651 652 653 654 655

	* 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'.

656 657 658 659 660 661
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
662 663
2005-12-16  Carsten Dominik  <dominik@science.uva.nl>

Carsten Dominik's avatar
Carsten Dominik committed
664
	* textmodes/org.el: (org-tags-match-list-sublevels): New option.
665
	(org-open-at-point): Implement tag searches as links.
Carsten Dominik's avatar
Carsten Dominik committed
666
	(org-fit-agenda-window, org-get-buffer-tags, org-get-tags)
667
	(org-make-tags-matcher, org-scan-tags, org-activate-tags): New funs.
Carsten Dominik's avatar
Carsten Dominik committed
668 669 670 671 672 673 674
	(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.
675
	(org-set-font-lock-defaults): Make sure links will also be
Carsten Dominik's avatar
Carsten Dominik committed
676
	highlighted inside headlines.
Carsten Dominik's avatar
Carsten Dominik committed
677

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

680 681
	* term.el (term-emulate-terminal):
	Let term-handle-ansi-terminal-messages override what Bash says about
Eli Zaretskii's avatar
Eli Zaretskii committed
682 683
	its current directory.

684 685 686 687 688 689 690 691
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'.

692
	* menu-bar.el (menu-bar-update-buffers): Update uses of `prev-buffer'.
693 694
	* bindings.el (global-map): Ditto.

Luc Teirlinck's avatar
Luc Teirlinck committed
695 696 697 698 699
2005-12-15  Luc Teirlinck  <teirllm@auburn.edu>

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

700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725
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
726 727
2005-12-16  Nick Roberts  <nickrob@snap.net.nz>

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

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

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

Romain Francoise's avatar
Romain Francoise committed
736 737 738 739
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
740

741 742 743 744 745
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
746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803
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.

804 805 806 807 808 809
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.

810 811
2005-12-14  Juri Linkov  <juri@jurta.org>

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

814 815 816
	* isearch.el (isearch-query-replace): Use (mark) instead of
	isearch-opoint if mark is active in transient-mark-mode.

817 818 819 820
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
821 822 823 824 825
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.

826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843
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.

844 845 846 847 848 849 850
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.

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

853
	* menu-bar.el (menu-bar-showhide-fringe-menu): Move "On the Right"
854 855
	so it comes after "On the Left" in the menu.

Luc Teirlinck's avatar
Luc Teirlinck committed
856 857 858 859 860
2005-12-12  Luc Teirlinck  <teirllm@auburn.edu>

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

861 862 863 864
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
865
	configuration before calling vc-do-command.  vc-do-command calls
866 867
	pop-to-buffer on error which is unexpected during registration.

868 869 870 871
2005-12-12  Jay Belanger  <belanger@truman.edu>

	* calc/README: Update the summary of changes.

872 873 874 875 876 877
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
878 879 880 881 882 883
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
884 885 886 887 888 889 890 891
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.

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

894
	* tooltip.el (tooltip-y-offset): Change default to 20.
895

896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917
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
918 919 920 921 922 923 924 925
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.

926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942
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'.

943 944 945 946
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
947 948 949 950
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
951 952 953 954 955 956 957 958 959 960 961
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.

962 963 964 965
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
966 967
2005-12-10  Johan Bockg,Ae(Brd  <bojohan@dd.chalmers.se>

968 969
	* 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
970 971 972
	repetition (with `repeat-complex-command') recomputes the region
	bounds.

973
2005-12-10  Lennart Borgman  <lennart.borgman.073@student.lu.se>
974 975 976 977 978 979

	* 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.

980 981
2005-12-10  David Koppelman  <koppel@ece.lsu.edu>

982
	* hi-lock.el: (hi-lock-mode) Renamed from hi-lock-buffer-mode;
983 984 985
	react if global-hi-lock-mode seems intended.
	(global-hi-lock-mode) Renamed from hi-lock-mode.
	(hi-lock-archaic-interface-message-used)
986
	(hi-lock-archaic-interface-deduce): New variables.
987 988
	(turn-on-hi-lock-if-enabled, hi-lock-line-face-buffer)
	(hi-lock-face-buffer, hi-lock-face-phrase-buffer)
989 990
	(hi-lock-find-patterns, hi-lock-font-lock-hook):
	Replace hi-lock-buffer-mode with hi-lock-mode.
991

992 993 994 995 996 997 998 999
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.

1000 1001 1002 1003
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
1004 1005
	lines at arbitrary places.  Handle subjects that have "Re: " in
	the middle.
1006

1007 1008 1009 1010 1011
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
1012 1013
2005-12-10  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

1014 1015
	* 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
1016 1017 1018 1019
	(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)
1020 1021
	(application-died, show-preferences, autosave-now, get-url):
	New Apple event ID symbols.
YAMAMOTO Mitsuharu's avatar
YAMAMOTO Mitsuharu committed
1022 1023 1024 1025 1026 1027 1028 1029 1030
	(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.

1031 1032
2005-12-10  Kenichi Handa  <handa@m17n.org>

1033
	* simple.el (zap-to-char):
1034 1035 1036
	* isearch.el (isearch-process-search-char): Translate CHAR by
	translation-table-for-input.

1037 1038 1039 1040
2005-12-09  Chong Yidong  <cyd@stupidchicken.com>

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

Reiner Steib's avatar
Reiner Steib committed
1041 1042 1043
2005-12-09  Reiner Steib  <Reiner.Steib@gmx.de>

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

1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069
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
1070 1071 1072 1073
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
1074 1075
2005-12-09  David Ponce  <david@dponce.com>

Kim F. Storm's avatar
Kim F. Storm committed
1076
	* recentf.el: Improvement of the menu code.
David Ponce's avatar
David Ponce committed
1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111
	(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
1112 1113 1114 1115 1116 1117
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.

1118 1119 1120 1121 1122
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
1123 1124 1125 1126 1127
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
1128 1129
2005-12-09  Nick Roberts  <nickrob@snap.net.nz>

Kim F. Storm's avatar
Kim F. Storm committed
1130
	* progmodes/gud.el (gud-speedbar-buttons, gud-tooltip-tips):
Nick Roberts's avatar
Nick Roberts committed
1131 1132 1133
	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
1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 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
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
1244
	c-hungry-delete-forward permanent key bindings.
Alan Mackenzie's avatar
Alan Mackenzie committed
1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 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 1377 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

	* 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>

	* progmodes/cc-cmds.el: Amend c-point-syntax to handle macros.

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

	* progmodes/cc-guess.el (cc-guess-install): New function to
	install an already guessed style in another buffer.

	* progmodes/cc-defs.el (c-tentative-buffer-changes): No longer
	sets `inhibit-read-only' - `c-save-buffer-state' should be used
	anyway if the change always is undone.

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

	Implement togglable electricity:

	* progmodes/cc-defs.el: Enhance c-save-buffer-state's doc-string,
	saying when it should be used.

	* progmodes/cc-engine.el: Add the new buffer-local variable,
	c-electric-flag.

	* progmodes/cc-langs.el: Change the name of c-toggle-auto-state to
	c-toggle-auto-newline.

	* progmodes/cc-mode.el: Rename c-toggle-auto-state to
	c-toggle-auto-newline.  Remove the binding for
	c-toggle-auto-hungry-state.  Add the binding C-c C-l for the new
	c-toggle-electric-state.

	* progmodes/cc-vars.el: Make c-syntactic-indentation buffer local.

	* progmodes/cc-cmds.el: Add `c-bytecomp-defun's for
	c-\(forward\|backward\)-subword.
	(c-update-modeline): Add the new modeline flag `l' for
	`c-electric-flag'.  Make the auto-newline flag `a' dependent on
	`l'.
	(c-toggle-auto-state): Rename it to `c-toggle-auto-newline'.  Make
	the old name an alias of the new name.
	(c-toggle-electric-state): New function.
	c-electric-\(pound\|brace\|slash\|star\|semi&comma\|colon\|lt-gt\|paren\|continued-statement\):
	Adapt these functions to do electric things only when
	c-electric-flag is non-nil.
	(c-point-syntax, c-brace-newlines, c-try-oneliner): Extract these
	new functions from c-electric-brace.
	(c-point-syntax): Add a check for "virtual semicolons" in AWK
	mode, so that the tentative extra newline doesn't change the
	syntax of the following brace.
	(c-electric-brace): restructure by extracting the above functions.
	Tidy up the coding somewhat.
	(c-electric-semi&comma, c-electric-colon, c-electric-paren):
	restructure a bit.

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

	* progmodes/cc-cmds.el (c-show-syntactic-information): Show the
	anchor position(s) using faces.  Thanks to Masatake YAMATO for the
	idea.

	* progmodes/cc-mode.el, cc-cmds.el, cc-defs.el, cc-engine.el
	(c-submode-indicators): Changed name from `c-auto-hungry-string'
	since it's now used to track another submode.

	(c-update-modeline): Converted to function and extended to check
	`c-subword-move-mode'.

	(c-forward-into-nomenclature, c-backward-into-nomenclature):
	Converted to compat aliases for `c-forward-subword' and
	`c-backward-subword'.

	* progmodes/cc-subword.el: New functions and minor mode to handle
	SillyCapsedStyleIndentifiers, contributed by Masatake YAMATO:

	(c-forward-subword, c-backward-subword, c-mark-subword,
	c-kill-subword, c-backward-kill-subword, c-transpose-subwords,
	c-capitalize-subword, c-downcase-subword, c-upcase-subword):
	Functions corresponding to the standard word handling functions.

	(c-subword-move-mode): Minor mode that replaces all the standard
	word handling functions with their subword equivalences.

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

	* progmodes/cc-vars.el (c-cleanup-list): Insert a customization
	entry for one-liner-defun.

	* progmodes/cc-defs.el: Give c-tentative-buffer-changes its own
	name in its def-edebug-spec.

	* progmodes/cc-cmds.el (c-electric-brace): Make the
	one-liner-defun clean-up work with empty-defun-braces.  o-l-d now
	compacts space before a comment, if this will make things fit on
	one line.

	Introduce an "awk" style, mainly for auto-newline and clean-ups.

	* progmodes/cc-align.el: new function c-snug-1line-defun-close

	* progmodes/cc-cmds.el: In c-electric-brace, add code for new
	clean-up one-liner-defun.
Kim F. Storm's avatar
Kim F. Storm committed
1471

Alan Mackenzie's avatar
Alan Mackenzie committed
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 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701
	* progmodes/cc-styles.el: Add the new "awk" style.

	* progmodes/cc-vars.el: Add description of one-liner-defun to
	c-cleanup-list's doc-string.  New user options,
	c-max-one-liner-length.  In c-default-style, set the default style
	for AWK to "awk".

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

	* progmodes/cc-engine.el (c-forward-label): Fixed fontification of
	macros inside labels.

	* progmodes/cc-engine.el (c-looking-at-bos): Obsoleted in favor of
	`c-at-statement-start-p' and `c-at-expression-start-p'.

	* progmodes/cc-defs.el (c-tnt-chng-record-state): Don't signal an
	error if the mark isn't set.

	* progmodes/cc-engine.el (c-guess-continued-construct,
	c-guess-basic-syntax): Use `c-forward-decl-or-cast-1' to more
	accurately detect functions inside functions.

	* progmodes/cc-engine.el (c-at-expression-start-p): New function
	like `c-at-statement-start-p' that additionally recognizes commas
	and expression parentheses as delimiters.

	* progmodes/cc-engine.el (c-looking-at-inexpr-block): Added flag
	to avoid heuristics that doesn't work for unclosed blocks.

	(c-at-statement-start-p): New function.

	* progmodes/cc-engine.el, cc-fonts.el: Fixes in handling of
	Objective-C directives, e.g. directives spanning lines should work
	reasonably well now.

	(c-put-c-type-property, c-clear-c-type-property): New helpers.<