all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Masterson <dsmasterson92630@outlook.com>
To: Daniel Fleischer <danflscr@gmail.com>
Cc: help-gnu-emacs@gnu.org, "Daniel Martín" <mardani29@yahoo.es>
Subject: Re: How to "fold" the GNUS Summary buffer?
Date: Tue, 14 Sep 2021 20:39:40 -0700	[thread overview]
Message-ID: <SJ0PR03MB5455A6F052F848B1CDDC6E329BDB9@SJ0PR03MB5455.namprd03.prod.outlook.com> (raw)
In-Reply-To: <m2bl4wu7gh.fsf@gmail.com> (Daniel Fleischer's message of "Mon, 13 Sep 2021 12:54:06 +0300")

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	other threads:[~2021-09-15  3:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2021-09-15  3:38   ` David Masterson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=SJ0PR03MB5455A6F052F848B1CDDC6E329BDB9@SJ0PR03MB5455.namprd03.prod.outlook.com \
    --to=dsmasterson92630@outlook.com \
    --cc=danflscr@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=mardani29@yahoo.es \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.