diff options
| author | Julien Danjou | 2010-10-19 15:20:33 -0400 |
|---|---|---|
| committer | Chong Yidong | 2010-10-19 15:20:33 -0400 |
| commit | 3f12b18cb57c5cb2a11706ba87fdbb20aa0d6301 (patch) | |
| tree | f41390a3deeff4e6bd5d5ddebe665f8bd40a4be2 | |
| parent | b8a47412d30e73a12c1919d0109f9272096e9ce6 (diff) | |
| download | emacs-3f12b18cb57c5cb2a11706ba87fdbb20aa0d6301.tar.gz emacs-3f12b18cb57c5cb2a11706ba87fdbb20aa0d6301.zip | |
Remove mode-line end dashes on graphical terminals.
* tutorials/TUTORIAL: Don't mention mode-line end dashes.
* bindings.el: Remove end dashes in default mode-line-format.
| -rw-r--r-- | etc/ChangeLog | 4 | ||||
| -rw-r--r-- | etc/tutorials/TUTORIAL | 12 | ||||
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/bindings.el | 11 |
4 files changed, 20 insertions, 11 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog index 3e5a6e79894..f1b17fe320d 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2010-10-19 Julien Danjou <julien@danjou.info> | ||
| 2 | |||
| 3 | * tutorials/TUTORIAL: Don't mention mode-line end dashes. | ||
| 4 | |||
| 1 | 2010-10-16 Chong Yidong <cyd@stupidchicken.com> | 5 | 2010-10-16 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 6 | ||
| 3 | * themes: New directory for custom theme files, moved from lisp/. | 7 | * themes: New directory for custom theme files, moved from lisp/. |
diff --git a/etc/tutorials/TUTORIAL b/etc/tutorials/TUTORIAL index 1d80f4e1191..f566df9735d 100644 --- a/etc/tutorials/TUTORIAL +++ b/etc/tutorials/TUTORIAL | |||
| @@ -498,12 +498,12 @@ you save, Emacs leaves the original file under a changed name in case | |||
| 498 | you later decide that your changes were a mistake. | 498 | you later decide that your changes were a mistake. |
| 499 | 499 | ||
| 500 | If you look near the bottom of the screen you will see a line that | 500 | If you look near the bottom of the screen you will see a line that |
| 501 | begins and ends with dashes, and starts with "--:--- TUTORIAL" or | 501 | begins with dashes, and starts with "--:--- TUTORIAL" or something |
| 502 | something like that. This part of the screen normally shows the name | 502 | like that. This part of the screen normally shows the name of the |
| 503 | of the file that you are visiting. Right now, you are visiting a file | 503 | file that you are visiting. Right now, you are visiting a file called |
| 504 | called "TUTORIAL" which is your personal scratch copy of the Emacs | 504 | "TUTORIAL" which is your personal scratch copy of the Emacs tutorial. |
| 505 | tutorial. When you find a file with Emacs, that file's name will | 505 | When you find a file with Emacs, that file's name will appear in that |
| 506 | appear in that precise spot. | 506 | precise spot. |
| 507 | 507 | ||
| 508 | One special thing about the command for finding a file is that you | 508 | One special thing about the command for finding a file is that you |
| 509 | have to say what file name you want. We say the command "reads an | 509 | have to say what file name you want. We say the command "reads an |
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 394cfdd61d7..aae1e0e81c0 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2010-10-18 Julien Danjou <julien@danjou.info> | ||
| 2 | |||
| 3 | * bindings.el: Remove end dashes in default mode-line-format. | ||
| 4 | |||
| 1 | 2010-10-19 Chong Yidong <cyd@stupidchicken.com> | 5 | 2010-10-19 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 6 | ||
| 3 | * bindings.el (global-map): Bind C-d to delete-char and deletechar | 7 | * bindings.el (global-map): Bind C-d to delete-char and deletechar |
diff --git a/lisp/bindings.el b/lisp/bindings.el index 9c802e53a56..e9a4c559169 100644 --- a/lisp/bindings.el +++ b/lisp/bindings.el | |||
| @@ -318,7 +318,7 @@ Keymap to display on column and line numbers.") | |||
| 318 | mouse-2: Make current window occupy the whole frame\n\ | 318 | mouse-2: Make current window occupy the whole frame\n\ |
| 319 | mouse-3: Remove current window from display") | 319 | mouse-3: Remove current window from display") |
| 320 | (recursive-edit-help-echo "Recursive edit, type C-M-c to get out") | 320 | (recursive-edit-help-echo "Recursive edit, type C-M-c to get out") |
| 321 | (dashes (propertize "--" 'help-echo help-echo)) | 321 | (spaces (propertize " " 'help-echo help-echo)) |
| 322 | (standard-mode-line-format | 322 | (standard-mode-line-format |
| 323 | (list | 323 | (list |
| 324 | "%e" | 324 | "%e" |
| @@ -334,9 +334,10 @@ mouse-3: Remove current window from display") | |||
| 334 | '(vc-mode vc-mode) | 334 | '(vc-mode vc-mode) |
| 335 | (propertize " " 'help-echo help-echo) | 335 | (propertize " " 'help-echo help-echo) |
| 336 | 'mode-line-modes | 336 | 'mode-line-modes |
| 337 | `(which-func-mode ("" which-func-format ,dashes)) | 337 | `(which-func-mode ("" which-func-format ,spaces)) |
| 338 | `(global-mode-string ("" global-mode-string ,dashes)) | 338 | `(global-mode-string ("" global-mode-string ,spaces)) |
| 339 | (propertize "-%-" 'help-echo help-echo))) | 339 | `(:eval (unless (display-graphic-p) |
| 340 | ,(propertize "-%-" 'help-echo help-echo))))) | ||
| 340 | (standard-mode-line-modes | 341 | (standard-mode-line-modes |
| 341 | (list | 342 | (list |
| 342 | (propertize "%[" 'help-echo recursive-edit-help-echo) | 343 | (propertize "%[" 'help-echo recursive-edit-help-echo) |
| @@ -362,7 +363,7 @@ mouse-3: Toggle minor modes" | |||
| 362 | 'mouse-2 #'mode-line-widen)) | 363 | 'mouse-2 #'mode-line-widen)) |
| 363 | (propertize ")" 'help-echo help-echo) | 364 | (propertize ")" 'help-echo help-echo) |
| 364 | (propertize "%]" 'help-echo recursive-edit-help-echo) | 365 | (propertize "%]" 'help-echo recursive-edit-help-echo) |
| 365 | (propertize "--" 'help-echo help-echo))) | 366 | spaces)) |
| 366 | 367 | ||
| 367 | (standard-mode-line-position | 368 | (standard-mode-line-position |
| 368 | `((-3 ,(propertize | 369 | `((-3 ,(propertize |