[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: (setq tool-bar-button-margin 0) makes GTK Emacs go crazy
From: |
Katsumi Yamaoka |
Subject: |
Re: (setq tool-bar-button-margin 0) makes GTK Emacs go crazy |
Date: |
Thu, 01 Feb 2007 18:26:02 +0900 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.93 (gnu/linux) |
>>>>> In <address@hidden> Katsumi Yamaoka wrote:
> Oops. Now I don't see the tool bar flickering, and all seem to be
> going well. I will report if I find the condition to reproduce it.
I found. I attached two Lisp forms below. To reproduce it,
eval the form1 first and eval the form2 several times. (I've
made a similar code in the emacs-w3m CVS, however I might have
to delete it.)
--8<---------------cut here---------------start------------->8---
;; form1
(let ((buf (get-buffer-create "*testing*"))
(cur (selected-frame)))
(select-frame (make-frame))
(switch-to-buffer buf)
(make-local-variable 'tool-bar-button-margin)
(select-frame-set-input-focus cur))
;; form2
(with-current-buffer "*testing*"
(setq tool-bar-button-margin (random 10)))
--8<---------------cut here---------------end--------------->8---
This is a special case anyway, so I don't mind even though it is
not fixed.
Regards,