emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ELPA] Proposing to add express to ELPA


From: Yuan Fu
Subject: Re: [ELPA] Proposing to add express to ELPA
Date: Mon, 21 Aug 2023 18:38:53 -0700


> On Aug 21, 2023, at 2:04 AM, Tassilo Horn <tsdh@gnu.org> wrote:
> 
> Yuan Fu <casouri@gmail.com> writes:
> 
>>> Would someone please explain to me what expreg does?  I am not
>>> against adding it -- if it meets the criteria and people like it, why
>>> not? -- but I'd like to know what feature we are adding.
>> 
>> It’s similar to expand-region, where repeatedly pressing a key expands
>> the active region to enclose larger and larger constructs, words,
>> statements, defuns, etc. I guess the selling point is that it’s
>> simpler to configure and supports tree-sitter—weak justifications, but
>> people liked it and requested to have it on ELPA, so I happily
>> followed suit.
> 
> I've just tried it and also like it.  I've used expand-region in the
> past but only its basic features so expreg works just as well for me.
> The only thing which seems missing and so common to justify a default
> expander is marking a complete sentence in prose text.  Right now, it
> immediately jumps from word to paragraph.

I’ve bitten by the sentence expander in expand-region before, so I didn’t add 
it. Anyway, I just added a sentence expander to expreg, but it’s not enabled by 
default. You can add expreg—sentence to expreg-functions in text modes yourself.

Yuan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]