(display_string): Fix truncation-criterion after main loop
for termination due to LENGTH.
(echo_area_glyphs_length): New variable.
(message1): Set it.
(message2): New function.
(display_string): New arg LENGTH.
(echo_area_display): Pass new arg to display_string.
(redisplay_window): Likewise.
(display_text_line): Likewise.
(display_menu_bar): Likewise.
(display_mode_element): Likewise.
(update_menu_bar, update_menu_bars): New functions.
(prepare_menu_bars): New function.
(redisplay_window): Don't update menu bar here.
(display_menu_bar): Assume item list already updated.
(redisplay_window): Don't alter lpoint when w is
selected window in a non-selected frame.
(XTread_socket): Don't offset keysym here.
Special handling for "dead accent" keysyms.
(construct_mouse_click, x_scroll_bar_handle_click)
(XTread_socket): `code' of an event is now an int.
(pixel_to_glyph_coords): New arg NOCLIP. Callers changed.
(XTread_socket): For MotionNotify, if x_mouse_grabbed, use last_mouse_frame.
(construct_mouse_click): Set last_mouse_frame.
(XTmouse_position): If x_mouse_grabbed, use last_mouse_frame.
(x_calc_absolute_position): Borderwidth must be doubled
before subtracting from width to get correct value.
(make_lispy_event): Offset the event code here.
Special handling for "dead accent" keysyms.
(lispy_accent_codes, lispy_accent_keys): New variables.
(quit_throw_to_read_char): Don't switch frames if
internal_last_event_frame is not a frame.
(kbd_buffer_store_event, make_lispy_event)
(stuff_buffered_input): `code' of an event is now an int.
(make_lispy_movement): If we have a frame but pos is not
in a window, return an event with the frame.
(read_key_sequence): Don't return if in middle
of possible function-key-map sequence, if the bindings were all
found by case conversion.
(set_waiting_for_input): Code testing echo_flag deleted.
(echo_flag, echo_now): Vars deleted.
(read_key_sequence): Bind case_converted at top level.
Clear it at replay_sequence.
(follow_key): Never clear *CASE_CONVERTED.
(syms_of_keyboard): Define Lisp var track-mouse.
(follow_key): New arg case_converted.
(read_key_sequence): Pass the new arg.
If key has a binding via case-conversion, that does not prevent
use of function_key_map.
* m/delta.h (BROKEN_CLOSEDIR): added because closedir is interruptible.
(HAVE_UNISTD_H): deleted because configure takes care of it.
(C_SWITCH_MACHINE): added optimisation options for gnu cc.
Noah Friedman [Wed, 22 Dec 1993 12:06:54 +0000 (12:06 +0000)]
(Bogus-Bureaucratic-Cruft): Changed to `X-Bogus-Bureaucratic-Cruft'.
Change comments to indicate that any header starting with `X-' is
not supposed to be implemented. This gives us the same "out" as
that RFC822 does.
Roland McGrath [Sat, 11 Dec 1993 22:26:14 +0000 (22:26 +0000)]
[! MAP_FILE] (MAP_FILE): Define to zero.
(unexec): Remove unused variable BUF.
Use MAP_FILE bit in mmap call.
(run_time_remap): Use MAP_FILE bit in mmap call.
Roland McGrath [Wed, 8 Dec 1993 23:49:24 +0000 (23:49 +0000)]
(PENDING_OUTPUT_COUNT) [__GNU_LIBRARY__]: Alternate definition for the GNU
C library. I changed this in version 18 in 1991, but the change never got
propagated.
Paul Eggert [Fri, 3 Dec 1993 09:30:38 +0000 (09:30 +0000)]
(vc-workfile-unchanged-p): Add optional argument
specifying whether we want to compute the differences if the
file is changed. Otherwise, use cmp instead of diff.
(vc-next-action-on-file): Use new vc-workfile-unchanged-p option;
this avoids recomputing the differences in some cases.
(vc-backend-diff): OLDVERS is now optional; all callers changed.
New optional argument CMP says to use `cmp' rather than `diff'.
Roland McGrath [Thu, 2 Dec 1993 21:04:45 +0000 (21:04 +0000)]
(mail-fcc): Take argument and use interactive spec to prompt, rather than
calling read-file-name explicitly. This function is useful to call from
programs with a computed argument.
Noah Friedman [Wed, 1 Dec 1993 09:57:04 +0000 (09:57 +0000)]
(rlogin-filter): initialize `region-begin' to (marker-position proc-mark),
not just (point), whatever random value that may be.
Put bindings for `proc-mark', `region-begin', and `window' in separate setq
forms.
In determining whether window-start readjustment is needed, do not examine
scroll-step; it is irrelevant.
When breaking links, use cp -p.
Copy install.sh into distribution.
Move the temp dir up into the parent dir;
don't leave the staging dir make-dist.tmp... in existence.
(make-face-unitalic, make-face-unbold, make-face-bold)
(make-face-bold-italic, make-face-italic): If frame is t,
do the special handling only if face-font is a list.
(tpu-quoted-insert): New function.
(tpu-reset-control-keys): Remove C-f mapping.
Insert (in file) fsets for free/bound cursor, scroll
margins, key mappings for same.
(comint-send-input): Don't call comint-arguments
to set HISTORY, even if comint-input-autoexpand is not `history'.
When comint-input-autoexpand is `history', undo part of prev change:
do put INPUT back in the buffer in place of expanded hist.
(init_callproc): Maybe add ../lib-src to exec-path
and maybe store it in exec-directory.
Maybe put ../etc into data-directory.
(init_callproc_1): Part of init_callproc is split out.
(mouse-save-then-kill-delete-region):
Call undo-boundary at the beginning and at the end.
(mouse-start-end): Use MODE mod 3.
(mouse-save-then-kill): Test mouse-selection-click-count mod 3.
(mouse-drag-secondary, mouse-secondary-save-then-kill): Likewise.
(mouse-kill-secondary): Do the kill in proper buffer.
Give error if in the wrong buffer.
(mouse-secondary-save-then-kill): Give error if click is not in
the buffer already used for secondary selection.
Don't switch windows; always temporarily switch buffers.