1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-25 06:50:46 -08:00
Commit graph

11290 commits

Author SHA1 Message Date
Dave Love
bae2503b0a *** empty log message *** 2000-05-04 22:40:05 +00:00
Dave Love
6c9a74728b (syms_of_buffer) [auto-fill-function]: Doc fix. 2000-05-04 22:00:40 +00:00
Dave Love
8dd61bafa1 (syms_of_charset) [auto-fill-chars]: Doc fix. 2000-05-04 21:57:05 +00:00
Gerd Moellmann
ec82fb2f40 *** empty log message *** 2000-05-04 21:52:38 +00:00
Gerd Moellmann
06d8227a86 (insert_from_buffer_1): Adjust FROM position by number
of inserted characters when BUF equals the current buffer, and PT
is in front of or equal to FROM.
2000-05-04 21:45:40 +00:00
Gerd Moellmann
4ff40dd081 *** empty log message *** 2000-05-03 19:49:39 +00:00
Gerd Moellmann
a21a394398 (handle_single_display_prop): If display property value
is invalid, or something not supported on the frame, restore
iterator's position to what it was initially.  Make sure to return
0 for invalid and unsupported property values.
2000-05-03 19:48:35 +00:00
Gerd Moellmann
cbf18892c4 *** empty log message *** 2000-05-03 12:34:27 +00:00
Gerd Moellmann
329bed06e9 (x_produce_glyphs) <composite chars>: Handle case
that x_per_char_metric returns null.
2000-05-03 11:39:25 +00:00
Gerd Moellmann
576da55d72 *** empty log message *** 2000-05-02 20:12:37 +00:00
Gerd Moellmann
7c7ff7f5d1 (Qcenter): New variable.
(enum image_value_type): Add IMAGE_ASCENT_VALUE.
(parse_image_spec): Handle IMAGE_ASCENT_VALUE.
(image_ascent): New function.
(lookup_image): Recognize `:ascent center'.
(xbm_format, xpm_format, pbm_format, png_format, jpeg_format)
(tiff_format, gif_format, gs_format): Use IMAGE_ASCENT_VALUE.
(xbm_load): Don't set image's ascent here.
(xbm_image_p, xpm_image_p, pbm_image_p, png_image_p)
(jpeg_image_p, tiff_image_p, gif_image_p, gs_image_p): Don't
check ascent values here.
(Fimagep, Flookup_image [GLYPH_DEBUG]: Removed.
(syms_of_xfns) [GLYPH_DEBUG]: Don't defsubr removed functions.
(syms_of_xfns): Initialize Qcenter.
2000-05-02 20:03:32 +00:00
Gerd Moellmann
bdda7eb033 (DEFAULT_IMAGE_HEIGHT): New macro.
(IMAGE_ASCENT): Removed.
2000-05-02 20:02:55 +00:00
Gerd Moellmann
95af8492a3 (x_produce_image_glyph, x_draw_image_foreground)
(x_draw_image_relief, x_draw_image_foreground_1): Call function
image_ascent instead of using IMAGE_ASCENT.
2000-05-02 20:02:29 +00:00
Gerd Moellmann
a6ce554033 (struct face): Add forward declaration.
(struct image): Ditto.
(image_ascent): Add prototype.
2000-05-02 20:01:46 +00:00
Gerd Moellmann
1b0672c3f9 *** empty log message *** 2000-05-02 13:47:06 +00:00
Gerd Moellmann
8515044c32 (Fsignal): If lisp_eval_depth or spepdl_size are near
to the limits, increase the limits.
2000-05-02 13:41:03 +00:00
Kenichi Handa
40292c8a39 (fs_load_font): By default, use 0x00..0x7f for ASCII.
Check Vfont_encoding_alist against the full name of the opened
font.
2000-05-01 00:57:23 +00:00
Kenichi Handa
0d7811edd0 *** empty log message *** 2000-05-01 00:55:28 +00:00
Dave Love
a9cacab79c *** empty log message *** 2000-04-28 17:03:43 +00:00
Gerd Moellmann
a943a5ca3e (make_cursor_line_fully_visible): Handle case of rows
taller than the window.
2000-04-28 13:39:21 +00:00
Kenichi Handa
0badc11418 (realize_x_face): Fix the argument of the second
xassert.  BASE_FACE may not be a face for ASCII.
2000-04-28 12:57:52 +00:00
Kenichi Handa
5dba1e292f *** empty log message *** 2000-04-28 12:52:32 +00:00
Gerd Moellmann
c76e04a8d5 *** empty log message *** 2000-04-27 19:12:09 +00:00
Gerd Moellmann
5be6c3b044 (slurp_file): New function.
(xbm_image_p): Handle case of in-memory XBM files.
(xbm_scan): Rewritten to work on memory buffers instead of files.
(xbm_read_bitmap_data): Renamed from xbm_read_bitmap_file_data.
Work on memory buffers instead of files.  If DATA is null test
if buffer looks like an in-memory XBM file.
(xbm_load_image): Renamed from xbm_load_image_file.  Work on
memory buffers instead of files.
(xbm_file_p): New function.
(xbm_load): Accept :data DATA where DATA is an in-memory XBM file.
2000-04-27 19:11:04 +00:00
Gerd Moellmann
035eec486e (read1): Don't treat period followed by certain
characters as symbol start.
2000-04-27 19:10:15 +00:00
Gerd Moellmann
7e0ba6da56 (TERMCAP_OBJ): Removed.
(LIBS_TERMCAP): Don't define for __FreeBSD_version >= 400000.
2000-04-27 19:09:58 +00:00
Gerd Moellmann
c2f646d6bb (termcapobj): Don't use TERMCAP_OBJ. 2000-04-27 19:09:43 +00:00
Gerd Moellmann
42ac1ed4d1 (print_object): Treat print-length < 0 as nil. 2000-04-27 19:09:17 +00:00
Gerd Moellmann
353964e391 *** empty log message *** 2000-04-27 10:52:35 +00:00
Gerd Moellmann
9c97398c32 (end_of_file_error): New function.
(read1): Call it instead of signaling `end-of-file' directly.
2000-04-27 10:48:11 +00:00
Gerd Moellmann
c02279de38 (print_error_message): Print data of `end-of-file'
with Fprinc instead of Fprin1.
2000-04-27 10:47:45 +00:00
Ken Raeburn
24d744ac9c (freeze_window_start): Check that minibuffer scroll window isn't nil before
extracting the window structure pointer from it.
2000-04-26 18:41:05 +00:00
Ken Raeburn
86a375f869 (record_delete): If we hit the end of the undo list, stop picking elements
apart.
2000-04-26 18:39:30 +00:00
Gerd Moellmann
7464346de7 *** empty log message *** 2000-04-26 17:46:21 +00:00
Gerd Moellmann
e6819fafa3 (display_line): If lines are continued, restore
iterator's ascent/descent information to the values before the
first glyph not fitting on the line.
2000-04-26 17:43:04 +00:00
Gerd Moellmann
612839b6b2 *** empty log message *** 2000-04-25 19:43:58 +00:00
Gerd Moellmann
f2d86d7a04 (try_window_id) <all changes above window start>: Adjust
positions in glyph matrix.  Don't compute new window end
positions.
2000-04-25 19:41:30 +00:00
Gerd Moellmann
86c11ba1c8 (increment_matrix_positions): Renamed from
increment_glyph_matrix_buffer_positions.
(increment_row_positions): Renamed from
increment_glyph_row_buffer_positions.
2000-04-25 19:39:59 +00:00
Gerd Moellmann
84fc6d4d2d Change names of renamed functions from dispnew.c in prototypes. 2000-04-25 19:38:48 +00:00
Gerd Moellmann
abfcc168d3 *** empty log message *** 2000-04-24 18:48:24 +00:00
Gerd Moellmann
b272d62400 (Fdo_auto_save): Create directories for auto-save
list file if necessary.
2000-04-24 18:41:54 +00:00
Gerd Moellmann
cc181e9561 *** empty log message *** 2000-04-24 14:01:22 +00:00
Gerd Moellmann
d475bcb854 (init_iterator): Set iterator's extra_line_spacing
from buffer or frame.
(automatic_hscrolling_p): New variable.
(hscroll_windows): Scroll windows horizontally only if automatic
hscrolling is allowed.
(syms_of_xdisp): New variable `automatic-hscrolling'.
2000-04-24 13:57:11 +00:00
Gerd Moellmann
d1738c45ca (struct frame): Add member extra_line_spacing. 2000-04-24 13:56:30 +00:00
Gerd Moellmann
563b67aafd (x_set_line_spacing): New function.
(Fx_create_frame): Set line spacing from resources.
(Qline_spacing): New variable.
(syms_of_xfns): Initialize Qline_spacing.
2000-04-24 13:56:04 +00:00
Gerd Moellmann
ecb5709c70 (USAGE2): Add --line-spacing' and -lsp'. 2000-04-24 13:55:28 +00:00
Gerd Moellmann
a3bbced0df (init_buffer_once): Handle extra_line_spacing.
(syms_of_buffer): Add `default-line-spacing' and `line-spacing'.
(reset_buffer): Don't initialize extra2 and extra3.  Intialize
extra_line_spacing from default value.
(init_buffer_once): Initialize default value of extra_line_spacing.
2000-04-24 13:55:05 +00:00
Gerd Moellmann
82b911fda5 (struct buffer): Add extra_line_spacing, remove extra2
and extra3.
2000-04-24 13:54:35 +00:00
Gerd Moellmann
d365f5bb0b (x_produce_glyphs): Remove reference to struct it's
prompt_width.  Add extra line spacing.
2000-04-24 13:54:04 +00:00
Gerd Moellmann
2efdbcddfa (produce_glyphs): Remove reference to struct it's prompt_width. 2000-04-24 13:53:16 +00:00