summaryrefslogtreecommitdiff
path: root/src/xdisp.c
Commit message (Collapse)AuthorAgeFilesLines
* Update usage of CHECK_ macros (remove unused second argument).Pavel Janík2001-11-021-3/+3
|
* Fix typos in comments.Pavel Janík2001-10-311-3/+3
|
* Comment fix.Gerd Moellmann2001-10-311-4/+3
|
* (clear_garbaged_frames): Remove debug code.Gerd Moellmann2001-10-301-4/+1
|
* (clear_garbaged_frames): Redraw the frame only if itsGerd Moellmann2001-10-301-1/+6
| | | | | resized_p flag is set. If not set, use the much less flickering method previously used.
* (clear_garbaged_frames): Call Fredraw_frame.Gerd Moellmann2001-10-301-0/+1
|
* (move_it_vertically_backward): Use 2/3 line_heightGerd Moellmann2001-10-271-1/+1
| | | | | instead of 1/2 line_height in the heuristic for skipping farther backward when target_y was not reached.
* (move_it_vertically_backward): Compute line heightGerd Moellmann2001-10-251-4/+12
| | | | differently. Add heuristic to try to be more compatible to 20.x.
* Change #ifdef GLYPH_DEBUG to #if.Gerd Moellmann2001-10-241-4/+4
|
* (try_window_reusing_current_matrix): UseGerd Moellmann2001-10-241-44/+36
| | | | | | | row_containing_pos. (row_containing_pos): Take additional argument DY. Treat rows ending in middle of char differently. (display_line): Handle tabs on window systems differently.
* (inhibit_try_window_id, inhibit_try_window_reusing)Gerd Moellmann2001-10-241-0/+34
| | | | | | | (inhibit_try_cursor_movement) [GLYPH_DEBUG]: New variables. (try_window_id, try_window_reusing_current_matrix) (try_cursor_movement) [GLYPH_DEBUG]: Don't run if inhibited. (syms_of_xdisp) [GLYPH_DEBUG]: DEFVAR_BOOL the variables.
* (display_prop_string_p): Remove unused local declarationPavel Janík2001-10-241-6/+1
| | | | | | | | of `Qwhen'. (single_display_prop_string_p): Remove unused local declarations of `Qwhen' and `Qmargin'. (string_buffer_position): Remove unused variable `around'. (store_frame_title): Remove unused variable `width'.
* (display_line): For a tab continued to the next line,Gerd Moellmann2001-10-231-1/+4
| | | | set row's ends_in_middle_of_char_p.
* (display_line): Fix computation of continuation linesGerd Moellmann2001-10-221-5/+7
| | | | width for TABs.
* (build_desired_tool_bar_string): Remove unused variable `Qlaplace'.Pavel Janík2001-10-221-1/+0
|
* (invisible_text_between_p): Put prototype inside #if 0 because unused.Pavel Janík2001-10-201-0/+4
|
* (dump_glyph_row, display_mode_line): Don't use `inverse_p' field.Miles Bader2001-10-201-3/+1
|
* (redisplay_internal): Don't clear echo area if theGerd Moellmann2001-10-191-1/+5
| | | | mini-window is selected.
* (display_line): Indicate empty lines in activeGerd Moellmann2001-10-181-1/+2
| | | | mini-window.
* (try_window_id): Undo last change. Give up ifGerd Moellmann2001-10-171-24/+24
| | | | window ends in strings.
* (try_window_id): Don't display lines after the windowGerd Moellmann2001-10-171-16/+24
| | | | | end if the rest of the window after the window end was already blank.
* (try_window_id): Remove code that was only thereGerd Moellmann2001-10-171-15/+0
| | | | for the release of 21.1.
* (display_line): Don't indicate empty lines inGerd Moellmann2001-10-171-1/+2
| | | | mini-windows.
* Change doc-string comments to `new style' [w/`doc:' keyword].Miles Bader2001-10-171-86/+86
|
* (in_ellipses_for_invisible_text_p, handle_invisible_prop):Stefan Monnier2001-10-141-14/+11
| | | | Use new retval of TEXT_PROP_MEANS_INVISIBLE.
* (DOLIST, LOOP_PROPVAL): Remove.Stefan Monnier2001-10-141-77/+38
| | | | | (invisible_p): Return 1 or 2 depending on whether an ellipsis is used. (invisible_ellipsis_p, invisible_noellipsis_p): Remove.
* Put doc strings in comments.Gerd Moellmann2001-10-141-158/+159
|
* (init_iterator): Be more strict with bytepos and charspos.Stefan Monnier2001-10-121-65/+65
| | | | | | | (DOLIST, LOOP_PROPVAL): New macros. (invisible_p, invisible_ellipsis_p): Use them. (invisible_noellipsis_p): New function. (syms_of_xdisp): Use empty_string.
* (handle_fontified_prop): Don't bind after-change-functions.Stefan Monnier2001-10-081-1/+0
|
* Don't define min/max.Gerd Moellmann2001-10-081-3/+0
|
* (display_line): Set row's ends_in_newline_from_string_p.Gerd Moellmann2001-10-011-1/+4
| | | | | (try_window_id): Skip back over lines ending in a newline from a string.
* (display_mode_element): One more case where a string'sGerd Moellmann2001-09-271-1/+2
| | | | multibyteness should be used for display.
* (with_echo_area_buffer): Use echo_kboard insteadGerd Moellmann2001-09-261-1/+1
| | | | | of the only tempoarily set echoing flag for deciding when the cancel echoing.
* (make_cursor_line_fully_visible): Return 0 and setGerd Moellmann2001-09-261-49/+110
| | | | | | | | | fonts_changed_p if need larger matrices due to vscrolling. (try_scrolling, try_cursor_movement, redisplay_window): Give up on this round of redisplay if make_cursor_line_fully_visible fails. (CURSOR_MOVEMENT_*, SCROLLING_*): New enumerators. (try_cursor_movement, try_scrolling): Use them instead of integers.
* (display_mode_lines): Temporarily set selected_frameGerd Moellmann2001-09-261-12/+8
| | | | | | | and selected_window to the frame of the window whose mode-lines are display, and to the window itself. (redisplay_window, redisplay_mode_lines): Don't set selected_frame here.
* (display_mode_element): If the mode element is a symbolGerd Moellmann2001-09-251-1/+1
| | | | | with a string value, use that string's multibyteness for displaying.
* (row_containing_pos): Make externally visible.Gerd Moellmann2001-09-251-4/+1
|
* (decode_mode_spec): Add parameter MULTIBYTE.Gerd Moellmann2001-09-191-15/+24
| | | | | (display_mode_element): Display the string from decode_mode_spec depending on its multibyteness.
* (try_window_id) [!GLYPH_DEBUG]: Give up ifGerd Moellmann2001-09-181-0/+15
| | | | | | first_unchanged_at_end_row is in front of last_unchanged_at_beg_row. This code should be removed after the release of 21.1.
* (reseat_1): Set IT's multibyte_p flag according to theGerd Moellmann2001-09-131-0/+1
| | | | | current buffer's multibyteness when discarding the iterator's stack.
* (with_echo_area_buffer): Bind inhibit-modification-hooksGerd Moellmann2001-09-111-0/+1
| | | | to t in addition to read-only.
* (init_from_display_pos): Put some code in #if 0.Gerd Moellmann2001-09-111-6/+20
| | | | | | (add_to_log): Use bcopy instead of strcpy. (init_from_display_pos): Use an explicit loop over bytes in overlay strings instead of calling index.
* (Ftrace_to_stderr) [GLYPH_DEBUG]: Take args likeGerd Moellmann2001-09-101-6/+7
| | | | `format'.
* (init_from_display_pos): Don't compare the resultGerd Moellmann2001-09-071-1/+1
| | | | of calling index with NULL.
* (string_buffer_position): Use *single_char_property*Gerd Moellmann2001-09-051-3/+3
| | | | functions instead of the *single_property* functions.
* (handle_single_display_prop): Fix for int/Lisp_Object mixup.Stefan Monnier2001-09-041-4/+4
|
* (Qbuffer_position, Qposition, Qobject): New variables.Gerd Moellmann2001-08-301-17/+20
| | | | | | | | (syms_of_xdisp): Initialize them. (handle_single_display_prop): Don't change point, bind `object', `position', and `buffer-position' instead to the object having the `display' property, position in the object and position in the buffer.
* (display_mode_element): Use string_byte_to_char toGerd Moellmann2001-08-281-21/+33
| | | | | | | determine character positions in strings, use chars_in_text instead of strwidth. (dump_glyph_row) [GLYPH_DEBUG]: Take a glyph row instead of a matrix as parameter; this is easier to use from GDB.
* (init_from_display_pos, init_to_row_end): Return 0 ifGerd Moellmann2001-08-271-16/+54
| | | | | | | there exist overlay strings with newlines at POS. (text_outside_line_unchanged_p): Return 0 if changes start at START and overlays exist at START. Likewise for END. (try_window_id): Give up if init_to_row_end returns 0.
* (move_it_by_lines) <DVPOS < 0>: Start at the beginningGerd Moellmann2001-08-161-5/+3
| | | | | of the screen line, not text line, containing IT's current position.