Repository navigation
Conversation
This format is to Elisp what JSON is to JavaScript... almost. Introduced circa Emacs 28.1, it's used for files that contain Emacs Lisp syntax but are expected to contain data instead of executed program syntax. This isn't a hard-and-fast rule, though, as some "lisp-data" files might contain functions that other parts of Emacs are intended to execute. For example: https://github.com/doomemacs/modules/blob/897f815/.doom References: emacs-mirror/emacs@43fded1
In Emacs, these aliases are all derivatives of `text-mode`. Some such as the `indented-text` mode have considerable currency in mode lines across GitHub (https://github.com/search?type=code&q=%22-%2A-+indented-text%22) whereas `paragraph-indent-text` (or `parindent` for short) currently has less usage, though there's no sound reason to assume it won't see future use by Emacs users on GitHub.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Continuing my annoying habit of shoving disparate filetypes into monolithic pull-requests, this PR adds support for 5 new filenames, 1 new file-extension, and 4 language aliases supported by Emacs.
Checklist
I have included a change to the heuristics.Details
Filetypes
.autorc.clang-format-ignore.codespellrc.elpaignore.ert-runner*.eldAliases
lisp-dataThis format is to Elisp what JSON is to JavaScript... almost. Introduced in Emacs circa v28.1, it's used for files that contain Emacs Lisp syntax but are expected to contain data instead of executed program syntax.
This isn't a hard-and-fast rule, though, as some "lisp-data" files might contain functions that other parts of Emacs are intended to execute (example).
indented-textparagraph-indent-textparindentIn Emacs, these aliases are all derivatives of
text-mode. Some, such as theindented-textmode have considerable currency in mode-lines across GitHub, whereasparagraph-indent-text(orparindentfor short) currently don't, though there's no reason to assume they won't in the future.