diff options
| author | Karoly Lorentey | 2006-03-26 14:20:01 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2006-03-26 14:20:01 +0000 |
| commit | 6a5af08f8d3bb831a78edf17e9c38813bbfbb6f8 (patch) | |
| tree | e4e263c9e6cc2f9310c9d1954eb016b0b7f2c22b /README.multi-tty | |
| parent | 095fe28140411c14e1e77d6c076655c06ca191a9 (diff) | |
| download | emacs-6a5af08f8d3bb831a78edf17e9c38813bbfbb6f8.tar.gz emacs-6a5af08f8d3bb831a78edf17e9c38813bbfbb6f8.zip | |
Fix tool-bar and menu-bar toggles in Show/Hide menu to reflect the state of the current frame.
* lisp/tool-bar.el (toggle-tool-bar-mode-from-frame): New function.
* lisp/menu-bar.el (toggle-menu-bar-mode-from-frame): New function.
(menu-bar-showhide-menu): Use them to change "Menu-bar" and
"Tool-bar" toggles to reflect the state of the current frame.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-537
Diffstat (limited to 'README.multi-tty')
| -rw-r--r-- | README.multi-tty | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/README.multi-tty b/README.multi-tty index 2ac27bafe55..442c4c92fd2 100644 --- a/README.multi-tty +++ b/README.multi-tty | |||
| @@ -404,17 +404,6 @@ is probably not very interesting for anyone else.) | |||
| 404 | THINGS TO DO | 404 | THINGS TO DO |
| 405 | ------------ | 405 | ------------ |
| 406 | 406 | ||
| 407 | ** `tool-bar-mode', `scroll-bar-mode', `menu-bar-mode' and | ||
| 408 | 'fringe-mode' are modes global to the entire Emacs session, not | ||
| 409 | just a single frame or a single terminal. This means that their | ||
| 410 | status sometimes differs from what's actually displayed on the | ||
| 411 | screen. As a consequence, the Options | Show/Hide menu sometimes | ||
| 412 | shows incorrect status, and you have to select an option twice for | ||
| 413 | it to have any visible effect on the current frame. | ||
| 414 | |||
| 415 | Change Emacs so that the status of the items in the Options | | ||
| 416 | Show/Hide menu correspond to the current frame. | ||
| 417 | |||
| 418 | ** emacsclient -t on the console does not work after su: | 407 | ** emacsclient -t on the console does not work after su: |
| 419 | 408 | ||
| 420 | # su lorentey | 409 | # su lorentey |
| @@ -1485,5 +1474,18 @@ DIARY OF CHANGES | |||
| 1485 | 1474 | ||
| 1486 | (Done in patch-500.) | 1475 | (Done in patch-500.) |
| 1487 | 1476 | ||
| 1477 | -- `tool-bar-mode', `scroll-bar-mode', `menu-bar-mode' and | ||
| 1478 | 'fringe-mode' are modes global to the entire Emacs session, not | ||
| 1479 | just a single frame or a single terminal. This means that their | ||
| 1480 | status sometimes differs from what's actually displayed on the | ||
| 1481 | screen. As a consequence, the Options | Show/Hide menu sometimes | ||
| 1482 | shows incorrect status, and you have to select an option twice for | ||
| 1483 | it to have any visible effect on the current frame. | ||
| 1484 | |||
| 1485 | Change Emacs so that the status of the items in the Options | | ||
| 1486 | Show/Hide menu correspond to the current frame. | ||
| 1487 | |||
| 1488 | (Done in patch-537.) | ||
| 1489 | |||
| 1488 | ;;; arch-tag: 8da1619e-2e79-41a8-9ac9-a0485daad17d | 1490 | ;;; arch-tag: 8da1619e-2e79-41a8-9ac9-a0485daad17d |
| 1489 | 1491 | ||