emacs-devel
[Top][All Lists]
Advanced

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

Re: Tabs: Magically Growing Tabs?


From: T.V Raman
Subject: Re: Tabs: Magically Growing Tabs?
Date: Wed, 16 Oct 2019 07:20:59 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

"T.V Raman" <address@hidden> writes:
Emacs was started last evening, had  2 tabs.
(emacs-uptime) =="14 hours, 0 minutes, 40 seconds"

Now, there are 11 tabs, here is the value of tab-bar-tabs.
Notice the multiple "Home" tabs.

((tab (name . "Home")
      (explicit-name . t)
      (time . 1571234497)
      (wc . #<window-configuration>)
      (ws ((min-height . 4)
           (min-width . 10)
           (min-height-ignore . 3)
           (min-width-ignore . 2)
           (min-height-safe . 1)
           (min-width-safe . 2)
           (min-pixel-height . 76)
           (min-pixel-width . 80)
           (min-pixel-height-ignore . 57)
           (min-pixel-width-ignore . 16)
           (min-pixel-height-safe . 19)
           (min-pixel-width-safe . 16))
          leaf
          (pixel-width . 1912)
          (pixel-height . 1024)
          (total-width . 239)
          (total-height . 53)
          (normal-height . 1.0)
          (normal-width . 1.0)
          (buffer "Home"
                  (selected . t)
                  (hscroll . 0)
                  (fringes 0 0 nil nil)
                  (margins nil)
                  (scroll-bars nil 0 t nil 0 t nil)
                  (vscroll . 0)
                  (dedicated)
                  (point . 143)
                  (start . 1))
          (prev-buffers ("*mail*" 1 972) ("Home" 1 143))))
 (tab (name . "Home")
      (explicit-name)
      (time . 1571234554)
      (wc . #<window-configuration>)
      (ws ((min-height . 4)
           (min-width . 10)
           (min-height-ignore . 3)
           (min-width-ignore . 2)
           (min-height-safe . 1)
           (min-width-safe . 2)
           (min-pixel-height . 76)
           (min-pixel-width . 80)
           (min-pixel-height-ignore . 57)
           (min-pixel-width-ignore . 16)
           (min-pixel-height-safe . 19)
           (min-pixel-width-safe . 16))
          leaf
          (pixel-width . 1912)
          (pixel-height . 1024)
          (total-width . 239)
          (total-height . 54)
          (normal-height . 1.0)
          (normal-width . 1.0)
          (buffer "Home"
                  (selected . t)
                  (hscroll . 0)
                  (fringes 0 0 nil nil)
                  (margins nil)
                  (scroll-bars nil 0 t nil 0 t nil)
                  (vscroll . 0)
                  (dedicated)
                  (point . 143)
                  (start . 1))
          (prev-buffers ("Home" 1 143))))
 (tab (name . "Home")
      (explicit-name)
      (time . 1571234584)
      (wc . #<window-configuration>)
      (ws ((min-height . 4)
           (min-width . 10)
           (min-height-ignore . 3)
           (min-width-ignore . 2)
           (min-height-safe . 1)
           (min-width-safe . 2)
           (min-pixel-height . 76)
           (min-pixel-width . 80)
           (min-pixel-height-ignore . 57)
           (min-pixel-width-ignore . 16)
           (min-pixel-height-safe . 19)
           (min-pixel-width-safe . 16))
          leaf
          (pixel-width . 1912)
          (pixel-height . 1024)
          (total-width . 239)
          (total-height . 54)
          (normal-height . 1.0)
          (normal-width . 1.0)
          (buffer "Home"
                  (selected . t)
                  (hscroll . 0)
                  (fringes 0 0 nil nil)
                  (margins nil)
                  (scroll-bars nil 0 t nil 0 t nil)
                  (vscroll . 0)
                  (dedicated)
                  (point . 143)
                  (start . 1))
          (prev-buffers ("Home" 1 143))))
 (tab (name . "Business News - Latest Headlines on CNN Business - CNN")
      (explicit-name)
      (time . 1571234601)
      (wc . #<window-configuration>)
      (ws ((min-height . 4)
           (min-width . 10)
           (min-height-ignore . 3)
           (min-width-ignore . 2)
           (min-height-safe . 1)
           (min-width-safe . 2)
           (min-pixel-height . 76)
           (min-pixel-width . 80)
           (min-pixel-height-ignore . 57)
           (min-pixel-width-ignore . 16)
           (min-pixel-height-safe . 19)
           (min-pixel-width-safe . 16))
          leaf
          (pixel-width . 1912)
          (pixel-height . 1024)
          (total-width . 239)
          (total-height . 54)
          (normal-height . 1.0)
          (normal-width . 1.0)
          (buffer "Business News - Latest Headlines on CNN Business - CNN"
                  (selected . t)
                  (hscroll . 0)
                  (fringes 0 0 nil nil)
                  (margins nil)
                  (scroll-bars nil 0 t nil 0 t nil)
                  (vscroll . 0)
                  (dedicated)
                  (point . 154)
                  (start . 1))
          (prev-buffers ("Home" 1 143))))
 (tab (name . "Business News - Latest Headlines on CNN Business - CNN")
      (explicit-name)
      (time . 1571234633)
      (wc . #<window-configuration>)
      (ws ((min-height . 4)
           (min-width . 10)
           (min-height-ignore . 3)
           (min-width-ignore . 2)
           (min-height-safe . 1)
           (min-width-safe . 2)
           (min-pixel-height . 76)
           (min-pixel-width . 80)
           (min-pixel-height-ignore . 57)
           (min-pixel-width-ignore . 16)
           (min-pixel-height-safe . 19)
           (min-pixel-width-safe . 16))
          leaf
          (pixel-width . 1912)
          (pixel-height . 1024)
          (total-width . 239)
          (total-height . 54)
          (normal-height . 1.0)
          (normal-width . 1.0)
          (buffer "Business News - Latest Headlines on CNN Business - CNN"
                  (selected . t)
                  (hscroll . 0)
                  (fringes 0 0 nil nil)
                  (margins nil)
                  (scroll-bars nil 0 t nil 0 t nil)
                  (vscroll . 0)
                  (dedicated)
                  (point . 422)
                  (start . 1))
          (prev-buffers ("Business News - Latest Headlines on CNN Business - 
CNN" 1
                         154))))
 (tab (name . "Home")
      (explicit-name)
      (time . 1571234709)
      (wc . #<window-configuration>)
      (ws ((min-height . 4)
           (min-width . 20)
           (min-height-ignore . 4)
           (min-width-ignore . 4)
           (min-height-safe . 1)
           (min-width-safe . 4)
           (min-pixel-height . 76)
           (min-pixel-width . 160)
           (min-pixel-height-ignore . 76)
           (min-pixel-width-ignore . 32)
           (min-pixel-height-safe . 19)
           (min-pixel-width-safe . 32))
          hc
          (pixel-width . 1912)
          (pixel-height . 1024)
          (total-width . 239)
          (total-height . 54)
          (normal-height . 1.0)
          (normal-width . 1.0)
          (combination-limit)
          (leaf (pixel-width . 952)
                (pixel-height . 1024)
                (total-width . 119)
                (total-height . 54)
                (normal-height . 1.0)
                (normal-width . 0.5)
                (buffer "*Packages*"
                        (selected)
                        (hscroll . 0)
                        (fringes 0 0 nil nil)
                        (margins nil)
                        (scroll-bars nil 0 t nil 0 t nil)
                        (vscroll . 0)
                        (dedicated)
                        (point . 1)
                        (start . 1))
                (prev-buffers ("Home" 1 143)))
          (leaf (last . t)
                (pixel-width . 960)
                (pixel-height . 1024)
                (total-width . 120)
                (total-height . 54)
                (normal-height . 1.0)
                (normal-width . 0.5)
                (buffer "Home"
                        (selected . t)
                        (hscroll . 0)
                        (fringes 0 0 nil nil)
                        (margins nil)
                        (scroll-bars nil 0 t nil 0 t nil)
                        (vscroll . 0)
                        (dedicated)
                        (point . 143)
                        (start . 1)))))
 (tab (name . "Cricket news from ESPN Cricinfo.com")
      (explicit-name)
      (time . 1571234714)
      (wc . #<window-configuration>)
      (ws ((min-height . 4)
           (min-width . 10)
           (min-height-ignore . 3)
           (min-width-ignore . 2)
           (min-height-safe . 1)
           (min-width-safe . 2)
           (min-pixel-height . 76)
           (min-pixel-width . 80)
           (min-pixel-height-ignore . 57)
           (min-pixel-width-ignore . 16)
           (min-pixel-height-safe . 19)
           (min-pixel-width-safe . 16))
          leaf
          (pixel-width . 1912)
          (pixel-height . 1024)
          (total-width . 239)
          (total-height . 54)
          (normal-height . 1.0)
          (normal-width . 1.0)
          (buffer "Cricket news from ESPN Cricinfo.com"
                  (selected . t)
                  (hscroll . 0)
                  (fringes 0 0 nil nil)
                  (margins nil)
                  (scroll-bars nil 0 t nil 0 t nil)
                  (vscroll . 0)
                  (dedicated)
                  (point . 174)
                  (start . 1))
          (prev-buffers ("Home" 1 143))))
 (tab (name . "Cricket news from ESPN Cricinfo.com")
      (explicit-name)
      (time . 1571234830)
      (wc . #<window-configuration>)
      (ws ((min-height . 4)
           (min-width . 10)
           (min-height-ignore . 3)
           (min-width-ignore . 2)
           (min-height-safe . 1)
           (min-width-safe . 2)
           (min-pixel-height . 76)
           (min-pixel-width . 80)
           (min-pixel-height-ignore . 57)
           (min-pixel-width-ignore . 16)
           (min-pixel-height-safe . 19)
           (min-pixel-width-safe . 16))
          leaf
          (pixel-width . 1912)
          (pixel-height . 1014)
          (total-width . 239)
          (total-height . 53)
          (normal-height . 1.0)
          (normal-width . 1.0)
          (buffer "Cricket news from ESPN Cricinfo.com"
                  (selected . t)
                  (hscroll . 0)
                  (fringes 0 0 nil nil)
                  (margins nil)
                  (scroll-bars nil 0 t nil 0 t nil)
                  (vscroll . 0)
                  (dedicated)
                  (point . 1715)
                  (start . 1))
          (prev-buffers ("Cricket news from ESPN Cricinfo.com" 1 174))))
 (tab (name . "UnixToolTip")
      (explicit-name)
      (time . 1571234903)
      (wc . #<window-configuration>)
      (ws ((min-height . 4)
           (min-width . 10)
           (min-height-ignore . 2)
           (min-width-ignore . 2)
           (min-height-safe . 1)
           (min-width-safe . 2)
           (min-pixel-height . 76)
           (min-pixel-width . 80)
           (min-pixel-height-ignore . 38)
           (min-pixel-width-ignore . 16)
           (min-pixel-height-safe . 19)
           (min-pixel-width-safe . 16))
          leaf
          (pixel-width . 1912)
          (pixel-height . 1003)
          (total-width . 239)
          (total-height . 52)
          (normal-height . 1.0)
          (normal-width . 1.0)
          (buffer "UnixToolTip"
                  (selected . t)
                  (hscroll . 0)
                  (fringes 0 0 nil nil)
                  (margins nil)
                  (scroll-bars nil 0 t nil 0 t nil)
                  (vscroll . 0)
                  (dedicated)
                  (point . 234)
                  (start . 1))
          (prev-buffers ("(:home+@)" 1 1280) ("Home" 1 143))))
 (current-tab (name . "Home") (explicit-name))
 (tab (name . "MS")
      (explicit-name . t)
      (time . 1571233751)
      (wc . #<window-configuration>)
      (ws ((min-height . 4)
           (min-width . 10)
           (min-height-ignore . 4)
           (min-width-ignore . 2)
           (min-height-safe . 1)
           (min-width-safe . 2)
           (min-pixel-height . 76)
           (min-pixel-width . 80)
           (min-pixel-height-ignore . 76)
           (min-pixel-width-ignore . 16)
           (min-pixel-height-safe . 19)
           (min-pixel-width-safe . 16))
          leaf
          (pixel-width . 1912)
          (pixel-height . 1024)
          (total-width . 239)
          (total-height . 53)
          (normal-height . 1.0)
          (normal-width . 1.0)
          (buffer "TAOUP"
                  (selected . t)
                  (hscroll . 0)
                  (fringes 0 0 nil nil)
                  (margins nil)
                  (scroll-bars nil 0 t nil 0 t nil)
                  (vscroll . 0)
                  (dedicated)
                  (point . 1898762)
                  (start . 1896950))
          (prev-buffers ("TAOUP" 1
                         1)))))

> I run with two tabs --- one where I am doing work, the other where I
> am reading an ebook, C-tab makes this a very nice workflow.
>
> So now  I have two tabs -- one called "Home" where I do work, one
> called "EBooks" where I read. All is well for a few hours.
> (length (tab-bar-tabs)) == 2
>
> At some point, C-tab when in the Home tab switches to another tab
> called "Home". When I investigate, 
> (length (tab-bar-tabs)) == 3 or greater ---
> I've seen the above number grow as high as 7 depending on when I check
> --and have to close the extra tabs using C-x t 0.
>
> Unclear as to what interaction triggres the creation of these tabs.
>
> Note: I cannot see, so it's not possible to catch when this happen by
> eyeballing the tab-bar line -- I only notice when C-tab doesn't do
> what I expect.
>
> -- 

-- 



reply via email to

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