1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 07:11:34 -08:00
Commit graph

25664 commits

Author SHA1 Message Date
Glenn Morris
424c157fc5 Fix typos. 2008-02-21 07:57:06 +00:00
Glenn Morris
b3af4b2893 Fix comment typo. 2008-02-21 07:56:06 +00:00
Glenn Morris
51bb97e85e Fix typos. 2008-02-21 07:55:42 +00:00
Glenn Morris
ca101cff6c Fix comment typo. 2008-02-21 07:55:04 +00:00
Kenichi Handa
c67174d397 (display_mode_element): Fix previous change. 2008-02-21 07:42:52 +00:00
Kenichi Handa
a73b562753 (decode_mode_spec): New arg string.
(display_mode_element): Adjusted for the above change.
2008-02-21 07:06:33 +00:00
Stefan Monnier
1b51154227 (Fcall_interactively): Use AREF. 2008-02-19 04:03:01 +00:00
Stefan Monnier
81aefea466 (font_unparse_xlfd): Don't ignore integer pixel size specs. 2008-02-18 18:38:49 +00:00
Jan Djärv
2d7117fe05 (Fx_show_tip): Set string to " " if empty. 2008-02-18 08:08:32 +00:00
Juanma Barranquero
5b09339783 *** empty log message *** 2008-02-17 21:56:39 +00:00
Dan Nicolaescu
a2b84f35b3 * simple.el (transient-mark-mode): Add an :init-value.
* startup.el (command-line): Use custom-reevaluate-setting for
transient-mark-mode.

