1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-02 11:21:42 +00:00
Commit Graph

16222 Commits

Author SHA1 Message Date
Richard M. Stallman
a2f016e3c7 (echo_area_display): Clear the left-side scroll bar columns. 1996-09-21 04:14:14 +00:00
Richard M. Stallman
85462999a5 (read_minibuf): Use FRAME_LEFT_SCROLL_BAR_WIDTH
to set the cursor position at the end.
1996-09-21 04:10:21 +00:00
Richard M. Stallman
8516ba9afe (WINDOW_LEFT_MARGIN): New macro.
(WINDOW_RIGHT_EDGE, WINDOW_RIGHT_MARGIN): New macros.
(WINDOW_FULL_WIDTH_P, WINDOW_RIGHTMOST_P): New macros.
1996-09-21 03:31:53 +00:00
Richard M. Stallman
3a43d2dd70 (make_frame): Switch from boolean `has_vertical_scrollbars' integer to
an enumerated type.  Use new macro SET_FRAME_WIDTH.
1996-09-21 03:24:01 +00:00
Richard M. Stallman
f6bb2a1675 (initialize_win_nt_display): Use SET_FRAME_WIDTH. 1996-09-21 02:26:13 +00:00
Richard M. Stallman
42bd6247da (Fsun_menu_internal): Use new WINDOW_LEFT_MARGIN macro. 1996-09-21 02:25:56 +00:00
Richard M. Stallman
1efd8636b2 (term_init): Use new vertical scroll bar enumerated type.
Use new macro SET_FRAME_WIDTH.
1996-09-21 02:25:37 +00:00
Richard M. Stallman
1026b40015 (Qright): New variable.
(syms_of_win32fns): Initialize and staticpro Qright.
(x_set_vertical_scroll_bars): Check for left<->right<->none
scroll bar changes, and modify the vertical scroll bar type as appropriate.
(x_figure_window_size): Use new SET_FRAME_WIDTH macro.
(Fx_create_frame): Likewise.
1996-09-21 02:25:11 +00:00
Richard M. Stallman
03218728b5 (fast_find_position, show_macro_face): Use new WINDOW_LEFT_MARGIN macro. 1996-09-21 02:23:54 +00:00
Richard M. Stallman
d7c64de6bf Comment change. 1996-09-21 01:25:11 +00:00
Richard M. Stallman
9bfd4456ce (preserve_other_columns, preserve_my_columns): Use new
macros WINDOW_LEFT_MARGIN and WINDOW_RIGHT_EDGE.
(adjust_window_charstarts, verify_charstarts, cancel_my_columns):
Use new macro WINDOW_LEFT_MARGIN instead of w->left.
(direct_output_for_insert, direct_output_forward_char): Likewise.
(buffer_posn_from_coords): Likewise.
(verify_charstarts): Use new macro WINDOW_FULL_WIDTH_P.
(update_frame): For determining when to wrap the cursor, use the
new macro FRAME_WINDOW_WIDTH instead of FRAME_WIDTH; they aren't
necessarily the same any more.
(change_frame_size_1): Use FRAME_WINDOW_WIDTH to check for changes.
Give `set_window_width' the window width value.  Use new macro SET_FRAME_WIDTH.
1996-09-21 01:21:18 +00:00
Richard M. Stallman
73f194f117 (display_mode_line): Use faces for inverse video mode line whenever possible.
(echo_area_display): Shift display_string past a left-side scroll bar.
(redisplay_window): Likewise.
(redisplay_internal): Shift cursor past a left-side scroll bar.
(redisplay_window): Likewise.
(try_window_id): Likewise.
(display_text_line): Likewise.
(redisplay_internal): Shift charstarts past a left-side scroll bar.
(display_text_line): Likewise.
(redisplay_internal): Use new macro WINDOW_FULL_WIDTH_P.
(redisplay_window): Likewise.
(display_text_line): Likewise.
(display_text_line): Shift output past left-side scroll bar.
(display_text_line): Use new WINDOW_RIGHTMOST_P macro.
(display_text_line): Don't pad right columns unless using
a right-side scroll bar.  Don't draw vertical bars unless there
isn't any kind of scroll bar.
(display_string): Likewise.
(display_mode_line): Use new macros WINDOW_LEFT_MARGIN,
WINDOW_RIGHT_MARGIN, and WINDOW_FULL_WIDTH_P.
(display_string): Use new macro WINDOW_RIGHTMOST_P.
1996-09-21 01:16:33 +00:00
Richard M. Stallman
1ab3d87e2f (Fx_create_frame): Default Qvertical_scroll_bars to `left'.
Add the symbol `right'; this symbol is used to indicate
that a right-side scroll bar is wanted.
(x_set_vertical_scroll_bars): Check for left<->right<->none
scroll bar changes, and modify the vertical scroll bar type as appropriate.
(x_figure_window_size): Use new SET_FRAME_WIDTH macro.
(Fx_create_frame): Likewise.
(Fx_horizontal_line): Use new macro WINDOW_LEFT_MARGIN.
1996-09-21 01:14:57 +00:00
Richard M. Stallman
c8738c33c5 (make_lispy_event): When converting from pixel to glyph coordinates,
offset by WINDOW_LEFT_MARGIN; this is needed for left-side scrollbars.

