Skip to content

Add 6 new filetypes and 4 new language aliases - #8293

Open
Alhadis wants to merge 8 commits into
mainfrom
misc-additions
Open

Alhadis wants to merge 8 commits into
mainfrom
misc-additions

Conversation

@Alhadis

@Alhadis Alhadis commented Oct 24, 2026

Copy link
Copy Markdown
Collaborator

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 am adding new extensions to languages.
    • The new extensions are used in hundreds of repositories.
    • I have included real-world usage samples.
    • I have included a change to the heuristics.

Details

Filetypes

Filename/extensionSearch resultsSample file
SourceLicense
.autorc794graph-quilt/graphql-service-adaptersApache-2.0
.clang-format-ignore~2.3klief-project/LIEFApache-2.0
.codespellrc~5.7kad-freiburg/qleverApache-2.0
.elpaignore744emacs-elfeed/elfeedThe Unlicense
.ert-runner266afonso360/build-helperGPL-v3
*.eld~3.2kemacs-ng/emacs-ngGPL-v3

Aliases

lisp-data

This 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-text
paragraph-indent-text
parindent

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, whereas paragraph-indent-text (or parindent for short) currently don't, though there's no reason to assume they won't in the future.

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.
@Alhadis
Alhadis requested a review from a team as a code owner October 24, 2026 11:58
@Alhadis
Alhadis requested a review from lildude October 24, 2026 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant