aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2011-07-12 11:29:27 -0400
committerChong Yidong2011-07-12 11:29:27 -0400
commitecd0b99093da223eb20132271b00371cd85bff51 (patch)
tree55412d024232b6ce64a212ac77057250153690a1
parentc79598ef31da0b1f93d0cfb311e2cc93342f976e (diff)
downloademacs-ecd0b99093da223eb20132271b00371cd85bff51.tar.gz
emacs-ecd0b99093da223eb20132271b00371cd85bff51.zip
Move Dissociated Press section of manual into Amusements.
* doc/emacs/misc.texi (Amusements): Move dissociated press here, from its own section. * doc/emacs/emacs.texi (Top): Update node listing.
-rw-r--r--doc/emacs/ChangeLog7
-rw-r--r--doc/emacs/emacs.texi1
-rw-r--r--doc/emacs/misc.texi169
3 files changed, 64 insertions, 113 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index a02a1cd2382..d762ea11654 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,10 @@
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
12011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org> 82011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
2 9
3 * emacs.texi (Top): Change "inferiors" to "subnodes" for greater 10 * emacs.texi (Top): Change "inferiors" to "subnodes" for greater
diff --git a/doc/emacs/emacs.texi b/doc/emacs/emacs.texi
index 7a0bbd981f4..e8fb42db0bb 100644
--- a/doc/emacs/emacs.texi
+++ b/doc/emacs/emacs.texi
@@ -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
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi
index 73c742c493a..426610e65b9 100644
--- a/doc/emacs/misc.texi
+++ b/doc/emacs/misc.texi
@@ -2572,7 +2572,7 @@ not use it.
2572key bindings. 2572key bindings.
2573@end table 2573@end table
2574 2574
2575@node Hyperlinking, Dissociated Press, Emulation, Top 2575@node Hyperlinking, Amusements, Emulation, Top
2576@section Hyperlinking and Navigation Features 2576@section Hyperlinking and Navigation Features
2577 2577
2578@cindex hyperlinking 2578@cindex hyperlinking
@@ -2738,81 +2738,14 @@ Display a menu of files and URLs mentioned in current buffer, then
2738find the one you select (@code{ffap-menu}). 2738find the one you select (@code{ffap-menu}).
2739@end table 2739@end table
2740 2740
2741@node Dissociated Press, Amusements, Hyperlinking, Top 2741@node Amusements, Customization, Hyperlinking, Top
2742@section Dissociated Press
2743
2744@findex dissociated-press
2745 @kbd{M-x dissociated-press} is a command for scrambling a file of text
2746either word by word or character by character. Starting from a buffer of
2747straight English, it produces extremely amusing output. The input comes
2748from the current Emacs buffer. Dissociated Press writes its output in a
2749buffer named @samp{*Dissociation*}, and redisplays that buffer after every
2750couple of lines (approximately) so you can read the output as it comes out.
2751
2752 Dissociated Press asks every so often whether to continue generating
2753output. Answer @kbd{n} to stop it. You can also stop at any time by
2754typing @kbd{C-g}. The dissociation output remains in the
2755@samp{*Dissociation*} buffer for you to copy elsewhere if you wish.
2756
2757@cindex presidentagon
2758 Dissociated Press operates by jumping at random from one point in
2759the buffer to another. In order to produce plausible output rather
2760than gibberish, it insists on a certain amount of overlap between the
2761end of one run of consecutive words or characters and the start of the
2762next. That is, if it has just output `president' and then decides to
2763jump to a different point in the buffer, it might spot the `ent' in
2764`pentagon' and continue from there, producing `presidentagon'. Long
2765sample texts produce the best results.
2766
2767@cindex againformation
2768 A positive argument to @kbd{M-x dissociated-press} tells it to operate
2769character by character, and specifies the number of overlap characters. A
2770negative argument tells it to operate word by word, and specifies the number
2771of overlap words. In this mode, whole words are treated as the elements to
2772be permuted, rather than characters. No argument is equivalent to an
2773argument of two. For your againformation, the output goes only into the
2774buffer @samp{*Dissociation*}. The buffer you start with is not changed.
2775
2776@cindex Markov chain
2777@cindex ignoriginal
2778@cindex techniquitous
2779 Dissociated Press produces results fairly like those of a Markov
2780chain based on a frequency table constructed from the sample text. It
2781is, however, an independent, ignoriginal invention. Dissociated Press
2782techniquitously copies several consecutive characters from the sample
2783text between random jumps, unlike a Markov chain which would jump
2784randomly after each word or character. This makes for more plausible
2785sounding results, and runs faster.
2786
2787@cindex outragedy
2788@cindex buggestion
2789@cindex properbose
2790@cindex mustatement
2791@cindex developediment
2792@cindex userenced
2793 It is a mustatement that too much use of Dissociated Press can be a
2794developediment to your real work, sometimes to the point of outragedy.
2795And keep dissociwords out of your documentation, if you want it to be well
2796userenced and properbose. Have fun. Your buggestions are welcome.
2797
2798@node Amusements, Customization, Dissociated Press, Top
2799@section Other Amusements 2742@section Other Amusements
2800@cindex boredom 2743@cindex boredom
2801@findex hanoi
2802@findex gomoku
2803@cindex tower of Hanoi
2804 2744
2805 If you are a little bit bored, you can try @kbd{M-x hanoi}. If you are 2745@findex animate-birthday-present
2806considerably bored, give it a numeric argument. If you are very, very 2746@cindex animate
2807bored, try an argument of 9. Sit back and watch. 2747 The @code{animate} package makes text dance. For an example, try
2808 2748@kbd{M-x animate-birthday-present}.
2809@cindex Go Moku
2810 If you want a little more personal involvement, try @kbd{M-x gomoku},
2811which plays the game Go Moku with you.
2812
2813@findex bubbles
2814 @kbd{M-x bubbles} is a game in which the object is to remove as many
2815bubbles as you can in the smallest number of moves.
2816 2749
2817@findex blackbox 2750@findex blackbox
2818@findex mpuz 2751@findex mpuz
@@ -2825,70 +2758,82 @@ puzzle with letters standing for digits in a code that you must
2825guess---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
2826stands 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.
2827 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
2828@findex decipher 2765@findex decipher
2829@cindex ciphers 2766@cindex ciphers
2830@cindex cryptanalysis 2767@cindex cryptanalysis
2831@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
2832in 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.
2833 2784
2834@findex dunnet 2785@findex dunnet
2835 @kbd{M-x dunnet} runs an adventure-style exploration game, which is 2786 @kbd{M-x dunnet} runs an text-based adventure game.
2836a bigger sort of puzzle.
2837 2787
2838@findex lm 2788@findex gomoku
2839@cindex landmark game 2789@cindex Go Moku
2840@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},
2841attempts to maneuver towards a tree at the center of the window based on 2791which plays the game Go Moku with you.
2842unique 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.
2843 2798
2844@findex life 2799@findex life
2845@cindex Life 2800@cindex Life
2846@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.
2847 2808
2848@findex morse-region 2809@findex morse-region
2849@findex unmorse-region 2810@findex unmorse-region
2850@cindex Morse code 2811@cindex Morse code
2851@cindex --/---/.-./.../. 2812@cindex --/---/.-./.../.
2852@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
2853@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.
2854 2815
2855@findex pong 2816@findex pong
2856@cindex Pong game 2817@cindex Pong game
2857@kbd{M-x pong} plays a Pong-like game, bouncing the ball off opposing
2858bats.
2859
2860@findex solitaire
2861@cindex solitaire
2862@kbd{M-x solitaire} plays a game of solitaire in which you jump pegs
2863across other pegs.
2864
2865@findex animate-birthday-present
2866@cindex animate
2867The @code{animate} package makes text dance. For an example, try
2868@kbd{M-x animate-birthday-present}.
2869
2870@findex studlify-region
2871@cindex StudlyCaps
2872@kbd{M-x studlify-region} studlify-cases the region, producing
2873text like this:
2874
2875@example
2876M-x stUdlIfY-RegioN stUdlIfY-CaSeS thE region.
2877@end example
2878
2879@findex tetris 2818@findex tetris
2880@cindex Tetris 2819@cindex Tetris
2881@findex snake 2820@findex snake
2882@cindex Snake 2821@cindex Snake
2883@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
2884Likewise, @kbd{M-x snake} provides an implementation of Snake. 2823implementations of the well-known Pong, Snake and Tetris games.
2885 2824
2886 When you are frustrated, try the famous Eliza program. Just do 2825@findex solitaire
2887@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.
2888 2829
2889@findex zone 2830@findex zone
2890The 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
2891idle. 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.
2892 2837
2893@ifnottex 2838@ifnottex
2894@lowersections 2839@lowersections