# magnars/expand-region.el

Emacs extension to increase selected region by semantic units.

Repository: https://github.com/magnars/expand-region.el
Canonical: https://ross.abutalabs.com/products/expand-regionel
Language: Emacs Lisp
License: GPL-3.0
License Family: copyleft
Last push: 2024-12-17T18:40:34+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5391, "days_push": 624, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1464, forks 133 (observed 2026-08-28T04:04:47.881987+00:00)

## What it is
An Emacs Lisp package that progressively expands the selected region by semantic units (word, string, sexp, etc.) as you press a key. It is available on GNU ELPA and MELPA and works with most languages via generic expansion rules.

## Use cases
- expand selection by semantic units in emacs
- select inside quotes or parens quickly
- grow region word by word then sexp by sexp
- contract an over-expanded selection in emacs
- language-agnostic text selection in emacs

## When to choose
- you use Emacs and want fast, incremental semantic selection
- you edit code in many languages and need generic expansion rules
- you want a small, stable package available on ELPA/MELPA

## When to avoid
- you don't use Emacs
- you need actively developed features or responsive issue triage - the issue tracker and PRs are closed
- you need deep language-specific expansion beyond the provided rules

## Facets
- artifact type: plugin
- maturity: maintenance
- function: editor, developer-tools
- domain: text-editors, developer-tools
- platform: editor-plugin, cross-platform
- tags: emacs, emacs-lisp, region-selection, semantic-expansion, editing

## Member repositories
- magnars/expand-region.el (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:47.881987+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:35:10.379284+00:00, confidence not recorded.
  - readme: https://github.com/magnars/expand-region.el (fetched 2026-08-28T04:04:47.881987+00:00, sha 350e14e50788)
- Data as of 2026-08-30T08:39:29.467469+00:00.
