diff options
| author | Paul Eggert | 2011-07-16 17:39:01 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-07-16 17:39:01 -0700 |
| commit | b1f367f797aa19047904e73a67e52f391c720e0d (patch) | |
| tree | d662146d7e2e99c221fae1cd2fecb0bc6b2b33d3 /doc | |
| parent | 134643946085b24a695d73b3d8f7af5aa23602aa (diff) | |
| parent | 4f8a4547454e24304b4182fbf4ae4b34a7bdc92b (diff) | |
| download | emacs-b1f367f797aa19047904e73a67e52f391c720e0d.tar.gz emacs-b1f367f797aa19047904e73a67e52f391c720e0d.zip | |
Merge from trunk.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/emacs/help.texi | 10 | ||||
| -rw-r--r-- | doc/lispref/ChangeLog | 19 | ||||
| -rw-r--r-- | doc/lispref/debugging.texi | 10 | ||||
| -rw-r--r-- | doc/lispref/keymaps.texi | 24 | ||||
| -rw-r--r-- | doc/lispref/variables.texi | 11 | ||||
| -rw-r--r-- | doc/misc/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/misc/flymake.texi | 2 |
8 files changed, 76 insertions, 10 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 531bf206a80..e10b9a83a43 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org> | ||
| 2 | |||
| 3 | * help.texi (Misc Help): Mention `describe-prefix-bindings' | ||
| 4 | explicitly (bug#8904). | ||
| 5 | |||
| 1 | 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org> | 6 | 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 2 | 7 | ||
| 3 | * trouble.texi (Checklist): Use an `M-x' example instead of an | 8 | * trouble.texi (Checklist): Use an `M-x' example instead of an |
diff --git a/doc/emacs/help.texi b/doc/emacs/help.texi index 76a9f2413b1..9a75bfb1887 100644 --- a/doc/emacs/help.texi +++ b/doc/emacs/help.texi | |||
| @@ -589,11 +589,13 @@ displays the contents of the syntax table, with explanations of each | |||
| 589 | character's syntax (@pxref{Syntax Tables,, Syntax Tables, elisp, The | 589 | character's syntax (@pxref{Syntax Tables,, Syntax Tables, elisp, The |
| 590 | Emacs Lisp Reference Manual}). | 590 | Emacs Lisp Reference Manual}). |
| 591 | 591 | ||
| 592 | @findex describe-prefix-bindings | ||
| 592 | You can get a list of subcommands for a particular prefix key by | 593 | You can get a list of subcommands for a particular prefix key by |
| 593 | typing @kbd{C-h} after the prefix key. (There are a few prefix keys | 594 | typing @kbd{C-h} (@code{describe-prefix-bindings}) after the prefix |
| 594 | for which this does not work---those that provide their own bindings | 595 | key. (There are a few prefix keys for which this does not |
| 595 | for @kbd{C-h}. One of these is @key{ESC}, because @kbd{@key{ESC} C-h} | 596 | work---those that provide their own bindings for @kbd{C-h}. One of |
| 596 | is actually @kbd{C-M-h}, which marks a defun.) | 597 | these is @key{ESC}, because @kbd{@key{ESC} C-h} is actually |
| 598 | @kbd{C-M-h}, which marks a defun.) | ||
| 597 | 599 | ||
| 598 | @node Help Files | 600 | @node Help Files |
| 599 | @section Help Files | 601 | @section Help Files |
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 153d7e839c3..091a6ffda59 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,22 @@ | |||
| 1 | 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org> | ||
| 2 | Tim Cross <theophilusx@gmail.com> (tiny change) | ||
| 3 | Glenn Morris <rgm@gnu.org> | ||
| 4 | |||
| 5 | * keymaps.texi (Toolkit Differences): New node. (Bug#8176) | ||
| 6 | |||
| 7 | 2011-07-15 Andreas Schwab <schwab@linux-m68k.org> | ||
| 8 | |||
| 9 | * help.texi (Keys in Documentation): Revert last change. | ||
| 10 | |||
| 11 | 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org> | ||
| 12 | |||
| 13 | * help.texi (Keys in Documentation): Clarify that \= only quotes | ||
| 14 | the next character, and doesn't affect longer sequences in | ||
| 15 | particular (bug#8935). | ||
| 16 | |||
| 17 | * debugging.texi (Using Debugger): Mention | ||
| 18 | @code{eval-expression-debug-on-error} (bug#8549). | ||
| 19 | |||
| 1 | 2011-07-14 Eli Zaretskii <eliz@gnu.org> | 20 | 2011-07-14 Eli Zaretskii <eliz@gnu.org> |
| 2 | 21 | ||
| 3 | * display.texi (Other Display Specs): Document that `left-fringe' | 22 | * display.texi (Other Display Specs): Document that `left-fringe' |
diff --git a/doc/lispref/debugging.texi b/doc/lispref/debugging.texi index ed146453df7..d9e807afb88 100644 --- a/doc/lispref/debugging.texi +++ b/doc/lispref/debugging.texi | |||
| @@ -306,6 +306,16 @@ and it is wise to go back to the backtrace buffer and exit the debugger | |||
| 306 | the debugger gets out of the recursive edit and kills the backtrace | 306 | the debugger gets out of the recursive edit and kills the backtrace |
| 307 | buffer. | 307 | buffer. |
| 308 | 308 | ||
| 309 | When the debugger has been entered, the @code{debug-on-error} | ||
| 310 | variable is temporarily set according to | ||
| 311 | @code{eval-expression-debug-on-error}. If the latter variable is | ||
| 312 | non-@code{nil}, @code{debug-on-error} will temporarily be set to | ||
| 313 | @code{t}. This means that any further errors that occur while doing a | ||
| 314 | debugging session will (by default) trigger another backtrace. If | ||
| 315 | this is not want you want, you can either set | ||
| 316 | @code{eval-expression-debug-on-error} to @code{nil}, or set | ||
| 317 | @code{debug-on-error} to @code{nil} in @code{debugger-mode-hook}. | ||
| 318 | |||
| 309 | @cindex current stack frame | 319 | @cindex current stack frame |
| 310 | The backtrace buffer shows you the functions that are executing and | 320 | The backtrace buffer shows you the functions that are executing and |
| 311 | their argument values. It also allows you to specify a stack frame by | 321 | their argument values. It also allows you to specify a stack frame by |
diff --git a/doc/lispref/keymaps.texi b/doc/lispref/keymaps.texi index 15b2f2079ba..e5cca0622a9 100644 --- a/doc/lispref/keymaps.texi +++ b/doc/lispref/keymaps.texi | |||
| @@ -2019,8 +2019,10 @@ an existing menu, you can specify its position in the menu using | |||
| 2019 | various features. | 2019 | various features. |
| 2020 | * Menu Separators:: Drawing a horizontal line through a menu. | 2020 | * Menu Separators:: Drawing a horizontal line through a menu. |
| 2021 | * Alias Menu Items:: Using command aliases in menu items. | 2021 | * Alias Menu Items:: Using command aliases in menu items. |
| 2022 | * Toolkit Differences:: Not all toolkits provide the same features. | ||
| 2022 | @end menu | 2023 | @end menu |
| 2023 | 2024 | ||
| 2025 | |||
| 2024 | @node Simple Menu Items | 2026 | @node Simple Menu Items |
| 2025 | @subsubsection Simple Menu Items | 2027 | @subsubsection Simple Menu Items |
| 2026 | 2028 | ||
| @@ -2309,6 +2311,28 @@ itself). To request this, give the alias symbol a non-@code{nil} | |||
| 2309 | causes menu items for @code{make-read-only} and @code{make-writable} to | 2311 | causes menu items for @code{make-read-only} and @code{make-writable} to |
| 2310 | show the keyboard bindings for @code{toggle-read-only}. | 2312 | show the keyboard bindings for @code{toggle-read-only}. |
| 2311 | 2313 | ||
| 2314 | @node Toolkit Differences | ||
| 2315 | @subsubsection Toolkit Differences | ||
| 2316 | |||
| 2317 | The various toolkits with which you can build Emacs do not all support | ||
| 2318 | the same set of features for menus. Some code works as expected with | ||
| 2319 | one toolkit, but not under another. | ||
| 2320 | |||
| 2321 | One example is menu actions or buttons in a top-level menu-bar. The | ||
| 2322 | following works with the Lucid toolkit or on MS Windows, but not with | ||
| 2323 | GTK or Nextstep, where clicking on the item has no effect. | ||
| 2324 | |||
| 2325 | @example | ||
| 2326 | (defun menu-action-greet () | ||
| 2327 | (interactive) | ||
| 2328 | (message "Hello Emacs User!")) | ||
| 2329 | |||
| 2330 | (defun top-level-menu () | ||
| 2331 | (interactive) | ||
| 2332 | (define-key lisp-interaction-mode-map [menu-bar m] | ||
| 2333 | '(menu-item "Action Button" menu-action-greet))) | ||
| 2334 | @end example | ||
| 2335 | |||
| 2312 | @node Mouse Menus | 2336 | @node Mouse Menus |
| 2313 | @subsection Menus and the Mouse | 2337 | @subsection Menus and the Mouse |
| 2314 | 2338 | ||
diff --git a/doc/lispref/variables.texi b/doc/lispref/variables.texi index 3da09369882..091765043e3 100644 --- a/doc/lispref/variables.texi +++ b/doc/lispref/variables.texi | |||
| @@ -1099,11 +1099,12 @@ use short names like @code{x}. | |||
| 1099 | @node Lexical Binding | 1099 | @node Lexical Binding |
| 1100 | @subsection Use of Lexical Scoping | 1100 | @subsection Use of Lexical Scoping |
| 1101 | 1101 | ||
| 1102 | Emacs Lisp can be evaluated in two different modes: in dynamic binding mode or | 1102 | Emacs Lisp can be evaluated in two different modes: in dynamic binding |
| 1103 | lexical binding mode. In dynamic binding mode, all local variables use dynamic | 1103 | mode or lexical binding mode. In dynamic binding mode, all local |
| 1104 | scoping, whereas in lexical binding mode variables that have been declared | 1104 | variables use dynamic scoping, whereas in lexical binding mode |
| 1105 | @dfn{special} (i.e., declared with @code{defvar} or @code{defconst}) use | 1105 | variables that have been declared @dfn{special} (i.e., declared with |
| 1106 | dynamic scoping and all others use lexical scoping. | 1106 | @code{defvar}, @code{defcustom} or @code{defconst}) use dynamic |
| 1107 | scoping and all others use lexical scoping. | ||
| 1107 | 1108 | ||
| 1108 | @defvar lexical-binding | 1109 | @defvar lexical-binding |
| 1109 | When non-nil, evaluation of Lisp code uses lexical scoping for non-special | 1110 | When non-nil, evaluation of Lisp code uses lexical scoping for non-special |
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 38cbaafa45d..d64980bd1c8 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org> | ||
| 2 | |||
| 3 | * flymake.texi (Example -- Configuring a tool called via make): | ||
| 4 | Use /dev/null instead of the Windows "nul" (bug#8715). | ||
| 5 | |||
| 1 | 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org> | 6 | 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 2 | 7 | ||
| 3 | * widget.texi (Setting Up the Buffer): Remove mention of the | 8 | * widget.texi (Setting Up the Buffer): Remove mention of the |
diff --git a/doc/misc/flymake.texi b/doc/misc/flymake.texi index 74cf3d630da..625e9549444 100644 --- a/doc/misc/flymake.texi +++ b/doc/misc/flymake.texi | |||
| @@ -483,7 +483,7 @@ our case this target might look like this: | |||
| 483 | 483 | ||
| 484 | @verbatim | 484 | @verbatim |
| 485 | check-syntax: | 485 | check-syntax: |
| 486 | gcc -o nul -S ${CHK_SOURCES} | 486 | gcc -o /dev/null -S ${CHK_SOURCES} |
| 487 | @end verbatim | 487 | @end verbatim |
| 488 | 488 | ||
| 489 | The format of error messages reported by @code{gcc} is already | 489 | The format of error messages reported by @code{gcc} is already |