Commit graph

208 commits

Author SHA1 Message Date
Kim F. Storm
44455197d9 (print_object): Fix format string. 2004-11-09 13:24:35 +00:00
Kim F. Storm
c069fee4e7 (print_object): Print Lisp_Misc_Save_Value objects. 2004-11-05 22:46:17 +00:00
Richard M. Stallman
15479e8b2f (print_preprocess): Test for print_depth at limit
before entering in being_printed.
2004-07-17 14:54:56 +00:00
Eli Zaretskii
9a09408e9e (Fwith_output_to_temp_buffer): Doc fix. 2004-06-21 19:52:30 +00:00
Andreas Schwab
474f84d925 (print_object): Always use %ld for printing EMACS_INT. 2004-06-13 15:33:33 +00:00
David Ponce
9a6a4c4079 (print): Reset print_depth before to call print_object. 2004-05-19 07:38:57 +00:00
Kim F. Storm
28b8f74030 (print_object): Increase buf size. 2004-05-17 22:47:40 +00:00
Richard M. Stallman
c113267187 (print_preprocess): Use being_printed, loop_count and
halftail to detect overdeep nesting and cyclic cdr chains.
2004-05-10 16:55:38 +00:00
Kenichi Handa
d28eab19f9 (temp_output_buffer_setup): Bind inhibit-read-only and
inhibit-modification-hooks to t temporarily before calling
Ferase_buffer.
2004-05-10 12:09:08 +00:00
Andreas Schwab
4b5af5e479 (print_object): Print non-ascii characters in bool vector representation
as octal escapes.  Use BOOL_VECTOR_BITS_PER_CHAR instead of BITS_PER_CHAR.
2004-04-26 21:56:26 +00:00
Andreas Schwab
3164abe6d1 (print_preprocess): Declare size as EMACS_INT to not lose bits.
(print_object): Likewise.
2004-01-26 11:53:59 +00:00
Andreas Schwab
3803eb324e (print_preprocess) <case Lisp_Vectorlike>: Only mask
size if PSEUDOVECTOR_FLAG is set.
2004-01-08 00:16:25 +00:00
Luc Teirlinck
f82ec1e6ee (Ferror_message_string): Add hyperlink to the definition of `signal'
in the Elisp manual.
2003-12-31 00:24:28 +00:00
Kim F. Storm
95e52d8888 (Fredirect_debugging_output) [!GNU_LINUX]: Do not
define this defun on systems that cannot use stderr as lvalue.
2003-11-25 09:48:15 +00:00
Kim F. Storm
6a1ff3ba09 (Fredirect_debugging_output): New defun.
(syms_of_print): Defsubr it.
2003-11-23 21:29:45 +00:00
Richard M. Stallman
dd418e06cf (Fprin1_to_string): Move the PRINTPREPARE later,
so that PRINTFINISH won't unbind Qinhibit_modification_hooks.
2003-09-19 14:35:40 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Andreas Schwab
1661e56b9c (print_string): Fix printing of multibyte string with
nontrivial printcharfun.
2003-08-08 22:45:48 +00:00
Stefan Monnier
b3f6010e46 (temp_output_buffer_setup): Typo. 2003-07-22 19:22:02 +00:00
Stefan Monnier
fd53195196 (temp_output_buffer_setup): Use delete_all_overlays. 2003-07-22 19:06:48 +00:00
Stefan Monnier
26a59e4208 (temp_output_buffer_setup): Use new type for overlays_(before|after). 2003-07-09 14:48:41 +00:00
Richard M. Stallman
249c0f7165 (syms_of_print) <print-escape-nonascii>: Doc fix. 2003-05-28 11:47:41 +00:00
Richard M. Stallman
ca2de34225 (Fprin1_to_string): Instead of gcpro, set abort_on_gc.
Bind Qinhibit_modification_hooks to t so there will be no GC.
Rename local `tem' to `save_deactivate_mark'.
2003-05-09 14:03:51 +00:00
Stefan Monnier
b51ee1312d (Fprin1_to_string): Return unibyte string if possible. 2003-03-11 15:52:37 +00:00
Juanma Barranquero
177c0ea743 Trailing whitespace deleted. 2003-02-04 14:56:31 +00:00
Richard M. Stallman
0330bb60a1 (print): When backquote form is the car of a list,
output in old style.  Use old_backquote_output to output all
comma forms inside it in old style too.
2002-10-14 01:30:26 +00:00
Richard M. Stallman
e6d4cddda2 (print): Clear out the unused parts of Vprint_number_table.
(syms_of_print): Doc fix for `print-number-table'.
2002-09-18 15:57:39 +00:00
Richard M. Stallman
240e806c98 (print_error_message): New args CONTEXT and CALLER. Calls changed. 2002-07-20 21:48:27 +00:00
Ken Raeburn
3f7e390a95 (temp_output_buffer_setup):
(internal_with_output_to_temp_buffer): Buffer name argument is now
pointer to const.
2002-07-19 14:27:16 +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
Richard M. Stallman
a8fda94500 (print_error_message): Don't handle Vsignaling_function here. 2002-07-12 11:19:24 +00:00
Juanma Barranquero
aed1337830 Use macro SPECPDL_INDEX. 2002-07-11 14:18:02 +00:00
Stefan Monnier
9756ea0f83 (temp_output_buffer_setup): Kill all local variables. 2002-06-24 21:33:18 +00:00
Ken Raeburn
76d0b3ae65 * print.c (print_error_message, print_object): Use SYMBOL_NAME and
XSTRING instead of XSYMBOL and name field.
2002-05-20 08:06:27 +00:00
Richard M. Stallman
aab3aa1461 (print_object): Delete `\ ' from printed rep of frame. 2002-03-16 06:53:35 +00:00
Richard M. Stallman
ae7367d33b (print_object): Output multibyte chars 128...255
using \x even if ! print_escape_multibyte.
2002-03-03 20:04:17 +00:00
Pavel Janík
cf393f9be7 Fix typo. 2002-01-02 13:27:22 +00:00
Richard M. Stallman
d39f07c2d6 (print_object): Test print_escape_nonascii only for unibyte strings.
(PRINTPREPARE): Once again bind Qprint_escape_nonascii
when outputting to a multibyte buffer.
2002-01-01 07:12:59 +00:00
Richard M. Stallman
db300f5944 (print_object): In multibyte string, use hex escapes.
Use octal only for unibyte strings.
(PRINTPREPARE): Don't ever set Qprint_escape_nonascii.
2001-12-30 03:22:55 +00:00
Richard M. Stallman
98040cf186 (temp_output_buffer_setup): Use Frun_hooks, not Vrun_hooks. 2001-11-26 00:08:20 +00:00
Pavel Janík
7fab92237a Fix typos. 2001-11-15 15:22:42 +00:00
Eli Zaretskii
9474c847f8 (prin1, print): Doc fix. 2001-11-14 19:19:28 +00:00
Richard M. Stallman
fd4d156b14 (Fprin1_to_string): Doc fix. 2001-11-14 00:08:47 +00:00
Pavel Janík
b782650360 Update usage of CHECK_ macros (remove unused second argument). 2001-11-02 20:46:55 +00:00
Richard M. Stallman
210ebd3d84 (print_object): Clarify indication of insertion type. 2001-10-30 00:34:18 +00:00
Miles Bader
ab9ffd19d7 (Fwith_output_to_temp_buffer): Add usage: string to doc string. 2001-10-21 15:27:09 +00:00
Pavel Janík
8c1a1077c0 Change doc-string comments to new style' [w/doc:' keyword]. 2001-10-21 12:13:46 +00:00
Stefan Monnier
8bbfc25801 (Fwith_output_to_temp_buffer): Align with
internal_with_output_to_temp_buffer.
(print_preprocess): Use traverse_intervals_noorder.
(print_object): Update call to traverse_intervals.
2001-10-12 22:06:10 +00:00
Gerd Moellmann
bf9f2aabfe (print_preprocess, print_object): Test internedness of
symbols differently.
2001-10-05 09:50:10 +00:00
Eli Zaretskii
ada329e63f (strout): Treat the characters at *ptr as unsigned char. 2001-08-01 08:29:28 +00:00