1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-27 07:41:28 -08:00
Commit graph

53 commits

Author SHA1 Message Date
Thien-Thi Nguyen
0b5538bd85 Update years in copyright notice; nfc. 2005-08-07 12:33:19 +00:00
Lute Kamstra
4fc5845fe8 Update FSF's address. 2005-07-04 16:49:24 +00:00
Kenichi Handa
cc4ff429a0 (casify_region): Fix previous change. 2005-02-02 00:57:33 +00:00
Kenichi Handa
f98a8aa964 (casify_object): Enable changing characters of
different byte length.
(casify_region): Fix loop condition, args to replace_range_2, and
update opoint_byte.
2005-02-01 23:49:46 +00:00
Richard M. Stallman
5d19ee8aa5 (casify_region): Handle changes in byte-length using replace_range_2. 2004-11-02 09:12:51 +00:00
Kim F. Storm
233f3db624 Fix SAFE_FREE calls. Replace SAFE_FREE_LISP calls. 2004-10-26 22:38:50 +00:00
Kim F. Storm
2b3cb54db4 (casify_object): Use SAFE_ALLOCA. 2004-06-21 21:52:03 +00:00
Kim F. Storm
a0ecb2ac8e Update copyright. 2004-06-16 15:10:55 +00:00
Richard M. Stallman
69fe4180e4 (casify_object): Return OBJ unchanged if not real char. 2004-05-22 22:19:28 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Stefan Monnier
cdeb348047 (casify_region): Don't treat a prefix char as part
of a word when at the beginning.
2002-10-21 21:03:00 +00:00
Ken Raeburn
f5b81cd81d * casefiddle.c (casify_object): Use SSET. 2002-07-16 15:48:59 +00:00
Ken Raeburn
d5db40779d Most uses of XSTRING combined with STRING_BYTES or indirection changed to
SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references
left unchanged for now.
2002-07-15 00:01:34 +00:00
Pavel Janík
b782650360 Update usage of CHECK_ macros (remove unused second argument). 2001-11-02 20:46:55 +00:00
Pavel Janík
fdb82f9337 Change doc-string comments to new style' [w/doc:' keyword]. 2001-10-20 20:56:10 +00:00
Stefan Monnier
e35f6ff793 Include keymap.h. 2001-10-10 16:05:21 +00:00
Eli Zaretskii
8d0941b69b (casify_object): Remove unused variable `tolen'. 2001-01-02 14:06:38 +00:00
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