1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 23:31:55 -08:00
Commit graph

36 commits

Author SHA1 Message Date
Kenichi Handa
66da28809c Include composite.h.
(casify_object): Use MAX_MULTIBYTE_LENGTH to allocate memory for a
multibyte character.  Adjusted for the change of CHAR_STRING.
(casify_region): Likewise.  Call update_compositions.
1999-12-15 00:02:33 +00:00
Stefan Monnier
7dae4502b6 * editfns.c (Fdelete_and_extract_region): New function.
(syms_of_editfns): register it.
* insdel.c (del_range): update del_range_1 call.
(del_range_1, del_range_2): Add a ret_string argument to
request that the deleted text be returned.
(del_range_byte, del_range_both): Update del_range_2 call.
* lisp.h (del_range_1, del_range_2): change prototype
* casefiddle.c (casify_region): Update del_range_1 call.
* coding.c (code_convert_region): Update del_range_2 call.
* fileio.c (Finsert_file_contents): Update del_range_2 call.
1999-12-07 04:42:40 +00:00
Gerd Moellmann
fe568ef5dc (casify_object): Remove unused variables.
(casify_region): Ditto.
1999-09-20 23:18:36 +00:00
Karl Heuer
f16d510603 (casify_object): Use make_multibyte_string
if we casify a multibyte string.
1999-06-24 18:01:32 +00:00
Kenichi Handa
3742fe75f8 (casify_object): Use make_string instead of
make_specified_string to cope with byte-combining situation.
1998-10-17 01:58:01 +00:00
Karl Heuer
e3a10b5e59 (casify_object): Cope with modifier bits in character. 1998-06-18 04:11:28 +00:00
Andreas Schwab
dfcf069d56 Fix -Wimplicit warnings. 1998-04-14 12:25:56 +00:00
Richard M. Stallman
7d3d343a93 (casify_object): Use make_specified_string. 1998-03-21 18:02:09 +00:00
Richard M. Stallman
fc932ac6c7 Use STRING_BYTES and SET_STRING_BYTES. 1998-03-21 07:06:14 +00:00
Richard M. Stallman
4a2f9c6aef Update copyright year. 1998-01-21 23:32:12 +00:00
Richard M. Stallman
5245463a5c (casify_object): Scan string by bytes and chars.
Use make_multibyte_string.
1998-01-09 22:58:16 +00:00
Richard M. Stallman
4c7b7eabfd (casify_region): Scan in bytes and chars.
(casify_object, casify_region): Declare str, workbuf as unsigned char.
1998-01-01 02:45:12 +00:00
Richard M. Stallman
2e34157cd9 Fix bugs with inappropriate mixing of Lisp_Object with int. 1997-07-04 20:44:52 +00:00
Kenichi Handa
5dd4d40aaf (casify_object): Fix bug on handling a character
arguement.
1997-06-04 00:56:08 +00:00
Kenichi Handa
a0615d9071 (casify_object): Handle multibyte characters.
(casify_region): Change the way of handling multibyte characters.
1997-05-28 04:36:35 +00:00
Karl Heuer
a04538dade Include charset.h.
(Qidentity): Define this variable.
(syms_of_casefiddle): Initialize and staticpro it.
(casify_object, casify_region): Handle multibyte.
1997-05-15 07:47:29 +00:00
Karl Heuer
fc44dfab72 Change FETCH_CHAR references to FETCH_BYTE. 1997-02-22 19:26:15 +00:00
Karl Heuer
6ec8bbd20d Change all references from point to PT. 1996-09-01 19:15:05 +00:00
Richard M. Stallman
bd47bd35ab (casify_region, casify_object):
If case table has been changed, call Fset_case_table
1996-05-06 04:28:18 +00:00
Erik Naggum
3b7ad313e0 Update FSF's address in the preamble. 1996-01-15 09:18:04 +00:00
Erik Naggum
8c22d56c58 (Fupcase_region, Fdowncase_region, Fcapitalize_region,
Fupcase_initials_region): Harmonize arguments with documentation.
1996-01-09 00:30:45 +00:00
Karl Heuer
7c938215cd Update GPL to version 2. 1995-06-15 20:42:24 +00:00
Karl Heuer
2371fad4d8 (casify_region): Use explicit local vars for start
and end, so that the type will be correct.
(operate_on_word): Likewise for iarg in this function.
(upcase_initials, upcase_initials_region): Deleted; these were
redundant copies of Fupcase_initials and Fupcase_initials_region.
1995-06-06 01:43:42 +00:00
Karl Heuer
18e23fd0bb (casify_object, operate_on_word, Fupcase_word, Fdowncase_word,
Fcapitalize_word): Don't use XFASTINT as an lvalue.
1994-10-04 15:41:33 +00:00
Karl Heuer
9d05e3d4c4 (casify_object): Use type test macros. 1994-09-27 03:10:02 +00:00
Richard M. Stallman
8cef1f7853 (Fupcase_initials_region): New function.
(Fupcase_initials): New function.
(syms_of_casefiddle): defsubr them.
1994-09-24 02:03:32 +00:00
Richard M. Stallman
96927ba4c5 (upcase_initials): New function.
(casify_object): Handle CASE_CAPITALIZE_UP.
1994-09-24 01:57:54 +00:00
Karl Heuer
3a22ee3595 Update copyright. 1994-05-04 02:41:09 +00:00
Richard M. Stallman
34628a901f (operate_on_word): Don't move point; store in *NEWPOINT.
(Fupcase_word, Fdowncase_word, Fcapitalize_word):
Set point after changing case.  Rename opoint to beg.
1994-03-06 18:54:21 +00:00
Roland McGrath
18160b98ce Include <config.h> instead of "config.h". 1993-09-10 06:15:46 +00:00
Richard M. Stallman
a1929ae348 (casify_region): Remove mistaken arg to record_change. 1993-05-16 13:42:36 +00:00
Jim Blandy
04a759c81b The text property routines can now modify buffers other
than the current one.
	* insdel.c (modify_region): New argument BUFFER.  Select that
	buffer while we prepare for the modification, and switch back when
	we're done.
	* textprop.c (add_properties, remove_properties): Pass
	the buffer being modified as the first argument to modify_region.
	* editfns.c (Fsubst_char_in_region, Ftranslate_region): Pass the
	current_buffer as the first argument to modify_region.
	* casefiddle.c (casify_region): Same.
1993-05-14 14:43:30 +00:00
Jim Blandy
b37902c85c * callint.c (Fcall_interactively): Pass the correct number of
arguments to wrong_type_argument.
	* casefiddle.c (caseify_object): Same.
	* casetab.c (check_case_table): Same.
	* search.c (Fstore_match_data): Same.
	* syntax.c (check_syntax_table): Same.
1993-02-22 14:48:45 +00:00
Jim Blandy
39fb55ffbd * casefiddle.c (operate_on_word): Declare end to be an int, not a
Lisp_Object.
1992-10-31 04:54:35 +00:00
Jim Blandy
d427b66a66 entered into RCS 1992-01-13 21:48:03 +00:00
Jim Blandy
dcfdbac7bb Initial revision 1990-11-12 20:20:45 +00:00