diff options
| author | Daniel Colascione | 2012-09-17 04:07:36 -0800 |
|---|---|---|
| committer | Daniel Colascione | 2012-09-17 04:07:36 -0800 |
| commit | 2ab329f3b5d52a39f0a45c3d9c129f1c19560142 (patch) | |
| tree | 6dd6784d63e54cb18071df8e28fbdbc27d418728 /etc | |
| parent | f701ab72dd55460d23c8b029550aa4d7ecef3cfa (diff) | |
| parent | bb7dce392f6d9d5fc4b9d7de09ff920a52f07669 (diff) | |
| download | emacs-2ab329f3b5d52a39f0a45c3d9c129f1c19560142.tar.gz emacs-2ab329f3b5d52a39f0a45c3d9c129f1c19560142.zip | |
Merge from trunk
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/ChangeLog | 49 | ||||
| -rw-r--r-- | etc/NEWS | 115 | ||||
| -rw-r--r-- | etc/TODO | 7 | ||||
| -rw-r--r-- | etc/refcards/Makefile | 27 | ||||
| -rw-r--r-- | etc/refcards/calccard.tex | 5 | ||||
| -rw-r--r-- | etc/refcards/cs-dired-ref.tex | 3 | ||||
| -rw-r--r-- | etc/refcards/cs-refcard.tex | 3 | ||||
| -rw-r--r-- | etc/refcards/cs-survival.tex | 3 | ||||
| -rw-r--r-- | etc/refcards/de-refcard.tex | 3 | ||||
| -rw-r--r-- | etc/refcards/dired-ref.tex | 3 | ||||
| -rw-r--r-- | etc/refcards/emacsver.tex | 4 | ||||
| -rw-r--r-- | etc/refcards/fr-dired-ref.tex | 3 | ||||
| -rw-r--r-- | etc/refcards/fr-refcard.tex | 3 | ||||
| -rw-r--r-- | etc/refcards/fr-survival.tex | 3 | ||||
| -rw-r--r-- | etc/refcards/orgcard.tex | 2 | ||||
| -rw-r--r-- | etc/refcards/pl-refcard.tex | 3 | ||||
| -rw-r--r-- | etc/refcards/pt-br-refcard.tex | 3 | ||||
| -rw-r--r-- | etc/refcards/refcard.tex | 3 | ||||
| -rw-r--r-- | etc/refcards/sk-dired-ref.tex | 3 | ||||
| -rw-r--r-- | etc/refcards/sk-refcard.tex | 3 | ||||
| -rw-r--r-- | etc/refcards/sk-survival.tex | 3 | ||||
| -rw-r--r-- | etc/refcards/survival.tex | 3 | ||||
| -rw-r--r-- | etc/refcards/vipcard.tex | 2 | ||||
| -rw-r--r-- | etc/refcards/viperCard.tex | 2 |
24 files changed, 196 insertions, 62 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog index f3f244c7e39..6f2b178fcd7 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog | |||
| @@ -1,3 +1,52 @@ | |||
| 1 | 2012-09-17 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * refcards/emacsver.tex: New file. | ||
| 4 | * refcards/calccard.tex, refcards/cs-dired-ref.tex: | ||
| 5 | * refcards/cs-refcard.tex, refcards/cs-survival.tex: | ||
| 6 | * refcards/de-refcard.tex, refcards/dired-ref.tex: | ||
| 7 | * refcards/emacsver.tex, refcards/fr-dired-ref.tex: | ||
| 8 | * refcards/fr-refcard.tex, refcards/fr-survival.tex: | ||
| 9 | * refcards/orgcard.tex, refcards/pl-refcard.tex: | ||
| 10 | * refcards/pt-br-refcard.tex, refcards/refcard.tex: | ||
| 11 | * refcards/sk-dired-ref.tex, refcards/sk-refcard.tex: | ||
| 12 | * refcards/sk-survival.tex, refcards/survival.tex: | ||
| 13 | * refcards/vipcard.tex, refcards/viperCard.tex: Include emacsver.tex. | ||
| 14 | * refcards/calccard.tex (\emacsversionnumber): | ||
| 15 | Rename to \versionemacs, same as all the other refcards. | ||
| 16 | * refcards/Makefile (ENVADD): New variable. | ||
| 17 | (sk-dired-ref.pdf, sk-survival.pdf, pl-refcard.pdf) | ||
| 18 | (%.pdf, %,dvi, sk-dired-ref.dvi, sk-survival.dvi, pl-refcard.dvi): | ||
| 19 | Depend on emacsver.tex. Add "." to TEXINPUTS for TeX commands. | ||
| 20 | |||
| 21 | 2012-09-16 Paul Eggert <eggert@cs.ucla.edu> | ||
| 22 | |||
| 23 | Remove configure's --without-sync-input option (Bug#12450). | ||
| 24 | * TODO (Make SYNC_INPUT the default): Remove, as the code now | ||
| 25 | behaves as if SYNC_INPUT is always true. | ||
| 26 | |||
| 27 | 2012-09-13 Paul Eggert <eggert@cs.ucla.edu> | ||
| 28 | |||
| 29 | Use a more backwards-compatible timer format (Bug#12430). | ||
| 30 | * NEWS: Document it, plus fix a typo. | ||
| 31 | |||
| 32 | 2012-09-13 Jan Djärv <jan.h.d@swipnet.se> | ||
| 33 | |||
| 34 | * NEWS (--with-x-toolkit): Mention that Gtk+ 3 is now default. | ||
| 35 | |||
| 36 | 2012-09-13 Paul Eggert <eggert@cs.ucla.edu> | ||
| 37 | |||
| 38 | * NEWS: Document timer format change (Bug#12430). | ||
| 39 | |||
| 40 | 2012-09-11 Paul Eggert <eggert@cs.ucla.edu> | ||
| 41 | |||
| 42 | Simplify, document, and port floating-point (Bug#12381). | ||
| 43 | * NEWS: Document NaNs versus signaling-error change. | ||
| 44 | |||
| 45 | 2012-09-04 Paul Eggert <eggert@cs.ucla.edu> | ||
| 46 | |||
| 47 | Give more-useful info on a fatal error (Bug#12328). | ||
| 48 | * NEWS: Document the change. | ||
| 49 | |||
| 1 | 2012-09-01 Paul Eggert <eggert@cs.ucla.edu> | 50 | 2012-09-01 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 51 | ||
| 3 | Better seeds for (random). | 52 | Better seeds for (random). |
| @@ -65,6 +65,14 @@ renamed to '--enable-check-lisp-object-type', as the resulting | |||
| 65 | Lisp_Object type no longer uses a union to implement the compile time | 65 | Lisp_Object type no longer uses a union to implement the compile time |
| 66 | check that this option enables. | 66 | check that this option enables. |
| 67 | 67 | ||
| 68 | --- | ||
| 69 | ** The default toolkit has been changed to Gtk+ version 3. | ||
| 70 | If you don't pass --with-x-toolkit to configure or if you pass | ||
| 71 | --with-x-toolkit=gtk or --with-x-toolkit=yes, configure will try to build | ||
| 72 | with Gtk+ version 3, and if that fails, try Gtk+ version 2. | ||
| 73 | You can explicitly require a specific version by passing | ||
| 74 | --with-x-toolkit=gtk2 or --with-x-toolkit=gtk3 to configure. | ||
| 75 | |||
| 68 | 76 | ||
| 69 | * Startup Changes in Emacs 24.3 | 77 | * Startup Changes in Emacs 24.3 |
| 70 | 78 | ||
| @@ -78,6 +86,10 @@ been adding them there, put them somewhere else, eg site-lisp. | |||
| 78 | 86 | ||
| 79 | * Changes in Emacs 24.3 | 87 | * Changes in Emacs 24.3 |
| 80 | 88 | ||
| 89 | ** You can now scroll the selected window in most y-or-n prompts. | ||
| 90 | Typing C-v or M-v at a prompt scrolls forward or backward | ||
| 91 | respectively, without leaving the y-or-n prompt. | ||
| 92 | |||
| 81 | ** Help changes | 93 | ** Help changes |
| 82 | 94 | ||
| 83 | *** `C-h f' (describe-function) can now perform autoloading. | 95 | *** `C-h f' (describe-function) can now perform autoloading. |
| @@ -97,6 +109,16 @@ machines. Other functions that use this format, such as | |||
| 97 | file-attributes and format-time-string, have been changed accordingly. | 109 | file-attributes and format-time-string, have been changed accordingly. |
| 98 | Old-format time stamps are still accepted. | 110 | Old-format time stamps are still accepted. |
| 99 | 111 | ||
| 112 | ** The format of timers in timer-list and timer-idle-list is now | ||
| 113 | [TRIGGERED-P HI-SECS LO-SECS USECS REPEAT-DELAY FUNCTION ARGS IDLE-DELAY PSECS]. | ||
| 114 | The PSECS slot is new, and uses picosecond resolution. It can be | ||
| 115 | accessed via the new timer--psecs accessor. | ||
| 116 | |||
| 117 | ** Emacs now generates backtraces on fatal errors. | ||
| 118 | On encountering a fatal error, Emacs now outputs a textual description | ||
| 119 | of the fatal signal, and a short backtrace on platforms like glibc | ||
| 120 | that support backtraces. | ||
| 121 | |||
| 100 | ** New functions `system-users', `system-groups' return lists of the user | 122 | ** New functions `system-users', `system-groups' return lists of the user |
| 101 | name, group names known to the system (where possible). | 123 | name, group names known to the system (where possible). |
| 102 | 124 | ||
| @@ -177,6 +199,14 @@ just removing them, as done by `yank-excluded-properties'. | |||
| 177 | delete-trailing-whitespace command should delete trailing lines at the | 199 | delete-trailing-whitespace command should delete trailing lines at the |
| 178 | end of the buffer. It defaults to t. | 200 | end of the buffer. It defaults to t. |
| 179 | 201 | ||
| 202 | +++ | ||
| 203 | ** `C-x r +' is now overloaded to invoke `append-to-register. | ||
| 204 | |||
| 205 | +++ | ||
| 206 | ** New option `register-separator' specifies the register containing | ||
| 207 | the text to put between collected texts for use with M-x | ||
| 208 | append-to-register and M-x prepend-to-register. | ||
| 209 | |||
| 180 | ** Search changes | 210 | ** Search changes |
| 181 | 211 | ||
| 182 | *** Global `M-s _' starts a symbol (identifier) incremental search, | 212 | *** Global `M-s _' starts a symbol (identifier) incremental search, |
| @@ -192,6 +222,13 @@ of one or more whitespace characters defined by the variable | |||
| 192 | `isearch-lax-whitespace'. In regexp incremental search, it toggles | 222 | `isearch-lax-whitespace'. In regexp incremental search, it toggles |
| 193 | the value of the variable `isearch-regexp-lax-whitespace'. | 223 | the value of the variable `isearch-regexp-lax-whitespace'. |
| 194 | 224 | ||
| 225 | ** query-replace changes | ||
| 226 | |||
| 227 | *** When new option `replace-lax-whitespace' is non-nil, | ||
| 228 | and you enter a space or spaces in the strings or regexps | ||
| 229 | to be replaced, `query-replace' will match any sequence matched | ||
| 230 | by the regexp `search-whitespace-regexp'. | ||
| 231 | |||
| 195 | ** M-x move-to-column, if called interactively with no prefix arg, now | 232 | ** M-x move-to-column, if called interactively with no prefix arg, now |
| 196 | prompts for a column number. | 233 | prompts for a column number. |
| 197 | 234 | ||
| @@ -320,6 +357,14 @@ python-describe-symbol | python-eldoc-at-point | |||
| 320 | 357 | ||
| 321 | *** Accepts \r and \f as whitespace. | 358 | *** Accepts \r and \f as whitespace. |
| 322 | 359 | ||
| 360 | ** SQL Mode | ||
| 361 | |||
| 362 | *** DB2 added `sql-db2-escape-newlines' | ||
| 363 | |||
| 364 | If non-nil, newlines sent to the command interpreter will be escaped | ||
| 365 | by a backslash. The default does not escape the newlines and assumes | ||
| 366 | that the sql statement will be terminated by a semicolon. | ||
| 367 | |||
| 323 | ** Diff mode | 368 | ** Diff mode |
| 324 | 369 | ||
| 325 | Faces for changes now use the same diff color scheme as in modern VCSes | 370 | Faces for changes now use the same diff color scheme as in modern VCSes |
| @@ -331,6 +376,9 @@ The variable `diff-use-changed-face' defines whether to use | |||
| 331 | the face `diff-changed', or `diff-removed' and `diff-added' | 376 | the face `diff-changed', or `diff-removed' and `diff-added' |
| 332 | to highlight changes in context diffs. | 377 | to highlight changes in context diffs. |
| 333 | 378 | ||
| 379 | *** The new command `diff-remove-trailing-whitespace' fixes trailing | ||
| 380 | whitespace problems introduced by the diff. | ||
| 381 | |||
| 334 | ** Ediff now uses the same color scheme as Diff mode | 382 | ** Ediff now uses the same color scheme as Diff mode |
| 335 | on high color displays. | 383 | on high color displays. |
| 336 | 384 | ||
| @@ -411,6 +459,13 @@ channel keys found, if any. | |||
| 411 | if the command ends in `;' (when operating on multiple files). | 459 | if the command ends in `;' (when operating on multiple files). |
| 412 | Otherwise, it executes the command on each file in parallel. | 460 | Otherwise, it executes the command on each file in parallel. |
| 413 | 461 | ||
| 462 | *** The minibuffer default for `=' (`dired-diff) has changed. | ||
| 463 | It is now the backup file for the file at point, if one exists, rather | ||
| 464 | than the file at the mark. | ||
| 465 | |||
| 466 | *** `M-=' is no longer bound to `dired-backup-diff' in Dired buffers. | ||
| 467 | The global binding for `M-=', `count-words-region' is in effect. | ||
| 468 | |||
| 414 | ** Shell | 469 | ** Shell |
| 415 | 470 | ||
| 416 | *** New option `async-shell-command-buffer' specifies what buffer to use | 471 | *** New option `async-shell-command-buffer' specifies what buffer to use |
| @@ -596,11 +651,18 @@ are deprecated and will be removed eventually. | |||
| 596 | 651 | ||
| 597 | *** `facemenu-unlisted-faces' | 652 | *** `facemenu-unlisted-faces' |
| 598 | *** `rmail-decode-mime-charset' | 653 | *** `rmail-decode-mime-charset' |
| 599 | *** `last-input-char' and `last-command-char' | 654 | *** `last-input-char', `last-command-char', `unread-command-char'. |
| 600 | 655 | ||
| 601 | 656 | ||
| 602 | * Lisp changes in Emacs 24.3 | 657 | * Lisp changes in Emacs 24.3 |
| 603 | 658 | ||
| 659 | ** Interpreted files get eagerly macro-expanded during load. | ||
| 660 | This can significantly speed up execution of non-byte-compiled code, but can | ||
| 661 | also bump into harmless and previously unnoticed cyclic dependencies. | ||
| 662 | These should not be fatal: they will simply cause the macro-calls to be left | ||
| 663 | for later expansion (as before), but will also result in a warning describing | ||
| 664 | the cycle. | ||
| 665 | |||
| 604 | ** New minor mode `read-only-mode' to replace toggle-read-only (now obsolete). | 666 | ** New minor mode `read-only-mode' to replace toggle-read-only (now obsolete). |
| 605 | 667 | ||
| 606 | ** New functions `autoloadp' and `autoload-do-load'. | 668 | ** New functions `autoloadp' and `autoload-do-load'. |
| @@ -626,26 +688,54 @@ The interpretation of the DECLS is determined by `defun-declarations-alist'. | |||
| 626 | 688 | ||
| 627 | ** New error type and new function `user-error'. Doesn't trigger the debugger. | 689 | ** New error type and new function `user-error'. Doesn't trigger the debugger. |
| 628 | 690 | ||
| 691 | ** Debugger | ||
| 692 | *** New option `debugger-bury-or-kill'. | ||
| 693 | |||
| 694 | *** Set `debug-on-message' to enter the debugger when a certain | ||
| 695 | message is displayed in the echo area. This can be useful when trying | ||
| 696 | to work out which code is doing something. | ||
| 697 | |||
| 698 | *** New var `inhibit-debugger', automatically set to prevent accidental | ||
| 699 | recursive invocations. | ||
| 700 | |||
| 701 | +++ | ||
| 702 | ** New utility function `buffer-narrowed-p'. | ||
| 703 | |||
| 629 | ** Window changes | 704 | ** Window changes |
| 630 | 705 | ||
| 631 | *** The functions get-lru-window, get-mru-window and get-largest-window | 706 | *** The functions get-lru-window, get-mru-window and get-largest-window |
| 632 | now accept a third argument to avoid choosing the selected window. | 707 | now accept a third argument to avoid choosing the selected window. |
| 633 | 708 | ||
| 634 | *** New display action alist `inhibit-switch-frame', if non-nil, tells | 709 | *** New macro `with-temp-buffer-window'. |
| 635 | display action functions to avoid changing which frame is selected. | 710 | |
| 711 | *** New option `temp-buffer-resize-frames'. | ||
| 712 | |||
| 713 | *** New function `fit-frame-to-buffer' and new option | ||
| 714 | `fit-frame-to-buffer-bottom-margin'. | ||
| 636 | 715 | ||
| 637 | *** New display action alist `pop-up-frame-parameters', if non-nil, | 716 | *** New display action functions `display-buffer-below-selected' and |
| 638 | specifies frame parameters to give any newly-created frame. | 717 | `display-buffer-in-previous-window'. |
| 718 | |||
| 719 | *** New display action alist entry `inhibit-switch-frame', if non-nil, | ||
| 720 | tells display action functions to avoid changing which frame is | ||
| 721 | selected. | ||
| 722 | |||
| 723 | *** New display action alist entry `pop-up-frame-parameters', if | ||
| 724 | non-nil, specifies frame parameters to give any newly-created frame. | ||
| 725 | |||
| 726 | *** New display action alist entry `previous-window', if non-nil, | ||
| 727 | specifies window to reuse in `display-buffer-in-previous-window'. | ||
| 639 | 728 | ||
| 640 | *** The following variables are obsolete, as they can be replaced by | 729 | *** The following variables are obsolete, as they can be replaced by |
| 641 | appropriate entries in the `display-buffer-alist' function introduced | 730 | appropriate entries in the `display-buffer-alist' function introduced |
| 642 | in Emacs 24.1: | 731 | in Emacs 24.1: |
| 643 | 732 | +++ | |
| 644 | **** `display-buffer-reuse-frames' | 733 | **** `display-buffer-reuse-frames' |
| 645 | **** `special-display-regexps' | 734 | **** `special-display-regexps' |
| 646 | **** `special-display-frame-alist' | 735 | **** `special-display-frame-alist' |
| 647 | **** `special-display-buffer-names' | 736 | **** `special-display-buffer-names' |
| 648 | **** `special-display-function' | 737 | **** `special-display-function' |
| 738 | **** `display-buffer-function' | ||
| 649 | 739 | ||
| 650 | ** Completion | 740 | ** Completion |
| 651 | 741 | ||
| @@ -661,12 +751,21 @@ table, but with a different prefix. | |||
| 661 | must be in the range 1000..9999. It now works with any year supported | 751 | must be in the range 1000..9999. It now works with any year supported |
| 662 | by the underlying C implementation. | 752 | by the underlying C implementation. |
| 663 | 753 | ||
| 754 | ** Floating point | ||
| 755 | |||
| 756 | *** When floating point functions such as `log' are given invalid | ||
| 757 | arguments, e.g., (log -1.0), they now uniformly return special values | ||
| 758 | such as NaNs instead of signaling errors. Previously, these functions | ||
| 759 | returned NaNs on some platforms but signaled errors on others. The affected | ||
| 760 | functions are acos, asin, tan, exp, expt, log, log10, sqrt, and mod. | ||
| 761 | |||
| 664 | ** New function file-name-base. | 762 | ** New function file-name-base. |
| 665 | 763 | ||
| 666 | ** New function `tty-top-frame' returns the topmost frame of a text terminal. | 764 | ** New function `tty-top-frame' returns the topmost frame of a text terminal. |
| 667 | 765 | ||
| 668 | ** `automount-dir-prefix' is obsolete. | 766 | ** `automount-dir-prefix' is obsolete. |
| 669 | ** `buffer-has-markers-at' is obsolete. | 767 | ** `buffer-has-markers-at' is obsolete. |
| 768 | ** `window-system-version' is obsolete. | ||
| 670 | 769 | ||
| 671 | * Changes in Emacs 24.3 on non-free operating systems | 770 | * Changes in Emacs 24.3 on non-free operating systems |
| 672 | 771 | ||
| @@ -1399,6 +1498,10 @@ If you had that set, you need to put | |||
| 1399 | 1498 | ||
| 1400 | in your ~/.authinfo file instead. | 1499 | in your ~/.authinfo file instead. |
| 1401 | 1500 | ||
| 1501 | *** SMTPmail defaults to using the address in the From: header as the | ||
| 1502 | SMTP MAIL FROM envelope. To override this, set `mail-envelope-from' | ||
| 1503 | to the address you wish to use instead. | ||
| 1504 | |||
| 1402 | ** SQL mode | 1505 | ** SQL mode |
| 1403 | 1506 | ||
| 1404 | *** New options `sql-port', `sql-connection-alist', `sql-send-terminator', | 1507 | *** New options `sql-port', `sql-connection-alist', `sql-send-terminator', |
| @@ -1229,13 +1229,6 @@ systems for HTML/XML files automatically." | |||
| 1229 | For use by sml-mode, python-mode, tex-mode, scheme-mode, lisp-mode, | 1229 | For use by sml-mode, python-mode, tex-mode, scheme-mode, lisp-mode, |
| 1230 | haskell-mode, tuareg-mode, ... | 1230 | haskell-mode, tuareg-mode, ... |
| 1231 | 1231 | ||
| 1232 | ** Make SYNC_INPUT the default. [true since 2008-03-11] | ||
| 1233 | All loops using immediate_quit need to be checked to ensure that | ||
| 1234 | C-g can interrupt them, in case of an infinite loop. Once we | ||
| 1235 | switch to using SYNC_INPUT, we can remove the BLOCK_INPUTs in the | ||
| 1236 | allocation functions (allocate_string etc.) without worrying about | ||
| 1237 | data munging. | ||
| 1238 | |||
| 1239 | ** Add "link" button class | 1232 | ** Add "link" button class |
| 1240 | Add a standard button-class named "link", and make all other link-like | 1233 | Add a standard button-class named "link", and make all other link-like |
| 1241 | button classes inherit from it. Set the default face of the "link" button | 1234 | button classes inherit from it. Set the default face of the "link" button |
diff --git a/etc/refcards/Makefile b/etc/refcards/Makefile index 64e2d8638f8..ef810da6022 100644 --- a/etc/refcards/Makefile +++ b/etc/refcards/Makefile | |||
| @@ -47,26 +47,27 @@ VIPER_CARDS_PDF = vipcard.pdf viperCard.pdf | |||
| 47 | viper-cards_pdf: ${VIPER_CARDS_PDF} | 47 | viper-cards_pdf: ${VIPER_CARDS_PDF} |
| 48 | viper-cards_ps: ${VIPER_CARDS_PDF:.pdf=.ps} | 48 | viper-cards_ps: ${VIPER_CARDS_PDF:.pdf=.ps} |
| 49 | 49 | ||
| 50 | ENVADD = TEXINPUTS=".:" | ||
| 50 | 51 | ||
| 51 | ## PDF files. | 52 | ## PDF files. |
| 52 | 53 | ||
| 53 | ## The page layouts (a4/letter) are written directly in the .tex files. | 54 | ## The page layouts (a4/letter) are written directly in the .tex files. |
| 54 | 55 | ||
| 55 | cs-refcard.pdf cs-dired-ref.pdf cs-survival.pdf sk-refcard.pdf \ | 56 | cs-refcard.pdf cs-dired-ref.pdf cs-survival.pdf sk-refcard.pdf \ |
| 56 | sk-dired-ref.pdf sk-survival.pdf: %.pdf: %.tex | 57 | sk-dired-ref.pdf sk-survival.pdf: %.pdf: %.tex emacsver.tex |
| 57 | if pdfcsplain --version > /dev/null 2> /dev/null; then \ | 58 | if pdfcsplain --version > /dev/null 2> /dev/null; then \ |
| 58 | pdfcsplain $<; \ | 59 | ${ENVADD} pdfcsplain $<; \ |
| 59 | else \ | 60 | else \ |
| 60 | csplain "\pdfoutput=1\input $<"; \ | 61 | ${ENVADD} csplain "\pdfoutput=1\input $<"; \ |
| 61 | fi | 62 | fi |
| 62 | 63 | ||
| 63 | ## Some versions of pdfmex seem to create dvi by default, hence output-format. | 64 | ## Some versions of pdfmex seem to create dvi by default, hence output-format. |
| 64 | pl-refcard.pdf: %.pdf: %.tex | 65 | pl-refcard.pdf: %.pdf: %.tex emacsver.tex |
| 65 | if ! kpsewhich -format=fmt mex > /dev/null && \ | 66 | if ! kpsewhich -format=fmt mex > /dev/null && \ |
| 66 | ! pdfmex --version > /dev/null 2> /dev/null; then \ | 67 | ! pdfmex --version > /dev/null 2> /dev/null; then \ |
| 67 | echo "No mex format found."; false; \ | 68 | echo "No mex format found."; false; \ |
| 68 | fi | 69 | fi |
| 69 | pdftex -output-format=pdf $< | 70 | ${ENVADD} pdftex -output-format=pdf $< |
| 70 | 71 | ||
| 71 | ru-refcard.pdf: %.pdf: %.tex | 72 | ru-refcard.pdf: %.pdf: %.tex |
| 72 | pdflatex $< | 73 | pdflatex $< |
| @@ -81,21 +82,21 @@ gnus-booklet.pdf: gnus-refcard.tex gnus-logo.pdf | |||
| 81 | pdflatex -jobname=gnus-booklet '\def\booklettrue{}\def\letterpapertrue{}\input{gnus-refcard}' | 82 | pdflatex -jobname=gnus-booklet '\def\booklettrue{}\def\letterpapertrue{}\input{gnus-refcard}' |
| 82 | 83 | ||
| 83 | ## Everything not explicitly listed above. | 84 | ## Everything not explicitly listed above. |
| 84 | %.pdf: %.tex | 85 | %.pdf: %.tex emacsver.tex |
| 85 | pdftex $< | 86 | ${ENVADD} pdftex $< |
| 86 | 87 | ||
| 87 | 88 | ||
| 88 | ## dvi files. | 89 | ## dvi files. |
| 89 | 90 | ||
| 90 | cs-refcard.dvi cs-dired-ref.dvi cs-survival.dvi sk-refcard.dvi \ | 91 | cs-refcard.dvi cs-dired-ref.dvi cs-survival.dvi sk-refcard.dvi \ |
| 91 | sk-dired-ref.dvi sk-survival.dvi: %.dvi: %.tex | 92 | sk-dired-ref.dvi sk-survival.dvi: %.dvi: %.tex emacsver.tex |
| 92 | csplain $< | 93 | ${ENVADD} csplain $< |
| 93 | 94 | ||
| 94 | pl-refcard.dvi: %.dvi: %.tex | 95 | pl-refcard.dvi: %.dvi: %.tex emacsver.tex |
| 95 | if ! kpsewhich -format=fmt mex > /dev/null; then \ | 96 | if ! kpsewhich -format=fmt mex > /dev/null; then \ |
| 96 | echo "No mex format found."; false; \ | 97 | echo "No mex format found."; false; \ |
| 97 | fi | 98 | fi |
| 98 | tex $< | 99 | ${ENVADD} tex $< |
| 99 | 100 | ||
| 100 | ru-refcard.dvi gnus-refcard.dvi: %.dvi: %.tex | 101 | ru-refcard.dvi gnus-refcard.dvi: %.dvi: %.tex |
| 101 | latex $< | 102 | latex $< |
| @@ -105,8 +106,8 @@ gnus-booklet.dvi: gnus-refcard.tex | |||
| 105 | mv gnus-refcard.dvi $@ | 106 | mv gnus-refcard.dvi $@ |
| 106 | 107 | ||
| 107 | ## Everything not explicitly listed above. | 108 | ## Everything not explicitly listed above. |
| 108 | %.dvi: %.tex | 109 | %.dvi: %.tex emacsver.tex |
| 109 | tex $< | 110 | ${ENVADD} tex $< |
| 110 | 111 | ||
| 111 | 112 | ||
| 112 | ## PostScript files. | 113 | ## PostScript files. |
diff --git a/etc/refcards/calccard.tex b/etc/refcards/calccard.tex index fd3d45b8da4..04c88befeea 100644 --- a/etc/refcards/calccard.tex +++ b/etc/refcards/calccard.tex | |||
| @@ -63,8 +63,7 @@ | |||
| 63 | % UUCP: mit-erl!gildea | 63 | % UUCP: mit-erl!gildea |
| 64 | % Internet: gildea@stop.mail-abuse.org | 64 | % Internet: gildea@stop.mail-abuse.org |
| 65 | 65 | ||
| 66 | \def\emacsversionnumber{24} | 66 | \input emacsver.tex |
| 67 | \def\year{2012} % latest copyright year | ||
| 68 | 67 | ||
| 69 | \def\shortcopyrightnotice{\vskip 1ex plus 2 fill | 68 | \def\shortcopyrightnotice{\vskip 1ex plus 2 fill |
| 70 | \centerline{\small \copyright\ \year\ Free Software Foundation, Inc. | 69 | \centerline{\small \copyright\ \year\ Free Software Foundation, Inc. |
| @@ -276,7 +275,7 @@ are preserved on all copies. | |||
| 276 | 275 | ||
| 277 | \title{GNU Calc Reference Card} | 276 | \title{GNU Calc Reference Card} |
| 278 | 277 | ||
| 279 | \centerline{(for GNU Emacs version \emacsversionnumber)} | 278 | \centerline{(for GNU Emacs version \versionemacs)} |
| 280 | 279 | ||
| 281 | \section{Starting and Stopping} | 280 | \section{Starting and Stopping} |
| 282 | 281 | ||
diff --git a/etc/refcards/cs-dired-ref.tex b/etc/refcards/cs-dired-ref.tex index ee7acaf416d..45867e11d44 100644 --- a/etc/refcards/cs-dired-ref.tex +++ b/etc/refcards/cs-dired-ref.tex | |||
| @@ -41,8 +41,7 @@ | |||
| 41 | \input pdflayout.sty | 41 | \input pdflayout.sty |
| 42 | \pdflayout=(0) | 42 | \pdflayout=(0) |
| 43 | 43 | ||
| 44 | \def\versionemacs{24} % version of Emacs this is for | 44 | \input emacsver.tex |
| 45 | \def\year{2012} % latest copyright year | ||
| 46 | 45 | ||
| 47 | % Nothing else needs to be changed. | 46 | % Nothing else needs to be changed. |
| 48 | 47 | ||
diff --git a/etc/refcards/cs-refcard.tex b/etc/refcards/cs-refcard.tex index d17e5c6ddeb..98842dd08e0 100644 --- a/etc/refcards/cs-refcard.tex +++ b/etc/refcards/cs-refcard.tex | |||
| @@ -59,8 +59,7 @@ | |||
| 59 | \input pdflayout.sty | 59 | \input pdflayout.sty |
| 60 | \pdflayout=(0) | 60 | \pdflayout=(0) |
| 61 | 61 | ||
| 62 | \def\versionemacs{24} % version of Emacs this is for | 62 | \input emacsver.tex |
| 63 | \def\year{2012} % latest copyright year | ||
| 64 | 63 | ||
| 65 | % Nothing else needs to be changed. | 64 | % Nothing else needs to be changed. |
| 66 | 65 | ||
diff --git a/etc/refcards/cs-survival.tex b/etc/refcards/cs-survival.tex index 5aa111c0297..4050cf0a1ab 100644 --- a/etc/refcards/cs-survival.tex +++ b/etc/refcards/cs-survival.tex | |||
| @@ -54,8 +54,7 @@ | |||
| 54 | % Czech hyphenation rules applied | 54 | % Czech hyphenation rules applied |
| 55 | \chyph | 55 | \chyph |
| 56 | 56 | ||
| 57 | \def\versionemacs{24} % version of Emacs this is for | 57 | \input emacsver.tex |
| 58 | \def\year{2012} % latest copyright year | ||
| 59 | 58 | ||
| 60 | \def\copyrightnotice{\penalty-1\vfill | 59 | \def\copyrightnotice{\penalty-1\vfill |
| 61 | \vbox{\smallfont\baselineskip=0.8\baselineskip\raggedcenter | 60 | \vbox{\smallfont\baselineskip=0.8\baselineskip\raggedcenter |
diff --git a/etc/refcards/de-refcard.tex b/etc/refcards/de-refcard.tex index ca3141b8390..906895b358a 100644 --- a/etc/refcards/de-refcard.tex +++ b/etc/refcards/de-refcard.tex | |||
| @@ -60,8 +60,7 @@ | |||
| 60 | \input german.sty | 60 | \input german.sty |
| 61 | \mdqoff % deactivates the "-char | 61 | \mdqoff % deactivates the "-char |
| 62 | 62 | ||
| 63 | \def\versionemacs{24} % version of Emacs this is for | 63 | \input emacsver.tex |
| 64 | \def\year{2012} % latest copyright year | ||
| 65 | 64 | ||
| 66 | % Nothing else needs to be changed below this line. | 65 | % Nothing else needs to be changed below this line. |
| 67 | 66 | ||
diff --git a/etc/refcards/dired-ref.tex b/etc/refcards/dired-ref.tex index 9ccf57682ff..b85bef1ce0b 100644 --- a/etc/refcards/dired-ref.tex +++ b/etc/refcards/dired-ref.tex | |||
| @@ -43,8 +43,7 @@ | |||
| 43 | \input pdflayout.sty | 43 | \input pdflayout.sty |
| 44 | \pdflayout=(1) | 44 | \pdflayout=(1) |
| 45 | 45 | ||
| 46 | \def\versionemacs{24} % version of Emacs this is for | 46 | \input emacsver.tex |
| 47 | \def\year{2012} % latest copyright year | ||
| 48 | 47 | ||
| 49 | % Nothing else needs to be changed. | 48 | % Nothing else needs to be changed. |
| 50 | 49 | ||
diff --git a/etc/refcards/emacsver.tex b/etc/refcards/emacsver.tex new file mode 100644 index 00000000000..620ee8ef9e0 --- /dev/null +++ b/etc/refcards/emacsver.tex | |||
| @@ -0,0 +1,4 @@ | |||
| 1 | %% This file is not generated by configure, because then the provided | ||
| 2 | %% pdf files would always appear out-of-date. | ||
| 3 | \def\versionemacs{24} % major version of emacs | ||
| 4 | \def\year{2012} % latest copyright year | ||
diff --git a/etc/refcards/fr-dired-ref.tex b/etc/refcards/fr-dired-ref.tex index 2819bbaa25b..457ee2db472 100644 --- a/etc/refcards/fr-dired-ref.tex +++ b/etc/refcards/fr-dired-ref.tex | |||
| @@ -35,8 +35,7 @@ | |||
| 35 | \input pdflayout.sty | 35 | \input pdflayout.sty |
| 36 | \pdflayout=(0) | 36 | \pdflayout=(0) |
| 37 | 37 | ||
| 38 | \def\versionemacs{24} % version of Emacs this is for | 38 | \input emacsver.tex |
| 39 | \def\year{2012} % latest copyright year | ||
| 40 | 39 | ||
| 41 | % Nothing else needs to be changed. | 40 | % Nothing else needs to be changed. |
| 42 | 41 | ||
diff --git a/etc/refcards/fr-refcard.tex b/etc/refcards/fr-refcard.tex index ed82f00a85d..4fe94d79075 100644 --- a/etc/refcards/fr-refcard.tex +++ b/etc/refcards/fr-refcard.tex | |||
| @@ -56,8 +56,7 @@ | |||
| 56 | \input pdflayout.sty | 56 | \input pdflayout.sty |
| 57 | \pdflayout=(0l) | 57 | \pdflayout=(0l) |
| 58 | 58 | ||
| 59 | \def\versionemacs{24} % version of Emacs this is for | 59 | \input emacsver.tex |
| 60 | \def\year{2012} % latest copyright year | ||
| 61 | 60 | ||
| 62 | % Nothing else needs to be changed below this line. | 61 | % Nothing else needs to be changed below this line. |
| 63 | 62 | ||
diff --git a/etc/refcards/fr-survival.tex b/etc/refcards/fr-survival.tex index 1cd9cc4cf05..16d67f6b1cd 100644 --- a/etc/refcards/fr-survival.tex +++ b/etc/refcards/fr-survival.tex | |||
| @@ -49,8 +49,7 @@ | |||
| 49 | \input pdflayout.sty | 49 | \input pdflayout.sty |
| 50 | \pdflayout=(0) | 50 | \pdflayout=(0) |
| 51 | 51 | ||
| 52 | \def\versionemacs{24} % version of Emacs this is for | 52 | \input emacsver.tex |
| 53 | \def\year{2012} % latest copyright year | ||
| 54 | 53 | ||
| 55 | \def\copyrightnotice{\penalty-1\vfill | 54 | \def\copyrightnotice{\penalty-1\vfill |
| 56 | \vbox{\smallfont\baselineskip=0.8\baselineskip\raggedcenter | 55 | \vbox{\smallfont\baselineskip=0.8\baselineskip\raggedcenter |
diff --git a/etc/refcards/orgcard.tex b/etc/refcards/orgcard.tex index 3c0584d6db4..60e81f36d3e 100644 --- a/etc/refcards/orgcard.tex +++ b/etc/refcards/orgcard.tex | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | % Reference Card for Org Mode | 1 | % Reference Card for Org Mode |
| 2 | \def\orgversionnumber{7.8.11} | 2 | \def\orgversionnumber{7.8.11} |
| 3 | \def\versionyear{2012} % latest update | 3 | \def\versionyear{2012} % latest update |
| 4 | \def\year{2012} % latest copyright year | 4 | \input emacsver.tex |
| 5 | 5 | ||
| 6 | %**start of header | 6 | %**start of header |
| 7 | \newcount\columnsperpage | 7 | \newcount\columnsperpage |
diff --git a/etc/refcards/pl-refcard.tex b/etc/refcards/pl-refcard.tex index 9cc6fc6a6cd..db814cfa8c2 100644 --- a/etc/refcards/pl-refcard.tex +++ b/etc/refcards/pl-refcard.tex | |||
| @@ -69,8 +69,7 @@ | |||
| 69 | \input pdflayout.sty | 69 | \input pdflayout.sty |
| 70 | \pdflayout=(0) | 70 | \pdflayout=(0) |
| 71 | 71 | ||
| 72 | \def\versionemacs{24} % version of Emacs this is for | 72 | \input emacsver.tex |
| 73 | \def\year{2012} % latest copyright year | ||
| 74 | 73 | ||
| 75 | % Nothing else needs to be changed. | 74 | % Nothing else needs to be changed. |
| 76 | 75 | ||
diff --git a/etc/refcards/pt-br-refcard.tex b/etc/refcards/pt-br-refcard.tex index c16d5096f30..d3fbe54ce87 100644 --- a/etc/refcards/pt-br-refcard.tex +++ b/etc/refcards/pt-br-refcard.tex | |||
| @@ -62,8 +62,7 @@ | |||
| 62 | \input pdflayout.sty | 62 | \input pdflayout.sty |
| 63 | \pdflayout=(0l) | 63 | \pdflayout=(0l) |
| 64 | 64 | ||
| 65 | \def\versionemacs{24} % version of Emacs this is for | 65 | \input emacsver.tex |
| 66 | \def\year{2012} % latest copyright year | ||
| 67 | 66 | ||
| 68 | % Nothing else needs to be changed below this line. | 67 | % Nothing else needs to be changed below this line. |
| 69 | 68 | ||
diff --git a/etc/refcards/refcard.tex b/etc/refcards/refcard.tex index 70788e8c67b..6ca9856085d 100644 --- a/etc/refcards/refcard.tex +++ b/etc/refcards/refcard.tex | |||
| @@ -63,8 +63,7 @@ | |||
| 63 | 63 | ||
| 64 | % Nothing else needs to be changed below this line. | 64 | % Nothing else needs to be changed below this line. |
| 65 | 65 | ||
| 66 | \def\versionemacs{24} % version of Emacs this is for | 66 | \input emacsver.tex |
| 67 | \def\year{2012} % copyright year | ||
| 68 | 67 | ||
| 69 | \def\shortcopyrightnotice{\vskip 1ex plus 2 fill | 68 | \def\shortcopyrightnotice{\vskip 1ex plus 2 fill |
| 70 | \centerline{\small \copyright\ \year\ Free Software Foundation, Inc. | 69 | \centerline{\small \copyright\ \year\ Free Software Foundation, Inc. |
diff --git a/etc/refcards/sk-dired-ref.tex b/etc/refcards/sk-dired-ref.tex index 4b12b0b42eb..50d17409072 100644 --- a/etc/refcards/sk-dired-ref.tex +++ b/etc/refcards/sk-dired-ref.tex | |||
| @@ -42,8 +42,7 @@ | |||
| 42 | \input pdflayout.sty | 42 | \input pdflayout.sty |
| 43 | \pdflayout=(0) | 43 | \pdflayout=(0) |
| 44 | 44 | ||
| 45 | \def\versionemacs{24} % version of Emacs this is for | 45 | \input emacsver.tex |
| 46 | \def\year{2012} % latest copyright year | ||
| 47 | 46 | ||
| 48 | % Nothing else needs to be changed. | 47 | % Nothing else needs to be changed. |
| 49 | 48 | ||
diff --git a/etc/refcards/sk-refcard.tex b/etc/refcards/sk-refcard.tex index 5105e8ca986..e617387fad1 100644 --- a/etc/refcards/sk-refcard.tex +++ b/etc/refcards/sk-refcard.tex | |||
| @@ -60,8 +60,7 @@ | |||
| 60 | \input pdflayout.sty | 60 | \input pdflayout.sty |
| 61 | \pdflayout=(0) | 61 | \pdflayout=(0) |
| 62 | 62 | ||
| 63 | \def\versionemacs{24} % version of Emacs this is for | 63 | \input emacsver.tex |
| 64 | \def\year{2012} % latest copyright year | ||
| 65 | 64 | ||
| 66 | % Nothing else needs to be changed. | 65 | % Nothing else needs to be changed. |
| 67 | 66 | ||
diff --git a/etc/refcards/sk-survival.tex b/etc/refcards/sk-survival.tex index 7597c63f5c7..2e7ac9b9298 100644 --- a/etc/refcards/sk-survival.tex +++ b/etc/refcards/sk-survival.tex | |||
| @@ -55,8 +55,7 @@ | |||
| 55 | % Slovak hyphenation rules applied | 55 | % Slovak hyphenation rules applied |
| 56 | \shyph | 56 | \shyph |
| 57 | 57 | ||
| 58 | \def\versionemacs{24} % version of Emacs this is for | 58 | \input emacsver.tex |
| 59 | \def\year{2012} % latest copyright year | ||
| 60 | 59 | ||
| 61 | \def\copyrightnotice{\penalty-1\vfill | 60 | \def\copyrightnotice{\penalty-1\vfill |
| 62 | \vbox{\smallfont\baselineskip=0.8\baselineskip\raggedcenter | 61 | \vbox{\smallfont\baselineskip=0.8\baselineskip\raggedcenter |
diff --git a/etc/refcards/survival.tex b/etc/refcards/survival.tex index 92d178a130a..09151e9801c 100644 --- a/etc/refcards/survival.tex +++ b/etc/refcards/survival.tex | |||
| @@ -44,8 +44,7 @@ | |||
| 44 | \input pdflayout.sty | 44 | \input pdflayout.sty |
| 45 | \pdflayout=(1) | 45 | \pdflayout=(1) |
| 46 | 46 | ||
| 47 | \def\versionemacs{24} % version of Emacs this is for | 47 | \input emacsver.tex |
| 48 | \def\year{2012} % latest copyright year | ||
| 49 | 48 | ||
| 50 | \def\copyrightnotice{\penalty-1\vfill | 49 | \def\copyrightnotice{\penalty-1\vfill |
| 51 | \vbox{\smallfont\baselineskip=0.8\baselineskip\raggedcenter | 50 | \vbox{\smallfont\baselineskip=0.8\baselineskip\raggedcenter |
diff --git a/etc/refcards/vipcard.tex b/etc/refcards/vipcard.tex index 13b43dbab73..2a709dc79f2 100644 --- a/etc/refcards/vipcard.tex +++ b/etc/refcards/vipcard.tex | |||
| @@ -49,8 +49,8 @@ | |||
| 49 | \input pdflayout.sty | 49 | \input pdflayout.sty |
| 50 | \pdflayout=(1) | 50 | \pdflayout=(1) |
| 51 | 51 | ||
| 52 | \input emacsver.tex | ||
| 52 | \def\versionemacs{18} % version of Emacs this is for | 53 | \def\versionemacs{18} % version of Emacs this is for |
| 53 | \def\year{2012} % latest copyright year | ||
| 54 | \def\versionvip{3.5} | 54 | \def\versionvip{3.5} |
| 55 | 55 | ||
| 56 | % Nothing else needs to be changed. | 56 | % Nothing else needs to be changed. |
diff --git a/etc/refcards/viperCard.tex b/etc/refcards/viperCard.tex index a8694dd3bed..c6ab31cdb83 100644 --- a/etc/refcards/viperCard.tex +++ b/etc/refcards/viperCard.tex | |||
| @@ -52,8 +52,8 @@ | |||
| 52 | \input pdflayout.sty | 52 | \input pdflayout.sty |
| 53 | \pdflayout=(1) | 53 | \pdflayout=(1) |
| 54 | 54 | ||
| 55 | \input emacsver.tex | ||
| 55 | \def\versionemacs{21} % version of Emacs this is for | 56 | \def\versionemacs{21} % version of Emacs this is for |
| 56 | \def\year{2012} % latest copyright year | ||
| 57 | \def\versionxemacs{20} % version of XEmacs this is for | 57 | \def\versionxemacs{20} % version of XEmacs this is for |
| 58 | \def\versionviper{3.0} % version of Viper this is for | 58 | \def\versionviper{3.0} % version of Viper this is for |
| 59 | 59 | ||