Commit ac9f37df authored by Alan Mackenzie's avatar Alan Mackenzie
Browse files

*** empty log message ***

parent 6bb6da3e
2006-05-24 Alan Mackenzie <acm@muc.de>
* startup.el (command-line): For names of preloaded files, don't
append ".elc" (now done in Fload), and call file-truename on the
lisp directory.
* subr.el (eval-after-load): Fix the doc-string. Allow FILE to
match ANY loaded file with the right name, not just those in
load-path. Put a regexp matching the file name into
after-load-alist, rather than the name itself.
* subr.el: New functions load-history-regexp,
load-history-filename-element, do-after-load-evaluation.
* international/mule.el (load-with-code-conversion): Do the
eval-after-load stuff by calling do-after-load-evaluation.
2006-05-25 Nick Roberts <nickrob@snap.net.nz>
 
* progmodes/gud.el (gud-sentinel): Condition on GUD buffer if it
......@@ -925,7 +942,12 @@
than alias `list-diary-entries'.
 
2006-04-29 Dan Nicolaescu <dann@ics.uci.edu>
>>>>>>> 1.9511
 
<<<<<<< ChangeLog
* jit-lock.el (jit-lock-function): Check jit-lock-defer-timer is
active before setting 'fontified to 'defer.
=======
* help-fns.el (describe-variable): Add info about safe local variables.
 
2006-04-29 Richard Stallman <rms@gnu.org>
......@@ -2184,6 +2206,7 @@
 
* term/w32-win.el (mouse-set-font):
Mention w32-list-proportional-fonts in the doc string.
>>>>>>> 1.9511
 
2006-03-18 Kim F. Storm <storm@cua.dk>
 
......@@ -2191,8 +2214,8 @@
(ido-unc-hosts): New user option to explicitly define list of know
UNC-style hosts for completion.
(ido-cache-unc-host-shares-time): New user option.
(ido-is-unc-root, ido-is-unc-host, ido-cache-unc-valid):
New helper functions for UNC file-name support.
(ido-is-unc-root, ido-is-unc-host, ido-cache-unc-valid): New
helper functions for UNC file-name support.
(ido-may-cache-directory): Check for UNC host. Simplify.
(ido-wash-history): Clean out old UNC hosts.
(ido-nonreadable-directory-p): UNC hosts are always readable.
......@@ -2250,7 +2273,7 @@
(gdb-force-mode-line-update): New function.
(gdb-resync, gdb-starting, gdb-signal, gdb-exited, gdb-stopped)
(gdb-exited): Use them.
(gdb-signal): New function.
(gdb-signal): New fuction.
(gdb-annotation-rules): Provide a rule for it.
 
2006-03-16 Kenichi Handa <handa@m17n.org>
......@@ -2286,7 +2309,7 @@
2006-03-15 Bill Wohler <wohler@newt.com>
 
* image.el (image-load-path-for-library): Fix example by not
recommending that one binds image-load-path. Just defvar it to
recommending that one binds image-load-path. Just defvar it to
placate compiler and only use it if previously defined.
 
2006-03-15 Carsten Dominik <dominik@science.uva.nl>
......@@ -2327,8 +2350,8 @@
 
* progmodes/gdb-ui.el (gdb-var-list): Change order of first two
elements.
(gdb-find-watch-expression): Make it work for arrays too.
Follow change to gdb-var-list.
(gdb-find-watch-expression): Make it work for arrays too. Follow
change to gdb-var-list.
(gud-watch): Allow the user to enter variable name with a prexix
arg. Create keybindings.
(gdb-var-create-handler, gdb-var-evaluate-expression-handler)
......@@ -2336,7 +2359,8 @@
(gdb-var-delete, gdb-edit-value, gdb-speedbar-expand-node)
(gdb-var-list-children-handler-1, gdb-var-update-handler-1):
Follow change to gdb-var-list.
(gdb-starting): Don't show the overlay arrows when program is running.
(gdb-starting): Don't show the overlay arrows when program is
running.
 
* progmodes/gud.el (gud-speedbar-buttons): Follow change to
gdb-var-list.
......@@ -2344,21 +2368,21 @@
2006-03-14 Bill Wohler <wohler@newt.com>
 
* image.el (image-load-path-for-library): Pass value of path
rather than symbol. Always return list of directories.
Guarantee that image directory comes first.
rather than symbol. Always return list of directories. Guarantee
that image directory comes first.
 
2006-03-14 Alan Mackenzie <acm@muc.de>
 
* font-core.el (font-lock-extend-region\(-function\)?.):
New function/variable.
* font-core.el: New function/variable
font-lock-extend-region\(-function\)?.
 
* font-lock.el (font-lock-after-change-function):
Call font-lock-extend-region. Obey font-lock-lines-before.
* font-lock.el (font-lock-after-change-function): Call
font-lock-extend-region. Obey font-lock-lines-before.
(font-lock-default-fontify-region): Remove reference to
font-lock-lines-before.
 
* jit-lock.el (jit-lock-after-change):
Call font-lock-extend-region. Obey font-lock-lines-before.
* jit-lock.el (jit-lock-after-change): Call
font-lock-extend-region. Obey font-lock-lines-before.
 
2006-03-14 David Ponce <david@dponce.com>
 
......@@ -2385,8 +2409,8 @@
themes sub-directory found in tree-widget-themes-load-path.
(tree-widget-themes-directory, tree-widget-theme): Doc fix.
(tree-widget--locate-sub-directory): Return all occurrences.
(tree-widget-themes-path): New function.
Replace tree-widget-themes-directory, and return a list of directories.
(tree-widget-themes-path): New function. Replace
tree-widget-themes-directory, and return a list of directories.
(tree-widget-set-parent-theme)
(tree-widget-lookup-image): Use it.
 
......@@ -2531,8 +2555,8 @@
 
2006-03-07 Chong Yidong <cyd@stupidchicken.com>
 
* files.el (hack-local-variables-confirm):
Set coding-system-for-read to nil before writing to .emacs.
* files.el (hack-local-variables-confirm): Set
coding-system-for-read to nil before writing to .emacs.
 
* arc-mode.el (archive-extract): Check if an existing buffer name
comes from a different archive.
......@@ -2554,8 +2578,8 @@
 
2006-03-07 Carsten Dominik <dominik@science.uva.nl>
 
* textmodes/org.el: Move defvars out of eval-when-compile.
Use buffer-file-name variable.
* textmodes/org.el: Move defvars out of eval-when-compile. Use
buffer-file-name variable.
(org-agenda-file-to-end, org-agenda-file-to-front): Remove unused
arg `file'.
(org-level-faces): Remove startup dependency.
......@@ -2570,7 +2594,8 @@
(org-tag): New face.
(org-get-level-face): New function.
(org-set-font-lock-defaults): Simplify setup for headlines.
(org-complete): Pass common substring to `display-completion-list'.
(org-complete): Pass common substring to
`display-completion-list'.
 
