ChangeLog 694 KB
Newer Older
1 2
2005-12-30  Richard M. Stallman  <rms@gnu.org>

3 4
	* custom.el (custom-load-themes): Function deleted.

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

8 9
2005-12-30  Stefan Monnier  <monnier@iro.umontreal.ca>

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

12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
	* 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.

28 29 30 31 32 33 34 35 36 37 38
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
39 40
2005-12-30  Andreas Schwab  <schwab@suse.de>

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

Eli Zaretskii's avatar
Eli Zaretskii committed
43 44 45 46
2005-12-30  Eli Zaretskii  <eliz@gnu.org>

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

Juri Linkov's avatar
Juri Linkov committed
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
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.

65 66 67 68 69
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
70 71 72 73
2005-12-29  Luc Teirlinck  <teirllm@auburn.edu>

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

74 75 76 77 78
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.

79 80 81 82 83
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)
84
	(bibtex-search-entry, bibtex-enclosing-entry-maybe-empty-head): Remove.
85 86
	(bibtex-any-valid-entry-type): New variable.
	(bibtex-parse-field-name): Simplify.
87
	(bibtex-parse-string, bibtex-search-forward-string): New arg empty-key.
88
	(bibtex-preamble-prefix): Include left delimiter.
89 90
	(bibtex-search-forward-field, bibtex-search-backward-field):
	Allow unbounded search past entry boundaries (required by bibtex-pop).
