@settitle Programming in Emacs Lisp
@syncodeindex vr cp
@syncodeindex fn cp
-@setchapternewpage odd
@finalout
@c ---------
@c <<<< For hard copy printing, this file is now
@c set for smallbook, which works for all sizes
@c of paper, and with Postscript figures >>>>
+@set smallbook
+@ifset smallbook
@smallbook
@clear largebook
+@end ifset
@set print-postscript-figures
@c set largebook
@c clear print-postscript-figures
@comment %**end of header
+@c per rms and peterb, use 10pt fonts for the main text, mostly to
+@c save on paper cost.
+@c Do this inside @tex for now, so current makeinfo does not complain.
+@tex
+@ifset smallbook
+@fonttextsize 10
+\global\let\urlcolor=\Black % don't print links in grayscale
+\global\let\linkcolor=\Black
+@end ifset
+\global\hbadness=6666 % don't worry about not-too-underfull boxes
+@end tex
+
@set edition-number 3.08
-@set update-date 12 September 2007
+@set update-date 4 October 2008
@ignore
## Summary of shell commands to create various output formats:
@c right handed page after the Table of Contents; hence the following
@c setting must be for an odd negative number.
-@iftex
-@global@pageno = -11
-@end iftex
+@c iftex
+@c global@pageno = -11
+@c end iftex
@menu
* Preface:: What to look for.
@code{(buffer-name)} is @file{"*info*"}, and the value returned by
evaluating @code{(buffer-file-name)} is @file{nil}.
-On the other hand, while I am writing this Introduction, the value
+On the other hand, while I am writing this document, the value
returned by evaluating @code{(buffer-name)} is
@file{"introduction.texinfo"}, and the value returned by evaluating
@code{(buffer-file-name)} is
;; Avoid overflow for large buffer sizes!
(* (prefix-numeric-value arg)
(/ size 10))
- (/ (+ 10 (* size (prefix-numeric-value arg))) 10)))
+ (/ (+ 10 (* size (prefix-numeric-value arg)))
+ 10)))
(point-min))))
(if arg (forward-line 1)))
@end group
(if (char-table-p translation-table-for-input)
(setq char (or (aref translation-table-for-input char) char)))
(kill-region (point) (progn
- (search-forward (char-to-string char) nil nil arg)
+ (search-forward (char-to-string char)
+ nil nil arg)
(point))))
@end group
@end smallexample
not evaluated. The function as a whole then returns @code{nil}.
@need 1200
-When you evaluate @code{(print-elements-recursively animals)} in the
-@file{*scratch*} buffer, you see this result:
+When you evaluate the expression @code{(print-elements-recursively
+animals)} in the @file{*scratch*} buffer, you see this result:
@smallexample
@group
The number 2 is passed to the @code{triangle-recursively} function.
-We know what happens when Emacs evaluates @code{triangle-recursively} with
+We already know what happens when Emacs evaluates @code{triangle-recursively} with
an argument of 2. After going through the sequence of actions described
earlier, it returns a value of 3. So that is what will happen here.
@noindent
This expression autoloads the @code{html-helper-mode} function. It
takes it from the @file{html-helper-mode.el} file (or from the byte
-compiled file @file{html-helper-mode.elc}, if it exists.) The file
-must be located in a directory specified by @code{load-path}. The
-documentation says that this is a mode to help you edit documents
+compiled version @file{html-helper-mode.elc}, if that exists.) The
+file must be located in a directory specified by @code{load-path}.
+The documentation says that this is a mode to help you edit documents
written in the HyperText Markup Language. You can call this mode
interactively by typing @kbd{M-x html-helper-mode}. (You need to
duplicate the function's regular documentation in the autoload
@c Place biographical information on right-hand (verso) page
@tex
+\par\vfill\supereject
\ifodd\pageno
- \par\vfill\supereject
\global\evenheadline={\hfil} \global\evenfootline={\hfil}
\global\oddheadline={\hfil} \global\oddfootline={\hfil}
- \page\hbox{}\page
+ %\page\hbox{}\page
\else
- \par\vfill\supereject
- \par\vfill\supereject
+% \par\vfill\supereject
\global\evenheadline={\hfil} \global\evenfootline={\hfil}
\global\oddheadline={\hfil} \global\oddfootline={\hfil}
- \page\hbox{}\page
- \page\hbox{}\page
+ %\page\hbox{}%\page
+ %\page\hbox{}%\page
\fi
@end tex
-@page
+@c page
@w{ }
@c ================ Biographical information ================
airplane.
@end quotation
-@page
-@w{ }
-
-@c Prevent page number on blank verso, so eject it first.
-@tex
-\par\vfill\supereject
-@end tex
-
-@iftex
-@headings off
-@evenheading @thispage @| @| @thistitle
-@oddheading @| @| @thispage
-@end iftex
+@c @page
+@c @w{ }
+@c
+@c @c Prevent page number on blank verso, so eject it first.
+@c @tex
+@c \par\vfill\supereject
+@c @end tex
+
+@c @iftex
+@c @headings off
+@c @evenheading @thispage @| @| @thistitle
+@c @oddheading @| @| @thispage
+@c @end iftex
@bye