{"id":13894533,"url":"https://github.com/rougier/mu4e-thread-folding","last_synced_at":"2025-12-30T00:24:25.275Z","repository":{"id":49513047,"uuid":"321443201","full_name":"rougier/mu4e-thread-folding","owner":"rougier","description":"Functions for folding threads in mu4e headers view","archived":false,"fork":false,"pushed_at":"2023-05-10T06:48:28.000Z","size":774,"stargazers_count":139,"open_issues_count":10,"forks_count":12,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-07-09T16:19:16.056Z","etag":null,"topics":["emacs","mail","mu4e"],"latest_commit_sha":null,"homepage":"","language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rougier.png","metadata":{"files":{"readme":"README.org","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-14T18:52:49.000Z","updated_at":"2025-06-21T17:38:35.000Z","dependencies_parsed_at":"2024-11-25T04:17:57.532Z","dependency_job_id":null,"html_url":"https://github.com/rougier/mu4e-thread-folding","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rougier/mu4e-thread-folding","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rougier%2Fmu4e-thread-folding","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rougier%2Fmu4e-thread-folding/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rougier%2Fmu4e-thread-folding/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rougier%2Fmu4e-thread-folding/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rougier","download_url":"https://codeload.github.com/rougier/mu4e-thread-folding/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rougier%2Fmu4e-thread-folding/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265589338,"owners_count":23793501,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["emacs","mail","mu4e"],"created_at":"2024-08-06T18:01:36.938Z","updated_at":"2025-12-30T00:24:25.230Z","avatar_url":"https://github.com/rougier.png","language":"Emacs Lisp","funding_links":[],"categories":["Emacs Lisp"],"sub_categories":[],"readme":"*** mu4e thread folding\n\n[[file:mu4e-thread-folding.el][mu4e-thread-folding.el]] is a small library to enable threads folding in\n[[https://www.djcbsoftware.nl/code/mu/mu4e.html][mu4e]]. This works by using overlays with an [[https://www.gnu.org/software/emacs/manual/html_node/elisp/Overlay-Properties.html][invisible property]] and\nsetting hooks at the right place. It is possible to configure colors\nto better highlight a thread and also to have a prefix string\nindicating if a thread is folded or not. Note that when a thread is\nfolded, any unread child remains visible.\n\n*** Usage\n\nThe prefix string is displayed over the header line and it is thus\nrecommended to have an empty field at the start of an header line.\nHave a look at ~mu4e-headers-fields~.\n\n#+begin_src lisp\n(require 'mu4e-thread-folding)\n\n(add-to-list 'mu4e-header-info-custom\n             '(:empty . (:name \"Empty\"\n                         :shortname \"\"\n                         :function (lambda (msg) \"  \"))))\n(setq mu4e-headers-fields '((:empty         .    2)\n                            (:human-date    .   12)\n                            (:flags         .    6)\n                            (:mailing-list  .   10)\n                            (:from          .   22)\n                            (:subject       .   nil)))\n#+end_src\n\n*** Keybindings\n\n#+begin_src lisp\n(define-key mu4e-headers-mode-map (kbd \"\u003ctab\u003e\")     'mu4e-headers-toggle-at-point)\n(define-key mu4e-headers-mode-map (kbd \"\u003cleft\u003e\")    'mu4e-headers-fold-at-point)\n(define-key mu4e-headers-mode-map (kbd \"\u003cS-left\u003e\")  'mu4e-headers-fold-all)\n(define-key mu4e-headers-mode-map (kbd \"\u003cright\u003e\")   'mu4e-headers-unfold-at-point)\n(define-key mu4e-headers-mode-map (kbd \"\u003cS-right\u003e\") 'mu4e-headers-unfold-all)\n#+end_src\n\n\n*** Customization\n\nOptions are accessible from the ~mu4e-thread-folding~ customization group.\n\n*** Screenshot\n\n[[./screenshot.png]]\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frougier%2Fmu4e-thread-folding","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frougier%2Fmu4e-thread-folding","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frougier%2Fmu4e-thread-folding/lists"}