Gerd Moellmann
4fdb80f2a2
(string_char_and_length): New. Use it everywhere
...
instead of STRING_CHAR_AND_LENGTH in xdisp.c.
1999-07-28 18:05:44 +00:00
Gerd Moellmann
54c85a234b
(get_next_display_element): Display DEL as `^?'.
1999-07-26 11:50:17 +00:00
Gerd Moellmann
5f5c8ee54a
Complete rewrite.
1999-07-21 21:43:52 +00:00
Andreas Schwab
9f02739333
(line-number-display-limit): Doc fix.
1999-07-07 10:24:28 +00:00
Karl Heuer
6693a99a2c
(invalid_eol_type): Make it unsigned.
1999-06-17 22:57:01 +00:00
Andreas Schwab
daa3df262c
(try_window_id): Fix computation of tab_offset when
...
backing up over a character that is splitted across lines.
1999-05-10 12:53:07 +00:00
Andrew Innes
7bbe686fb2
(display_text_line): Convert unibyte char to multibyte
...
if unibyte_display_via_language_environment is set.
(unibyte_display_via_language_environment):
Variable moved from xfns.c and elsewhere.
(syms_of_xfns): Set up Lisp var.
1999-05-02 10:51:03 +00:00
Kenichi Handa
919c7723de
(redisplay_window): When we call compute_motion with
...
HPOS got from w->last_point_x, call it with DID_MOTION 1.
(display_text_line): Stop the loop for processing overlay strings
when we reach the right edge of the window.
1999-04-02 16:35:33 +00:00
Kenichi Handa
f30b349973
(decode_mode_spec_coding): Handle integer value in
...
eoltype correctly for backward compatibility.
1999-03-23 12:29:30 +00:00
Kenichi Handa
d847cc360a
(try_window_id): Initizlie val.ovstring_chars_done to 0.
1999-03-15 02:20:31 +00:00
Eli Zaretskii
302f2b38d0
(decode_mode_spec_coding): Fix previous change.
1999-01-28 16:30:23 +00:00
Eli Zaretskii
d24715e869
(decode_mode_spec_coding): Display the EOL type as a string.
1999-01-27 10:06:21 +00:00
Kenichi Handa
a45dc86eeb
(message_dolog): Use insert_1_both to avoid running any
...
Lisp code here.
1999-01-11 11:42:52 +00:00
Richard M. Stallman
ffa286a2aa
(display_text_line): When handling HPOS < 0 after loop,
...
if compute_motion fails to advance at all, don't back it up.
1998-11-30 06:35:33 +00:00
Kenichi Handa
a688bb2444
(display_text_line): Check validity of a multibyte
...
character.
(display_string): Likewise. Handle an invalid character
correctly.
1998-11-06 00:44:16 +00:00
Richard M. Stallman
b5174a5103
(redisplay_window): Clear w->window_end_valid
...
before running the window-scroll-functions hook, if appropriate.
1998-10-12 01:38:50 +00:00
Kenichi Handa
457262616e
(message_log_check_duplicate): Count byte length of the
...
latest message correctly.
1998-09-16 07:21:31 +00:00
Karl Heuer
26a9b1f3b7
(redisplay_internal): Use TEMP_SET_PT_BOTH
...
instead of SET_PT_BOTH.
(try_window_id, display_text_line): Likewise.
1998-09-13 03:54:01 +00:00
Kenichi Handa
b778fdb3a5
(message_dolog): Use macro CHAR_BYTES instead of Fchar_bytes.
1998-08-28 12:22:39 +00:00
Karl Heuer
735c094c0e
(Vinhibit_redisplay, Qinhibit_redisplay): New variables.
...
(syms_of_xdisp): Set up Lisp var.
(redisplay_internal): Test Vinhibit_redisplay.
1998-06-22 17:35:41 +00:00
Karl Heuer
94487c4e37
Doc fixes.
1998-06-20 22:06:30 +00:00
Richard M. Stallman
43c158ed15
(message_dolog): GCPRO the oldpoint, oldbegv and oldzv
...
markers, and old_deactivate_mark.
1998-06-16 04:32:03 +00:00
Richard M. Stallman
5936754e60
(redisplay_internal): If cursor's in the frame's echo area,
...
make last_point invalid instead of setting it normally.
(display_text_line): If cursor's in the frame's echo area,
don't set this_line_endpos.
(redisplay_window): Use Fwindow_end to find lower scroll margin.
1998-06-09 01:54:48 +00:00
Richard M. Stallman
e18a235e39
(message_dolog): Do set windows_or_buffers_changed,
...
if *Messages* is displayed in a window.
1998-05-24 07:30:16 +00:00
Richard M. Stallman
81d2de9b9c
(redisplay_window): Don't use window->start
...
if it is out of range of BEGV/ZV.
1998-05-19 22:34:36 +00:00
Richard M. Stallman
09cacf9c79
(redisplay_window): Handle scroll_step along with
...
scroll_conservatively. Fix 1-off error checking the limit for them.
1998-05-11 16:36:02 +00:00
Richard M. Stallman
e6b5063973
(redisplay_window): Don't use last_point_x and last_point_y
...
if cursor_in_echo_area.
1998-05-10 00:40:00 +00:00
Andreas Schwab
84920a5cce
(redisplay_window): Update STARTP_BYTE alongside with
...
STARTP. New variable scroll_margin_bytepos, to parallel
scroll_margin_pos. Fix arguments of pos_tab_offset to agree with
the first argument of compute_motion.
1998-04-29 09:46:49 +00:00
Geoff Voelker
6d55d620a6
Conditionally include xterm.h using HAVE_X_WINDOWS.
1998-04-29 04:34:05 +00:00
Richard M. Stallman
2e54982edd
(Qinhibit_point_motion_hooks): New variable.
...
(syms_of_xdisp): Init and staticpro it.
(redisplay_window): Bind the symbol to t.
1998-04-24 06:28:46 +00:00
Andreas Schwab
975d21ea0c
(try_window): Fix mixing of Lisp_Object and int.
1998-04-14 13:12:18 +00:00
Andreas Schwab
dfcf069d56
Fix -Wimplicit warnings.
1998-04-14 12:25:56 +00:00
Karl Heuer
b5231eda99
(display_text_line): When handling selective > 0,
...
update pos and pos_byte with results of calling scan_newline.
1998-04-12 06:45:08 +00:00
Kenichi Handa
a2c983d55c
(display_text_line): Code for displaying a character by
...
octal form is modified.
1998-04-09 05:40:23 +00:00
Richard M. Stallman
5ba50c519e
(redisplay_window): If updating mode line,
...
temporarily change selected_frame
1998-04-08 07:15:02 +00:00
Richard M. Stallman
4a4c24d09e
(redisplay_window): Fix computing pos from last_point.
1998-04-02 04:40:52 +00:00
Richard M. Stallman
212e4f8756
(display_text_line): Handle overlay-arrow correctly.
1998-03-29 01:25:20 +00:00
Kenichi Handa
5ffc0a807c
(redisplay_window): Fix previous change.
1998-03-26 04:10:02 +00:00
Kenichi Handa
f1c87a7d42
(redisplay_window): Give byte position to FETCH_BYTE.
...
Call pos_tab_offset appropriately.
(try_window_id): Give byte position to FETCH_BYTE. Set
val.bytepos to pos_byte.
1998-03-25 10:45:59 +00:00
Richard M. Stallman
fc932ac6c7
Use STRING_BYTES and SET_STRING_BYTES.
1998-03-21 07:06:14 +00:00
Richard M. Stallman
84dd0ae555
(message_dolog): Save and restore Vdeactivate_mark.
...
(prepare_menu_bars): Fstore_match_data => Fset_match_data.
(update_menu_bar): Likewise.
1998-03-14 08:27:01 +00:00
Kenichi Handa
93fdf93bc1
(try_window_id): Use DEC_BOTH unconditionally.
...
(display_text_line): Likewise.
1998-03-03 01:29:16 +00:00
Karl Heuer
db4f2bfa4c
(syms_of_xdisp): Doc fix.
1998-02-27 22:05:12 +00:00
Karl Heuer
bc69581bb2
Reorder args of del_range_both.
1998-02-25 23:16:37 +00:00
Kenichi Handa
2d3ae3f0da
(message_dolog): Give correct args to
...
message_log_check_duplicate and del_range_both.
1998-02-24 06:57:15 +00:00
Kenichi Handa
0d09d1e645
(try_window_id): Use DEC_POS only for multibyte buffer.
...
display_text_line): Handling of a wide-column character fixed.
Make the behaviour consistent with INC_POS.
1998-02-20 01:40:47 +00:00
Richard M. Stallman
9ce37c9d19
(display_text_line): Use INC_BOTH for unibyte buffers too.
1998-02-14 07:27:58 +00:00
Richard M. Stallman
bd4f53cc18
(message_dolog): Cast M to unsigned char * to access bytes.
1998-01-27 04:22:43 +00:00
Richard M. Stallman
6f0429a9a6
(message_dolog): Use unibyte_char_to_multibyte.
...
Pass different args to scan_newline.
Properly compare oldpoint with Z.
1998-01-21 22:00:26 +00:00
Richard M. Stallman
eeb4f71059
(display_menu_bar): Don't set maxendcol too large.
1998-01-20 08:54:36 +00:00