help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: How to "fold" the GNUS Summary buffer?


From: Daniel Fleischer
Subject: Re: How to "fold" the GNUS Summary buffer?
Date: Mon, 13 Sep 2021 12:54:06 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin)

Here's simple code to fold threads using TAB:

#+begin_src elisp
(defvar df/gnus-thread--var nil)
(defun df/gnus-thread ()
  (interactive)
  (setq df/gnus-thread--var (not df/gnus-thread--var))
  (if df/gnus-thread--var
      (gnus-summary-hide-thread)
    (gnus-summary-show-thread)))

(define-key gnus-summary-mode-map (kbd "TAB") 'df/gnus-thread)
#+end_src

-- 

Daniel Fleischer



reply via email to

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