(syms_of_keyboard): Initialize and staticpro
internal_last_event_frame and read_key_sequence_cmd.
1996-09-21 01:11:31 +00:00
Richard M. Stallman
aa5abbc013 (VERTICAL_SCROLL_BAR_INSIDE_WIDTH): Add frame as an
argument, and use it to decrease the width in the case of a
left-side scroll bar; this prevents the bar and adjacent text
from scrunching together.
(LEFT_VERTICAL_SCROLL_BAR_WIDTH_TRIM): Add constant.

(VERTICAL_SCROLL_BAR_INSIDE_HEIGHT): New arg F (not used).
(VERTICAL_SCROLL_BAR_TOP_RANGE): New arg F (not used).
1996-09-21 00:59:54 +00:00
Richard M. Stallman
d9cdbb3d95 Pass frame arg in calls to VERTICAL_SCROLL_BAR_INSIDE_HEIGHT
and VERTICAL_SCROLL_BAR_TOP_RANGE.

(XTclear_end_of_line): Shift end-of-line when there is a
left-side scroll bar by FRAME_LEFT_SCROLL_BAR_WIDTH.
(do_line_dance): Take into account the width of a left-side scroll bar.
(dumprectangle): Trim at FRAME_EXTERNAL_WIDTH instead of FRAME_WIDTH.
(fast_find_position): Use new macro WINDOW_LEFT_MARGIN.
(show_mouse_face): Likewise.
(x_scroll_bar_set_handle): VERTICAL_SCROLL_BAR_INSIDE_WIDTH now
requires the frame as an argument.
(x_scroll_bar_expose): Narrow the box slightly for a left-side scroll bar.
1996-09-21 00:57:20 +00:00
Richard M. Stallman
f55d65a166 (gud-display-line): Don't call display-buffer
if buffer already has a window.
1996-09-20 18:56:36 +00:00
Richard M. Stallman
db4042c888 (init_system_name): Retry gethostbyname only 5 times
and don't sleep after the last time.
1996-09-20 06:11:20 +00:00
Michael Kifer
92c51e075e *** empty log message *** 1996-09-20 01:10:05 +00:00
Michael Kifer
f49e144575 Initial revision 1996-09-20 01:08:36 +00:00
Richard M. Stallman
04924ee3f4 (file_name_completion): Remove code which sets and
restores the `stat' control flags (they might not be restored if
C-g is pressed during completion).
(file_name_completion_stat): Set and restore flags that make
`stat' faster here instead of in `file_name_completion'.
1996-09-19 21:28:15 +00:00
Richard M. Stallman
b4222ffacb (display_text_line): Declare ovstr as unsigned char *. 1996-09-19 04:25:49 +00:00
Richard M. Stallman
cbcf50d2c2 (imenu--generic-function): Use markers for positions. 1996-09-19 04:25:40 +00:00
Richard M. Stallman
6b5d3b89ee (overlay_strings): Declare pstr using unsigned char. 1996-09-19 03:31:13 +00:00
Richard M. Stallman
5be36e2004 (rmail-summary-next-same-subject): Don't set
search-regexp until after adjusting subject string.

(rmail-summary-rmail-update): Bind rmail-not-really-seen
non-nil if in isearch mode.
1996-09-19 03:22:51 +00:00
Richard M. Stallman
563ab60dbd (rmail-insert-inbox-text): Detect locked
RMAIL files at the outset, before copying any files.

