>>>> "Chris" == Chris Palmer
<chris(a)nodewarrior.org> writes:
Chris> I know that * sorts before A. Sorting is not the problem;
Chris> that's working the way I want it to. The problem is that no
Chris> matter what buffer you visit, a single given tab is always
Chris> dominant.
Oh, by "dominant tab" you mean "top tab", not "leftmost
tab". Well,
it's the same thing. The tabs in the tab control are completely
specified by the list of buffers. The car of the list is the top tab.
See `build-buffers-tab-internal'. I'm not sure why this works at all
(I'd think that it would guarantee that the top tab was always at the
left).
I guess I should document this.... (This is part of what Ben means by
"75% done": the docs are not even close to enough to program from.)
You need some part of this (from `buffers-tab-items'):
(let* ((buffers (delete-if
buffers-tab-omit-function (buffer-list frame)))
(first-buf (car buffers)))
;; maybe force the selected window
(when (and force-selection
(not in-deletion)
(not (eq first-buf (window-buffer (selected-window frame)))))
(setq buffers (cons (window-buffer (selected-window frame))
(delq first-buf buffers))))
--
Institute of Policy and Planning Sciences
http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Ask not how you can "do" free software business;
ask what your business can "do for" free software.