{"id":17185322,"url":"https://github.com/purcell/emacs-dune-format","last_synced_at":"2025-08-16T11:09:26.181Z","repository":{"id":66406167,"uuid":"357004304","full_name":"purcell/emacs-dune-format","owner":"purcell","description":"Reformat dune files from within Emacs","archived":false,"fork":false,"pushed_at":"2024-11-07T07:21:55.000Z","size":7,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-19T02:41:31.319Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/purcell.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"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},"funding":{"patreon":"sanityinc"}},"created_at":"2021-04-11T23:38:40.000Z","updated_at":"2024-11-07T07:21:58.000Z","dependencies_parsed_at":"2024-11-07T08:21:54.801Z","dependency_job_id":"97860451-e191-49e8-958b-31f2f7b0e4ce","html_url":"https://github.com/purcell/emacs-dune-format","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/purcell/emacs-dune-format","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purcell%2Femacs-dune-format","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purcell%2Femacs-dune-format/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purcell%2Femacs-dune-format/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purcell%2Femacs-dune-format/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/purcell","download_url":"https://codeload.github.com/purcell/emacs-dune-format/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purcell%2Femacs-dune-format/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270702562,"owners_count":24630877,"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","status":"online","status_checked_at":"2025-08-16T02:00:11.002Z","response_time":91,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-10-15T00:46:18.227Z","updated_at":"2025-08-16T11:09:26.153Z","avatar_url":"https://github.com/purcell.png","language":"Emacs Lisp","funding_links":["https://patreon.com/sanityinc","https://www.patreon.com/sanityinc"],"categories":[],"sub_categories":[],"readme":"[![Melpa Status](http://melpa.org/packages/dune-format-badge.svg)](http://melpa.org/#/dune-format)\n[![Melpa Stable Status](http://stable.melpa.org/packages/dune-format-badge.svg)](http://stable.melpa.org/#/dune-format)\n[![Build Status](https://github.com/purcell/emacs-dune-format/actions/workflows/test.yml/badge.svg)](https://github.com/purcell/emacs-dune-format/actions/workflows/test.yml)\n\u003ca href=\"https://www.patreon.com/sanityinc\"\u003e\u003cimg alt=\"Support me\" src=\"https://img.shields.io/badge/Support%20Me-%F0%9F%92%97-ff69b4.svg\"\u003e\u003c/a\u003e\n\ndune-format.el\n============\n\nThis Emacs library provides commands and a minor mode for easily reformatting\ndune files using dune's built-in format command.\n\nInstallation\n=============\n\nIf you choose not to use one of the convenient\npackages in [MELPA][melpa], you'll need to\nadd the directory containing `dune-format.el` to your `load-path`, and\nthen `(require 'dune-format)`.\n\nUsage\n=====\n\nCall `dune-format`, `dune-format-buffer` or `dune-format-region` as convenient.\n\nEnable `dune-format-on-save-mode` in `dune-mode` buffers like this:\n\n```el\n(add-hook 'dune-mode-hook 'dune-format-on-save-mode)\n```\n\nor locally to your project with a form in your .dir-locals.el like\nthis:\n\n```el\n((dune-mode\n   (mode . dune-format-on-save)))\n```\n\nYou might like to bind `dune-format` or `dune-format-buffer` to a key,\ne.g. with:\n\n```el\n(define-key dune-mode-map (kbd \"C-c C-f\") 'dune-format)\n```\n\n[melpa]: http://melpa.org\n\n\u003chr\u003e\n\n[💝 Support this project and my other Open Source work](https://www.patreon.com/sanityinc)\n\n[💼 LinkedIn profile](https://uk.linkedin.com/in/stevepurcell)\n\n[✍ sanityinc.com](http://www.sanityinc.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpurcell%2Femacs-dune-format","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpurcell%2Femacs-dune-format","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpurcell%2Femacs-dune-format/lists"}