1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-15 11:21:19 -07:00
Commit graph

17351 commits

Author SHA1 Message Date
Gerd Moellmann
ce8c7486aa (c-looking-at-inexpr-block): Replaced a call to
c-beginning-of-statement-1 that caused a bad case of recursion
which could consume a lot of CPU in large classes in languages
that have in-expression classes (i.e. Java and Pike).

(c-guess-basic-syntax): Check for in-expression
statements before top level constructs (i.e. case 6 is moved
before case 5 and is now case 4) to catch in-expression
classes in top level expressions correctly.

(c-guess-basic-syntax): Less naive handling of
objc-method-intro. Case 4 removed and case 5I added.

(c-beginning-of-inheritance-list,
c-guess-basic-syntax): Fixed recognition of inheritance lists
when the lines begins with a comma.

(c-forward-syntactic-ws): Fixed an infloop bug
when the buffer ends with a macro continuation char.

(c-guess-basic-syntax): Added support for
function definitions as statements in Pike.  The first
statement in a lambda block is now labeled defun-block-intro
instead of statement-block-intro.

(c-narrow-out-enclosing-class): Whack the state
so that the class surrounding point is selected, not the one
innermost in the state.

(c-guess-basic-syntax): Fixed bug in
recognition of switch labels having hanging multiline
statements.

(c-beginning-of-member-init-list): Broke out
some code in c-guess-basic-syntax to a separate function.
(c-just-after-func-arglist-p): Fixed
recognition of member inits with multiple line arglists.
(c-guess-basic-syntax): New case 5B.3 to detect
member-init-cont when the commas are in funny places.

(c-looking-at-bos): New helper function.
(c-looking-at-inexpr-block): More tests to tell
inexpr and toplevel classes apart in Pike.

(c-guess-basic-syntax): Fixed bogus recognition
of case 9A.

(c-guess-basic-syntax): Made the cpp-macro
a syntax modifier like comment-intro, to make it possible to
get syntactic indentation for preprocessor directives.  It's
incompatible wrt to lineup functions on cpp-macro, but it has
no observable effect in the 99.9% common case where cpp-macro
is set to -1000.

(c-guess-basic-syntax): Fixed bug with missed
member-init-cont when the preceding arglist is several lines.

(c-beginning-of-statement-1): Fixed bug where
we were left at comments preceding the first statement when
reaching the beginning of the buffer.

(c-beginning-of-closest-statement): New helper
function to go back to the closest preceding statement start,
which could be inside a conditional statement.
(c-guess-basic-syntax): Use
c-beginning-of-closest-statement in cases 10B.2, 17B and 17C.

(c-guess-basic-syntax): Better handling of
arglist-intro, arglist-cont-nonempty and arglist-close when
the arglist is nested inside parens.  Cases 7A, 7C and 7F
changed.

(c-beginning-of-statement-1): Fixed handling of
multiline Pike type decls.

(c-guess-basic-syntax): Fixed bug with
fully::qualified::names in C++ member init lists.  Preamble in
case 5D changed.
2000-07-24 11:11:20 +00:00
Gerd Moellmann
e29cacf2d1 (c-append-paragraph-start): New variable used by
c-common-init to get paragraph-start correct.
(c-common-init): Use c-append-paragraph-start to
initialize paragraph-start to make it correct both with and
without the javadoc special case.

(c-Pike-inexpr-class-key): New
constant, since "class" can introduce an in-expression class
in Pike nowadays.

(c-Java-javadoc-paragraph-start): Brought
up-to-date with javadoc 1.2.

(c-common-init): Handling of obsolete variables
moved to c-initialize-cc-mode.  More compatible style override
when using global style variables.
2000-07-24 11:11:01 +00:00
Gerd Moellmann
91b807c9ff (c-initialize-cc-mode): Handling of obsolete
variables moved here.
(java-mode): Use c-append-paragraph-start to
initialize paragraph-start for javadoc markup.
2000-07-24 11:10:33 +00:00
Gerd Moellmann
6cfd56b338 (c-style-alist): The basic offset for the BSD
style corrected to 8.

(c-style-alist): Adjusted the indentation of
brace list openers in the gnu style.

(c-make-styles-buffer-local): Flag style
variable localness in c-style-variables-are-local-p to make
the compatibility measure in c-common-init work well.

