Stefan Monnier [Tue, 9 Apr 2002 18:50:17 +0000 (18:50 +0000)]
(ada-case-exception-file, ada-indent-handle-comment-special): New variables.
(ada-case-exception-substring): New variable. Casing exceptions can
now also be defined for substrings, in addition to full identifier
names. This provides more flexibility.
(ada-align-list): New function, provide support for align.el in ada-mode.
(ada-procedure-start-regexp): Add support for operators and generic formal
subprograms and packages.
(ada-imenu-comment-re): New variable.
(ada-imenu-generic-expression): Add support for protected types.
(ada-mode): Set comment-start only after running ada-mode-hook, so that the
user can change ada-comment-start in the hook.
Add support for ispell in comments. Add support for align.el.
(ada-save-exception-file, ada-create-case-exception-substring)
(ada-adjust-case-substring): New functions.
(ada-get-current-indent): Properly handles keywords with uppercases.
(ada-goto-matching-end): Rewritten, fixes problems in the handling of
nested blocks.
(ada-untab-hard): Do not touch the contents of comments and strings.
Stefan Monnier [Mon, 8 Apr 2002 22:45:13 +0000 (22:45 +0000)]
(global-cwarn-mode): Use define-minor-mode.
(global-cwarn-mode): Use easy-mmode-define-global-mode.
(cwarn-font-lock-keywords): New function.
Replaces cwarn-font-lock-remove-keywords cwarn-font-lock-add-keywords.
(cwarn-font-lock-match): New macro.
(cwarn-font-lock-match-assignment-in-expression)
(cwarn-font-lock-match-dangerous-semicolon)
(cwarn-font-lock-match-reference): Use it.
Stefan Monnier [Mon, 8 Apr 2002 22:39:00 +0000 (22:39 +0000)]
(cperl-make-face, cperl-force-face):
Use defvar rather than defconst since it's meant to be settable.
(cperl-syntax-done-to): Don't hardcode 1 as (point-min).
(cperl-fix-line-spacing): Add missing \ in [ t].
Jason Rumney [Sun, 7 Apr 2002 18:51:29 +0000 (18:51 +0000)]
(set-default-coding-systems, reset-language-environment): Preserve
eols on default-process-coding-system.
(coding-system-change-text-conversion): Fix case where CODING is nil.
Colin Walters [Sun, 7 Apr 2002 05:46:15 +0000 (05:46 +0000)]
update-game-score.c (SCORE_FILE_PREFIX): Don't hardcode.
(get_user_id): Take struct passwd as an argument.
(get_home_dir): New function.
(main): Read in user information here. Discover home directory if
necessary.
(read_score): Trim newline only in `getline' case.
(enriched-decode-foreground, enriched-decode-background):
Use proper format for desired elts of `face' property.
Don't test display-color-p; make the properties unconditionally.
Colin Walters [Fri, 5 Apr 2002 08:58:12 +0000 (08:58 +0000)]
(toplevel): Include pwd.h.
(struct score_entry): Add username field.
(push_score): Use it.
(get_user_id): New function.
(main): Don't malloc excessively.
(main): Use username field.
(read_score): Read it.
(push_score): Handle it.
(write_scores) Write it.
(read_score): Handle arbitrary length data.
(display_mode_element): New arg RISKY.
Disregard text props found or specified within a variable
that isn't marked risky-local-variable.
(Qrisky_local_variable): New variable.
(syms_of_xdisp): Init and staticpro it.
(enriched-face-ans): Delete special treatment for fg:... and bg:... faces.
(enriched-decode-foreground): Return a list that specifies
the foreground color, rather than creating a face.
(enriched-decode-background): Likewise.
(update-calendar-mode-line): Force mode-line update.
Make date under the cursor available as `date' in
calendar-mode-line-format.
Eval items in calendar-mode-line-format list.
(cal-tex-insert-day-names): LaTeXify day names.
(cal-tex-cursor-week-iso, cal-tex-week-hours, cal-tex-weekly4-box)
(cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
(cal-tex-daily-page, cal-tex-mini-calendar): LaTeXify day names.
Change all instances (interactive "P") to (interactive "p").
(cal-tex-cursor-month): Add hfill and newline at end of month that
ended on Saturday.
(cal-tex-preamble): Change to LaTeX2e.
(cal-tex-cursor-filofax-year): Don't use default month names in
LaTeX macros in case user changes them.
(cal-tex-month-name): New function. Used throughout in case user
has done something funny with month names.
Stefan Monnier [Tue, 2 Apr 2002 21:58:53 +0000 (21:58 +0000)]
(reread_doc_file): Return whether reload was attempted.
(Fdocumentation, Fdocumentation_property): Don't try to reload
if the doc is 0 and only ask once.
New node Query Before Exit broken out of Deleting Processes.
Explain more details of process deletion and sentinels.
Document process-query-on-exit-flag and set-process-query-on-exit-flag.