1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-24 22:40:51 -08:00
Commit graph

17716 commits

Author SHA1 Message Date
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
Luc Teirlinck
303cdc2dfd (Fcheck_coding_system): Doc fix. 2003-12-28 19:47:58 +00:00
Kim F. Storm
204fb75e80 Fix cursor glyph height on tall rows.
Add image map feature.
Add pointer text property.
2003-12-28 00:15:01 +00:00
Kim F. Storm
83c6eb57fc (Qface, Qmouse_face): Remove unused externs.
(x_draw_hollow_cursor): Draw cursor using glyph's rather than
row's ascent and descent, to get a sensible height on tall rows.
2003-12-28 00:13:34 +00:00
Kim F. Storm
15aa58c18e (x_set_mouse_color): Remove bogus x_check_errors call.
(Qimage): Remove extern (now in lisp.h).
(valid_image_p, parse_image_spec): Use IMAGEP macro.
2003-12-28 00:13:10 +00:00
Kim F. Storm
d7078aefa0 (cache_face): Abort if c->size exceeds MAX_FACE_ID. 2003-12-28 00:12:45 +00:00
Kim F. Storm
493fdc3cc3 (Qarrow, Qhand, Qtext, Qpointer): New variables for
pointer types.
(Qrelative_width, Qalign_to): Remove unused variables.
(Vvoid_text_area_pointer): Replace Vshow_text_cursor_in_void.
(QCmap, QCpointer, Qrect, Qcircle, Qpoly): New variables for
image maps.
(x_y_to_hpos_vpos): Return glyph relative coordinates through
new dx and dy args.
Remove buffer_only_p arg (always 0).  Simplify code accordingly.
(get_glyph_string_clip_rect): Draw cursor using glyph's rather
than row's ascent and height, to get sensible height on tall rows.
(build_desired_tool_bar_string): Remove Qimage extern.
(get_tool_bar_item): Fix call to x_y_to_hpos_vpos.
(produce_image_glyph): Adjust it.ascent to minimum row ascent if
image glyph is alone on the last line.
(append_glyph, append_composite_glyph, produce_image_glyph)
(append_stretch_glyph): Set glyph's ascent and descent.
(on_hot_spot_p): New function to check if position is inside an
rectangular, circular, or polygon-shaped image hot-spot,
(find_hot_spot): New function to search for image hot-spot.
(Flookup_image_map): New defun to search for image hot-spot.
(define_frame_cursor1): New aux function to determine frame pointer.
(note_mode_line_or_margin_highlight, note_mouse_highlight):
Handle `pointer' text property and :pointer image property to
control frame pointer shape.  Detect image hot-spots for pointer
and help_echo properties.  Use define_frame_cursor1.
(note_mouse_highlight):	Use Vvoid_text_area_pointer.
(syms_of_xdisp): Defsubr new defun. Intern and staticpro new variables.
DEFVAR_LISP Vvoid_text_area_pointer instead of Vshow_text_cursor_in_void.
2003-12-28 00:12:27 +00:00
Kim F. Storm
82cf95a792 (Qimage): Remove extern (now in lisp.h).
(valid_image_p, parse_image_spec): Use IMAGEP macro.
2003-12-28 00:11:49 +00:00
Kim F. Storm
dea9b52152 (IMAGEP): New macro to test for image object type.
(Qimage): Declare extern.
2003-12-28 00:11:03 +00:00
Kim F. Storm
2e3f0f616b (Qimage): Remove extern (now in lisp.h).
(QCmap): Declare extern.
(make_lispy_position): When position is inside image hot-spot,
use hot-spot element as posn element.
2003-12-28 00:10:41 +00:00
Kim F. Storm
60bf162981 (buffer_posn_from_coords): Fix calculation of dy for
image glyph using image's ascent.
(mode_line_string): Return image glyph as object clicked on.
Adjust y0 for image glyph using image's ascent.
2003-12-28 00:10:12 +00:00
Kim F. Storm
01b1f0c05b (FACE_ID_BITS, MAX_FACE_ID): New defines.
(struct glyph): New members, ascent and descent.  Used to save
this glyph's ascent and descent, instead of having.
(struct glyph): Declare member face_id using FACE_ID_BITS.
(find_hot_spot): Add prototype.
2003-12-28 00:09:49 +00:00
Kim F. Storm
db4f9403e1 (Qface, Qmouse_face): Remove unused externs. 2003-12-27 23:19:43 +00:00
Kim F. Storm
f2dcea2bf9 (Qmouse_click, Qevent_kind): Remove unused externs. 2003-12-27 23:16:53 +00:00
Kim F. Storm
9fc63a8939 (show_help_event): Remove unused code. 2003-12-27 22:24:01 +00:00
Kim F. Storm
942b13fa0d (eval.o): Depend on dispextern.h. 2003-12-27 22:03:40 +00:00
Kenichi Handa
c7211bc531 *** empty log message *** 2003-12-26 11:39:22 +00:00
Luc Teirlinck
fc052137c5 *** empty log message *** 2003-12-25 18:07:44 +00:00
Luc Teirlinck
86408abdf4 (Fcompleting_read): Undo previous change. 2003-12-25 17:31:23 +00:00
Lars Hansen
b91485007d (Fdirectory_files, Fdirectory_files_and_attributes):
Arguments GCPRO'ed in call to file name handler.
2003-12-25 17:12:59 +00:00
Thien-Thi Nguyen
56ffd19437 (tgetst1): Scan for "%pN"; if all
N are continuous in [1,9], remove all "%pN".
2003-12-25 12:13:59 +00:00
Andreas Schwab
7862d3a8e9 Rebuild. 2003-12-24 16:46:28 +00:00
Jan Djärv
f26fab360e * gtkutil.c (xg_frame_set_char_size): Call x_wm_set_size_hint. 2003-12-24 10:35:24 +00:00
Jan Djärv
5202d23dfe * xfaces.c (lface_fully_specified_p): Take into account that
MAC OS always have unspecified stipple.
2003-12-24 10:29:59 +00:00
Thien-Thi Nguyen
8babaa5960 *** empty log message *** 2003-12-24 07:32:41 +00:00
Thien-Thi Nguyen
9ad4bf7a45 (tparam1): Add handling for `%pN', which
means use param N for the next substitution.
2003-12-24 07:31:42 +00:00
Thien-Thi Nguyen
2d176448ab (Fcolor_gray_p): Fix omission bug:
In case `frame' is nil, consult the selected frame.
(Fcolor_supported_p): Likewise.
2003-12-24 06:39:58 +00:00
Luc Teirlinck
000eeb1587 *** empty log message *** 2003-12-24 00:21:03 +00:00
Luc Teirlinck
ac1106fcce (Fset_char_table_range): Doc fix. 2003-12-24 00:17:58 +00:00
Luc Teirlinck
0dc72b11db (Frandom, Fstring_make_multibyte): Doc fixes. 2003-12-23 23:08:08 +00:00
Luc Teirlinck
adb0708c03 (read_minibuf): Allow INITIAL to be a cons of a string and an integer.
Adapt the docstring accordingly.
(Fread_from_minibuffer): Delete code moved into read_minibuf.
Doc fix.
(Fread_minibuffer, Fread_no_blanks_input): Adapt to changes in
read_minibuf.
(Fcompleting_read): Delete code moved into read_minibuf.
(Ftest_completion): Make it handle obarrays and hash tables correctly.
2003-12-23 22:22:49 +00:00
Kenichi Handa
2e4d132b1c *** empty log message *** 2003-12-03 08:33:20 +00:00
Kenichi Handa
47dc91adce (decode_coding_iso2022): Fix for preserving UTF-8
encoding sequence.
2003-12-03 08:23:53 +00:00
Kenichi Handa
3999c70516 *** empty log message *** 2003-12-01 13:06:41 +00:00
Kenichi Handa
1ace9906b3 (syms_of_composite): Don't make the compostion hash table week. 2003-12-01 12:33:13 +00:00
Luc Teirlinck
d344ecbbae *** empty log message *** 2003-11-30 17:51:56 +00:00
Luc Teirlinck
47b54808f1 Add EXFUN for Fget_char_property_and_overlay. 2003-11-30 17:12:40 +00:00
Luc Teirlinck
97a1bc6376 (Fget_char_property_and_overlay): New function.
(syms_of_textprop): Defsubr it.
2003-11-30 17:08:28 +00:00
Jan Djärv
019b1f0e33 * dispnew.c (buffer_posn_from_coords): Add ifdef HAVE_WINDOW_SYSTEM
to compile on terminal configuration.
2003-11-29 11:10:07 +00:00