{"id":19745917,"url":"https://github.com/alan-platform/alanforemacs","last_synced_at":"2025-08-24T19:14:12.801Z","repository":{"id":112696404,"uuid":"106791631","full_name":"alan-platform/AlanForEmacs","owner":"alan-platform","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-09T06:52:59.000Z","size":848,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-10T20:47:50.863Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alan-platform.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2017-10-13T07:21:58.000Z","updated_at":"2022-01-06T07:27:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"2d4f676e-3141-4028-88f3-b61774a437c4","html_url":"https://github.com/alan-platform/AlanForEmacs","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alan-platform%2FAlanForEmacs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alan-platform%2FAlanForEmacs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alan-platform%2FAlanForEmacs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alan-platform%2FAlanForEmacs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alan-platform","download_url":"https://codeload.github.com/alan-platform/AlanForEmacs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241077214,"owners_count":19905725,"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":[],"created_at":"2024-11-12T02:12:06.189Z","updated_at":"2025-02-27T23:48:05.235Z","avatar_url":"https://github.com/alan-platform.png","language":"Emacs Lisp","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Alan For Emacs\n\nA major mode for editing Alan files. It provides:\n- Syntax highlighting.\n- Display the current context (path) at point.\n- Automatic indentation.\n- Flycheck integration.\n- Simple xref backend.\n\n## Installation\n\n- Put alan-mode.el in your load-path.\n- Install it from [![MELPA](https://melpa.org/packages/alan-mode-badge.svg)](https://melpa.org/#/alan-mode) using package-install  \u003ckbd\u003eM-x package-install [ret] alan-mode\u003c/kbd\u003e\n\n## Configuration\n\nTo setup up FlyCheck add the following snippet to your init.\n\n```Emacs Lisp\n(add-hook 'alan-mode-hook\n\t(lambda ()\n\t\t(flycheck-mode +1)\n\t))\n```\n\nWhen in an empty Alan block (e.g. `{ }`) a newline yields the following result:\n```\n{\n\t|}\n```\n\nIn most cases this is more useful:\n```\n{\n\t|\n}\n```\n\nAlan mode provides an electric layout rule (`alan-add-line-in-braces-rule`). Set it up in your init file, preferably in the `alan-mode-hook`.\n```\n(electric-layout-mode 1)\n(set (make-variable-buffer-local 'electric-layout-rules) (list alan-add-line-in-braces-rule))\n```\n\n![screenshot](/screenshot.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falan-platform%2Falanforemacs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falan-platform%2Falanforemacs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falan-platform%2Falanforemacs/lists"}