Mercurial > emacs
comparison README.multi-tty @ 83497:a25bb5ef27bf
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
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Sun, 26 Mar 2006 14:20:01 +0000 |
parents | f271076dab2d |
children | 0fe580113f72 |
comparison
equal
deleted
inserted
replaced
83496:f271076dab2d | 83497:a25bb5ef27bf |
---|---|
402 is probably not very interesting for anyone else.) | 402 is probably not very interesting for anyone else.) |
403 | 403 |
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 |
421 $ emacsclient -t | 410 $ emacsclient -t |
422 *ERROR*: Could not open file: /dev/tty1 | 411 *ERROR*: Could not open file: /dev/tty1 |
1483 read_char. It is absurd that we use setjmp/longjmp just to return | 1472 read_char. It is absurd that we use setjmp/longjmp just to return |
1484 to the immediate caller. | 1473 to the immediate caller. |
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 |