Mercurial > emacs
comparison lispref/streams.texi @ 89910:548375b6b1f8
Update unicode branch
author | Miles Bader <miles@gnu.org> |
---|---|
date | Mon, 19 Apr 2004 07:01:43 +0000 |
parents | 375f2633d815 |
children | 4c90ffeb71c5 |
comparison
equal
deleted
inserted
replaced
89909:68c22ea6027c | 89910:548375b6b1f8 |
---|---|
359 @cindex marker output stream | 359 @cindex marker output stream |
360 The output characters are inserted into the buffer that @var{marker} | 360 The output characters are inserted into the buffer that @var{marker} |
361 points into, at the marker position. The marker position advances as | 361 points into, at the marker position. The marker position advances as |
362 characters are inserted. The value of point in the buffer has no effect | 362 characters are inserted. The value of point in the buffer has no effect |
363 on printing when the stream is a marker, and this kind of printing | 363 on printing when the stream is a marker, and this kind of printing |
364 does not move point. | 364 does not move point (except that if the marker points at or before the |
365 position of point, point advances with the surrounding text, as | |
366 usual). | |
365 | 367 |
366 @item @var{function} | 368 @item @var{function} |
367 @cindex function output stream | 369 @cindex function output stream |
368 The output characters are passed to @var{function}, which is responsible | 370 The output characters are passed to @var{function}, which is responsible |
369 for storing them away. It is called with a single character as | 371 for storing them away. It is called with a single character as |
683 @defvar standard-output | 685 @defvar standard-output |
684 The value of this variable is the default output stream---the stream | 686 The value of this variable is the default output stream---the stream |
685 that print functions use when the @var{stream} argument is @code{nil}. | 687 that print functions use when the @var{stream} argument is @code{nil}. |
686 @end defvar | 688 @end defvar |
687 | 689 |
690 @defvar print-quoted | |
691 If this is non-@code{nil}, that means to print quoted forms using | |
692 abbreviated reader syntax. @code{(quote foo)} prints as @code{'foo}, | |
693 @code{(function foo)} as @code{#'foo}, and backquoted forms print | |
694 using modern backquote syntax. | |
695 @end defvar | |
696 | |
688 @defvar print-escape-newlines | 697 @defvar print-escape-newlines |
689 @cindex @samp{\n} in print | 698 @cindex @samp{\n} in print |
690 @cindex escape characters | 699 @cindex escape characters |
691 If this variable is non-@code{nil}, then newline characters in strings | 700 If this variable is non-@code{nil}, then newline characters in strings |
692 are printed as @samp{\n} and formfeeds are printed as @samp{\f}. | 701 are printed as @samp{\n} and formfeeds are printed as @samp{\f}. |
719 @code{print-escape-newlines} is in effect during the call to | 728 @code{print-escape-newlines} is in effect during the call to |
720 @code{prin1}, but not during the printing of the result. | 729 @code{prin1}, but not during the printing of the result. |
721 @end defvar | 730 @end defvar |
722 | 731 |
723 @defvar print-escape-nonascii | 732 @defvar print-escape-nonascii |
724 If this variable is non-@code{nil}, then unibyte non-@sc{ascii} | 733 If this variable is non-@code{nil}, then unibyte non-@acronym{ASCII} |
725 characters in strings are unconditionally printed as backslash sequences | 734 characters in strings are unconditionally printed as backslash sequences |
726 by the print functions @code{prin1} and @code{print} that print with | 735 by the print functions @code{prin1} and @code{print} that print with |
727 quoting. | 736 quoting. |
728 | 737 |
729 Those functions also use backslash sequences for unibyte non-@sc{ascii} | 738 Those functions also use backslash sequences for unibyte non-@acronym{ASCII} |
730 characters, regardless of the value of this variable, when the output | 739 characters, regardless of the value of this variable, when the output |
731 stream is a multibyte buffer or a marker pointing into one. | 740 stream is a multibyte buffer or a marker pointing into one. |
732 @end defvar | 741 @end defvar |
733 | 742 |
734 @defvar print-escape-multibyte | 743 @defvar print-escape-multibyte |
735 If this variable is non-@code{nil}, then multibyte non-@sc{ascii} | 744 If this variable is non-@code{nil}, then multibyte non-@acronym{ASCII} |
736 characters in strings are unconditionally printed as backslash sequences | 745 characters in strings are unconditionally printed as backslash sequences |
737 by the print functions @code{prin1} and @code{print} that print with | 746 by the print functions @code{prin1} and @code{print} that print with |
738 quoting. | 747 quoting. |
739 | 748 |
740 Those functions also use backslash sequences for multibyte | 749 Those functions also use backslash sequences for multibyte |
741 non-@sc{ascii} characters, regardless of the value of this variable, | 750 non-@acronym{ASCII} characters, regardless of the value of this variable, |
742 when the output stream is a unibyte buffer or a marker pointing into | 751 when the output stream is a unibyte buffer or a marker pointing into |
743 one. | 752 one. |
744 @end defvar | 753 @end defvar |
745 | 754 |
746 @defvar print-length | 755 @defvar print-length |
768 The value of this variable is the maximum depth of nesting of | 777 The value of this variable is the maximum depth of nesting of |
769 parentheses and brackets when printed. Any list or vector at a depth | 778 parentheses and brackets when printed. Any list or vector at a depth |
770 exceeding this limit is abbreviated with an ellipsis. A value of | 779 exceeding this limit is abbreviated with an ellipsis. A value of |
771 @code{nil} (which is the default) means no limit. | 780 @code{nil} (which is the default) means no limit. |
772 @end defvar | 781 @end defvar |
782 | |
783 @defopt eval-expression-print-length | |
784 @defoptx eval-expression-print-level | |
785 These are the values for @code{print-length} and @code{print-level} | |
786 used by @code{eval-expression}, and thus, indirectly, by many | |
787 interactive evaluation commands (@pxref{Lisp Eval,, Evaluating | |
788 Emacs-Lisp Expressions, emacs, The GNU Emacs Manual}). | |
789 @end defopt | |
773 | 790 |
774 These variables are used for detecting and reporting circular | 791 These variables are used for detecting and reporting circular |
775 and shared structure---but they are only defined in Emacs 21. | 792 and shared structure---but they are only defined in Emacs 21. |
776 | 793 |
777 @tindex print-circle | 794 @tindex print-circle |
801 @defvar print-number-table | 818 @defvar print-number-table |
802 This variable holds a vector used internally by printing to implement | 819 This variable holds a vector used internally by printing to implement |
803 the @code{print-circle} feature. You should not use it except | 820 the @code{print-circle} feature. You should not use it except |
804 to bind it to @code{nil} when you bind @code{print-continuous-numbering}. | 821 to bind it to @code{nil} when you bind @code{print-continuous-numbering}. |
805 @end defvar | 822 @end defvar |
823 | |
824 @ignore | |
825 arch-tag: 07636b8c-c4e3-4735-9e06-2e864320b434 | |
826 @end ignore |