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.
Stefan Monnier [Tue, 2 Apr 2002 17:28:26 +0000 (17:28 +0000)]
(f90-keywords-re, f90-keywords-level-3-re)
(f90-procedures-re, f90-operators-re, f90-hpf-keywords-re): Use regexp-opt.
(f90-keywords-re, f90-keywords-level-3-re): Add `pure' and `elemental'.
(f90-procedures-re): Add `null' and `cpu_time' from F95.
(f90-font-lock-keywords-1): Minor reorganization so we don't need
`override' any more.
(f90-font-lock-keywords-3): Use `keep' rather than `override'.
(f90-indent-subprogram): Use indent-region.
(f90-break-line): Use indent-according-to-mode.
Mike Williams [Tue, 2 Apr 2002 11:26:12 +0000 (11:26 +0000)]
(sgml-close-tag): Rename from
sgml-insert-end-tag. Simplify by using sgml-lexical-context.
(sgml-get-context): Remove use of sgml-inside-tag-p.
(sgml-inside-tag-p): Remove.