Next: , Previous: , Up: Various   [Contents][Index]

9.6 Tabbed Interface

Gnus supports display of different buffers in dedicated tabs that you can select using the tab bar.

To open the group buffer in a new tab named ‘Gnus’, use:

(push '("\\`\\*Group\\*\\'" .
        (display-buffer-in-tab
         (tab-name . "Gnus")))
      display-buffer-alist)

To read every summary in a separate explicitly named tab, use:

(push '("\\`\\*Summary .*\\*\\'" .
        (display-buffer-in-tab
         (tab-name . (lambda (buffer _alist)
                       (setq buffer (buffer-name buffer))
                       (when (string-match "\\`\\*Summary \\(.*\\)\\*\\'" buffer)
                         (format "Group %s" (match-string 1 buffer)))))))
      display-buffer-alist)