{"id":16843691,"url":"https://github.com/thornjad/rivet-mode","last_synced_at":"2025-03-18T05:44:02.054Z","repository":{"id":114294648,"uuid":"168161026","full_name":"thornjad/rivet-mode","owner":"thornjad","description":"Apache Rivet mode for Emacs","archived":false,"fork":false,"pushed_at":"2021-10-15T18:55:19.000Z","size":104,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-24T12:30:23.320Z","etag":null,"topics":["emacs","rivet","tcl"],"latest_commit_sha":null,"homepage":"","language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thornjad.png","metadata":{"files":{"readme":"readme.md","changelog":"changelog.org","contributing":null,"funding":".github/FUNDING.yml","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,"publiccode":null,"codemeta":null},"funding":{"github":"thornjad"}},"created_at":"2019-01-29T13:40:49.000Z","updated_at":"2021-10-15T18:56:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"e1f542e2-25cc-4b77-95ae-225e9b56f55b","html_url":"https://github.com/thornjad/rivet-mode","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thornjad%2Frivet-mode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thornjad%2Frivet-mode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thornjad%2Frivet-mode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thornjad%2Frivet-mode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thornjad","download_url":"https://codeload.github.com/thornjad/rivet-mode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244166639,"owners_count":20409177,"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","rivet","tcl"],"created_at":"2024-10-13T12:53:09.782Z","updated_at":"2025-03-18T05:44:02.047Z","avatar_url":"https://github.com/thornjad.png","language":"Emacs Lisp","funding_links":["https://github.com/sponsors/thornjad"],"categories":[],"sub_categories":[],"readme":"# rivet-mode - A minor mode for editing Apache Rivet files\n\n_Author:_ Jade Michael Thornton\u003cbr\u003e\n_Version:_ 4.1.0\u003cbr\u003e\n\n[![MELPA: rivet-mode](https://melpa.org/packages/rivet-mode-badge.svg)](https://melpa.org/#/rivet-mode) [![ISC License](https://img.shields.io/badge/license-ISC-green.svg)](./LICENSE) [![](https://img.shields.io/github/languages/code-size/thornjad/rivet-mode.svg)](https://gitlab.com/thornjad/rivet-mode) [![](https://img.shields.io/github/v/tag/thornjad/rivet-mode.svg?label=version\u0026color=yellowgreen)](https://gitlab.com/thornjad/rivet-mode/-/tags)\n\nRivet mode is a minor mode for editing Apache Rivet files. It automatically\ndetects whether TCL or HTML is currently being edited and uses the major\nmodes tcl-mode and web-mode, respectively.\n\nBy default, `rivet-mode` requires `tcl` (built-in) and `web-mode`. To use\nanother mode, customize `rivet-mode-host-mode` and `rivet-mode-inner-mode` to\nsuit.\n\n## Installation\n\nInstall the `rivet-mode` package from MELPA.\n\n## Usage\n\nThe mode will be activated upon opening a Rivet file. There are a handful of\nconvenient function available inside this file. It is recommended to bind\nthese to keys of your choosing.\n\nProvided functions:\n\n- `rivet-insert-tcl`: Insert TCL tags (\"\u003c?\" and \"?\u003e\") at point, and move point\ninside of the tags. This will also switch to TCL mode.\n- `rivet-insert-begin-tcl`: Insert an opening TCL tag at point and move inside\nit.\n- `rivet-insert-end-tcl`: Insert a closing TCL tag at point and move outside\nit. This will also switch to web mode.\n- `rivet-insert-echo`: Insert TCL echo tags (\"\u003c?=\" and \"?\u003e\") at point and move\ninside them. This will also switch to TCL mode.\n- `rivet-insert-begin-echo`: Insert an opening TCL echo tag at point and move\ninside it.\n\n## Customization\n\nThe variable `rivet-mode-host-mode` determines the \"host\" major mode, which\nis `web-mode` by default.\n\nThe variable `rivet-mode-inner-mode` determines the \"inner\" major mode, which\nis the built-in `tcl-mode` by default.\n\nThe variable `rivet-mode-delimiters` defines the left and right delimiters\nwhich demark the bounds of the \"inner\" major mode (TCL). These are \"\u003c?\" and\n\"?\u003e\" by default. Note that the \"\u003c?=\" delimiter, which marks the start of an\nexpression, still begins with \"\u003c?\" and so will be caught.\n\n\n---\nConverted from `rivet-mode.el` by [_el2md_](https://gitlab.com/thornjad/el2md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthornjad%2Frivet-mode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthornjad%2Frivet-mode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthornjad%2Frivet-mode/lists"}