(rmail-find-all-files): Eliminate recursive scan.  Rely on directory-files
to do the filtering.

(rmail-convert-to-babyl-format):
Increase sit-for timeout to 3 seconds.

(rmail-get-new-mail): Handle files in multiple batches,
in case two inboxes have the same last name component.

(rmail-show-message): Bind `end' after clearing the
"unseen" attribute.

(rmail-show-message): Clear `unseen' even if header
is already reformatted--but don't do it if rmail-not-really-seen.
(rmail-not-really-seen): New variable.
1996-09-19 03:21:11 +00:00
Richard M. Stallman
2a6334563b Replaced symbol BSD with BSD_SYSTEM.
Don't explicitly Include termios.h.
(ospeed): Use HAVE_TERMIOS to decide whether to use speed_t.
1996-09-19 03:09:10 +00:00
Richard M. Stallman
7ae6863365 (regex_compile): Use TRANSLATE before calling SET_LIST_BIT. 1996-09-19 03:00:06 +00:00
Richard M. Stallman
6ecb21f158 Clarify how completing-read returns an empty string. 1996-09-18 22:57:51 +00:00
Richard M. Stallman
fab9562514 (Fcompleting_read): Doc fix. 1996-09-18 22:56:24 +00:00
Richard M. Stallman
b8c44b291a (imenu--mouse-menu): Add special handling for rescan item. 1996-09-18 22:18:14 +00:00
Richard M. Stallman
c0eae5b9ba (tq-filter): No need for save-match-data. 1996-09-18 22:00:30 +00:00
Karl Heuer
f37fec3047 Comment change. 1996-09-17 21:38:17 +00:00
Richard M. Stallman
be9828d197 (C_SWITCH_SYSTEM, LD_SWITCH_SYSTEM): Don't define them if using GCC. 1996-09-17 19:02:36 +00:00
Richard M. Stallman
d8f59f561a (byte-compile-lambda): If the doc string is also the
return value, use it for both.
1996-09-17 19:01:09 +00:00
Erik Naggum
c23baf9f13 Comment changes. 1996-09-17 17:49:23 +00:00
Erik Naggum
609c36fe5f Declare make_symbol (). 1996-09-17 17:43:56 +00:00
Erik Naggum
fe4123646b (syms_of_keyboard): Initialize and staticpro internal_last_event_frame and
read_key_sequence_cmd.
1996-09-17 16:26:44 +00:00
Erik Naggum
0f73bb1c2b (init_obarray): staticpro Qvariable_documentation. 1996-09-17 16:19:15 +00:00
Erik Naggum
a3e99933ee (syms_of_keymap): staticpro global_map. 1996-09-17 16:19:07 +00:00
Erik Naggum
0a61794b00 (syms_of_fileio): staticpro Qset_visited_file_modtime. 1996-09-17 16:18:22 +00:00
Erik Naggum
a2d3836cb6 (syms_of_dired): staticpro Qdirectory_files, Qfile_name_completion,
Qfile_name_all_completions, and Qfile_attributes.
1996-09-17 16:18:04 +00:00
Erik Naggum
8f84b1a1be (syms_of_casetab): staticpro Vascii_canontable, Vascii_eqv_table, and
Vascii_upcase_table.
1996-09-17 16:18:00 +00:00
Erik Naggum
47d5b31e26 (Fmake_symbol): Initialize `obarray' field. 1996-09-17 15:36:26 +00:00
Karl Heuer
fae87a070d Replaced symbol BSD with BSD_SYSTEM. 1996-09-17 04:49:51 +00:00
Karl Heuer
8e4c450d30 Comment change. 1996-09-17 03:47:11 +00:00
Karl Heuer
6df54671fd Replaced symbol BSD with BSD_SYSTEM. 1996-09-17 03:43:54 +00:00
Karl Heuer
488b7cb38f Replace symbol BSD with BSD_SYSTEM. 1996-09-17 02:56:22 +00:00
Karl Heuer
e397a0172f Replaced all BSD with BSD_SYSTEM. 1996-09-17 02:37:17 +00:00
Richard M. Stallman
7c5a1541f3 (ispell-dictionary-alist-1): Add `american' to list. 1996-09-16 19:00:18 +00:00