aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispintro
diff options
context:
space:
mode:
authorJoakim Verona2012-12-22 20:17:08 +0100
committerJoakim Verona2012-12-22 20:17:08 +0100
commita26b09f270e438e5ecfdce7bf9f424e5b7ec0766 (patch)
treea2ba7ad3bb597144adedc70f7f0c8d6999dd2fe7 /doc/lispintro
parentcc590e378e07c7eb84bb5d577b06b4d9a0177272 (diff)
parent00afe3a454119390e78eaaa319a7d05e5e7723ae (diff)
downloademacs-a26b09f270e438e5ecfdce7bf9f424e5b7ec0766.tar.gz
emacs-a26b09f270e438e5ecfdce7bf9f424e5b7ec0766.zip
auto upstream
Diffstat (limited to 'doc/lispintro')
-rw-r--r--doc/lispintro/ChangeLog7
-rw-r--r--doc/lispintro/Makefile.in10
-rw-r--r--doc/lispintro/emacs-lisp-intro.texi23
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 @@
12012-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
12012-12-14 Paul Eggert <eggert@cs.ucla.edu> 82012-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
44mkinfodir = @${MKDIR_P} ${buildinfodir} 44mkinfodir = @${MKDIR_P} ${buildinfodir}
45 45
46srcs = ${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
48info: ${buildinfodir}/eintr$(INFO_EXT) 50info: ${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
62emacs-lisp-intro.dvi: ${srcdir}/emacs-lisp-intro.texi 64emacs-lisp-intro.dvi: ${srcs}
63 $(ENVADD) $(TEXI2DVI) ${srcdir}/emacs-lisp-intro.texi 65 $(ENVADD) $(TEXI2DVI) ${srcdir}/emacs-lisp-intro.texi
64 66
65emacs-lisp-intro.ps: emacs-lisp-intro.dvi 67emacs-lisp-intro.ps: emacs-lisp-intro.dvi
66 $(DVIPS) -o $@ emacs-lisp-intro.dvi 68 $(DVIPS) -o $@ emacs-lisp-intro.dvi
67 69
68emacs-lisp-intro.pdf: ${srcdir}/emacs-lisp-intro.texi 70emacs-lisp-intro.pdf: ${srcs}
69 $(ENVADD) $(TEXI2PDF) ${srcdir}/emacs-lisp-intro.texi 71 $(ENVADD) $(TEXI2PDF) ${srcdir}/emacs-lisp-intro.texi
70 72
71emacs-lisp-intro.html: ${srcdir}/emacs-lisp-intro.texi 73emacs-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
229Edition @value{edition-number}, @value{update-date} 229Edition @value{edition-number}, @value{update-date}
230@sp 1 230@sp 1
231Copyright @copyright{} 1990-1995, 1997, 2001-2012 Free Software Foundation, Inc. 231Copyright @copyright{} 1990--1995, 1997, 2001--2012 Free Software
232Foundation, 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
6283The second argument is @code{(/ size 10)}. This expression divides 6284The second argument is @code{(/ size 10)}. This expression divides
6284the numeric value by ten --- the numeric value of the size of the 6285the numeric value by ten---the numeric value of the size of the
6285accessible portion of the buffer. This produces a number that tells 6286accessible portion of the buffer. This produces a number that tells
6286how many characters make up one tenth of the buffer size. (In Lisp, 6287how 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
9403For me, the major use of the @code{set-variable} command is to suggest 9404For me, the major use of the @code{set-variable} command is to suggest
9404variables that I might want to set in my @file{.emacs} file. There 9405variables that I might want to set in my @file{.emacs} file. There
9405are now more than 700 such variables --- far too many to remember 9406are now more than 700 such variables, far too many to remember
9406readily. Fortunately, you can press @key{TAB} after calling the 9407readily. 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
11195of the work you have to do when writing a @code{while} expression. 11196of the work you have to do when writing a @code{while} expression.
11196 11197
11197Like a @code{while} loop, a @code{dolist} loops. What is different is 11198Like a @code{while} loop, a @code{dolist} loops. What is different is
11198that it automatically shortens the list each time it loops --- it 11199that 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
11200the @sc{car} of each shorter version of the list to the first of its 11201the @sc{car} of each shorter version of the list to the first of its
11201arguments. 11202arguments.
11202 11203
@@ -13300,8 +13301,8 @@ We can see that this is a decrementing counter @code{while} loop,
13300using the expression @code{(setq arg (1- arg))} as the decrementer. 13301using the expression @code{(setq arg (1- arg))} as the decrementer.
13301That expression is not far from the @code{while}, but is hidden in 13302That expression is not far from the @code{while}, but is hidden in
13302another Lisp macro, an @code{unless} macro. Unless we are at the end 13303another Lisp macro, an @code{unless} macro. Unless we are at the end
13303of the buffer --- that is what the @code{eobp} function determines; it 13304of the buffer---that is what the @code{eobp} function determines; it
13304is an abbreviation of @samp{End Of Buffer P} --- we decrease the value 13305is an abbreviation of @samp{End Of Buffer P}---we decrease the value
13305of @code{arg} by one. 13306of @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):
15657The @code{directory-files-and-attributes} function returns a list of 15658The @code{directory-files-and-attributes} function returns a list of
15658lists. Each of the lists within the main list consists of 13 15659lists. Each of the lists within the main list consists of 13
15659elements. The first element is a string that contains the name of the 15660elements. The first element is a string that contains the name of the
15660file -- which, in GNU/Linux, may be a `directory file', that is to 15661file---which, in GNU/Linux, may be a `directory file', that is to
15661say, a file with the special attributes of a directory. The second 15662say, a file with the special attributes of a directory. The second
15662element of the list is @code{t} for a directory, a string 15663element of the list is @code{t} for a directory, a string
15663for symbolic link (the string is the name linked to), or @code{nil}. 15664for 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
16854paradoxical statement is the secret of GNU Emacs. The plain, `out of 16855paradoxical statement is the secret of GNU Emacs. The plain, `out of
16855the box' Emacs is a generic tool. Most people who use it, customize 16856the box' Emacs is a generic tool. Most people who use it, customize
16856it to suit themselves. 16857it 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
18283out the line. 18284out the line.
18284 18285
18285Remember, ``You don't have to like Emacs to like it'' --- your own 18286Remember, ``You don't have to like Emacs to like it''---your own
18286Emacs can have different colors, different commands, and different 18287Emacs can have different colors, different commands, and different
18287keys than a default Emacs. 18288keys 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
21949The largest group of functions contain 10 -- 19 words and symbols each. 21950The 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