aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPaul Eggert2011-07-12 10:38:05 -0700
committerPaul Eggert2011-07-12 10:38:05 -0700
commit2b64ccd2b5916083a421b0263a5bc1d3d075d82b (patch)
treecd80e7dbca2a0bf71687688188d701fa61d52608 /doc
parent82d66f4e89f12f5c5eb6e4a4f80745a69da6b710 (diff)
parent077e3dda9478f958acb9c9d5b98e0f739726dea7 (diff)
downloademacs-2b64ccd2b5916083a421b0263a5bc1d3d075d82b.tar.gz
emacs-2b64ccd2b5916083a421b0263a5bc1d3d075d82b.zip
Merge from trunk.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/ChangeLog38
-rw-r--r--doc/emacs/cmdargs.texi22
-rw-r--r--doc/emacs/emacs.texi9
-rw-r--r--doc/emacs/frames.texi39
-rw-r--r--doc/emacs/killing.texi20
-rw-r--r--doc/emacs/mark.texi6
-rw-r--r--doc/emacs/misc.texi174
-rw-r--r--doc/emacs/msdog.texi8
-rw-r--r--doc/lispref/ChangeLog10
-rw-r--r--doc/lispref/elisp.texi2
-rw-r--r--doc/lispref/frames.texi56
-rw-r--r--doc/lispref/vol1.texi2
-rw-r--r--doc/lispref/vol2.texi2
-rw-r--r--doc/man/ChangeLog4
-rw-r--r--doc/man/emacsclient.13
-rw-r--r--doc/misc/ChangeLog4
-rw-r--r--doc/misc/org.texi20
17 files changed, 220 insertions, 199 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 8a275b9e359..d762ea11654 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,41 @@
12011-07-12 Chong Yidong <cyd@stupidchicken.com>
2
3 * misc.texi (Amusements): Move dissociated press here, from its
4 own section.
5
6 * emacs.texi (Top): Update node listing.
7
82011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9
10 * emacs.texi (Top): Change "inferiors" to "subnodes" for greater
11 clarity (bug#3523).
12
132011-07-12 Chong Yidong <cyd@stupidchicken.com>
14
15 * cmdargs.texi (Initial Options): Document --no-site-lisp.
16 (Misc X): Document --parent-id.
17
18 * frames.texi (Frame Commands): Note that focus-follows-mouse now
19 defaults to nil.
20
21 * misc.texi (emacsclient Options): Document --parent-id.
22
23 * msdog.texi (Windows HOME): Document _emacs as obsolete.
24
252011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
26
27 * emacs.texi: Use "..." instead of ``...'' in the menus
28 (bug#3503).
29
302011-07-11 Chong Yidong <cyd@stupidchicken.com>
31
32 * killing.texi (Primary Selection): Document `only' setting for
33 select-active-regions.
34
35 * mark.texi (Setting Mark): Reference Shift Selection node.
36
37 * frames.texi (Mouse Commands): Document mouse-yank-primary.
38
12011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org> 392011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2 40
3 * mark.texi (Setting Mark): Clarify what's meant by "Shifted 41 * mark.texi (Setting Mark): Clarify what's meant by "Shifted
diff --git a/doc/emacs/cmdargs.texi b/doc/emacs/cmdargs.texi
index af493ade2f2..2a19e1b009d 100644
--- a/doc/emacs/cmdargs.texi
+++ b/doc/emacs/cmdargs.texi
@@ -289,9 +289,14 @@ like this, the Customize facility does not allow options to be saved
289@item --no-site-file 289@item --no-site-file
290@opindex --no-site-file 290@opindex --no-site-file
291@cindex @file{site-start.el} file, not loading 291@cindex @file{site-start.el} file, not loading
292Do not load @file{site-start.el}. The options @samp{-q}, @samp{-u} 292Do not load @file{site-start.el} (@pxref{Init File}). The @samp{-Q}
293and @samp{--batch} have no effect on the loading of this file---this 293option does this too, but other options like @samp{-q} do not.
294option and @samp{-Q} are the only options that block it. 294
295@item --no-site-lisp
296@opindex --no-site-lisp
297@cindex @file{site-start.el} file, not loading
298Do not include the @file{site-lisp} directories in @code{load-path}
299(@pxref{Init File}). The @samp{-Q} option does this too.
295 300
296@item --no-splash 301@item --no-splash
297@opindex --no-splash 302@opindex --no-splash
@@ -307,9 +312,9 @@ in your initialization file (@pxref{Entering Emacs}).
307@itemx --quick 312@itemx --quick
308@opindex --quick 313@opindex --quick
309Start emacs with minimum customizations, similar to using @samp{-q}, 314Start emacs with minimum customizations, similar to using @samp{-q},
310@samp{--no-site-file}, and @samp{--no-splash} together. This also 315@samp{--no-site-file}, @samp{--no-site-lisp}, and @samp{--no-splash}
311stops Emacs from processing X resources by setting 316together. This also stops Emacs from processing X resources by
312@code{inhibit-x-resources} to @code{t} (@pxref{Resources}). 317setting @code{inhibit-x-resources} to @code{t} (@pxref{Resources}).
313 318
314@item -daemon 319@item -daemon
315@opindex -daemon 320@opindex -daemon
@@ -1131,6 +1136,11 @@ use---usually just a small rectangle containing the frame's title.
1131@c Enable horizontal scroll bars. Since horizontal scroll bars 1136@c Enable horizontal scroll bars. Since horizontal scroll bars
1132@c are not yet implemented, this actually does nothing. 1137@c are not yet implemented, this actually does nothing.
1133 1138
1139@item --parent-id @var{ID}
1140Open Emacs as a client X window via the XEmbed protocol, with @var{ID}
1141as the parent X window id. Currently, this option is mainly useful
1142for developers.
1143
1134@item -vb 1144@item -vb
1135@opindex -vb 1145@opindex -vb
1136@itemx --vertical-scroll-bars 1146@itemx --vertical-scroll-bars
diff --git a/doc/emacs/emacs.texi b/doc/emacs/emacs.texi
index 2591f56a168..e8fb42db0bb 100644
--- a/doc/emacs/emacs.texi
+++ b/doc/emacs/emacs.texi
@@ -164,7 +164,7 @@ Fundamental Editing Commands
164* Help:: Commands for asking Emacs about its commands. 164* Help:: Commands for asking Emacs about its commands.
165 165
166Important Text-Changing Commands 166Important Text-Changing Commands
167* Mark:: The mark: how to delimit a ``region'' of text. 167* Mark:: The mark: how to delimit a "region" of text.
168* Killing:: Killing (cutting) text. 168* Killing:: Killing (cutting) text.
169* Yanking:: Recovering killed text. Moving text. (Pasting.) 169* Yanking:: Recovering killed text. Moving text. (Pasting.)
170* Cut and Paste:: Clipboard and selections on graphical displays. 170* Cut and Paste:: Clipboard and selections on graphical displays.
@@ -200,7 +200,7 @@ Advanced Features
200@end ifnottex 200@end ifnottex
201* Sending Mail:: Sending mail in Emacs. 201* Sending Mail:: Sending mail in Emacs.
202* Rmail:: Reading mail in Emacs. 202* Rmail:: Reading mail in Emacs.
203* Dired:: You can ``edit'' a directory to manage files in it. 203* Dired:: You can "edit" a directory to manage files in it.
204* Calendar/Diary:: The calendar and diary facilities. 204* Calendar/Diary:: The calendar and diary facilities.
205* Document View:: Viewing PDF, PS and DVI files. 205* Document View:: Viewing PDF, PS and DVI files.
206* Gnus:: A flexible mail and news reader. 206* Gnus:: A flexible mail and news reader.
@@ -219,7 +219,6 @@ Advanced Features
219 "recursive editing level". 219 "recursive editing level".
220* Emulation:: Emulating some other editors with Emacs. 220* Emulation:: Emulating some other editors with Emacs.
221* Hyperlinking:: Following links in buffers. 221* Hyperlinking:: Following links in buffers.
222* Dissociated Press:: Dissociating text for fun.
223* Amusements:: Various games and hacks. 222* Amusements:: Various games and hacks.
224* Customization:: Modifying the behavior of Emacs. 223* Customization:: Modifying the behavior of Emacs.
225 224
@@ -251,7 +250,7 @@ Appendices
251 --- The Detailed Node Listing --- 250 --- The Detailed Node Listing ---
252 --------------------------------- 251 ---------------------------------
253 252
254Here are some other nodes which are really inferiors of the ones 253Here are some other nodes which are really subnodes of the ones
255already listed, mentioned here so you can get to them in one step: 254already listed, mentioned here so you can get to them in one step:
256 255
257The Organization of the Screen 256The Organization of the Screen
@@ -1066,7 +1065,7 @@ Customization
1066 to decide what to do; by setting variables, 1065 to decide what to do; by setting variables,
1067 you can control their functioning. 1066 you can control their functioning.
1068* Key Bindings:: Keymaps say what command each key runs. 1067* Key Bindings:: Keymaps say what command each key runs.
1069 By changing them, you can ``redefine'' keys. 1068 By changing them, you can "redefine" keys.
1070* Init File:: How to write common customizations in the 1069* Init File:: How to write common customizations in the
1071 @file{.emacs} file. 1070 @file{.emacs} file.
1072 1071
diff --git a/doc/emacs/frames.texi b/doc/emacs/frames.texi
index 0fc4dfa427d..b9b56670988 100644
--- a/doc/emacs/frames.texi
+++ b/doc/emacs/frames.texi
@@ -119,16 +119,21 @@ entirely on the screen. The number of lines scrolled per step depends
119on how far away from the window edge the mouse has gone; the variable 119on how far away from the window edge the mouse has gone; the variable
120@code{mouse-scroll-min-lines} specifies a minimum step size. 120@code{mouse-scroll-min-lines} specifies a minimum step size.
121 121
122@findex mouse-yank-primary
122@findex mouse-yank-at-click 123@findex mouse-yank-at-click
123@vindex mouse-yank-at-point
124 Clicking with the middle mouse button, @kbd{Mouse-2}, moves point to 124 Clicking with the middle mouse button, @kbd{Mouse-2}, moves point to
125the position where you clicked and performs a yank 125the position where you clicked and inserts the contents of the primary
126(@code{mouse-yank-at-click}). @xref{Yanking}. If you change the 126selection (@code{mouse-yank-primary}). @xref{Primary Selection}.
127variable @code{mouse-yank-at-point} to a non-@code{nil} value, 127This behavior is consistent with other X applications; alternatively,
128@kbd{Mouse-2} does not move point. Then it does not matter where you 128you can rebind @kbd{Mouse-2} to @code{mouse-yank-at-click}, which
129click, or even which of the frame's windows you click on; the yank 129performs a yank at point.
130occurs at the existing point. This variable also affects yanking the 130
131primary and secondary selections (@pxref{Primary Selection}). 131@vindex mouse-yank-at-point
132 If you change the variable @code{mouse-yank-at-point} to a
133non-@code{nil} value, @kbd{Mouse-2} does not move point; it inserts
134the text at point, regardless of where you clicked or even which of
135the frame's windows you clicked on. This variable affects both
136@code{mouse-yank-primary} and @code{mouse-yank-at-click}.
132 137
133@findex mouse-save-then-kill 138@findex mouse-save-then-kill
134 Clicking with the right mouse button, @kbd{Mouse-3}, runs the 139 Clicking with the right mouse button, @kbd{Mouse-3}, runs the
@@ -455,15 +460,15 @@ this case, @kbd{C-x 5 0} can delete the last interactive frame; you
455can use @command{emacsclient} to reconnect to the Emacs session. 460can use @command{emacsclient} to reconnect to the Emacs session.
456 461
457@vindex focus-follows-mouse 462@vindex focus-follows-mouse
458 On X, you may have to tell Emacs how the system (or the window 463 On X, you may have to tell Emacs how the window manager handles
459manager) handles focus-switching between windows, in order for the 464focus-switching between windows, in order for @kbd{C-x 5 o}
460command @kbd{C-x 5 o} (@code{other-frame}) to work properly. 465(@code{other-frame}) to work properly. Unfortunately, there is no way
461Unfortunately, there is no way for Emacs to detect this automatically, 466for Emacs to detect this automatically, so you should set the variable
462so you should set the variable @code{focus-follows-mouse}. If simply 467@code{focus-follows-mouse}. The default is @code{nil}, meaning you
463moving the mouse onto a window selects it and gives it focus, the 468have to click on the window to select it (the default for most modern
464variable should be @code{t}; if you have to click on the window to 469window managers). You should change it to @code{t} if your window
465select it, the variable should be @code{nil}. The default is 470manager selects and window and gives it focus anytime you move the
466@code{t}. 471mouse onto the window.
467 472
468 The window manager that is part of MS-Windows always gives focus to 473 The window manager that is part of MS-Windows always gives focus to
469a frame that raises, so this variable has no effect in the native 474a frame that raises, so this variable has no effect in the native
diff --git a/doc/emacs/killing.texi b/doc/emacs/killing.texi
index 6be40c85832..06839ce5187 100644
--- a/doc/emacs/killing.texi
+++ b/doc/emacs/killing.texi
@@ -520,17 +520,19 @@ contents are more ``fragile''; they are overwritten by any mouse
520selection, whereas the clipboard is only overwritten by explicit 520selection, whereas the clipboard is only overwritten by explicit
521``cut'' or ``copy'' commands. 521``cut'' or ``copy'' commands.
522 522
523 Under X, whenever you select some text in Emacs by dragging or 523 Under X, whenever you set an active region (@pxref{Mark}), Emacs
524clicking the mouse (@pxref{Mouse Commands}), it is also saved to the 524saves the text in the active region to the primary selection. This
525primary selection. 525applies to active regions made by dragging or clicking the mouse
526(@pxref{Mouse Commands}), and those made by keyboard commands (e.g. by
527typing @kbd{C-@key{SPC}} and moving point; see @ref{Setting Mark}).
526 528
527@vindex select-active-regions 529@vindex select-active-regions
528 If you set the region using the keyboard---for instance, by typing 530 If you change the variable @code{select-active-regions} to
529@kbd{C-@key{SPC}} and moving point away from the mark---the text in 531@code{only}, Emacs saves only temporarily active regions to the
530the region is also saved to the primary selection. (The updating of 532primary selection, i.e. those made with the mouse or with shift
531the primary selection is done at the end of each command, as long as 533selection (@pxref{Shift Selection}). If you change
532the region is active and non-empty.) To disable this behavior, change 534@code{select-active-regions} to @code{nil}, Emacs avoids saving active
533the variable @code{select-active-regions} to @code{nil}. 535regions to the primary selection entirely.
534 536
535 To insert the primary selection into an Emacs buffer, click 537 To insert the primary selection into an Emacs buffer, click
536@kbd{mouse-2} (@code{mouse-yank-primary}) where you want to insert it. 538@kbd{mouse-2} (@code{mouse-yank-primary}) where you want to insert it.
diff --git a/doc/emacs/mark.texi b/doc/emacs/mark.texi
index 6d3ed351e43..20cc127d272 100644
--- a/doc/emacs/mark.texi
+++ b/doc/emacs/mark.texi
@@ -68,11 +68,11 @@ Set point and the mark around the text you drag across.
68@item Mouse-3 68@item Mouse-3
69Set the mark at point, then move point to where you click 69Set the mark at point, then move point to where you click
70(@code{mouse-save-then-kill}). 70(@code{mouse-save-then-kill}).
71@item @samp{Shifted cursor motion keys}
72Set the mark at point if the mark is inactive, then move point.
73@xref{Shift Selection}.
71@end table 74@end table
72 75
73Also, the shifted motion keys (for example, @key{S-Right}) will set
74the mark at point if the mark is inactive, then move point.
75
76@kindex C-SPC 76@kindex C-SPC
77@kindex C-@@ 77@kindex C-@@
78@findex set-mark-command 78@findex set-mark-command
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi
index b7b634af8b1..426610e65b9 100644
--- a/doc/emacs/misc.texi
+++ b/doc/emacs/misc.texi
@@ -1678,6 +1678,11 @@ all server buffers are finished. You can take as long as you like to
1678edit the server buffers within Emacs, and they are @emph{not} killed 1678edit the server buffers within Emacs, and they are @emph{not} killed
1679when you type @kbd{C-x #} in them. 1679when you type @kbd{C-x #} in them.
1680 1680
1681@item --parent-id @var{ID}
1682Open an @command{emacsclient} frame as a client frame in the parent X
1683window with id @var{ID}, via the XEmbed protocol. Currently, this
1684option is mainly useful for developers.
1685
1681@item -q 1686@item -q
1682@itemx --quiet 1687@itemx --quiet
1683Do not let @command{emacsclient} display messages about waiting for 1688Do not let @command{emacsclient} display messages about waiting for
@@ -2567,7 +2572,7 @@ not use it.
2567key bindings. 2572key bindings.
2568@end table 2573@end table
2569 2574
2570@node Hyperlinking, Dissociated Press, Emulation, Top 2575@node Hyperlinking, Amusements, Emulation, Top
2571@section Hyperlinking and Navigation Features 2576@section Hyperlinking and Navigation Features
2572 2577
2573@cindex hyperlinking 2578@cindex hyperlinking
@@ -2733,81 +2738,14 @@ Display a menu of files and URLs mentioned in current buffer, then
2733find the one you select (@code{ffap-menu}). 2738find the one you select (@code{ffap-menu}).
2734@end table 2739@end table
2735 2740
2736@node Dissociated Press, Amusements, Hyperlinking, Top 2741@node Amusements, Customization, Hyperlinking, Top
2737@section Dissociated Press
2738
2739@findex dissociated-press
2740 @kbd{M-x dissociated-press} is a command for scrambling a file of text
2741either word by word or character by character. Starting from a buffer of
2742straight English, it produces extremely amusing output. The input comes
2743from the current Emacs buffer. Dissociated Press writes its output in a
2744buffer named @samp{*Dissociation*}, and redisplays that buffer after every
2745couple of lines (approximately) so you can read the output as it comes out.
2746
2747 Dissociated Press asks every so often whether to continue generating
2748output. Answer @kbd{n} to stop it. You can also stop at any time by
2749typing @kbd{C-g}. The dissociation output remains in the
2750@samp{*Dissociation*} buffer for you to copy elsewhere if you wish.
2751
2752@cindex presidentagon
2753 Dissociated Press operates by jumping at random from one point in
2754the buffer to another. In order to produce plausible output rather
2755than gibberish, it insists on a certain amount of overlap between the
2756end of one run of consecutive words or characters and the start of the
2757next. That is, if it has just output `president' and then decides to
2758jump to a different point in the buffer, it might spot the `ent' in
2759`pentagon' and continue from there, producing `presidentagon'. Long
2760sample texts produce the best results.
2761
2762@cindex againformation
2763 A positive argument to @kbd{M-x dissociated-press} tells it to operate
2764character by character, and specifies the number of overlap characters. A
2765negative argument tells it to operate word by word, and specifies the number
2766of overlap words. In this mode, whole words are treated as the elements to
2767be permuted, rather than characters. No argument is equivalent to an
2768argument of two. For your againformation, the output goes only into the
2769buffer @samp{*Dissociation*}. The buffer you start with is not changed.
2770
2771@cindex Markov chain
2772@cindex ignoriginal
2773@cindex techniquitous
2774 Dissociated Press produces results fairly like those of a Markov
2775chain based on a frequency table constructed from the sample text. It
2776is, however, an independent, ignoriginal invention. Dissociated Press
2777techniquitously copies several consecutive characters from the sample
2778text between random jumps, unlike a Markov chain which would jump
2779randomly after each word or character. This makes for more plausible
2780sounding results, and runs faster.
2781
2782@cindex outragedy
2783@cindex buggestion
2784@cindex properbose
2785@cindex mustatement
2786@cindex developediment
2787@cindex userenced
2788 It is a mustatement that too much use of Dissociated Press can be a
2789developediment to your real work, sometimes to the point of outragedy.
2790And keep dissociwords out of your documentation, if you want it to be well
2791userenced and properbose. Have fun. Your buggestions are welcome.
2792
2793@node Amusements, Customization, Dissociated Press, Top
2794@section Other Amusements 2742@section Other Amusements
2795@cindex boredom 2743@cindex boredom
2796@findex hanoi
2797@findex gomoku
2798@cindex tower of Hanoi
2799 2744
2800 If you are a little bit bored, you can try @kbd{M-x hanoi}. If you are 2745@findex animate-birthday-present
2801considerably bored, give it a numeric argument. If you are very, very 2746@cindex animate
2802bored, try an argument of 9. Sit back and watch. 2747 The @code{animate} package makes text dance. For an example, try
2803 2748@kbd{M-x animate-birthday-present}.
2804@cindex Go Moku
2805 If you want a little more personal involvement, try @kbd{M-x gomoku},
2806which plays the game Go Moku with you.
2807
2808@findex bubbles
2809 @kbd{M-x bubbles} is a game in which the object is to remove as many
2810bubbles as you can in the smallest number of moves.
2811 2749
2812@findex blackbox 2750@findex blackbox
2813@findex mpuz 2751@findex mpuz
@@ -2820,70 +2758,82 @@ puzzle with letters standing for digits in a code that you must
2820guess---to guess a value, type a letter and then the digit you think it 2758guess---to guess a value, type a letter and then the digit you think it
2821stands for. The aim of @code{5x5} is to fill in all the squares. 2759stands for. The aim of @code{5x5} is to fill in all the squares.
2822 2760
2761@findex bubbles
2762 @kbd{M-x bubbles} is a game in which the object is to remove as many
2763bubbles as you can in the smallest number of moves.
2764
2823@findex decipher 2765@findex decipher
2824@cindex ciphers 2766@cindex ciphers
2825@cindex cryptanalysis 2767@cindex cryptanalysis
2826@kbd{M-x decipher} helps you to cryptanalyze a buffer which is encrypted 2768 @kbd{M-x decipher} helps you to cryptanalyze a buffer which is
2827in a simple monoalphabetic substitution cipher. 2769encrypted in a simple monoalphabetic substitution cipher.
2770
2771@findex dissociated-press
2772 @kbd{M-x dissociated-press} scrambles the text in the current Emacs
2773buffer, word by word or character by character, writing its output to
2774a buffer named @samp{*Dissociation*}. A positive argument tells it to
2775operate character by character, and specifies the number of overlap
2776characters. A negative argument tells it to operate word by word, and
2777specifies the number of overlap words. Dissociated Press produces
2778results fairly like those of a Markov chain, but is however, an
2779independent, ignoriginal invention; it techniquitously copies several
2780consecutive characters from the sample text between random jumps,
2781unlike a Markov chain which would jump randomly after each word or
2782character. Keep dissociwords out of your documentation, if you want
2783it to be well userenced and properbose.
2828 2784
2829@findex dunnet 2785@findex dunnet
2830 @kbd{M-x dunnet} runs an adventure-style exploration game, which is 2786 @kbd{M-x dunnet} runs an text-based adventure game.
2831a bigger sort of puzzle.
2832 2787
2833@findex lm 2788@findex gomoku
2834@cindex landmark game 2789@cindex Go Moku
2835@kbd{M-x lm} runs a relatively non-participatory game in which a robot 2790 If you want a little more personal involvement, try @kbd{M-x gomoku},
2836attempts to maneuver towards a tree at the center of the window based on 2791which plays the game Go Moku with you.
2837unique olfactory cues from each of the four directions. 2792
2793@cindex tower of Hanoi
2794@findex hanoi
2795 If you are a little bit bored, you can try @kbd{M-x hanoi}. If you are
2796considerably bored, give it a numeric argument. If you are very, very
2797bored, try an argument of 9. Sit back and watch.
2838 2798
2839@findex life 2799@findex life
2840@cindex Life 2800@cindex Life
2841@kbd{M-x life} runs Conway's ``Life'' cellular automaton. 2801 @kbd{M-x life} runs Conway's ``Life'' cellular automaton.
2802
2803@findex lm
2804@cindex landmark game
2805 @kbd{M-x lm} runs a relatively non-participatory game in which a
2806robot attempts to maneuver towards a tree at the center of the window
2807based on unique olfactory cues from each of the four directions.
2842 2808
2843@findex morse-region 2809@findex morse-region
2844@findex unmorse-region 2810@findex unmorse-region
2845@cindex Morse code 2811@cindex Morse code
2846@cindex --/---/.-./.../. 2812@cindex --/---/.-./.../.
2847@kbd{M-x morse-region} converts text in a region to Morse code and 2813 @kbd{M-x morse-region} converts text in a region to Morse code and
2848@kbd{M-x unmorse-region} converts it back. No cause for remorse. 2814@kbd{M-x unmorse-region} converts it back. No cause for remorse.
2849 2815
2850@findex pong 2816@findex pong
2851@cindex Pong game 2817@cindex Pong game
2852@kbd{M-x pong} plays a Pong-like game, bouncing the ball off opposing
2853bats.
2854
2855@findex solitaire
2856@cindex solitaire
2857@kbd{M-x solitaire} plays a game of solitaire in which you jump pegs
2858across other pegs.
2859
2860@findex animate-birthday-present
2861@cindex animate
2862The @code{animate} package makes text dance. For an example, try
2863@kbd{M-x animate-birthday-present}.
2864
2865@findex studlify-region
2866@cindex StudlyCaps
2867@kbd{M-x studlify-region} studlify-cases the region, producing
2868text like this:
2869
2870@example
2871M-x stUdlIfY-RegioN stUdlIfY-CaSeS thE region.
2872@end example
2873
2874@findex tetris 2818@findex tetris
2875@cindex Tetris 2819@cindex Tetris
2876@findex snake 2820@findex snake
2877@cindex Snake 2821@cindex Snake
2878@kbd{M-x tetris} runs an implementation of the well-known Tetris game. 2822 @kbd{M-x pong}, @kbd{M-x snake} and @kbd{M-x tetris} are
2879Likewise, @kbd{M-x snake} provides an implementation of Snake. 2823implementations of the well-known Pong, Snake and Tetris games.
2880 2824
2881 When you are frustrated, try the famous Eliza program. Just do 2825@findex solitaire
2882@kbd{M-x doctor}. End each input by typing @key{RET} twice. 2826@cindex solitaire
2827 @kbd{M-x solitaire} plays a game of solitaire in which you jump pegs
2828across other pegs.
2883 2829
2884@findex zone 2830@findex zone
2885The command @kbd{M-x zone} plays games with the display when Emacs is 2831 The command @kbd{M-x zone} plays games with the display when Emacs
2886idle. 2832is idle.
2833
2834 Finally, if you find yourself frustrated, try the famous Eliza
2835program. Just do @kbd{M-x doctor}. End each input by typing
2836@key{RET} twice.
2887 2837
2888@ifnottex 2838@ifnottex
2889@lowersections 2839@lowersections
diff --git a/doc/emacs/msdog.texi b/doc/emacs/msdog.texi
index 56fe20f0794..533872ddf61 100644
--- a/doc/emacs/msdog.texi
+++ b/doc/emacs/msdog.texi
@@ -445,10 +445,10 @@ any name mentioned in @ref{Init File}.
445 445
446@cindex @file{_emacs} init file, MS-Windows 446@cindex @file{_emacs} init file, MS-Windows
447 Because MS-DOS does not allow file names with leading dots, and 447 Because MS-DOS does not allow file names with leading dots, and
448because older Windows systems made it hard to create files with such 448older Windows systems made it hard to create files with such names,
449names, the Windows port of Emacs supports an alternative name 449the Windows port of Emacs supports an init file name @file{_emacs}, if
450@file{_emacs} as a fallback, if such a file exists in the home 450such a file exists in the home directory and @file{.emacs} does not.
451directory, whereas @file{.emacs} does not. 451This name is considered obsolete.
452 452
453@node Windows Keyboard 453@node Windows Keyboard
454@section Keyboard Usage on MS-Windows 454@section Keyboard Usage on MS-Windows
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index f9ab82e7966..4517faac80e 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,13 @@
12011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
2
3 * elisp.texi: Change "inferiors" to "subnodes" in three places
4 (bug#3523).
5
62011-07-11 Chong Yidong <cyd@stupidchicken.com>
7
8 * frames.texi (Window System Selections): Discussion of
9 x-select-enable-clipboard moved to Emacs manual.
10
12011-07-11 Deniz Dogan <deniz@dogan.se> 112011-07-11 Deniz Dogan <deniz@dogan.se>
2 12
3 * commands.texi (Prefix Command Arguments): Remove excessive 13 * commands.texi (Prefix Command Arguments): Remove excessive
diff --git a/doc/lispref/elisp.texi b/doc/lispref/elisp.texi
index 29b3e398f4b..4f8dce561a5 100644
--- a/doc/lispref/elisp.texi
+++ b/doc/lispref/elisp.texi
@@ -193,7 +193,7 @@ Appendices
193 --- The Detailed Node Listing --- 193 --- The Detailed Node Listing ---
194 --------------------------------- 194 ---------------------------------
195 195
196Here are other nodes that are inferiors of those already listed, 196Here are other nodes that are subnodes of those already listed,
197mentioned here so you can get to them in one step: 197mentioned here so you can get to them in one step:
198 198
199Introduction 199Introduction
diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi
index 7dc6934c7d9..9a30ba5fdb4 100644
--- a/doc/lispref/frames.texi
+++ b/doc/lispref/frames.texi
@@ -1959,30 +1959,34 @@ defined in the file @file{lisp/term/x-win.el}. Use @kbd{M-x apropos
1959@node Window System Selections 1959@node Window System Selections
1960@section Window System Selections 1960@section Window System Selections
1961@cindex selection (for window systems) 1961@cindex selection (for window systems)
1962 1962@cindex clipboard
1963The X server records a set of @dfn{selections} which permit transfer of 1963@cindex primary selection
1964data between application programs. The various selections are 1964@cindex secondary selection
1965distinguished by @dfn{selection types}, represented in Emacs by 1965
1966symbols. X clients including Emacs can read or set the selection for 1966 In the X window system, data can be transferred between different
1967any given type. 1967applications by means of @dfn{selections}. X defines an arbitrary
1968number of @dfn{selection types}, each of which can store its own data;
1969however, only three are commonly used: the @dfn{clipboard},
1970@dfn{primary selection}, and @dfn{secondary selection}. @xref{Cut and
1971Paste,, Cut and Paste, emacs, The GNU Emacs Manual}, for Emacs
1972commands that make use of these selections. This section documents
1973the low-level functions for reading and setting X selections.
1968 1974
1969@deffn Command x-set-selection type data 1975@deffn Command x-set-selection type data
1970This function sets a ``selection'' in the X server. It takes two 1976This function sets an X selection. It takes two arguments: a
1971arguments: a selection type @var{type}, and the value to assign to it, 1977selection type @var{type}, and the value to assign to it, @var{data}.
1972@var{data}. If @var{data} is @code{nil}, it means to clear out the 1978
1973selection. Otherwise, @var{data} may be a string, a symbol, an integer 1979@var{type} should be a symbol; it is usually one of @code{PRIMARY},
1974(or a cons of two integers or list of two integers), an overlay, or a 1980@code{SECONDARY} or @code{CLIPBOARD}. These are symbols with
1975cons of two markers pointing to the same buffer. An overlay or a pair 1981upper-case names, in accord with X Window System conventions. If
1976of markers stands for text in the overlay or between the markers. 1982@var{type} is @code{nil}, that stands for @code{PRIMARY}.
1977 1983
1978The argument @var{data} may also be a vector of valid non-vector 1984If @var{data} is @code{nil}, it means to clear out the selection.
1979selection values. 1985Otherwise, @var{data} may be a string, a symbol, an integer (or a cons
1980 1986of two integers or list of two integers), an overlay, or a cons of two
1981Each possible @var{type} has its own selection value, which changes 1987markers pointing to the same buffer. An overlay or a pair of markers
1982independently. The usual values of @var{type} are @code{PRIMARY}, 1988stands for text in the overlay or between the markers. The argument
1983@code{SECONDARY} and @code{CLIPBOARD}; these are symbols with upper-case 1989@var{data} may also be a vector of valid non-vector selection values.
1984names, in accord with X Window System conventions. If @var{type} is
1985@code{nil}, that stands for @code{PRIMARY}.
1986 1990
1987This function returns @var{data}. 1991This function returns @var{data}.
1988@end deffn 1992@end deffn
@@ -2019,14 +2023,6 @@ and @code{x-set-selection} on MS-Windows support the text data type
2019only; if the clipboard holds other types of data, Emacs treats the 2023only; if the clipboard holds other types of data, Emacs treats the
2020clipboard as empty. 2024clipboard as empty.
2021 2025
2022@defopt x-select-enable-clipboard
2023If this is non-@code{nil}, the Emacs yank functions consult the
2024clipboard before the primary selection, and the kill functions store in
2025the clipboard as well as the primary selection. Otherwise they do not
2026access the clipboard at all. The default is @code{t} on systems with
2027clipboards.
2028@end defopt
2029
2030@node Drag and Drop 2026@node Drag and Drop
2031@section Drag and Drop 2027@section Drag and Drop
2032 2028
diff --git a/doc/lispref/vol1.texi b/doc/lispref/vol1.texi
index afcd3d6cbd6..3b7718814b5 100644
--- a/doc/lispref/vol1.texi
+++ b/doc/lispref/vol1.texi
@@ -211,7 +211,7 @@ Appendices
211 --- The Detailed Node Listing --- 211 --- The Detailed Node Listing ---
212 --------------------------------- 212 ---------------------------------
213 213
214Here are other nodes that are inferiors of those already listed, 214Here are other nodes that are subnodes of those already listed,
215mentioned here so you can get to them in one step: 215mentioned here so you can get to them in one step:
216 216
217Introduction 217Introduction
diff --git a/doc/lispref/vol2.texi b/doc/lispref/vol2.texi
index 65ffbc23860..22a51d3235c 100644
--- a/doc/lispref/vol2.texi
+++ b/doc/lispref/vol2.texi
@@ -210,7 +210,7 @@ Appendices
210 --- The Detailed Node Listing --- 210 --- The Detailed Node Listing ---
211 --------------------------------- 211 ---------------------------------
212 212
213Here are other nodes that are inferiors of those already listed, 213Here are other nodes that are subnodes of those already listed,
214mentioned here so you can get to them in one step: 214mentioned here so you can get to them in one step:
215 215
216Introduction 216Introduction
diff --git a/doc/man/ChangeLog b/doc/man/ChangeLog
index 88f70e410c8..0735e0593f9 100644
--- a/doc/man/ChangeLog
+++ b/doc/man/ChangeLog
@@ -1,3 +1,7 @@
12011-07-12 Chong Yidong <cyd@stupidchicken.com>
2
3 * emacsclient.1: Document exit status.
4
12011-06-25 Andreas Rottmann <a.rottmann@gmx.at> 52011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
2 6
3 * emacsclient.1: Mention --frame-parameters. 7 * emacsclient.1: Mention --frame-parameters.
diff --git a/doc/man/emacsclient.1 b/doc/man/emacsclient.1
index 4843053666a..4020b6c0b6a 100644
--- a/doc/man/emacsclient.1
+++ b/doc/man/emacsclient.1
@@ -87,6 +87,9 @@ print version information and exit
87.TP 87.TP
88.B \-H, \-\-help 88.B \-H, \-\-help
89print this usage information message and exit 89print this usage information message and exit
90.SH "EXIT STATUS"
91Normally, the exit status is 0. If emacsclient shuts down due to
92Emacs signaling an error, the exit status is 1.
90.SH "SEE ALSO" 93.SH "SEE ALSO"
91The program is documented fully in 94The program is documented fully in
92.IR "Using Emacs as a Server" 95.IR "Using Emacs as a Server"
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index a977b9d2f7f..3738301ceea 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,7 @@
12011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
2
3 * org.texi (Special agenda views): Fix double quoting (bug#3509).
4
12011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org> 52011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2 6
3 * ediff.texi (Major Entry Points): Remove mention of `require', 7 * ediff.texi (Major Entry Points): Remove mention of `require',
diff --git a/doc/misc/org.texi b/doc/misc/org.texi
index a0ec20c4034..8e01a10bde3 100644
--- a/doc/misc/org.texi
+++ b/doc/misc/org.texi
@@ -13981,25 +13981,25 @@ particular, you may use the functions @code{org-agenda-skip-entry-if}
13981and @code{org-agenda-skip-subtree-if} in this form, for example: 13981and @code{org-agenda-skip-subtree-if} in this form, for example:
13982 13982
13983@table @code 13983@table @code
13984@item '(org-agenda-skip-entry-if 'scheduled) 13984@item (org-agenda-skip-entry-if 'scheduled)
13985Skip current entry if it has been scheduled. 13985Skip current entry if it has been scheduled.
13986@item '(org-agenda-skip-entry-if 'notscheduled) 13986@item (org-agenda-skip-entry-if 'notscheduled)
13987Skip current entry if it has not been scheduled. 13987Skip current entry if it has not been scheduled.
13988@item '(org-agenda-skip-entry-if 'deadline) 13988@item (org-agenda-skip-entry-if 'deadline)
13989Skip current entry if it has a deadline. 13989Skip current entry if it has a deadline.
13990@item '(org-agenda-skip-entry-if 'scheduled 'deadline) 13990@item (org-agenda-skip-entry-if 'scheduled 'deadline)
13991Skip current entry if it has a deadline, or if it is scheduled. 13991Skip current entry if it has a deadline, or if it is scheduled.
13992@item '(org-agenda-skip-entry-if 'todo '("TODO" "WAITING")) 13992@item (org-agenda-skip-entry-if 'todo '("TODO" "WAITING"))
13993Skip current entry if the TODO keyword is TODO or WAITING. 13993Skip current entry if the TODO keyword is TODO or WAITING.
13994@item '(org-agenda-skip-entry-if 'todo 'done) 13994@item (org-agenda-skip-entry-if 'todo 'done)
13995Skip current entry if the TODO keyword marks a DONE state. 13995Skip current entry if the TODO keyword marks a DONE state.
13996@item '(org-agenda-skip-entry-if 'timestamp) 13996@item (org-agenda-skip-entry-if 'timestamp)
13997Skip current entry if it has any timestamp, may also be deadline or scheduled. 13997Skip current entry if it has any timestamp, may also be deadline or scheduled.
13998@item '(org-agenda-skip-entry 'regexp "regular expression") 13998@item (org-agenda-skip-entry 'regexp "regular expression")
13999Skip current entry if the regular expression matches in the entry. 13999Skip current entry if the regular expression matches in the entry.
14000@item '(org-agenda-skip-entry 'notregexp "regular expression") 14000@item (org-agenda-skip-entry 'notregexp "regular expression")
14001Skip current entry unless the regular expression matches. 14001Skip current entry unless the regular expression matches.
14002@item '(org-agenda-skip-subtree-if 'regexp "regular expression") 14002@item (org-agenda-skip-subtree-if 'regexp "regular expression")
14003Same as above, but check and skip the entire subtree. 14003Same as above, but check and skip the entire subtree.
14004@end table 14004@end table
14005 14005