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: David Masterson
Subject: Re: How to "fold" the GNUS Summary buffer?
Date: Tue, 14 Sep 2021 20:39:40 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Daniel Fleischer <danflscr@gmail.com> writes:

> 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

Nice

-- 
David Masterson



reply via email to

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