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

8110 commits

Author SHA1 Message Date
Kenichi Handa
f1c54f1aed (Fsref): If IDX points an 8-bit code which is not part
of multibyte characters, return it.  Pay attention to
enable-multibyte-characters.
1997-11-08 03:05:44 +00:00
Kenichi Handa
733eafd8ed (find_charset_in_str): Handle the case that STR
contains invalid multibyte-form.
1997-11-08 03:05:44 +00:00
Kenichi Handa
c952af2245 (setup_coding_system): Initialize common_flags member
instead of require_flushing member of `*coding'.
(code_convert_region): Fix previous change.
1997-11-08 03:05:44 +00:00
Kenichi Handa
a5ee738b63 (struct coding_system): Add member common_flags, delete
member require_flushing.
(CODING_REQUIRE_FLUSHING_MASK, CODING_REQUIRE_DECODING_MASK,
CODING_REQUIRE_ENCODING_MASK, CODING_REQUIRE_DETECTION_MASK): New
macros.
(CODING_REQUIRE_NO_CONVERSION, CODING_MAY_REQUIRE_NO_CONVERSION):
These macros deleted.
(CODING_REQUIRE_FLUSHING, CODING_REQUIRE_DECODING,
CODING_REQUIRE_ENCODING, CODING_REQUIRE_DETECTION): New macros.
1997-11-08 03:05:44 +00:00
Kenichi Handa
1a283a4c9e (create_process): Encode arguments for the process.
(read_process_output): Use new macros defined in coding.h.
(send_process): Likewise.
1997-11-08 03:05:44 +00:00
Kenichi Handa
6ad0beebd0 (Finsert_file_contents): Use new macros defined in
coding.h.
(Fwrite_region): Likewise.
1997-11-08 03:05:44 +00:00
Kenichi Handa
ca1e6a1391 (encode_terminal_code): Use new macros defined in
coding.h.
(write_glyphs): Likewise.
1997-11-08 03:05:44 +00:00
Ulrich Drepper
4e941b8ea8 automatically generated from GPLed version 1997-11-06 00:44:44 +00:00
Ulrich Drepper
4b7c78fcf1 automatically generated from GPLed version 1997-11-04 03:28:47 +00:00
Karl Heuer
960d894c38 (init_system_name): If gethostname gives a proper
domain name, don't look farther for one.
1997-10-31 23:01:48 +00:00
Paul Eggert
13d603a994 (DBL_MIN_REPLACEMENT): New macro. 1997-10-29 07:47:37 +00:00
Paul Eggert
b0a1044b3e (DBL_MIN): Use workaround if DBL_MIN_REPLACEMENT is defined. 1997-10-29 07:47:37 +00:00
Kenichi Handa
9da95d532d (copy_category_table): Copy also the first extra slot
(vector of docstrings).
(Fcopy_category_table): Do not give unused second arg to
copy_category_table.
1997-10-27 04:34:26 +00:00
Kenichi Handa
9036eb4502 (Fchars_in_string): Pay attention to
enable-multibyte-characters.
(Fchars_in_region): Likewise.  Avoid error when the region ends in
the middle of a multibyte character.
1997-10-27 04:34:26 +00:00
Karl Heuer
30e0071c9e (Fkill_buffer): Don't assume buffer is current. 1997-10-27 03:50:50 +00:00
Karl Heuer
8f08dc930c (XTread_socket): Check for bogus (0,0) location. 1997-10-25 03:12:31 +00:00
Karl Heuer
8bcee03ecf (XTmouse_position): Handle INSIST < 0. 1997-10-24 19:58:39 +00:00
Karl Heuer
95fa970dd6 (w32_mouse_position): Handle INSIST < 0. 1997-10-24 19:58:22 +00:00
Karl Heuer
66e827dc32 (Fmouse_pixel_position, Fmouse_position):
Pass -1 as INSIST arg to mouse_position_hook.
1997-10-24 19:57:59 +00:00
Simon Marshall
db5cae4b2d Indicate in messages if source code is being loaded. 1997-10-23 14:58:25 +00:00
Kenichi Handa
9d3d8cba5a (char_valid_p): New function
(Fchar_valid_p): New function.
(syms_of_charset): Declare it as a Lisp function.
1997-10-23 12:01:50 +00:00
Kenichi Handa
15979e9ebc (CHAR_VALID_P): Renamed from VALID_CHAR_P, new
argument GENERICP.  Call char_valid_p for a non-ASCII character.
1997-10-23 12:01:50 +00:00
Kenichi Handa
70c222451e (encode_designation_at_bol): Fix bug of finding graphic
registers which should be designated at bol.
(Qsafe_charset): New variable.
(syms_of_coding): Initialize and staticpro it.
(detect_coding_iso2022): Handle SS2 and SS3 correctly.
(DECODE_ISO_CHARACTER): Recover from incorrect encoding in less
dangerous way.
(ENCODE_DESIGNATION): Get charset revision number by
CODING_SPEC_ISO_REVISION_NUMBER.
(setup_coding_system): Initialize the member safe_charsets from
the coding systems's safe-charsets property.  Initialize the
member charset_revision_number of struct iso2022_spec.
(ENCODE_ISO_CHARACTER_DIMENSION1): Adjusted for the change of
`safe_charsets' member.
(ENCODE_ISO_CHARACTER_DIMENSION2): Likewise.
(code_convert_region): Restore the current point after calling a
function in coding->post_read_conversion.
1997-10-23 12:01:50 +00:00
Kenichi Handa
1db9ba0636 (struct iso2022_spec): New member
charset_revision_number.
(CODING_SPEC_ISO_SAFE_CHARSETS): This macro deleted.
(CODING_SPEC_ISO_REVISION_NUMBER): New macro.
(struct coding_system): Member `safe_charsets' is moved from
struct iso2022_spec.
1997-10-23 12:01:50 +00:00
Kenichi Handa
de86fcba73 (map_char_table): Do not operate on invalid characters.
Pay attention to `enable-multibyte-characters'.
1997-10-23 12:01:50 +00:00
Karl Heuer
1c3430513b (unlock_all_files): Don't call unlock_file;
do the work directly, and avoid calling Fexpand_file_name.
1997-10-23 06:53:36 +00:00
Karl Heuer
abb4c08fef (redisplay_window): If clip_changed, always run
window-scroll-functions.
1997-10-23 06:52:01 +00:00
Paul Eggert
2bbd9a61a6 (DBL_DIG): Remove; the default value is now set in print.c. 1997-10-23 04:29:36 +00:00
Paul Eggert
2f2615421a No need to include <float.h> before "lisp.h",
as the latter no longer defines DBL_DIG.
1997-10-23 04:29:36 +00:00
Paul Eggert
f356c3fb99 (_MAXLDBL, _NMAXLDBL):
Define to work around hpux 7 <math.h> problem.
(<math.h>): Include.
(<float.h>, <stdlib.h>): Include if STDC_HEADERS.
(FLT_RADIX, DBL_MANT_DIG, DBL_DIG): Default to IEEE values.
(DOUBLE_DIGITS_BOUND): New macro.
(float_to_string): By default, generate the fewest number of digits
that represent the floating point value exactly.
1997-10-23 04:29:36 +00:00
Kenichi Handa
bcd1768529 (xselect.o): Depend on buffer.h. 1997-10-21 10:43:40 +00:00
Kenichi Handa
4608c386ff (Qcoding_system_spec): Deleted.
(Vcoding_system_list, Vcoding_system_alist): New variables.
(setup_coding_system): Adjusted for the change in mule.el.
(detect_eol): Likewise.
(Fcoding_system_spec): Changed to Lisp function in mule.el.
(Fcoding_system_p): Do not call Fcoding_system_spec.
(Fread_coding_system): Give Vcoding_system_alist to
Fcompleting_read as the arg TABLE.
(Fread_non_nil_coding_system): Likewise.  Give
Vcoding_system_history to Fcompleting_read as the arg HIST.
(syms_of_coding): Deleted codes for Qcoding_system and
Fcoding_system_spec.  Set up new Lisp variables.
1997-10-21 10:43:40 +00:00
Kenichi Handa
5faa9b4571 Include buffer.h.
(selection_data_to_lisp_data): Do not perform code conversion if
the default value of enable-multibyte-characters is nil.
(lisp_data_to_selection_data): Likewise.  Access the array
`charsets' in the correct way.
1997-10-21 10:43:40 +00:00
Karl Heuer
5be75283b3 (LD_SWITCH_MACHINE_TEMACS): New macro (defaults empty).
(ALL_LDFLAGS): Use LD_SWITCH_MACHINE_TEMACS here.
1997-10-21 02:59:21 +00:00
Karl Heuer
3c3a57e3de (LD_SWITCH_MACHINE): Conditionalize this
on THIS_IS_MAKEFILE instead of on emacs.
1997-10-21 02:57:44 +00:00
Karl Heuer
e3e041eb83 (syms_of_window): Doc fix. 1997-10-19 19:56:59 +00:00
Karl Heuer
81ab2e0727 (init_buffer): Don't add /: to default dir if it's `/'. 1997-10-16 18:37:51 +00:00
Karl Heuer
23cf1efa9c (Faccessible_keymaps): Avoid alloca for fixed-size array.
(Fset_keymap_parent, Fcopy_keymap, Fwhere_is_internal): Likewise.
1997-10-16 18:28:41 +00:00
Karl Heuer
7019cca729 (read_minibuf): Return DEFALT here, if minibuffer is empty.
(Fread_from_minibuffer, Fcompleting_read): Don't do that here.
1997-10-16 18:27:12 +00:00
Karl Heuer
0a59111cbc (Fexpand_file_name): Avoid treating // specially
even in a relative file name.
1997-10-16 18:25:42 +00:00
Karl Heuer
60b06e5e8b (Fwhere_is_internal): some minor mode bindings weren't
being found.
1997-10-16 18:13:44 +00:00
Karl Heuer
db7f721d26 (replace_buffer_in_all_windows):
Pass 1 as MINI to window_loop.
1997-10-16 00:07:02 +00:00
Karl Heuer
6ca94ac976 (gc_sweep): Free memory blocks that contain only unused
objects.
1997-10-15 23:28:06 +00:00
Karl Heuer
142d91357f (Fstring_to_number): Handle NEGATIVE for floats too. 1997-10-15 23:12:54 +00:00
Karl Heuer
d49f0c1af8 (read_list): Don't recognize Vload_file_name
specially if it is nil.
1997-10-15 22:45:35 +00:00
Karl Heuer
335406fc22 (window_scroll): When scrolling forward and point is
inside the scroll margin put point at bottom of it, not at window
start.
1997-10-15 22:18:37 +00:00
Andrew Innes
db77d785fd Ensure standard handles are reset even if spawnve fails. 1997-10-13 18:11:44 +00:00
Andrew Innes
4a80f0815d Pass menu handle by value. 1997-10-13 18:06:22 +00:00
Eli Zaretskii
261bfd0e0e (decode_mode_spec): Display non-nil title as the frame's
name only on FRAME_WINDOW_P frames.
1997-10-13 17:08:02 +00:00
Eli Zaretskii
e48f782ce4 (set_menu_bar_lines): Make the function external instead
of static (MS-DOS needs to call it).
1997-10-13 16:57:32 +00:00