91 92 93 94 95 96 97 98 99 100 101 102 103 104
	(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.
105 106
	(bibtex-print-help-message): New args field and comma.
	Handle entry keys.
107 108 109 110 111 112 113 114 115 116 117 118 119 120
	(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.
121
	(bibtex-convert-alien): Do not wait before calling bibtex-validate.
122 123
	(bibtex-complete): Use bibtex-parse-preamble.

Nick Roberts's avatar
Nick Roberts committed
124 125 126 127 128 129 130 131 132 133 134
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..

135 136
2005-12-28  Bill Wohler  <wohler@newt.com>

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

139 140
2005-12-28  Stefan Monnier  <monnier@iro.umontreal.ca>

141 142 143 144 145 146 147 148 149 150
	* 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.

151 152 153 154 155 156 157 158
	* 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
159 160 161 162 163 164 165 166 167
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.

168 169
2005-12-05  Ralf Angeli  <angeli@iwi.uni-sb.de>

170 171
	* mail/smtpmail.el (smtpmail-try-auth-methods):
	Send credentials together with "AUTH PLAIN" command.
172

173 174 175 176 177 178 179
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
180 181 182 183 184 185 186 187 188 189 190 191 192

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

193 194
2005-12-27  Richard M. Stallman  <rms@gnu.org>

195 196
	* progmodes/glasses.el (glasses-face): More specific custom type.

197 198
	* files.el (set-visited-file-name): Doc fix.

199 200 201 202 203 204 205 206 207
	* 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.

208
2005-12-27  Nick Roberts  <nickrob@snap.net.nz>
Juri Linkov's avatar
Juri Linkov committed
209 210 211 212 213 214 215

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

216
2005-12-27  Juri Linkov  <juri@jurta.org>
Nick Roberts's avatar
Nick Roberts committed
217 218

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

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

224 225 226 227
2005-12-27  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

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

228 229
2005-12-26  Richard M. Stallman  <rms@gnu.org>

230 231 232
	* replace.el (perform-replace): Calculate match-again
	before skipping read-only matches.

233 234 235 236 237 238 239
	* 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'.

240 241 242
	* apropos.el (apropos, apropos-value): Doc fix.
	(apropos-documentation): Doc fix.

243 244 245 246 247 248 249
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.

250
2005-12-26  Nick Roberts  <nickrob@snap.net.nz>
Nick Roberts's avatar
Nick Roberts committed
251 252 253 254 255

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

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

Juri Linkov's avatar
Juri Linkov committed
258 259 260
	* 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
261 262
	Use `help-info' for second.
	(describe-property-list): Use `help-argument-name' instead of `italic'.
Juri Linkov's avatar
Juri Linkov committed
263 264 265 266
	(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
267

268 269
2005-12-25  Richard M. Stallman  <rms@gnu.org>

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

273 274 275 276
	* progmodes/delphi.el (delphi-other-face): Allow nil in type.

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

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

279 280 281 282 283
2005-12-25  Romain Francoise  <romain@orebokech.com>

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

284 285 286 287
2005-12-24  Chong Yidong  <cyd@stupidchicken.com>

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

288 289
	* cus-edit.el (custom-variable-set, custom-variable-save)
	(custom-variable-save): Custom-quote widget values.
290 291
	(customize-save-variable): Fix custom-push-theme call.

292 293 294 295
2005-12-24  Eli Zaretskii  <eliz@gnu.org>

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

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

300 301 302 303 304 305 306 307 308 309
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.
310 311
	(custom-variable-state-set, custom-face-state-set):
	Check theme-value instead of saved-value.
312
	(custom-variable-reset-standard, custom-face-reset-standard):
313
	Remove theme setting entirely.  Recalculate new values.
314 315 316 317
	(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.
318

319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350
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'.

351 352 353 354
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
355 356 357 358 359 360 361 362 363 364 365 366
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.

367 368 369 370 371 372 373 374 375 376 377 378
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.

379 380 381 382 383 384 385
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.

386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405
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
406 407 408 409 410 411 412 413 414 415 416 417
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.

418
2005-12-22  Richard M. Stallman  <rms@gnu.org>
419

420 421 422 423 424
	* 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.
425 426 427 428 429
	(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.
430 431 432 433
	(custom-reset-menu, custom-magic-alist, Custom-mode-menu):
	Say "standard values".
	(Custom-reset-standard): Doc fix.
	(custom-face-reset-standard): Doc fix.
434

435 436 437 438 439 440 441 442 443 444
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.

445 446 447 448 449
2005-12-22  Katsumi Yamaoka  <yamaoka@jpl.org>

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

450 451
2005-12-21  Stefan Monnier  <monnier@iro.umontreal.ca>

452 453 454 455
	* 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.

456 457 458 459
	* 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
460 461 462 463
2005-12-21  Luc Teirlinck  <teirllm@auburn.edu>

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

464 465 466 467 468
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
469 470
2005-12-22  Nick Roberts  <nickrob@snap.net.nz>

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

474 475 476 477 478 479
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
480 481 482 483 484 485 486 487 488 489
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
490 491 492 493 494
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
495 496
2005-12-20  Nick Roberts  <nickrob@snap.net.nz>

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

501 502 503 504 505 506 507 508 509 510
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.
511
	(org-tags-completion-function): Use also "&" and "|" as separators.
512 513
	(org-org-menu): Agenda commands simplified.

Luc Teirlinck's avatar
Luc Teirlinck committed
514 515 516 517 518 519 520
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.

521 522 523 524 525 526
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
527 528 529 530 531 532 533 534 535 536 537 538 539 540 541
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'.

542 543 544 545 546 547 548 549
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 (...) ...) ...).

550 551
2005-12-17  Chong Yidong  <cyd@stupidchicken.com>

552
	* progmodes/sh-script.el (sh-mode):
553 554 555
	* 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
556 557 558 559 560 561 562 563 564
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.

565 566
2005-12-17  Chong Yidong  <cyd@stupidchicken.com>

567 568
	* emacs-lisp/edebug.el (edebug-safe-prin1-to-string):
	Capture error from printing circular structures.
569

570 571 572 573
2005-12-17  Martin Rudalics  <rudalics@gmx.at>  (tiny change)

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

574 575 576 577 578
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.

579 580 581 582 583
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
584 585 586 587 588 589 590 591
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.
592 593
	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
594 595 596
	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.
597 598
	Add condition to put completions-common-part when
	common-string-length>0.
Juri Linkov's avatar
Juri Linkov committed
599 600 601 602 603 604 605 606 607 608 609 610

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

611 612 613 614 615 616
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
617 618
2005-12-16  Carsten Dominik  <dominik@science.uva.nl>

Carsten Dominik's avatar
Carsten Dominik committed
619
	* textmodes/org.el: (org-tags-match-list-sublevels): New option.
620
	(org-open-at-point): Implement tag searches as links.
Carsten Dominik's avatar
Carsten Dominik committed
621
	(org-fit-agenda-window, org-get-buffer-tags, org-get-tags)
622
	(org-make-tags-matcher, org-scan-tags, org-activate-tags): New funs.
Carsten Dominik's avatar
Carsten Dominik committed
623 624 625 626 627 628 629
	(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.
630
	(org-set-font-lock-defaults): Make sure links will also be
Carsten Dominik's avatar
Carsten Dominik committed
631
	highlighted inside headlines.
Carsten Dominik's avatar
Carsten Dominik committed
632

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

635 636
	* term.el (term-emulate-terminal):
	Let term-handle-ansi-terminal-messages override what Bash says about
Eli Zaretskii's avatar
Eli Zaretskii committed
637 638
	its current directory.

639 640 641 642 643 644 645 646
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'.

647
	* menu-bar.el (menu-bar-update-buffers): Update uses of `prev-buffer'.
648 649
	* bindings.el (global-map): Ditto.

Luc Teirlinck's avatar
Luc Teirlinck committed
650 651 652 653 654
2005-12-15  Luc Teirlinck  <teirllm@auburn.edu>

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

655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680
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
681 682
2005-12-16  Nick Roberts  <nickrob@snap.net.nz>

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

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

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

Romain Francoise's avatar
Romain Francoise committed
691 692 693 694
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
695

696 697 698 699 700
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
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 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758
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.

759 760 761 762 763 764
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.

765 766
2005-12-14  Juri Linkov  <juri@jurta.org>

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

769 770 771
	* isearch.el (isearch-query-replace): Use (mark) instead of
	isearch-opoint if mark is active in transient-mark-mode.

772 773 774 775
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
776 777 778 779 780
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.

781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798
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.

799 800 801 802 803 804 805
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.

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

808
	* menu-bar.el (menu-bar-showhide-fringe-menu): Move "On the Right"
809 810
	so it comes after "On the Left" in the menu.

Luc Teirlinck's avatar
Luc Teirlinck committed
811 812 813 814 815
2005-12-12  Luc Teirlinck  <teirllm@auburn.edu>

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

816 817 818 819
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
820
	configuration before calling vc-do-command.  vc-do-command calls
821 822
	pop-to-buffer on error which is unexpected during registration.

823 824 825 826
2005-12-12  Jay Belanger  <belanger@truman.edu>

	* calc/README: Update the summary of changes.

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

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

849
	* tooltip.el (tooltip-y-offset): Change default to 20.
850

851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872
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
873 874 875 876 877 878 879 880
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.

881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897
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'.

898 899 900 901
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
902 903 904 905
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
906 907 908 909 910 911 912 913 914 915 916
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.

917 918 919 920
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
921 922
2005-12-10  Johan Bockg,Ae(Brd  <bojohan@dd.chalmers.se>

923 924
	* 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
925 926 927
	repetition (with `repeat-complex-command') recomputes the region
	bounds.

928
2005-12-10  Lennart Borgman  <lennart.borgman.073@student.lu.se>
929 930 931 932 933 934

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

935 936
2005-12-10  David Koppelman  <koppel@ece.lsu.edu>

937
	* hi-lock.el: (hi-lock-mode) Renamed from hi-lock-buffer-mode;
938 939 940
	react if global-hi-lock-mode seems intended.
	(global-hi-lock-mode) Renamed from hi-lock-mode.
	(hi-lock-archaic-interface-message-used)
941
	(hi-lock-archaic-interface-deduce): New variables.
942 943
	(turn-on-hi-lock-if-enabled, hi-lock-line-face-buffer)
	(hi-lock-face-buffer, hi-lock-face-phrase-buffer)
944 945
	(hi-lock-find-patterns, hi-lock-font-lock-hook):
	Replace hi-lock-buffer-mode with hi-lock-mode.
946

947 948 949 950 951 952 953 954
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.

955 956 957 958
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
959 960
	lines at arbitrary places.  Handle subjects that have "Re: " in
	the middle.
961

962 963 964 965 966
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
967 968
2005-12-10  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

969 970
	* 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
971 972 973 974
	(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)
975 976
	(application-died, show-preferences, autosave-now, get-url):
	New Apple event ID symbols.
YAMAMOTO Mitsuharu's avatar
YAMAMOTO Mitsuharu committed
977 978 979 980 981 982 983 984 985
	(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.

986 987
2005-12-10  Kenichi Handa  <handa@m17n.org>

988
	* simple.el (zap-to-char):
989 990 991
	* isearch.el (isearch-process-search-char): Translate CHAR by
	translation-table-for-input.

992 993 994 995
2005-12-09  Chong Yidong  <cyd@stupidchicken.com>

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

Reiner Steib's avatar
Reiner Steib committed
996 997 998
2005-12-09  Reiner Steib  <Reiner.Steib@gmx.de>

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

1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024
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
1025 1026 1027 1028
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
1029 1030
2005-12-09  David Ponce  <david@dponce.com>

Kim F. Storm's avatar
Kim F. Storm committed
1031
	* recentf.el: Improvement of the menu code.
David Ponce's avatar
David Ponce committed
1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066
	(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
1067 1068 1069 1070 1071 1072
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.

1073 1074 1075 1076 1077
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
1078 1079 1080 1081 1082
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
1083 1084
2005-12-09  Nick Roberts  <nickrob@snap.net.nz>

Kim F. Storm's avatar
Kim F. Storm committed
1085
	* progmodes/gud.el (gud-speedbar-buttons, gud-tooltip-tips):
Nick Roberts's avatar
Nick Roberts committed
1086 1087 1088
	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
1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 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
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
1199
	c-hungry-delete-forward permanent key bindings.
Alan Mackenzie's avatar
Alan Mackenzie committed
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 1244 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

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

Alan Mackenzie's avatar
Alan Mackenzie committed
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 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
	* 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.

	(c-forward-objc-directive): New function to move over any ObjC
	directive.

	(c-just-after-func-arglist-p, c-guess-basic-syntax,
	c-basic-matchers-before): Use it.

	(c-font-lock-objc-iip-decl): Removed.

	* progmodes/cc-engine.el (c-guess-basic-syntax): Some improvement
	in the template arglist recognition.

	* progmodes/cc-styles.el (c-style-alist): Fixed several
	inconsistencies in the Whitesmith style.

	* progmodes/cc-align.el (c-lineup-after-whitesmith-blocks): New
	lineup function to get lines after Whitesmith style blocks
	correctly indented.

	(c-lineup-whitesmith-in-block): Backed out the compensation for
	opening parens since it's done using `add' lists in the style
	definition instead.  Don't use the anchor position since it varies
	too much between the syntactic symbols. :P

	* progmodes/cc-vars.el (c-valid-offset): Updated.

	* progmodes/cc-engine.el (c-evaluate-offset): Extended to handle
	lists where the offsets are combined according to several
	different methods: `first', `min', `max', and `add'.  Report
	offset evaluation errors with `c-benign-error' so that some kind
	of reindentation still is done.

	* progmodes/cc-engine.el (c-guess-basic-syntax): Anchor
	`arglist-intro' the same way as `arglist-cont-nonempty' and
	`arglist-close'.

	* progmodes/cc-engine.el (c-guess-basic-syntax): Fixed similar
	situations for `arglist-cont-nonempty' and `arglist-close'.

	* progmodes/cc-langs.el (c-opt-identifier-concat-key-depth): New
	constant.

	* progmodes/cc-defs.el: Use `cc-bytecomp-fboundp' and
	cc-bytecomp-boundp' in a number of places.

	* progmodes/cc-engine.el (c-beginning-of-statement-1): Fixed a
	macro related issue.

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

	* progmodes/cc-awk.el: Change the terminology of regexps: A char
	list is now
	[asdf], a char class [:alpha:].  Include code for char classes.
	Set c-awk-NL-prop on lines ending in open strings.  (Bug fix.)
	Add character classes (e.g. "[:alpha:]") into AWK Mode's regexps.

	Remove (nearly all of) the cruft associated with AWK Mode's former
	concept of "virtual semicolons":

	Adapt c-beginning-of-statement, c-end-of-statement (together with
	subfunctions) to use the new notion of "virtual semicolon" in
	place of the old awkward special handling for AWK.  There remains
	much cruft in cc-awk.el, cc-cmds.el and cc-engine.el to clear out.
	* progmodes/cc-cmds.el:
	(c-ascertain-adjacent-literal): In the backwards direction, now
	recognises AWK regexp delimiters as string delimiters.
	(c-after-statement-terminator-p): Adapt for virtual semicolons;
	check more rigorously for "end of macro".
	(c-back-over-illiterals, c-forward-over-illiterals): Adapt for
	virtual semicolons;
	(c-beginning-of-statement): Adapt for virtual semicolons; Separate
	out the code for forward movement into ...
	(c-end-of-statement): Now contains the code for forward movement,
	adapted for virtual semicolons.

	* progmodes/cc-engine.el:
	(c-ws*-string-limit-regexp): new regexp.
	(c-forward-single-comment, c-backward-single-comment): Comment out
	the (now redundant) "special" AWK stuff.

	* progmodes/cc-styles.el, cc-vars.el: Change the settings of
	c-string-par-start, c-string-par-separate to be more like Text
	Mode than Fundamental Mode.

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

	* progmodes/cc-fonts.el (c-font-lock-declarations): Always narrow
	to the fontified region so that fontification doesn't occur
	outside it
	(could happen e.g. when fontifying a line with an unfinished
	declaration).

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

	* progmodes/cc-awk.el: Regexps for analysing AWK code have been
	moved to near the start of the file.  ^L now separate sections of
	the file.  New defconsts: c-awk-non-eol-esc-pair-re,
	c-awk-blank-or-comment-line-re,
	c-awk-one-line-possibly-open-string-re,
	c-awk-regexp-one-line-possibly-open-char-class-re,
	c-awk-one-line-possibly-open-regexp-re,
	c-awk-one-line-non-syn-ws*-re.  New functions: c-awk-at-vsemi-p,
	c-awk-vsemi-status-unknown-p.

	Amend the concept of "virtual semicolons" (in the indentation
	engine) for languages like AWK, such that they are now
	conceptually attached to end of the last token of a statement, not
	the end of the line.  (In AWK Mode, however, the pertinent text
	property is still physically set on the EOL.)  Remove the specific
	tests for awk-mode, thus facilitating the introduction of other
	language modes where EOLs can end statements.  (Note: The
	funtionality in cc-cmds.el, specifically
	c-beginning/end-of-statement has yet to be amended.)

	* progmodes/cc-defs.el: New macros c-at-vsemi-p,
	c-vsemi-status-unknown-p.

	* progmodes/cc-langs.el: Added `#' into AWK Mode's value of
	c-stmt-delim-chars.  New c-lang-defvars: c-at-vsemi-p-fn,
	c-vsemi-status-unknown-p-fn (in a new page).

	* progmodes/cc-engine.el: In c-beginning-of-statement-1,
	c-crosses-statement-barrier-p, c-guess-basic-syntax, replace
	numerous awkward forms like
	(if (c-major-mode-is 'awk-mode) (c-awk-prev-line-incomplete-p))
	with
	(c-at-vsemi-p).  Fix a few typos.  In c-guess-basic-syntax, new
	variable before-ws-ip, the place just after char-before-ip
	appears.

	* progmodes/cc-mode.el: Fix what's almost a semantic ambiguity in
	a comment.

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

	* progmodes/cc-cmds.el (c-electric-brace): Cleaned up using
	`c-tentative-buffer-changes'.

	* progmodes/cc-defs.el (c-region-is-active-p): Simplified and
	converted to macro to choose between Emacs and XEmacs at compile
	time.

	(c-set-region-active): New set counterpart to
	`c-region-is-active-p'.

	(c-tentative-buffer-changes): New macro to handle temporary buffer
	changes in a convenient way.

	(c-tnt-chng-record-state, c-tnt-chng-cleanup): Internal helpers
	for `c-tentative-buffer-changes'.

	* progmodes/cc-engine.el (c-looking-at-inexpr-block): Tightened up
	the checks for paren sexps between the point and the keyword, to
	avoid some false alarms.

	* progmodes/cc-engine.el, cc-langs.el (c-looking-at-inexpr-block):
	Fixed a situation where an error could be thrown for unbalanced
	parens.  Changed to make use of c-keyword-member' to avoid some
	repeated regexp matches.

	(c-opt-lambda-key, c-opt-inexpr-block-key,
	c-opt-inexpr-class-key): These language variable are no longer
	necessary.

	(c-block-stmt-kwds): New language constant used by
	c-looking-at-inexpr-block'.

	(c-guess-basic-syntax): Removed an optional check that looked at
	the existence of the now removed language variables.

	* progmodes/cc-engine.el (c-fdoc-shift-type-backward,
	c-forward-decl-or-cast-1): Fixed invalid recognition of C++ style
	object instantiation expressions as declarations in some contexts.
	This bug only affected languages where the declarator can't be
	enclosed in parentheses.

	* progmodes/cc-styles.el (c-style-alist): Fixed the GNU style to
	insert newlines before and after substatement braces.

	* progmodes/cc-engine.el: Improved the heuristics for recognizing
	function declaration headers and the handling of C++ style member
	init lists.

	(c-just-after-func-arglist-p): Rewritten to use
	`c-forward-decl-or-cast-1'.  Now behaves a bit differently too.

	(c-beginning-of-member-init-list): Removed since it isn't used
	anymore.

	(c-guess-basic-syntax): Case 5B adapted for the new
	`c-just-after-func-arglist-p'.  Cases 5B.1 and 5B.3 merged.  Cases
	5D.1 and 5D.2 removed since they aren't trigged anymore (case 5B.1
	covers all cases now).

Richard M. Stallman's avatar
Richard M. Stallman committed
1657
	* progmodes/cc-defs.el (c-point): Added `bosws' and `eosws'.
Alan Mackenzie's avatar
Alan Mackenzie committed
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 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718