1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-09 05:01:02 -08:00
Commit graph

370 commits

Author SHA1 Message Date
Kenichi Handa
3bb9958bc0 (Fgoto_char): Fix docstring. 2003-10-17 07:08:08 +00:00
Kenichi Handa
8f924df7df *** empty log message *** 2003-09-08 12:53:41 +00:00
Kenichi Handa
463f5630a5 New directory 2003-09-08 11:56:09 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Richard M. Stallman
c24e982c71 (Fencode_time): Doc fix. 2003-08-17 00:24:04 +00:00
Stefan Monnier
88006f77c4 (overlays_around): Use new type for overlays_(before|after). 2003-07-09 14:51:57 +00:00
Stefan Monnier
12038f9fc9 (save_excursion_restore, transpose_markers): Update for new types. 2003-06-26 23:17:13 +00:00
Stefan Monnier
dfe6cbf8f3 (get_pos_property): Don't assume that `object' = nil. 2003-05-17 18:47:04 +00:00
Richard M. Stallman
67965a9816 (Fformat): Set abort_on_gc during first scan of format.
Reinit FORMAT_START and END before second scan.
2003-04-30 12:05:37 +00:00
Stefan Monnier
f3ce1df88f (Fformat): Lisp_Object/int mixup.
(format2): Remove unused var numargs.
2003-04-11 23:17:42 +00:00
Richard M. Stallman
d147ee841a (Fformat): Translate positions of text properties
in the format string to apply them to the result.
2003-04-09 01:28:44 +00:00
Kenichi Handa
aa8b70aef5 (Fformat): Use a copy of FORMAT string so that we can
destructively change "%S" to "%s".
2003-04-04 10:47:26 +00:00
Juanma Barranquero
177c0ea743 Trailing whitespace deleted. 2003-02-04 14:56:31 +00:00
Kenichi Handa
231a33160e (Fformat): Add comment about the treatment of 0 as a multibyte
character.
2003-01-26 23:21:53 +00:00
Richard M. Stallman
d40dc1d037 (format2): New function, replaces format1
but takes exactly two Lisp Objects as format args.
2003-01-25 19:48:14 +00:00
Kim F. Storm
72bb55c6b2 (Finsert): Mention `string-make-multibyte' and
`string-as-multibyte' in doc string.
2003-01-17 12:30:34 +00:00
Kenichi Handa
063b53b1b0 (Fformat): Convert an unibyte char argument that is
formatted by "%c" to multibyte if the total result must be a
multibyte string.
2003-01-17 00:47:58 +00:00
Richard M. Stallman
6b381c3ac9 (Fformat): Add parens. 2002-12-21 18:00:23 +00:00
Juanma Barranquero
b11f1d8a33 (Fformat): Use alloca, not _alloca. 2002-12-10 07:40:21 +00:00
Ben Key
2573153f50 fixed a couple of minor compilation errors in editfns.c 2002-12-10 07:09:41 +00:00
Kai Großjohann
ac42d7b991 (Fformat): Handle precision in string conversion specifiers like libc
functions do (ie, print at most that many characters).  From Matthew
Swift <swift@alum.mit.edu>.
2002-12-09 10:44:25 +00:00
Stefan Monnier
538f9462d6 (get_pos_property): Don't hardcode Qfield. 2002-11-03 10:59:18 +00:00
Andreas Schwab
304f1f12d6 (Fmessage): Revert last change to properly handle %% format. 2002-11-01 22:35:02 +00:00
Stefan Monnier
2db1186a25 (find_field): Make an exception for nil fields. 2002-11-01 19:06:06 +00:00
Stefan Monnier
58401a3476 (overlays_around, get_pos_property): New funs.
(find_field): Use them.
Also be careful not to modify POS before its last use.
(Fmessage): Don't Fformat if there's nothing to format.
2002-10-30 23:11:26 +00:00
Richard M. Stallman
f98176d214 (Fformat): Detect invalid format letters for floats. 2002-10-26 22:52:36 +00:00
Dave Love
ed398b0afc (Finsert_byte): Return a proper value. 2002-10-15 13:01:50 +00:00
Kenichi Handa
0f8ea88f90 (general_insert_function): Check VAL by ASCII_CHAR_P,
not by SINGLE_BYTE_CHAR_P.
2002-10-15 01:18:09 +00:00
Markus Rost
a67a233bc8 (Fformat_time_string): Doc fix. 2002-10-05 04:32:00 +00:00
Kenichi Handa
48ef988f74 (Finsert_byte): New function.
(syms_of_editfns): Defsubr it.
2002-08-20 13:05:44 +00:00
Kenichi Handa
e5112ecb72 (Fchar_equal): Fix for the unibyte case. 2002-08-20 07:56:43 +00:00
Kenichi Handa
5a7128a6e8 (Fformat): Use ASCII_CHAR_P, not SINGLE_BYTE_CHAR_P. 2002-08-19 10:59:04 +00:00
Richard M. Stallman
6388456397 (save_restriction_restore): Defend from unchained marker. 2002-08-17 04:55:17 +00:00
Richard M. Stallman
6076e561e6 (Fmessage): Treat "" like nil. 2002-07-23 19:08:44 +00:00
Ken Raeburn
439e8af4cf (general_insert_function): Insertion function now
takes pointer to const for input data.
2002-07-16 19:48:12 +00:00
Ken Raeburn
1e5d9116cc (Fstring_to_char): Don't use XSTRING/XSETSTRING to copy a lisp value. 2002-07-16 17:35:50 +00:00
Ken Raeburn
4e491f8d1e (Fstring_to_char): Use string macros instead of Lisp_String fields. 2002-07-16 16:58:04 +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
Juanma Barranquero
aed1337830 Use macro SPECPDL_INDEX. 2002-07-11 14:18:02 +00:00
Ken Raeburn
f6620ee2b0 * editfns.c (Fformat): Use SYMBOL_NAME and XSTRING instead of
XSYMBOL and name field.
2002-05-20 08:05:26 +00:00
Andrew Choi
e0f712ba55 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
lisp/ChangeLog, and src/ChangeLog for list of changes.
2002-04-26 23:39:06 +00:00
Miles Bader
21caa1f058 (text_property_stickiness): Function moved to `textprop.c'.
(char_property_eq): Function removed.
2002-03-14 08:11:03 +00:00
Juanma Barranquero
7dcece1445 (syms_of_editfns): Fix typo. 2002-03-12 17:24:31 +00:00
Kenichi Handa
40fbd2544a Include "character.h" instead of "charset.h".
(Fchar_to_string): Always call CHAR_STRING.
2002-03-01 01:37:55 +00:00
Richard M. Stallman
7b5ad687dc (region_limit): Nicer error message. 2002-02-01 04:35:03 +00:00
Richard M. Stallman
308dd672ad (Fformat): Update thissize from field_width
based on the actual width, in the string case.
2002-01-02 19:57:07 +00:00
Richard M. Stallman
2221451f5b (Fcompare_buffer_substrings): Add QUIT to main loop. 2001-12-18 02:15:53 +00:00
Miles Bader
9ac741c5e8 (find_field): Add BEG_LIMIT and END_LIMIT parameters.
(Fdelete_field, Ffield_string, Ffield_string_no_properties):
Update arguments to find_field.
(Ffield_beginning, Ffield_end): Add LIMIT param, pass to find_field.
(Fconstrain_to_field): Use LIMIT arg to shorten search time.
2001-11-15 08:05:45 +00:00
Richard M. Stallman
d2936d21a1 (Fpropertize): Allow call with 1 arg. 2001-11-15 00:34:53 +00:00
Pavel Janík
deb8e082ba (Fuser_real_login_name): Reindent.
(Finsert_buffer_substring): Likewise.
(Fcompare_buffer_substrings): Likewise.
(Fsubst_char_in_region): Likewise.
2001-11-13 06:59:27 +00:00