2006-03-06 David Ponce <david@dponce.com>
 
......@@ -2742,8 +2767,9 @@
 
* t-mouse.el: New file.
(t-mouse-tty): Use with-temp-buffer. Add more terminal types.
(t-mouse-lispy-buffer-posn-from-coords): Remove.
(t-mouse-make-event-element): Use posn-at-x-y instead.
(t-mouse-lispy-buffer-posn-from-coords): Remove. Use the C
primitive...
(t-mouse-make-event-element): ...posn-at-x-y instead.
(t-mouse-make-event): Deal with Fedora Core 3.
(t-mouse-make-event): Don't sink the `stupid text mode menubar'.
(t-mouse-mouse-position-function): New function. Use it instead
......@@ -2776,7 +2802,8 @@
* textmodes/reftex-index.el (reftex-index-map): Add `follow-mouse'
binding.
 
* textmodes/reftex-toc.el (reftex-toc-map): Add `follow-mouse' binding.
* textmodes/reftex-toc.el (reftex-toc-map): Add `follow-mouse'
binding.
 
* textmodes/reftex-sel.el (reftex-select-label-map)
(reftex-select-bib-map): Add `follow-mouse' binding.
......@@ -2955,7 +2982,7 @@
(org-format-org-table-html, org-format-table-table-html):
Fix typos in docstrings.
 
