diff options
| author | Joakim Verona | 2012-12-22 20:17:08 +0100 |
|---|---|---|
| committer | Joakim Verona | 2012-12-22 20:17:08 +0100 |
| commit | a26b09f270e438e5ecfdce7bf9f424e5b7ec0766 (patch) | |
| tree | a2ba7ad3bb597144adedc70f7f0c8d6999dd2fe7 /doc/lispintro | |
| parent | cc590e378e07c7eb84bb5d577b06b4d9a0177272 (diff) | |
| parent | 00afe3a454119390e78eaaa319a7d05e5e7723ae (diff) | |
| download | emacs-a26b09f270e438e5ecfdce7bf9f424e5b7ec0766.tar.gz emacs-a26b09f270e438e5ecfdce7bf9f424e5b7ec0766.zip | |
auto upstream
Diffstat (limited to 'doc/lispintro')
| -rw-r--r-- | doc/lispintro/ChangeLog | 7 | ||||
| -rw-r--r-- | doc/lispintro/Makefile.in | 10 | ||||
| -rw-r--r-- | doc/lispintro/emacs-lisp-intro.texi | 23 |
3 files changed, 25 insertions, 15 deletions
diff --git a/doc/lispintro/ChangeLog b/doc/lispintro/ChangeLog index 8e7278ee2ee..8e6643d1e4d 100644 --- a/doc/lispintro/ChangeLog +++ b/doc/lispintro/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2012-12-22 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * Makefile.in (srcs): New variable, adding doclicense.texi. | ||
| 4 | (${buildinfodir}/eintr$(INFO_EXT), emacs-lisp-intro.dvi) | ||
| 5 | (emacs-lisp-intro.pdf, emacs-lisp-intro.html): | ||
| 6 | Use $srcs for dependencies. | ||
| 7 | |||
| 1 | 2012-12-14 Paul Eggert <eggert@cs.ucla.edu> | 8 | 2012-12-14 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 9 | ||
| 3 | Fix permissions bugs with setgid directories etc. (Bug#13125) | 10 | Fix permissions bugs with setgid directories etc. (Bug#13125) |
diff --git a/doc/lispintro/Makefile.in b/doc/lispintro/Makefile.in index 3f2fe1f9526..0e712e0affb 100644 --- a/doc/lispintro/Makefile.in +++ b/doc/lispintro/Makefile.in | |||
| @@ -43,6 +43,8 @@ ENVADD = TEXINPUTS="$(srcdir):$(texinfodir):$(TEXINPUTS)" \ | |||
| 43 | 43 | ||
| 44 | mkinfodir = @${MKDIR_P} ${buildinfodir} | 44 | mkinfodir = @${MKDIR_P} ${buildinfodir} |
| 45 | 45 | ||
| 46 | srcs = ${srcdir}/emacs-lisp-intro.texi ${srcdir}/doclicense.texi | ||
| 47 | |||
| 46 | .PHONY: info dvi html pdf ps | 48 | .PHONY: info dvi html pdf ps |
| 47 | 49 | ||
| 48 | info: ${buildinfodir}/eintr$(INFO_EXT) | 50 | info: ${buildinfodir}/eintr$(INFO_EXT) |
| @@ -55,20 +57,20 @@ ps: emacs-lisp-intro.ps | |||
| 55 | # The file name eintr must fit within 5 characters, to allow for | 57 | # The file name eintr must fit within 5 characters, to allow for |
| 56 | # -NN extensions to fit into DOS 8+3 limits without clashing. | 58 | # -NN extensions to fit into DOS 8+3 limits without clashing. |
| 57 | # Note: "<" is not portable in ordinary make rules. | 59 | # Note: "<" is not portable in ordinary make rules. |
| 58 | ${buildinfodir}/eintr$(INFO_EXT): ${srcdir}/emacs-lisp-intro.texi | 60 | ${buildinfodir}/eintr$(INFO_EXT): ${srcs} |
| 59 | $(mkinfodir) | 61 | $(mkinfodir) |
| 60 | $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/emacs-lisp-intro.texi | 62 | $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/emacs-lisp-intro.texi |
| 61 | 63 | ||
| 62 | emacs-lisp-intro.dvi: ${srcdir}/emacs-lisp-intro.texi | 64 | emacs-lisp-intro.dvi: ${srcs} |
| 63 | $(ENVADD) $(TEXI2DVI) ${srcdir}/emacs-lisp-intro.texi | 65 | $(ENVADD) $(TEXI2DVI) ${srcdir}/emacs-lisp-intro.texi |
| 64 | 66 | ||
| 65 | emacs-lisp-intro.ps: emacs-lisp-intro.dvi | 67 | emacs-lisp-intro.ps: emacs-lisp-intro.dvi |
| 66 | $(DVIPS) -o $@ emacs-lisp-intro.dvi | 68 | $(DVIPS) -o $@ emacs-lisp-intro.dvi |
| 67 | 69 | ||
| 68 | emacs-lisp-intro.pdf: ${srcdir}/emacs-lisp-intro.texi | 70 | emacs-lisp-intro.pdf: ${srcs} |
| 69 | $(ENVADD) $(TEXI2PDF) ${srcdir}/emacs-lisp-intro.texi | 71 | $(ENVADD) $(TEXI2PDF) ${srcdir}/emacs-lisp-intro.texi |
| 70 | 72 | ||
| 71 | emacs-lisp-intro.html: ${srcdir}/emacs-lisp-intro.texi | 73 | emacs-lisp-intro.html: ${srcs} |
| 72 | $(MAKEINFO) $(MAKEINFO_OPTS) --html -o $@ ${srcdir}/emacs-lisp-intro.texi | 74 | $(MAKEINFO) $(MAKEINFO_OPTS) --html -o $@ ${srcdir}/emacs-lisp-intro.texi |
| 73 | 75 | ||
| 74 | .PHONY: mostlyclean clean distclean maintainer-clean infoclean | 76 | .PHONY: mostlyclean clean distclean maintainer-clean infoclean |
diff --git a/doc/lispintro/emacs-lisp-intro.texi b/doc/lispintro/emacs-lisp-intro.texi index 5111ee116a3..dbd20561d9a 100644 --- a/doc/lispintro/emacs-lisp-intro.texi +++ b/doc/lispintro/emacs-lisp-intro.texi | |||
| @@ -228,7 +228,8 @@ people who are not programmers. | |||
| 228 | @sp 1 | 228 | @sp 1 |
| 229 | Edition @value{edition-number}, @value{update-date} | 229 | Edition @value{edition-number}, @value{update-date} |
| 230 | @sp 1 | 230 | @sp 1 |
| 231 | Copyright @copyright{} 1990-1995, 1997, 2001-2012 Free Software Foundation, Inc. | 231 | Copyright @copyright{} 1990--1995, 1997, 2001--2012 Free Software |
| 232 | Foundation, Inc. | ||
| 232 | @sp 1 | 233 | @sp 1 |
| 233 | 234 | ||
| 234 | @iftex | 235 | @iftex |
| @@ -6281,7 +6282,7 @@ the arithmetic, a conversion is necessary, and | |||
| 6281 | @findex / @r{(division)} | 6282 | @findex / @r{(division)} |
| 6282 | @cindex Division | 6283 | @cindex Division |
| 6283 | The second argument is @code{(/ size 10)}. This expression divides | 6284 | The second argument is @code{(/ size 10)}. This expression divides |
| 6284 | the numeric value by ten --- the numeric value of the size of the | 6285 | the numeric value by ten---the numeric value of the size of the |
| 6285 | accessible portion of the buffer. This produces a number that tells | 6286 | accessible portion of the buffer. This produces a number that tells |
| 6286 | how many characters make up one tenth of the buffer size. (In Lisp, | 6287 | how many characters make up one tenth of the buffer size. (In Lisp, |
| 6287 | @code{/} is used for division, just as @code{*} is used for | 6288 | @code{/} is used for division, just as @code{*} is used for |
| @@ -9402,7 +9403,7 @@ either by setting it manually or by using @code{customize}. | |||
| 9402 | 9403 | ||
| 9403 | For me, the major use of the @code{set-variable} command is to suggest | 9404 | For me, the major use of the @code{set-variable} command is to suggest |
| 9404 | variables that I might want to set in my @file{.emacs} file. There | 9405 | variables that I might want to set in my @file{.emacs} file. There |
| 9405 | are now more than 700 such variables --- far too many to remember | 9406 | are now more than 700 such variables, far too many to remember |
| 9406 | readily. Fortunately, you can press @key{TAB} after calling the | 9407 | readily. Fortunately, you can press @key{TAB} after calling the |
| 9407 | @code{M-x set-variable} command to see the list of variables. | 9408 | @code{M-x set-variable} command to see the list of variables. |
| 9408 | (@xref{Examining, , Examining and Setting Variables, emacs, | 9409 | (@xref{Examining, , Examining and Setting Variables, emacs, |
| @@ -11195,8 +11196,8 @@ The @code{dolist} expression does very much the same as the | |||
| 11195 | of the work you have to do when writing a @code{while} expression. | 11196 | of the work you have to do when writing a @code{while} expression. |
| 11196 | 11197 | ||
| 11197 | Like a @code{while} loop, a @code{dolist} loops. What is different is | 11198 | Like a @code{while} loop, a @code{dolist} loops. What is different is |
| 11198 | that it automatically shortens the list each time it loops --- it | 11199 | that it automatically shortens the list each time it loops---it |
| 11199 | `@sc{cdr}s down the list' on its own --- and it automatically binds | 11200 | `@sc{cdr}s down the list' on its own---and it automatically binds |
| 11200 | the @sc{car} of each shorter version of the list to the first of its | 11201 | the @sc{car} of each shorter version of the list to the first of its |
| 11201 | arguments. | 11202 | arguments. |
| 11202 | 11203 | ||
| @@ -13300,8 +13301,8 @@ We can see that this is a decrementing counter @code{while} loop, | |||
| 13300 | using the expression @code{(setq arg (1- arg))} as the decrementer. | 13301 | using the expression @code{(setq arg (1- arg))} as the decrementer. |
| 13301 | That expression is not far from the @code{while}, but is hidden in | 13302 | That expression is not far from the @code{while}, but is hidden in |
| 13302 | another Lisp macro, an @code{unless} macro. Unless we are at the end | 13303 | another Lisp macro, an @code{unless} macro. Unless we are at the end |
| 13303 | of the buffer --- that is what the @code{eobp} function determines; it | 13304 | of the buffer---that is what the @code{eobp} function determines; it |
| 13304 | is an abbreviation of @samp{End Of Buffer P} --- we decrease the value | 13305 | is an abbreviation of @samp{End Of Buffer P}---we decrease the value |
| 13305 | of @code{arg} by one. | 13306 | of @code{arg} by one. |
| 13306 | 13307 | ||
| 13307 | (If we are at the end of the buffer, we cannot go forward any more and | 13308 | (If we are at the end of the buffer, we cannot go forward any more and |
| @@ -15657,7 +15658,7 @@ as a list that looks like this (but with more elements): | |||
| 15657 | The @code{directory-files-and-attributes} function returns a list of | 15658 | The @code{directory-files-and-attributes} function returns a list of |
| 15658 | lists. Each of the lists within the main list consists of 13 | 15659 | lists. Each of the lists within the main list consists of 13 |
| 15659 | elements. The first element is a string that contains the name of the | 15660 | elements. The first element is a string that contains the name of the |
| 15660 | file -- which, in GNU/Linux, may be a `directory file', that is to | 15661 | file---which, in GNU/Linux, may be a `directory file', that is to |
| 15661 | say, a file with the special attributes of a directory. The second | 15662 | say, a file with the special attributes of a directory. The second |
| 15662 | element of the list is @code{t} for a directory, a string | 15663 | element of the list is @code{t} for a directory, a string |
| 15663 | for symbolic link (the string is the name linked to), or @code{nil}. | 15664 | for symbolic link (the string is the name linked to), or @code{nil}. |
| @@ -16850,7 +16851,7 @@ Write a line graph version of the graph printing functions. | |||
| 16850 | @cindex Customizing your @file{.emacs} file | 16851 | @cindex Customizing your @file{.emacs} file |
| 16851 | @cindex Initialization file | 16852 | @cindex Initialization file |
| 16852 | 16853 | ||
| 16853 | ``You don't have to like Emacs to like it'' -- this seemingly | 16854 | ``You don't have to like Emacs to like it''---this seemingly |
| 16854 | paradoxical statement is the secret of GNU Emacs. The plain, `out of | 16855 | paradoxical statement is the secret of GNU Emacs. The plain, `out of |
| 16855 | the box' Emacs is a generic tool. Most people who use it, customize | 16856 | the box' Emacs is a generic tool. Most people who use it, customize |
| 16856 | it to suit themselves. | 16857 | it to suit themselves. |
| @@ -18282,7 +18283,7 @@ or `All'. (A lower case @samp{p} tell you the percentage above the | |||
| 18282 | @emph{top} of the window.) @samp{%-} inserts enough dashes to fill | 18283 | @emph{top} of the window.) @samp{%-} inserts enough dashes to fill |
| 18283 | out the line. | 18284 | out the line. |
| 18284 | 18285 | ||
| 18285 | Remember, ``You don't have to like Emacs to like it'' --- your own | 18286 | Remember, ``You don't have to like Emacs to like it''---your own |
| 18286 | Emacs can have different colors, different commands, and different | 18287 | Emacs can have different colors, different commands, and different |
| 18287 | keys than a default Emacs. | 18288 | keys than a default Emacs. |
| 18288 | 18289 | ||
| @@ -21946,7 +21947,7 @@ Here is the graph: | |||
| 21946 | @sp 2 | 21947 | @sp 2 |
| 21947 | 21948 | ||
| 21948 | @noindent | 21949 | @noindent |
| 21949 | The largest group of functions contain 10 -- 19 words and symbols each. | 21950 | The largest group of functions contain 10--19 words and symbols each. |
| 21950 | 21951 | ||
| 21951 | @node Free Software and Free Manuals | 21952 | @node Free Software and Free Manuals |
| 21952 | @appendix Free Software and Free Manuals | 21953 | @appendix Free Software and Free Manuals |