[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
New GNU ELPA package: expreg - Simple expand region
From: |
Sacha Chua |
Subject: |
New GNU ELPA package: expreg - Simple expand region |
Date: |
Tue, 22 Aug 2023 09:09:42 -0400 |
Summary: Simple expand region
Requires: emacs-29.1
Website: https://github.com/casouri/expreg
Keywords: text editing
Maintainer: Yuan Fu <casouri@gmail.com>
Author: Yuan Fu <casouri@gmail.com>
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.
---------
You are receiving this message via the info-gnu-emacs@gnu.org mailing list.
List info/preferences: https://lists.gnu.org/mailman/listinfo/info-gnu-emacs
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- New GNU ELPA package: expreg - Simple expand region,
Sacha Chua <=