2006-02-23 Carsten Dominik <dominik@science.uva.nl>
12006-02-23 Carsten Dominik <dominik@science.uva.nl>
 
* textmodes/org.el (org-cleaned-string-for-export)
(org-solidify-link-text): New function.
......@@ -4253,7 +4280,7 @@
(vc-default-update-changelog): Don't use vc-user-login-name, we
don't need it here.
 
* net/tramp-vc.el (vc-user-login-name): Comment out defadvice, it is
* tramp-vc.el (vc-user-login-name): Comment out defadvice, it is
no longer necessary.
 
2006-01-25 Kenichi Handa <handa@m17n.org>
......@@ -5750,7 +5777,7 @@
display-multi-frame-p, use selected-frame when menu-updating-frame
is nil.
 
2005-12-20 Stuart Herring <herring@lanl.gov> (tiny change)
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.
......@@ -6354,20 +6381,20 @@
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).
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
* 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): Solve the
* 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.
* 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>
 
......@@ -6388,19 +6415,20 @@
 
2005-12-08 Martin Stjernholm <bug-cc-mode@gnu.org>
 
* progmodes/cc-fonts.el (c-make-syntactic-matcher):
New internal helper.
* 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.
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.
to map to `font-lock-negation-char-face' in emacsen where it
exists.
 
2005-12-08 Alan Mackenzie <bug-cc-mode@gnu.org>
 
......@@ -6423,17 +6451,18 @@
(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.
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.
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).
* progmodes/cc-awk.el: Apply a tidy-up patch (from Stefan
Monnier).
 
2005-12-08 Martin Stjernholm <bug-cc-mode@gnu.org>
 
......@@ -6459,8 +6488,8 @@
* progmodes/cc-mode.el: Give c-hungry-backspace and
c-hungry-delete-forward permanent key bindings.
 
* progmodes/cc-cmds.el (c-electric-semi&comma):
Bind c-syntactic-context for calls to "criteria functions", for
* 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
......@@ -6474,7 +6503,7 @@
 
2005-12-08 Martin Stjernholm <bug-cc-mode@gnu.org>
 
* progmodes/cc-engine.el (c-on-identifier): Fix bug when at the
* 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
......@@ -6499,14 +6528,14 @@
2005-12-08 Martin Stjernholm <bug-cc-mode@gnu.org>
 
* progmodes/cc-fonts.el (c-cpp-matchers, c-basic-matchers-before):
Incorporate the patterns added in the Emacs development branch
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):
Add `font-lock-comment-delimiter-face' which is new in Emacs 22.
* 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>
 
......@@ -6514,13 +6543,14 @@
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.
`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): Fix the "not-arrow-prefix" regexp used
(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
......@@ -6529,10 +6559,10 @@
* 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): Introduce new language constants to
(c-cpp-expr-directives): Introduced new language constants to
control cpp syntax in a cleaner way.
 
(c-cpp-expr-functions): Rename from c-cpp-defined-fns.
(c-cpp-expr-functions): Renamed from c-cpp-defined-fns.
 
(c-cpp-matchers, c-forward-to-cpp-define-body): Use them.
 
......@@ -6564,21 +6594,22 @@
(c-guess-basic-syntax): Handle C++ operator identifiers in
declarations.
 
* progmodes/cc-langs.el (c-assignment-operators): Add the
* progmodes/cc-langs.el (c-assignment-operators): Added the
trigraph version of ^= too.
 
* progmodes/cc-langs.el (c-assignment-operators): Add the
* 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-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.
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
* 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>
......@@ -6617,11 +6648,12 @@
* 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-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\)):
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
......@@ -6637,17 +6669,18 @@
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.
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): Change name from `c-auto-hungry-string'
(c-submode-indicators): Changed name from `c-auto-hungry-string'
since it's now used to track another submode.
 
(c-update-modeline): Convert to function and extended to check
(c-update-modeline): Converted to function and extended to check
`c-subword-move-mode'.
 
