Re: [PATCH] Add explicit open/close thread functions.

"Kevin J. McCarthy" <[email protected]>
Newsgroups gmane.mail.mutt.devel
Message-ID <aaz9kIpHhTUbVuXT@qinghai>
On Fri, Mar 06, 2026 at 07:40:14PM +0800, Kevin J. McCarthy wrote:
>The current functions <collapse-thread> and <collapse-all> are in fact
>toggles.  This makes it tricky to control how a macro behaves, for
>instance.
>
>Add functions <open-thread>, <close-thread>, <open-all-threads>,
><close-all-threads> to explicitly open or close threads.
>
>Renaming the existing toggle functions is not practical due to how
>long they have been in use.  I could add new <toggle-thread>
><toggle-all-threads> functions but that would require new OPS to work
>properly with keybindings.  I don't think it's worth the extra
>trouble.

I've pushed this up to master.

-- 
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEiXWpszqjeRA4XFMIre92hIAxa9oFAmms/ZAACgkQre92hIAx
a9pPnRAAve6cXo/TXFwkAor+j4P3kA5gDfgFf2RL/L2qve/DhV3x2vOdgrne9+PF
ziMFBTrn7brgVjMXq/x927Js9dtsD56COkC5dWp9B3a/S7+Ol2+A0ey7Aaoh3jXu
NQuJXCeNEkCcfg6xkmJeDGjaBrpv+kLYyW9/v/FFSGZKWVqHi6tQeW61LXVBl5nG
STAWeUgKzgarp/e+Cp5Mn30RO2sWqbQbesOGlCpVHeNeBmJKvuFsmgc2DJ4j70HF
uAIqrUwMIJaVt/FbRtr+t0tZtqz7eX10GOpb5vT57Hfgxdimo1PH3WYnNS2n4/D8
GFOTm1PmjP0efljjXftuGk4te8KvTeGJ3YU+eNkUMBQRinwPL4LLEBSDNf5H6Y7h
8T8uuKDp7w4I9tCRMp0/4aU711AilSsee2VQQP2ihhAOOMC+piviLOAwF9pLNNYx
Br0nKEhkUlJZeaONokuQ/MIIav23+VGOpwcojCpbrsOJV43BnnrFCvLGslQTVoTJ
Fx7wYO4TQxeZTgF67TO+OQhC08cRsvBC2k2aGPpRXjV+DfPVbPeGcejT+X3b60BQ
rBKHl695SrZP/Pjmz64IUMSPmSQWlmSF+3CWi54jCAYOgw13JDG6oONSyazYYf0v
R32O1aH8Q1GXoybCgwSb673WQ1/UW7ePKvrW3BaTjxSiTi8PjNU=
=L7A6
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.