[Top][All Lists]

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

Re: open/close threads with `<' and `>'

From: Harry Putnam
Subject: Re: open/close threads with `<' and `>'
Date: Fri, 14 Oct 2011 15:05:14 -0500
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux)

Tassilo Horn <> writes:

>> I would like to defun a function that can toggles a given thread as the
>> ">" is hard to use on my keyboard.
> I have such a function:
> (defun th-next-line-invisible-p ()
>   "Return non-nil, if the line after POS starts invisible.
> POS defaults to `point'."
>   (invisible-p (line-end-position)))
> (defun th-gnus-summary-toggle-show/hide ()
>   (interactive)
>   (if (th-next-line-invisible-p)
>       (gnus-summary-show-thread)
>     (gnus-summary-hide-thread)))

Tassilo, what do you use this for... sorry I can't just follow the
code since I'm a simpleton.

reply via email to

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