diff options
| author | Stefan Monnier | 2010-06-16 16:08:41 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2010-06-16 16:08:41 -0400 |
| commit | 2a64315a111fb4da67e9c40c9b69045c4f63d619 (patch) | |
| tree | 2e7ba99465f6eb5eae64361767af5bc5fff7aca4 | |
| parent | 288cf4e907c0350eb24824016763bddd09df8ea8 (diff) | |
| parent | 36901266a8acb83880fefee50c93abb09f64533b (diff) | |
| download | emacs-2a64315a111fb4da67e9c40c9b69045c4f63d619.tar.gz emacs-2a64315a111fb4da67e9c40c9b69045c4f63d619.zip | |
Merge from emacs-23
| -rw-r--r-- | ChangeLog | 11 | ||||
| -rw-r--r-- | INSTALL | 345 | ||||
| -rw-r--r-- | doc/emacs/ChangeLog | 6 | ||||
| -rw-r--r-- | doc/emacs/basic.texi | 11 | ||||
| -rw-r--r-- | doc/misc/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/misc/idlwave.texi | 2 | ||||
| -rw-r--r-- | doc/misc/org.texi | 2 | ||||
| -rw-r--r-- | etc/ChangeLog | 4 | ||||
| -rw-r--r-- | etc/NEWS.1-17 | 10 | ||||
| -rw-r--r-- | etc/NEWS.23 | 4 | ||||
| -rw-r--r-- | etc/tutorials/TUTORIAL.bg | 2 | ||||
| -rw-r--r-- | etc/tutorials/TUTORIAL.es | 2 | ||||
| -rw-r--r-- | lisp/ChangeLog | 37 | ||||
| -rw-r--r-- | lisp/calendar/appt.el | 59 | ||||
| -rw-r--r-- | lisp/emacs-lisp/cl-macs.el | 2 | ||||
| -rw-r--r-- | lisp/font-core.el | 10 | ||||
| -rw-r--r-- | lisp/font-lock.el | 9 | ||||
| -rw-r--r-- | lisp/url/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/url/url-vars.el | 2 | ||||
| -rw-r--r-- | lisp/vc/vc-annotate.el | 8 | ||||
| -rw-r--r-- | lisp/vc/vc-svn.el | 2 | ||||
| -rw-r--r-- | src/ChangeLog | 4 |
22 files changed, 297 insertions, 244 deletions
| @@ -1,6 +1,15 @@ | |||
| 1 | 2010-06-16 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * INSTALL: Update font information (Bug#6389). | ||
| 4 | |||
| 5 | 2010-06-16 Glenn Morris <rgm@gnu.org> | ||
| 6 | |||
| 7 | * INSTALL: General update. | ||
| 8 | |||
| 1 | 2010-06-12 Glenn Morris <rgm@gnu.org> | 9 | 2010-06-12 Glenn Morris <rgm@gnu.org> |
| 2 | 10 | ||
| 3 | * Makefile.in (install-arch-indep): Delete any old info .gz files first. | 11 | * Makefile.in (install-arch-indep): Delete any old info .gz files |
| 12 | first. | ||
| 4 | 13 | ||
| 5 | 2010-06-11 Glenn Morris <rgm@gnu.org> | 14 | 2010-06-11 Glenn Morris <rgm@gnu.org> |
| 6 | 15 | ||
| @@ -5,32 +5,38 @@ Copyright (C) 1992, 1994, 1996, 1997, 2000, 2001, 2002, 2003, 2004, | |||
| 5 | See the end of the file for license conditions. | 5 | See the end of the file for license conditions. |
| 6 | 6 | ||
| 7 | 7 | ||
| 8 | This file contains general information. For more specific information | 8 | This file contains general information on building GNU Emacs. |
| 9 | for the Windows, GNUstep/Mac OS X, and MS-DOS ports, also see the files | 9 | For more information specific to the MS-Windows, GNUstep/Mac OS X, and |
| 10 | nt/INSTALL nextstep/INSTALL, and msdos/INSTALL. For information | 10 | MS-DOS ports, also read the files nt/INSTALL, nextstep/INSTALL, and |
| 11 | specific to building from a Bazaar checkout (rather than a release), see | 11 | msdos/INSTALL. For information about building from a Bazaar checkout |
| 12 | the file INSTALL.BZR. | 12 | (rather than a release), also read the file INSTALL.BZR. |
| 13 | 13 | ||
| 14 | 14 | ||
| 15 | BASIC INSTALLATION | 15 | BASIC INSTALLATION |
| 16 | 16 | ||
| 17 | The simplest way to build Emacs is to use the `configure' shell script | 17 | On most Unix systems, you build Emacs by first running the `configure' |
| 18 | which attempts to guess correct values for various system-dependent | 18 | shell script. This attempts to deduce the correct values for |
| 19 | variables and features and find the directories where various system | 19 | various system-dependent variables and features, and find the |
| 20 | headers and libraries are kept. It then creates a `Makefile' in each | 20 | directories where certain system headers and libraries are kept. |
| 21 | subdirectory and a `config.h' file containing system-dependent | 21 | In a few cases, you may need to explicitly tell configure where to |
| 22 | definitions. Running the `make' utility then builds the package for | 22 | find some things, or what options to use. |
| 23 | your system. | ||
| 24 | 23 | ||
| 25 | Here's the procedure to build Emacs using `configure' on systems which | 24 | `configure' creates a `Makefile' in several subdirectories, and a |
| 26 | are supported by it. If this simplified procedure fails, or if you | 25 | `src/config.h' file containing system-dependent definitions. |
| 27 | are using a platform such as MS-Windows, where `configure' script | 26 | Running the `make' utility then builds the package for your system. |
| 28 | doesn't work, you might need to use various non-default options, and | ||
| 29 | maybe perform some of the steps manually. The more detailed | ||
| 30 | description in the rest of the sections of this guide will help you do | ||
| 31 | that, so please refer to them if the simple procedure does not work. | ||
| 32 | 27 | ||
| 33 | 1. Make sure your system has at least 120 MB of free disk space. | 28 | Here's the procedure to build Emacs using `configure' on systems which |
| 29 | are supported by it. In some cases, if the simplified procedure fails, | ||
| 30 | you might need to use various non-default options, and maybe perform | ||
| 31 | some of the steps manually. The more detailed description in the other | ||
| 32 | sections of this guide will help you do that, so please refer to those | ||
| 33 | sections if you need to. | ||
| 34 | |||
| 35 | 1. Unpacking the Emacs 23.2 release requires about 170 MB of free | ||
| 36 | disk space. Building Emacs uses about another 60 MB of space. | ||
| 37 | The final installed Emacs uses about 120 MB of disk space. | ||
| 38 | This includes the space-saving that comes from automatically | ||
| 39 | compressing the Lisp source files on installation. | ||
| 34 | 40 | ||
| 35 | 2a. `cd' to the directory where you unpacked Emacs and invoke the | 41 | 2a. `cd' to the directory where you unpacked Emacs and invoke the |
| 36 | `configure' script: | 42 | `configure' script: |
| @@ -43,8 +49,8 @@ that, so please refer to them if the simple procedure does not work. | |||
| 43 | 49 | ||
| 44 | SOURCE-DIR/configure | 50 | SOURCE-DIR/configure |
| 45 | 51 | ||
| 46 | where SOURCE-DIR is the top-level Emacs source directory. This | 52 | where SOURCE-DIR is the top-level Emacs source directory. |
| 47 | may not work unless you use GNU make. | 53 | This may not work unless you use GNU make. |
| 48 | 54 | ||
| 49 | 3. When `configure' finishes, it prints several lines of details | 55 | 3. When `configure' finishes, it prints several lines of details |
| 50 | about the system configuration. Read those details carefully | 56 | about the system configuration. Read those details carefully |
| @@ -52,17 +58,18 @@ that, so please refer to them if the simple procedure does not work. | |||
| 52 | system names, wrong places for headers or libraries, missing | 58 | system names, wrong places for headers or libraries, missing |
| 53 | libraries that you know are installed on your system, etc. | 59 | libraries that you know are installed on your system, etc. |
| 54 | 60 | ||
| 55 | If you find anything wrong, you will have to pass to `configure' | 61 | If you find anything wrong, you may have to pass to `configure' |
| 56 | explicit machine configuration name, and one or more options | 62 | one or more options specifying the explicit machine configuration |
| 57 | which tell it where to find various headers and libraries; refer | 63 | name, where to find various headers and libraries, etc. |
| 58 | to DETAILED BUILDING AND INSTALLATION section below. | 64 | Refer to the section DETAILED BUILDING AND INSTALLATION below. |
| 59 | 65 | ||
| 60 | If `configure' didn't find some image support libraries, such as | 66 | If `configure' didn't find some (optional) image support libraries, |
| 61 | Xpm, jpeg, etc., and you want to use them refer to the subsection | 67 | such as Xpm, jpeg, etc., and you want to use them, refer to the |
| 62 | "Image support libraries", below. | 68 | subsection "Image support libraries" below. |
| 63 | 69 | ||
| 64 | If the details printed by `configure' don't make any sense to | 70 | If the details printed by `configure' don't make any sense to |
| 65 | you, assume that `configure' did its job and proceed. | 71 | you, but there are no obvious errors, assume that `configure' did |
| 72 | its job and proceed. | ||
| 66 | 73 | ||
| 67 | 4. If you need to run the `configure' script more than once (e.g., | 74 | 4. If you need to run the `configure' script more than once (e.g., |
| 68 | with some non-default options), always clean the source | 75 | with some non-default options), always clean the source |
| @@ -79,7 +86,7 @@ that, so please refer to them if the simple procedure does not work. | |||
| 79 | in the `src' directory. You can try this program, to make sure | 86 | in the `src' directory. You can try this program, to make sure |
| 80 | it works: | 87 | it works: |
| 81 | 88 | ||
| 82 | src/emacs -q | 89 | src/emacs -Q |
| 83 | 90 | ||
| 84 | 7. Assuming that the program `src/emacs' starts and displays its | 91 | 7. Assuming that the program `src/emacs' starts and displays its |
| 85 | opening screen, you can install the program and its auxiliary | 92 | opening screen, you can install the program and its auxiliary |
| @@ -93,9 +100,13 @@ that, so please refer to them if the simple procedure does not work. | |||
| 93 | 100 | ||
| 94 | make clean | 101 | make clean |
| 95 | 102 | ||
| 96 | You can also save some space by compressing (with `gzip') Info files | 103 | You can delete the entire build directory if you do not plan to |
| 97 | and installed Lisp source (.el) files which have corresponding .elc | 104 | build Emacs again, but it can be useful to keep for debugging. |
| 98 | versions. | 105 | |
| 106 | Note that the install automatically saves space by compressing | ||
| 107 | (provided you have the `gzip' program) those installed Lisp source (.el) | ||
| 108 | files that have corresponding .elc versions. You may also wish | ||
| 109 | to compress the installed Info files. | ||
| 99 | 110 | ||
| 100 | 111 | ||
| 101 | ADDITIONAL DISTRIBUTION FILES | 112 | ADDITIONAL DISTRIBUTION FILES |
| @@ -157,19 +168,15 @@ download and build libraries from sources. None of them are vital for | |||
| 157 | running Emacs; however, note that Emacs will not be able to use | 168 | running Emacs; however, note that Emacs will not be able to use |
| 158 | colored icons in the toolbar if XPM support is not compiled in. | 169 | colored icons in the toolbar if XPM support is not compiled in. |
| 159 | 170 | ||
| 160 | Here's the list of these optional libraries, and the URLs where they | 171 | Here's the list of some of these optional libraries, and the URLs |
| 161 | can be found: | 172 | where they can be found (in the unlikely event that your distribution |
| 173 | does not provide them): | ||
| 162 | 174 | ||
| 163 | . libXaw3d for fancy 3D-style | 175 | . libXaw3d http://directory.fsf.org/project/xaw3d/ |
| 164 | scroll bars: ftp://ftp.x.org/contrib/widgets/Xaw3d/ | 176 | . libxpm for XPM: http://www.x.org/releases/current/src/lib/ |
| 165 | . libxpm for XPM: ftp://ftp.x.org/contrib/libraries/ | 177 | . libpng for PNG: http://www.libpng.org/ |
| 166 | Get version 3.4k or later, which lets Emacs | ||
| 167 | use its own color allocation functions. | ||
| 168 | . libpng for PNG: ftp://ftp.simplesystems.org/pub/libpng/png/ | ||
| 169 | . libz (for PNG): http://www.zlib.net/ | 178 | . libz (for PNG): http://www.zlib.net/ |
| 170 | . libjpeg for JPEG: ftp://ftp.uu.net/graphics/jpeg/ | 179 | . libjpeg for JPEG: http://www.ijg.org/ |
| 171 | Get version 6b -- 6a is reported to fail in | ||
| 172 | Emacs. | ||
| 173 | . libtiff for TIFF: http://www.libtiff.org/ | 180 | . libtiff for TIFF: http://www.libtiff.org/ |
| 174 | . libgif for GIF: http://sourceforge.net/projects/giflib/ | 181 | . libgif for GIF: http://sourceforge.net/projects/giflib/ |
| 175 | 182 | ||
| @@ -178,61 +185,38 @@ Emacs will configure itself to build with these libraries if the | |||
| 178 | appropriate --without-LIB option. In some cases, older versions of | 185 | appropriate --without-LIB option. In some cases, older versions of |
| 179 | these libraries won't work because some routines are missing, and | 186 | these libraries won't work because some routines are missing, and |
| 180 | configure should avoid such old versions. If that happens, use the | 187 | configure should avoid such old versions. If that happens, use the |
| 181 | --without-LIB options to `configure'. See below for more details. | 188 | --without-LIB options to `configure', if you need to. |
| 182 | 189 | ||
| 183 | * Extra fonts | 190 | * Extra fonts |
| 184 | 191 | ||
| 185 | The Emacs distribution does not include fonts and does not install | 192 | The Emacs distribution does not include fonts and does not install |
| 186 | them. You must do that yourself. | 193 | them. |
| 187 | 194 | ||
| 188 | Emacs running on the GNU system supports both X fonts and local fonts | 195 | On the GNU system, Emacs supports both X fonts and local fonts |
| 189 | (i.e. the fonts managed by the fontconfig library). | 196 | (i.e. fonts managed by the fontconfig library). If you need more |
| 190 | 197 | fonts than your distribution normally provides, you must install them | |
| 191 | For `Unicode' (ISO 10646) X fonts, see | 198 | yourself. See <URL:http://www.gnu.org/software/freefont/> for a large |
| 192 | <URL:http://czyborra.com/unifont/> (packaged in Debian), | 199 | number of free Unicode fonts. |
| 193 | <URL:http://openlab.ring.gr.jp/efont/> (packaged in Debian). (In | ||
| 194 | recent Debian versions, there is an extensive `misc-fixed' iso10646-1 | ||
| 195 | in the default X installation.) Perhaps also see | ||
| 196 | <URL:http://www.cl.cam.ac.uk/%7Emgk25/ucs-fonts.html>. | ||
| 197 | |||
| 198 | <URL:http://czyborra.com/charsets/> has basic fonts for Emacs's | ||
| 199 | ISO-8859 charsets. | ||
| 200 | |||
| 201 | XFree86 release 4 (from <URL:ftp://ftp.xfree86.org/pub/XFree86/> and mirrors) | ||
| 202 | contains font support for most, if not all, of the charsets that Emacs | ||
| 203 | currently supports, including iso10646-1 encoded fonts for use with | ||
| 204 | the mule-unicode charsets. The font files should also be usable with | ||
| 205 | older X releases. Note that XFree 4 contains many iso10646-1 fonts | ||
| 206 | with minimal character repertoires, which can cause problems -- see | ||
| 207 | etc/PROBLEMS. | ||
| 208 | |||
| 209 | BDF Unicode fonts etl-unicode.tar.gz are available from | ||
| 210 | <URL:ftp://ftp.x.org/contrib/fonts/> and | ||
| 211 | <URL:ftp://ftp.xfree86.org/pub/mirror/X.Org/contrib/fonts/>. These | ||
| 212 | fonts can also be used by ps-print and ps-mule to print Unicode | ||
| 213 | characters. | ||
| 214 | |||
| 215 | Finally, the Web page <URL:http://www.gnu.org/software/freefont/> | ||
| 216 | lists a large number of free Unicode fonts. | ||
| 217 | 200 | ||
| 218 | * GNU/Linux development packages | 201 | * GNU/Linux development packages |
| 219 | 202 | ||
| 220 | Many GNU/Linux systems do not come with development packages by | 203 | Many GNU/Linux systems do not come with development packages by default; |
| 221 | default; they just include the files that you need to run Emacs, but | 204 | they include the files that you need to run Emacs, but not those you |
| 222 | not those you need to compile it. For example, to compile Emacs with | 205 | need to compile it. For example, to compile Emacs with support for X |
| 223 | X11 support, you may need to install the special `X11 development' | 206 | and graphics libraries, you may need to install the `X development' |
| 224 | package. For example, in April 2003, the package names to install | 207 | package(s), and development versions of the jpeg, png, etc. packages. |
| 225 | were `XFree86-devel' and `Xaw3d-devel' on Red Hat. On Debian, the | 208 | |
| 226 | packages necessary to build the installed version should be | 209 | The names of the packages that you need varies according to the |
| 227 | sufficient; they can be installed using `apt-get build-dep emacs21' in | 210 | GNU/Linux distribution that you use, and the options that you want to |
| 228 | Debian 3 and above. | 211 | configure Emacs with. On Debian-based systems, you can install all the |
| 212 | packages needed to build the installed version of Emacs with a command | ||
| 213 | like `apt-get build-dep emacs23'. | ||
| 229 | 214 | ||
| 230 | 215 | ||
| 231 | DETAILED BUILDING AND INSTALLATION: | 216 | DETAILED BUILDING AND INSTALLATION: |
| 232 | 217 | ||
| 233 | (This is for a Unix or Unix-like system. For MS-DOS and Windows 3.X, | 218 | (This is for a Unix or Unix-like system. For MS-DOS and MS Windows 3.X, |
| 234 | see msdos/INSTALL. For Windows 9X, Windows ME, Windows NT, Windows | 219 | see msdos/INSTALL. For later versions of MS Windows, see the file |
| 235 | 2000, Windows XP/2003, and Windows Vista/2008, see the file | ||
| 236 | nt/INSTALL. For GNUstep and Mac OS X, see nextstep/INSTALL.) | 220 | nt/INSTALL. For GNUstep and Mac OS X, see nextstep/INSTALL.) |
| 237 | 221 | ||
| 238 | 1) Make sure your system has enough swapping space allocated to handle | 222 | 1) Make sure your system has enough swapping space allocated to handle |
| @@ -240,21 +224,20 @@ a program whose pure code is 1.5 MB and whose data area is at | |||
| 240 | least 2.8 MB and can reach 100 MB or more. If the swapping space is | 224 | least 2.8 MB and can reach 100 MB or more. If the swapping space is |
| 241 | insufficient, you will get an error in the command `temacs -batch -l | 225 | insufficient, you will get an error in the command `temacs -batch -l |
| 242 | loadup dump', found in `./src/Makefile.in', or possibly when | 226 | loadup dump', found in `./src/Makefile.in', or possibly when |
| 243 | running the final dumped Emacs. | 227 | running the final dumped Emacs. (This should not be an issue |
| 228 | on any recent system.) | ||
| 244 | 229 | ||
| 245 | Building Emacs requires about 140 MB of disk space (including the | 230 | Building Emacs requires about 230 MB of disk space (including the |
| 246 | Emacs sources) Once installed, Emacs occupies about 77 MB in the file | 231 | Emacs sources). Once installed, Emacs occupies about 120 MB in the file |
| 247 | system where it is installed; this includes the executable files, Lisp | 232 | system where it is installed; this includes the executable files, Lisp |
| 248 | libraries, miscellaneous data files, and on-line documentation. If | 233 | libraries, miscellaneous data files, and on-line documentation. If |
| 249 | the building and installation take place in different directories, | 234 | the building and installation take place in different directories, |
| 250 | then the installation procedure momentarily requires 140+77 MB. | 235 | then the installation procedure momentarily requires 230+120 MB. |
| 251 | 236 | ||
| 252 | 2) Consult `./etc/MACHINES' to see what configuration name you should | 237 | 2) In the unlikely event that `configure' does not detect your system |
| 253 | give to the `configure' program. That file offers hints for | 238 | type correctly, consult `./etc/MACHINES' to see what --host, --build |
| 254 | getting around some possible installation problems. The file lists | 239 | options you should pass to `configure'. That file also offers hints |
| 255 | many different configurations, but only the part for your machine and | 240 | for getting around some possible installation problems. |
| 256 | operating system is relevant. (The list is arranged in alphabetical | ||
| 257 | order by the vendor name.) | ||
| 258 | 241 | ||
| 259 | 3) You can build Emacs in the top-level Emacs source directory | 242 | 3) You can build Emacs in the top-level Emacs source directory |
| 260 | or in a separate directory. | 243 | or in a separate directory. |
| @@ -262,15 +245,10 @@ or in a separate directory. | |||
| 262 | 3a) To build in the top-level Emacs source directory, go to that | 245 | 3a) To build in the top-level Emacs source directory, go to that |
| 263 | directory and run the program `configure' as follows: | 246 | directory and run the program `configure' as follows: |
| 264 | 247 | ||
| 265 | ./configure [CONFIGURATION-NAME] [--OPTION[=VALUE]] ... | 248 | ./configure [--OPTION[=VALUE]] ... |
| 266 | |||
| 267 | The CONFIGURATION-NAME argument should be a configuration name given | ||
| 268 | in `./etc/MACHINES', with the system version number added at the end. | ||
| 269 | 249 | ||
| 270 | You should try first omitting CONFIGURATION-NAME. This way, | 250 | If `configure' cannot determine your system type, try again |
| 271 | `configure' will try to guess your system type. If it cannot guess, | 251 | specifying the proper --build, --host options explicitly. |
| 272 | or if something goes wrong in building or installing Emacs this way, | ||
| 273 | try again specifying the proper CONFIGURATION-NAME explicitly. | ||
| 274 | 252 | ||
| 275 | If you don't want X support, specify `--with-x=no'. If you omit this | 253 | If you don't want X support, specify `--with-x=no'. If you omit this |
| 276 | option, `configure' will try to figure out for itself whether your | 254 | option, `configure' will try to figure out for itself whether your |
| @@ -285,20 +263,19 @@ accept a list of directories, separated with colons. | |||
| 285 | 263 | ||
| 286 | To get more attractive menus, you can specify an X toolkit when you | 264 | To get more attractive menus, you can specify an X toolkit when you |
| 287 | configure Emacs; use the option `--with-x-toolkit=TOOLKIT', where | 265 | configure Emacs; use the option `--with-x-toolkit=TOOLKIT', where |
| 288 | TOOLKIT is `athena', `motif' or `gtk' (`yes' and `lucid' are synonyms | 266 | TOOLKIT is `gtk' (the default), `athena', or `motif' (`yes' and |
| 289 | for `athena'). On some systems, it does not work to use a toolkit | 267 | `lucid' are synonyms for `athena'). On some systems, it does not work |
| 290 | with shared libraries. A free implementation of Motif, called | 268 | to use a toolkit with shared libraries. A free implementation of |
| 291 | LessTif, is available from <http://www.lesstif.org>. Compiling with | 269 | Motif, called LessTif, is available from <http://www.lesstif.org>. |
| 292 | LessTif or Motif causes a standard File Selection Dialog to pop up | 270 | Compiling with LessTif or Motif causes a standard File Selection |
| 293 | when you invoke file commands with the mouse. You can get fancy | 271 | Dialog to pop up when you invoke file commands with the mouse. You |
| 294 | 3D-style scroll bars, even without LessTif/Motif, if you have the | 272 | can get fancy 3D-style scroll bars, even without Gtk or LessTif/Motif, |
| 295 | Xaw3d library installed (see "Image support libraries" above for Xaw3d | 273 | if you have the Xaw3d library installed (see "Image support libraries" |
| 296 | availability). | 274 | above for Xaw3d availability). |
| 297 | 275 | ||
| 298 | If `--with-x-toolkit=gtk' is specified, you can tell configure where | 276 | You can tell configure where to search for GTK by specifying |
| 299 | to search for GTK by specifying `--with-pkg-config-prog=PATH' where | 277 | `--with-pkg-config-prog=PATH' where PATH is the pathname to |
| 300 | PATH is the pathname to pkg-config. Note that GTK version 2.4 or | 278 | pkg-config. Note that GTK version 2.6 or newer is required for Emacs. |
| 301 | newer is required for Emacs. | ||
| 302 | 279 | ||
| 303 | The Emacs mail reader RMAIL is configured to be able to read mail from | 280 | The Emacs mail reader RMAIL is configured to be able to read mail from |
| 304 | a POP3 server by default. Versions of the POP protocol older than | 281 | a POP3 server by default. Versions of the POP protocol older than |
| @@ -325,10 +302,10 @@ or more of these options: | |||
| 325 | Use --without-toolkit-scroll-bars to disable LessTif/Motif or Xaw3d | 302 | Use --without-toolkit-scroll-bars to disable LessTif/Motif or Xaw3d |
| 326 | scroll bars. | 303 | scroll bars. |
| 327 | 304 | ||
| 328 | Use --without-xim to inhibit the default use of X Input Methods. In | 305 | Use --without-xim to inhibit the default use of X Input Methods. |
| 329 | this case, the X resource useXIM can be used to turn on use of XIM. | 306 | In this case, the X resource useXIM can be used to turn on use of XIM. |
| 330 | 307 | ||
| 331 | Use --disable-largefile omits support for files larger than 2GB on | 308 | Use --disable-largefile to omit support for files larger than 2GB on |
| 332 | systems which support that. | 309 | systems which support that. |
| 333 | 310 | ||
| 334 | Use --without-sound to disable sound support. | 311 | Use --without-sound to disable sound support. |
| @@ -338,11 +315,11 @@ should put emacs and its data files. This defaults to `/usr/local'. | |||
| 338 | - Emacs (and the other utilities users run) go in PREFIXDIR/bin | 315 | - Emacs (and the other utilities users run) go in PREFIXDIR/bin |
| 339 | (unless the `--exec-prefix' option says otherwise). | 316 | (unless the `--exec-prefix' option says otherwise). |
| 340 | - The architecture-independent files go in PREFIXDIR/share/emacs/VERSION | 317 | - The architecture-independent files go in PREFIXDIR/share/emacs/VERSION |
| 341 | (where VERSION is the version number of Emacs, like `19.27'). | 318 | (where VERSION is the version number of Emacs, like `23.2'). |
| 342 | - The architecture-dependent files go in | 319 | - The architecture-dependent files go in |
| 343 | PREFIXDIR/libexec/emacs/VERSION/CONFIGURATION | 320 | PREFIXDIR/libexec/emacs/VERSION/CONFIGURATION |
| 344 | (where CONFIGURATION is the configuration name, like mips-dec-ultrix4.2), | 321 | (where CONFIGURATION is the configuration name, like |
| 345 | unless the `--exec-prefix' option says otherwise. | 322 | i686-pc-linux-gnu), unless the `--exec-prefix' option says otherwise. |
| 346 | 323 | ||
| 347 | The `--exec-prefix=EXECDIR' option allows you to specify a separate | 324 | The `--exec-prefix=EXECDIR' option allows you to specify a separate |
| 348 | portion of the directory tree for installing architecture-specific | 325 | portion of the directory tree for installing architecture-specific |
| @@ -354,17 +331,16 @@ EXECDIR/bin should be a directory that is normally in users' PATHs. | |||
| 354 | 331 | ||
| 355 | For example, the command | 332 | For example, the command |
| 356 | 333 | ||
| 357 | ./configure mips-dec-ultrix --with-x11 | 334 | ./configure --build=i386-linux-gnu --without-sound |
| 358 | 335 | ||
| 359 | configures Emacs to build for a DECstation running Ultrix, with | 336 | configures Emacs to build for a 32-bit GNU/Linux distribution, |
| 360 | support for the X11 window system. | 337 | without sound support. |
| 361 | 338 | ||
| 362 | `configure' doesn't do any compilation or installation | 339 | `configure' doesn't do any compilation or installation itself. |
| 363 | itself. It just creates the files that influence those things: | 340 | It just creates the files that influence those things: |
| 364 | `./Makefile', `lib-src/Makefile', `oldXMenu/Makefile', | 341 | `./Makefile' in the top-level directory and several subdirectories; |
| 365 | `lwlib/Makefile', `src/Makefile', and `./src/config.h'. For details | 342 | and `./src/config.h'. For details on exactly what it does, see the |
| 366 | on exactly what it does, see the section called `CONFIGURATION BY | 343 | section called `CONFIGURATION BY HAND', below. |
| 367 | HAND', below. | ||
| 368 | 344 | ||
| 369 | When it is done, `configure' prints a description of what it did and | 345 | When it is done, `configure' prints a description of what it did and |
| 370 | creates a shell script `config.status' which, when run, recreates the | 346 | creates a shell script `config.status' which, when run, recreates the |
| @@ -406,7 +382,7 @@ shell such as Bash, which uses these variables: | |||
| 406 | preprocessor to look in the `/foo/myinclude' directory for header | 382 | preprocessor to look in the `/foo/myinclude' directory for header |
| 407 | files (in addition to the standard directories), instruct the linker | 383 | files (in addition to the standard directories), instruct the linker |
| 408 | to look in `/bar/mylib' for libraries, pass the -O3 optimization | 384 | to look in `/bar/mylib' for libraries, pass the -O3 optimization |
| 409 | switch to the compiler, and link against libfoo.a and libbar.a | 385 | switch to the compiler, and link against libfoo and libbar |
| 410 | libraries in addition to the standard ones. | 386 | libraries in addition to the standard ones. |
| 411 | 387 | ||
| 412 | For some libraries, like Gtk+, fontconfig and ALSA, `configure' uses | 388 | For some libraries, like Gtk+, fontconfig and ALSA, `configure' uses |
| @@ -436,14 +412,9 @@ Emacs source code in the directory that `configure' is in. | |||
| 436 | To build in a separate directory, you must use a version of `make' | 412 | To build in a separate directory, you must use a version of `make' |
| 437 | that supports the `VPATH' variable, such as GNU `make'. | 413 | that supports the `VPATH' variable, such as GNU `make'. |
| 438 | 414 | ||
| 439 | 3c) Some people try to build in a separate directory by filling | 415 | (Do not try to build in a separate directory by creating many links |
| 440 | it full of symlinks to the files in the real source directory. | 416 | to the real source directory--there is no need, and installation will |
| 441 | If you do that, `make all' does work, but `make install' fails: | 417 | fail.) |
| 442 | it copies the symbolic links rather than the actual files. | ||
| 443 | |||
| 444 | As far as is known, there is no particular reason to use | ||
| 445 | a directory full of links rather than use the standard GNU | ||
| 446 | facilities to build in a separate directory (see 3b above). | ||
| 447 | 418 | ||
| 448 | 4) Look at `./lisp/paths.el'; if some of those values are not right | 419 | 4) Look at `./lisp/paths.el'; if some of those values are not right |
| 449 | for your system, set up the file `./lisp/site-init.el' with Emacs | 420 | for your system, set up the file `./lisp/site-init.el' with Emacs |
| @@ -454,7 +425,7 @@ rather than `defvar', as used by `./lisp/paths.el'. For example, | |||
| 454 | (setq news-inews-program "/usr/bin/inews") | 425 | (setq news-inews-program "/usr/bin/inews") |
| 455 | 426 | ||
| 456 | is how you would override the default value of the variable | 427 | is how you would override the default value of the variable |
| 457 | news-inews-program (which is "/usr/local/inews"). | 428 | news-inews-program. |
| 458 | 429 | ||
| 459 | Before you override a variable this way, *look at the value* that the | 430 | Before you override a variable this way, *look at the value* that the |
| 460 | variable gets by default! Make sure you know what kind of value the | 431 | variable gets by default! Make sure you know what kind of value the |
| @@ -473,18 +444,11 @@ If you set load-path to a different value in site-init.el or | |||
| 473 | site-load.el, Emacs will use *precisely* that value when it starts up | 444 | site-load.el, Emacs will use *precisely* that value when it starts up |
| 474 | again. If you do this, you are on your own! | 445 | again. If you do this, you are on your own! |
| 475 | 446 | ||
| 476 | Note that, on some systems, the code you place in site-init.el must | ||
| 477 | not use expand-file-name or any other function which may look | ||
| 478 | something up in the system's password and user information database. | ||
| 479 | See `./etc/PROBLEMS' for more details on which systems this affects. | ||
| 480 | |||
| 481 | The `site-*.el' files are nonexistent in the distribution. You do not | 447 | The `site-*.el' files are nonexistent in the distribution. You do not |
| 482 | need to create them if you have nothing to put in them. | 448 | need to create them if you have nothing to put in them. |
| 483 | 449 | ||
| 484 | 6) Refer to the file `./etc/TERMS' for information on fields you may | 450 | 6) Refer to the file `./etc/TERMS' for information on fields you may |
| 485 | wish to add to various termcap entries. The files `./etc/termcap.ucb' | 451 | wish to add to various termcap entries. (This is unlikely to be necessary.) |
| 486 | and `./etc/termcap.dat' may already contain appropriately-modified | ||
| 487 | entries. | ||
| 488 | 452 | ||
| 489 | 7) Run `make' in the top directory of the Emacs distribution to finish | 453 | 7) Run `make' in the top directory of the Emacs distribution to finish |
| 490 | building Emacs in the standard way. The final executable file is | 454 | building Emacs in the standard way. The final executable file is |
| @@ -498,11 +462,11 @@ are installed in the following directories: | |||
| 498 | 462 | ||
| 499 | `/usr/local/bin' holds the executable programs users normally run - | 463 | `/usr/local/bin' holds the executable programs users normally run - |
| 500 | `emacs', `etags', `ctags', `b2m', `emacsclient', | 464 | `emacs', `etags', `ctags', `b2m', `emacsclient', |
| 501 | and `rcs-checkin'. | 465 | `grep-changelog', and `rcs-checkin'. |
| 502 | 466 | ||
| 503 | `/usr/local/share/emacs/VERSION/lisp' holds the Emacs Lisp library; | 467 | `/usr/local/share/emacs/VERSION/lisp' holds the Emacs Lisp library; |
| 504 | `VERSION' stands for the number of the Emacs version | 468 | `VERSION' stands for the number of the Emacs version |
| 505 | you are installing, like `18.59' or `19.27'. Since the | 469 | you are installing, like `23.1' or `23.2'. Since the |
| 506 | Lisp library changes from one version of Emacs to | 470 | Lisp library changes from one version of Emacs to |
| 507 | another, including the version number in the path | 471 | another, including the version number in the path |
| 508 | allows you to have several versions of Emacs installed | 472 | allows you to have several versions of Emacs installed |
| @@ -510,18 +474,17 @@ are installed in the following directories: | |||
| 510 | make Emacs unavailable while installing a new version. | 474 | make Emacs unavailable while installing a new version. |
| 511 | 475 | ||
| 512 | `/usr/local/share/emacs/VERSION/etc' holds the Emacs tutorial, the DOC | 476 | `/usr/local/share/emacs/VERSION/etc' holds the Emacs tutorial, the DOC |
| 513 | file, the `yow' database, and other | 477 | file, and other architecture-independent files Emacs |
| 514 | architecture-independent files Emacs might need while | 478 | might need while running. |
| 515 | running. VERSION is as specified for `.../lisp'. | ||
| 516 | 479 | ||
| 517 | `/usr/local/libexec/emacs/VERSION/CONFIGURATION-NAME' contains executable | 480 | `/usr/local/libexec/emacs/VERSION/CONFIGURATION-NAME' contains executable |
| 518 | programs used by Emacs that users are not expected to | 481 | programs used by Emacs that users are not expected to |
| 519 | run themselves. | 482 | run themselves. |
| 520 | `VERSION' is the number of the Emacs version you are | 483 | `VERSION' is the number of the Emacs version you are |
| 521 | installing, and `CONFIGURATION-NAME' is the argument | 484 | installing, and `CONFIGURATION-NAME' is the value |
| 522 | you gave to the `configure' program to identify the | 485 | deduced by the `configure' program to identify the |
| 523 | architecture and operating system of your machine, | 486 | architecture and operating system of your machine, |
| 524 | like `mips-dec-ultrix' or `sparc-sun-sunos'. Since | 487 | like `i686-pc-linux-gnu' or `sparc-sun-sunos'. Since |
| 525 | these files are specific to the version of Emacs, | 488 | these files are specific to the version of Emacs, |
| 526 | operating system, and architecture in use, including | 489 | operating system, and architecture in use, including |
| 527 | the configuration name in the path allows you to have | 490 | the configuration name in the path allows you to have |
| @@ -533,10 +496,9 @@ are installed in the following directories: | |||
| 533 | `/usr/local/share/info' holds the on-line documentation for Emacs, | 496 | `/usr/local/share/info' holds the on-line documentation for Emacs, |
| 534 | known as "info files". Many other GNU programs are | 497 | known as "info files". Many other GNU programs are |
| 535 | documented using info files as well, so this directory | 498 | documented using info files as well, so this directory |
| 536 | stands apart from the other, Emacs-specific | 499 | stands apart from the other, Emacs-specific directories. |
| 537 | directories. | ||
| 538 | 500 | ||
| 539 | `/usr/local/man/man1' holds the man pages for the programs installed | 501 | `/usr/local/share/man/man1' holds the man pages for the programs installed |
| 540 | in `/usr/local/bin'. | 502 | in `/usr/local/bin'. |
| 541 | 503 | ||
| 542 | Any version of Emacs, whether installed or not, also looks for Lisp | 504 | Any version of Emacs, whether installed or not, also looks for Lisp |
| @@ -599,10 +561,9 @@ Here is a complete list of the variables you may want to set. | |||
| 599 | defaults to /usr/local/share. We create the following | 561 | defaults to /usr/local/share. We create the following |
| 600 | subdirectories under `datadir': | 562 | subdirectories under `datadir': |
| 601 | - `emacs/VERSION/lisp', containing the Emacs Lisp library, and | 563 | - `emacs/VERSION/lisp', containing the Emacs Lisp library, and |
| 602 | - `emacs/VERSION/etc', containing the Emacs tutorial, the DOC | 564 | - `emacs/VERSION/etc', containing the tutorials, DOC file, etc. |
| 603 | file, and the `yow' database. | ||
| 604 | `VERSION' is the number of the Emacs version you are installing, | 565 | `VERSION' is the number of the Emacs version you are installing, |
| 605 | like `18.59' or `19.0'. Since these files vary from one version | 566 | like `23.1' or `23.2'. Since these files vary from one version |
| 606 | of Emacs to another, including the version number in the path | 567 | of Emacs to another, including the version number in the path |
| 607 | allows you to have several versions of Emacs installed at the | 568 | allows you to have several versions of Emacs installed at the |
| 608 | same time; this means that you don't have to make Emacs | 569 | same time; this means that you don't have to make Emacs |
| @@ -615,29 +576,23 @@ Here is a complete list of the variables you may want to set. | |||
| 615 | programs used by Emacs that users are not expected to run | 576 | programs used by Emacs that users are not expected to run |
| 616 | themselves. | 577 | themselves. |
| 617 | `VERSION' is the number of the Emacs version you are installing, | 578 | `VERSION' is the number of the Emacs version you are installing, |
| 618 | and `CONFIGURATION-NAME' is the argument you gave to the | 579 | and `CONFIGURATION-NAME' is the value deduced by the |
| 619 | `configure' program to identify the architecture and operating | 580 | `configure' program to identify the architecture and operating |
| 620 | system of your machine, like `mips-dec-ultrix' or | 581 | system of your machine, like `i686-pc-linux-gnu' or `sparc-sun-sunos'. |
| 621 | `sparc-sun-sunos'. Since these files are specific to the version | 582 | Since these files are specific to the version of Emacs, |
| 622 | of Emacs, operating system, and architecture in use, including | 583 | operating system, and architecture in use, including the |
| 623 | the configuration name in the path allows you to have several | 584 | configuration name in the path allows you to have several |
| 624 | versions of Emacs for any mix of machines and operating systems | 585 | versions of Emacs for any mix of machines and operating |
| 625 | installed at the same time; this is useful for sites at which | 586 | systems installed at the same time; this is useful for sites |
| 626 | different kinds of machines share the file system Emacs is | 587 | at which different kinds of machines share the file system |
| 627 | installed on. | 588 | Emacs is installed on. |
| 628 | 589 | ||
| 629 | `infodir' indicates where to put the info files distributed with | 590 | `infodir' indicates where to put the info files distributed with |
| 630 | Emacs; it defaults to `/usr/local/share/info'. | 591 | Emacs; it defaults to `/usr/local/share/info'. |
| 631 | 592 | ||
| 632 | `mandir' indicates where to put the man pages for Emacs and its | 593 | `mandir' indicates where to put the man pages for Emacs and its |
| 633 | utilities (like `etags'); it defaults to | 594 | utilities (like `etags'); it defaults to |
| 634 | `/usr/local/man/man1'. | 595 | `/usr/local/share/man/man1'. |
| 635 | |||
| 636 | `manext' gives the extension the man pages should be installed with. | ||
| 637 | It should contain a period, followed by the appropriate | ||
| 638 | digit. It defaults to `.1'. For example given the default | ||
| 639 | values for `mandir' and `manext', the Emacs man page would be | ||
| 640 | installed as `/usr/local/man/man1/emacs.1'. | ||
| 641 | 596 | ||
| 642 | `prefix' doesn't give a path for any specific part of Emacs; instead, | 597 | `prefix' doesn't give a path for any specific part of Emacs; instead, |
| 643 | its value is used to determine the defaults for all the | 598 | its value is used to determine the defaults for all the |
| @@ -659,7 +614,7 @@ Here is a complete list of the variables you may want to set. | |||
| 659 | path variables - `bindir' and `libexecdir'. | 614 | path variables - `bindir' and `libexecdir'. |
| 660 | 615 | ||
| 661 | The above variables serve analogous purposes in the makefiles for all | 616 | The above variables serve analogous purposes in the makefiles for all |
| 662 | GNU software; this variable is specific to Emacs. | 617 | GNU software; the following variable is specific to Emacs. |
| 663 | 618 | ||
| 664 | `archlibdir' indicates where Emacs installs and expects the executable | 619 | `archlibdir' indicates where Emacs installs and expects the executable |
| 665 | files and other architecture-dependent data it uses while | 620 | files and other architecture-dependent data it uses while |
| @@ -675,7 +630,7 @@ settings persist, you can edit them into the `Makefile' in the top | |||
| 675 | directory, but be aware that running the `configure' program erases | 630 | directory, but be aware that running the `configure' program erases |
| 676 | `Makefile' and rebuilds it from `Makefile.in'. | 631 | `Makefile' and rebuilds it from `Makefile.in'. |
| 677 | 632 | ||
| 678 | The path for finding Lisp files is specified in src/paths.h, | 633 | The path for finding Lisp files is specified in src/epaths.h, |
| 679 | a file which is generated by running configure. To change the path, | 634 | a file which is generated by running configure. To change the path, |
| 680 | you can edit the definition of PATH_LOADSEARCH in that file | 635 | you can edit the definition of PATH_LOADSEARCH in that file |
| 681 | before you run `make'. | 636 | before you run `make'. |
| @@ -717,15 +672,15 @@ BUILDING GNU EMACS BY HAND | |||
| 717 | Once Emacs is configured, running `make' in the top directory performs | 672 | Once Emacs is configured, running `make' in the top directory performs |
| 718 | the following steps. | 673 | the following steps. |
| 719 | 674 | ||
| 720 | 1) Run `make src/paths.h' in the top directory. This produces | 675 | 1) Run `make epaths-force' in the top directory. This produces |
| 721 | `./src/paths.h' from the template file `./src/paths.in', changing | 676 | `./src/epaths.h' from the template file `./src/epaths.in', changing |
| 722 | the paths to the values specified in `./Makefile'. | 677 | the paths to the values specified in `./Makefile'. |
| 723 | 678 | ||
| 724 | 2) Go to directory `./lib-src' and run `make'. This creates | 679 | 2) Go to directory `./lib-src' and run `make'. This creates |
| 725 | executables named `ctags' and `etags' and `make-docfile' and | 680 | executables named `ctags' and `etags' and `make-docfile' and |
| 726 | `digest-doc' and `test-distrib'. And others. | 681 | `digest-doc' and `test-distrib'. And others. |
| 727 | 682 | ||
| 728 | 3) Go to directory `./src' and Run `make'. This refers to files in | 683 | 3) Go to directory `./src' and run `make'. This refers to files in |
| 729 | the `./lisp' and `./lib-src' subdirectories using names `../lisp' and | 684 | the `./lisp' and `./lib-src' subdirectories using names `../lisp' and |
| 730 | `../lib-src'. | 685 | `../lib-src'. |
| 731 | 686 | ||
| @@ -737,8 +692,7 @@ It also creates a file in `./etc' whose name is `DOC' followed by the | |||
| 737 | current Emacs version. This file contains documentation strings for | 692 | current Emacs version. This file contains documentation strings for |
| 738 | all the functions in Emacs. Each time you run make to make a new | 693 | all the functions in Emacs. Each time you run make to make a new |
| 739 | emacs, a new DOC file with a new name is made. You must keep the DOC | 694 | emacs, a new DOC file with a new name is made. You must keep the DOC |
| 740 | file for an Emacs version as long as you keep using that Emacs | 695 | file for an Emacs version as long as you keep using that Emacs version. |
| 741 | version. | ||
| 742 | 696 | ||
| 743 | 697 | ||
| 744 | INSTALLATION BY HAND | 698 | INSTALLATION BY HAND |
| @@ -747,7 +701,7 @@ The steps below are done by running `make install' in the main | |||
| 747 | directory of the Emacs distribution. | 701 | directory of the Emacs distribution. |
| 748 | 702 | ||
| 749 | 1) Copy `./lisp' and its subdirectories, `./etc', and the executables | 703 | 1) Copy `./lisp' and its subdirectories, `./etc', and the executables |
| 750 | in `./lib-src' to their final destinations, as selected in `./src/paths.h'. | 704 | in `./lib-src' to their final destinations, as selected in `./src/epaths.h'. |
| 751 | 705 | ||
| 752 | Strictly speaking, not all of the executables in `./lib-src' need be copied. | 706 | Strictly speaking, not all of the executables in `./lib-src' need be copied. |
| 753 | - The programs `fakemail', `hexl', `movemail', `profile', `rcs2log', | 707 | - The programs `fakemail', `hexl', `movemail', `profile', `rcs2log', |
| @@ -778,8 +732,7 @@ You can delete `./src/temacs'. | |||
| 778 | `rcs-checkin' from `./lib-src' to `/usr/local/bin'. These programs are | 732 | `rcs-checkin' from `./lib-src' to `/usr/local/bin'. These programs are |
| 779 | intended for users to run. | 733 | intended for users to run. |
| 780 | 734 | ||
| 781 | 5) Copy the man pages in `./etc' for emacs, ctags, and etags into the | 735 | 5) Copy the man pages in `./doc/man' into the appropriate man directory. |
| 782 | appropriate man directories. | ||
| 783 | 736 | ||
| 784 | 6) The files in the `./src' subdirectory, except for `emacs', are not | 737 | 6) The files in the `./src' subdirectory, except for `emacs', are not |
| 785 | used by Emacs once it is built. However, it is very desirable to keep | 738 | used by Emacs once it is built. However, it is very desirable to keep |
| @@ -788,8 +741,8 @@ the source on line for debugging. | |||
| 788 | 741 | ||
| 789 | PROBLEMS | 742 | PROBLEMS |
| 790 | 743 | ||
| 791 | See the file PROBLEMS in etc subdirectory for a list of various | 744 | See the file `./etc/PROBLEMS' for a list of various problems sometimes |
| 792 | problems sometimes encountered, and what to do about them. | 745 | encountered, and what to do about them. |
| 793 | 746 | ||
| 794 | This file is part of GNU Emacs. | 747 | This file is part of GNU Emacs. |
| 795 | 748 | ||
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 2b9b81d2bd8..e954fe496c4 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,5 +1,11 @@ | |||
| 1 | 2010-06-10 Glenn Morris <rgm@gnu.org> | 1 | 2010-06-10 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * basic.texi (Inserting Text): Minor clarification. (Bug#6374) | ||
| 4 | |||
| 5 | * basic.texi (Inserting Text): Fix typo. | ||
| 6 | |||
| 7 | 2010-06-10 Glenn Morris <rgm@gnu.org> | ||
| 8 | |||
| 3 | * ack.texi (Acknowledgments): | 9 | * ack.texi (Acknowledgments): |
| 4 | * emacs.texi (Acknowledgments): Update for notifications.el. | 10 | * emacs.texi (Acknowledgments): Update for notifications.el. |
| 5 | 11 | ||
diff --git a/doc/emacs/basic.texi b/doc/emacs/basic.texi index 27ca4593339..b5a194f1ccf 100644 --- a/doc/emacs/basic.texi +++ b/doc/emacs/basic.texi | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | @c This is part of the Emacs manual. | 1 | @c This is part of the Emacs manual. |
| 2 | @c Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997, 2000, 2001, | 2 | @c Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997, 2000, 2001, |
| 3 | @c 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. | 3 | @c 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 |
| 4 | @c Free Software Foundation, Inc. | ||
| 4 | @c See file emacs.texi for copying conditions. | 5 | @c See file emacs.texi for copying conditions. |
| 5 | @node Basic, Minibuffer, Exiting, Top | 6 | @node Basic, Minibuffer, Exiting, Top |
| 6 | @chapter Basic Editing Commands | 7 | @chapter Basic Editing Commands |
| @@ -92,9 +93,9 @@ of overwriting with it. | |||
| 92 | @vindex read-quoted-char-radix | 93 | @vindex read-quoted-char-radix |
| 93 | @noindent | 94 | @noindent |
| 94 | To use decimal or hexadecimal instead of octal, set the variable | 95 | To use decimal or hexadecimal instead of octal, set the variable |
| 95 | @code{read-quoted-char-radix} to 10 or 16. If the radix is greater | 96 | @code{read-quoted-char-radix} to 10 or 16. If the radix is 16, |
| 96 | than 10, some letters starting with @kbd{a} serve as part of a | 97 | the letters @kbd{a} to @kbd{f} serve as part of a character code, |
| 97 | character code, just like digits. | 98 | just like digits. Case is ignored. |
| 98 | 99 | ||
| 99 | A numeric argument tells @kbd{C-q} how many copies of the quoted | 100 | A numeric argument tells @kbd{C-q} how many copies of the quoted |
| 100 | character to insert (@pxref{Arguments}). | 101 | character to insert (@pxref{Arguments}). |
| @@ -104,7 +105,7 @@ character to insert (@pxref{Arguments}). | |||
| 104 | @cindex Unicode | 105 | @cindex Unicode |
| 105 | Instead of @kbd{C-q}, you can use @kbd{C-x 8 @key{RET}} | 106 | Instead of @kbd{C-q}, you can use @kbd{C-x 8 @key{RET}} |
| 106 | (@code{ucs-insert}) to insert a character based on its Unicode name or | 107 | (@code{ucs-insert}) to insert a character based on its Unicode name or |
| 107 | code-point. This commands prompts for a character to insert, using | 108 | code-point. This command prompts for a character to insert, using |
| 108 | the minibuffer; you can specify the character using either (i) the | 109 | the minibuffer; you can specify the character using either (i) the |
| 109 | character's name in the Unicode standard, or (ii) the character's | 110 | character's name in the Unicode standard, or (ii) the character's |
| 110 | code-point in the Unicode standard. If you specify the character's | 111 | code-point in the Unicode standard. If you specify the character's |
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 2ab078d5473..a159715a69d 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-06-10 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * idlwave.texi (Load-Path Shadows): | ||
| 4 | * org.texi (Handling links): Fix typos. | ||
| 5 | |||
| 1 | 2010-06-07 Teodor Zlatanov <tzz@lifelogs.com> | 6 | 2010-06-07 Teodor Zlatanov <tzz@lifelogs.com> |
| 2 | 7 | ||
| 3 | * gnus.texi (Interactive): Explain effect of gnus-expert-user better. | 8 | * gnus.texi (Interactive): Explain effect of gnus-expert-user better. |
diff --git a/doc/misc/idlwave.texi b/doc/misc/idlwave.texi index 6292902aa99..94a2c2c6db7 100644 --- a/doc/misc/idlwave.texi +++ b/doc/misc/idlwave.texi | |||
| @@ -3717,7 +3717,7 @@ C-i}. Here are the different routines (also available in the Menu | |||
| 3717 | 3717 | ||
| 3718 | @table @asis | 3718 | @table @asis |
| 3719 | @item @kbd{M-x idlwave-list-buffer-load-path-shadows} | 3719 | @item @kbd{M-x idlwave-list-buffer-load-path-shadows} |
| 3720 | This commands checks the names of all routines defined in the current | 3720 | This command checks the names of all routines defined in the current |
| 3721 | buffer for shadowing conflicts with other routines accessible to | 3721 | buffer for shadowing conflicts with other routines accessible to |
| 3722 | IDLWAVE. The command also has a key binding: @kbd{C-c C-b} | 3722 | IDLWAVE. The command also has a key binding: @kbd{C-c C-b} |
| 3723 | @item @kbd{M-x idlwave-list-shell-load-path-shadows}. | 3723 | @item @kbd{M-x idlwave-list-shell-load-path-shadows}. |
diff --git a/doc/misc/org.texi b/doc/misc/org.texi index 00474f6d708..c4285d59f27 100644 --- a/doc/misc/org.texi +++ b/doc/misc/org.texi | |||
| @@ -2978,7 +2978,7 @@ link and description parts of the link. | |||
| 2978 | Open link at point. This will launch a web browser for URLs (using | 2978 | Open link at point. This will launch a web browser for URLs (using |
| 2979 | @command{browse-url-at-point}), run VM/MH-E/Wanderlust/Rmail/Gnus/BBDB for | 2979 | @command{browse-url-at-point}), run VM/MH-E/Wanderlust/Rmail/Gnus/BBDB for |
| 2980 | the corresponding links, and execute the command in a shell link. When the | 2980 | the corresponding links, and execute the command in a shell link. When the |
| 2981 | cursor is on an internal link, this commands runs the corresponding search. | 2981 | cursor is on an internal link, this command runs the corresponding search. |
| 2982 | When the cursor is on a TAG list in a headline, it creates the corresponding | 2982 | When the cursor is on a TAG list in a headline, it creates the corresponding |
| 2983 | TAGS view. If the cursor is on a timestamp, it compiles the agenda for that | 2983 | TAGS view. If the cursor is on a timestamp, it compiles the agenda for that |
| 2984 | date. Furthermore, it will visit text and remote files in @samp{file:} links | 2984 | date. Furthermore, it will visit text and remote files in @samp{file:} links |
diff --git a/etc/ChangeLog b/etc/ChangeLog index 872615c43e3..3e8adcb1b27 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2010-06-12 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * tutorials/TUTORIAL.bg, tutorials/TUTORIAL.es: Fix typos. | ||
| 4 | |||
| 1 | 2010-06-09 Michael Albinus <michael.albinus@gmx.de> | 5 | 2010-06-09 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 6 | ||
| 3 | * NEWS: Add notifications.el. | 7 | * NEWS: Add notifications.el. |
diff --git a/etc/NEWS.1-17 b/etc/NEWS.1-17 index 23184c45689..122c634b0f2 100644 --- a/etc/NEWS.1-17 +++ b/etc/NEWS.1-17 | |||
| @@ -760,7 +760,7 @@ not try to give commands in it when no longer really in the debugger. | |||
| 760 | * New function `switch-to-buffer-other-window'. | 760 | * New function `switch-to-buffer-other-window'. |
| 761 | 761 | ||
| 762 | This is the new primitive to select a specified buffer (the | 762 | This is the new primitive to select a specified buffer (the |
| 763 | argument) in another window. It is not quite the same as | 763 | argument) in another window. It is not quite the same as |
| 764 | `pop-to-buffer', because it is guaranteed to create another | 764 | `pop-to-buffer', because it is guaranteed to create another |
| 765 | window (assuming there is room on the screen) so that it can | 765 | window (assuming there is room on the screen) so that it can |
| 766 | leave the current window's old buffer displayed as well. | 766 | leave the current window's old buffer displayed as well. |
| @@ -971,7 +971,7 @@ once again "unmodified". | |||
| 971 | This command creates an inferior Lisp process whose input and output | 971 | This command creates an inferior Lisp process whose input and output |
| 972 | appear in the Emacs buffer named `*lisp*'. That buffer uses a major mode | 972 | appear in the Emacs buffer named `*lisp*'. That buffer uses a major mode |
| 973 | called inferior-lisp-mode, which has many of the commands of lisp-mode | 973 | called inferior-lisp-mode, which has many of the commands of lisp-mode |
| 974 | and those of shell-mode. Calls the value of shell-mode-hook and | 974 | and those of shell-mode. Calls the value of shell-mode-hook and |
| 975 | lisp-mode-hook, in that order, if non-nil. | 975 | lisp-mode-hook, in that order, if non-nil. |
| 976 | 976 | ||
| 977 | Meanwhile, in lisp-mode, the command C-M-x is defined to | 977 | Meanwhile, in lisp-mode, the command C-M-x is defined to |
| @@ -1421,7 +1421,7 @@ Changes in Emacs 15 | |||
| 1421 | of the executing emacs, for use in run-time conditionalization. | 1421 | of the executing emacs, for use in run-time conditionalization. |
| 1422 | 1422 | ||
| 1423 | The function featurep of one argument may be used to test for the | 1423 | The function featurep of one argument may be used to test for the |
| 1424 | presence of a feature. It is just the same as | 1424 | presence of a feature. It is just the same as |
| 1425 | (not (null (memq FEATURE features))) where FEATURE is its argument. | 1425 | (not (null (memq FEATURE features))) where FEATURE is its argument. |
| 1426 | For example, (if (featurep 'magic-window-hack) | 1426 | For example, (if (featurep 'magic-window-hack) |
| 1427 | (transmogrify-window 'vertical) | 1427 | (transmogrify-window 'vertical) |
| @@ -1541,13 +1541,13 @@ Changes in Emacs 15 | |||
| 1541 | 1541 | ||
| 1542 | This function returns a cons cell whose car is the object produced | 1542 | This function returns a cons cell whose car is the object produced |
| 1543 | by reading from the string and whose cdr is a number giving the | 1543 | by reading from the string and whose cdr is a number giving the |
| 1544 | index in the string of the first character not read. That index may | 1544 | index in the string of the first character not read. That index may |
| 1545 | be passed as the second argument to a later call to read-from-string | 1545 | be passed as the second argument to a later call to read-from-string |
| 1546 | to read the next form represented by the string. | 1546 | to read the next form represented by the string. |
| 1547 | 1547 | ||
| 1548 | In addition, the function read now accepts a string as its argument. | 1548 | In addition, the function read now accepts a string as its argument. |
| 1549 | In this case, it calls read-from-string on the whole string, and | 1549 | In this case, it calls read-from-string on the whole string, and |
| 1550 | returns the car of the result. (ie the actual object read.) | 1550 | returns the car of the result (ie the actual object read.) |
| 1551 | 1551 | ||
| 1552 | 1552 | ||
| 1553 | 1553 | ||
diff --git a/etc/NEWS.23 b/etc/NEWS.23 index 9124fe1c069..74291bab8ab 100644 --- a/etc/NEWS.23 +++ b/etc/NEWS.23 | |||
| @@ -27,6 +27,10 @@ with a prefix argument or by typing C-u C-h C-n. | |||
| 27 | 27 | ||
| 28 | * Changes in Specialized Modes and Packages in Emacs 23.3 | 28 | * Changes in Specialized Modes and Packages in Emacs 23.3 |
| 29 | 29 | ||
| 30 | --- | ||
| 31 | ** The appt-add command takes an optional argument for the warning time. | ||
| 32 | This can be used in place of the default appt-message-warning-time. | ||
| 33 | |||
| 30 | 34 | ||
| 31 | * New Modes and Packages in Emacs 23.3 | 35 | * New Modes and Packages in Emacs 23.3 |
| 32 | 36 | ||
diff --git a/etc/tutorials/TUTORIAL.bg b/etc/tutorials/TUTORIAL.bg index 3f8ea6e2c45..e8300d26653 100644 --- a/etc/tutorials/TUTORIAL.bg +++ b/etc/tutorials/TUTORIAL.bg | |||
| @@ -625,7 +625,7 @@ C-f. Ïî òîçè íà÷èí ìîæå äà ïîëó÷èòå äîñòà íà áðîé ôàéëîâå â Åìàêñ. | |||
| 625 | Åìàêñ ñåñèÿòà. | 625 | Åìàêñ ñåñèÿòà. |
| 626 | 626 | ||
| 627 | >> Âúâåäåòå C-x b *Messages* <Return>, çà äà âèäèòå áóôåðà ñúñ | 627 | >> Âúâåäåòå C-x b *Messages* <Return>, çà äà âèäèòå áóôåðà ñúñ |
| 628 | ñúîáùåíèÿòà. Ñëåä òîâà âúâåäåòå C-x C-b TUTORIAL <Return>, çà äà | 628 | ñúîáùåíèÿòà. Ñëåä òîâà âúâåäåòå C-x b TUTORIAL <Return>, çà äà |
| 629 | ñå âúðíåòå êúì òîâà âúâåäåíèå. | 629 | ñå âúðíåòå êúì òîâà âúâåäåíèå. |
| 630 | 630 | ||
| 631 | Àêî íàïðàâèòå ïðîìåíè â òåêñòà íà åäèí ôàéë è òîãàâà íàìåðèòå äðóã | 631 | Àêî íàïðàâèòå ïðîìåíè â òåêñòà íà åäèí ôàéë è òîãàâà íàìåðèòå äðóã |
diff --git a/etc/tutorials/TUTORIAL.es b/etc/tutorials/TUTORIAL.es index 1af1b97537c..7fb7ac2c2a3 100644 --- a/etc/tutorials/TUTORIAL.es +++ b/etc/tutorials/TUTORIAL.es | |||
| @@ -630,7 +630,7 @@ contiene los mensajes que han aparecido en la línea de abajo durante | |||
| 630 | su sesión de Emacs. | 630 | su sesión de Emacs. |
| 631 | 631 | ||
| 632 | >> Teclee C-x b *Messages* <Return> para ver el buffer de mensajes. | 632 | >> Teclee C-x b *Messages* <Return> para ver el buffer de mensajes. |
| 633 | Luego teclee C-b TUTORIAL <Return> para regresar a este tutorial. | 633 | Luego teclee C-x b TUTORIAL <Return> para regresar a este tutorial. |
| 634 | 634 | ||
| 635 | Si hace cambios al texto de un archivo, y luego encuentra otro | 635 | Si hace cambios al texto de un archivo, y luego encuentra otro |
| 636 | archivo, esto no guarda el primer archivo. Sus cambios permanecerán | 636 | archivo, esto no guarda el primer archivo. Sus cambios permanecerán |
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2346cf3449f..a70c564b1ef 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,40 @@ | |||
| 1 | 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * font-lock.el (font-lock-major-mode): Rename from | ||
| 4 | font-lock-mode-major-mode to distinguish it from | ||
| 5 | global-font-lock-mode's own font-lock-mode-major-mode (bug#6135). | ||
| 6 | (font-lock-set-defaults): | ||
| 7 | * font-core.el (font-lock-default-function): Adjust users. | ||
| 8 | (font-lock-mode): Don't set it at all. | ||
| 9 | |||
| 10 | 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 11 | |||
| 12 | * vc-annotate.el (vc-annotate): Use vc-read-revision. | ||
| 13 | |||
| 14 | 2010-06-16 Glenn Morris <rgm@gnu.org> | ||
| 15 | |||
| 16 | * calendar/appt.el (appt-time-msg-list): Doc fix. | ||
| 17 | (appt-check): Let-bind appt-warn-time. | ||
| 18 | (appt-add): Make the 3rd argument optional. | ||
| 19 | Simplify argument names. Doc fix. Check for integer WARNTIME. | ||
| 20 | Only add WARNTIME to the output list if non-nil. | ||
| 21 | |||
| 22 | 2010-06-16 Ivan Kanis <apple@kanis.eu> | ||
| 23 | |||
| 24 | * calendar/appt.el (appt-check): Let the 3rd element of | ||
| 25 | appt-time-msg-list specify the warning time. | ||
| 26 | (appt-add): Add new argument with the warning time. (Bug#5176) | ||
| 27 | |||
| 28 | 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change) | ||
| 29 | |||
| 30 | * vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions | ||
| 31 | older than version 1.6. (Bug#6361) | ||
| 32 | |||
| 33 | 2010-06-16 Helmut Eller <eller.helmut@gmail.com> | ||
| 34 | |||
| 35 | * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote', | ||
| 36 | used by cl-do-arglist. (Bug#6408) | ||
| 37 | |||
| 1 | 2010-06-16 AgustÃn MartÃn <agustin.martin@hispalinux.es> | 38 | 2010-06-16 AgustÃn MartÃn <agustin.martin@hispalinux.es> |
| 2 | 39 | ||
| 3 | * ispell.el (ispell-dictionary-base-alist): Fix | 40 | * ispell.el (ispell-dictionary-base-alist): Fix |
diff --git a/lisp/calendar/appt.el b/lisp/calendar/appt.el index b403b7043d8..7fcaab9da34 100644 --- a/lisp/calendar/appt.el +++ b/lisp/calendar/appt.el | |||
| @@ -183,16 +183,25 @@ Only relevant if reminders are being displayed in a window." | |||
| 183 | (defconst appt-buffer-name "*appt-buf*" | 183 | (defconst appt-buffer-name "*appt-buf*" |
| 184 | "Name of the appointments buffer.") | 184 | "Name of the appointments buffer.") |
| 185 | 185 | ||
| 186 | ;; TODO Turn this into an alist? It would be easier to add more | ||
| 187 | ;; optional elements. | ||
| 188 | ;; TODO There should be a way to set WARNTIME (and other properties) | ||
| 189 | ;; from the diary-file. Implementing that would be a good reason | ||
| 190 | ;; to change this to an alist. | ||
| 186 | (defvar appt-time-msg-list nil | 191 | (defvar appt-time-msg-list nil |
| 187 | "The list of appointments for today. | 192 | "The list of appointments for today. |
| 188 | Use `appt-add' and `appt-delete' to add and delete appointments. | 193 | Use `appt-add' and `appt-delete' to add and delete appointments. |
| 189 | The original list is generated from today's `diary-entries-list', and | 194 | The original list is generated from today's `diary-entries-list', and |
| 190 | can be regenerated using the function `appt-check'. | 195 | can be regenerated using the function `appt-check'. |
| 191 | Each element of the generated list has the form (MINUTES STRING [FLAG]); where | 196 | Each element of the generated list has the form |
| 192 | MINUTES is the time in minutes of the appointment after midnight, and | 197 | \(MINUTES STRING [FLAG] [WARNTIME]) |
| 193 | STRING is the description of the appointment. | 198 | where MINUTES is the time in minutes of the appointment after midnight, |
| 194 | FLAG, if non-nil, says that the element was made with `appt-add' | 199 | and STRING is the description of the appointment. |
| 195 | so calling `appt-make-list' again should preserve it.") | 200 | FLAG and WARNTIME can only be present if the element was made |
| 201 | with `appt-add'. A non-nil FLAG indicates that the element was made | ||
| 202 | with `appt-add', so calling `appt-make-list' again should preserve it. | ||
| 203 | If WARNTIME is non-nil, it is an integer to use in place | ||
| 204 | of `appt-message-warning-time'.") | ||
| 196 | 205 | ||
| 197 | (defconst appt-max-time (1- (* 24 60)) | 206 | (defconst appt-max-time (1- (* 24 60)) |
| 198 | "11:59pm in minutes - number of minutes in a day minus 1.") | 207 | "11:59pm in minutes - number of minutes in a day minus 1.") |
| @@ -313,7 +322,7 @@ displayed in a window: | |||
| 313 | (zerop (mod prev-appt-display-count appt-display-interval)))) | 322 | (zerop (mod prev-appt-display-count appt-display-interval)))) |
| 314 | ;; Non-nil means only update the interval displayed in the mode line. | 323 | ;; Non-nil means only update the interval displayed in the mode line. |
| 315 | (mode-line-only (unless full-check appt-now-displayed)) | 324 | (mode-line-only (unless full-check appt-now-displayed)) |
| 316 | now cur-comp-time appt-comp-time) | 325 | now cur-comp-time appt-comp-time appt-warn-time) |
| 317 | (when (or full-check mode-line-only) | 326 | (when (or full-check mode-line-only) |
| 318 | (save-excursion | 327 | (save-excursion |
| 319 | ;; Convert current time to minutes after midnight (12.01am = 1). | 328 | ;; Convert current time to minutes after midnight (12.01am = 1). |
| @@ -353,6 +362,8 @@ displayed in a window: | |||
| 353 | ;; calculate the number of minutes until the appointment. | 362 | ;; calculate the number of minutes until the appointment. |
| 354 | (when (and appt-issue-message appt-time-msg-list) | 363 | (when (and appt-issue-message appt-time-msg-list) |
| 355 | (setq appt-comp-time (caar (car appt-time-msg-list)) | 364 | (setq appt-comp-time (caar (car appt-time-msg-list)) |
| 365 | appt-warn-time (or (nth 3 (car appt-time-msg-list)) | ||
| 366 | appt-message-warning-time) | ||
| 356 | min-to-app (- appt-comp-time cur-comp-time)) | 367 | min-to-app (- appt-comp-time cur-comp-time)) |
| 357 | (while (and appt-time-msg-list | 368 | (while (and appt-time-msg-list |
| 358 | (< appt-comp-time cur-comp-time)) | 369 | (< appt-comp-time cur-comp-time)) |
| @@ -360,21 +371,21 @@ displayed in a window: | |||
| 360 | (if appt-time-msg-list | 371 | (if appt-time-msg-list |
| 361 | (setq appt-comp-time (caar (car appt-time-msg-list))))) | 372 | (setq appt-comp-time (caar (car appt-time-msg-list))))) |
| 362 | ;; If we have an appointment between midnight and | 373 | ;; If we have an appointment between midnight and |
| 363 | ;; `appt-message-warning-time' minutes after midnight, we | 374 | ;; `appt-warn-time' minutes after midnight, we |
| 364 | ;; must begin to issue a message before midnight. Midnight | 375 | ;; must begin to issue a message before midnight. Midnight |
| 365 | ;; is considered 0 minutes and 11:59pm is 1439 | 376 | ;; is considered 0 minutes and 11:59pm is 1439 |
| 366 | ;; minutes. Therefore we must recalculate the minutes to | 377 | ;; minutes. Therefore we must recalculate the minutes to |
| 367 | ;; appointment variable. It is equal to the number of | 378 | ;; appointment variable. It is equal to the number of |
| 368 | ;; minutes before midnight plus the number of minutes after | 379 | ;; minutes before midnight plus the number of minutes after |
| 369 | ;; midnight our appointment is. | 380 | ;; midnight our appointment is. |
| 370 | (if (and (< appt-comp-time appt-message-warning-time) | 381 | (if (and (< appt-comp-time appt-warn-time) |
| 371 | (> (+ cur-comp-time appt-message-warning-time) | 382 | (> (+ cur-comp-time appt-warn-time) |
| 372 | appt-max-time)) | 383 | appt-max-time)) |
| 373 | (setq min-to-app (+ (- (1+ appt-max-time) cur-comp-time) | 384 | (setq min-to-app (+ (- (1+ appt-max-time) cur-comp-time) |
| 374 | appt-comp-time))) | 385 | appt-comp-time))) |
| 375 | ;; Issue warning if the appointment time is within | 386 | ;; Issue warning if the appointment time is within |
| 376 | ;; appt-message-warning time. | 387 | ;; appt-message-warning time. |
| 377 | (when (and (<= min-to-app appt-message-warning-time) | 388 | (when (and (<= min-to-app appt-warn-time) |
| 378 | (>= min-to-app 0)) | 389 | (>= min-to-app 0)) |
| 379 | (setq appt-now-displayed t | 390 | (setq appt-now-displayed t |
| 380 | appt-display-count (1+ prev-appt-display-count)) | 391 | appt-display-count (1+ prev-appt-display-count)) |
| @@ -470,14 +481,28 @@ Usually just deletes the appointment buffer." | |||
| 470 | "[0-9]?[0-9]\\(h\\([0-9][0-9]\\)?\\|[:.][0-9][0-9]\\)\\(am\\|pm\\)?") | 481 | "[0-9]?[0-9]\\(h\\([0-9][0-9]\\)?\\|[:.][0-9][0-9]\\)\\(am\\|pm\\)?") |
| 471 | 482 | ||
| 472 | ;;;###autoload | 483 | ;;;###autoload |
| 473 | (defun appt-add (new-appt-time new-appt-msg) | 484 | (defun appt-add (time msg &optional warntime) |
| 474 | "Add an appointment for today at NEW-APPT-TIME with message NEW-APPT-MSG. | 485 | "Add an appointment for today at TIME with message MSG. |
| 475 | The time should be in either 24 hour format or am/pm format." | 486 | The time should be in either 24 hour format or am/pm format. |
| 476 | (interactive "sTime (hh:mm[am/pm]): \nsMessage: ") | 487 | Optional argument WARNTIME is an integer (or string) giving the number |
| 477 | (unless (string-match appt-time-regexp new-appt-time) | 488 | of minutes before the appointment at which to start warning. |
| 489 | The default is `appt-message-warning-time'." | ||
| 490 | (interactive "sTime (hh:mm[am/pm]): \nsMessage: | ||
| 491 | sMinutes before the appointment to start warning: ") | ||
| 492 | (unless (string-match appt-time-regexp time) | ||
| 478 | (error "Unacceptable time-string")) | 493 | (error "Unacceptable time-string")) |
| 479 | (let ((time-msg (list (list (appt-convert-time new-appt-time)) | 494 | (and (stringp warntime) |
| 480 | (concat new-appt-time " " new-appt-msg) t))) | 495 | (setq warntime (unless (string-equal warntime "") |
| 496 | (string-to-number warntime)))) | ||
| 497 | (and warntime | ||
| 498 | (not (integerp warntime)) | ||
| 499 | (error "Argument WARNTIME must be an integer, or nil")) | ||
| 500 | (let ((time-msg (list (list (appt-convert-time time)) | ||
| 501 | (concat time " " msg) t))) | ||
| 502 | ;; It is presently non-sensical to have multiple warnings about | ||
| 503 | ;; the same appointment with just different delays, but it might | ||
| 504 | ;; not always be so. TODO | ||
| 505 | (if warntime (setq time-msg (append time-msg (list warntime)))) | ||
| 481 | (unless (member time-msg appt-time-msg-list) | 506 | (unless (member time-msg appt-time-msg-list) |
| 482 | (setq appt-time-msg-list | 507 | (setq appt-time-msg-list |
| 483 | (appt-sort-list (nconc appt-time-msg-list (list time-msg))))))) | 508 | (appt-sort-list (nconc appt-time-msg-list (list time-msg))))))) |
diff --git a/lisp/emacs-lisp/cl-macs.el b/lisp/emacs-lisp/cl-macs.el index 444178edb0c..694a06f8338 100644 --- a/lisp/emacs-lisp/cl-macs.el +++ b/lisp/emacs-lisp/cl-macs.el | |||
| @@ -438,7 +438,7 @@ It is a list of elements of the form either: | |||
| 438 | ;;;###autoload | 438 | ;;;###autoload |
| 439 | (defmacro destructuring-bind (args expr &rest body) | 439 | (defmacro destructuring-bind (args expr &rest body) |
| 440 | (let* ((bind-lets nil) (bind-forms nil) (bind-inits nil) | 440 | (let* ((bind-lets nil) (bind-forms nil) (bind-inits nil) |
| 441 | (bind-defs nil) (bind-block 'cl-none)) | 441 | (bind-defs nil) (bind-block 'cl-none) (bind-enquote nil)) |
| 442 | (cl-do-arglist (or args '(&aux)) expr) | 442 | (cl-do-arglist (or args '(&aux)) expr) |
| 443 | (append '(progn) bind-inits | 443 | (append '(progn) bind-inits |
| 444 | (list (nconc (list 'let* (nreverse bind-lets)) | 444 | (list (nconc (list 'let* (nreverse bind-lets)) |
diff --git a/lisp/font-core.el b/lisp/font-core.el index be3a2a3eaca..d33295b3c34 100644 --- a/lisp/font-core.el +++ b/lisp/font-core.el | |||
| @@ -97,7 +97,7 @@ It will be passed one argument, which is the current value of | |||
| 97 | `font-lock-mode'.") | 97 | `font-lock-mode'.") |
| 98 | 98 | ||
| 99 | ;; The mode for which font-lock was initialized, or nil if none. | 99 | ;; The mode for which font-lock was initialized, or nil if none. |
| 100 | (defvar font-lock-mode-major-mode) | 100 | (defvar font-lock-major-mode) |
| 101 | (define-minor-mode font-lock-mode | 101 | (define-minor-mode font-lock-mode |
| 102 | "Toggle Font Lock mode. | 102 | "Toggle Font Lock mode. |
| 103 | With arg, turn Font Lock mode off if and only if arg is a non-positive | 103 | With arg, turn Font Lock mode off if and only if arg is a non-positive |
| @@ -159,9 +159,7 @@ your own function which is called when `font-lock-mode' is toggled via | |||
| 159 | ;; Arrange to unfontify this buffer if we change major mode later. | 159 | ;; Arrange to unfontify this buffer if we change major mode later. |
| 160 | (if font-lock-mode | 160 | (if font-lock-mode |
| 161 | (add-hook 'change-major-mode-hook 'font-lock-change-mode nil t) | 161 | (add-hook 'change-major-mode-hook 'font-lock-change-mode nil t) |
| 162 | (remove-hook 'change-major-mode-hook 'font-lock-change-mode t)) | 162 | (remove-hook 'change-major-mode-hook 'font-lock-change-mode t))) |
| 163 | (when font-lock-mode | ||
| 164 | (setq font-lock-mode-major-mode major-mode))) | ||
| 165 | 163 | ||
| 166 | ;; Get rid of fontification for the old major mode. | 164 | ;; Get rid of fontification for the old major mode. |
| 167 | ;; We do this when changing major modes. | 165 | ;; We do this when changing major modes. |
| @@ -213,8 +211,8 @@ this function onto `change-major-mode-hook'." | |||
| 213 | (and mode | 211 | (and mode |
| 214 | (boundp 'font-lock-set-defaults) | 212 | (boundp 'font-lock-set-defaults) |
| 215 | font-lock-set-defaults | 213 | font-lock-set-defaults |
| 216 | font-lock-mode-major-mode | 214 | font-lock-major-mode |
| 217 | (not (eq font-lock-mode-major-mode major-mode)))) | 215 | (not (eq font-lock-major-mode major-mode)))) |
| 218 | (font-lock-mode-internal mode))) | 216 | (font-lock-mode-internal mode))) |
| 219 | 217 | ||
| 220 | (defun turn-on-font-lock () | 218 | (defun turn-on-font-lock () |
diff --git a/lisp/font-lock.el b/lisp/font-lock.el index 7e8562c433a..db665857fdb 100644 --- a/lisp/font-lock.el +++ b/lisp/font-lock.el | |||
| @@ -1783,15 +1783,18 @@ preserve `hi-lock-mode' highlighting patterns." | |||
| 1783 | (kill-local-variable 'font-lock-set-defaults) | 1783 | (kill-local-variable 'font-lock-set-defaults) |
| 1784 | (font-lock-mode 1)) | 1784 | (font-lock-mode 1)) |
| 1785 | 1785 | ||
| 1786 | (defvar font-lock-mode-major-mode) | 1786 | (defvar font-lock-major-mode nil |
| 1787 | "Major mode for which the font-lock settings have been setup.") | ||
| 1788 | (make-variable-buffer-local 'font-lock-major-mode) | ||
| 1789 | |||
| 1787 | (defun font-lock-set-defaults () | 1790 | (defun font-lock-set-defaults () |
| 1788 | "Set fontification defaults appropriately for this mode. | 1791 | "Set fontification defaults appropriately for this mode. |
| 1789 | Sets various variables using `font-lock-defaults' (or, if nil, using | 1792 | Sets various variables using `font-lock-defaults' (or, if nil, using |
| 1790 | `font-lock-defaults-alist') and `font-lock-maximum-decoration'." | 1793 | `font-lock-defaults-alist') and `font-lock-maximum-decoration'." |
| 1791 | ;; Set fontification defaults if not previously set for correct major mode. | 1794 | ;; Set fontification defaults if not previously set for correct major mode. |
| 1792 | (unless (and font-lock-set-defaults | 1795 | (unless (and font-lock-set-defaults |
| 1793 | (eq font-lock-mode-major-mode major-mode)) | 1796 | (eq font-lock-major-mode major-mode)) |
| 1794 | (setq font-lock-mode-major-mode major-mode) | 1797 | (setq font-lock-major-mode major-mode) |
| 1795 | (set (make-local-variable 'font-lock-set-defaults) t) | 1798 | (set (make-local-variable 'font-lock-set-defaults) t) |
| 1796 | (make-local-variable 'font-lock-fontified) | 1799 | (make-local-variable 'font-lock-fontified) |
| 1797 | (make-local-variable 'font-lock-multiline) | 1800 | (make-local-variable 'font-lock-multiline) |
diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog index f61c8d2566d..374333150c8 100644 --- a/lisp/url/ChangeLog +++ b/lisp/url/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2010-06-12 Štěpán Němec <stepnem@gmail.com> (tiny change) | ||
| 2 | |||
| 3 | * url-vars.el (url-privacy-level): Fix doc typo. (Bug#6406) | ||
| 4 | |||
| 1 | 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca> | 5 | 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 6 | ||
| 3 | * url-util.el (url-unhex-string): Don't accidentally decode as latin-1. | 7 | * url-util.el (url-unhex-string): Don't accidentally decode as latin-1. |
diff --git a/lisp/url/url-vars.el b/lisp/url/url-vars.el index 1b9fd7b76cc..65622a06e02 100644 --- a/lisp/url/url-vars.el +++ b/lisp/url/url-vars.el | |||
| @@ -128,7 +128,7 @@ email -- the email address | |||
| 128 | os -- the operating system info | 128 | os -- the operating system info |
| 129 | lastloc -- the last location | 129 | lastloc -- the last location |
| 130 | agent -- do not send the User-Agent string | 130 | agent -- do not send the User-Agent string |
| 131 | cookie -- never accept HTTP cookies | 131 | cookies -- never accept HTTP cookies |
| 132 | 132 | ||
| 133 | Samples: | 133 | Samples: |
| 134 | 134 | ||
diff --git a/lisp/vc/vc-annotate.el b/lisp/vc/vc-annotate.el index d21d40d50f2..d0951bdd404 100644 --- a/lisp/vc/vc-annotate.el +++ b/lisp/vc/vc-annotate.el | |||
| @@ -316,7 +316,7 @@ use; you may override this using the second optional arg MODE." | |||
| 316 | 316 | ||
| 317 | ;;;###autoload | 317 | ;;;###autoload |
| 318 | (defun vc-annotate (file rev &optional display-mode buf move-point-to) | 318 | (defun vc-annotate (file rev &optional display-mode buf move-point-to) |
| 319 | "Display the edit history of the current file using colors. | 319 | "Display the edit history of the current FILE using colors. |
| 320 | 320 | ||
| 321 | This command creates a buffer that shows, for each line of the current | 321 | This command creates a buffer that shows, for each line of the current |
| 322 | file, when it was last edited and by whom. Additionally, colors are | 322 | file, when it was last edited and by whom. Additionally, colors are |
| @@ -326,7 +326,7 @@ default, the time scale stretches back one year into the past; | |||
| 326 | everything that is older than that is shown in blue. | 326 | everything that is older than that is shown in blue. |
| 327 | 327 | ||
| 328 | With a prefix argument, this command asks two questions in the | 328 | With a prefix argument, this command asks two questions in the |
| 329 | minibuffer. First, you may enter a revision number; then the buffer | 329 | minibuffer. First, you may enter a revision number REV; then the buffer |
| 330 | displays and annotates that revision instead of the working revision | 330 | displays and annotates that revision instead of the working revision |
| 331 | \(type RET in the minibuffer to leave that default unchanged). Then, | 331 | \(type RET in the minibuffer to leave that default unchanged). Then, |
| 332 | you are prompted for the time span in days which the color range | 332 | you are prompted for the time span in days which the color range |
| @@ -348,9 +348,9 @@ mode-specific menu. `vc-annotate-color-map' and | |||
| 348 | (list buffer-file-name | 348 | (list buffer-file-name |
| 349 | (let ((def (vc-working-revision buffer-file-name))) | 349 | (let ((def (vc-working-revision buffer-file-name))) |
| 350 | (if (null current-prefix-arg) def | 350 | (if (null current-prefix-arg) def |
| 351 | (read-string | 351 | (vc-read-revision |
| 352 | (format "Annotate from revision (default %s): " def) | 352 | (format "Annotate from revision (default %s): " def) |
| 353 | nil nil def))) | 353 | (list buffer-file-name) nil def))) |
| 354 | (if (null current-prefix-arg) | 354 | (if (null current-prefix-arg) |
| 355 | vc-annotate-display-mode | 355 | vc-annotate-display-mode |
| 356 | (float (string-to-number | 356 | (float (string-to-number |
diff --git a/lisp/vc/vc-svn.el b/lisp/vc/vc-svn.el index cd43d425af1..889a60c278e 100644 --- a/lisp/vc/vc-svn.el +++ b/lisp/vc/vc-svn.el | |||
| @@ -170,7 +170,7 @@ want to force an empty list of arguments, use t." | |||
| 170 | (?? . unregistered) | 170 | (?? . unregistered) |
| 171 | ;; This is what vc-svn-parse-status does. | 171 | ;; This is what vc-svn-parse-status does. |
| 172 | (?~ . edited))) | 172 | (?~ . edited))) |
| 173 | (re (if remote "^\\(.\\)...... \\([ *]\\) +\\(?:[-0-9]+\\)? \\(.*\\)$" | 173 | (re (if remote "^\\(.\\)......? \\([ *]\\) +\\(?:[-0-9]+\\)? \\(.*\\)$" |
| 174 | ;; Subexp 2 is a dummy in this case, so the numbers match. | 174 | ;; Subexp 2 is a dummy in this case, so the numbers match. |
| 175 | "^\\(.\\)....\\(.\\) \\(.*\\)$")) | 175 | "^\\(.\\)....\\(.\\) \\(.*\\)$")) |
| 176 | result) | 176 | result) |
diff --git a/src/ChangeLog b/src/ChangeLog index 799680498ea..9e115942d39 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2010-06-16 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * editfns.c (Fbyte_to_string): Pacify compiler. | ||
| 4 | |||
| 1 | 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca> | 5 | 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 6 | ||
| 3 | * lread.c (read1): Phase out old-style backquotes a bit more. | 7 | * lread.c (read1): Phase out old-style backquotes a bit more. |