diff options
| author | Juri Linkov | 2007-08-19 16:04:55 +0000 |
|---|---|---|
| committer | Juri Linkov | 2007-08-19 16:04:55 +0000 |
| commit | cd6ab24fb9e473c3291914cf16cc6c5df992b473 (patch) | |
| tree | be2743a72fd13ac973867f2f91b7722c3ed52226 | |
| parent | aeb6faecc732ff700502e049710a992065c2fb46 (diff) | |
| download | emacs-cd6ab24fb9e473c3291914cf16cc6c5df992b473.tar.gz emacs-cd6ab24fb9e473c3291914cf16cc6c5df992b473.zip | |
(normal-splash-screen): Add more links.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/startup.el | 113 |
2 files changed, 91 insertions, 26 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a4f9022bf3f..a594f5b578a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,9 @@ | |||
| 1 | 2007-08-19 Juri Linkov <juri@jurta.org> | 1 | 2007-08-19 Juri Linkov <juri@jurta.org> |
| 2 | 2 | ||
| 3 | * startup.el (normal-splash-screen): Add more links. | ||
| 4 | |||
| 5 | 2007-08-19 Juri Linkov <juri@jurta.org> | ||
| 6 | |||
| 3 | * startup.el (splash-screen-keymap): Rename from `fancy-splash-keymap' | 7 | * startup.el (splash-screen-keymap): Rename from `fancy-splash-keymap' |
| 4 | because it's common to both types of splash screen: fancy and normal. | 8 | because it's common to both types of splash screen: fancy and normal. |
| 5 | Bind SPC to scroll-up, DEL to scroll-down and `q' to exit-splash-screen. | 9 | Bind SPC to scroll-up, DEL to scroll-down and `q' to exit-splash-screen. |
diff --git a/lisp/startup.el b/lisp/startup.el index 464666b4254..391cae0858e 100644 --- a/lisp/startup.el +++ b/lisp/startup.el | |||
| @@ -1612,31 +1612,67 @@ To quit a partially entered command, type Control-g.\n") | |||
| 1612 | (eq (key-binding "\C-hi") 'info) | 1612 | (eq (key-binding "\C-hi") 'info) |
| 1613 | (eq (key-binding "\C-hr") 'info-emacs-manual) | 1613 | (eq (key-binding "\C-hr") 'info-emacs-manual) |
| 1614 | (eq (key-binding "\C-h\C-n") 'view-emacs-news)) | 1614 | (eq (key-binding "\C-h\C-n") 'view-emacs-news)) |
| 1615 | (insert " | 1615 | (progn |
| 1616 | (insert " | ||
| 1616 | Get help C-h (Hold down CTRL and press h) | 1617 | Get help C-h (Hold down CTRL and press h) |
| 1617 | Emacs manual C-h r Browse manuals C-h i | 1618 | ") |
| 1618 | Emacs tutorial C-h t Undo changes C-x u | 1619 | (insert-button "Emacs manual" |
| 1619 | Buy manuals C-h C-m Exit Emacs C-x C-c") | 1620 | 'action (lambda (button) (info-emacs-manual)) |
| 1621 | 'follow-link t) | ||
| 1622 | (insert " C-h r ") | ||
| 1623 | (insert-button "Browse manuals" | ||
| 1624 | 'action (lambda (button) (Info-directory)) | ||
| 1625 | 'follow-link t) | ||
| 1626 | (insert " C-h i | ||
| 1627 | ") | ||
| 1628 | (insert-button "Emacs tutorial" | ||
| 1629 | 'action (lambda (button) (help-with-tutorial)) | ||
| 1630 | 'follow-link t) | ||
| 1631 | (insert " C-h t Undo changes C-x u | ||
| 1632 | ") | ||
| 1633 | (insert-button "Buy manuals" | ||
| 1634 | 'action (lambda (button) (view-order-manuals)) | ||
| 1635 | 'follow-link t) | ||
| 1636 | (insert " C-h C-m Exit Emacs C-x C-c")) | ||
| 1620 | 1637 | ||
| 1621 | (insert (substitute-command-keys | 1638 | (insert (format " |
| 1622 | (format " | ||
| 1623 | Get help %s | 1639 | Get help %s |
| 1624 | Emacs manual \\[info-emacs-manual]\tBrowse manuals\t\\[info] | 1640 | " |
| 1625 | Emacs tutorial \\[help-with-tutorial]\tUndo changes\t\\[advertised-undo] | 1641 | (let ((where (where-is-internal |
| 1626 | Buy manuals \\[view-order-manuals]\tExit Emacs\t\\[save-buffers-kill-emacs]" | 1642 | 'help-command nil t))) |
| 1627 | (let ((where (where-is-internal | 1643 | (if where |
| 1628 | 'help-command nil t))) | 1644 | (key-description where) |
| 1629 | (if where | 1645 | "M-x help")))) |
| 1630 | (key-description where) | 1646 | (insert-button "Emacs manual" |
| 1631 | "M-x help")))))) | 1647 | 'action (lambda (button) (info-emacs-manual)) |
| 1648 | 'follow-link t) | ||
| 1649 | (insert (substitute-command-keys" \\[info-emacs-manual]\t")) | ||
| 1650 | (insert-button "Browse manuals" | ||
| 1651 | 'action (lambda (button) (Info-directory)) | ||
| 1652 | 'follow-link t) | ||
| 1653 | (insert (substitute-command-keys "\t\\[info] | ||
| 1654 | ")) | ||
| 1655 | (insert-button "Emacs tutorial" | ||
| 1656 | 'action (lambda (button) (help-with-tutorial)) | ||
| 1657 | 'follow-link t) | ||
| 1658 | (insert (substitute-command-keys | ||
| 1659 | " \\[help-with-tutorial]\tUndo changes\t\\[advertised-undo] | ||
| 1660 | ")) | ||
| 1661 | (insert-button "Buy manuals" | ||
| 1662 | 'action (lambda (button) (view-order-manuals)) | ||
| 1663 | 'follow-link t) | ||
| 1664 | (insert (substitute-command-keys | ||
| 1665 | " \\[view-order-manuals]\tExit Emacs\t\\[save-buffers-kill-emacs]"))) | ||
| 1632 | 1666 | ||
| 1633 | ;; Say how to use the menu bar with the keyboard. | 1667 | ;; Say how to use the menu bar with the keyboard. |
| 1668 | (insert "\n") | ||
| 1669 | (insert-button "Activate menubar" | ||
| 1670 | 'action (lambda (button) (tmm-menubar)) | ||
| 1671 | 'follow-link t) | ||
| 1634 | (if (and (eq (key-binding "\M-`") 'tmm-menubar) | 1672 | (if (and (eq (key-binding "\M-`") 'tmm-menubar) |
| 1635 | (eq (key-binding [f10]) 'tmm-menubar)) | 1673 | (eq (key-binding [f10]) 'tmm-menubar)) |
| 1636 | (insert " | 1674 | (insert " F10 or ESC ` or M-`") |
| 1637 | Activate menubar F10 or ESC ` or M-`") | 1675 | (insert (substitute-command-keys " \\[tmm-menubar]"))) |
| 1638 | (insert (substitute-command-keys " | ||
| 1639 | Activate menubar \\[tmm-menubar]"))) | ||
| 1640 | 1676 | ||
| 1641 | ;; Many users seem to have problems with these. | 1677 | ;; Many users seem to have problems with these. |
| 1642 | (insert " | 1678 | (insert " |
| @@ -1671,18 +1707,43 @@ If you have no Meta key, you may instead type ESC followed by the character.)") | |||
| 1671 | (if (and (eq (key-binding "\C-h\C-c") 'describe-copying) | 1707 | (if (and (eq (key-binding "\C-h\C-c") 'describe-copying) |
| 1672 | (eq (key-binding "\C-h\C-d") 'describe-distribution) | 1708 | (eq (key-binding "\C-h\C-d") 'describe-distribution) |
| 1673 | (eq (key-binding "\C-h\C-w") 'describe-no-warranty)) | 1709 | (eq (key-binding "\C-h\C-w") 'describe-no-warranty)) |
| 1674 | (insert | 1710 | (progn |
| 1675 | "\n | 1711 | (insert |
| 1676 | GNU Emacs comes with ABSOLUTELY NO WARRANTY; type C-h C-w for full details. | 1712 | "\n |
| 1713 | GNU Emacs comes with ABSOLUTELY NO WARRANTY; type C-h C-w for ") | ||
| 1714 | (insert-button "full details" | ||
| 1715 | 'action (lambda (button) (describe-no-warranty)) | ||
| 1716 | 'follow-link t) | ||
| 1717 | (insert ". | ||
| 1677 | Emacs is Free Software--Free as in Freedom--so you can redistribute copies | 1718 | Emacs is Free Software--Free as in Freedom--so you can redistribute copies |
| 1678 | of Emacs and modify it; type C-h C-c to see the conditions. | 1719 | of Emacs and modify it; type C-h C-c to see ") |
| 1679 | Type C-h C-d for information on getting the latest version.") | 1720 | (insert-button "the conditions" |
| 1721 | 'action (lambda (button) (describe-copying)) | ||
| 1722 | 'follow-link t) | ||
| 1723 | (insert ". | ||
| 1724 | Type C-h C-d for information on ") | ||
| 1725 | (insert-button "getting the latest version" | ||
| 1726 | 'action (lambda (button) (describe-distribution)) | ||
| 1727 | 'follow-link t) | ||
| 1728 | (insert ".")) | ||
| 1680 | (insert (substitute-command-keys | 1729 | (insert (substitute-command-keys |
| 1681 | "\n | 1730 | "\n |
| 1682 | GNU Emacs comes with ABSOLUTELY NO WARRANTY; type \\[describe-no-warranty] for full details. | 1731 | GNU Emacs comes with ABSOLUTELY NO WARRANTY; type \\[describe-no-warranty] for ")) |
| 1732 | (insert-button "full details" | ||
| 1733 | 'action (lambda (button) (describe-no-warranty)) | ||
| 1734 | 'follow-link t) | ||
| 1735 | (insert (substitute-command-keys ". | ||
| 1683 | Emacs is Free Software--Free as in Freedom--so you can redistribute copies | 1736 | Emacs is Free Software--Free as in Freedom--so you can redistribute copies |
| 1684 | of Emacs and modify it; type \\[describe-copying] to see the conditions. | 1737 | of Emacs and modify it; type \\[describe-copying] to see ")) |
| 1685 | Type \\[describe-distribution] for information on getting the latest version.")))) | 1738 | (insert-button "the conditions" |
| 1739 | 'action (lambda (button) (describe-copying)) | ||
| 1740 | 'follow-link t) | ||
| 1741 | (insert (substitute-command-keys". | ||
| 1742 | Type \\[describe-distribution] for information on ")) | ||
| 1743 | (insert-button "getting the latest version" | ||
| 1744 | 'action (lambda (button) (describe-distribution)) | ||
| 1745 | 'follow-link t) | ||
| 1746 | (insert "."))) | ||
| 1686 | 1747 | ||
| 1687 | ;; The rest of the startup screen is the same on all | 1748 | ;; The rest of the startup screen is the same on all |
| 1688 | ;; kinds of terminals. | 1749 | ;; kinds of terminals. |