diff options
| author | Stefan Monnier | 2010-07-23 17:23:09 +0200 |
|---|---|---|
| committer | Stefan Monnier | 2010-07-23 17:23:09 +0200 |
| commit | 0ee81a0ce066375eac701c06cdfbdebefe594fdc (patch) | |
| tree | f0dccd24163316cfe688f927681a3032a9b1fe2f /etc | |
| parent | 894e369ddf48e191638b8e66ce732f24ff9abe2a (diff) | |
| parent | 94da839793affa2a270bc26cee9c4d95d4dc4708 (diff) | |
| download | emacs-0ee81a0ce066375eac701c06cdfbdebefe594fdc.tar.gz emacs-0ee81a0ce066375eac701c06cdfbdebefe594fdc.zip | |
Merge from trunk
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/ChangeLog | 18 | ||||
| -rw-r--r-- | etc/DEBUG | 29 | ||||
| -rw-r--r-- | etc/NEWS | 128 | ||||
| -rw-r--r-- | etc/PROBLEMS | 31 | ||||
| -rw-r--r-- | etc/compilation.txt | 102 | ||||
| -rw-r--r-- | etc/refcards/orgcard.tex | 92 |
6 files changed, 321 insertions, 79 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog index 3e8adcb1b27..ee1915245a0 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog | |||
| @@ -1,3 +1,21 @@ | |||
| 1 | 2010-07-20 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * PROBLEMS: Add note about use of backslashes in Windows paths. | ||
| 4 | |||
| 5 | 2010-07-19 Juanma Barranquero <lekktu@gmail.com> | ||
| 6 | |||
| 7 | * NEWS: Mention --enable-checking is now supported on Windows. | ||
| 8 | |||
| 9 | 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com> | ||
| 10 | |||
| 11 | * refcards/orgcard.tex: Remove the key for the TODO sparse tree | ||
| 12 | and add the new key. Document new keys for image and entity | ||
| 13 | display. Document the Org Babel keys. | ||
| 14 | |||
| 15 | 2010-06-19 Ken Brown <kbrown@cornell.edu> | ||
| 16 | |||
| 17 | * PROBLEMS: Update Cygwin GCC information. (Bug#6458) | ||
| 18 | |||
| 1 | 2010-06-12 Glenn Morris <rgm@gnu.org> | 19 | 2010-06-12 Glenn Morris <rgm@gnu.org> |
| 2 | 20 | ||
| 3 | * tutorials/TUTORIAL.bg, tutorials/TUTORIAL.es: Fix typos. | 21 | * tutorials/TUTORIAL.bg, tutorials/TUTORIAL.es: Fix typos. |
| @@ -5,9 +5,8 @@ Copyright (C) 1985, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, | |||
| 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 | [People who debug Emacs on Windows using Microsoft debuggers | 8 | [People who debug Emacs on Windows using Microsoft debuggers should |
| 9 | should read the Windows-specific section near the end of this | 9 | read the Windows-specific section near the end of this document.] |
| 10 | document.] | ||
| 11 | 10 | ||
| 12 | ** When you debug Emacs with GDB, you should start it in the directory | 11 | ** When you debug Emacs with GDB, you should start it in the directory |
| 13 | where the executable was made. That directory has a .gdbinit file | 12 | where the executable was made. That directory has a .gdbinit file |
| @@ -50,8 +49,7 @@ On modern POSIX systems, you can override that with this command: | |||
| 50 | handle SIGINT stop nopass | 49 | handle SIGINT stop nopass |
| 51 | 50 | ||
| 52 | After this `handle' command, SIGINT will return control to GDB. If | 51 | After this `handle' command, SIGINT will return control to GDB. If |
| 53 | you want the C-g to cause a QUIT within Emacs as well, omit the | 52 | you want the C-g to cause a QUIT within Emacs as well, omit the `nopass'. |
| 54 | `nopass'. | ||
| 55 | 53 | ||
| 56 | A technique that can work when `handle SIGINT' does not is to store | 54 | A technique that can work when `handle SIGINT' does not is to store |
| 57 | the code for some character into the variable stop_character. Thus, | 55 | the code for some character into the variable stop_character. Thus, |
| @@ -443,10 +441,9 @@ It is necessary to refer to the file `nmout' to convert | |||
| 443 | numeric addresses into symbols and vice versa. | 441 | numeric addresses into symbols and vice versa. |
| 444 | 442 | ||
| 445 | It is useful to be running under a window system. | 443 | It is useful to be running under a window system. |
| 446 | Then, if Emacs becomes hopelessly wedged, you can create | 444 | Then, if Emacs becomes hopelessly wedged, you can create another |
| 447 | another window to do kill -9 in. kill -ILL is often | 445 | window to do kill -9 in. kill -ILL is often useful too, since that |
| 448 | useful too, since that may make Emacs dump core or return | 446 | may make Emacs dump core or return to adb. |
| 449 | to adb. | ||
| 450 | 447 | ||
| 451 | 448 | ||
| 452 | ** Debugging incorrect screen updating. | 449 | ** Debugging incorrect screen updating. |
| @@ -483,16 +480,14 @@ suitable for Unix and GNU systems, to build such a debugging version: | |||
| 483 | Building Emacs like that activates many assertions which scrutinize | 480 | Building Emacs like that activates many assertions which scrutinize |
| 484 | display code operation more than Emacs does normally. (To see the | 481 | display code operation more than Emacs does normally. (To see the |
| 485 | code which tests these assertions, look for calls to the `xassert' | 482 | code which tests these assertions, look for calls to the `xassert' |
| 486 | macros.) Any assertion that is reported to fail should be | 483 | macros.) Any assertion that is reported to fail should be investigated. |
| 487 | investigated. | ||
| 488 | 484 | ||
| 489 | Building with GLYPH_DEBUG defined also defines several helper | 485 | Building with GLYPH_DEBUG defined also defines several helper |
| 490 | functions which can help debugging display code. One such function is | 486 | functions which can help debugging display code. One such function is |
| 491 | `dump_glyph_matrix'. If you run Emacs under GDB, you can print the | 487 | `dump_glyph_matrix'. If you run Emacs under GDB, you can print the |
| 492 | contents of any glyph matrix by just calling that function with the | 488 | contents of any glyph matrix by just calling that function with the |
| 493 | matrix as its argument. For example, the following command will print | 489 | matrix as its argument. For example, the following command will print |
| 494 | the contents of the current matrix of the window whose pointer is in | 490 | the contents of the current matrix of the window whose pointer is in `w': |
| 495 | `w': | ||
| 496 | 491 | ||
| 497 | (gdb) p dump_glyph_matrix (w->current_matrix, 2) | 492 | (gdb) p dump_glyph_matrix (w->current_matrix, 2) |
| 498 | 493 | ||
| @@ -621,13 +616,9 @@ Emacs compiled with such packages might not run without some hacking, | |||
| 621 | because Emacs replaces the system's memory allocation functions with | 616 | because Emacs replaces the system's memory allocation functions with |
| 622 | its own versions, and because the dumping process might be | 617 | its own versions, and because the dumping process might be |
| 623 | incompatible with the way these packages use to track allocated | 618 | incompatible with the way these packages use to track allocated |
| 624 | memory. Here are some of the changes you might find necessary | 619 | memory. Here are some of the changes you might find necessary: |
| 625 | (SYSTEM-NAME and MACHINE-NAME are the names of your OS- and | ||
| 626 | CPU-specific headers in the subdirectories of `src'): | ||
| 627 | 620 | ||
| 628 | - In src/s/SYSTEM-NAME.h add "#define SYSTEM_MALLOC". | 621 | - Edit configure, to set system_malloc and CANNOT_DUMP to "yes". |
| 629 | |||
| 630 | - In src/m/MACHINE-NAME.h add "#define CANNOT_DUMP" | ||
| 631 | 622 | ||
| 632 | - Configure with a different --prefix= option. If you use GCC, | 623 | - Configure with a different --prefix= option. If you use GCC, |
| 633 | version 2.7.2 is preferred, as some malloc debugging packages | 624 | version 2.7.2 is preferred, as some malloc debugging packages |
| @@ -41,6 +41,16 @@ lib-src/Makefile by hand in order to use the associated features. | |||
| 41 | ** There is a new configure option --with-crt-dir. | 41 | ** There is a new configure option --with-crt-dir. |
| 42 | This is only useful if your crt*.o files are in a non-standard location. | 42 | This is only useful if your crt*.o files are in a non-standard location. |
| 43 | 43 | ||
| 44 | --- | ||
| 45 | ** Emacs can be compiled against Gtk+ 3.0 if you pass --with-x-toolkit=gtk3 | ||
| 46 | to configure. Note that other libraries used by Emacs, RSVG and GConf, | ||
| 47 | also depend on Gtk+. You can disable them with --without-rsvg and | ||
| 48 | --without-gconf. | ||
| 49 | |||
| 50 | ** There is a new configure option --enable-use-lisp-union-type. | ||
| 51 | This is only useful for Emacs developers to debug certain types of bugs. | ||
| 52 | These is not a new feature; only the configure flag is new. | ||
| 53 | |||
| 44 | 54 | ||
| 45 | * Startup Changes in Emacs 24.1 | 55 | * Startup Changes in Emacs 24.1 |
| 46 | 56 | ||
| @@ -144,6 +154,41 @@ loaded, customize `package-load-list'. | |||
| 144 | ** completion-at-point is now an alias for complete-symbol. | 154 | ** completion-at-point is now an alias for complete-symbol. |
| 145 | 155 | ||
| 146 | ** mouse-region-delete-keys has been deleted. | 156 | ** mouse-region-delete-keys has been deleted. |
| 157 | |||
| 158 | ** Deletion changes | ||
| 159 | |||
| 160 | *** New option `delete-active-region'. | ||
| 161 | If non-nil, C-d, [delete], and DEL delete the region if it is active | ||
| 162 | and no prefix argument is given. If set to `kill', these commands | ||
| 163 | kill instead. | ||
| 164 | |||
| 165 | *** New command `delete-forward-char', bound to C-d and [delete]. | ||
| 166 | This is meant for interactive use, and obeys `delete-active-region'; | ||
| 167 | delete-char, meant for Lisp, does not obey `delete-active-region'. | ||
| 168 | |||
| 169 | *** `delete-backward-char' is now a Lisp function. | ||
| 170 | Apart from obeying `delete-active-region', its behavior is unchanged. | ||
| 171 | However, the byte compiler now warns if it is called from Lisp; you | ||
| 172 | should use delete-char with a negative argument instead. | ||
| 173 | |||
| 174 | *** The option `mouse-region-delete-keys' has been deleted. | ||
| 175 | |||
| 176 | ** Selection changes. | ||
| 177 | |||
| 178 | The way Emacs interacts with the clipboard and primary selection, by | ||
| 179 | default, is now similar to other X applications. In particular, kill | ||
| 180 | and yank use the clipboard, in addition to the primary selection. | ||
| 181 | |||
| 182 | *** `select-active-regions' now defaults to t. | ||
| 183 | |||
| 184 | *** `x-select-enable-clipboard' now defaults to t. | ||
| 185 | |||
| 186 | *** `x-select-enable-primary' now defaults to nil. | ||
| 187 | |||
| 188 | *** `mouse-drag-copy-region' now defaults to nil. | ||
| 189 | |||
| 190 | *** `mouse-2' is now bound to `mouse-yank-primary'. | ||
| 191 | |||
| 147 | 192 | ||
| 148 | * Changes in Specialized Modes and Packages in Emacs 24.1 | 193 | * Changes in Specialized Modes and Packages in Emacs 24.1 |
| 149 | 194 | ||
| @@ -211,9 +256,9 @@ For example, adding "(diff-mode . ((mode . whitespace)))" to your | |||
| 211 | 256 | ||
| 212 | ** SQL Mode enhancements. | 257 | ** SQL Mode enhancements. |
| 213 | 258 | ||
| 214 | *** Several variables have been marked as safe local variables. | 259 | *** Several variables have been marked as safe local variables. The |
| 215 | The variables `sql-product', `sql-user', `sql-server', and | 260 | variables `sql-product', `sql-user', `sql-server', `sql-database' and |
| 216 | `sql-database' can now be safely used as local variables. | 261 | `sql-port' can now be safely used as local variables. |
| 217 | 262 | ||
| 218 | *** Added ability to login with a port on MySQL. | 263 | *** Added ability to login with a port on MySQL. |
| 219 | The custom variable `sql-port' can be specified for connection to | 264 | The custom variable `sql-port' can be specified for connection to |
| @@ -224,15 +269,69 @@ Each supported product has a custom variable `sql-*-login-params' | |||
| 224 | which is a list of the parameters to be prompted for before a | 269 | which is a list of the parameters to be prompted for before a |
| 225 | connection is established. | 270 | connection is established. |
| 226 | 271 | ||
| 272 | By default, the value of the parameter is simply prompted for. For | ||
| 273 | `server' and `database', they can be specified in a list as shown | ||
| 274 | below: | ||
| 275 | |||
| 276 | (server :file ARG) | ||
| 277 | (database :file ARG) | ||
| 278 | (server :completion ARG) | ||
| 279 | (database :completion ARG) | ||
| 280 | |||
| 281 | The ARG when :file is specified is a regexp that will match valid file | ||
| 282 | names (without the directory portion). Generally these strings will | ||
| 283 | be of the form ".+\.SUF" where SUF is the desired file suffix. | ||
| 284 | |||
| 285 | When :completion is specified, the ARG corresponds to the PREDICATE | ||
| 286 | argument to the `completing-read' function. | ||
| 287 | |||
| 288 | *** Added `sql-connection-alist' to record login parameter values. | ||
| 289 | An alist for recording different username, database and server | ||
| 290 | values. If there are multiple databases that you connect to the | ||
| 291 | parameters needed can be stored in this alist. | ||
| 292 | |||
| 293 | For example, the following might be set in the user's init.el: | ||
| 294 | |||
| 295 | (setq sql-connection-alist | ||
| 296 | '((dev (sql-product 'sqlite) | ||
| 297 | (sql-database "/home/mmaug/dev.db")) | ||
| 298 | (prd (sql-product 'oracle) | ||
| 299 | (sql-user "mmaug") | ||
| 300 | (sql-database "iprd2a")))) | ||
| 301 | |||
| 302 | This defines two connections named "dev" and "prd". | ||
| 303 | |||
| 304 | *** Added `sql-connect' to use predefined connections. | ||
| 305 | Sets the login parameters based on the values in the | ||
| 306 | `sql-connection-alist' and start a SQL interactive session. Any | ||
| 307 | values specified in the connection will not be prompted for. | ||
| 308 | |||
| 309 | In the example above, if the user were to invoke M-x sql-connect, they | ||
| 310 | would be prompted for the connection. The user can respond with | ||
| 311 | either "dev" or "prd". The "dev" connection would connect to the | ||
| 312 | SQLite database without prompting; the "prd" connection would prompt | ||
| 313 | for the users password and then connect to the Oracle database. | ||
| 314 | |||
| 315 | **** Added SQL->Start... submenu when connections are defined. | ||
| 316 | When connections have been defined, There is a submenu available that | ||
| 317 | allows the user to select one to start a SQLi session. The "Start | ||
| 318 | SQLi Session" item moves to the "Start..." submenu when cnnections | ||
| 319 | have been defined. | ||
| 320 | |||
| 321 | **** Added "Save Connection" menu item in SQLi buffers. | ||
| 322 | When a SQLi session is not started by a connection then | ||
| 323 | `sql-save-connection' will gather the login params specified for the | ||
| 324 | session and save them as a new connection. | ||
| 325 | |||
| 227 | *** Added option `sql-send-terminator'. | 326 | *** Added option `sql-send-terminator'. |
| 228 | When set makes sure that each command sent with `sql-send-*' commands | 327 | When set makes sure that each command sent with `sql-send-*' commands |
| 229 | are properly terminated and submitted to the SQL processor. | 328 | are properly terminated and submitted to the SQL processor. |
| 230 | 329 | ||
| 231 | *** Added option `sql-oracle-scan-on'. | 330 | *** Added option `sql-oracle-scan-on'. |
| 232 | When set commands sent to Oracle's SQL*Plus are scanned for strings | 331 | When set commands sent to Oracle's SQL*Plus are scanned for strings |
| 233 | starting with an ampersand and the user is asked for replacement | 332 | starting with an ampersand and the user is asked for replacement text. |
| 234 | text. In general, the SQL*Plus option SCAN should be set OFF under | 333 | In general, the SQL*Plus option SCAN should always be set OFF under |
| 235 | SQL interactive mode. | 334 | SQL interactive mode and this option used in its place. |
| 236 | 335 | ||
| 237 | *** SQL interactive mode will replace tabs with spaces. | 336 | *** SQL interactive mode will replace tabs with spaces. |
| 238 | This prevents the comand interpretter for MySQL and Postgres from | 337 | This prevents the comand interpretter for MySQL and Postgres from |
| @@ -275,6 +374,20 @@ programmer-visible consequences. | |||
| 275 | 374 | ||
| 276 | ** Passing a nil argument to a minor mode function now turns the mode | 375 | ** Passing a nil argument to a minor mode function now turns the mode |
| 277 | ON unconditionally. | 376 | ON unconditionally. |
| 377 | |||
| 378 | ** During startup, Emacs no longer adds entries for `menu-bar-lines' | ||
| 379 | and `tool-bar-lines' to `default-frame-alist' and | ||
| 380 | `initial-frame-alist'. With these alist entries omitted, `make-frame' | ||
| 381 | checks the value of the variable `menu-bar-mode'/`tool-bar-mode' to | ||
| 382 | determine whether to create a menu-bar or tool-bar, respectively. | ||
| 383 | If the alist entries are added, they override the value of | ||
| 384 | `menu-bar-mode'/`tool-bar-mode'. | ||
| 385 | |||
| 386 | ** Regions created by mouse dragging are now normal active regions, | ||
| 387 | similar to the ones created by shift-selection. In previous Emacs | ||
| 388 | versions, these regions were delineated by `mouse-drag-overlay', which | ||
| 389 | has now been removed. | ||
| 390 | |||
| 278 | 391 | ||
| 279 | * Lisp changes in Emacs 24.1 | 392 | * Lisp changes in Emacs 24.1 |
| 280 | 393 | ||
| @@ -316,6 +429,9 @@ displayed with a "spinning bar". | |||
| 316 | 429 | ||
| 317 | * Changes in Emacs 24.1 on non-free operating systems | 430 | * Changes in Emacs 24.1 on non-free operating systems |
| 318 | 431 | ||
| 432 | ** New configure.bat option --enable-checking builds emacs with extra | ||
| 433 | runtime checks. | ||
| 434 | |||
| 319 | 435 | ||
| 320 | ---------------------------------------------------------------------- | 436 | ---------------------------------------------------------------------- |
| 321 | This file is part of GNU Emacs. | 437 | This file is part of GNU Emacs. |
diff --git a/etc/PROBLEMS b/etc/PROBLEMS index 8c6a37dbd45..2fc0e29b30f 100644 --- a/etc/PROBLEMS +++ b/etc/PROBLEMS | |||
| @@ -1037,7 +1037,7 @@ into Meta. This is because of the great importance of Meta in Emacs. | |||
| 1037 | 1037 | ||
| 1038 | This happens sometimes when using Metacity. Resizing Emacs or ALT-Tab:bing | 1038 | This happens sometimes when using Metacity. Resizing Emacs or ALT-Tab:bing |
| 1039 | makes the system unresponsive to the mouse or the keyboard. Killing Emacs | 1039 | makes the system unresponsive to the mouse or the keyboard. Killing Emacs |
| 1040 | or shifting out from X11 and back again usually cures it (i.e. Ctrl-Alt-F1 | 1040 | or shifting out from X11 and back again usually cures it (i.e. Ctrl-Alt-F1 |
| 1041 | and then Alt-F7). A bug for it is here: | 1041 | and then Alt-F7). A bug for it is here: |
| 1042 | https://bugs.launchpad.net/ubuntu/+source/metacity/+bug/231034. | 1042 | https://bugs.launchpad.net/ubuntu/+source/metacity/+bug/231034. |
| 1043 | Note that a permanent fix seems to be to disable "assistive technologies". | 1043 | Note that a permanent fix seems to be to disable "assistive technologies". |
| @@ -1514,7 +1514,7 @@ One way to cure this is to disable flow control on the local host | |||
| 1514 | (the one running rlogin, not the one running rlogind) using the | 1514 | (the one running rlogin, not the one running rlogind) using the |
| 1515 | stty command, before starting the rlogin process. On many systems, | 1515 | stty command, before starting the rlogin process. On many systems, |
| 1516 | "stty start u stop u" will do this. On some systems, use | 1516 | "stty start u stop u" will do this. On some systems, use |
| 1517 | "stty -ixon" instead. | 1517 | "stty -ixon" instead. |
| 1518 | 1518 | ||
| 1519 | Some versions of tcsh will prevent even this from working. One way | 1519 | Some versions of tcsh will prevent even this from working. One way |
| 1520 | around this is to start another shell before starting rlogin, and | 1520 | around this is to start another shell before starting rlogin, and |
| @@ -2339,17 +2339,10 @@ files are installed. Then use: | |||
| 2339 | 2339 | ||
| 2340 | (using the location of the 32-bit X libraries on your system). | 2340 | (using the location of the 32-bit X libraries on your system). |
| 2341 | 2341 | ||
| 2342 | *** Building the Cygwin port for MS-Windows can fail with some GCC versions | 2342 | *** Building Emacs for Cygwin can fail with GCC 3 |
| 2343 | 2343 | ||
| 2344 | Building Emacs 22 with Cygwin builds of GCC 3.4.4-1 and 3.4.4-2 is | 2344 | As of Emacs 22.1, there have been stability problems with Cygwin |
| 2345 | reported to either fail or cause Emacs to segfault at run time. In | 2345 | builds of Emacs using GCC 3. Cygwin users are advised to use GCC 4. |
| 2346 | addition, the Cygwin GCC 3.4.4-2 has problems with generating debug | ||
| 2347 | info. Cygwin users are advised not to use these versions of GCC for | ||
| 2348 | compiling Emacs. GCC versions 4.0.3, 4.0.4, 4.1.1, and 4.1.2 | ||
| 2349 | reportedly build a working Cygwin binary of Emacs, so we recommend | ||
| 2350 | these GCC versions. Note that these versions of GCC, 4.0.3, 4.0.4, | ||
| 2351 | 4.1.1, and 4.1.2, are currently the _only_ versions known to succeed | ||
| 2352 | in building Emacs (as of v22.1). | ||
| 2353 | 2346 | ||
| 2354 | *** Building the native MS-Windows port fails due to unresolved externals | 2347 | *** Building the native MS-Windows port fails due to unresolved externals |
| 2355 | 2348 | ||
| @@ -2440,6 +2433,20 @@ several workarounds for this problem: | |||
| 2440 | 2. Install the latest Windows SDK. | 2433 | 2. Install the latest Windows SDK. |
| 2441 | 3. Replace emacs.ico with an older or edited icon. | 2434 | 3. Replace emacs.ico with an older or edited icon. |
| 2442 | 2435 | ||
| 2436 | *** Building the MS-Windows port complains about unknown escape sequences. | ||
| 2437 | |||
| 2438 | Errors and warnings can look like this: | ||
| 2439 | |||
| 2440 | w32.c:1959:27: error: \x used with no following hex digits | ||
| 2441 | w32.c:1959:27: warning: unknown escape sequence '\i' | ||
| 2442 | |||
| 2443 | This happens when paths using backslashes are passed to the compiler or | ||
| 2444 | linker (via -I and possibly other compiler flags); when these paths are | ||
| 2445 | included in source code, the backslashes are interpreted as escape sequences. | ||
| 2446 | See http://lists.gnu.org/archive/html/emacs-devel/2010-07/msg00995.html | ||
| 2447 | |||
| 2448 | The fix is to use forward slashes in all paths passed to the compiler. | ||
| 2449 | |||
| 2443 | ** Linking | 2450 | ** Linking |
| 2444 | 2451 | ||
| 2445 | *** Building Emacs with a system compiler fails to link because of an | 2452 | *** Building Emacs with a system compiler fails to link because of an |
diff --git a/etc/compilation.txt b/etc/compilation.txt index d6a236d243d..2041b7f0acc 100644 --- a/etc/compilation.txt +++ b/etc/compilation.txt | |||
| @@ -93,6 +93,55 @@ symbol: comma | |||
| 93 | "foo.adb", line 2(11): warning: file name does not match ... | 93 | "foo.adb", line 2(11): warning: file name does not match ... |
| 94 | "src/swapping.c", line 30.34: 1506-342 (W) "/*" detected in comment. | 94 | "src/swapping.c", line 30.34: 1506-342 (W) "/*" detected in comment. |
| 95 | 95 | ||
| 96 | * Cucumber | ||
| 97 | |||
| 98 | symbol: cucumber | ||
| 99 | |||
| 100 | Feature: This is an example for backtrace. | ||
| 101 | |||
| 102 | Scenario: undefined step # features/cucumber.feature:3 | ||
| 103 | Given this is undefined # features/cucumber.feature:4 | ||
| 104 | |||
| 105 | Scenario: assertion false (Test::Unit) # features/cucumber.feature:6 | ||
| 106 | Given this will generate 'assert false' # features/step_definitions/default_steps.rb:1 | ||
| 107 | <false> is not true. (Test::Unit::AssertionFailedError) | ||
| 108 | /home/gusev/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/test/unit/assertions.rb:48:in `assert_block' | ||
| 109 | /home/gusev/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/test/unit/assertions.rb:500:in `_wrap_assertion' | ||
| 110 | /home/gusev/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/test/unit/assertions.rb:46:in `assert_block' | ||
| 111 | /home/gusev/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/test/unit/assertions.rb:63:in `assert' | ||
| 112 | /home/gusev/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/test/unit/assertions.rb:495:in `_wrap_assertion' | ||
| 113 | /home/gusev/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/test/unit/assertions.rb:61:in `assert' | ||
| 114 | ./features/step_definitions/default_steps.rb:2:in `/^this will generate 'assert false'$/' | ||
| 115 | features/cucumber.feature:7:in `Given this will generate 'assert false'' | ||
| 116 | |||
| 117 | Scenario: assertion false (RSpec) # features/cucumber.feature:9 | ||
| 118 | Given this will generate 'should be_true' # features/step_definitions/default_steps.rb:5 | ||
| 119 | expected true to be false (Spec::Expectations::ExpectationNotMetError) | ||
| 120 | ./features/step_definitions/default_steps.rb:6:in `/^this will generate 'should be_true'$/' | ||
| 121 | features/cucumber.feature:10:in `Given this will generate 'should be_true'' | ||
| 122 | |||
| 123 | Scenario: backtrace in step definition # features/cucumber.feature:12 | ||
| 124 | Given this will generate backtrace # features/step_definitions/default_steps.rb:9 | ||
| 125 | (RuntimeError) | ||
| 126 | ./features/step_definitions/default_steps.rb:10:in `/^this will generate backtrace$/' | ||
| 127 | features/cucumber.feature:13:in `Given this will generate backtrace' | ||
| 128 | |||
| 129 | Scenario: deeep backtrace in step definition # features/cucumber.feature:15 | ||
| 130 | Given this will generate deep backtrace # features/step_definitions/default_steps.rb:13 | ||
| 131 | (RuntimeError) | ||
| 132 | ./features/step_definitions/default_steps.rb:18:in `deep' | ||
| 133 | ./features/step_definitions/default_steps.rb:14:in `/^this will generate deep backtrace$/' | ||
| 134 | features/cucumber.feature:16:in `Given this will generate deep backtrace' | ||
| 135 | |||
| 136 | Failing Scenarios: | ||
| 137 | cucumber features/cucumber.feature:6 # Scenario: assertion false (Test::Unit) | ||
| 138 | cucumber features/cucumber.feature:9 # Scenario: assertion false (RSpec) | ||
| 139 | cucumber features/cucumber.feature:12 # Scenario: backtrace in step definition | ||
| 140 | cucumber features/cucumber.feature:15 # Scenario: deeep backtrace in step definition | ||
| 141 | |||
| 142 | 5 scenarios (4 failed, 1 undefined) | ||
| 143 | 5 steps (4 failed, 1 undefined) | ||
| 144 | 0m0.007s | ||
| 96 | 145 | ||
| 97 | * EDG C/C++ | 146 | * EDG C/C++ |
| 98 | 147 | ||
| @@ -318,6 +367,51 @@ symbol: php | |||
| 318 | Parse error: parse error, unexpected $ in main.php on line 59 | 367 | Parse error: parse error, unexpected $ in main.php on line 59 |
| 319 | Fatal error: Call to undefined function: mysql_pconnect() in db.inc on line 66 | 368 | Fatal error: Call to undefined function: mysql_pconnect() in db.inc on line 66 |
| 320 | 369 | ||
| 370 | * Ruby | ||
| 371 | |||
| 372 | symbol: ruby | ||
| 373 | |||
| 374 | plain-exception.rb:7:in `fun': unhandled exception | ||
| 375 | from plain-exception.rb:3:in `proxy' | ||
| 376 | from plain-exception.rb:12 | ||
| 377 | |||
| 378 | * Ruby (Test::Unit) | ||
| 379 | |||
| 380 | symbol: ruby-Test::Unit | ||
| 381 | |||
| 382 | Loaded suite examples/test-unit | ||
| 383 | Started | ||
| 384 | FFFE | ||
| 385 | Finished in 0.023173 seconds. | ||
| 386 | |||
| 387 | 1) Failure: | ||
| 388 | test_a_deep_assert(BacktracesTest) | ||
| 389 | [examples/test-unit.rb:28:in `here_is_a_deep_assert' | ||
| 390 | examples/test-unit.rb:19:in `test_a_deep_assert']: | ||
| 391 | <false> is not true. | ||
| 392 | |||
| 393 | 2) Failure: | ||
| 394 | test_assert(BacktracesTest) [examples/test-unit.rb:5]: | ||
| 395 | <false> is not true. | ||
| 396 | |||
| 397 | 3) Failure: | ||
| 398 | test_assert_raise(BacktracesTest) [examples/test-unit.rb:9]: | ||
| 399 | Exception raised: | ||
| 400 | Class: <RuntimeError> | ||
| 401 | Message: <""> | ||
| 402 | ---Backtrace--- | ||
| 403 | examples/test-unit.rb:10:in `test_assert_raise' | ||
| 404 | examples/test-unit.rb:9:in `test_assert_raise' | ||
| 405 | --------------- | ||
| 406 | |||
| 407 | 4) Error: | ||
| 408 | test_backtrace(BacktracesTest): | ||
| 409 | NoMethodError: undefined method `not_exists' for nil:NilClass | ||
| 410 | examples/test-unit.rb:24:in `some_function_call_from_nil' | ||
| 411 | examples/test-unit.rb:15:in `test_backtrace' | ||
| 412 | |||
| 413 | 4 tests, 3 assertions, 3 failures, 1 errors | ||
| 414 | |||
| 321 | * RXP | 415 | * RXP |
| 322 | 416 | ||
| 323 | symbol: rxp | 417 | symbol: rxp |
| @@ -375,11 +469,11 @@ bloofle defined( /users/wolfgang/foo.c(4) ), but never used | |||
| 375 | 469 | ||
| 376 | * GCOV (test coverage program) | 470 | * GCOV (test coverage program) |
| 377 | 471 | ||
| 378 | symbol: gcov-file gcov-bb-file gcov-never-called-line gcov-called-line | 472 | symbol: gcov-file gcov-bb-file gcov-never-called-line gcov-called-line |
| 379 | 473 | ||
| 380 | -: 0:Source:foo.c | 474 | -: 0:Source:foo.c |
| 381 | -: 0:Object:foo.bb | 475 | -: 0:Object:foo.bb |
| 382 | -: 1:/* $ gcc -fprofile-arcs -ftest-coverage foo.c | 476 | -: 1:/* $ gcc -fprofile-arcs -ftest-coverage foo.c |
| 383 | -: 2: $ ./a.out | 477 | -: 2: $ ./a.out |
| 384 | -: 3: $ gcov foo.c | 478 | -: 3: $ gcov foo.c |
| 385 | -: 4: LANG=C gcov foo.c | 479 | -: 4: LANG=C gcov foo.c |
| @@ -393,10 +487,10 @@ symbol: gcov-file gcov-bb-file gcov-never-called-line gcov-called-line | |||
| 393 | 1: 12: r = 1; | 487 | 1: 12: r = 1; |
| 394 | #####: 13: else if (argc == 2) | 488 | #####: 13: else if (argc == 2) |
| 395 | #####: 14: r = 2; | 489 | #####: 14: r = 2; |
| 396 | -: 15: else | 490 | -: 15: else |
| 397 | #####: 16: r = 0; | 491 | #####: 16: r = 0; |
| 398 | 1: 17: return r; | 492 | 1: 17: return r; |
| 399 | -: 18:} | 493 | -: 18:} |
| 400 | 494 | ||
| 401 | 495 | ||
| 402 | * Podchecker error messages, per Pod::Checker | 496 | * Podchecker error messages, per Pod::Checker |
diff --git a/etc/refcards/orgcard.tex b/etc/refcards/orgcard.tex index 89dbb0f01fb..c1f604a64dd 100644 --- a/etc/refcards/orgcard.tex +++ b/etc/refcards/orgcard.tex | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | % Reference Card for Org Mode | 1 | % Reference Card for Org Mode |
| 2 | \def\orgversionnumber{6.35i} | 2 | \def\orgversionnumber{7.01} |
| 3 | \def\versionyear{2010} % latest update | 3 | \def\versionyear{2010} % latest update |
| 4 | \def\year{2010} % latest copyright year | 4 | \def\year{2010} % latest copyright year |
| 5 | 5 | ||
| @@ -329,7 +329,7 @@ are preserved on all copies. | |||
| 329 | \section{Filtering and Sparse Trees} | 329 | \section{Filtering and Sparse Trees} |
| 330 | 330 | ||
| 331 | \key{construct a sparse tree by various criteria}{C-c /} | 331 | \key{construct a sparse tree by various criteria}{C-c /} |
| 332 | \key{view TODO's in sparse tree}{C-c C-v} | 332 | \key{view TODO's in sparse tree}{C-c / t/T} |
| 333 | \key{global TODO list in agenda mode}{C-c a t$^1$} | 333 | \key{global TODO list in agenda mode}{C-c a t$^1$} |
| 334 | \key{time sorted view of current org file}{C-c a L} | 334 | \key{time sorted view of current org file}{C-c a L} |
| 335 | 335 | ||
| @@ -442,36 +442,53 @@ formula, \kbd{:=} a field formula. | |||
| 442 | \key{find next link}{C-c C-x C-n} | 442 | \key{find next link}{C-c C-x C-n} |
| 443 | \key{find previous link}{C-c C-x C-p} | 443 | \key{find previous link}{C-c C-x C-p} |
| 444 | \key{edit code snippet of file at point}{C-c '} | 444 | \key{edit code snippet of file at point}{C-c '} |
| 445 | 445 | \key{toggle inline display of linked images}{C-c C-x C-v} | |
| 446 | {\bf Internal Links} | 446 | |
| 447 | 447 | % {\bf Internal Links} | |
| 448 | \key{\kbd{<<My Target>>}}{\rm target} | 448 | |
| 449 | \key{\kbd{<<<My Target>>>}}{\rm radio target$^2$} | 449 | % \key{\kbd{<<My Target>>}}{\rm target} |
| 450 | \key{\kbd{[[*this text]]}}{\rm find headline} | 450 | % \key{\kbd{<<<My Target>>>}}{\rm radio target$^2$} |
| 451 | \metax{\kbd{[[this text]]}}{\rm find target or text in buffer} | 451 | % \key{\kbd{[[*this text]]}}{\rm find headline} |
| 452 | \metax{\kbd{[[this text][description]]}}{\rm optional link text} | 452 | % \metax{\kbd{[[this text]]}}{\rm find target or text in buffer} |
| 453 | 453 | % \metax{\kbd{[[this text][description]]}}{\rm optional link text} | |
| 454 | {\bf External Links} | 454 | |
| 455 | 455 | % {\bf External Links} | |
| 456 | \key{\kbd{file:/home/dominik/img/mars.jpg}}{\rm file, absolute} | 456 | |
| 457 | \key{\kbd{file:papers/last.pdf}}{\rm file, relative} | 457 | % \key{\kbd{file:/home/dominik/img/mars.jpg}}{\rm file, absolute} |
| 458 | \key{\kbd{file:projects.org::*that text}}{\rm find headline} | 458 | % \key{\kbd{file:papers/last.pdf}}{\rm file, relative} |
| 459 | \key{\kbd{file:projects.org::find me}}{\rm find trgt/string} | 459 | % \key{\kbd{file:projects.org::*that text}}{\rm find headline} |
| 460 | %\key{\kbd{file:projects.org::/regexp/}}{\rm regexp search} | 460 | % \key{\kbd{file:projects.org::find me}}{\rm find trgt/string} |
| 461 | \key{\kbd{http://www.astro.uva.nl/~dominik}}{\rm on the web} | 461 | % %\key{\kbd{file:projects.org::/regexp/}}{\rm regexp search} |
| 462 | \key{\kbd{mailto:adent@galaxy.net}}{\rm Email address} | 462 | % \key{\kbd{http://www.astro.uva.nl/~dominik}}{\rm on the web} |
| 463 | \key{\kbd{news:comp.emacs}}{\rm Usenet group} | 463 | % \key{\kbd{mailto:adent@galaxy.net}}{\rm Email address} |
| 464 | \key{\kbd{bbdb:Richard Stallman}}{\rm BBDB person} | 464 | % \key{\kbd{news:comp.emacs}}{\rm Usenet group} |
| 465 | \key{\kbd{gnus:group}}{\rm GNUS group} | 465 | % \key{\kbd{bbdb:Richard Stallman}}{\rm BBDB person} |
| 466 | \key{\kbd{gnus:group\#id}}{\rm GNUS message} | 466 | % \key{\kbd{gnus:group}}{\rm GNUS group} |
| 467 | \key{\kbd{vm|wl|mhe|rmail:folder}}{\rm Mail folder} | 467 | % \key{\kbd{gnus:group\#id}}{\rm GNUS message} |
| 468 | \key{\kbd{vm|wl|mhe|rmail:folder\#id}}{\rm Mail message} | 468 | % \key{\kbd{vm|wl|mhe|rmail:folder}}{\rm Mail folder} |
| 469 | \key{\kbd{info:emacs:Regexps}}{\rm Info file:node} | 469 | % \key{\kbd{vm|wl|mhe|rmail:folder\#id}}{\rm Mail message} |
| 470 | \key{\kbd{shell:ls *.org}}{\rm shell command} | 470 | % \key{\kbd{info:emacs:Regexps}}{\rm Info file:node} |
| 471 | \key{\kbd{elisp:(calendar)}}{\rm elisp form} | 471 | % \key{\kbd{shell:ls *.org}}{\rm shell command} |
| 472 | \metax{\kbd{[[external link][description]]}}{\rm optional link text} | 472 | % \key{\kbd{elisp:(calendar)}}{\rm elisp form} |
| 473 | %\key{\kbd{vm://myself@some.where.org/folder\#id}}{\rm VM remote} | 473 | % \metax{\kbd{[[external link][description]]}}{\rm optional link text} |
| 474 | 474 | % %\key{\kbd{vm://myself@some.where.org/folder\#id}}{\rm VM remote} | |
| 475 | |||
| 476 | \section{Working with Code (Babel)} | ||
| 477 | |||
| 478 | \key{execute code block at point}{C-c C-c} | ||
| 479 | \key{open results of code block at point}{C-c C-o} | ||
| 480 | \key{view expanded body of code block at point}{C-c C-v v} | ||
| 481 | \key{go to named code block}{C-c C-v g} | ||
| 482 | \key{go to named result}{C-c C-v r} | ||
| 483 | \key{go to the next code block}{C-c C-v n} | ||
| 484 | \key{go to the previous code block}{C-c C-v p} | ||
| 485 | \key{execute all code blocks in current buffer}{C-c C-v b} | ||
| 486 | \key{execute all code blocks in current subtree}{C-c C-v s} | ||
| 487 | \key{tangle code blocks in current file}{C-c C-v t} | ||
| 488 | \key{tangle code blocks in supplied file}{C-c C-v f} | ||
| 489 | \key{ingest all code blocks in supplied file into the Library of Babel}{C-c C-v l} | ||
| 490 | \key{switch to the session of the current code block}{C-c C-v z} | ||
| 491 | \key{view sha1 hash of the current code block}{C-c C-v a} | ||
| 475 | 492 | ||
| 476 | % \section{Remember-mode Integration} | 493 | % \section{Remember-mode Integration} |
| 477 | 494 | ||
| @@ -690,6 +707,7 @@ some other place. | |||
| 690 | \key{export visible part only}{C-c C-e v} | 707 | \key{export visible part only}{C-c C-e v} |
| 691 | \key{insert template of export options}{C-c C-e t} | 708 | \key{insert template of export options}{C-c C-e t} |
| 692 | \key{toggle fixed width for entry or region}{C-c :} | 709 | \key{toggle fixed width for entry or region}{C-c :} |
| 710 | \key{toggle pretty display of scripts, entities}{C-c C-x {\tt\char`\\}} | ||
| 693 | 711 | ||
| 694 | %{\bf HTML formatting} | 712 | %{\bf HTML formatting} |
| 695 | 713 | ||
| @@ -730,10 +748,8 @@ some other place. | |||
| 730 | 748 | ||
| 731 | {\bf Comments: Text not being exported} | 749 | {\bf Comments: Text not being exported} |
| 732 | 750 | ||
| 733 | Text before the first headline is not considered part of the document | 751 | Lines starting with \kbd{\#} and subtrees starting with COMMENT are |
| 734 | and is therefore never exported. | 752 | never exported. |
| 735 | Lines starting with \kbd{\#} are comments and are not exported. | ||
| 736 | Subtrees whose header starts with COMMENT are never exported. | ||
| 737 | 753 | ||
| 738 | \key{toggle COMMENT keyword on entry}{C-c ;} | 754 | \key{toggle COMMENT keyword on entry}{C-c ;} |
| 739 | 755 | ||
| @@ -749,8 +765,8 @@ your own key as shown under INSTALLATION. | |||
| 749 | $^2$ After changing a \kbd{\#+KEYWORD} or \kbd{<<<target>>>} line, | 765 | $^2$ After changing a \kbd{\#+KEYWORD} or \kbd{<<<target>>>} line, |
| 750 | press \kbd{C-c C-c} with the cursor still in the line to update. | 766 | press \kbd{C-c C-c} with the cursor still in the line to update. |
| 751 | 767 | ||
| 752 | $^3$ Keybinding affected by {\tt org-support-shift-select} and {\tt | 768 | $^3$ Keybinding affected by {\tt org-support-shift-select} and |
| 753 | org-replace-disputed-keys}. | 769 | {\tt org-replace-disputed-keys}. |
| 754 | 770 | ||
| 755 | \copyrightnotice | 771 | \copyrightnotice |
| 756 | 772 | ||