(c-set-style-1): c-special-indent-hook can no
longer contain set-from-style.
(c-initialize-builtin-style): Don't check for
set-from-style on c-special-indent-hook.
(c-copy-tree): Obsolete.  The standard function
copy-alist is sufficient now.

(c-set-style, c-set-style-1,
c-get-style-variables): Fixes to variable initialization so
that duplicate entries in styles have the same effect
regardless of DONT-OVERRIDE.

(c-set-style-2): Fixed bug where the
initialization of inheriting styles failed when the
dont-override flag is set.
2000-07-24 11:10:15 +00:00
Gerd Moellmann
e96f5cb747 (c-style-variables-are-local-p): Incompatible
change by defaulting this to t.  It's motivated by the
confusing behavior that otherwise arise from the style system
when editing both java and non-java files at the same time
(see the comments about style setting in c-common-init).

(c-offsets-alist): Changed default for
member-init-cont to c-lineup-multi-inher since it now handles
member initializers and indents better for leading commas.

(c-syntactic-indentation): New variable to turn
off all syntactic indentation.

(c-special-indent-hook): Don't use set-from-style
on this.
2000-07-24 11:09:35 +00:00
Dave Love
8730a8da61 *** empty log message *** 2000-07-24 09:45:16 +00:00
Dave Love
a21f0bd5b4 (ediff-region-help-echo): Bind face-help. 2000-07-24 09:44:02 +00:00
Noah Friedman
ad95348597 (type-break): perform autosave.
Suggested by Stephen Gildea <gildea@intouchsys.com>.
(type-break-do-query): Cancel query schedule while performing
actual query, to avoid possibility of a second query being made
while first one is already in progress.
(type-break-time-stamp-format): New variable.
(type-break-time-stamp): New function.
(type-break-time-warning): Use it.
(type-break-keystroke-warning): Use it.
(type-break-noninteractive-query): Use it.
2000-07-24 00:50:10 +00:00
Noah Friedman
03a9c6d06a (eldoc-minor-mode-string): Add autoload cookie; otherwise autoloaded
add-minor-mode call complains in Emacs 21.
Use add-minor-mode to set minor-mode-alist, if available.

(eldoc-echo-area-use-multiline-p): New user option.
(eldoc-echo-area-multiline-supported-p): New variable.
(eldoc-docstring-format-sym-doc): Use them.
(eldoc-mode): If not using idle timers, append to local post and
pre command hooks.  Suggested by David Byers <davby@ida.liu.se>.

(eldoc-display-message-no-interference-p): Don't interfere with edebug.
Add autoload cookie for eldoc-mode minor-mode-alist initialization.

(eldoc-function-arglist): New function.
(eldoc-function-argstring): Use it.
2000-07-24 00:38:34 +00:00
Noah Friedman
db3ca487f6 (menu-bar-files-menu [recover-session]): Make sure auto save directory
exists before calling directory-files.
2000-07-24 00:28:27 +00:00
Dave Love
f7ad189956 (iso-transl-char-map): Fix ^e, ^i,
^o, ^u.
2000-07-23 16:05:53 +00:00
Dave Love
475de6f44d (ediff-region-help-echo): Modify to use overlay
now passed to the function.  It now works properly.
2000-07-21 19:42:57 +00:00
Dave Love
43e764c952 (smerge-mode-menu): Fill it out. 2000-07-21 13:53:20 +00:00
Gerd Moellmann
e8bea4c03e *** empty log message *** 2000-07-20 20:38:08 +00:00
Gerd Moellmann
f457975a0c (info-lookup): If *info* is shown in another frame
on the same display, select that frame, instead of switching to
the Info buffer in another window of the selected frame.
2000-07-20 20:35:27 +00:00
Gerd Moellmann
bd7acc8d7c (universal-argument-map): Bind numeric keypad keys
kp-0 to kp-9 and kp-subtract.
(digit-argument): Handle these keys.
2000-07-20 20:35:05 +00:00
Dave Love
bc75b4fd46 *** empty log message *** 2000-07-20 17:31:18 +00:00
Dave Love
51107a70f5 (goto-address-fontify): Don't bother with buffer-modified and read-only
stuff -- irrelevant with overlays.  Put an extra property on the
overlays and use it to clean up in case goto-address is re-run.
2000-07-20 17:29:46 +00:00
Eli Zaretskii
2696c10210 Fix a typo in a comment. 2000-07-20 06:59:46 +00:00
Richard M. Stallman
18e21ce839 *** empty log message *** 2000-07-19 22:05:09 +00:00
Richard M. Stallman
37c004c4f9 (run-with-idle-timer): Doc fix. 2000-07-19 22:04:34 +00:00
Richard M. Stallman
8b7bc6282e *** empty log message *** 2000-07-19 22:00:37 +00:00
Richard M. Stallman
82d221935c (mail-strip-quoted-names): Handle case where <...> appears inside "...".
Use replace-match to edit the string more simply.

