summaryrefslogtreecommitdiff
path: root/src/editfns.c
Commit message (Collapse)AuthorAgeFilesLines
* (Fformat): Doc fix.Richard M. Stallman1999-02-071-1/+1
|
* (Fstring_to_char): Don't return a multibyte characterKenichi Handa1998-11-061-1/+6
| | | | if STRING is a unibyte string.
* (Fsubst_char_in_region): Fix previous change.Kenichi Handa1998-10-311-2/+2
| | | | (Ftranslate_region): Fix previous change.
* (Fchar_after): Fix type clashes.Andreas Schwab1998-10-301-2/+2
|
* (Fsubst_char_in_region): Fix previous change.Kenichi Handa1998-10-281-32/+12
| | | | (Ftranslate_region): Fix previous change.
* (Fsubst_char_in_region): Correctly handle the caseKenichi Handa1998-10-271-29/+69
| | | | | that byte combining before happens. (Ftranslate_region): Likewise.
* (Fformat): Increase buffer size for floating format.Richard M. Stallman1998-10-261-1/+1
|
* (Fformat): Check format control characters.Kenichi Handa1998-09-261-0/+5
|
* (Fsave_restriction): Doc fix.Dave Love1998-09-211-0/+1
|
* Add a comment to emacs_memftime, explaining why it needs to loop.Paul Eggert1998-09-091-0/+5
|
* (emacs_memftime): New function.Paul Eggert1998-09-081-3/+53
| | | | | (Fformat_time_string): Use it to handle null bytes in formats correctly.
* (Fsubst_char_in_region): Call replace_range with theKenichi Handa1998-09-081-1/+1
| | | | arg MARKERS 1.
* (Fformat_time_string, Fdecode_time, Fcurrent_time_zone):Paul Eggert1998-09-061-13/+15
| | | | Don't assume that localtime and gmtime return non-NULL.
* (Fformat): Detect incomplete format spec at string's end.Karl Heuer1998-09-061-1/+3
|
* (Ftranspose_regions): Use BYTE_POS_ADDR to get anKenichi Handa1998-09-021-10/+10
| | | | address in buffer from byte-position.
* (Fposition_bytes): If the arg POSITION is out ofKenichi Handa1998-08-281-2/+8
| | | | | | range, return nil. (Fbyte_to_position): If the arg BYTEPOS is out of range, return nil.
* (Ftranspose_regions): Pass 0 as NOMARKERS to replace_range.Richard M. Stallman1998-08-181-2/+2
|
* (general_insert_function): If enable-multibyte-characters isKenichi Handa1998-08-071-1/+7
| | | | nil, convert a multibyte character to unibyte appropriately.
* (Fsubst_char_in_region): Use replace_range in the caseRichard M. Stallman1998-08-031-6/+65
| | | | | where we may need to combine bytes. (Ftranslate_region): Likewise.
* (Fformat): Replace explicit numeric constants with proper macros.Kenichi Handa1998-07-081-6/+6
|
* (Fformat): Pay attention to the byte combining problem.Kenichi Handa1998-07-061-0/+24
|
* (Finsert): Typo in doc-string fixed.Kenichi Handa1998-07-031-4/+4
| | | | | (Finsert_and_inherit, Finsert_before_markers, Finsert_and_inherit_before_markers): Likewize.
* (Fbyte_to_position): New function.Richard M. Stallman1998-06-291-0/+10
| | | | (syms_of_editfns): defsubr it.
* (Fchar_after): Make nil fully equivalent to (point) as arg.Richard M. Stallman1998-05-231-12/+14
| | | | (Fchar_before): Likewise.
* (Fformat): Fix casts when assigning buf.Richard M. Stallman1998-05-031-2/+2
|
* (Finsert_char): Doc fix.Richard M. Stallman1998-05-021-1/+1
|
* (Fcompare_buffer_substrings): Rewrite to loop by chars.Richard M. Stallman1998-04-291-21/+39
|
* (Fgap_position, Fgap_size): New functions.Richard M. Stallman1998-04-291-0/+22
| | | | (syms_of_editfns): defsubr them.
* (Fbuffer_substring): Doc fix.Richard M. Stallman1998-04-231-10/+28
| | | | | (Finsert_and_inherit_before_markers): Doc fix. (Finsert_and_inherit, Finsert_before_markers, Finsert): Doc fixes.
* (Fchar_after, Fchar_before): Fix mixing of Lisp_ObjectAndreas Schwab1998-04-141-2/+2
| | | | and int
* Fix -Wimplicit warnings.Andreas Schwab1998-04-141-0/+8
|
* (Ftranspose_regions): Fix order of parameters for replace_range.Andreas Schwab1998-04-061-2/+2
|
* (Fmessage_box): Pass the missing third argumentRichard M. Stallman1998-04-041-1/+2
| | | | STRING_MULTIBYTE (val) to message2.
* (Fchar_to_string): Use make_string_from_bytes.Richard M. Stallman1998-03-211-4/+7
| | | | | (Fformat): Use make_specified_string. (make_buffer_string_both): Use make_uninit_string if buffer is unibyte.
* Use STRING_BYTES and SET_STRING_BYTES.Richard M. Stallman1998-03-211-20/+78
| | | | (Ftranspose_regions): Try to handle combining bytes.
* (make_buffer_string_both): New function.Richard M. Stallman1998-03-211-1/+25
| | | | (make_buffer_string): Use make_buffer_string_both.
* (Fgoto_char): If POSITION is a marker pointing aRichard M. Stallman1998-03-201-1/+2
| | | | different buffer, don't rely on the byte position of the marker.
* (Fformat): Handle padding before or after, for %s etc.Richard M. Stallman1998-03-201-11/+23
| | | | Treat 0 like a multibyte char in %c.
* (Fformat): Properly print floats.Richard M. Stallman1998-03-171-1/+4
|
* (Fchar_after, Fchar_before): Properly check arg typeRichard M. Stallman1998-03-171-11/+24
| | | | | | and whether in range, for all cases. (Fsave_excursion): Doc fix.
* (Fformat): Format multibyte characters by "%c"Kenichi Handa1998-03-041-3/+14
| | | | correctly. Handle padding for multibyte characters correctly.
* (Fformat): Fix previous change.Kenichi Handa1998-03-031-1/+1
|
* (general_insert_function): UseKenichi Handa1998-03-031-1/+1
| | | | | | unibyte_char_to_multibyte if an argument is character code. (Finsert_char): Use unibyte_char_to_multibyte. (string1): Cast ARGS to `char **' to avoid compiler warning.
* (Fmessage): Check byte size (instead of char size) ofKenichi Handa1998-02-201-1/+1
| | | | VAL against MESSAGE_LENGTH.
* (Fchar_before): Check POS in valid rangeKarl Heuer1998-02-181-3/+2
| | | | before calling CHAR_TO_BYTE.
* (Fsubst_char_in_region): Don't increment pos twice.Richard M. Stallman1998-02-141-2/+0
|
* (Fposition_bytes): Declare arg POSITION as Lips_Object.Kenichi Handa1998-02-101-0/+1
|
* (Fposition_bytes): Allow marker as arg POSITION. UseKenichi Handa1998-02-101-2/+2
| | | | XINT for type consistency.
* (Fformat): Handle a symbol of which name containsRichard M. Stallman1998-02-081-4/+26
| | | | multibyte characters correctly.
* (Fsubst_char_in_region): Handle character-baseKenichi Handa1998-02-041-13/+13
| | | | | position and byte-base position correctly. (Fstring_to_char): Give byte size to STRING_CHAR.