GNU-devel ELPA - expreg

expreg

Description
Simple expand region
Latest
expreg-1.3.1.0.20230915.150818.tar (.sig), 2024-Mar-31, 30.0 KiB
Maintainer
Yuan Fu <casouri@gmail.com>
Atom feed
expreg.xml
Website
https://github.com/casouri/expreg
Browse ELPA's repository
CGit or Gitweb
Badge

To install this package from Emacs, use package-install or list-packages.

Full description

This is just like expand-region, but (1) we generate all regions at
once, and (2) should be easier to debug, and (3) we out-source
language-specific expansions to tree-sitter. Bind ‘expreg-expand’
and ‘expreg-contract’ and start using it.

Note that if point is in between two possible regions, we only keep
the region after point. In the example below, only region B is kept
(“|” represents point):

    (region A)|(region B)

Expreg also recognizes subwords if ‘subword-mode’ is on.

By default, the sentence expander ‘expreg--sentence’ is not
enabled. I suggest enabling it (by adding it to ‘expreg-functions’)
in text modes only.

Old versions

expreg-1.2.1.0.20230830.131742.tar.lz2023-Aug-316.41 KiB
expreg-1.2.0.0.20230830.3116.tar.lz2023-Aug-306.41 KiB
expreg-1.1.0.0.20230828.1154.tar.lz2023-Aug-286.43 KiB
expreg-1.0.0.0.20230821.183608.tar.lz2023-Aug-226.40 KiB
expreg-1.0.0.0.20230820.101011.tar.lz2023-Aug-206.28 KiB