(Qwindow_scroll_functions, Vwindow_scroll_functions): New variables.
(syms_of_xdisp): Initialize them.
(redisplay_window): Call the functions when appropriate.
(print-help-return-message): Handle lists in
special-display-regexps and same-window-regexps. Also in
special-display-buffer-names and same-window-buffer-names
Add early support for Solaris 2.5 on PowerPCs.
[USG5_4] (CANNOT_DUMP): Define this if USG5_4.
(UNEXEC): Don't define if already defined.
[USG5_4] (DATA_SEG_BITS, LIBS_MACHINE): Alternate definitions.
(C_SWITCH_MACHINE, LD_SWITCH_MACHINE, NLIST_STRUCT, WORDS_BIG_ENDIAN)
(TEXT_START, DATA_START, TEXT_END, DATA_END):
Don't define, if USG5_4.
(read_char_x_menu_prompt):
When unreading events generated by a menu,
turn symbols and integers into lists,
for the sake of last_nonmenu_event and thus y-or-n-p.
(view-mode-enter): Renamed from view-mode. Callers changed.
Don't create local vars here. Set view-mode-auto-exit.
Don't change local map--just set view-mode.
(view-mode): New function toggles minor mode in the usual way.
(view-mode-map): Put this on minor-mode-map-alist.
(view-mode-exit): Do the exit actions only if view-mode-auto-exit.
(View-scroll-lines-forward): Exit only if view-scroll-lines-forward.
(view-mode-auto-exit, view-old-buffer-read-only)
(view-old-Helper-return-blurb, view-scroll-size, view-last-regexp)
(view-exit-action, view-return-here, view-exit-position):
Defvar them and make them always-local.
Karl Heuer [Fri, 22 Sep 1995 21:31:45 +0000 (21:31 +0000)]
Major revision.
Much improved and quicker highlighting using font-lock.
Support for hilit19 removed.
Support for imenu added.
Changed indentation for continue statements.
Added treatment of preprocessor directives.
(f90-directive-comment-re) is now a regular expression.
Many bug fixes.
Paul Eggert [Wed, 20 Sep 1995 03:26:43 +0000 (03:26 +0000)]
(gettimeofday, init_gettimeofday, daylight, gmtoffset): Undo previous change.
(init_environment): No need to call tzset and init_gettimeofday,
since `main' now does that for us.
(gettimeofday): Ignore tzp; it's obsolescent.
(init_gettimeofday): Invoke tzset first.
André Spiegel [Thu, 14 Sep 1995 07:23:43 +0000 (07:23 +0000)]
(vc-fetch-master-properties): Call "cvs status" in the right
directory, passing only the nondirectory part of the file name.
(vc-find-cvs-master): Bind `mtime' locally instead of using it as a
free variable.
(call_mod_hooks): Moved from intevals.c
(verify_interval_modification): Moved from intervals.c.
(interval_insert_behind_hooks, interval_insert_in_front_hooks): New variables.
(report_interval_modification): New function.
Paul Eggert [Sun, 10 Sep 1995 19:38:19 +0000 (19:38 +0000)]
(Fencode_time): Use mktime to do the real work;
this fixes bugs involving out-of-range dates and leap seconds,
and allows date arithmetic via out-of-range values for arguments.
Allow the ZONE parameter to be a TZ-style string.
Doc string fix: `1900' -> `this century'.
(set_time_zone_rule): New function.
(Fset_time_zone_rule): Use it.
(environ, make_time): Add extern declarations.
(days_per_month): Remove.
(hexl-current-address): New arg VALIDATE.
Handle point values in the ASCII text section and in the addresses.
(hexl-insert-char): Handle point located in the ASCII text.
(gettimeofday): Don't bother setting time zone,
since nobody uses it, and our hacks to get it get in the way
of the above fix. Use simpler method for getting time stamp.
(init_gettimeofday, daylight, gmtoffset): Remove.
André Spiegel [Fri, 8 Sep 1995 20:39:17 +0000 (20:39 +0000)]
(vc-dired-mode): Now a major mode derived from dired-mode.
(vc-directory): Take DIRNAME as an argument. Ask for it in
the minibuffer.
Don't kill pre-existing vc-dired buffers (dired now re-uses the
right one).
(vc-file-tree-walk): New argument DIRNAME. Updated all callers.
(vc-dired-update): New function. `g' in vc-dired-mode calls it.
(vc-dired-reformat-line): Handle different ls -l formats.
André Spiegel [Fri, 8 Sep 1995 20:38:17 +0000 (20:38 +0000)]
(dired-internal-noselect): Set dired-directory when refreshing a buffer
that displays a list of files.
(dired-find-buffer-nocreate): Handle the case when dired-directory is
a list.
(dired-sort-other): Don't set mode-name if we are not in dired-mode.