diff options
| author | Stefan Monnier | 2009-05-29 01:31:40 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2009-05-29 01:31:40 +0000 |
| commit | 97b2518e6233d910efa1dbf56770e12d5f2287c2 (patch) | |
| tree | f5000e78360a2e2601ac668de390f532fb16fd22 | |
| parent | 623cec4c07aec805cb4ac234b1ebfa80a092e4a2 (diff) | |
| download | emacs-97b2518e6233d910efa1dbf56770e12d5f2287c2.tar.gz emacs-97b2518e6233d910efa1dbf56770e12d5f2287c2.zip | |
(normal-no-mouse-startup-screen): Use F1 rather than C-h
if C-h is remapped to something else like DEL.
| -rw-r--r-- | lisp/ChangeLog | 16 | ||||
| -rw-r--r-- | lisp/startup.el | 104 |
2 files changed, 64 insertions, 56 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 73c8c3f1a39..4b50d98b491 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,7 +1,11 @@ | |||
| 1 | 2009-05-29 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * startup.el (normal-no-mouse-startup-screen): Use F1 rather than C-h | ||
| 4 | if C-h is remapped to something else like DEL. | ||
| 5 | |||
| 1 | 2009-05-26 Chong Yidong <cyd@stupidchicken.com> | 6 | 2009-05-26 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 7 | ||
| 3 | * edmacro.el (edmacro-parse-keys): Fix 2008-08-19 | 8 | * edmacro.el (edmacro-parse-keys): Fix 2008-08-19 change (Bug#3387). |
| 4 | change (Bug#3387). | ||
| 5 | 9 | ||
| 6 | * view.el (view-recenter): Allow recenter to compute window height | 10 | * view.el (view-recenter): Allow recenter to compute window height |
| 7 | normally. | 11 | normally. |
| @@ -12,8 +16,8 @@ | |||
| 12 | 16 | ||
| 13 | 2009-05-26 Kenichi Handa <handa@m17n.org> | 17 | 2009-05-26 Kenichi Handa <handa@m17n.org> |
| 14 | 18 | ||
| 15 | * textmodes/table.el (table--unibyte-char-to-multibyte): Function | 19 | * textmodes/table.el (table--unibyte-char-to-multibyte): |
| 16 | deleted. | 20 | Delete function. |
| 17 | (*table--cell-self-insert-command, *table--cell-quoted-insert): | 21 | (*table--cell-self-insert-command, *table--cell-quoted-insert): |
| 18 | Don't call table--unibyte-char-to-multibyte (Bug#3372). | 22 | Don't call table--unibyte-char-to-multibyte (Bug#3372). |
| 19 | 23 | ||
| @@ -47,8 +51,8 @@ | |||
| 47 | (grep-apply-setting): New function. | 51 | (grep-apply-setting): New function. |
| 48 | (grep-highlight-matches, grep-command, grep-template) | 52 | (grep-highlight-matches, grep-command, grep-template) |
| 49 | (grep-use-null-device, grep-find-command, grep-find-template): | 53 | (grep-use-null-device, grep-find-command, grep-find-template): |
| 50 | Clarify role of grep-compute-defaults in docstrings. Use | 54 | Clarify role of grep-compute-defaults in docstrings. |
| 51 | grep-apply-setting to apply changes (Bug#3343). | 55 | Use grep-apply-setting to apply changes (Bug#3343). |
| 52 | 56 | ||
| 53 | 2009-05-21 Glenn Morris <rgm@gnu.org> | 57 | 2009-05-21 Glenn Morris <rgm@gnu.org> |
| 54 | 58 | ||
diff --git a/lisp/startup.el b/lisp/startup.el index 6dd2fb7e35c..15e65bd9eb4 100644 --- a/lisp/startup.el +++ b/lisp/startup.el | |||
| @@ -1824,64 +1824,68 @@ To quit a partially entered command, type Control-g.\n") | |||
| 1824 | 1824 | ||
| 1825 | ;; If keys have their default meanings, | 1825 | ;; If keys have their default meanings, |
| 1826 | ;; use precomputed string to save lots of time. | 1826 | ;; use precomputed string to save lots of time. |
| 1827 | (if (and (eq (key-binding "\C-h") 'help-command) | 1827 | (let ((c-h-accessible |
| 1828 | (eq (key-binding "\C-xu") 'advertised-undo) | 1828 | ;; If normal-erase-is-backspace is used on a tty, there's |
| 1829 | (eq (key-binding "\C-x\C-c") 'save-buffers-kill-terminal) | 1829 | ;; no way to invoke C-h and you have to use F1 instead. |
| 1830 | (eq (key-binding "\C-ht") 'help-with-tutorial) | 1830 | (or (not (char-table-p keyboard-translate-table)) |
| 1831 | (eq (key-binding "\C-hi") 'info) | 1831 | (eq (aref keyboard-translate-table ?\C-h) ?\C-h)))) |
| 1832 | (eq (key-binding "\C-hr") 'info-emacs-manual) | 1832 | (if (and (eq (key-binding "\C-h") 'help-command) |
| 1833 | (eq (key-binding "\C-h\C-n") 'view-emacs-news)) | 1833 | (eq (key-binding "\C-xu") 'advertised-undo) |
| 1834 | (progn | 1834 | (eq (key-binding "\C-x\C-c") 'save-buffers-kill-terminal) |
| 1835 | (insert " | 1835 | (eq (key-binding "\C-ht") 'help-with-tutorial) |
| 1836 | Get help\t C-h (Hold down CTRL and press h) | 1836 | (eq (key-binding "\C-hi") 'info) |
| 1837 | (eq (key-binding "\C-hr") 'info-emacs-manual) | ||
| 1838 | (eq (key-binding "\C-h\C-n") 'view-emacs-news)) | ||
| 1839 | (let ((help (if c-h-accessible "C-h" "<f1>"))) | ||
| 1840 | (insert " | ||
| 1841 | Get help\t " help " (Hold down CTRL and press h) | ||
| 1837 | ") | 1842 | ") |
| 1838 | (insert-button "Emacs manual" | 1843 | (insert-button "Emacs manual" |
| 1839 | 'action (lambda (button) (info-emacs-manual)) | 1844 | 'action (lambda (button) (info-emacs-manual)) |
| 1840 | 'follow-link t) | 1845 | 'follow-link t) |
| 1841 | (insert " C-h r\t") | 1846 | (insert " " help " r\t") |
| 1842 | (insert-button "Browse manuals" | 1847 | (insert-button "Browse manuals" |
| 1843 | 'action (lambda (button) (Info-directory)) | 1848 | 'action (lambda (button) (Info-directory)) |
| 1844 | 'follow-link t) | 1849 | 'follow-link t) |
| 1845 | (insert "\t C-h i | 1850 | (insert "\t " help " i |
| 1846 | ") | 1851 | ") |
| 1847 | (insert-button "Emacs tutorial" | 1852 | (insert-button "Emacs tutorial" |
| 1848 | 'action (lambda (button) (help-with-tutorial)) | 1853 | 'action (lambda (button) (help-with-tutorial)) |
| 1849 | 'follow-link t) | 1854 | 'follow-link t) |
| 1850 | (insert " C-h t\tUndo changes\t C-x u | 1855 | (insert " " help " t\tUndo changes\t C-x u |
| 1851 | ") | 1856 | ") |
| 1852 | (insert-button "Buy manuals" | 1857 | (insert-button "Buy manuals" |
| 1853 | 'action (lambda (button) (view-order-manuals)) | 1858 | 'action (lambda (button) (view-order-manuals)) |
| 1854 | 'follow-link t) | 1859 | 'follow-link t) |
| 1855 | (insert "\t C-h C-m\tExit Emacs\t C-x C-c")) | 1860 | (insert "\t " help " C-m\tExit Emacs\t C-x C-c")) |
| 1856 | 1861 | ||
| 1857 | (insert (format " | 1862 | (insert (format " |
| 1858 | Get help\t %s | 1863 | Get help\t %s |
| 1859 | " | 1864 | " |
| 1860 | (let ((where (where-is-internal | 1865 | (let ((where (where-is-internal 'help-command nil t))) |
| 1861 | 'help-command nil t))) | 1866 | (if where |
| 1862 | (if where | 1867 | (key-description where) |
| 1863 | (key-description where) | 1868 | "M-x help")))) |
| 1864 | "M-x help")))) | 1869 | (insert-button "Emacs manual" |
| 1865 | (insert-button "Emacs manual" | 1870 | 'action (lambda (button) (info-emacs-manual)) |
| 1866 | 'action (lambda (button) (info-emacs-manual)) | 1871 | 'follow-link t) |
| 1867 | 'follow-link t) | 1872 | (insert (substitute-command-keys"\t \\[info-emacs-manual]\t")) |
| 1868 | (insert (substitute-command-keys"\t \\[info-emacs-manual]\t")) | 1873 | (insert-button "Browse manuals" |
| 1869 | (insert-button "Browse manuals" | 1874 | 'action (lambda (button) (Info-directory)) |
| 1870 | 'action (lambda (button) (Info-directory)) | 1875 | 'follow-link t) |
| 1871 | 'follow-link t) | 1876 | (insert (substitute-command-keys "\t \\[info] |
| 1872 | (insert (substitute-command-keys "\t \\[info] | ||
| 1873 | ")) | 1877 | ")) |
| 1874 | (insert-button "Emacs tutorial" | 1878 | (insert-button "Emacs tutorial" |
| 1875 | 'action (lambda (button) (help-with-tutorial)) | 1879 | 'action (lambda (button) (help-with-tutorial)) |
| 1876 | 'follow-link t) | 1880 | 'follow-link t) |
| 1877 | (insert (substitute-command-keys | 1881 | (insert (substitute-command-keys |
| 1878 | "\t \\[help-with-tutorial]\tUndo changes\t \\[advertised-undo] | 1882 | "\t \\[help-with-tutorial]\tUndo changes\t \\[advertised-undo] |
| 1879 | ")) | 1883 | ")) |
| 1880 | (insert-button "Buy manuals" | 1884 | (insert-button "Buy manuals" |
| 1881 | 'action (lambda (button) (view-order-manuals)) | 1885 | 'action (lambda (button) (view-order-manuals)) |
| 1882 | 'follow-link t) | 1886 | 'follow-link t) |
| 1883 | (insert (substitute-command-keys | 1887 | (insert (substitute-command-keys |
| 1884 | "\t \\[view-order-manuals]\tExit Emacs\t \\[save-buffers-kill-terminal]"))) | 1888 | "\t \\[view-order-manuals]\tExit Emacs\t \\[save-buffers-kill-terminal]")))) |
| 1885 | 1889 | ||
| 1886 | ;; Say how to use the menu bar with the keyboard. | 1890 | ;; Say how to use the menu bar with the keyboard. |
| 1887 | (insert "\n") | 1891 | (insert "\n") |