1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-14 15:30:29 -08:00
Commit graph

15873 commits

Author SHA1 Message Date
Andrew Choi
f00691a3e4 In src/:
2002-06-16  Andrew Choi  <akochoi@shaw.ca>

        * fontset.c (syms_of_fontset) [MAC_OS]: Set ASCII font of
        Vdefault_fontset to Monaco with mac-roman coding.

        * mac.c, macfns.c, macmenu.c, macterm.c: Undefine and redefine
        init_process before and after inclusion of Carbon/Carbon.h, resp.

        * macterm.c (x_new_font): Set font for normal_gc, reverse_gc, and
        cursor_gc.
        (add_font_name_table_entry): New function.
        (init_font_name_table): Use add_font_name_table_entry; add italic,
        bold, and bold-italic entries for truetype fonts.

        * xfaces.c (init_frame_faces) [MAC_OS]: Call realize_basic_faces
        for Mac too.
        (try_font_list) [MAC_OS]: If no font matches given registry, try
        fonts with any registry matching face_family.
        (realize_x_face) [MAC_OS]: Remove old ad-hoc fix to load font
        here.

        * s/darwin.h: If autoconf detects the Ncurses library, define
        LIBS_TERMCAP to -lncurses to use it.

In lisp/:

2002-06-16  Andrew Choi  <akochoi@shaw.ca>

        * term/mac-win.el (scalable-fonts-allowed): Set to t.
