<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emacs/lisp/tab-line.el, branch feature/bug-reference-setup</title>
<subtitle>Emacs is the extensible, customizable, self-documenting real-time display editor. 
</subtitle>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/'/>
<entry>
<title>Fix bugs in tab-bar and tab-line and mention remaining features in manual.</title>
<updated>2020-04-26T22:28:36+00:00</updated>
<author>
<name>Juri Linkov</name>
</author>
<published>2020-04-26T22:28:36+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=f0e1bf56f041a7f104839678db61e47006b5657c'/>
<id>f0e1bf56f041a7f104839678db61e47006b5657c</id>
<content type='text'>
* doc/emacs/frames.texi (Tab Bars): Mention tab-bar-new-tab-to,
tab-bar-close-last-tab-choice, tab-bar-close-tab-select, tab-undo,
tab-select, tab-bar-history-mode.

* doc/emacs/windows.texi (Tab Line): Mention tab-line-tabs-function.

* lisp/tab-bar.el (tab-bar-select-tab-modifiers): Mention
tab-bar-tab-hints in docstring.
(tab-bar-tab-hints): Mention tab-bar-select-tab-modifiers
in docstring.
(tab-bar-select-tab): Mention tab-bar-select-tab-modifiers
in docstring.
(tab-bar-switch-to-tab): Expand the docstring.
(tab-bar-new-tab-to): Fix bug in handling 'left' value.
(tab-bar-close-tab): Fix bug in handling 'left' value.
(tab-bar-undo-close-tab): Use funcall tab-bar-tabs-function
instead of direct call to tab-bar-tabs.
(tab-bar-history-back, tab-bar-history-forward): Add docstrings.
(tab-bar-history-mode): Expand docstring.

* lisp/tab-line.el (tab-line-format): Fix bug for handling window
switching that should set face 'tab-line-tab-current'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* doc/emacs/frames.texi (Tab Bars): Mention tab-bar-new-tab-to,
tab-bar-close-last-tab-choice, tab-bar-close-tab-select, tab-undo,
tab-select, tab-bar-history-mode.

* doc/emacs/windows.texi (Tab Line): Mention tab-line-tabs-function.

* lisp/tab-bar.el (tab-bar-select-tab-modifiers): Mention
tab-bar-tab-hints in docstring.
(tab-bar-tab-hints): Mention tab-bar-select-tab-modifiers
in docstring.
(tab-bar-select-tab): Mention tab-bar-select-tab-modifiers
in docstring.
(tab-bar-switch-to-tab): Expand the docstring.
(tab-bar-new-tab-to): Fix bug in handling 'left' value.
(tab-bar-close-tab): Fix bug in handling 'left' value.
(tab-bar-undo-close-tab): Use funcall tab-bar-tabs-function
instead of direct call to tab-bar-tabs.
(tab-bar-history-back, tab-bar-history-forward): Add docstrings.
(tab-bar-history-mode): Expand docstring.

