Mercurial > emacs
comparison README.multi-tty @ 83496:f271076dab2d
Fix toolbars on X frames when Emacs is started on a tty. (Reported by Richard Lewis.)
* lisp/faces.el (x-create-frame-with-faces): Remove bogus check for first
frame. Call `tool-bar-setup'.
* lisp/frame.el (window-system-default-frame-alist): Enhance doc string.
* lisp/frame.el (frame-notice-user-settings): Don't put 'tool-bar-lines
in `default-frame-alist' when initial frame is on a tty.
* lisp/frame.el (modify-all-frames-parameters): Simplify using
`assq-delete-all'. Remove specified parameters from
`window-system-default-frame-alist'.
* lisp/fringe.el (set-fringe-mode): Simplify and fix using
`modify-all-frames-parameters'.
* lisp/menu-bar.el (menu-bar-mode): Ditto.
* lisp/scroll-bar.el (set-scroll-bar-mode): Ditto.
* lisp/tool-bar.el (tool-bar-mode): Ditto. Remove 'tool-bar-map length
check before calling `tool-bar-setup'.
* lisp/tool-bar.el (tool-bar-setup): New variable.
* lisp/tool-bar.el (tool-bar-setup): Use it to guard against multiple
calls. Add optional frame parameter, and select that frame before
adding items.
* src/frame.c (syms_of_frame): Enhance doc string of `default-frame-alist'.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-536
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Sun, 26 Mar 2006 13:57:43 +0000 |
parents | fc6efa09ea7a |
children | a25bb5ef27bf |
comparison
equal
deleted
inserted
replaced
83495:989dc6aa2eb2 | 83496:f271076dab2d |
---|---|
44 IRIE Tetsuya <irie@t.email.ne.jp> | 44 IRIE Tetsuya <irie@t.email.ne.jp> |
45 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp> | 45 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp> |
46 Bas Kok <nekkobassu@yahoo.com> | 46 Bas Kok <nekkobassu@yahoo.com> |
47 Jurej Kubelka <Juraj.Kubelka@email.cz> | 47 Jurej Kubelka <Juraj.Kubelka@email.cz> |
48 David Lichteblau <david@lichteblau.com> | 48 David Lichteblau <david@lichteblau.com> |
49 Richard Lewis <rtf@jabble.com> | |
49 mace <mace@kirjakaapeli.lib.hel.fi> | 50 mace <mace@kirjakaapeli.lib.hel.fi> |
50 Suresh Madhu <madhu@cs.unm.edu> | 51 Suresh Madhu <madhu@cs.unm.edu> |
51 Xavier Mallard <zedek@gnu-rox.org> | 52 Xavier Mallard <zedek@gnu-rox.org> |
52 Istvan Marko <mi-mtty@kismala.com> | 53 Istvan Marko <mi-mtty@kismala.com> |
53 Ted Morse <morse@ciholas.com> | 54 Ted Morse <morse@ciholas.com> |
400 (The rest of this file consists of my development notes and as such it | 401 (The rest of this file consists of my development notes and as such it |
401 is probably not very interesting for anyone else.) | 402 is probably not very interesting for anyone else.) |
402 | 403 |
403 THINGS TO DO | 404 THINGS TO DO |
404 ------------ | 405 ------------ |
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. | |
405 | 417 |
406 ** emacsclient -t on the console does not work after su: | 418 ** emacsclient -t on the console does not work after su: |
407 | 419 |
408 # su lorentey | 420 # su lorentey |
409 $ emacsclient -t | 421 $ emacsclient -t |