(rmail-dont-reply-to): Cope with an unmatched ".
2000-07-19 21:53:51 +00:00
Dave Love
30729019be Fix last checkin. 2000-07-19 16:00:04 +00:00
Dave Love
50575ec215 (ediff-region-help-echo): Partially fix for Emacs implementation. 2000-07-19 15:56:50 +00:00
Gerd Moellmann
47db06aae4 *** empty log message *** 2000-07-19 15:52:13 +00:00
Dave Love
de420e8200 (popup-menu): Allow a list of keymaps for menu arg.
(mouse-popup-menubar, mouse-popup-menubar-stuff): New functions.
(global-map): Bind c-down-mouse-3 to mouse-popup-menubar-stuff.
2000-07-19 15:52:02 +00:00
Gerd Moellmann
482bb01b8b Correct author's email address. Fix typo in comment. 2000-07-19 15:51:05 +00:00
Gerd Moellmann
7cf5c4268f Correct maintainer's email address. 2000-07-19 15:50:36 +00:00
Gerd Moellmann
ae57d456bc (comint-highlight-input, comint-highlight-face):
New user options.
(comint-input-ring-file-name): Change custom type.
(comint-mode-map): Bind mouse-2.
(comint-insert-clicked-input): New function.
(comint-send-input): Handle input highlighting.
2000-07-19 15:50:13 +00:00
Gerd Moellmann
4279296d21 *** empty log message *** 2000-07-19 11:06:09 +00:00
Gerd Moellmann
a893064df5 Correct author's mail address. 2000-07-19 11:04:18 +00:00
Stefan Monnier
21ad0f7b2f (popup-menu): New function.
(mouse-major-mode-menu): Use it.
2000-07-18 23:43:41 +00:00
Dave Love
3b33a0059c *** empty log message *** 2000-07-18 22:16:01 +00:00
Dave Love
3beb81fce9 (mode-line-mule-info, mode-line-modified): help-echo
improvements.
2000-07-18 21:53:46 +00:00
Gerd Moellmann
dc1cac5985 *** empty log message *** 2000-07-18 19:43:58 +00:00
Gerd Moellmann
94354bddf1 (face-font-selection-order)
(face-font-family-alternatives): Add custom type.
2000-07-18 19:07:15 +00:00
Dave Love
f8276b77a7 *** empty log message *** 2000-07-18 16:21:46 +00:00
Gerd Moellmann
3d6cd763f7 *** empty log message *** 2000-07-18 14:42:30 +00:00
Gerd Moellmann
9a7429681b Add author's email address. 2000-07-18 14:40:07 +00:00
Gerd Moellmann
d2a5c76439 Fix `Maintainer' keyword. 2000-07-18 14:39:41 +00:00
Sam Steingold
34342a07bd insert-directory: use split-string 2000-07-18 14:18:03 +00:00
Gerd Moellmann
088831a6ff *** empty log message *** 2000-07-18 13:05:44 +00:00
Gerd Moellmann
cc6c844361 (Info-title-face-alist): Removed. 2000-07-18 12:59:17 +00:00
Gerd Moellmann
21ab62bdf2 Update from author. 2000-07-18 12:59:01 +00:00
Gerd Moellmann
12c74386d9 Change maintainer to FSF. 2000-07-18 12:58:36 +00:00
Dave Love
ba8cb52d56 (custom-variable-reset-saved, custom-variable-reset-standard): Remove
unused bindings.
2000-07-18 12:52:25 +00:00
Dave Love
74be0ade4c (open-rectangle-line): Remove unused let. 2000-07-18 12:50:38 +00:00
Eli Zaretskii
68be286976 *** empty log message *** 2000-07-18 12:01:14 +00:00
Eli Zaretskii
9fa8e39139 (eshell-banner): Replace links to eshell.info with
links to eshell, to avoid problems on systems where the manual is
installed as `eshell'.
2000-07-18 11:52:01 +00:00