emacs-pretest-bug
[Top][All Lists]
Advanced

[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: Jan Djärv
Subject: Re: (setq tool-bar-button-margin 0) makes GTK Emacs go crazy
Date: Thu, 01 Feb 2007 11:07:25 +0100
User-agent: Thunderbird 1.5.0.9 (Macintosh/20061207)



Katsumi Yamaoka skrev:
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.

Doesn't this use different tool-bar-button-margins for different buffers? It should really be per frame.

        Jan D.




reply via email to

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