1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-31 09:20:54 -08:00
Commit graph

226 commits

Author SHA1 Message Date
Richard M. Stallman
3844ee4450 (Fy_or_n_p): Bind input-method-function to nil. 1998-08-18 04:27:37 +00:00
Kenichi Handa
6bdd75a54d (concat): Fix previous change. 1998-07-30 01:35:40 +00:00
Richard M. Stallman
262c8ceae7 Comment change. 1998-07-09 03:47:06 +00:00
Kenichi Handa
8b542479bb (concat): Replace explicit numeric constants with proper macros. 1998-07-08 02:19:14 +00:00
Richard M. Stallman
f71599f4b4 Whitespace change. 1998-07-06 22:29:52 +00:00
Kenichi Handa
0da528a909 (Fset_char_table_default): Check only if the charset of
the arg CH is in the valid range or not.  Handle the case that CH
is a generic character for composite characters.
1998-07-06 06:33:55 +00:00
Kenichi Handa
18cc260b22 (concat): Pay attention to the byte combining problem. 1998-07-06 01:47:34 +00:00
Kenichi Handa
aabd38eca1 (Fstring_make_multibyte): Call CHECK_STRING.
(Fstring_make_unibyte, Fstring_as_unibyte, Fstring_as_multibyte):
Likewise.
1998-05-21 01:48:52 +00:00
Kenichi Handa
44893c8f3a (concat): Fix bug in concatinating a list of multibyte and
unibyte characters.
1998-05-18 00:59:38 +00:00
Andreas Schwab
58edb57253 Include <time.h> for time. 1998-04-29 09:37:15 +00:00
Richard M. Stallman
d73c6532e1 [HAVE_MENUS]: Include xterm.h only if HAVE_X_WINDOWS. 1998-04-28 21:21:14 +00:00
Richard M. Stallman
f4b50f66ee (Fload_average): New arg USE_FLOATS. 1998-04-27 20:54:19 +00:00
Richard M. Stallman
b1ee4bd147 [HAVE_MENUS]: Include xterm.h only if HAVE_WINDOW_SYSTEM is defined. 1998-04-27 20:30:51 +00:00
Richard M. Stallman
d68cc14c93 (Fcompare_strings): Doc fix. 1998-04-27 20:29:38 +00:00
Richard M. Stallman
a6ee6aa41b (Fstring_make_multibyte): Doc fix.
(Fstring_make_unibyte): Doc fix.
1998-04-23 04:03:31 +00:00
Richard M. Stallman
f95837d0a4 (Fcompare_strings): Require first 6 args. 1998-04-20 04:08:31 +00:00
Richard M. Stallman
0e1e9f8da5 (Fcompare_strings): New function.
(syms_of_fns): defsubr it.
1998-04-20 03:52:46 +00:00
Richard M. Stallman
49bdcd3e96 (time): Declare it only if not HAVE_UNISTD_H. 1998-04-16 06:21:56 +00:00
Richard M. Stallman
f0c030b36d (Frequire): Doc fix. 1998-04-16 05:38:51 +00:00
Andreas Schwab
21ab867fb9 (Fsubstring, substring_both, Fchar_table_range,
Fset_char_table_range): Fix mixing of Lisp_Object and int.
1998-04-14 12:59:32 +00:00
Andreas Schwab
dfcf069d56 Fix -Wimplicit warnings. 1998-04-14 12:25:56 +00:00
Andreas Schwab
96ced23cf1 (Flength): Doc fix. 1998-04-06 09:33:40 +00:00
Kenichi Handa
fa25174026 (Fstring_as_unibyte): Set size_byte field to -1. 1998-04-06 05:06:12 +00:00
Richard M. Stallman
9658795ce8 (Fstring_as_multibyte): Never return unibyte string unchanged.
Set size_byte field.
1998-04-02 22:48:51 +00:00
Richard M. Stallman
1d969a2339 (char_table_translate): New function. 1998-04-02 08:10:56 +00:00
Richard M. Stallman
b10b2daa18 (substring_both, Fsubstring): Use make_specified_string.
(concat): Make string result unibyte or multibyte as appropriate.
1998-03-21 18:09:01 +00:00
Richard M. Stallman
fc932ac6c7 Use STRING_BYTES and SET_STRING_BYTES. 1998-03-21 07:06:14 +00:00
Kenichi Handa
88ab3cc133 (Fstring_as_multibyte): Call multibyte_chars_in_text
instead of chars_in_text because we must ignore
enable-multibyte-characters here.
1998-03-19 07:34:29 +00:00
Kenichi Handa
2cef5737de (DEFAULT_NONASCII_INSERT_OFFSET): Macro definition is
moved to charset.h.
(concat): Use unibyte_char_to_multibyte.
1998-03-03 01:29:16 +00:00
Richard M. Stallman
4864692429 (internal_equal): compare_window_configurations takes new arg. 1998-03-02 19:10:51 +00:00
Karl Heuer
33aa088183 (mapcar1): Handle bool-vectors.
(Fmapconcat, Fmapcar): Doc fixes.
(Flength): For char-table, length is based on max valid char code.
1998-02-27 21:52:08 +00:00
Kenichi Handa
0ab9dd767e (Fset_char_table_default): For an invalid character, call
invalid_character.
1998-02-20 01:40:47 +00:00
Kenichi Handa
eaf17c6b64 (Fstring_bytes): Declare arg STRING as Lisp_Object. 1998-02-10 04:08:26 +00:00
Kenichi Handa
bca7646d48 (concat): Use Vnonascii_translate_table. 1998-02-10 04:05:47 +00:00
Richard M. Stallman
026f59ce86 (Fstring_bytes): New function.
(syms_of_fns): defsubr it.
1998-02-08 20:58:53 +00:00
Richard M. Stallman
6a7df83b34 (concat): Handle bool-vectors correctly. 1998-02-02 01:06:29 +00:00
Richard M. Stallman
6d4752042a (concat): If making a string, a nonempty bool-vector is error.
(string_make_multibyte): In all-ASCII case, return orig STRING.

