From 7569c8b7f097ea21445241cdbdc4c8557f067a91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulrich=20M=C3=BCller?= Date: Tue, 25 Nov 2008 23:04:32 +0000 Subject: Copied from Portage tree. Include version number in install location. Add retro elisp manual for version 18. svn path=/emacs-overlay/; revision=1219 --- app-doc/elisp-manual/ChangeLog | 14 + app-doc/elisp-manual/Manifest | 10 + app-doc/elisp-manual/elisp-manual-18.1.03.ebuild | 34 +++ app-doc/elisp-manual/elisp-manual-21.2.8-r1.ebuild | 35 +++ .../files/elisp-manual-18.1.03-direntry.patch | 18 ++ .../files/elisp-manual-18.1.03-fix-texinfo.patch | 301 +++++++++++++++++++++ .../files/elisp-manual-21.2.8-direntry.patch | 18 ++ .../files/elisp-manual-21.2.8-fix-texinfo.patch | 83 ++++++ app-doc/elisp-manual/metadata.xml | 25 ++ 9 files changed, 538 insertions(+) create mode 100644 app-doc/elisp-manual/ChangeLog create mode 100644 app-doc/elisp-manual/Manifest create mode 100644 app-doc/elisp-manual/elisp-manual-18.1.03.ebuild create mode 100644 app-doc/elisp-manual/elisp-manual-21.2.8-r1.ebuild create mode 100644 app-doc/elisp-manual/files/elisp-manual-18.1.03-direntry.patch create mode 100644 app-doc/elisp-manual/files/elisp-manual-18.1.03-fix-texinfo.patch create mode 100644 app-doc/elisp-manual/files/elisp-manual-21.2.8-direntry.patch create mode 100644 app-doc/elisp-manual/files/elisp-manual-21.2.8-fix-texinfo.patch create mode 100644 app-doc/elisp-manual/metadata.xml (limited to 'app-doc') diff --git a/app-doc/elisp-manual/ChangeLog b/app-doc/elisp-manual/ChangeLog new file mode 100644 index 0000000..df0b466 --- /dev/null +++ b/app-doc/elisp-manual/ChangeLog @@ -0,0 +1,14 @@ +# ChangeLog for app-doc/elisp-manual +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 25 Nov 2008; Ulrich Mueller + +files/elisp-manual-18.1.03-direntry.patch, + +files/elisp-manual-18.1.03-fix-texinfo.patch, + +files/elisp-manual-21.2.8-direntry.patch, + +files/elisp-manual-21.2.8-fix-texinfo.patch, +metadata.xml, + +elisp-manual-18.1.03.ebuild, +elisp-manual-21.2.8-r1.ebuild: + Copied from Portage tree. Include version number in install location to + avoid shadowing of later manual versions that come with Emacs. Add retro + elisp manual for version 18. + diff --git a/app-doc/elisp-manual/Manifest b/app-doc/elisp-manual/Manifest new file mode 100644 index 0000000..627d0b1 --- /dev/null +++ b/app-doc/elisp-manual/Manifest @@ -0,0 +1,10 @@ +AUX elisp-manual-18.1.03-direntry.patch 610 RMD160 7c675576f9b5fc62156b6e8bf0b159f35d3b673a SHA1 343b1271f7421f709571b8b1ef1c7eb303e3c7d3 SHA256 b7a1ab884fafdf3d82e5bd26850e4017aded6f0f058cb7b7db28769cfdc4cc7e +AUX elisp-manual-18.1.03-fix-texinfo.patch 14656 RMD160 fa50a5d2f6e6ceaa670ea3e5e0212733771a6769 SHA1 a3c1ebfd8c73d00f3d4b76a207d8cc8be2bebff5 SHA256 8f3089da80bae7e1d23b73428c285a7648f1d1bbe5e2cbfc07589a897150186e +AUX elisp-manual-21.2.8-direntry.patch 539 RMD160 2fc07f21943ce6bcae118ee527c4837886fd3071 SHA1 8e700d8f65fe20fbedd8b30017ffbd484c1033a7 SHA256 952bf0c22726981ce9af6c261cfb050c80413837d7f2a901246337fe578c2078 +AUX elisp-manual-21.2.8-fix-texinfo.patch 4091 RMD160 9277c7ac8961f550405c54f9d660dfdb73aea7db SHA1 da8ae014134a57fe366fa4c6c72821bec25bcb4b SHA256 1c2033ab270b17b3791887b64d8de6215b00d9ec6e8d096ebea0d47fd98d16aa +DIST elisp-manual-18-1.03.tar.gz 1246385 RMD160 4e94a1234b060548dc25a7f6d5e7f8a59c6332a3 SHA1 801cb5192762e85bfdf63392af49ee1a5b7c7616 SHA256 eac2970bdc53d0fe3f20149177b11ac133dd16cb36d8d88de858d24cd9fdac51 +DIST elisp-manual-21-2.8.tar.gz 2455995 RMD160 a0d9aa30c032e3e227cc931e6da711ade194f7d0 SHA1 252fd99132f6b7c553a8737d9ba0a8b82636641c SHA256 f17d3bfce8f9e8426b40e0a686e50809c6806157667a032c280bd70533ffd450 +EBUILD elisp-manual-18.1.03.ebuild 733 RMD160 ba2dc0824825c66858119b279727458423dad7d9 SHA1 22c3e805884dce61224364323a76479a405dd129 SHA256 8441d49a3581c5495d44b63d07c922e45bc9d4e700ce61c6ca396125d9ec15c9 +EBUILD elisp-manual-21.2.8-r1.ebuild 759 RMD160 e86b74cdfb021683e6c33e15c95859f9ed2c5149 SHA1 713da55abbd5b0c1a6d5b4a81d75819ff9d522b0 SHA256 93fabf3a245d641f94c8e4b062ce48280614c5a9bba1bf46cb2d928214539015 +MISC ChangeLog 616 RMD160 8e49756ff33fb55e0deaa5b355f36ec1cb6f7438 SHA1 52da1d8c8374ecddaa79f1e670ca6ffbce5936f1 SHA256 ce3df4fd5159bb63bbe10f6dbffe3771f9ad03e88807d69bb82f0968fa710ae9 +MISC metadata.xml 1348 RMD160 5ecbda1b0b2424fb2d8dbc6dcb291d2b5277323c SHA1 073d9ee41bf2414a89c3952605cbd03113258d98 SHA256 d3a76777e927836d3ab86e6f07a97eea4eb5eb178c761bfaa2375c1076f34ddf diff --git a/app-doc/elisp-manual/elisp-manual-18.1.03.ebuild b/app-doc/elisp-manual/elisp-manual-18.1.03.ebuild new file mode 100644 index 0000000..2d4e02c --- /dev/null +++ b/app-doc/elisp-manual/elisp-manual-18.1.03.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils versionator + +MY_PV=$(replace_version_separator 1 '-' ) +MY_P=${PN}-${MY_PV} +DESCRIPTION="The GNU Emacs Lisp Reference Manual" +HOMEPAGE="http://www.gnu.org/software/emacs/manual/" +SRC_URI="ftp://ftp.gnu.org/old-gnu/emacs/${MY_P}.tar.gz" + +LICENSE="as-is" +SLOT="18" +KEYWORDS="~x86" +IUSE="" + +S="${WORKDIR}/elisp" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-fix-texinfo.patch" + epatch "${FILESDIR}/${P}-direntry.patch" +} + +src_compile() { + ln -s index.unperm index.texi + makeinfo elisp.texi || die "makeinfo failed" +} + +src_install() { + doinfo elisp18.info* || die "doinfo failed" +} diff --git a/app-doc/elisp-manual/elisp-manual-21.2.8-r1.ebuild b/app-doc/elisp-manual/elisp-manual-21.2.8-r1.ebuild new file mode 100644 index 0000000..8456ae2 --- /dev/null +++ b/app-doc/elisp-manual/elisp-manual-21.2.8-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils versionator + +MY_PV=$(replace_version_separator 1 '-' ) +MY_P=${PN}-${MY_PV} +DESCRIPTION="The GNU Emacs Lisp Reference Manual" +HOMEPAGE="http://www.gnu.org/software/emacs/manual/" +SRC_URI="mirror://gnu/emacs/${MY_P}.tar.gz" + +LICENSE="FDL-1.1" +#SLOT="21" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~s390 ~sparc ~x86" +IUSE="" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-fix-texinfo.patch" + epatch "${FILESDIR}/${P}-direntry.patch" +} + +src_compile() { + ln -s index.unperm index.texi + makeinfo elisp.texi || die "makeinfo failed" +} + +src_install() { + doinfo elisp21.info* || die "doinfo failed" +} diff --git a/app-doc/elisp-manual/files/elisp-manual-18.1.03-direntry.patch b/app-doc/elisp-manual/files/elisp-manual-18.1.03-direntry.patch new file mode 100644 index 0000000..53c70bf --- /dev/null +++ b/app-doc/elisp-manual/files/elisp-manual-18.1.03-direntry.patch @@ -0,0 +1,18 @@ +--- elisp-orig/elisp.texi 2008-11-25 18:52:22.000000000 +0100 ++++ elisp/elisp.texi 2008-11-25 18:56:42.000000000 +0100 +@@ -1,9 +1,14 @@ + \input texinfo @c -*-texinfo-*- + @c %**start of header +-@setfilename elisp ++@setfilename elisp18.info + @settitle GNU Emacs Lisp Reference Manual + @c %**end of header + ++@dircategory Emacs ++@direntry ++* Elisp 18: (elisp18). The Emacs Lisp Reference Manual for Emacs 18. ++@end direntry ++ + @c ================================================================ + @c THIS file has the new style title page commands. + @c Also, it uses `@@include' files instead of `@@input' files. diff --git a/app-doc/elisp-manual/files/elisp-manual-18.1.03-fix-texinfo.patch b/app-doc/elisp-manual/files/elisp-manual-18.1.03-fix-texinfo.patch new file mode 100644 index 0000000..01c3252 --- /dev/null +++ b/app-doc/elisp-manual/files/elisp-manual-18.1.03-fix-texinfo.patch @@ -0,0 +1,301 @@ +--- elisp-orig/commands.texi 1990-11-29 23:03:21.000000000 +0000 ++++ elisp/commands.texi 2008-11-25 23:01:58.000000000 +0000 +@@ -533,5 +533,5 @@ + + @noindent +-The value is 5 because that is the @sc{ASCII} code for @kbd{C-e}. ++The value is 5 because that is the @sc{ascii} code for @kbd{C-e}. + @end defvar + +@@ -569,5 +569,5 @@ + cursor does not move. @xref{The Echo Area}. + +-In the first example, the user types @kbd{1} (which is @sc{ASCII} code ++In the first example, the user types @kbd{1} (which is @sc{ascii} code + 49). The second example shows a keyboard macro definition that calls + @code{read-char} from the minibuffer. @code{read-char} reads the +@@ -685,5 +685,5 @@ + + In the example below, a character is read (the character @kbd{1}, +-@sc{ASCII} code 49). It becomes the value of @code{last-input-char}, ++@sc{ascii} code 49). It becomes the value of @code{last-input-char}, + while @kbd{C-e} (from the @kbd{C-x C-e} command used to evaluate this + expression) remains the value of @code{last-command-char}. +--- elisp-orig/display.texi 1990-10-11 00:14:05.000000000 +0000 ++++ elisp/display.texi 2008-11-25 23:01:58.000000000 +0000 +@@ -484,5 +484,5 @@ + + @quotation +-@strong{Note:} in version 18, this function is named ++@strong{Please note:} in version 18, this function is named + @code{blink-paren-hook}, but since it is not called with the standard + convention for hooks, it is being renamed to @code{blink-paren-function} +--- elisp-orig/elisp.texi 1990-12-05 20:49:07.000000000 +0000 ++++ elisp/elisp.texi 2008-11-25 23:01:58.000000000 +0000 +@@ -112,5 +112,5 @@ + @page + +-@node Top, Introduction, (dir), (dir) ++@node Top, License, (dir), (dir) + + @ifinfo +--- elisp-orig/files.texi 1990-06-26 13:54:44.000000000 +0000 ++++ elisp/files.texi 2008-11-25 23:01:58.000000000 +0000 +@@ -189,6 +189,6 @@ + appended to get an unused name. See also @ref{Creating Buffers}. + +-@strong{Note:} @code{create-file-buffer} does @emph{not} associate the +-new buffer with a file and does not make it the current buffer. ++@strong{Please note:} @code{create-file-buffer} does @emph{not} associate ++the new buffer with a file and does not make it the current buffer. + + @example +--- elisp-orig/functions.texi 1991-01-16 00:03:56.000000000 +0000 ++++ elisp/functions.texi 2008-11-25 23:01:58.000000000 +0000 +@@ -613,5 +613,5 @@ + Return the list of results." + (if (not (memq 'nil args)) ; @r{If no list is exhausted,} +- (cons (apply f (mapcar 'car args)) ; @r{Apply function to @sc{CAR}s.} ++ (cons (apply f (mapcar 'car args)) ; @r{Apply function to @sc{car}s.} + (apply 'mapcar* f ; @r{Recurse for rest of elements.} + (mapcar 'cdr args))))) +--- elisp-orig/help.texi 1990-05-31 18:50:37.000000000 +0000 ++++ elisp/help.texi 2008-11-25 23:01:58.000000000 +0000 +@@ -252,6 +252,6 @@ + @end table + +-@strong{Note:} each @samp{\} must be doubled when written in a string in +-Emacs Lisp. ++@strong{Please note:} each @samp{\} must be doubled when written in a ++string in Emacs Lisp. + + Here are examples of the special substrings: +--- elisp-orig/hooks.texi 1990-05-16 15:39:45.000000000 +0000 ++++ elisp/hooks.texi 2008-11-25 23:01:58.000000000 +0000 +@@ -12,5 +12,5 @@ + + @quotation +-@strong{Note:} in version 19, @code{blink-paren-hook} and ++@strong{Please note:} in version 19, @code{blink-paren-hook} and + @code{auto-fill-hook} are renamed to @code{blink-paren-function} and + @code{auto-fill-function} respectively, since they are not called by the +--- elisp-orig/keymaps.texi 1990-05-16 15:40:19.000000000 +0000 ++++ elisp/keymaps.texi 2008-11-25 23:01:58.000000000 +0000 +@@ -357,5 +357,5 @@ + looked up in a keymap. For useful results, the value should be a prefix + character (@pxref{Prefix Keys}). The default value is 27, which is the +-@sc{ASCII} code for @key{ESC}. ++@sc{ascii} code for @key{ESC}. + + As long as the value of @code{meta-prefix-char} remains 27, key +@@ -538,5 +538,5 @@ + if it has none. In the following example, the keymap for the + @samp{*scratch*} buffer (using Lisp Interaction mode) is a sparse keymap +-in which the entry for @key{ESC}, @sc{ASCII} code 27, is another sparse ++in which the entry for @key{ESC}, @sc{ascii} code 27, is another sparse + keymap. + +@@ -912,8 +912,8 @@ + When several consecutive characters have the same definition, they are + shown together, as @samp{@var{firstchar}..@var{lastchar}}. In this +-instance, you need to know the @sc{ASCII} codes to understand which ++instance, you need to know the @sc{ascii} codes to understand which + characters this means. For example, in the default global map, the + characters @samp{@key{SPC} ..@: ~} are described by a single line. +-@key{SPC} is @sc{ASCII} 32, @kbd{~} is @sc{ASCII} 126, and the ++@key{SPC} is @sc{ascii} 32, @kbd{~} is @sc{ascii} 126, and the + characters between them include all the normal printing characters, + (e.g., letters, digits, punctuation, etc.@:); all these characters are +--- elisp-orig/markers.texi 1990-05-31 19:10:17.000000000 +0000 ++++ elisp/markers.texi 2008-11-25 23:01:58.000000000 +0000 +@@ -364,6 +364,6 @@ + The old value of the mark is @emph{not} pushed onto the mark ring. + +- @strong{Note:} use this function only if you want the user to see that +-the mark has moved, and you want the previous mark position to be lost. ++ @strong{Please note:} use this function only if you want the user to see ++that the mark has moved, and you want the previous mark position to be lost. + Normally, when a new mark is set, the old one should go on the + @code{mark-ring}, which is why most applications should use +--- elisp-orig/objects.texi 1990-08-25 20:46:08.000000000 +0000 ++++ elisp/objects.texi 2008-11-25 23:01:58.000000000 +0000 +@@ -261,5 +261,5 @@ + + A @dfn{character} in Emacs Lisp is nothing more than an integer. In +-other words, characters are represented by their eight-bit @sc{ASCII} ++other words, characters are represented by their eight-bit @sc{ascii} + values. For example, the character @kbd{A} is represented as the + @w{integer 65}. If an arbitrary integer is used as a character, only +@@ -387,10 +387,10 @@ + @cindex escape sequence + Finally, the most general read syntax consists of a question mark +-followed by a backslash and the @sc{ASCII} code for the character in ++followed by a backslash and the @sc{ascii} code for the character in + octal (up to three octal digits); thus, @samp{?\101} for the character + @kbd{A}, @samp{?\001} for the character @kbd{C-a}, and @code{?\002} for + the character @kbd{C-b}. Although this syntax can represent any + character, it is preferred only when the precise octal value is more +-important than the @sc{ASCII} representation. (These sequences which ++important than the @sc{ascii} representation. (These sequences which + start with backslash are also known as @dfn{escape sequences}, because + backslash plays the role of an escape character, but they have nothing +--- elisp-orig/os.texi 1990-11-29 23:02:02.000000000 +0000 ++++ elisp/os.texi 2008-11-25 23:01:58.000000000 +0000 +@@ -90,5 +90,5 @@ + @end defopt + +-@node Init File, Terminal-Specific, Start-Up Summary, Starting Up ++@node Init File, Terminal-Specific, Start-up Summary, Starting Up + @subsection The Init File: @file{.emacs} + @cindex init file +@@ -688,5 +688,5 @@ + are swapped and the characters @kbd{C-q} and @kbd{C-^} are swapped. + After executing this function, typing @kbd{C-\} has all the usual +-effects of typing @kbd{C-s}, and vice versa. (@xref{Flow Control} for ++effects of typing @kbd{C-s}, and vice versa. (@xref{Flow Control}, for + more information on this subject.) + +@@ -743,6 +743,6 @@ + you will have to start Emacs afresh to make this take effect. + +-@strong{Note:} In version 19, @code{baud-rate} is a variable so that you +-can change it conveniently within Emacs. ++@strong{Please note:} In version 19, @code{baud-rate} is a variable so ++that you can change it conveniently within Emacs. + @end defun + +@@ -797,5 +797,5 @@ + that the choice of @kbd{C-s} and @kbd{C-q} as command characters was + reasonable. Emacs, for economy of keystrokes and portability, chose to +-use the control characters in the @sc{ASCII} character set, and tried to ++use the control characters in the @sc{ascii} character set, and tried to + make the assignments mnemonic (thus, @kbd{C-s} for search and @kbd{C-q} + for quote). +--- elisp-orig/positions.texi 1990-05-31 19:07:46.000000000 +0000 ++++ elisp/positions.texi 2008-11-25 23:01:58.000000000 +0000 +@@ -75,5 +75,5 @@ + current buffer. This is @code{(1+ (buffer-size))}, unless narrowing is + in effect, in which case it is the position of the end of the region +-that you narrowed to. (@xref{Narrowing}). ++that you narrowed to. (@xref{Narrowing}.) + @end defun + +@@ -745,5 +745,5 @@ + last of @var{forms}, or @code{nil} if no forms were given. + +-@strong{Note:} it is easy to make a mistake when using ++@strong{Caution:} it is easy to make a mistake when using + @code{save-restriction}. Read the entire description here before you + try it. +--- elisp-orig/processes.texi 1990-12-01 21:17:14.000000000 +0000 ++++ elisp/processes.texi 2008-11-25 23:01:58.000000000 +0000 +@@ -90,8 +90,8 @@ + supplied to @var{program} as separate command line arguments. Wildcard + characters and other shell constructs are not allowed in these strings, +-since they are passed directly to the specified program. @strong{Note:} +-the argument @var{program} contains only the name of the program; it may +-not contain any command-line arguments. Such arguments must be provided +-via @var{args}. ++since they are passed directly to the specified program. ++@strong{Please note:} the argument @var{program} contains only the name ++of the program; it may not contain any command-line arguments. Such ++arguments must be provided via @var{args}. + + The subprocess gets its current directory from the value of +--- elisp-orig/searching.texi 1990-08-29 03:21:46.000000000 +0000 ++++ elisp/searching.texi 2008-11-25 23:01:58.000000000 +0000 +@@ -292,10 +292,10 @@ + @end table + +-@strong{Note:} for historical compatibility, special characters are treated as +-ordinary ones if they are in contexts where their special meanings make no +-sense. For example, @samp{*foo} treats @samp{*} as ordinary since there is +-no preceding expression on which the @samp{*} can act. It is poor practice +-to depend on this behavior; better to quote the special character anyway, +-regardless of where it appears.@refill ++@strong{Please note:} for historical compatibility, special characters ++are treated as ordinary ones if they are in contexts where their special ++meanings make no sense. For example, @samp{*foo} treats @samp{*} as ++ordinary since there is no preceding expression on which the @samp{*} ++can act. It is poor practice to depend on this behavior; better to quote ++the special character anyway, regardless of where it appears.@refill + + For the most part, @samp{\} followed by any character matches only +--- elisp-orig/sequences.texi 1990-06-07 00:17:50.000000000 +0000 ++++ elisp/sequences.texi 2008-11-25 23:01:58.000000000 +0000 +@@ -235,5 +235,5 @@ + + (aref "abcdefg" 1) +- @result{} 98 ; @r{@samp{b} is @sc{ASCII} code 98.} ++ @result{} 98 ; @r{@samp{b} is @sc{ascii} code 98.} + @end example + +--- elisp-orig/strings.texi 1990-06-07 00:12:23.000000000 +0000 ++++ elisp/strings.texi 2008-11-25 23:01:58.000000000 +0000 +@@ -37,6 +37,6 @@ + the string contents, and cannot be altered. Strings in Lisp are + @emph{not} terminated by a distinguished character code. (By contrast, +-strings in C are terminated by a character with @sc{ASCII} code 0.) +-This means that any character, including the null character (@sc{ASCII} ++strings in C are terminated by a character with @sc{ascii} code 0.) ++This means that any character, including the null character (@sc{ascii} + code 0), is a valid element of a string.@refill + +@@ -261,7 +261,7 @@ + @code{nil}. If the two strings match entirely, the value is @code{nil}. + +- Pairs of characters are compared by their @sc{ASCII} codes. Keep in ++ Pairs of characters are compared by their @sc{ascii} codes. Keep in + mind that lower case letters have higher numeric values in the +-@sc{ASCII} character set than their upper case counterparts; numbers and ++@sc{ascii} character set than their upper case counterparts; numbers and + many punctuation characters have a lower numeric value than upper case + letters. +@@ -345,5 +345,5 @@ + This function returns the first character in @var{string}. If the + string is empty, the function returns 0. The value is also 0 when the +-first character of @var{string} is the null character, @sc{ASCII} code ++first character of @var{string} is the null character, @sc{ascii} code + 0. + +@@ -567,5 +567,5 @@ + + The examples below use the characters @samp{X} and @samp{x} which have +-@sc{ASCII} codes 88 and 120 respectively. ++@sc{ascii} codes 88 and 120 respectively. + + @defun downcase string-or-char +@@ -621,5 +621,5 @@ + The definition of a word is any sequence of consecutive characters + that are assigned to the word constituent category in the current syntax +-table (@xref{Syntax Class Table}). ++table (@pxref{Syntax Class Table}). + + When the argument to @code{capitalize} is a character, @code{capitalize} +--- elisp-orig/syntax.texi 1990-05-16 15:43:55.000000000 +0000 ++++ elisp/syntax.texi 2008-11-25 23:01:58.000000000 +0000 +@@ -19,5 +19,5 @@ + + A syntax table is a vector of 256 elements; it contains one entry for +-each of the 256 @sc{ASCII} characters of an 8-bit byte. Each element is ++each of the 256 @sc{ascii} characters of an 8-bit byte. Each element is + an integer that encodes the syntax of the character in question. + +--- elisp-orig/text.texi 1990-05-31 19:17:44.000000000 +0000 ++++ elisp/text.texi 2008-11-25 23:01:58.000000000 +0000 +@@ -1016,5 +1016,5 @@ + unequal; the sort key whose character is less at the point of first + mismatch is the lesser sort key. The individual characters are compared +-according to their numerical values. Since Emacs uses the @sc{ASCII} ++according to their numerical values. Since Emacs uses the @sc{ascii} + character set, the ordering in that set determines alphabetical order. + @c version 19 change +--- elisp-orig/variables.texi 1990-12-02 18:51:32.000000000 +0000 ++++ elisp/variables.texi 2008-11-25 23:01:58.000000000 +0000 +@@ -425,5 +425,5 @@ + of @var{symbol} to the result, provided @var{value} is given. + +-@strong{Note:} don't use @code{defconst} for user option variables in ++Don't use @code{defconst} for user option variables in + libraries that are not normally loaded. The user should be able to + specify a value for such a variable in the @file{.emacs} file, so that diff --git a/app-doc/elisp-manual/files/elisp-manual-21.2.8-direntry.patch b/app-doc/elisp-manual/files/elisp-manual-21.2.8-direntry.patch new file mode 100644 index 0000000..3899b28 --- /dev/null +++ b/app-doc/elisp-manual/files/elisp-manual-21.2.8-direntry.patch @@ -0,0 +1,18 @@ +--- elisp-manual-21-2.8-orig/elisp.texi 2002-01-17 10:02:47.000000000 +0100 ++++ elisp-manual-21-2.8/elisp.texi 2008-11-25 11:37:35.000000000 +0100 +@@ -1,12 +1,12 @@ + \input texinfo @c -*-texinfo-*- + @c %**start of header +-@setfilename elisp ++@setfilename elisp21.info + @settitle GNU Emacs Lisp Reference Manual + @c %**end of header + +-@dircategory Editors ++@dircategory Emacs + @direntry +-* Elisp: (elisp). The Emacs Lisp Reference Manual. ++* Elisp 21: (elisp21). The Emacs Lisp Reference Manual for Emacs 21. + @end direntry + + @smallbook diff --git a/app-doc/elisp-manual/files/elisp-manual-21.2.8-fix-texinfo.patch b/app-doc/elisp-manual/files/elisp-manual-21.2.8-fix-texinfo.patch new file mode 100644 index 0000000..a42d344 --- /dev/null +++ b/app-doc/elisp-manual/files/elisp-manual-21.2.8-fix-texinfo.patch @@ -0,0 +1,83 @@ +Change all occurences of @strong{Note:} to avoid makeinfo warnings and +spurious cross references. This is a backport of the following change: + +2003-09-26 Richard M. Stallman + + * buffers.texi, commands.texi, debugging.texi, eval.texi: + * loading.texi, minibuf.texi, text.texi, variables.texi: + Avoid @strong{Note:}. + +--- elisp-orig/buffers.texi 2001-09-23 18:52:16.000000000 +0000 ++++ elisp/buffers.texi 2008-11-25 22:20:16.000000000 +0000 +@@ -107,5 +107,5 @@ + that, you must use the functions described in @ref{Displaying Buffers}. + +- @strong{Note:} Lisp functions that change to a different current buffer ++ @strong{Warning:} Lisp functions that change to a different current buffer + should not depend on the command loop to set it back afterwards. + Editing commands written in Emacs Lisp can be called from other programs +--- elisp-orig/commands.texi 2001-09-10 05:06:03.000000000 +0000 ++++ elisp/commands.texi 2008-11-25 22:20:16.000000000 +0000 +@@ -2018,5 +2018,5 @@ + function. + +-@strong{Note:} Don't bind this variable with @code{let}. It is often ++@strong{Warning:} Don't bind this variable with @code{let}. It is often + buffer-local, and if you bind it around reading input (which is exactly + when you @emph{would} bind it), switching buffers asynchronously while +--- elisp-orig/debugging.texi 2000-12-04 16:15:18.000000000 +0000 ++++ elisp/debugging.texi 2008-11-25 22:20:16.000000000 +0000 +@@ -216,5 +216,5 @@ + @code{debug-on-entry} always returns @var{function-name}. + +-@strong{Note:} if you redefine a function after using ++@strong{Warning:} if you redefine a function after using + @code{debug-on-entry} on it, the code to enter the debugger is discarded + by the redefinition. In effect, redefining the function cancels +--- elisp-orig/eval.texi 2000-01-05 15:17:53.000000000 +0000 ++++ elisp/eval.texi 2008-11-25 22:20:16.000000000 +0000 +@@ -589,5 +589,5 @@ + values. Loading a file also does evaluation (@pxref{Loading}). + +- @strong{Note:} it is generally cleaner and more flexible to store a ++ It is generally cleaner and more flexible to store a + function in a data structure, and call it with @code{funcall} or + @code{apply}, than to store an expression in the data structure and +--- elisp-orig/loading.texi 2001-09-06 19:49:45.000000000 +0000 ++++ elisp/loading.texi 2008-11-25 22:20:16.000000000 +0000 +@@ -149,5 +149,5 @@ + functions should use @code{read}. + +-@strong{Note:} Instead of using this variable, it is cleaner to use ++Instead of using this variable, it is cleaner to use + another, newer feature: to pass the function as the @var{read-function} + argument to @code{eval-region}. @xref{Eval}. +--- elisp-orig/minibuf.texi 2001-10-02 02:34:48.000000000 +0000 ++++ elisp/minibuf.texi 2008-11-25 22:20:16.000000000 +0000 +@@ -1064,6 +1064,6 @@ + case, point goes at the beginning of @var{initial}. The default for + @var{initial} is @code{nil}---don't insert any file name. To see what +-@var{initial} does, try the command @kbd{C-x C-v}. @strong{Note:} we +-recommend using @var{default} rather than @var{initial} in most cases. ++@var{initial} does, try the command @kbd{C-x C-v}. @strong{Please note:} ++we recommend using @var{default} rather than @var{initial} in most cases. + + Here is an example: +--- elisp-orig/text.texi 2001-10-02 02:21:59.000000000 +0000 ++++ elisp/text.texi 2008-11-25 22:20:16.000000000 +0000 +@@ -3694,5 +3694,5 @@ + the body of a @code{combine-after-change-calls} form. + +-@strong{Note:} If the changes you combine occur in widely scattered ++@strong{Warning:} If the changes you combine occur in widely scattered + parts of the buffer, this will still work, but it is not advisable, + because it may lead to inefficient behavior for some change hook +--- elisp-orig/variables.texi 2001-09-06 19:43:44.000000000 +0000 ++++ elisp/variables.texi 2008-11-25 22:20:16.000000000 +0000 +@@ -1290,5 +1290,5 @@ + Displays}. + +-@strong{Note:} Do not use @code{make-local-variable} for a hook ++@strong{Warning:} Do not use @code{make-local-variable} for a hook + variable. Instead, use @code{make-local-hook}. @xref{Hooks}. + @end deffn diff --git a/app-doc/elisp-manual/metadata.xml b/app-doc/elisp-manual/metadata.xml new file mode 100644 index 0000000..b47e13b --- /dev/null +++ b/app-doc/elisp-manual/metadata.xml @@ -0,0 +1,25 @@ + + + +emacs + + Most of the GNU Emacs text editor is written in the programming language + called Emacs Lisp. You can write new code in Emacs Lisp and install it as an + extension to the editor. However, Emacs Lisp is more than a mere "extension + language"; it is a full computer programming language in its own right. You + can use it as you would any other programming language. + + Because Emacs Lisp is designed for use in an editor, it has special features + for scanning and parsing text as well as features for handling files, + buffers, displays, subprocesses, and so on. Emacs Lisp is closely integrated + with the editing facilities; thus, editing commands are functions that can + also conveniently be called from Lisp programs, and parameters for + customization are ordinary Lisp variables. + + This manual attempts to be a full description of Emacs Lisp. For a + beginner's introduction to Emacs Lisp, see An Introduction to Emacs Lisp + Programming, by Bob Chassell, also published by the Free Software + Foundation. This manual presumes considerable familiarity with the use of + Emacs for editing; see The GNU Emacs Manual for this basic information. + + -- cgit v1.2.3