* lisp/tab-line.el (tab-line-format): Fix bug for handling window
switching that should set face 'tab-line-tab-current'.
</pre>
</div>
</content>
</entry>
<entry>
<title>* lisp/tab-line.el (tab-line-new-button-show): New defcustom.</title>
<updated>2020-03-19T23:21:57+00:00</updated>
<author>
<name>Juri Linkov</name>
</author>
<published>2020-03-19T23:21:57+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=7515252cce60de91fce19f5efa84d326f0b14ca5'/>
<id>7515252cce60de91fce19f5efa84d326f0b14ca5</id>
<content type='text'>
* lisp/tab-line.el (tab-line-format-template): Use tab-line-new-button-show.
(tab-line-new-tab-choice): Remove choice 'nil' with "No button".
(tab-line-separator): Add docstring.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/tab-line.el (tab-line-format-template): Use tab-line-new-button-show.
(tab-line-new-tab-choice): Remove choice 'nil' with "No button".
(tab-line-separator): Add docstring.
</pre>
</div>
</content>
</entry>
<entry>
<title>* lisp/tab-line.el: Fix tab-line-format and tab-line-format-template.</title>
<updated>2020-03-16T23:11:27+00:00</updated>
<author>
<name>Juri Linkov</name>
</author>
<published>2020-03-16T23:11:27+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=a2dd8c4234c9a858e273ea22129962cee58fa4ce'/>
<id>a2dd8c4234c9a858e273ea22129962cee58fa4ce</id>
<content type='text'>
* lisp/tab-line.el (tab-line-format): Use buffer-name in the cache key
instead of just buffer object to invalidate the cache on buffer renaming.
(tab-line-format-template): Always leave the separator after the last tab
like tab-bar.el already does.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/tab-line.el (tab-line-format): Use buffer-name in the cache key
instead of just buffer object to invalidate the cache on buffer renaming.
(tab-line-format-template): Always leave the separator after the last tab
like tab-bar.el already does.
</pre>
</div>
</content>
</entry>
<entry>
<title>* lisp/tab-line.el: Fix auto-hscrolling (bug#39649)</title>
<updated>2020-02-29T21:49:17+00:00</updated>
<author>
<name>Juri Linkov</name>
</author>
<published>2020-02-29T21:49:17+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=6b48aedb6b3b1de0b41b61b727d14ab8277d2f73'/>
<id>6b48aedb6b3b1de0b41b61b727d14ab8277d2f73</id>
<content type='text'>
Distinguish offsets between manual-vs-automatic scrolling
as integers-vs-floats instead of positive-vs-negative integers.

* lisp/tab-line.el (tab-line-format-template): Use 'numberp'
instead of 'integerp', and 'truncate' instead of 'abs'.
(tab-line-format): When the window-buffer was updated, set window-parameter
to float to enable auto-hscroll after it was disabled on manual scrolling.
(tab-line-auto-hscroll-buffer): New variable with internal buffer.
(tab-line-auto-hscroll): Erase in tab-line-auto-hscroll-buffer.
Use 'numberp' instead of 'integerp', 'truncate' instead of 'abs',
and 'float' instead of '-'.
(tab-line-hscroll): Use 'numberp' instead of 'integerp',
and 'truncate' instead of 'abs'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Distinguish offsets between manual-vs-automatic scrolling
as integers-vs-floats instead of positive-vs-negative integers.

* lisp/tab-line.el (tab-line-format-template): Use 'numberp'
instead of 'integerp', and 'truncate' instead of 'abs'.
(tab-line-format): When the window-buffer was updated, set window-parameter
to float to enable auto-hscroll after it was disabled on manual scrolling.
(tab-line-auto-hscroll-buffer): New variable with internal buffer.
(tab-line-auto-hscroll): Erase in tab-line-auto-hscroll-buffer.
Use 'numberp' instead of 'integerp', 'truncate' instead of 'abs',
and 'float' instead of '-'.
(tab-line-hscroll): Use 'numberp' instead of 'integerp',
and 'truncate' instead of 'abs'.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix faces tab-bar and tab-line.</title>
<updated>2020-02-04T23:27:30+00:00</updated>
<author>
<name>Juri Linkov</name>
</author>
<published>2020-02-04T23:27:30+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=ef5fba9f40c8d3bdb314af2e00a51398d112d357'/>
<id>ef5fba9f40c8d3bdb314af2e00a51398d112d357</id>
<content type='text'>
* lisp/tab-bar.el (tab-bar) &lt;defface&gt;:
* lisp/tab-line.el (tab-line) &lt;defface&gt;:
Check for min-colors 88 instead of type x.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/tab-bar.el (tab-bar) &lt;defface&gt;:
* lisp/tab-line.el (tab-line) &lt;defface&gt;:
Check for min-colors 88 instead of type x.
</pre>
</div>
</content>
</entry>
<entry>
<title>Tab-bar related finishing touches.</title>
<updated>2020-01-22T23:23:17+00:00</updated>
<author>
<name>Juri Linkov</name>
</author>
<published>2020-01-22T23:23:17+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=92f080dda8892861be7c175dc57f71dee0909d82'/>
<id>92f080dda8892861be7c175dc57f71dee0909d82</id>
<content type='text'>
* lisp/tab-bar.el (tab-bar-tab-name-ellipsis): Use shorter name
instead of tab-bar-tab-name-truncated-ellipsis.
(tab-bar-new-tab-to) &lt;defcustom&gt;: Add 'function' option.
(tab-bar-new-tab-to) &lt;function&gt;: Use it.

* lisp/tab-line.el (tab-line-close-tab): Add missing arg 'tab' to
tab-line-close-tab-function funcall.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/tab-bar.el (tab-bar-tab-name-ellipsis): Use shorter name
instead of tab-bar-tab-name-truncated-ellipsis.
(tab-bar-new-tab-to) &lt;defcustom&gt;: Add 'function' option.
(tab-bar-new-tab-to) &lt;function&gt;: Use it.

* lisp/tab-line.el (tab-line-close-tab): Add missing arg 'tab' to
tab-line-close-tab-function funcall.
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow optional truncation of tab names in tab-bar and tab-line (bug#38693)</title>
<updated>2020-01-20T23:03:37+00:00</updated>
<author>
<name>Juri Linkov</name>
</author>
<published>2020-01-20T23:03:37+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=3ba0db41e3fcfdc47368e9e6fd7cbe45230ba88b'/>
<id>3ba0db41e3fcfdc47368e9e6fd7cbe45230ba88b</id>
<content type='text'>
* lisp/tab-line.el (tab-line-tab-name-truncated-max): New defcustom.
(tab-line-tab-name-truncated-buffer): Use tab-line-tab-name-truncated-max
consistently with similar options in tab-bar.el.
(tab-line-tabs-limit): Remove variable.
(tab-line-tabs-window-buffers): Remove use of tab-line-tabs-limit
that was an experimental feature before horizontal scrolling was implemented.
(tab-line-close-tab-function): Rename from tab-line-close-tab-action
and allow a customizaed function as option.
(tab-line-close-tab): Call function if tab-line-close-tab-function
is customized to a function.

* lisp/tab-bar.el (tab-bar-tab-name-function): Add option
tab-bar-tab-name-truncated.
(tab-bar-tab-name-truncated-max): New defcustom.
(tab-bar-tab-name-truncated-ellipsis): New variable.
(tab-bar-tab-name-truncated): New function.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/tab-line.el (tab-line-tab-name-truncated-max): New defcustom.
(tab-line-tab-name-truncated-buffer): Use tab-line-tab-name-truncated-max
consistently with similar options in tab-bar.el.
(tab-line-tabs-limit): Remove variable.
(tab-line-tabs-window-buffers): Remove use of tab-line-tabs-limit
that was an experimental feature before horizontal scrolling was implemented.
(tab-line-close-tab-function): Rename from tab-line-close-tab-action
and allow a customizaed function as option.
(tab-line-close-tab): Call function if tab-line-close-tab-function
is customized to a function.

* lisp/tab-bar.el (tab-bar-tab-name-function): Add option
tab-bar-tab-name-truncated.
(tab-bar-tab-name-truncated-max): New defcustom.
(tab-bar-tab-name-truncated-ellipsis): New variable.
(tab-bar-tab-name-truncated): New function.
</pre>
</div>
</content>
</entry>
<entry>
<title>* lisp/tab-line.el (tab-line-auto-hscroll): Fix for long tab names.</title>
<updated>2020-01-20T00:35:53+00:00</updated>
<author>
<name>Juri Linkov</name>
</author>
<published>2020-01-20T00:35:53+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=92f30d62c038affa515989ad3ccf170b604c9174'/>
<id>92f30d62c038affa515989ad3ccf170b604c9174</id>
<content type='text'>
Check for nil value returned by previous-single-property-change that
happens when tab name is longer than window width.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Check for nil value returned by previous-single-property-change that
happens when tab name is longer than window width.
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle tab-bar clicks on a GPM-capable console.</title>
<updated>2020-01-12T23:23:12+00:00</updated>
<author>
<name>Juri Linkov</name>
</author>
<published>2020-01-12T23:23:12+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=d47b157969356f15e038dbbfa4da7769f6f98583'/>
<id>d47b157969356f15e038dbbfa4da7769f6f98583</id>
<content type='text'>
* src/term.c (handle_one_term_event): Call tty_handle_tab_bar_click.

* src/xdisp.c (tty_handle_tab_bar_click): Force reset of up_modifier bit
from the event modifiers.

* lisp/tab-line.el (tab-line-tab-current): No need to use inverse-video
on console/xterm because the selected tab already uses inverse-video.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/term.c (handle_one_term_event): Call tty_handle_tab_bar_click.

* src/xdisp.c (tty_handle_tab_bar_click): Force reset of up_modifier bit
from the event modifiers.

* lisp/tab-line.el (tab-line-tab-current): No need to use inverse-video
on console/xterm because the selected tab already uses inverse-video.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update copyright year to 2020</title>
<updated>2020-01-01T00:59:52+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2020-01-01T00:19:43+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=365e01cc9f64ce6ca947ccfd8612d60763280a37'/>
<id>365e01cc9f64ce6ca947ccfd8612d60763280a37</id>
<content type='text'>
Run "TZ=UTC0 admin/update-copyright $(git ls-files)".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Run "TZ=UTC0 admin/update-copyright $(git ls-files)".
</pre>
</div>
</content>
</entry>
</feed>
