emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

23.0.60; tool bar showing up when it shouldn't


From: Drew Adams
Subject: 23.0.60; tool bar showing up when it shouldn't
Date: Thu, 24 Apr 2008 15:47:15 -0700

emacs -Q
(add-to-list 'default-frame-alist '(tool-bar-lines . 1))
(setq pop-frame-alist (append default-frame-alist nil))
 
Load attached library, tool-bar+.el.
(tool-bar-pop-up-mode 99)
 
tool-bar-pop-up-mode removes the tool bar from all frames. It adds a
menu-bar item `Buttons'. If you click Buttons in some frame, the
tool-bar is temporarily shown until you click a button (or do
something else).
 
C-x 5 d <some-directory>
 
What should happen:
The directory should be opened in a new frame without tool bar.
This happens in Emacs 22.
 
What happens:
The directory is opened in a new frame, but with the tool bar.
 
The problem, I think, has to do with the fact that pop-up-frame-alist
still has a value of 1 for its tool-bar-lines parameter. With the same
instructions in Emacs 22, after evaling (tool-bar-pop-up-mode 99) the
tool-bar-lines parameter of pop-up-frame-alist is 0, not 1.
 
 
 
In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
 of 2008-04-19 on LENNART-69DE564
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include
-fno-crossjumping'
 
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENU
  value of $XMODIFIERS: nil
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t
 
Major mode: Dired by name
 
Minor modes in effect:
  tool-bar-pop-up-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t
 
Recent input:
f r a <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
a d d - t o - l i s t SPC ' d e f a u l t - f r a m 
e - a l i s t SPC ' ( t o o l b - <backspace> <backspace> 
- b a r - m o d e <backspace> <backspace> <backspace> 
<backspace> l i n e s SPC . SPC 1 ) ) <return> C-h 
v d e f a u l t - f r a m e - a l i s t <return> <help-echo> 
C-h v p o p - u p - f r a m e - a l i s t <return> 
M-: ( s e t q SPC p o p - u p - f r a m e SPC a l i 
s t SPC ( <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> - a 
l i s t SPC ( a p p e n d SPC d e f a u l t - f r a 
m e - a l i s t SPC n i l ) ) <return> C-x C-f t o 
o l - b <tab> <return> M-x l o a d - f <return> <return> 
C-x 1 M-: ( t o o l - b a r - p o p - u p - m o d e 
SPC 0 <backspace> 9 9 ) <return> C-x 5 d \ <return> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <menu-bar> <help-menu> <se
nd-emacs-bug-report>
 
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Quit [2 times]
Creating customization items...
Creating customization items ...done
Resetting customization items...done
Creating customization setup...done
((menu-bar-lines . 1) (tool-bar-lines . 1))
Type C-x 1 to delete the help window, C-M-v to scroll help.
((menu-bar-lines . 1) (tool-bar-lines . 1))
Loading c:/drews-lisp-20/tool-bar+.el (source)...done
t

Attachment: tool-bar+.el
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]