]> git.eshelyaron.com Git - emacs.git/commit
ibuffer: Display column titles in header line
authorDaniel Mendler <mail@daniel-mendler.de>
Sat, 11 Jan 2025 15:36:56 +0000 (16:36 +0100)
committerEshel Yaron <me@eshelyaron.com>
Sat, 25 Jan 2025 17:48:23 +0000 (18:48 +0100)
commit62a5a6baa138b268fa67813fd023e923edba710f
treeb50cb7dae24a8beff3d415f3b0c7c9a70df6efe2
parentb4b613cca3c00469ed0877c45653ad5fad8224d9
ibuffer: Display column titles in header line

If the option `ibuffer-use-header-line' is set to `title',
display column titles in the header line.
* lisp/ibuffer.el (ibuffer--format-title)
(ibuffer--format-summary): New functions extracted from
`ibuffer-update-title-and-summary'.
(ibuffer-update-title-and-summary): Use them.
(ibuffer-update): Do not always override `header-line-format'.
(ibuffer-use-header-line): Update docstring and option `:type'.
* lisp/ibuf-macs.el (define-ibuffer-sorter): Add "@" to the
interactive specification for clicks on the header line.

* etc/NEWS: Announce the change.
(Bug#75497)

(cherry picked from commit 5294d450da47734bbe2ca259505674bcae5ff573)
etc/NEWS
lisp/ibuf-macs.el
lisp/ibuffer.el