(Fstring_as_unibyte): New function.
(Fstring_as_multibyte): New function.
(syms_of_fns): defsubr them.
1998-02-02 01:03:10 +00:00
Richard M. Stallman
ed73fcc1fa (internal_equal): Use compare_window_configurations. 1998-01-26 08:47:06 +00:00
Kenichi Handa
0ab6a3d896 (mapcar1): Keep i' in i_before' before `i' is
incremented by FETCH_STRING_CHAR_ADVANCE.
1998-01-22 01:26:45 +00:00
Richard M. Stallman
31c8f88101 Update copyright year. 1998-01-21 22:22:17 +00:00
Richard M. Stallman
06f57aa7fd (concat): Use unibyte_char_to_multibyte.
Fix lossage in installing previous patch.
1998-01-21 21:43:30 +00:00
Karl Heuer
09ab3c3bdb (concat): Move the test for all nil in `append'
back to the right place.
Always compute result_len_byte as for a multibyte string.  Then,
if the result will be single-byte, don't use that computation.
When converting single-byte to multibyte, don't use copy_text.
Do use copy_text between single-byte string and multibyte string.

(Fstring_make_multibyte, Fstring_make_unibyte): New functions.
(syms_of_fns): defsubr them.

(string_char_to_byte): Count from the beginning or the end,
whichever is closer.  Keep a cache of recent values.
(string_byte_to_char): Likewise.

(Fstring_lessp): Compare the strings char by char.
1998-01-18 04:37:08 +00:00
Kenichi Handa
470730a822 (concat): Check STRINGP before increasing result_len_byte. 1998-01-12 05:49:45 +00:00
Richard M. Stallman
ea35ce3d99 (map_char_table): Unconditionally consider non-ASCII charsets.
(Fsubstring): Use make_multibyte_string.
(concat, Fsubstring, internal_equal, mapcar1):
Distinguish bytes and chars when indexing strings.
(Fstring_equal, Fstring_lessp): Likewise.
(substring_both): New function.
(string_make_multibyte, string_make_unibyte): New functions.
(string_char_to_byte, string_byte_to_char): New functions.
1998-01-09 22:41:43 +00:00
Richard M. Stallman
6ced1284f3 (internal_equal): For markers, use bytepos instead of bufpos. 1998-01-02 21:28:56 +00:00
Andreas Schwab
22e6f12b3b * fns.c (map_char_table): Protoize parameter. 1997-11-21 14:58:22 +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
b4f334f797 (Qwidget_type): New variable.
(widget-plist-member, widget-put, widget-get, widget-apply): Move
here from lisp/wid-edit.el; translated into C for efficiency.
(syms_of_fns): Initialize Qwidget_type; defsubr new functions.
1997-09-30 07:15:28 +00:00
Richard M. Stallman
0de441b6f6 (concat): Fix use of Fchar_bytes. 1997-08-27 17:21:54 +00:00
Kenichi Handa
b24014d4ab (Fyes_or_no_p): Call Fread_from_minibuffer
with INHERIT-INPUT-METHOD nil.
1997-08-26 11:42:33 +00:00