2002-06-16 23:08:57 +00:00
Eli Zaretskii
5fd4d15974 *** empty log message *** 2002-06-16 17:31:12 +00:00
Eli Zaretskii
cfc905a110 [__hpux]: Include sys/_mbstate_t.h. 2002-06-16 17:30:50 +00:00
Richard M. Stallman
93731c54dc *** empty log message *** 2002-06-15 14:27:00 +00:00
Richard M. Stallman
72695e4715 (Fset_window_configuration): Explicitly preserve
the point value that new_current_buffer had at the start.
2002-06-15 14:20:52 +00:00
Juanma Barranquero
2268661ae2 (Fcompose_region_internal, Fcompose_string_internal): Fix typos. 2002-06-14 16:29:11 +00:00
Pavel Janík
cc1b792b06 *** empty log message *** 2002-06-14 08:28:35 +00:00
Kim F. Storm
9dde4e0c8f (insert_1_both, insert_from_string_1)
(insert_from_buffer_1): Recalculate END_UNCHANGED in case the
insert happened in the end_unchanged region.  Otherwise, the
redisplay may be confused and duplicate the last line in the
buffer [seen after save-buffer when require-final-newline==t].
2002-06-13 22:07:13 +00:00
Kim F. Storm
e4f10c83ed *** empty log message *** 2002-06-13 22:06:32 +00:00
Jason Rumney
91224f9ebf *** empty log message *** 2002-06-13 20:42:37 +00:00
Jason Rumney
bc5fdfc7b2 (init_environment): Remove EMACSLOCKDIR.
(stat): Swap _S_IFDIR and _S_IFREG.
2002-06-13 20:41:33 +00:00
Jason Rumney
960f21aef0 *** empty log message *** 2002-06-13 18:42:36 +00:00
Jason Rumney
81b91e8934 (init_environment): Remove EMACSLOCKDIR. 2002-06-13 18:41:17 +00:00
Pavel Janík
e43bd4f5b2 *** empty log message *** 2002-06-13 15:00:02 +00:00
Pavel Janík
3b8f965153 Rename enum event_kind items. 2002-06-13 14:59:38 +00:00
Pavel Janík
b3e8cc4dfb Remove declaration of Qmouse_click and Qevent_kind. 2002-06-12 20:55:27 +00:00
Stefan Monnier
91b5390444 (textget): Don't forget to `return'.
(lookup_char_property): Use XCAR/XCDR.
2002-06-12 13:29:55 +00:00
Juanma Barranquero
8b22c65ad8 (Fformat_mode_line): Fix typo. 2002-06-12 09:37:43 +00:00
Kim F. Storm
8143e6ab15 (Fformat_mode_line): New function.
(frame_title_buf, frame_title_buf_end, frame_title_ptr)
(store_frame_title_char, store_frame_title): Use unconditionally.
(init_xdisp): Defsubr Fformat_mode_line.
Initialize frame_title_buf etc. unconditionally.
2002-06-11 22:27:11 +00:00
Kim F. Storm
aba91547ff *** empty log message *** 2002-06-11 22:25:44 +00:00
Stefan Monnier
2cf4b7b27f (read_key_sequence):
Remove prev_(fkey|keytran}_(map|start|end) since we don't want to pass
things through those maps after downcasing events.
Enforce that keytran_end <= fkey_start, i.e. that key-translation-map
applies after function-key-map.
Make sure that keytran can be done in the middle in the sequence.
Be careful not to throw away events past the one we downcase.
2002-06-11 19:51:53 +00:00
Richard M. Stallman
0672b5a0b9 *** empty log message *** 2002-06-11 19:30:09 +00:00
Richard M. Stallman
a0ba8995e3 (readable_events): Ignore any number of
FOCUS_IN_EVENT events and return 0 if nothing else in buffer.
2002-06-11 19:29:40 +00:00
Stefan Monnier
f74db72024 (read_integer): Remove unused var `tem'.
(read1): Fix int/Lisp_Object mixup.
2002-06-11 15:13:58 +00:00
Stefan Monnier
51f86bfc2e (tty_lookup_color): Type bool/Lisp_Object mismatch fixed. 2002-06-11 15:09:36 +00:00
Miles Bader
ab2e49a0b5 *** empty log message *** 2002-06-09 13:03:29 +00:00
Miles Bader
b35df831c5 (Ftty_supports_face_attributes_p): New function.
(parse_rgb_list, tty_lookup_color): New functions.
(tty_defined_color): Use `tty_lookup_color' to do all the work.
(color_distance, Fcolor_distance): New functions.
(TTY_SAME_COLOR_THRESHOLD): New macro.
(Qtty_color_standard_values): New variable.
(syms_of_xfaces): Initialize new vars & functions.
2002-06-09 13:02:16 +00:00
Colin Walters
a8f5766042 *** empty log message *** 2002-06-08 21:06:40 +00:00
Colin Walters
9a593927e9 (Foverlay_get): Use lookup_char_property. 2002-06-08 20:25:31 +00:00
Colin Walters
948fe32d39 (lookup_char_property): New function for looking up overlay and text
properties, created from textget.
(textget): Use it.
2002-06-08 20:25:17 +00:00
Colin Walters
14112a3fb0 (lookup_char_property): Declare.
(Vchar_property_alias_alist): Declare.
2002-06-08 20:24:55 +00:00
Colin Walters
49d110a8aa (Vchar_property_alias_alist): New variable.
(syms_of_textprop) <Vchar_property_alias_alist>: DEFVAR_LISP.
2002-06-08 20:24:35 +00:00
Richard M. Stallman
9583b2bb27 Comment change. 2002-06-08 18:30:02 +00:00
Sam Steingold
1b65481e29 (lisp_data_to_selection_data): Fix last change:
*data_ret is not a Lisp string, while unibyte_string is.
2002-06-07 22:05:07 +00:00
Eli Zaretskii
9cbd5852b6 (lisp_data_to_selection_data): Fix last change: set size_ret. 2002-06-07 13:44:04 +00:00
Andreas Schwab
3fa4ac47ab Add Support for x86-64. 2002-06-07 11:17:55 +00:00
Eli Zaretskii
4ddc38a169 *** empty log message *** 2002-06-05 17:48:42 +00:00
Eli Zaretskii
f8f2fbf963 (Fstring_make_unibyte): Doc fix. 2002-06-05 17:47:50 +00:00
Eli Zaretskii
8f9b87b556 (lisp_data_to_selection_data): If the requested type
is STRING, call string_make_unibyte to encode the selected text
as a string.
2002-06-05 17:38:19 +00:00
Eli Zaretskii
ebadb1e47f (Fset_window_hscroll): Doc fix. 2002-06-05 17:02:15 +00:00
Ken Raeburn
382f558bf2 fix my address 2002-06-05 07:08:54 +00:00
Pavel Janík
1909941afc *** empty log message *** 2002-06-05 05:17:06 +00:00
Pavel Janík
905a427657 (choose_write_coding_system): Call select-safe-coding-system properly. 2002-06-05 05:16:48 +00:00
Richard M. Stallman
3a2ff803ab *** empty log message *** 2002-06-03 22:59:22 +00:00
Richard M. Stallman
5b6d51b6e8 (message_with_string): Error if STRING is not a string. 2002-06-03 22:44:31 +00:00
Richard M. Stallman
1e59646d69 (md5): Pass FILE arg to Vselect_safe_coding_system_function. 2002-06-03 22:37:15 +00:00
Richard M. Stallman
7721868125 (choose_write_coding_system):
Pass FILE arg to Vselect_safe_coding_system_function.
2002-06-03 22:36:06 +00:00
Ken Raeburn
504322ad23 * buffer.c (fix_overlays_before): Fix list-walking bug in 05-19 change. 2002-06-03 18:03:26 +00:00
Thien-Thi Nguyen
e2c0561ec5 (current_column): Now returns float.
(indented_beyond_p): 3rd arg now a float.
2002-06-03 01:58:20 +00:00
Thien-Thi Nguyen
097812fb66 (last_known_column): Now a float.
(current_column_1, position_indentation, current_column,
string_display_width): Return float.
(Fcurrent_column): Cast `current_column' return value to int.
(Fcurrent_indentation): Cast `position_indentation' retval to int.
(indented_beyond_p): Third arg now a float.
(compute_motion, vmotion): Cast `indented_beyond_p' 3rd arg to float.
2002-06-03 01:52:02 +00:00