diff options
| author | Miles Bader | 2007-05-24 06:25:50 +0000 |
|---|---|---|
| committer | Miles Bader | 2007-05-24 06:25:50 +0000 |
| commit | 274cb4e46d556c8b19e89d622065517bfb94db91 (patch) | |
| tree | 8c5762634b7822eb26b1ab53d18ac52865b40506 | |
| parent | 05587383a591082b6292cfc6464750e41483bbfe (diff) | |
| parent | 8a0b01bce92cdd602e96baf8e435a2f2f8e8f0ba (diff) | |
| download | emacs-274cb4e46d556c8b19e89d622065517bfb94db91.tar.gz emacs-274cb4e46d556c8b19e89d622065517bfb94db91.zip | |
Merge from emacs--rel--22
Patches applied:
* emacs--rel--22 (patch 24)
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-767
| -rw-r--r-- | admin/FOR-RELEASE | 4 | ||||
| -rw-r--r-- | admin/nt/README-ftp-server | 93 | ||||
| -rwxr-xr-x | admin/nt/makedist.bat | 107 | ||||
| -rw-r--r-- | etc/PROBLEMS | 30 | ||||
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/files.el | 12 | ||||
| -rw-r--r-- | lisp/tar-mode.el | 4 | ||||
| -rw-r--r-- | src/ChangeLog | 4 |
8 files changed, 89 insertions, 169 deletions
diff --git a/admin/FOR-RELEASE b/admin/FOR-RELEASE index b3075723e31..e64da81cc01 100644 --- a/admin/FOR-RELEASE +++ b/admin/FOR-RELEASE | |||
| @@ -38,8 +38,6 @@ to the hack introduced on 2005-07-01 to fix some other Cleartype problem. | |||
| 38 | ** henman@it.to-be.co.jp 09 Aug 2006: ispell.el problem on Cygwin. | 38 | ** henman@it.to-be.co.jp 09 Aug 2006: ispell.el problem on Cygwin. |
| 39 | (Did we decide that is unreproducible?) | 39 | (Did we decide that is unreproducible?) |
| 40 | 40 | ||
| 41 | ** eliz@gnu.org, May 20: EOL conversion of files in .tar archives | ||
| 42 | |||
| 43 | * BUGS | 41 | * BUGS |
| 44 | 42 | ||
| 45 | NB the definitive copy of this file for Emacs 22 is on the | 43 | NB the definitive copy of this file for Emacs 22 is on the |
| @@ -59,6 +57,8 @@ Sync change from trunk 2007-05-19. | |||
| 59 | 57 | ||
| 60 | ** viper and tramp should not load cl at run time. | 58 | ** viper and tramp should not load cl at run time. |
| 61 | 59 | ||
| 60 | ** yamaoka@jpl.org's patch for mail-extract-address-components problem. | ||
| 61 | |||
| 62 | * DOCUMENTATION | 62 | * DOCUMENTATION |
| 63 | 63 | ||
| 64 | ** Check the Emacs Tutorial. | 64 | ** Check the Emacs Tutorial. |
diff --git a/admin/nt/README-ftp-server b/admin/nt/README-ftp-server index 67d8e7919ce..53a06c3d80a 100644 --- a/admin/nt/README-ftp-server +++ b/admin/nt/README-ftp-server | |||
| @@ -1,17 +1,16 @@ | |||
| 1 | Precompiled Distributions of | 1 | Precompiled Distributions of |
| 2 | Emacs for Windows | 2 | Emacs for Windows |
| 3 | 3 | ||
| 4 | Version 21.3 | 4 | Version 22.1 |
| 5 | 5 | ||
| 6 | April 22, 2003 | 6 | May 22, 2007 |
| 7 | 7 | ||
| 8 | This directory contains source and precompiled distributions for GNU | 8 | This directory contains source and precompiled distributions for GNU |
| 9 | Emacs on Windows NT/2000/XP and Windows 95/98/Me. This port is a part | 9 | Emacs on Windows NT/2000/XP and Windows 95/98/Me. This port is a |
| 10 | of the standard GNU Emacs distribution from the Free Software | 10 | part of the standard GNU Emacs distribution from the Free Software |
| 11 | Foundation; the precompiled distributions are provided here for | 11 | Foundation; the precompiled distributions are provided here for |
| 12 | convenience since, unlike Unix, the majority of Windows users do not | 12 | convenience since the majority of Windows users are not accustomed |
| 13 | have access to a compiler (and, besides, do you really want to compile | 13 | to compiling programs themselves. |
| 14 | Emacs when you don't have to?). | ||
| 15 | 14 | ||
| 16 | If you have access to the World Wide Web, I would recommend pointing | 15 | If you have access to the World Wide Web, I would recommend pointing |
| 17 | your favorite web browser to the following document (if you haven't | 16 | your favorite web browser to the following document (if you haven't |
| @@ -27,79 +26,56 @@ | |||
| 27 | 26 | ||
| 28 | If you want to redistribute any of the precompiled distributions of | 27 | If you want to redistribute any of the precompiled distributions of |
| 29 | Emacs, be careful to check the implications of the GPL. For instance, | 28 | Emacs, be careful to check the implications of the GPL. For instance, |
| 30 | if you put the emacs-21.3-bin-i386.tar.gz file from this directory on | 29 | if you put the emacs-22.1-bin-i386.tar.gz file from this directory on |
| 31 | an Internet site, you must arrange to distribute the source files of | 30 | an Internet site, you must arrange to distribute the source files of |
| 32 | the SAME version (i.e. emacs-21.3-src.tar.gz). | 31 | the SAME version (i.e. ../emacs-22.1.tar.gz). |
| 33 | 32 | ||
| 34 | Making a link to our copy of the source is NOT sufficient, since we | 33 | Making a link to our copy of the source is NOT sufficient, since we |
| 35 | might upgrade to a new version while you are still distributing the | 34 | might upgrade to a new version while you are still distributing the |
| 36 | old binaries. | 35 | old binaries. |
| 37 | 36 | ||
| 38 | 37 | ||
| 39 | * Distributions in .tar.gz format | 38 | * Distributions in .tar.gz and .zip format |
| 40 | 39 | ||
| 41 | Emacs is distributed primarily as a set of large gzipped tar files | 40 | Emacs is distributed primarily as source code in a large gzipped tar file |
| 42 | (*.tar.gz). Because Emacs is quite large and therefore difficult to | 41 | (*.tar.gz). Because Emacs is quite large and therefore difficult to |
| 43 | download over unreliable connections, it is provided in several | 42 | download over unreliable connections, the Windows binaries are provided |
| 44 | combinations, ranging from the complete source plus executables, to | 43 | in several combinations, ranging from the complete source plus executables, |
| 45 | just the minimal amount needed to run without any source, plus a | 44 | to just the minimal amount needed to run without any source, plus a |
| 46 | couple of optional packages. Here are the combinations (i386 in the | 45 | couple of optional packages. Formerly, we used the same .tar.gz format |
| 47 | name indicates a tarball contains executables compiled for | 46 | but since there are no longer legal problems with .zip files, and the |
| 48 | Intel-compatible x86 systems): | 47 | latest versions of Windows support these natively, the Windows binaries |
| 48 | of Emacs are now distributed as .zip files. | ||
| 49 | Here are the combinations (i386 in the name indicates a zipfile contains | ||
| 50 | executables compiled for Intel-compatible x86 systems): | ||
| 49 | 51 | ||
| 50 | + Primary precompiled distribution, including lisp source: | 52 | + Primary precompiled distribution, including lisp source: |
| 51 | 53 | ||
| 52 | emacs-21.3-fullbin-i386.tar.gz | 54 | emacs-22.1-bin-i386.zip |
| 53 | |||
| 54 | + Minimal precompiled distribution, which excludes lisp source: | ||
| 55 | |||
| 56 | emacs-21.3-bin-i386.tar.gz | ||
| 57 | |||
| 58 | You can download emacs-21.3-lisp.tar.gz to get the lisp source, if | ||
| 59 | you later decide you want it - it is useful for understanding how | ||
| 60 | packages work, and how they can best be setup or customized. | ||
| 61 | |||
| 62 | 55 | ||
| 63 | NB. If you just want to run Emacs, get one of the distributions above. | 56 | NB. If you just want to run Emacs, get one of the distributions above. |
| 64 | 57 | ||
| 58 | + Bare executables, useful if you want to get the complete source | ||
| 59 | release, but can't compile Emacs yourself: | ||
| 65 | 60 | ||
| 66 | + Bare executables, only useful if you want to get the complete source | 61 | emacs-22.1-barebin-i386.zip (requires ../emacs-22.1.tar.gz) |
| 67 | release below, but can't compile Emacs yourself: | ||
| 68 | |||
| 69 | emacs-21.3-barebin-i386.tar.gz (requires emacs-21.3-src.tar.gz) | ||
| 70 | |||
| 71 | + Undumped executable, only needed for rebuilding Emacs after changing | ||
| 72 | certain core lisp files: | ||
| 73 | |||
| 74 | emacs-21.3-undumped-i386.tar.gz | ||
| 75 | |||
| 76 | + Optional package providing the Library of Emacs Input Methods for | ||
| 77 | typing non-ascii characters, notably Chinese, Japanese and Korean, | ||
| 78 | but also including European and other character sets: | ||
| 79 | |||
| 80 | emacs-21.3-leim.tar.gz | ||
| 81 | 62 | ||
| 82 | + The complete official source for Emacs: | 63 | + The complete official source for Emacs: |
| 83 | 64 | ||
| 84 | emacs-21.3-src.tar.gz | 65 | ../emacs-22.1.tar.gz |
| 85 | |||
| 86 | + The complete official source for LEIM: | ||
| 87 | |||
| 88 | leim-21.3-src.tar.gz | ||
| 89 | |||
| 90 | 66 | ||
| 91 | * Distributions for non-x86 platforms | 67 | * Distributions for non-x86 platforms |
| 92 | 68 | ||
| 93 | Distributions for non-x86 platforms are no longer supplied. Older | 69 | Distributions for non-x86 platforms are no longer supplied. Older |
| 94 | platforms supported by Windows NT no longer seem to be in demand, | 70 | platforms supported by Windows NT no longer seem to be in demand, |
| 95 | and Emacs is yet to be ported to 64bit Windows platforms. If you are | 71 | and Emacs is yet to be ported to 64bit Windows platforms. If you are |
| 96 | willing to help port Emacs to 64bit versions of Windows, your | 72 | willing to help port Emacs 23 to 64bit versions of Windows, your |
| 97 | contribution will be welcome on the emacs-devel mailing list. | 73 | contribution will be welcome on the emacs-devel mailing list. |
| 98 | 74 | ||
| 99 | * Unpacking distributions | 75 | * Unpacking distributions |
| 100 | 76 | ||
| 101 | Ports of GNU gzip and GNU tar for handling the distribution file | 77 | Ports of GNU gzip and GNU tar for handling the source distribution file |
| 102 | formats can be found in several places that distribute ports of GNU | 78 | format can be found in several places that distribute ports of GNU |
| 103 | programs, for example: | 79 | programs, for example: |
| 104 | 80 | ||
| 105 | Cygwin: http://www.cygwin.com/ | 81 | Cygwin: http://www.cygwin.com/ |
| @@ -132,6 +108,11 @@ | |||
| 132 | You may be prompted to rename or overwrite directories when using | 108 | You may be prompted to rename or overwrite directories when using |
| 133 | djtarnt: simply type return to continue (this is harmless). | 109 | djtarnt: simply type return to continue (this is harmless). |
| 134 | 110 | ||
| 111 | The precompiled binaries can be unpacked using unzip.exe from info-zip.org | ||
| 112 | if you do not already have other tools to do this. | ||
| 113 | |||
| 114 | % unzip some.zip | ||
| 115 | |||
| 135 | Once you have unpacked a precompiled distribution of Emacs, it should | 116 | Once you have unpacked a precompiled distribution of Emacs, it should |
| 136 | have the following subdirectories: | 117 | have the following subdirectories: |
| 137 | 118 | ||
| @@ -143,11 +124,11 @@ | |||
| 143 | If you do use other utility programs to unpack the distribution, check | 124 | If you do use other utility programs to unpack the distribution, check |
| 144 | the following to be sure the distribution was not corrupted: | 125 | the following to be sure the distribution was not corrupted: |
| 145 | 126 | ||
| 146 | + Be sure to disable the CR/LF translation or the executables will be | 127 | + Be sure to disable the CR/LF translation or the executables will |
| 147 | unusable. Older versions of WinZip would enable this translation | 128 | be unusable. Older versions of WinZip would enable this |
| 148 | by default. If you are using WinZip, disable it. (I don't have | 129 | translation by default when unpacking .tar files. If you are |
| 149 | WinZip myself, and I do not know the specific commands necessary | 130 | using WinZip, disable it. (I don't have WinZip myself, and I do |
| 150 | to disable it.) | 131 | not know the specific commands necessary to disable it.) |
| 151 | 132 | ||
| 152 | + Check that filenames were not truncated to 8.3. For example, there | 133 | + Check that filenames were not truncated to 8.3. For example, there |
| 153 | should be a file lisp/abbrevlist.el; if this has been truncated to | 134 | should be a file lisp/abbrevlist.el; if this has been truncated to |
diff --git a/admin/nt/makedist.bat b/admin/nt/makedist.bat index 435462df6bd..b160da93c4f 100755 --- a/admin/nt/makedist.bat +++ b/admin/nt/makedist.bat | |||
| @@ -25,135 +25,36 @@ rem along with GNU Emacs; see the file COPYING. If not, write to the | |||
| 25 | rem Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 25 | rem Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 26 | rem Boston, MA 02110-1301, USA. | 26 | rem Boston, MA 02110-1301, USA. |
| 27 | 27 | ||
| 28 | set ZIP=zip | ||
| 28 | 29 | ||
| 29 | rem Beware broken ports of tar. Recent cygwin versions work well, older | ||
| 30 | rem cygwin versions and the current MSys port have problems with DOS | ||
| 31 | rem line ends when reading file names from a file. Other ports have their | ||
| 32 | rem own problems too. | ||
| 33 | set TAR=tar | ||
| 34 | |||
| 35 | rem Make a copy of current Emacs source | ||
| 36 | if (%3) == () goto usage | 30 | if (%3) == () goto usage |
| 37 | if not (%4) == () goto %4 | 31 | if not (%4) == () goto %4 |
| 38 | if not (%4) == (src) goto :lisp | ||
| 39 | |||
| 40 | :src | ||
| 41 | |||
| 42 | echo Create full source distribution, excluding leim | ||
| 43 | %TAR% --exclude leim --exclude _marker --exclude DOC --exclude DOC-X --exclude TAGS --exclude bin --exclude obj --exclude obj-spd --exclude oo --exclude oo-spd --exclude *~ --exclude *.rej -cvf - emacs-%1 | gzip -9 > %2-src.tar.gz | ||
| 44 | if not (%4) == () goto end | ||
| 45 | |||
| 46 | :lisp | ||
| 47 | echo Create limited elisp source distribution | ||
| 48 | %TAR% --exclude *.rej --exclude *.elc --exclude *~ -cvf - emacs-%1/lisp | gzip -9 > %2-lisp.tar.gz | ||
| 49 | if not (%4) == () goto end | ||
| 50 | 32 | ||
| 51 | :bin | 33 | :bin |
| 52 | 34 | ||
| 53 | set eld=emacs-%1/lisp | ||
| 54 | |||
| 55 | rem List of Lisp files that are not compiled and that should be | ||
| 56 | rem included in the bin distribution. | ||
| 57 | |||
| 58 | rem It would be better to generate this list automatically. It is the | ||
| 59 | rem list of all .el files for which there is no corresponding .elc | ||
| 60 | rem file, minus ldefs-boot.el. --lute | ||
| 61 | |||
| 62 | set elfiles=%eld%/cus-load.el %eld%/emacs-lisp/cl-specs.el %eld%/eshell/esh-groups.el %eld%/eshell/esh-maint.el %eld%/finder-inf.el %eld%/forms-d2.el %eld%/forms-pass.el %eld%/international/latin-1.el %eld%/international/latin-2.el %eld%/international/latin-3.el %eld%/international/latin-4.el %eld%/international/latin-5.el %eld%/international/latin-8.el %eld%/international/latin-9.el %eld%/international/mule-conf.el %eld%/language/czech.el %eld%/language/devanagari.el %eld%/language/english.el %eld%/language/georgian.el %eld%/language/greek.el %eld%/language/hebrew.el %eld%/language/japanese.el %eld%/language/kannada.el %eld%/language/korean.el %eld%/language/lao.el %eld%/language/malayalam.el %eld%/language/misc-lang.el %eld%/language/romanian.el %eld%/language/slovak.el %eld%/language/tamil.el %eld%/language/thai.el %eld%/language/utf-8-lang.el %eld%/loaddefs.el %eld%/loadup.el %eld%/mail/blessmail.el %eld%/mh-e/mh-acros.el %eld%/mh-e/mh-gnus.el %eld%/mh-e/mh-loaddefs.el %eld%/obsolete/keyswap.el %eld%/patcomp.el %eld%/paths.el %eld%/play/bruce.el %eld%/subdirs.el %eld%/term/AT386.el %eld%/term/apollo.el %eld%/term/bobcat.el %eld%/term/internal.el %eld%/term/iris-ansi.el %eld%/term/linux.el %eld%/term/lk201.el %eld%/term/news.el %eld%/term/vt102.el %eld%/term/vt125.el %eld%/term/vt200.el %eld%/term/vt201.el %eld%/term/vt220.el %eld%/term/vt240.el %eld%/term/vt300.el %eld%/term/vt320.el %eld%/term/vt400.el %eld%/term/vt420.el %eld%/term/wyse50.el %eld%/version.el | ||
| 63 | |||
| 64 | set fns_el= | ||
| 65 | for %%f in (emacs-%1/bin/fns*) do set fns_el=%fns_el% emacs-%1/bin/%%f | ||
| 66 | |||
| 67 | echo Create bin distribution | ||
| 68 | copy %3\README.W32 emacs-%1\README.W32 | ||
| 69 | |||
| 70 | del #files# #elfiles# | ||
| 71 | for %%f in (emacs-%1/BUGS emacs-%1/README emacs-%1/README.W32) do echo %%f>>#files# | ||
| 72 | for %%f in (emacs-%1/bin/fns*) do echo emacs-%1/bin/%%f>>#elfiles# | ||
| 73 | for %%f in (emacs-%1/bin emacs-%1/etc emacs-%1/info emacs-%1/lisp) do echo %%f>>#files# | ||
| 74 | for %%f in (emacs-%1/lock emacs-%1/site-lisp) do echo %%f>>#files# | ||
| 75 | for %%f in (%elfiles% emacs-%1/site-lisp/subdirs.el) do echo %%f>>#elfiles# | ||
| 76 | |||
| 77 | %TAR% --exclude temacs.exe --exclude emacs.mdp --exclude *.pdb --exclude *.opt --exclude "*.el" --exclude "*~" -T #files# -cvf %2-bin-i386.tar | ||
| 78 | %TAR% -T #elfiles# -rvf %2-bin-i386.tar | ||
| 79 | gzip -9 %2-bin-i386.tar | ||
| 80 | del emacs-%1\README.W32 | ||
| 81 | rem del #files# #elfiles# | ||
| 82 | if not (%4) == () goto end | ||
| 83 | |||
| 84 | :fullbin | ||
| 85 | |||
| 86 | echo Create full bin distribution | 35 | echo Create full bin distribution |
| 87 | copy %3\README.W32 emacs-%1\README.W32 | 36 | copy %3\README.W32 emacs-%1\README.W32 |
| 88 | 37 | ||
| 89 | %TAR% --exclude temacs.exe --exclude emacs.mdp --exclude *.pdb --exclude *.opt --exclude *~ -cvf - emacs-%1/BUGS emacs-%1/README emacs-%1/README.W32 emacs-%1/bin emacs-%1/etc emacs-%1/info emacs-%1/lisp emacs-%1/lock emacs-%1/site-lisp | gzip -9 > %2-fullbin-i386.tar.gz | 38 | %ZIP% -x emacs.mdp -x *.pdb -x *.opt -x *~ -x CVS -9 emacs-%1/BUGS emacs-%1/README emacs-%1/README.W32 emacs-%1/bin emacs-%1/etc emacs-%1/info emacs-%1/lisp %2-bin-i386.zip |
| 90 | del emacs-%1\README.W32 | 39 | del emacs-%1\README.W32 |
| 91 | if not (%4) == () goto end | 40 | if not (%4) == () goto end |
| 92 | 41 | ||
| 93 | :leim | ||
| 94 | |||
| 95 | echo Create archive with precompiled leim files | ||
| 96 | %TAR% -cvf - emacs-%1/leim/leim-list.el emacs-%1/leim/quail emacs-%1/leim/ja-dic | gzip -9 > %2-leim.tar.gz | ||
| 97 | if not (%4) == () goto end | ||
| 98 | |||
| 99 | :undumped | ||
| 100 | |||
| 101 | echo Create archive with extra files needed for redumping emacs | ||
| 102 | copy %3\README-UNDUMP.W32 emacs-%1\README-UNDUMP.W32 | ||
| 103 | copy %3\dump.bat emacs-%1\bin | ||
| 104 | if exist emacs-%1\src\obj-spd\i386\temacs.exe copy emacs-%1\src\obj-spd\i386\temacs.exe emacs-%1\bin | ||
| 105 | if exist emacs-%1\src\oo-spd\i386\temacs.exe copy emacs-%1\src\oo-spd\i386\temacs.exe emacs-%1\bin | ||
| 106 | %TAR% -cvf - emacs-%1/README-UNDUMP.W32 emacs-%1/bin/dump.bat emacs-%1/bin/temacs.exe | gzip -9 > %2-undumped-i386.tar.gz | ||
| 107 | del emacs-%1\bin\temacs.exe | ||
| 108 | del emacs-%1\bin\dump.bat | ||
| 109 | del emacs-%1\README-UNDUMP.W32 | ||
| 110 | if not (%4) == () goto end | ||
| 111 | |||
| 112 | :barebin | 42 | :barebin |
| 113 | 43 | ||
| 114 | echo Create archive with just the basic binaries and generated files | 44 | echo Create archive with just the basic binaries and generated files |
| 115 | echo (the user needs to unpack the full source distribution for | 45 | echo (the user needs to unpack the full source distribution for |
| 116 | echo everything else) | 46 | echo everything else) |
| 117 | copy %3\README.W32 emacs-%1\README.W32 | 47 | copy %3\README.W32 emacs-%1\README.W32 |
| 118 | %TAR% -cvf - emacs-%1/README.W32 emacs-%1/bin emacs-%1/etc/DOC emacs-%1/etc/DOC-X | gzip -9 > %2-barebin-i386.tar.gz | 48 | %ZIP% -9 emacs-%1/README.W32 emacs-%1/bin emacs-%1/etc/DOC emacs-%1/etc/DOC-X %2-barebin-i386.zip |
| 119 | del emacs-%1\README.W32 | 49 | del emacs-%1\README.W32 |
| 120 | if not (%4) == () goto end | 50 | if not (%4) == () goto end |
| 121 | 51 | ||
| 122 | goto end | 52 | goto end |
| 123 | 53 | ||
| 124 | rem Only do this if explicitly requested | ||
| 125 | :zipfiles | ||
| 126 | |||
| 127 | echo Create zip files for bin and lisp archives | ||
| 128 | mkdir distrib | ||
| 129 | cd distrib | ||
| 130 | gunzip -c ..\%2-bin-i386.tar.gz | %TAR% xf - | ||
| 131 | rem Need to split emacs.exe into fragments because it is too big now | ||
| 132 | rem to fit on a floppy even by itself. | ||
| 133 | copy %3\stitch.bat %2\bin | ||
| 134 | cd %2\bin | ||
| 135 | split -b 1000000 emacs.exe emacs | ||
| 136 | del emacs.exe | ||
| 137 | cd ..\.. | ||
| 138 | zip -rp9 em%5bin %2 | ||
| 139 | rm -rf %2 | ||
| 140 | zipsplit -n 1400000 -b .. em%5bin.zip | ||
| 141 | del em%5bin.zip | ||
| 142 | gunzip -c ..\%2-lisp.tar.gz | %TAR% xf - | ||
| 143 | zip -rp9 em%5lis %2 | ||
| 144 | rm -rf %2 | ||
| 145 | zipsplit -n 1400000 -b .. em%5lis.zip | ||
| 146 | del em%5lis.zip | ||
| 147 | cd .. | ||
| 148 | |||
| 149 | goto end | ||
| 150 | |||
| 151 | :usage | 54 | :usage |
| 152 | echo Generate source and binary distributions of emacs. | 55 | echo Generate source and binary distributions of emacs. |
| 153 | echo Usage: %0 emacs-version dist-basename distfiles [lisp,bin,undumped,barebin] | 56 | echo Usage: %0 emacs-version dist-basename distfiles [bin,barebin] |
| 154 | echo (e.g., %0 19.34 emacs-19.34.5 d:\andrewi\distfiles) | 57 | echo (e.g., %0 19.34 emacs-19.34.5 d:\andrewi\distfiles) |
| 155 | echo Or: %0 emacs-version dist-basename distfiles "zipfiles" short-version | ||
| 156 | echo (e.g., %0 20.6 emacs-20.6 d:\andrewi\distfiles zipfiles 206) | ||
| 157 | :end | 58 | :end |
| 158 | 59 | ||
| 159 | goto skipArchTag | 60 | goto skipArchTag |
diff --git a/etc/PROBLEMS b/etc/PROBLEMS index 00bddb791c2..473043932ac 100644 --- a/etc/PROBLEMS +++ b/etc/PROBLEMS | |||
| @@ -158,7 +158,6 @@ will run it under. For details, see | |||
| 158 | 158 | ||
| 159 | https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=239344 | 159 | https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=239344 |
| 160 | 160 | ||
| 161 | |||
| 162 | * Crash bugs | 161 | * Crash bugs |
| 163 | 162 | ||
| 164 | ** Emacs crashes in x-popup-dialog. | 163 | ** Emacs crashes in x-popup-dialog. |
| @@ -2453,6 +2452,27 @@ This results from a bug in a VERY old version of GNU Sed. To solve | |||
| 2453 | the problem, install the current version of GNU Sed, then rerun | 2452 | the problem, install the current version of GNU Sed, then rerun |
| 2454 | Emacs's configure script. | 2453 | Emacs's configure script. |
| 2455 | 2454 | ||
| 2455 | *** Compiling on GNU/Linux fails due to a missing left operand in gnu-linux.h. | ||
| 2456 | |||
| 2457 | The error messages have the form: | ||
| 2458 | |||
| 2459 | ../src/s/gnu-linux.h:49:24: error: operator '>' has no left operand | ||
| 2460 | |||
| 2461 | This error occurs because your system defines LINUX_VERSION_CODE in | ||
| 2462 | the standard header file linux/version.h but does not give it a value. | ||
| 2463 | As a workaround, you can edit the file src/s/gnu-linux.h to add the | ||
| 2464 | needed definition. On the line after "#include <linux/version.h>", | ||
| 2465 | add a line as shown below: | ||
| 2466 | |||
| 2467 | #include <linux/version.h> | ||
| 2468 | #define LINUX_VERSION_CODE 132626 | ||
| 2469 | |||
| 2470 | The number to use depends on your kernel version (the example shown is | ||
| 2471 | for kernel 2.6.18). The number can be obtained by running the | ||
| 2472 | following command in the shell: | ||
| 2473 | |||
| 2474 | uname -r | sed -e 's/\./ /g' -e 's/-.*//' | awk '{print $1*(2^16) + $2*(2^8) + $3}' | ||
| 2475 | |||
| 2456 | *** Building a 32-bit executable on a 64-bit GNU/Linux architecture. | 2476 | *** Building a 32-bit executable on a 64-bit GNU/Linux architecture. |
| 2457 | 2477 | ||
| 2458 | First ensure that the necessary 32-bit system libraries and include | 2478 | First ensure that the necessary 32-bit system libraries and include |
| @@ -2810,6 +2830,14 @@ with spaces in the value, eg --enable-locallisppath='/path/with\ spaces'. | |||
| 2810 | Using directory paths with spaces is not supported at this time: you | 2830 | Using directory paths with spaces is not supported at this time: you |
| 2811 | must re-configure without using spaces. | 2831 | must re-configure without using spaces. |
| 2812 | 2832 | ||
| 2833 | *** Installing to a directory with non-ASCII characters in the name fails. | ||
| 2834 | |||
| 2835 | Installation may fail, or the Emacs executable may not start | ||
| 2836 | correctly, if a directory name containing non-ASCII characters is used | ||
| 2837 | as a `configure' argument (e.g. `--prefix'). The problem can also | ||
| 2838 | occur if a non-ASCII directory is specified in the EMACSLOADPATH | ||
| 2839 | envvar. | ||
| 2840 | |||
| 2813 | *** On Solaris, use GNU Make when installing an out-of-tree build | 2841 | *** On Solaris, use GNU Make when installing an out-of-tree build |
| 2814 | 2842 | ||
| 2815 | The Emacs configuration process allows you to configure the | 2843 | The Emacs configuration process allows you to configure the |
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d575e417465..f7e254153c3 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -22,6 +22,10 @@ | |||
| 22 | * progmodes/compile.el (compilation-handle-exit): | 22 | * progmodes/compile.el (compilation-handle-exit): |
| 23 | `compilation-finish-function' may change the current buffer. | 23 | `compilation-finish-function' may change the current buffer. |
| 24 | 24 | ||
| 25 | 2007-05-22 Richard Stallman <rms@gnu.org> | ||
| 26 | |||
| 27 | * files.el (set-auto-mode): Doc fix. | ||
| 28 | |||
| 25 | 2007-05-22 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | 29 | 2007-05-22 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> |
| 26 | 30 | ||
| 27 | * help-fns.el (find-source-lisp-file): New function. | 31 | * help-fns.el (find-source-lisp-file): New function. |
diff --git a/lisp/files.el b/lisp/files.el index c0443005dc2..9ce1f0a0471 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -2171,10 +2171,11 @@ Also applies to `magic-fallback-mode-alist'.") | |||
| 2171 | (defun set-auto-mode (&optional keep-mode-if-same) | 2171 | (defun set-auto-mode (&optional keep-mode-if-same) |
| 2172 | "Select major mode appropriate for current buffer. | 2172 | "Select major mode appropriate for current buffer. |
| 2173 | 2173 | ||
| 2174 | This checks for a -*- mode tag in the buffer's text, checks the | 2174 | To find the right major mode, this function checks for a -*- mode tag, |
| 2175 | interpreter that runs this file against `interpreter-mode-alist', | 2175 | checks if it uses an interpreter listed in `interpreter-mode-alist', |
| 2176 | compares the buffer beginning against `magic-mode-alist', or | 2176 | matches the buffer beginning against `magic-mode-alist', |
| 2177 | compares the filename against the entries in `auto-mode-alist'. | 2177 | compares the filename against the entries in `auto-mode-alist', |
| 2178 | then matches the buffer beginning against `magic-fallback-mode-alist'. | ||
| 2178 | 2179 | ||
| 2179 | It does not check for the `mode:' local variable in the | 2180 | It does not check for the `mode:' local variable in the |
| 2180 | Local Variables section of the file; for that, use `hack-local-variables'. | 2181 | Local Variables section of the file; for that, use `hack-local-variables'. |
| @@ -2183,7 +2184,8 @@ If `enable-local-variables' is nil, this function does not check for a | |||
| 2183 | -*- mode tag. | 2184 | -*- mode tag. |
| 2184 | 2185 | ||
| 2185 | If the optional argument KEEP-MODE-IF-SAME is non-nil, then we | 2186 | If the optional argument KEEP-MODE-IF-SAME is non-nil, then we |
| 2186 | only set the major mode, if that would change it." | 2187 | set the major mode only if that would change it. In other words |
| 2188 | we don't actually set it to the same mode the buffer already has." | ||
| 2187 | ;; Look for -*-MODENAME-*- or -*- ... mode: MODENAME; ... -*- | 2189 | ;; Look for -*-MODENAME-*- or -*- ... mode: MODENAME; ... -*- |
| 2188 | (let (end done mode modes) | 2190 | (let (end done mode modes) |
| 2189 | ;; Find a -*- mode tag | 2191 | ;; Find a -*- mode tag |
diff --git a/lisp/tar-mode.el b/lisp/tar-mode.el index 5d5f13776a2..65e2b0f1c0b 100644 --- a/lisp/tar-mode.el +++ b/lisp/tar-mode.el | |||
| @@ -747,8 +747,8 @@ appear on disk when you save the tar-file's buffer." | |||
| 747 | ;; find-buffer-file-type-coding-system | 747 | ;; find-buffer-file-type-coding-system |
| 748 | ;; (defined on dos-w32.el) to act as if | 748 | ;; (defined on dos-w32.el) to act as if |
| 749 | ;; the file being extracted existed, so | 749 | ;; the file being extracted existed, so |
| 750 | ;; that the file's contents' encoding is | 750 | ;; that the file's contents' encoding and |
| 751 | ;; auto-detected. | 751 | ;; EOL format are auto-detected. |
| 752 | (let ((file-name-handler-alist | 752 | (let ((file-name-handler-alist |
| 753 | '(("" . tar-file-name-handler)))) | 753 | '(("" . tar-file-name-handler)))) |
| 754 | (car (find-operation-coding-system | 754 | (car (find-operation-coding-system |
diff --git a/src/ChangeLog b/src/ChangeLog index fd75cfe94a4..81b44ce2bb3 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -2,6 +2,10 @@ | |||
| 2 | 2 | ||
| 3 | * keyboard.c (make_lispy_movement): Condition on HAVE_GPM too. | 3 | * keyboard.c (make_lispy_movement): Condition on HAVE_GPM too. |
| 4 | 4 | ||
| 5 | 2007-05-22 Richard Stallman <rms@gnu.org> | ||
| 6 | |||
| 7 | * xterm.c (x_connection_closed): Remove NO_RETURN. | ||
| 8 | |||
| 5 | 2007-05-22 Martin Rudalics <rudalics@gmx.at> | 9 | 2007-05-22 Martin Rudalics <rudalics@gmx.at> |
| 6 | 10 | ||
| 7 | * syntax.c (scan_words): Fix arg to UPDATE_SYNTAX_TABLE_BACKWARD. | 11 | * syntax.c (scan_words): Fix arg to UPDATE_SYNTAX_TABLE_BACKWARD. |