(c-forward-into-nomenclature, c-backward-into-nomenclature):
Convert to compat aliases for `c-forward-subword' and
Converted to compat aliases for `c-forward-subword' and
`c-backward-subword'.
 
* progmodes/cc-subword.el: New functions and minor mode to handle
......@@ -6690,10 +6723,10 @@
 
2005-12-08 Martin Stjernholm <bug-cc-mode@gnu.org>
 
* progmodes/cc-engine.el (c-forward-label): Fix fontification of
* progmodes/cc-engine.el (c-forward-label): Fixed fontification of
macros inside labels.
 
* progmodes/cc-engine.el (c-looking-at-bos): Obsolete in favor of
* 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
......@@ -6707,8 +6740,9 @@
like `c-at-statement-start-p' that additionally recognizes commas
and expression parentheses as delimiters.
 
* progmodes/cc-engine.el (c-looking-at-inexpr-block): Add flag
* 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
......@@ -6723,53 +6757,54 @@
(c-just-after-func-arglist-p, c-guess-basic-syntax)
(c-basic-matchers-before): Use it.
 
(c-font-lock-objc-iip-decl): Remove.
(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): Fix several
* 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): Back out the compensation for
(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): Update.
* progmodes/cc-vars.el (c-valid-offset): Updated.
 
* progmodes/cc-engine.el (c-evaluate-offset): Extend to handle
* 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
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
* 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): Fix similar
* 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 const.
* 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): Fix a
* 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.
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":
......@@ -6808,14 +6843,15 @@
 
2005-12-08 Alan Mackenzie <bug-cc-mode@gnu.org>
 
* progmodes/cc-awk.el: Move regexps for analysing AWK code to near the
start of the file. ^L now separate sections of the file.
(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 defonsts.
(c-awk-at-vsemi-p, c-awk-vsemi-status-unknown-p): New functions.
* 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
......@@ -6823,12 +6859,12 @@
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
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 (c-at-vsemi-p, c-vsemi-status-unknown-p):
New macros.
* 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,
......@@ -6838,21 +6874,25 @@
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.
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): Clean up using
* progmodes/cc-cmds.el (c-electric-brace): Cleaned up using
`c-tentative-buffer-changes'.
 
* progmodes/cc-defs.el (c-region-is-active-p): Simplify and
convert to macro to choose between Emacs and XEmacs at compile time.
* 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-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.
......@@ -6860,7 +6900,7 @@
(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): Tighten up
* 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.
 
......@@ -6869,22 +6909,23 @@
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-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): Remove an optional check that looked at
(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): Fix invalid recognition of C++ style
* 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): Fix the GNU style to
* 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
......@@ -6894,14 +6935,15 @@
(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): Remove since it isn't used anymore.
(c-beginning-of-member-init-list): Removed since it isn't used
anymore.
 
(c-guess-basic-syntax): Adapt case 5B for the new
`c-just-after-func-arglist-p'. Merge cases 5B.1 and 5B.3.
Remove cases 5D.1 and 5D.2 since they aren't trigged anymore (case 5B.1
(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): Add `bosws' and `eosws'.
* progmodes/cc-defs.el (c-point): Added `bosws' and `eosws'.
 
2005-12-08 Alan Mackenzie <bug-cc-mode@gnu.org>
 
......@@ -6924,15 +6966,15 @@
(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): Adapt for `c-looking-at-decl-block'.
(c-add-class-syntax, c-guess-continued-construct,
c-guess-basic-syntax): Adapted for `c-looking-at-decl-block'.
 
(c-decl-block-key): Change to tell apart ambiguous and
(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-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.
......@@ -6943,7 +6985,7 @@
* 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): Simplify case
* 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)
......@@ -6954,16 +6996,17 @@
`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.
before, and now it's equally bogus but in a slightly different
way.