unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to "fold" the GNUS Summary buffer?
@ 2021-09-12 23:45 David Masterson
  2021-09-13  8:52 ` Daniel Martín
  0 siblings, 1 reply; 5+ messages in thread
From: David Masterson @ 2021-09-12 23:45 UTC (permalink / raw)
  To: help-gnu-emacs

Is there commands to collapse/expand threads in the GNUS Summary buffer
(a la outline-mode)?
-- 
David Masterson



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How to "fold" the GNUS Summary buffer?
  2021-09-12 23:45 How to "fold" the GNUS Summary buffer? David Masterson
@ 2021-09-13  8:52 ` Daniel Martín
  2021-09-13  9:54   ` Daniel Fleischer
  2021-09-15  3:38   ` David Masterson
  0 siblings, 2 replies; 5+ messages in thread
From: Daniel Martín @ 2021-09-13  8:52 UTC (permalink / raw)
  To: David Masterson; +Cc: help-gnu-emacs

David Masterson <dsmasterson92630@outlook.com> writes:

> Is there commands to collapse/expand threads in the GNUS Summary buffer
> (a la outline-mode)?

Try T H (gnus-summary-hide-all-threads) and T S
(gnus-summary-show-all-threads).

You can do that per thread with C-M h (gnus-summary-hide-thread) and C-M
s (gnus-summary-show-thread).



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How to "fold" the GNUS Summary buffer?
  2021-09-13  8:52 ` Daniel Martín
@ 2021-09-13  9:54   ` Daniel Fleischer
  2021-09-15  3:39     ` David Masterson
  2021-09-15  3:38   ` David Masterson
  1 sibling, 1 reply; 5+ messages in thread
From: Daniel Fleischer @ 2021-09-13  9:54 UTC (permalink / raw)
  To: Daniel Martín; +Cc: help-gnu-emacs, David Masterson

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How to "fold" the GNUS Summary buffer?
  2021-09-13  8:52 ` Daniel Martín
  2021-09-13  9:54   ` Daniel Fleischer
@ 2021-09-15  3:38   ` David Masterson
  1 sibling, 0 replies; 5+ messages in thread
From: David Masterson @ 2021-09-15  3:38 UTC (permalink / raw)
  To: Daniel Martín; +Cc: help-gnu-emacs

Daniel Martín <mardani29@yahoo.es> writes:

> David Masterson <dsmasterson92630@outlook.com> writes:
>
>> Is there commands to collapse/expand threads in the GNUS Summary buffer
>> (a la outline-mode)?
>
> Try T H (gnus-summary-hide-all-threads) and T S
> (gnus-summary-show-all-threads).
>
> You can do that per thread with C-M h (gnus-summary-hide-thread) and C-M
> s (gnus-summary-show-thread).

Thanks

-- 
David Masterson



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How to "fold" the GNUS Summary buffer?
  2021-09-13  9:54   ` Daniel Fleischer
@ 2021-09-15  3:39     ` David Masterson
  0 siblings, 0 replies; 5+ messages in thread
From: David Masterson @ 2021-09-15  3:39 UTC (permalink / raw)
  To: Daniel Fleischer; +Cc: help-gnu-emacs, Daniel Martín

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-09-15  3:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-12 23:45 How to "fold" the GNUS Summary buffer? David Masterson
2021-09-13  8:52 ` Daniel Martín
2021-09-13  9:54   ` Daniel Fleischer
2021-09-15  3:39     ` David Masterson
2021-09-15  3:38   ` David Masterson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).