aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/play (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * subr.el (sit-for): New function.Chong Yidong2006-07-101-3/+2
| | | | * play/hanoi.el (hanoi-sit-for): Check sit-for return value.
* Comment munging; nfc.Thien-Thi Nguyen2006-07-051-1/+1
|
* (dun-load-d, dun-eval): Use eval-buffer.Thien-Thi Nguyen2006-07-051-2/+2
|
* lisp/play/cookie1.el (cookie): Work properly when there's only one entryMiles Bader2006-06-211-2/+2
| | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-323
* (pong-init-buffer): Fill buffer with spaces instead of ^A.Thien-Thi Nguyen2006-06-091-1/+1
|
* (lm-font-lock-face-O, lm-font-lock-face-X): Make them faces.Richard M. Stallman2006-04-091-12/+14
| | | | (lm-font-lock-keywords): Update appropriately.
* * files.el (safe-local-variable-values): New option.Chong Yidong2006-02-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (hack-local-variables-prop-line): Return a list of variable-value pairs if MODE-ONLY is non-nil. (hack-local-variables): Construct list of variable-value pairs, and apply or reject them in one go. Ask for confirmation if variables are not known safe. (hack-local-variables-confirm): Complete rewrite. Support `safe-local-variable-values'. (enable-local-variables): Update docstring to reflect new behavior. (ignored-local-variables): Ignore ignored-local-variables and safe-local-variable-values. (safe-local-variable-p): New function. (risky-local-variable-p): `safe-local-variable' property check moved to safe-local-variable-p. (hack-one-local-variable): Checks moved to hack-local-variables. (byte-compile-dynamic, c-basic-offset, c-file-style, c-indent-level, comment-column, fill-column, fill-prefix, indent-tabs-mode, kept-new-versions, no-byte-compile, no-update-autoloads, outline-regexp, page-delimiter, paragraph-start, paragraph-separate, sentence-end, sentence-end-double-space tab-width, version-control): Add `safe-local-variable' property. * find-lisp.el: Delete nonexistent `autocompile' file variable. * icomplete.el, play/landmark.el: Change nonexistent `outline-layout' file variable to `allout-layout'.
* Update copyright notices of all files in the lisp/play directory.Romain Francoise2006-02-0524-24/+33
|
* (doctor-mode-map): Rename from `doc-mode-map'.Juri Linkov2006-01-231-1/+1
|
* Move defvars out of eval-when-compile. Use dolist.Stefan Monnier2006-01-181-94/+97
| | | | | (doc-mode-map): Define explicitly. (doctor-txtype): Use mapc.
* (apropos-zippy): Call print-help-return-message, similar to other HelpEli Zaretskii2005-12-031-1/+2
| | | | and Apropos commands.
* (blackbox-mode-map): Move init into declaration.Stefan Monnier2005-10-251-20/+20
| | | | (blackbox-redefine-key): Add argument `map'.
* (blackbox-redefine-key): New function.Eli Zaretskii2005-10-251-12/+15
| | | | | (blackbox-mode-map): Use it to remap existing bindings for cursor motion instead of binding literal keys.
* (doctor-doc): Don't say "psychiatrist".Richard M. Stallman2005-10-231-3/+3
| | | | (doctor-symptoms): Likewise.
* (zone): Wrap body with save-window-excursion.Thien-Thi Nguyen2005-10-061-53/+54
|
* 2005-09-25 Romain Francoise <romain@orebokech.com>Romain Francoise2005-09-243-34/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * dired-aux.el (dired-copy-file-recursive): * dired.el (dired-delete-file): * ediff-mult.el (ediff-dir-diff-copy-file): * ediff-util.el (ediff-test-save-region): * forms.el (forms-mode): * ido.el (ido-file-internal, ido-delete-file-at-head): * log-edit.el (log-edit-done): * ses.el (ses-yank-resize): * play/gomoku.el (gomoku-human-plays, gomoku) (gomoku-human-resigns, gomoku-prompt-for-other-game) (gomoku-offer-a-draw): * play/landmark.el (lm-human-resigns, lm): * net/eudcb-ldap.el (eudc-ldap-check-base): * play/mpuz.el (mpuz-offer-abort, mpuz-try-letter, mpuz-close-game): * progmodes/ebrowse.el (ebrowse-find-pattern): * progmodes/idlw-shell.el (idlwave-shell-set-bp-check): * textmodes/reftex-index.el (reftex-index-initialize-phrases-buffer): End `yes-or-no-p' and `y-or-n-p' prompts with question mark and space. * vc.el (vc-delete-file): * play/gomoku.el (gomoku-terminate-game, gomoku) (gomoku-prompt-for-move, gomoku-human-takes-back): * play/landmark.el (lm-human-takes-back, lm-prompt-for-move) (lm-start-robot, lm-human-plays): Remove extraneous spaces in messages.
* 2005-09-24 Emilio C. Lopes <eclig@gmx.net>Romain Francoise2005-09-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * woman.el (woman-file-name): * wid-edit.el (widget-file-prompt-value) (widget-coding-system-prompt-value): * w32-fns.el (set-w32-system-coding-system): * vc.el (vc-version-diff, vc-annotate): * textmodes/reftex-auc.el (reftex-arg-cite) (reftex-arg-index-tag): * textmodes/refer.el (refer-get-bib-files): * textmodes/artist.el (artist-figlet-choose-font): * terminal.el (terminal-emulator): * replace.el (occur-read-primary-args): * rect.el (string-rectangle, string-insert-rectangle): * ps-print.el (ps-print-preprint): * progmodes/pascal.el (pascal-goto-defun): * progmodes/etags.el (visit-tags-table, visit-tags-table-buffer): * progmodes/compile.el (compilation-find-file): * printing.el (pr-interactive-n-up): * play/animate.el (animate-birthday-present): * net/rcompile.el (remote-compile): * man.el (man, Man-goto-section, Man-follow-manual-reference): * mail/rmailsum.el (rmail-summary-search-backward) (rmail-summary-search): * mail/rmailout.el (rmail-output-read-rmail-file-name) (rmail-output-read-file-name): * mail/rmail.el (rmail-search, rmail-search-backwards): * mail/mailabbrev.el (merge-mail-abbrevs, rebuild-mail-abbrevs): * locate.el (locate): * international/quail.el (quail-show-keyboard-layout): * international/mule.el (set-buffer-file-coding-system) (revert-buffer-with-coding-system, set-file-name-coding-system) (set-terminal-coding-system, set-keyboard-coding-system) (set-next-selection-coding-system): * international/mule-diag.el (describe-coding-system) (describe-font, describe-fontset): * international/mule-cmds.el (universal-coding-system-argument) (search-unencodable-char, describe-input-method) (set-language-environment, describe-language-environment): * international/codepage.el (codepage-setup): * international/code-pages.el (codepage-setup): * info.el (Info-search, Info-follow-reference) (Info-search-backward): * emacs-lisp/advice.el (ad-read-advised-function) (ad-read-advice-class, ad-clear-cache, ad-activate) (ad-deactivate, ad-update, ad-unadvise, ad-read-advice-name) (ad-enable-advice, ad-disable-advice, ad-remove-advice) (ad-read-regexp): * ediff-util.el (ediff-toggle-regexp-match): * ediff-ptch.el (ediff-prompt-for-patch-file): * dired-aux.el (dired-diff): * diff.el (diff): * cus-edit.el (custom-variable-prompt): * calendar/timeclock.el (timeclock-ask-for-project): * calc/calcalg3.el (calc-get-fit-variables): * calc/calc-store.el (calc-edit-variable) (calc-permanent-variable): * vc-mcvs.el (vc-mcvs-register): * shadowfile.el (shadow-define-literal-group): * woman.el (woman-file-name): * vc.el (vc-version-diff, vc-merge): * textmodes/reftex-index.el (reftex-index-complete-tag): * format.el (format-decode-buffer, format-decode-region): * emulation/viper-cmd.el (viper-read-string-with-history): * emacs-lisp/debug.el (cancel-debug-on-entry): * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine): * ediff.el (ediff-merge-revisions) (ediff-merge-revisions-with-ancestor, ediff-revision): * completion.el (interactive-completion-string-reader): * calc/calc-prog.el (calc-user-define-formula): Follow convention for reading with the minibuffer.
* Message format spec fixes, commit no. 4Deepak Goel2005-09-183-3/+3
|
* (ps-printer-name, ps-lpr-command): Add defvars.Juanma Barranquero2005-08-301-0/+3
|
* * mh-customize.el: Do not use face-alias compatibility forDan Nicolaescu2005-08-152-12/+0
| | | | | | | | | | | | | | | | | | | | | | faces that did not appear in the previous Emacs release. * buff-menu.el: * compare-w.el: * emacs-lisp/testcover.el: * play/gomoku.el: * play/mpuz.el: * progmodes/flymake.el: * progmodes/gdb-ui.el: * progmodes/idlw-help.el: * progmodes/idlw-shell.el: * progmodes/ld-script.el: * progmodes/which-func.el: * ruler-mode.el: * strokes.el: * textmodes/sgml-mode.el: * textmodes/table.el: Do not use face-alias for backward compatibility for faces that did not appear in the previous Emacs release.
* (gametree-mode): Use make-local-variable, not make-variable-buffer-local.Richard M. Stallman2005-08-091-3/+3
|
* (doctor-type-symbol): "?\ " -> "?\s".Juanma Barranquero2005-08-021-1/+31
| | | | | | | | | | | | | | (**mad**, *debug*, *print-space*, *print-upcase*, abuselst, abusewords, account, afraidof, arerelated, areyou, bak, beclst, bother, bye, canyou, chatlst, continue, deathlst, describe, drnk, drugs, eliza-flag, elizalst, famlst, feared, fears, feelings-about, foullst, found, hello, history, howareyoulst, howdyflag, huhlst, ibelieve, improve, inter, isee, isrelated, lincount, longhuhlst, lover, machlst, mathlst, maybe, moods, neglst, obj, object, owner, please, problems, qlist, random-adjective, relation, remlst, repetitive-shortness, replist, rms-flag, schoollst, sent, sexlst, shortbeclst, shortlst, something, sportslst, stallmanlst, states, subj, suicide-flag, sure, things, thlst, toklst, typos, verb, want, whatwhen, whereoutp, whysay, whywant, zippy-flag, zippylst): Defvar at compile time.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-0125-25/+41
|
* (zone-pgm-stress-destress): Use `insert-buffer-substring', not `insert-buffer'.Juanma Barranquero2005-07-181-1/+1
|
* (tetris-mode): Avoid warning.Richard M. Stallman2005-07-161-9/+10
|
* (snake-mode): Avoid warning.Richard M. Stallman2005-07-161-9/+10
|
* (gamegrid-shared-game-dir): Add defvar.Richard M. Stallman2005-07-161-13/+13
| | | | | | | | | (gamegrid-set-display-table): Avoid warning. (gamegrid-set-timer): Likewise. (gamegrid-make-mono-tty-face): Use set-face-inverse-video-p. (gamegrid-add-score-with-update-game-score-1): Take FILE as argument. (gamegrid-add-score-with-update-game-score): Pass that argument. Rename have-shared-game-dir to gamegrid-shared-game-dir.
* Update FSF's address.Lute Kamstra2005-07-0425-50/+50
|
* (decipher-loop-with-breaks): Change space constants "protected" from end of lineJuanma Barranquero2005-06-291-1/+1
| | | | by a comment to "?\s".
* (doctor-mode-map): Remove defvar.Lute Kamstra2005-06-101-13/+4
| | | | (doctor-mode): Use define-derived-mode.
* (blackbox-mode): Use run-mode-hooks.Lute Kamstra2005-06-101-3/+3
|
* Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-398Miles Bader2005-06-101-8/+16
| | | | | | | | | | | | Remove "-face" suffix from mpuz faces 2005-06-10 Miles Bader <miles@gnu.org> * lisp/play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial) (mpuz-text): Remove "-face" suffix from face names. (mpuz-unsolved-face, mpuz-solved-face, mpuz-trivial-face) (mpuz-text-face): New backward-compatibility aliases for renamed faces. (mpuz-create-buffer, mpuz-paint-digit): Use renamed mpuz faces.
* Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-397Miles Bader2005-06-101-8/+10
| | | | | | | | | | | | Remove "-face" suffix from gomoku faces 2005-06-10 Miles Bader <miles@gnu.org> * lisp/play/gomoku.el (gomoku-O, gomoku-X): Remove "-face" suffix from face names. (gomoku-font-lock-O-face, gomoku-font-lock-X-face): New backward-compatibility aliases for renamed faces. (gomoku-font-lock-keywords): Use renamed gomoku faces.
* (dun-mode): Use define-derived-mode.Lute Kamstra2005-06-101-14/+8
| | | | | (dungeon-mode-map): Rename to dun-mode-map. Keep old name as an obsolete alias.
* * play/5x5.el (5x5-mode):Lute Kamstra2005-05-268-10/+12
| | | | | | | | | | | | * play/decipher.el (decipher-mode, decipher-stats-mode): * play/gomoku.el (gomoku-mode): * play/snake.el (snake-mode): * play/solitaire.el (solitaire-mode): * play/tetris.el (tetris-mode): Use run-mode-hooks. * play/landmark.el (lm-mode): * play/mpuz.el (mpuz-mode): Use kill-all-local-variables and run-mode-hooks.
* Replace `string-to-int' by `string-to-number'.Juanma Barranquero2005-05-161-3/+3
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-05-1217-17/+17
|
* (animate-place-char): Use forward-line insteadKim F. Storm2005-03-091-2/+4
| | | | of next-line to improve performance.
* (decipher-mode): Don't call decipher-read-alphabet if buffer is empty.Richard M. Stallman2005-01-171-1/+2
|
* (zone-pgm-random-life): Fix typo.Thien-Thi Nguyen2004-12-171-1/+1
|
* (zone): Init `line-spacing' from orig buffer.Thien-Thi Nguyen2004-12-171-20/+31
| | | | | | | | | | | (zone-replace-char): Take `count' and `del-count' instead of `direction'. Update callers. When `del-count' is non-nil, delete that many characters, otherwise `count' characters backwards. Insert the newly-replaced string `count' times. (zone-fret): Handle chars w/ width greater than one. (zone-fall-through-ws): No longer take window width `ww'. Update callers. Add handling for `char-width' greater than one. (zone-pgm-drip): Update var holding window-end position every cycle.
* Commentary munging; nfc.Thien-Thi Nguyen2004-12-161-3/+4
|
* (zone): Fix omission bug: Use a self-disablingThien-Thi Nguyen2004-12-161-6/+16
| | | | | | one-shot thunk for uniform (error, quit, normal) recovery. (zone-pgm-random-life): Fix bug: Recognize empty initial field by lack of "@" chars.
* Add to THANKS in Commentary; nfc.Thien-Thi Nguyen2004-12-151-1/+1
|
* (zone): Set `truncate-lines'.Thien-Thi Nguyen2004-12-151-124/+121
| | | | | | | | | | | | | | | | | | | Also, init `tab-width' with value from original buffer. (zone-shift-up): Rewrite for speed. (zone-shift-down, zone-shift-left, zone-shift-right): Likewise. (zone-pgm-jitter): Remove redundant entries from ops vector. (zone-exploding-remove): Reduce iteration count. (zone-cpos): Convert to defsubst. (zone-replace-char): New defsubst. (zone-park/sit-for): Likewise. (zone-fret): Take window-start arg. Update callers. Use `zone-park/sit-for'. (zone-fill-out-screen): Rewrite. (zone-fall-through-ws): Likewise. Update callers. (zone-pgm-drip): Use `zone-replace-char'. Move var inits before while-loop. Use `zone-park/sit-for'. (zone-pgm-random-life): Handle empty initial field. Use `zone-replace-char' and `zone-park/sit-for'.
* (zone-programs): Add `zone-pgm-random-life'.Thien-Thi Nguyen2004-12-111-24/+79
| | | | | | | | | (zone-fill-out-screen): New func. (zone-pgm-drip): Use `zone-fill-out-screen'. Also, no longer go to point-min on every cycle. (zone-pgm-paragraph-spaz): Allow spazzing for texinfo-mode. (zone-pgm-random-life-wait): New user var. (zone-pgm-random-life): New func.
* Maintainer is now FSF.Luc Teirlinck2004-11-161-6/+7
| | | | | | (life-patterns, life-neighbor-deltas, life-window-start) (life-current-generation, life-generation-string): Use defvar instead of defconst.
* (5x5-new-game): Set up the buffer even if not interactive.Richard M. Stallman2004-11-011-3/+2
|
* (fortune-to-signature): Don't use interactive-p.Richard M. Stallman2004-11-011-2/+2
| | | | (fortune-in-buffer): Doc fix.
* (bb-trace-ray): Avoid double tracing.Thien-Thi Nguyen2004-09-081-28/+29
|