{"id":15571032,"url":"https://github.com/netromdk/annotate-depth","last_synced_at":"2026-06-28T22:31:41.731Z","repository":{"id":75034256,"uuid":"58826672","full_name":"netromdk/annotate-depth","owner":"netromdk","description":"Annotate buffer if indentation depth is beyond threshold in Emacs.","archived":false,"fork":false,"pushed_at":"2016-05-20T20:40:31.000Z","size":47,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-27T04:27:30.055Z","etag":null,"topics":["annotates-buffer","emacs","emacs-mode","indentation-depth","melpa"],"latest_commit_sha":null,"homepage":"","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/netromdk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2016-05-14T19:39:52.000Z","updated_at":"2022-11-24T17:24:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"abf74ca7-e0ae-4280-9319-9ccef34c660f","html_url":"https://github.com/netromdk/annotate-depth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/netromdk/annotate-depth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netromdk%2Fannotate-depth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netromdk%2Fannotate-depth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netromdk%2Fannotate-depth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netromdk%2Fannotate-depth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/netromdk","download_url":"https://codeload.github.com/netromdk/annotate-depth/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netromdk%2Fannotate-depth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34906700,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-28T02:00:05.809Z","response_time":54,"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":["annotates-buffer","emacs","emacs-mode","indentation-depth","melpa"],"created_at":"2024-10-02T17:53:28.843Z","updated_at":"2026-06-28T22:31:41.714Z","avatar_url":"https://github.com/netromdk.png","language":"Emacs Lisp","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![MELPA](http://melpa.org/packages/annotate-depth-badge.svg)](http://melpa.org/#/annotate-depth)\n\n# Annotate Depth mode [Emacs]\n\n`annotate-depth-mode` annotates buffer if indentation depth is beyond threshold (see `annotate-depth-threshold` which defaults to 5). An idle timer is started when entering the mode and disabled when exiting it. The face `annotate-depth-face` is applied at indentation level and to end-of-line for each line on or beyond threshold.\n\nUsage:\n```elisp\n(add-hook 'prog-mode-hook 'annotate-depth-mode)\n```\n\nThe threshold can be fine-tuned for specific modes if necessary:\n```elisp\n(add-hook 'annotate-depth-mode-hook\n            (lambda ()\n              (if (equal major-mode 'emacs-lisp-mode)\n                  (setq-local annotate-depth-threshold 10)\n                (when (equal major-mode 'c++-mode)\n                  (setq-local annotate-depth-threshold 4)))))\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetromdk%2Fannotate-depth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetromdk%2Fannotate-depth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetromdk%2Fannotate-depth/lists"}