* callint.c (syms_of_callint): Initialize Vmark_even_if_inactive
with Qt.
2008-02-17 16:57:44 +00:00
Kenichi Handa
43c0454d44 Include xterm.h.
[HAVE_NTGUI]: Include w32term.h.
[MAC_OS]: Include macterm.ch.
(font_otf_ValueRecord): Use make_number.
(font_finish_cache): Fix handling of reference count.
(font_clear_cache): Update num_fonts.
(font_open_entity): Update smallest_char_width and
smallest_font_height of the frame.
(font_close_object): Update num_fonts.
(Fclear_font_cache): Fix finding the target cache data.
2008-02-17 02:05:08 +00:00
Kenichi Handa
9459b1e901 (FONTSET_OBJLIST): New macro.
(fontset_find_font): Update font-object list of the fontset.
(free_realized_fontset): New function.
(free_face_fontset): Call free_realized_fontset.
(Ffont_info): Call font_close_object only when enable_font_backend
is set.
2008-02-17 02:03:44 +00:00
Kenichi Handa
3370d9f5b3 (xftfont_default_fid): Delete it.
(xftfont_open): Set xfont->fid to 0.
2008-02-17 02:03:32 +00:00
Kenichi Handa
559474f12d (ftxfont_default_fid): Delete it.
(ftxfont_open): Set xfont->fid to 0.
(ftxfont_end_for_frame): Clear data specifi to the frame and the
font-driver.
2008-02-17 02:03:19 +00:00
Kenichi Handa
d45fefc73c (xfont_draw): Use BLOCK_INPUT and UNBLOCK_INPUT. 2008-02-17 02:03:07 +00:00
Kenichi Handa
1c5c216ba9 (x_set_cursor_gc): Use display_info->font->fid for GCs.
(x_set_mouse_face_gc, x_new_font): Likewise.
(x_term_init): Setup display_info->font.
(x_delete_terminal): Free display_info->font.
2008-02-17 02:02:54 +00:00
Kenichi Handa
08c447f96e * xterm.h (struct x_display_info): New member font. 2008-02-17 02:02:33 +00:00
Kenichi Handa
74170e3879 (x_make_gc): Use the default font id of the frame for
GCs.
2008-02-17 02:01:59 +00:00
Kenichi Handa
9c9f2e85eb (handle_composition_prop): Set it->c to the fist
characte of the composed region.
(fill_composite_glyph_string): Set base_face->font_info to
s->font_info.  Get a face for ascii from base_face->ascii_face.
(BUILD_COMPOSITE_GLYPH_STRING): Call fill_composite_glyph_string
with a face already decided.
(x_produce_glyphs): Be sure to set it->ascent and it->descent to
non-negative.
(x_produce_glyphs): If the composition method is
..._WITH_GLYPH_STRING, call font_prepare_composition
unconditionally.
2008-02-17 02:01:43 +00:00
Kenichi Handa
19d4ac9360 (prepare_face_for_display): Use display_info->font->fid
for GCs.
(Finternal_set_font_selection_order): Call font_update_sort_order
only when enable_font_backend is set.
(realize_x_face): Set face->font_info to that of default face only
when enable_font_backend is set.
2008-02-17 02:01:26 +00:00
Glenn Morris
be61736756 (Finternal_char_font): Fix compilation warning. 2008-02-16 22:33:01 +00:00
Eli Zaretskii
634d3003f7 (init_user_info): Use TOKEN_USER and TOKEN_PRIMARY_GROUP instead of
char arrays.  Enlarge the size of array passed to get_token_information.
2008-02-16 17:05:24 +00:00
Eli Zaretskii
2930d11791 (Ffont_fill_gstring, Fget_font_glyphs): Fix compilation warnings. 2008-02-16 14:51:05 +00:00
Kenichi Handa
4cc1c8060a (ftfont_shape): Return Lispy number. 2008-02-16 12:40:42 +00:00
Dan Nicolaescu
792140469d Don't set `args', it breaks gdb --args. 2008-02-15 22:42:02 +00:00
Stefan Monnier
7f5d2c7241 (Finsert_file_contents): Adjust offsets when replacing
within a narrowed buffer.
2008-02-14 19:41:43 +00:00
Juanma Barranquero
b270d6afc0 *** empty log message *** 2008-02-14 12:35:01 +00:00
Kenichi Handa
b3bfad50d9 (decode_coding_object, encode_coding_object): Preserve
Vdeactivate_mark.  Delete unnecessary call of Fcurrnet_buffer.
2008-02-14 12:24:15 +00:00
Kenichi Handa
6edacc4375 *** empty log message *** 2008-02-14 12:21:58 +00:00
Juanma Barranquero
04e05596eb Use AREF, not ASLOT. 2008-02-14 01:05:46 +00:00
Stefan Monnier
915b2a6aa8 Undo last mistakenly commited change. 2008-02-13 22:39:30 +00:00
Stefan Monnier
02dfeba8a4 (smerge-auto-combine-max-separation): New var.
(smerge-auto-combine): New fun.
2008-02-13 15:10:57 +00:00
Stefan Monnier
13818c3078 * coding.c (coding_set_destination): Use BEG_BYTE rather than hardcoding 1.
(detect_coding_system):
* lisp.h (detect_coding_system, chars_in_text, multibyte_chars_in_text)
(string_char_to_byte, string_byte_to_char, insert_from_gap):
* insdel.c (insert_from_gap):
* fns.c (string_char_byte_cache_charpos, string_char_byte_cache_bytepos)
(string_char_to_byte, string_byte_to_char, string_make_multibyte)
(string_to_multibyte):
* character.c (chars_in_text, multibyte_chars_in_text):
* fileio.c (Finsert_file_contents): Use EMACS_INT for buffer positions.
2008-02-12 21:35:15 +00:00
Stefan Monnier
8b8bf8e68f (scan_lists): Follow coding convention. 2008-02-12 21:29:33 +00:00
Stefan Monnier
f1c9962838 (FETCH_STRING_CHAR_ADVANCE, FETCH_STRING_CHAR_AS_MULTIBYTE_ADVANCE)
(FETCH_STRING_CHAR_ADVANCE_NO_CHECK): Use SDATA and SREF.
(DEC_POS, BUF_DEC_POS): Use BEG_BYTE rather than hardcoding 1.
2008-02-12 21:27:54 +00:00
Stefan Monnier
fff23de29a Update copyrights. 2008-02-12 21:26:23 +00:00
Stefan Monnier
7927d8e343 (casify_region): Only call after-change and composition
functions on the part of the region that was changed.
2008-02-12 21:25:45 +00:00
Stefan Monnier
adf6a42938 (read_avail_input): Call Fdelete_terminal. 2008-02-12 04:05:29 +00:00
Stefan Monnier
174105f789 (Fdelete_frame): Call Fdelete_terminal. 2008-02-12 04:03:17 +00:00
Stefan Monnier
3ee24aecf6 (clone_per_buffer_values, reset_buffer_local_variables)
(Fbuffer_local_value, Fbuffer_local_variables): Don't forget undo_list.
2008-02-11 17:56:13 +00:00
Stefan Monnier
9ce376f9de (mark_buffer): Comment fix to clarify the status of Lisp fields. 2008-02-11 17:54:46 +00:00
Stefan Monnier
ccaf15bd0c (struct buffer): Comment fix to clarify the status of Lisp fields. 2008-02-11 17:54:15 +00:00
Juanma Barranquero
4ed4b97572 (read_key_sequence): Don't pass args with side effects to AREF,
it fails when compiling with -DENABLE_CHECKING.
2008-02-11 11:31:13 +00:00
Juanma Barranquero
0f71cdf20b (push_submenu_start, push_submenu_end, push_left_right_boundary, push_menu_pane,
push_menu_item): Don't pass args with side effects to AREF, it fails when
compiling with -DENABLE_CHECKING.
2008-02-11 11:28:35 +00:00
Kenichi Handa
6e76043fb4 (${lispsource}international/charprop.el): Delete
this target.
2008-02-11 05:34:40 +00:00
Kenichi Handa
79e3bfb824 *** empty log message *** 2008-02-11 05:30:24 +00:00
Kenichi Handa
f51995fa92 (boyer_moore): Fix incorrect synching of the trunk and
emacs-unicode-2.
2008-02-11 05:25:24 +00:00
Stefan Monnier
5897f44055 (Fdelete_frame): Fix stupid typo. 2008-02-11 05:25:15 +00:00
Stefan Monnier
5b8de9c5e6 (Fdelete_terminal): Clean up the `force' path. 2008-02-11 03:51:39 +00:00