1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-07 04:10:27 -08:00
Commit graph

17754 commits

Author SHA1 Message Date
Kim F. Storm
5fbcdd1927 (x_update_window_end): Call draw_window_fringes.
(x_after_update_window_line): Just set redraw_fringe_bitmaps_p
in row instead of actually drawing fringe bitmaps.
(w32_draw_fringe_bitmap): Handle bottom aligned bitmaps.
(w32_draw_window_cursor): Draw cursor in fringe.
2004-01-16 18:46:47 +00:00
Kim F. Storm
797dc7b8e2 (x_update_window_end): Call draw_window_fringes.
(x_after_update_window_line): Just set redraw_fringe_bitmaps_p
in row instead of actually drawing fringe bitmaps.
(x_draw_fringe_bitmap): Handle bottom aligned bitmaps.
(mac_draw_window_cursor): Draw cursor in fringe.
2004-01-16 18:46:29 +00:00
Kim F. Storm
60e992936a (row_equal_p, update_window_line): Compare fringe bitmaps
instead of related indicator fields.
Compare exact_window_width_line_p and cursor_in_mouse_face_p indicators.
(direct_output_for_insert): Handle exact width lines like
contined lines.  Call update_window_fringes.
(update_window): Call update_window_fringes.
(scrolling_window): Don't skip desired rows with changed bitmaps.
Check if fringe bitmaps changes when assigning scrolled rows.
2004-01-16 18:46:11 +00:00
Kim F. Storm
557c387e70 (struct glyph_row): New members left_fringe_bitmap,
right_fringe_bitmap, redraw_fringe_bitmaps_p for new fringe handling.
New members exact_window_width_line_p and cursor_in_fringe_p for
overflowing newlines into right fringe.
New members indicate_bob_p, indicate_top_line_p, indicate_eob_p,
and indicate_bottom_line_p for buffer boundaries and scrolling.
(enum fringe_bitmap_type): Add UP_ARROW_BITMAP, DOWN_ARROW_BITMAP,
FIRST_LINE_BITMAP, LAST_LINE_BITMAP, FILLED_BOX_CURSOR_BITMAP,
HOLLOW_BOX_CURSOR_BITMAP, BAR_CURSOR_BITMAP, HBAR_CURSOR_BITMAP,
and HOLLOW_SQUARE_BITMAP.
(draw_fringe_bitmap, draw_window_fringes, update_window_fringes):
Add prototypes.
2004-01-16 18:40:46 +00:00
Kim F. Storm
40b2672a79 (struct buffer): New member indicate_buffer_boundaries. 2004-01-16 18:40:33 +00:00
Kim F. Storm
8e8767f80e (init_buffer_once): Set buffer_defaults and
buffer_local_flags for indicate_buffer_boundaries.
(syms_of_buffer): Defvar_per_buffer it, and defvar_lisp_nopro
default- variable for it.
2004-01-16 18:40:22 +00:00
Kim F. Storm
77a9cf6944 Add cursor in fringe support.
Add buffer boundary and scrolling indications.
2004-01-16 18:39:56 +00:00
Jan Djärv
a633a9544b * xterm.c (handle_one_xevent): Don't handle characters that are part
of an old style (XLookupString) compose sequence.
2004-01-16 10:21:54 +00:00
Kenichi Handa
8046052576 (Freplace_match): Use make_multibyte_string or
make_unibyte_string according to the buffer multibyteness.
2004-01-15 11:31:57 +00:00
Stefan Monnier
7fc34f8550 *** empty log message *** 2004-01-14 14:40:24 +00:00
Stefan Monnier
d05b383acd (struct interval_block, struct string_block)
(struct symbol_block, struct marker_block, live_string_p)
(live_cons_p, live_symbol_p, live_float_p, live_misc_p):
Better preserve alignment for objects in blocks.
(FLOAT_BLOCK_SIZE): Adjust for possible alignment padding.
2004-01-14 14:35:23 +00:00
Stefan Monnier
2fcad71e3e (defvar_per_buffer): Remove dead declaration. 2004-01-14 14:29:48 +00:00
Stefan Monnier
eccab14434 (do_check_ram_size): Don't hardcode the lisp address space size. 2004-01-14 14:24:38 +00:00
Jan Djärv
66070bd113 * xmenu.c (popup_get_selection): Check new parameter down_on_keypress
if a key press should pop down.  Only pop down if a key is pressed
outside the menu/dialog.
(create_and_show_popup_menu): Pass 0 for down_on_keypress to
popup_get_selection.
(create_and_show_dialog): Pass 1 for down_on_keypress to
popup_get_selection.
2004-01-12 01:46:49 +00:00
Jan Djärv
de7515d6b8 * alloc.c (allocate_vectorlike): Surround calls to mallopt with
BLOCK/UNBLOCK_INPUT.
2004-01-11 21:50:12 +00:00
Jan Djärv
160b1b50f9 * xmenu.c (Fx_popup_dialog): Add an Ok button if no buttons are
specified.
2004-01-08 21:04:32 +00:00
Kenichi Handa
3a9f36e634 (Fformat): Fix '&' to '&&'. 2004-01-08 08:40:12 +00:00
Andreas Schwab
3803eb324e (print_preprocess) <case Lisp_Vectorlike>: Only mask
size if PSEUDOVECTOR_FLAG is set.
2004-01-08 00:16:25 +00:00
Kenichi Handa
74ac5074b4 (Fdeclare_equiv_charset): Fix docstring. 2004-01-07 12:50:15 +00:00
Kenichi Handa
9da88f3786 (fontset_ref_via_base): Fix previous change. 2004-01-07 00:24:44 +00:00
Kim F. Storm
05faee07bb *** empty log message *** 2004-01-06 23:49:51 +00:00
Kim F. Storm
05b72afdef (read_process_output): Only activate adaptive
buffering if we read less than 256 bytes at a time.
2004-01-06 23:34:45 +00:00
Kim F. Storm
349c653ee5 (note_mode_line_or_margin_highlight): Use modified
mode_line_string and marginal_area_string functions to handle
both string object and image object properties.
2004-01-06 22:38:23 +00:00
Kim F. Storm
03c975a4cb (POSN_POSN, POSN_SET_POSN): Rename macros from
POSN_BUFFER_POSN and POSN_SET_BUFFER_POSN. All uses changed.
(POSN_INBUFFER_P, POSN_BUFFER_POSN): New macros.
2004-01-06 22:37:48 +00:00
Kim F. Storm
eee5863b68 (make_lispy_position): Use modified mode_line_string,
buffer_posn_from_coords, and marginal_area_string functions to
include both string object and image object in the lispy position.
Also add actual glyph width and height to position.
(read_key_sequence): Use real buffer position from mouse
event to find keymap property even when click is in marginal area.
2004-01-06 22:37:39 +00:00
Kim F. Storm
6a3d9c9ff4 (buffer_posn_from_coords): Return both buffer/string
object and image object.  Return glyph width and height.
(mode_line_string, marginal_area_string): Ditto.
2004-01-06 22:37:11 +00:00
Kim F. Storm
0a0c9ab0e4 (buffer_posn_from_coords, mode_line_string)
(marginal_area_string): Fix prototypes.
2004-01-06 22:36:41 +00:00
Kim F. Storm
634910c8fb *** empty log message *** 2004-01-06 22:35:56 +00:00
Andreas Schwab
57951c2efa (skip_chars): Treat '-' at end of string as ordinary
character.
2004-01-06 16:11:00 +00:00
Richard M. Stallman
e995d23a39 (decode_any_window): New function.
(Fwindow_height, Fwindow_width, Fwindow_edges)
(Fwindow_pixel_edges, Fwindow_inside_edges)
(Fwindow_inside_pixel_edges): Use decode_any_window.
2004-01-03 21:17:51 +00:00
Andreas Schwab
181e6a61ec (emacs_options, x_initialized, same_x_server): Remove
unused (and duplicated) definitions.
2004-01-02 22:17:42 +00:00
Kim F. Storm
31e0fbdd43 *** empty log message *** 2004-01-01 23:44:00 +00:00
Kim F. Storm
2d942bfadf (ADAPTIVE_READ_BUFFERING): New conditional.
(READ_OUTPUT_DELAY_INCREMENT, READ_OUTPUT_DELAY_MAX)
(READ_OUTPUT_DELAY_MAX_MAX): New constants.
(process_output_delay_count, process_output_skip): New vars.
(Vprocess_adaptive_read_buffering): New variable.
(make_process): Initialize adaptive read buffering members.
(Fstart_process): Set adaptive_read_buffering member.
(deactivate_process): Cleanup adaptive read buffering.
(wait_reading_process_input): Temporarily omit delayed
subprocesses from the set of file descriptors to read from;
adjust the select timeout if we skipped any subprocesses.
(read_process_output): Increase adaptive read buffering delay if
we read less than a full buffer; reduce delay when we read a
full buffer.
(send_process): Simplify using local Lisp_Process var.
Reset adaptive read buffering delay after write.
(init_process): Initialize process_output_delay_count and
process_output_skip.
(syms_of_process): DEFVAR_LISP Vprocess_adaptive_read_buffering.
2004-01-01 23:34:14 +00:00
Kim F. Storm
2ba4be11b7 (struct Lisp_Process): New members for adaptive read
buffering: adaptive_read_buffering, read_output_delay, and
read_output_skip.
2004-01-01 23:33:58 +00:00
Jason Rumney
68c6a789cc (w32_text_out): Use s->font, for consistency with callers. 2004-01-01 22:51:46 +00:00
Luc Teirlinck
3f70fe8247 *** empty log message *** 2003-12-31 00:32:19 +00:00
Luc Teirlinck
3297ec22bd (Fsignal): Add hyperlink to the definition of `signal' in the Elisp manual. 2003-12-31 00:27:07 +00:00
Luc Teirlinck
f82ec1e6ee (Ferror_message_string): Add hyperlink to the definition of `signal'
in the Elisp manual.
2003-12-31 00:24:28 +00:00
Eli Zaretskii
c2be49ed92 *** empty log message *** 2003-12-29 14:06:29 +00:00
Eli Zaretskii
74a47d1fba (internal_equal): Return t for two NaN arguments. 2003-12-29 13:51:54 +00:00
Richard M. Stallman
7abd90ea98 (store_symval_forwarding): Handle setting default-fill-column, etc.,
by changing buffers that use the default.
2003-12-29 11:29:18 +00:00
Richard M. Stallman
dea7e2ba84 (Fset_minibuffer_window): Doc fix. 2003-12-29 11:25:21 +00:00
Richard M. Stallman
dc2628c113 (choose_write_coding_system): Ignore auto_saving
if using the visited file for auto saves.
(Fwrite_region): Don't update SAVE_MODIFF
if auto-saving in visited file.
2003-12-29 11:24:14 +00:00
Richard M. Stallman
6c2ef89342 Comment change. 2003-12-29 11:22:31 +00:00
Kenichi Handa
3e7cfcdc3d *** empty log message *** 2003-12-29 07:11:58 +00:00
Kenichi Handa
b64c9a0407 (face_font_available_p): New function. 2003-12-29 06:54:55 +00:00
Kenichi Handa
2f65c7b5ef (Voverriding_fontspec_alist): New variable.
(lookup_overriding_fontspec): New function.
(fontset_ref_via_base): Call lookup_overriding_fontspec if
necessary.
(fontset_font_pattern): Likewise.
(regulalize_fontname): New function.
(Fset_fontset_font): Call regulalize_fontname.
(Fset_overriding_fontspec_internal): New function.
(syms_of_fontset): Initialize and staticprop
Voverriding_fontspec_alist.
(syms_of_fontset): Defsubr Sset_overriding_fontspec_internal.
2003-12-29 06:53:50 +00:00
Kenichi Handa
475a1234b7 (face_font_available_p): Extern it. 2003-12-29 06:53:28 +00:00
Richard M. Stallman
d674d13e14 (Fother_buffer): Don't crash if BUF is nil
or if its name is nil.

(Fkill_buffer): Don't delete auto-save file
if it's the same as the visited file.
2003-12-28 22:16:57 +00:00
Luc Teirlinck
de1d1a4051 (Fcheck_coding_system): Further doc fix. 2003-12-28 19:54:24 +00:00