ChangeLog 658 KB
Newer Older
1 2 3 4
2005-12-12  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* tooltip.el (tooltip-y-offset): Changed default to 20.

5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
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
27 28 29 30 31 32 33 34
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.

35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
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'.

52 53 54 55
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
56 57 58 59
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
60 61 62 63 64 65 66 67 68 69 70
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.

71 72 73 74
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
75 76 77 78 79 80 81
2005-12-10  Johan Bockg,Ae(Brd  <bojohan@dd.chalmers.se>

	* align.el (align-regexp, align-highlight-rule): Use
	region-beginning and region-end instead of point and mark, so that
	repetition (with `repeat-complex-command') recomputes the region
	bounds.

82
2005-12-10  Lennart Borgman  <lennart.borgman.073@student.lu.se>
83 84 85 86 87 88

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

89 90
2005-12-10  David Koppelman  <koppel@ece.lsu.edu>

91
	* hi-lock.el: (hi-lock-mode) Renamed from hi-lock-buffer-mode;
92 93 94
	react if global-hi-lock-mode seems intended.
	(global-hi-lock-mode) Renamed from hi-lock-mode.
	(hi-lock-archaic-interface-message-used)
95
	(hi-lock-archaic-interface-deduce): New variables.
96 97 98 99 100
	(turn-on-hi-lock-if-enabled, hi-lock-line-face-buffer)
	(hi-lock-face-buffer, hi-lock-face-phrase-buffer)
	(hi-lock-find-patterns, hi-lock-font-lock-hook): Replace
	hi-lock-buffer-mode with hi-lock-mode.

101 102 103 104 105 106 107 108
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.

109 110 111 112
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
113 114
	lines at arbitrary places.  Handle subjects that have "Re: " in
	the middle.
115

116 117 118 119 120
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
121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139
2005-12-10  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* term/mac-win.el: Require url when compiling.  Call
	mac-process-deferred-apple-events after loading init files.
	(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)
	(application-died, show-preferences, autosave-now, get-url): New
	Apple event ID symbols.
	(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.

140 141 142 143 144 145 146 147
2005-12-10  Kenichi Handa  <handa@m17n.org>

	* simple.el (zap-to-char): Translate CHAR by
	translation-table-for-input.

	* isearch.el (isearch-process-search-char): Translate CHAR by
	translation-table-for-input.

148 149 150 151
2005-12-09  Chong Yidong  <cyd@stupidchicken.com>

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

Reiner Steib's avatar
Reiner Steib committed
152 153 154
2005-12-09  Reiner Steib  <Reiner.Steib@gmx.de>

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

159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180
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
181 182 183 184
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
185 186
2005-12-09  David Ponce  <david@dponce.com>

Kim F. Storm's avatar
Kim F. Storm committed
187
	* recentf.el: Improvement of the menu code.
David Ponce's avatar
David Ponce committed
188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222
	(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
223 224 225 226 227 228
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.

229 230 231 232 233
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
234 235 236 237 238
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
239 240
2005-12-09  Nick Roberts  <nickrob@snap.net.nz>

Kim F. Storm's avatar
Kim F. Storm committed
241
	* progmodes/gud.el (gud-speedbar-buttons, gud-tooltip-tips):
Nick Roberts's avatar
Nick Roberts committed
242 243 244
	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
245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 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 351 352 353 354
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
355
	c-hungry-delete-forward permanent key bindings.
Alan Mackenzie's avatar
Alan Mackenzie committed
356 357 358 359 360 361 362 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 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581

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

Alan Mackenzie's avatar
Alan Mackenzie committed
583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 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 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 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 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 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 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 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 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 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 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 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 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 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442
	* 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).

	* progmodes/cc-defs.el (c-point): Added 'bosws and 'eosws.

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

	* progmodes/cc-cmds.el, cc-styles.el, cc-vars.el: New variables
	c-string-par-start/separate c-sentence-end-with-esc-eol,
	initialised in c-setup-paragraph-variables, used in string
	scanning subroutines of c-beginning-of-statement.

	* progmodes/cc-cmds.el (c-electric-brace): don't delete a comment
	which precedes the newly inserted `{'.

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

	* progmodes/cc-engine.el, cc-langs.el: Rewrote the recognition
	function for declaration level blocks.  It should now cope with
	templates better and also be a lot more comprehensible.

	(c-looking-at-decl-block): The new function.

	(c-search-uplist-for-classkey): The old one.  It's now a wrapper
	for compatibility.

	(c-add-class-syntax, c-guess-continued-construct,
	c-guess-basic-syntax): Adapted for `c-looking-at-decl-block'.

	(c-decl-block-key): Changed to tell apart ambiguous and
	unambiguous keywords.  Pike specials are now handled directly in
	the code instead.

	(c-block-prefix-disallowed-chars, c-block-prefix-charset): New
	language constants and variables to make the backward skip in
	`c-looking-at-decl-block' as tight as possible.

	(c-nonsymbol-token-char-list): New language constant.

	* progmodes/cc-engine.el (c-backward-<>-arglist): New function to
	find balanced template arglists backwards.

	* progmodes/cc-defs.el (c-make-bare-char-alt): New helper for
	making char classes for `c-syntactic-skip-backward'.

	* progmodes/cc-engine.el (c-guess-basic-syntax): Simplified case
	16D - can't be a class-close at that point.

	* progmodes/cc-engine.el (c-guess-basic-syntax,
	c-add-class-syntax): Don't narrow out the enclosing declaration
	level.  This makes everything a lot easier, and it was actually
	only four small places that needed it to work.  Some places that
	previously did `widen' are removed now, which has the effect that
	`c-guess-basic-syntax' never will look at things outside the
	current narrowment now.  The anchor position for `topmost-intro'
	is affected by this, but it was so bogus it was basically useless
	before, and now it's equally bogus but in a slightly different
	way.

	(c-narrow-out-enclosing-class): Gone.

	(c-most-enclosing-brace, c-least-enclosing-brace): Don't filter to
	the narrowed region.

	(c-least-enclosing-brace): Removed silly optional argument.

	* progmodes/cc-engine.el (c-beginning-of-decl-1): Fixed bug where
	the point could be left directly after an open paren when finding
	the beginning of the first decl in the block.

	* progmodes/cc-engine.el, cc-fonts.el (c-forward-keyword-clause):
	Specify which submatch to use.

	* progmodes/cc-langs.el (c-symbol-start): Include '@' in ObjC.

	(c-decl-start-re): No no longer any need for special treatment of
	ObjC due to the above.

	(c-other-block-decl-kwds): Handle "extern" in ObjC too since it
	presumably follows C in that regard.

	* progmodes/cc-langs.el (c-identifier-ops, c-after-id-concat-ops):
	New language constants to specify operator tokens inside
	identifiers in a more high level way.

	(c-opt-identifier-prefix-key): New internal language constant.

	(c-opt-identifier-concat-key, c-opt-after-id-concat-key,
	c-identifier-start, c-identifier-key): Now completely calculated
	from other constants.

	(c-identifier-last-sym-match): Decommissioned since it's no longer
	used.

	(c-operators): Use `c-identifier-ops'.  Documented
	`postfix-if-paren'.

	* progmodes/cc-engine.el (c-forward-name): Removed the
	optimization when c-identifier-key is equal to c-symbol-key since
	it doesn't work in byte compiled files.  Don't record empty
	regions as identifiers.

	* progmodes/cc-langs.el (c-filter-ops): New helper function to
	simplify access to `c-operators' and its likes.

	(c-operator-list, c-all-op-syntax-tokens,
	c-nonsymbol-token-regexp, c-<>-multichar-token-regexp,
	c-<-op-cont-regexp, c->-op-cont-regexp, c-expr-kwds,
	c-primary-expr-regexp, c-cast-parens): Use it.

	* progmodes/cc-defs.el (c-lang-const): Fixes to allow use without
	an explicit language in functions.

	* progmodes/cc-defs.el (c-make-keywords-re): Added an appendable
	variant of adornment.

	* progmodes/cc-langs.el (c-any-class-key): Removed unused language
	variable.

	(c-type-decl-prefix-key): Removed some now unnecessary cruft from
	the Pike value.

	* progmodes/cc-engine.el (c-on-identifier,
	c-simple-skip-symbol-backward): Small fix for handling "-"
	correctly in `skip-chars-backward'.  Affected the operator lfun
	syntax in Pike.

	* progmodes/cc-langs.el (c-make-init-lang-vars-fun): Disabled the
	diagnostic message about precompiled language vars not being used.

	* progmodes/cc-langs.el (c-paren-nontype-kwds): The GCC keyword
	"__attribute__" is followed by a parenthesis.

	(c-type-start-kwds, c-prefix-spec-kwds, c-prefix-spec-kwds-re,
	c-specifier-key, c-not-decl-init-keywords): Some cleanup using new
	language constants `c-type-start-kwds' and `c-prefix-spec-kwds'.

	* progmodes/cc-fonts.el, cc-langs.el, cc-engine.el: Internal
	cleanups to properly detect the declared identifiers in various
	declarations.

	(c-decl-start-kwds): New language constant to recognize
	declarations that can start anywhere.  Used for class declarations
	in Pike.

	(c-specifier-key, c-not-decl-init-keywords,
	c-decl-prefix-or-start-re, c-find-decl-prefix-search,
	c-find-decl-spots): Implement `c-decl-start-kwds'.

	(c-other-decl-kwds, c-postfix-decl-spec-kwds, c-decl-hangon-kwds,
	c-decl-hangon-key, c-forward-decl-or-cast-1): Separated the
	handling of the compiler specific extension keywords into a new
	language constant `c-decl-hangon-kwds' that defines keyword
	clauses to be ignored in declarations.

	(c-forward-id-comma-list, c-forward-keyword-clause): Don't skip
	past unrecognized tokens when handling `c-colon-type-list-kwds'.
	Necessary to stop at the declared identifier in e.g. IDL valuetype
	declarations.

	(c-typedef-decl-kwds, c-typeless-decl-kwds, c-type-list-kwds,
	c-prefix-spec-kwds-re, c-postfix-spec-kwds,
	c-after-suffixed-type-decl-key, c-opt-postfix-decl-spec-key,
	c-forward-decl-or-cast-1): Recognize the declared identifier in
	class and enum declarations as such and not as part of the type.

	(c-forward-decl-or-cast-1, c-forward-label): Relaxed the
	interpretation of PRECEDING-TOKEN-END when there's no preceding
	token.

	(c-forward-decl-or-cast-1): Don't disregard sure signs of
	declarations when there's some syntax error later on.

	(c-complex-decl-matchers): Did away with a reference to
	`c-specifier-key'.

	* progmodes/cc-engine.el (c-maybe-labelp): Provide no default
	value - this variable is always dynamically bound.

	* progmodes/cc-engine.el, cc-fonts.el, cc-langs.el, cc-menus.el,
	cc-mode.el, cc-styles.el, cc-vars.el, cc-align.el, cc-awk.el,
	cc-cmds.el, cc-defs.el: Changed the policy for marking up
	functions that might do hidden buffer changes: All such internal
	functions are now marked instead of those that don't.

	(c-beginning-of-macro, c-end-of-macro, c-(forward|backward)-comments,
	c-(forward|backward)-single-comment, c-parse-state, c-on-identifier,
	c-(fast-|slow-|)in-literal, c-literal-limits, c-collect-line-comments,
	c-literal-type): Allow these functions to make hidden buffer changes,
	so that they are free to use text property caching later on.

	(c-electric-backspace, c-electric-delete-forward, c-electric-pound,
	c-electric-brace, c-electric-slash, c-electric-star,
	c-electric-semi&comma, c-electric-colon, c-electric-lt-gt,
	c-electric-paren, c-electric-continued-statement, c-indent-command,
	c-indent-region, c-mask-paragraph, c-indent-new-comment-line,
	c-context-line-break): Added `c-save-buffer-state' calls to comply
	with the changed semantics of the functions above.

	* progmodes/cc-engine.el (c-beginning-of-statement-1): Fixed a bug
	when macros occur in obscure places.  Optimized the sexp movement
	a bit.

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

	Enhancements for c-beginning-of-statement to work in AWK Mode:

	* progmodes/cc-awk.el: Supersede c-awk-NL-prop value `;'
	(completed statement) with `}' (statement completed by closing
	brace or semicolon) and `$' (statement completed by EOL).

	(c-awk-virtual-semicolon-ends-prev-line-p,
	c-awk-virtual-semicolon-ends-line-p,
	c-awk-skip-semantic-ws-forward, c-awk-skip-semantic-ws-backward,
	c-awk-at-statement-end-p): new functions

	* progmodes/cc-cmds.el: Simplify the structure of functions
	c-forward-over-illiterals, c-back-over-illiterals.  Enhance these
	two functions and c-beginning-of-statement to handle AWK Mode.

	* progmodes/cc-engine.el: Enhance c-forward-single-comment,
	c-backward-single-comment for AWK mode.  Attempt to clarify their
	doc-strings.

	* progmodes/cc-mode.el: Put M-a and M-e into awk-mode-map.

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

	* progmodes/cc-engine.el, cc-fonts.el, cc-langs.el: Cleaned up the
	label handling.  Labels are now recognized in a uniform and more
	robust way, regardless of context.  Text properties are put on all
	labels to recognize the following declarations better.  Multiword
	labels are handled both in indentation and fontification for the
	benefit of language extensions like Qt.  For consistency, keywords
	in labels are now fontified with the label face instead.  That
	also applies to "case" and "default".

	(c-beginning-of-statement-1): Fixed some bugs in the label
	handling.  Disregard `c-nonlabel-token-key' in labels that begin
	with `c-label-kwds'.

	(c-find-decl-spots): Support that the callback adds more
	`c-decl-end' spots to find.

	(c-forward-decl-or-cast-1): Don't treat a list of plain
	identifiers followed by a colon as a declaration.

	(c-forward-label): New function to recognize labels.

	(c-guess-basic-syntax): Replaced uses of `c-label-key' with
	`c-forward-label'.  Moved the label recognition cases (14 and 15)
	earlier since they aren't so context sensitive now.  Handle labels
	on the top level gracefully.  Moved access label recognition to
	the generic label case (CASE 15) - removed CASE 5E.

	(c-font-lock-declarations): Added recognition of labels in the
	same round since we need to handle labels in parallell with other
	declarations to recognize both accurately.  It should also improve
	speed.

	(c-simple-decl-matchers, c-basic-matchers-after): Moved
	`c-font-lock-labels' so that it only is used on decoration level 2
	since `c-font-lock-declarations' handles it otherwise.

	(c-complex-decl-matchers): Removed the simplistic recognition of
	access labels.

	(c-decl-prefix-re): Removed the kludges that was necessary to cope
	with labels earlier.

	(c-decl-start-re): New language variable to make
	`c-font-lock-declarations' stop for the special protection labels
	in Objective-C that start with '@'.

	(c-label-key): Removed since it's no longer used.

	(c-recognize-colon-labels, c-label-prefix-re): New language
	constants to support recognition of generic colon-terminated
	labels.

	(c-type-decl-end-used): `c-decl-end' is now used whenever there
	are colon terminated labels.

	* progmodes/cc-align.el (c-lineup-arglist): Fixed bug when the
	first argument starts with a special brace list.

	* progmodes/cc-engine.el, cc-fonts.el (c-forward-decl-or-cast-1,
	c-font-lock-declarations): Broke out the declaration and cast
	recognition from `c-font-lock-declarations' to a new function, so
	that it can be used in the indentation engine.

	* progmodes/cc-engine.el (c-find-decl-spots): Fixed bug in backing
	up to the start of the literal.  Fixed bug with the point on the
	wrong side of the search limit that could happen when the start
	position is inside a literal.

	* progmodes/cc-engine.el (c-parse-state,
	c-invalidate-state-cache): Modified the use of `c-state-cache-end'
	so that it's kept a little bit back to increase the hit rate.

	(c-parse-state): Changed the macro handling and fixed some
	glitches.  Macro context is checked more often than necessary now,
	but otoh less garbage conses are generated.

	* progmodes/cc-engine.el (c-parse-state,
	c-invalidate-state-cache): Cache the last position where
	`c-state-cache' applies.  This can speed up refontification quite
	a bit in blocks where there are many non-brace parens before the
	point.

	(c-state-cache-end): New variable for this.

	(c-guess-basic-syntax, c-debug-parse-state): Adapted for the new
	cache variable.

	* progmodes/cc-engine.el (c-find-decl-spots): Take more care to
	get close initial continue positions when the start position is
	inside a literal or macro.  Do not call the callback for spots
	before the start position (which can happen e.g. for `c-decl-end'
	spots inside comments).  Optimize better in special cases when the
	region is a single line inside a literal or macro (typically when
	the current line is refontified).

	* progmodes/cc-engine.el (c-guess-basic-syntax): Simplified calls
	to `c-add-stmt-syntax' - there's no need to explicitly whack off
	entries from the paren state.

	* progmodes/cc-engine.el (c-add-stmt-syntax): Narrowed down the
	special case for "else if" clauses.

	* progmodes/cc-engine.el (c-looking-at-inexpr-block,
	c-add-stmt-syntax): Use `c-recognize-paren-inexpr-blocks'.

	* progmodes/cc-langs.el (c-recognize-paren-inexpr-blocks): New
	language variable to recognize the gcc extension with statement
	blocks inside expressions.

	* progmodes/cc-engine.el (c-add-stmt-syntax): Restructured to make
	it somewhat more comprehensible.  The argument AT-BLOCK-START is
	no longer used and hence removed.

	(c-guess-continued-construct, c-guess-basic-syntax): Updated calls
	to `c-add-stmt-syntax'.

	* progmodes/cc-engine.el (c-backward-to-decl-anchor): Use
	`c-beginning-of-statement-1' instead of duplicating parts of it.
	This fixes bogus label recognition.

	* progmodes/cc-engine.el (c-add-type, c-check-type,
	c-forward-name, c-forward-type): Improved storage of template
	types in `c-found-types' so that they can be recognized better.

	(c-syntactic-content): Added option to skip past nested parens.

	* progmodes/cc-engine.el (c-forward-name): Set
	`c-last-identifier-range' all the time.  It's less work that way.
	Handle that there might not be an identifier to store in
	`c-last-identifier-range'.

	(c-forward-type): Handle that `c-last-identifier-range' might be
	nil from `c-forward-name'.

	* progmodes/cc-defs.el: (c-safe-scan-lists,
	c-(go-)?(up|down)-list-(forward|backward)): Added limit arguments.

	* progmodes/cc-defs.el (c-save-buffer-state): Use `unwind-protect'
	to work even if the form fails.

	* progmodes/cc-engine.el (c-parse-state): Speedup when moving far
	down in a large file in one go.

	(c-get-fallback-start-pos): New helper function for
	`c-parse-state'.

	* progmodes/cc-align.el (c-lineup-assignments): New lineup
	function which is like `c-lineup-math' but returns nil instead of
	`c-basic-offset' when it doesn't match.

	(c-lineup-math): Changed to use `c-lineup-assignments'.

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

	* progmodes/cc-cmds.el: Fix some bugs in subfunctions of
	c-beginning-of-statement.  New subfunctions
	c-in-comment-line-prefix-p, c-narrow-to-comment-innards.

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

	* progmodes/cc-fonts.el, cc-langs.el: Use `c-simple-ws' instead of
	hardcoded char classes whereever possible.  Changed a couple of
	places to use skip by syntax instead of skip by char class.

	* progmodes/cc-langs.el (c-unterminated-block-comment-regexp):
	Fixed a bug in the regexp that caused extreme backtracking.

	* progmodes/cc-langs.el (c-block-comment-starter,
	c-block-comment-ender): New language constants to specify in a
	single place how block comments look.

	(c-comment-start-regexp, c-block-comment-start-regexp,
	comment-start, comment-end, comment-start-skip,
	c-syntactic-ws-start, c-syntactic-ws-end, c-nonwhite-syntactic-ws,
	c-syntactic-ws, c-nonempty-syntactic-ws,
	c-single-line-syntactic-ws, c-syntactic-eol): Now built from
	`c-line-comment-starter', `c-block-comment-starter' and
	`c-block-comment-ender'.

	(c-block-comment-regexp, c-unterminated-block-comment-regexp): New
	language constants to break up things a bit.

	(c-simple-ws): New language constant for simple whitespace.

	* progmodes/cc-defs.el (c-concat-separated): New convenience
	function.

	* progmodes/cc-defs.el (c-make-keywords-re): Added kludge for bug
	in `regexp-opt' in Emacs 20 and XEmacs when strings contain
	newlines.  Allow and ignore nil elements in the list.

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

	* progmodes/cc-cmds.el: Comment out a (n almost certainly
	superfluous) check, (eq here (point-max)) in
	c-beginning-of-statement.

	* progmodes/cc-cmds.el: Tidy up the comments in
	c-beginning-of-statement and subfunctions.

	* progmodes/cc-awk.el: Replace calls to put-text-property to the
	more flexible c-put-char-property and c-clear-char-properties.
	Add the author's email address.

	* progmodes/cc-langs.el: New variable,
	c-block-comment-start-regexp.

	* progmodes/cc-cmds.el: Fix bug with M-e, when point is inside the
	closing "*/" of a block comment.

	* progmodes/cc-cmds.el: Tidy c-beginning-of-sentence (and
	subfunctions) so that it works at BOB and EOB.

	* progmodes/cc-cmds.el, cc-vars.el: More updating of
	c-beginning-of-statement, including new variable
	c-block-comment-start-regexp.

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

	* progmodes/cc-langs.el (c-known-type-key): Optimize simple
	symbols from `*-font-lock-extra-types' so that there's no need to
	use `regexp-opt' on those lists.

	* progmodes/cc-langs.el (c-type-decl-suffix-key): Fix when
	`c-type-modifier-kwds' is empty.

	* progmodes/cc-fonts.el (c-font-lock-invalid-string): Fix when
	there are several strings on the same line.

	* progmodes/cc-engine.el (c-literal-limits): Removed the
	compatibility function for older emacsen.  `c-literal-limits-fast'
	has now taken the place of this function.

	* progmodes/cc-vars.el (c-emacs-features): Removed compatibility
	with older emacsen: We now require 'pps-extended-state.

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

	* progmodes/cc-cmds.el: New function c-beginning-of-sentence,
	which obviates the need to hack sentence-end.  This now handles
	escaped newlines in strings correctly.  Correct minor bugs in
	c-move-over-sentence and in c-beginning-of-statement.

	* progmodes/cc-cmds.el (c-beginning-of-statement (and
	subfunctions)): Adapt c-\(back\|forward\)-over-illiterals such
	that movement over macros and code are rigorously separated from
	eachother.  Correct a few incidental bugs.

	* progmodes/cc-cmds.el: Restructure c-beginning-of-statement:
	Improve its doc-string.  Improve the handling of certain specific
	cases.

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

	* progmodes/cc-engine.el, cc-fonts.el, cc-langs.el
	(c-guess-basic-syntax): Changed the way class-level labels are
	recognized; they can now contain essentially any symbols.

	(c-opt-extra-label-key): New language variable to cope with the
	special protection label syntax in Objective-C.

	(c-opt-access-key): Removed; this is now handled better by
	`c-nonlabel-token-key' and `c-opt-extra-label-key'.

	(c-complex-decl-matchers): Update to handle that
	`c-opt-access-key' no longer exists.

	* progmodes/cc-engine.el (c-guess-basic-syntax): Make use of the
	improved label recognition in `c-beginning-of-statement-1'.

	* progmodes/cc-engine.el (c-beginning-of-member-init-list):
	Recognize bitfields better.

	* progmodes/cc-engine.el (c-beginning-of-inheritance-list):
	Removed some cruft and fixed a bug that could cause it to go to a
	position further down.

	* progmodes/cc-langs.el, cc-engine.el
	(c-beginning-of-statement-1): Improved detection of labels in
	declaration contexts.

	(c-beginning-of-decl-1): Use it.

	(c-nonlabel-token-key): New language constant and variable needed
	by `c-beginning-of-statement-1'.

	* progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug that
	manifested itself due to the correction in `c-forward-sexp'.

	* progmodes/cc-defs.el (c-forward-sexp, c-backward-sexp): Made
	these behave as documented when used at the buffer limits.

	* progmodes/cc-mode.el, cc-engine.el, cc-langs.el
	(c-type-decl-end-used): Made this a language variable.

	* progmodes/cc-mode.el (c-after-change): Widen the buffer to work
	correctly when `combine-after-change-calls' is used together with
	temporary narrowings.

	* progmodes/cc-engine.el (c-beginning-of-statement-1): Report
	labels correctly when the start point is immediately after the
	colon.

	* progmodes/cc-defs.el (c-parse-sexp-lookup-properties): Removed
	since it isn't used anymore.

	* progmodes/cc-cmds.el (c-electric-lt-gt): Detect and mark angle
	bracket arglists such as template parens in C++.

	* progmodes/cc-engine.el (c-syntactic-skip-backward): Fixed a bug
	in the last check-in.  Some optimization.

	* progmodes/cc-engine.el (c-syntactic-skip-backward): Fixed bug
	where it could stop at the same level in a preceding sexp when
	PAREN-LEVEL is set.

	* progmodes/cc-mode.el (c-basic-common-init): Turn on syntax-table
	text property lookup only when it's needed.

	* progmodes/cc-langs.el, cc-engine.el, cc-fonts.el, cc-mode.el:
	Changed the policy for paren marked angle brackets to be more
	persistent; once marked they remain marked even when they're found
	to be unbalanced in the searched region.  This should keep the
	paren syntax around even when individual lines are refontified in
	multiline template arglists.

	(c-parse-and-markup-<>-arglists): New dynamically bound variable
	to control markup so that incorrect angle bracket arglists aren't
	marked in contexts where the correct value for
	`c-disallow-comma-in-<>-arglists' isn't known.

	(c-forward-<>-arglist, c-forward-<>-arglist-recur): The reparse
	argument has become `c-parse-and-markup-<>-arglists'.

	(c-remove-<>-arglist-properties): Removed - no longer used.

	(c-after-change-check-<>-operators): New function used on
	`after-change-functions' to avoid that "<" and ">" characters that
	are part of longer operators have paren syntax.

	(c-<>-multichar-token-regexp): New language variable used by
	`c-after-change-check-<>-operators'.

	(c-after-change): Call `c-after-change-check-<>-operators'.

	(c-font-lock-<>-arglists): Use the context properties set by
	`c-font-lock-declarations' to set
	`c-disallow-comma-in-<>-arglists' correctly to avoid doing invalid
	markup.

	(c-font-lock-declarations): Removed code that undoes the invalid
	markup done by `c-font-lock-<>-arglists'.

	(c-complex-decl-matchers): `c-font-lock-<>-arglists' now runs
	after `c-font-lock-declarations'.

	* progmodes/cc-engine.el (c-syntactic-skip-backward): Added
	paren-level feature.

	(c-guess-basic-syntax): Improved the anchor position for
	`template-args-cont' in nested template arglists.  There's still
	much to be desired in this area, though.

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

	* progmodes/cc-cmds.el, cc-engine.el, cc-langs.el, cc-vars.el:
	Make the "Text Filling and Line Breaking" commands work for AWK
	buffers.

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

	* progmodes/cc-defs.el, cc-engine.el (c-mode-is-new-awk-p):
	Removed;
	(c-major-mode-is 'awk-mode) can be used instead now.

	* progmodes/cc-mode.el: Always set up AWK mode since emacsen where
	it doesn't work no longer are supported.

	* progmodes/cc-mode.el, cc-styles.el, cc-vars.el, cc-defs.el,
	cc-engine.el, cc-fonts.el, cc-langs.el, cc-cmds.el: CC Mode now
	requires support for the syntax-table' text property, which rules
	out Emacs 19 and XEmacs < 21.4.  Removed various compatibility
	cruft associated with those versions.

	* progmodes/cc-defs.el, cc-fix.el: CC Mode now requires support
	for the `syntax-table' text property, which rules out Emacs 19 and
	XEmacs < 21.4.  Removed various compatibility cruft associated
	with those versions.

	* progmodes/cc-vars.el (c-emacs-features): CC Mode now requires
	support for the `syntax-table' text property.

	* progmodes/cc-fonts.el (c-nonbreakable-space-face): Remove the
	variable and use an extra quoted face name instead.  All the
	emacsen flavors handle that correctly.

	* progmodes/cc-fonts.el (c-font-lock-complex-decl-prepare,
	c-font-lock-declarators, c-font-lock-declarations,
	c-complex-decl-matchers, c-basic-matchers-after): Use a text
	property to mark the items in in declarator lists to handle
	refontification inside multiline declarations better.

	* progmodes/cc-fonts.el (c-font-lock-declarations): Recognize a
	construct like "a * b = c;" as a declaration.

Kim F. Storm's avatar
Kim F. Storm committed
1443 1444
2005-12-08  Kim F. Storm  <storm@cua.dk>

Kim F. Storm's avatar
Kim F. Storm committed
1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458
	* emulation/cua-base.el (cua-use-hyper-key): Replaced by ...
	(cua-rectangle-modifier-key): ... this.  New defcustom.  Can now
	select either meta, hyper, or super modifier for rectangle commands.
	(cua--rectangle-modifier-key): New defvar.
	(cua--M/H-key): Use it.  Remove special case for 'space.
	(cua--init-keymaps): Initialize it from cua-rectangle-modifier-key
	on X, to meta otherwise.  Always bind C-return to toggle
	rectangle.  Pass ?\s instead of 'space to cua--M/H-key.

	* emulation/cua-rect.el (cua-help-for-rectangle): Use
	cua--rectangle-modifier-key.  Handle super modifier too.
	(cua--init-rectangles): Always bind C-return to toggle rectangle.
	Pass ?\s instead of 'space to cua--M/H-key and cua--rect-M/H-key.

Kim F. Storm's avatar
Kim F. Storm committed
1459 1460 1461
	* ido.el: Move Acknowledgements and History after Commentary.
	Minor changes to Commentary.

Kim F. Storm's avatar
Kim F. Storm committed
1462 1463 1464 1465 1466 1467 1468 1469
	* emulation/cua-base.el (cua--select-keymaps): Enable repeat
	keymap if cua--prefix-override-timer equals 'shift.
	(cua--shift-control-prefix): New function; emulate "type prefix
	key twice" functionality to handle shifted prefix key override.
	(cua--shift-control-c-prefix, cua--shift-control-x-prefix): New
	commands.
	(cua--init-keymaps): Bind them to S-C-c and S-C-x.

Carsten Dominik's avatar
Carsten Dominik committed
1470 1471
2005-12-08  Carsten Dominik  <dominik@science.uva.nl>

Luc Teirlinck's avatar
Luc Teirlinck committed
1472
	* textmodes/org.el (org-insert-heading): Try to do items before
Carsten Dominik's avatar
Carsten Dominik committed
1473 1474 1475 1476 1477
	headings.
	(org-agenda-mode): Quote `org-agenda-mode-hook'.
	(org-insert-item): New function.
	(org-renumber-ordered-list): Don't skip to higher level lists.

1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491
2005-12-08  Juri Linkov  <juri@jurta.org>

	* info.el (Info-mode-map): Bind M-TAB to `Info-prev-reference'.

	* button.el (button-buffer-map): Bind M-TAB to `backward-button'.

	* wid-edit.el (widget-keymap): Bind M-TAB to `widget-backward'.

	* pcvs.el (defun-cvs-mode): Put `definition-name' property on
	the constructed function name fun-1.

	* cus-edit.el (custom-add-parent-links): Filter out custom-group-link,
	because such links don't lead to parent documentation.

1492 1493 1494 1495 1496 1497
2005-12-08  Kenichi Handa  <handa@m17n.org>

	* descr-text.el (describe-char): Use *Help-2* buffer if the
	current buffer is *Help*.  Call describe-text-properties while
	setting the original buffer.

1498 1499 1500 1501 1502
2005-12-07  Bill Wohler  <wohler@newt.com>

	* files.el (auto-mode-alist): Remove mh-letter-mode. Unnecessary,
	and causes problems with non-MH users (such as Gnus users).

Nick Roberts's avatar
Nick Roberts committed
1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514
2005-12-08  Nick Roberts  <nickrob@snap.net.nz>

	* progmodes/gdb-ui.el (gdb-find-file-unhook): Delete variable.
	(gdb-set-gud-minor-mode, gdb-set-gud-minor-mode): Delete functions.
	(gdb-set-gud-minor-mode-existing-buffers, gdb-init-2): Use GDB
	command "info sources".  Move calls to GDB command "list".
	(gdb-find-file-hook): Just use gdb-source-file-list.
	(gdb-source-file-regexp): Use regexp for pre-GDB 6.4.
	(gdb-source-file-regexp-1): New regexp for GDB 6.4+ only.
	(gdb-set-gud-minor-mode-existing-buffers-1): Use it.
	(gdb-data-list-register-values-handler): Use correct trigger name.

Kim F. Storm's avatar
Kim F. Storm committed
1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525
2005-12-07  Kim F. Storm  <storm@cua.dk>

	* ido.el (ido-completion-map): Renamed from ido-mode-map.
	(ido-common-completion-map, ido-file-completion-map)
	(ido-file-dir-completion-map, ido-buffer-completion-map):
	Renamed from ido-mode-....-map.
	(ido-init-completion-maps): Renamed from ido-init-mode-maps.
	(ido-setup-completion-map): Renamed from ido-define-mode-map.
	(ido-read-internal): Bind minibuffer-local-filename-completion-map
	to ido-completion-map.

1526 1527 1528 1529 1530 1531 1532
2005-12-07  Kenichi Handa  <handa@m17n.org>

	* international/mule-cmds.el
	(set-display-table-and-terminal-coding-system): If the coding
	system specified in `unibyte-display' property is different from
	the arg coding-system, don't setup standard-display-table.

1533 1534 1535 1536 1537
2005-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/edebug.el (edebug-skip-whitespace): read1:lread.c says
	that comments end at \n, regardless of selective-display.

Nick Roberts's avatar
Nick Roberts committed
1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555
2005-12-07  Nick Roberts  <nickrob@snap.net.nz>

	* progmodes/gdb-ui.el (gdb-error-regexp, gdb-first-post-prompt)
	(gdb-version): New variables.
	(gdb-source-file-list, gdb-register-names)
	(gdb-changed-registers): New variables for use with GDB 6.4+.
	(gdb-ann3): Replace with...
	(gdb-init-1, gdb-init-2): ...two new functions.
	(gdba, gdb-prompt): Call gdb-init-1.
	(gdb-get-version): New function.  Call gdb-init-2 from here.
	(gud-watch): Make it work with mouse events too.
	(gdb-post-prompt): Don't add to queue until GDB version is known.
	(gdb-speedbar-expand-node, gdb-post-prompt, gdb-registers-mode)
	(gdb-locals-mode): Use gdb-version.
	(gdb-memory-format-map, gdb-memory-unit-map)
	(gdb-locals-watch-map): Rename from gdb-*-*-keymap.
	(gdb-locals-font-lock-keywords-1)
	(gdb-locals-font-lock-keywords-2): New variables.
Nick Roberts's avatar
Nick Roberts committed
1556
	(gdb-find-file-hook): Make it work with GDB 6.4+ too.
Nick Roberts's avatar
Nick Roberts committed
1557 1558 1559 1560 1561 1562
	(gdb-set-gud-minor-mode-existing-buffers-1)
	(gdb-var-list-children-1, gdb-var-list-children-handler-1)
	(gdb-var-update-1, gdb-var-update-handler-1)
	(gdb-data-list-register-values-handler)
	(gdb-data-list-register-values-custom)
	(gdb-get-changed-registers, gdb-get-changed-registers-handler)
1563 1564
	(gdb-stack-list-locals-handler, gdb-get-register-names):
	New functions for use with GDB 6.4+.
Nick Roberts's avatar
Nick Roberts committed
1565 1566 1567 1568 1569 1570 1571
	(gdb-locals-watch-map-1): New variable for use with GDB 6.4+.
	(gdb-source-file-regexp, gdb-var-list-children-regexp-1)
	(gdb-var-update-regexp-1, gdb-data-list-register-values-regexp)
	(gdb-stack-list-locals-regexp)
	(gdb-data-list-register-names-regexp): New regexps for use with
	GDB 6.4+.

1572 1573 1574 1575
2005-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/cc-defs.el (c-emacs-features): Don't assume point-min==1.

1576 1577 1578 1579 1580 1581
2005-12-06  Nozomu Ando <nand@mac.com>  (tiny patch)

	* mail/smtpmail.el (smtpmail-try-auth-methods): Make password
	prompts work for AUTH PLAIN.  Also reported by Steve Allan
	<seallan@verizon.net>.

1582 1583 1584 1585
2005-12-06  L$,1 q(Brentey K,Aa(Broly  <lorentey@elte.hu>

	* frame.el (set-frame-parameter): Add doc string.

Carsten Dominik's avatar
Carsten Dominik committed
1586 1587
2005-12-06  Carsten Dominik  <dominik@science.uva.nl>

Luc Teirlinck's avatar
Luc Teirlinck committed
1588
	* textmodes/org.el (org-occur-highlights): New variable.
1589
	(org-highlight-new-match, org-remove-occur-highlights): New functions.
Carsten Dominik's avatar
Carsten Dominik committed
1590 1591 1592 1593 1594 1595 1596 1597 1598
	(org-highlight-sparse-tree-matches): New option.
	(org-do-occur): New function.
	(org-get-heading): Make it work also at beginning of line.
	(org-category-table): New variable.
	(org-get-category-table, org-get-category)
	(org-camel-to-words, org-link-search): New functions.
	(org-select-this-todo-keyword): New variable.
	(org-todo-list): New command.
	(org-shiftright, org-shiftleft): New commands.
1599
	(org-agenda-todo): Add prefix argument.
Carsten Dominik's avatar
Carsten Dominik committed
1600 1601 1602 1603 1604 1605 1606 1607 1608
	(org-show-hierarchy-above): New option.
	(org-show-todo-tree): Numerical prefix creates tree for specific
	TODO keyword.
	(org-outline-level): New function, to assign a level to plain
	lists items.
	(org-cycle-include-plain-lists): New option.
	(org-mode): Use `org-outline-level' as value of `outline-level'.
	(org-cycle): Temporarily switch `outline-regexp' if
	`org-cycle-include-plain-lists' is non-nil.
1609
	(org-start-icalendar-file): Fix format bug.
Carsten Dominik's avatar
Carsten Dominik committed
1610 1611 1612 1613
	(org-agenda-get-day-entries): Create category table.
	(org-agenda-get-todos, org-agenda-get-timestamps)
	(org-agenda-get-deadlines, org-agenda-get-scheduled)
	(org-agenda-get-blocks): Use `org-get-category'.
1614
	(org-context-in-file-links): Rename from
Carsten Dominik's avatar
Carsten Dominik committed
1615 1616
	`org-line-numbers-in-file-links' .

1617 1618
2005-12-06  Romain Francoise  <romain@orebokech.com>

Romain Francoise's avatar
Romain Francoise committed
1619 1620
	* window.el (balance-windows): Delete extraneous third arg in call
	to `enlarge-window'.
1621

1622 1623 1624 1625
2005-12-06  Kenichi Handa  <handa@m17n.org>

	* international/kinsoku.el (kinsoku-longer): Check eolp, not eobp.

Nick Roberts's avatar
Nick Roberts committed
1626 1627 1628 1629 1630 1631 1632 1633
2005-12-06  Nick Roberts  <nickrob@snap.net.nz>

	* progmodes/gdb-ui.el (gdb-var-create-handler)
	(gdb-var-evaluate-expression-handler, gdb-frame-handler)
	(gdb-var-list-children-handler, gdb-var-update-handler):
	Current buffer is already gdb-partial-output-buffer, don't
	make it current again.

Luc Teirlinck's avatar
Luc Teirlinck committed
1634 1635 1636 1637 1638
2005-12-05  Luc Teirlinck  <teirllm@auburn.edu>

	* buff-menu.el (Buffer-menu-use-frame-buffer-list): New user option.
	(list-buffers-noselect): Use it.

1639 1640 1641 1642 1643 1644 1645 1646 1647 1648
2005-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>

	* mail/sendmail.el: Remove unnecessary leading-star in docstrings.
	(mail-yank-ignored-headers): Use regexp-opt.
	(mail-mode-map): Move initialization into declaration.
	(mail-sent-via): Remove unused shadowed var `to-line'.
	(mail-mailer-swallows-blank-line): Use with-temp-buffer.
	(mail-bury, sendmail-send-it, mail-do-fcc): Use with-current-buffer.
	(mail-do-fcc): Use dolist and push.
	(mail-mode-fill-paragraph): Pass the arg to fill-region-as-paragraph.
1649
	(mail-yank-ignored-headers): Don't autoload.
1650

1651 1652
2005-12-05  Kenichi Handa  <handa@m17n.org>

1653
	* international/mule-cmds.el (set-language-info-internal): New fun.
1654 1655 1656 1657 1658 1659 1660
	(set-language-info): Call set-language-info-internal to update
	language-info-alist.  If LANG-ENV is the current one, call
	set-language-environment to make INFO effective now.
	(set-language-info-alist): Likewise.
	(locale-language-names): With locale "en", use English
	lang. env. but set the default codings to iso-8859-1.

Nick Roberts's avatar
Nick Roberts committed
1661 1662 1663 1664 1665 1666 1667
2005-12-04  Nick Roberts  <nickrob@snap.net.nz>

	* progmodes/gdb-ui.el (gdb-use-inferior-io-buffer)
	(gdb-speedbar-auto-raise): Echo new state in minibuffer.
	(gdb-var-create-handler, gdb-assembler-custom): Use search-forward
	for plain strings.
	(gdb-frames-mode): Remove redundant call to font-lock-mode.
1668 1669 1670
	(gdb-all-registers): Rename from toggle-gdb-all-registers.
	Create registers buffer if necessary.  Echo new state in minibuffer.
	(gdb-registers-mode-map, gdb-registers-mode): Use gdb-all-registers.
Nick Roberts's avatar
Nick Roberts committed
1671

1672 1673 1674 1675 1676
2005-12-03  Chong Yidong  <cyd@stupidchicken.com>

	* info.el (Info-fontify-node): Match external links using
	non-directory part of filename.

1677 1678 1679 1680
2005-12-04  Juri Linkov  <juri@jurta.org>

	* font-core.el (global-font-lock-mode): Use define-global-minor-mode
	instead of easy-mmode-define-global-mode.  Add `:group font-lock'.
1681 1682
	(font-lock-mode): Replace `:group font-lock' with `nil nil nil'
	because there is no customization option for it.
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

	* font-lock.el (lisp-font-lock-keywords-1):
	Add define-global-minor-mode.

	* emacs-lisp/autoload.el (make-autoload): Add define-global-minor-mode.

	* emacs-lisp/derived.el (define-derived-mode): Put `definition-name'
	properties on the constructed variable names.

	* emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
	Put `definition-name' properties on the constructed function names
	next-sym and prev-sym.

	* emacs-lisp/find-func.el (find-function-regexp):
	Add define-global-minor-mode.  Replace `easy-mmode-define-global-mode'
	with `easy-mmode-define-[a-z-]+'.  Add easy-menu-define.
	(find-variable-regexp): Add easy-mmode-defmap, easy-mmode-defsyntax
	and easy-menu-define.

	* emacs-lisp/lisp-mode.el: Put `doc-string-elt' property on
	easy-mmode-define-global-mode and define-global-minor-mode.
	(lisp-imenu-generic-expression): Add define-global-minor-mode.

	* progmodes/cwarn.el (global-cwarn-mode): Use define-global-minor-mode
	instead of easy-mmode-define-global-mode.

	* progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
	Use define-minor-mode instead of easy-mmode-define-minor-mode.

	* cus-edit.el (customize-group, customize-group-other-window):
	Filter out autoloaded options from the group completion list by
	using heuristics that autoloaded groups don't have `custom-autoload'
	property on their symbols (they have only `custom-loads').

	* simple.el (completion-setup-function): Put completions-common-part
1718 1719
	face on complete completion string too (i.e. completion string
	without completions-first-difference face).
1720 1721 1722

	* man.el (Man-section-regexp): Add 0-9 to support "3X11" sections.

1723 1724
2005-12-03  Eli Zaretskii  <eliz@gnu.org>

Eli Zaretskii's avatar
Eli Zaretskii committed
1725 1726
	* view.el (view-mode): Doc fix.

Eli Zaretskii's avatar
Eli Zaretskii committed
1727 1728 1729
	* disp-table.el (standard-display-european): Add to the warning
	message a reference to the doc string.

1730 1731 1732
	* play/yow.el (apropos-zippy): Call print-help-return-message,
	similar to other Help and Apropos commands.

1733 1734
	* help.el (print-help-return-message): If pop-up-frames is
	non-nil, set up help-return-method to delete the help window and,
1735 1736
	possibly, its frame as well, and don't display message about
	scrolling the help window.  Doc fix.
1737 1738
	(help-return-method): Doc fix.

1739 1740 1741 1742 1743 1744
2005-12-03  Martin Rudalics  <rudalics@gmx.at>  (tiny change)

	* emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Fix bug
	whereby names of length one or names starting with a
	symbol-constituent character would not be returned.

1745 1746 1747 1748
2005-12-03  Johan Bockg,Ae(Brd  <bojohan@dd.chalmers.se>

	* subr.el (atomic-change-group): Add edebug and indentation spec.

1749 1750 1751 1752
2005-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>

	* completion.el (save-completions-file-name): Fix typo in last change.

1753 1754 1755 1756
2005-12-02  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* info.el: Move back/forward history to the beginning of the tool bar.

Eli Zaretskii's avatar
Eli Zaretskii committed
1757 1758 1759 1760 1761 1762 1763 1764 1765 1766
2005-12-02  Ken Manheimer  <ken.manheimer@gmail.com>

	* allout.el:(eval-when-compile): Remove unnecessary load of 'cl.
	Add fset of allout-real-isearch-abort during compile to fix
	byte-compilation warnings.
	(allout-mode-p): Move definition of this macro above all uses, or
	byte compilation in barren emacs (eg, during emacs build) will
	lack the definition.
	(allout-mode): Move this variable above any uses, or byte
	compilation will fail.
1767
	(allout-resolve-xref): Remove use of personal file-reference function.
Eli Zaretskii's avatar
Eli Zaretskii committed
1768
	(allout-toggle-current-subtree-encryption): Do the current (ie,
1769
	visible containing) topic, rather than nearest around point.  Doc fix.
Eli Zaretskii's avatar
Eli Zaretskii committed
1770 1771 1772 1773 1774
	(allout-toggle-subtree-encryption): New function, workhorse that
	works on nearest topic containing point.
	(allout-encrypt-string): Signal requirement for newer version of pgg.
	(allout-resumptions): Doc fix.

1775 1776 1777 1778
2005-12-02  Eli Zaretskii  <eliz@gnu.org>

	* international/latexenc.el (latex-inputenc-coding-alist): Doc fix.

1779 1780
2005-12-02  Agustin Martin  <agustin.martin@hispalinux.es>

1781 1782
	* textmodes/flyspell.el (flyspell-external-point-words):
	Consider a misspelling as found in the string search if: (a) misspelling
1783 1784 1785 1786 1787 1788
	and found string lengths match, or (b) misspelling is found as
	element in a boundary-chars separated longer string, or (c)
	ispell-program-name is really ispell and misspelling is found as
	part of a TeX string.  After successful match move beginning of
	search region to end of match.  Warn about not found misspellings
	once the process is done.
1789
	(flyspell-large-region): Do not set ispell-parser to tex if in TeX mode.
1790

Nick Roberts's avatar
Nick Roberts committed
1791 1792 1793
2005-12-02  Nick Roberts  <nickrob@snap.net.nz>

	* progmodes/gud.el (gud-menu-map): Put gud-finish back on the
1794
	tool bar (removed inadvertently).
Nick Roberts's avatar
Nick Roberts committed
1795

Nick Roberts's avatar
Nick Roberts committed
1796 1797 1798 1799
2005-12-02  Juri Linkov  <juri@jurta.org>

	* log-view.el (log-view-diff): Clarify doc string.

1800 1801 1802 1803 1804
2005-12-01  Bill Wohler  <wohler@newt.com>

	* Makefile.in (mh-loaddefs.el): Reinsert Change Log as its absence
	triggers lm-verify errors.

Luc Teirlinck's avatar
Luc Teirlinck committed
1805 1806 1807
2005-12-01  Luc Teirlinck  <teirllm@auburn.edu>

	* simple.el (transient-mark-mode, line-number-mode)
1808
	(column-number-mode, size-indication-mode): Remove `:require nil'.
Luc Teirlinck's avatar
Luc Teirlinck committed
1809

Nick Roberts's avatar
Nick Roberts committed
1810 1811 1812 1813 1814 1815 1816 1817 1818
2005-12-01  Nick Roberts  <nickrob@snap.net.nz>

	* progmodes/gdb-ui.el (gdb-ann3): Bind mouse-2 to gdb-mouse-until
	in the margin also.
	(gdb-breakpoints-mode-map): Use D instead of d for
	gdb-delete-breakpoint.
	(gdb-get-frame-number): Require a number to match on.
	(gdb-threads-mode-map): Add follow-link binding.

Jason Rumney's avatar
Jason Rumney committed
1819 1820 1821 1822 1823
2005-11-30  Jason Rumney  <jasonr@gnu.org>

	* isearch.el (isearch-mode-map): Avoid exiting search on
	language-change event.

1824 1825
2005-11-30  Romain Francoise  <romain@orebokech.com>

1826 1827 1828
	* speedbar.el (speedbar-default-position): New defcustom.
	(speedbar-frame-reposition-smartly): Use it.

1829
	* dframe.el (dframe-reposition-frame-emacs): Fix position
1830
	computation for `left' location.
1831 1832
	Update copyright year.

1833 1834
2005-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>

1835 1836
	* help.el (help-map): Move initialization into declaration.

1837 1838
	* emacs-lisp/autoload.el (make-autoload): Handle defgroup specially.

1839 1840 1841 1842
	* help-fns.el (help-argument-name): Don't autoload.
	It's useless and triggers a bug in cus-dep.el causing ldefs-boot
	to be re-loaded when customizing the `help' group.

1843 1844 1845 1846
2005-11-30  John Paul Wallington  <jpw@gnu.org>

	* help-fns.el (describe-function-1): Fill arglist output.

Kim F. Storm's avatar
Kim F. Storm committed
1847 1848
2005-11-30  Kim F. Storm  <storm@cua.dk>

Kim F. Storm's avatar
Kim F. Storm committed
1849 1850 1851 1852
	* emulation/cua-rect.el (cua--rectangle-overlays): Make	permanent-local.
	(cua--rectangle-post-command): Cleanup overlays and deactivate mark
	after revert-buffer (or anything else which kills all local variables).

Kim F. Storm's avatar
Kim F. Storm committed
1853 1854 1855 1856 1857
	* apropos.el (apropos-parse-pattern): Doc fix.
	Set apropos-regexp directly, rather than expecting callers to do so.
	(apropos-command, apropos, apropos-value, apropos-documentation):
	Simplify calls to apropos-parse-pattern.

1858 1859 1860 1861 1862 1863
2005-11-29  Chong Yidong  <cyd@stupidchicken.com>

	* hi-lock.el (hi-lock-line-face-buffer, hi-lock-face-buffer)
	(hi-lock-face-phrase-buffer): Use hi-yellow face.
	(hi-lock-write-interactive-patterns): Use comment-region.

1864 1865 1866 1867 1868 1869 1870
	* longlines.el (longlines-mode): Add mail-setup-hook.

	* mail/mailheader.el, mail/sendmail.el: Revert 2005-11-17 changes.

	* simple.el (sendmail-user-agent-compose, next-line):
	Conditionally use hard-newline.

1871 1872
2005-11-29  Reiner Steib  <Reiner.Steib@gmx.de>

1873 1874
	* international/latexenc.el (latex-inputenc-coding-alist):
	Reword doc string.
1875

1876 1877 1878 1879 1880
2005-11-29  Chong Yidong  <cyd@stupidchicken.com>

	* help.el (describe-key-briefly, describe-key): Recognize default
	bindings.

1881 1882 1883 1884 1885
2005-11-29  Romain Francoise  <romain@orebokech.com>

	* view.el (view-inhibit-help-message): New defcustom.
	(view-mode-enter): Use it.

1886
2005-11-29  Michael Kifer  <kifer@cs.stonybrook.edu>
1887

1888
	* ediff-wind (ediff-setup-control-frame, ediff-make-wide-display):
1889
	Preserve user position.
1890

Luc Teirlinck's avatar
Luc Teirlinck committed
1891 1892
2005-11-28  Luc Teirlinck  <teirllm@auburn.edu>

Luc Teirlinck's avatar
Luc Teirlinck committed
1893 1894 1895
	* font-lock.el: Throw error if facemenu is not loaded to prevent
	accidental change of loading order in loadup.el.  (Suggested by RMS.)

Luc Teirlinck's avatar
Luc Teirlinck committed
1896 1897 1898
	* loadup.el: Add comment explaining why facemenu must be loaded
	before font-lock.

Jay Belanger's avatar
Jay Belanger committed
1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909
2005-11-28  Jay Belanger  <belanger@truman.edu>

	* calc/calc.el: Change global keybinding for calc-dispatch to "\C-x*".
	(calc-dispatch-map): Add more keys for `calc-same-interface'.

	* calc/calc-misc.el (calc-dispatch-help): Update docstring.

	* calc/calc-embed.el (calc-do-embedded): Update help message.

	* calc/calc-prog.el (calc-user-define-invokation): Update help message.

1910 1911
2005-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>

1912 1913
	* log-edit.el (log-edit-insert-cvs-rcstemplate): Ignore stderr.

1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924
	* emacs-lisp/elp.el (elp-not-profilable): Replace interactive-p with
	called-interactively-p.
	(elp-profilable-p): Rename from elp-not-profilable-p.
	Invert result and take into account macros and autoloaded functions.
	(elp-instrument-function): Update call.
	(elp-instrument-package): Update call.  Add completion.
	(elp-pack-number): Use match-string.
	(elp-results-jump-to-definition-by-mouse): Merge into
	elp-results-jump-to-definition and then remove.
	(elp-output-insert-symname): Make help echo text single-line.

1925 1926 1927 1928 1929
	* replace.el (query-replace-map): Move initialization into declaration.
	(occur-engine): Use with-current-buffer.
	(occur-mode-goto-occurrence): Make it work for mouse-clicks as well.
	(occur-mode-mouse-goto): Replace with an alias.

1930 1931 1932 1933
2005-11-28  Juri Linkov  <juri@jurta.org>

	* simple.el (quoted-insert): Let-bind input-method-function to nil.

Juri Linkov's avatar
Juri Linkov committed
1934 1935 1936 1937 1938
	* term/w32-win.el: Bind [S-tab] to [backtab].

	* info.el (Info-fontify-node): Set 2nd arg `noerror' of
	`Info-find-file' to t.

1939 1940 1941 1942 1943
	* replace.el (occur-mode-mouse-goto): Pop, don't switch.
	(occur-mode-goto-occurrence): Let-bind same-window-buffer-names
	and same-window-regexps.
	(occur-next-error): Don't move point for arg 0.

1944 1945 1946 1947
2005-11-28  Chong Yidong  <cyd@stupidchicken.com>

	* replace.el (occur-mode-goto-occurrence): Pop, don't switch.

1948 1949
2005-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>

Stefan Monnier's avatar
Stefan Monnier committed
1950 1951 1952 1953 1954 1955
	* log-edit.el (log-edit-changelog-use-first): New var.
	(log-edit-changelog-ours-p): Use it.
	(log-edit-insert-changelog): Set it with new arg `use-first'.
	(log-edit-insert-cvs-rcstemplate, log-edit-insert-filenames): New funs.
	(log-edit-hook): Add them to the list of suggested options.

1956 1957 1958 1959 1960 1961 1962 1963 1964 1965
	* textmodes/flyspell.el (flyspell-last-buffer): New var.
	(flyspell-accept-buffer-local-defs): Use it to avoid doing silly
	redundant work.
	(flyspell-mode-on): Use add-hook for after-change-functions.
	(flyspell-mode-off): Use remove-hook for after-change-functions.
	(flyspell-changes): Make it buffer-local.
	(flyspell-after-change-function): Make it non-interactive.  Use push.
	(flyspell-post-command-hook): Check input-pending-p while processing
	the potentially long list of buffer changes.

1966 1967 1968 1969 1970
2005-11-28  L$,1 q(Brentey K,Aa(Broly  <lorentey@elte.hu>

	* buff-menu.el (list-buffers-noselect): Display the selected
	frame's buffer list, not the global one.

Nick Roberts's avatar
Nick Roberts committed
1971 1972 1973 1974 1975
2005-11-28  Nick Roberts  <nickrob@snap.net.nz>

	* xt-mouse.el (xterm-mouse-event): Set last-input-event so
	that (list last-input-event) works as in interactive spec.