* Useful completion package in GNU ELPA
@ 2021-06-21 19:30 Jean Louis
2021-06-21 19:48 ` Christopher Dimech
2021-06-22 1:16 ` Yuchen Pei
0 siblings, 2 replies; 13+ messages in thread
From: Jean Louis @ 2021-06-21 19:30 UTC (permalink / raw)
To: Help GNU Emacs
Today I have started using the GNU ELPA package
`aggressive-completion'.
It speeds up my workflow. It cuts down the time of work to 30% of what
was before.
Jean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
In support of Richard M. Stallman
https://stallmansupport.org/
^ permalink raw reply [flat|nested] 13+ messages in thread
* Useful completion package in GNU ELPA
2021-06-21 19:30 Useful completion package in GNU ELPA Jean Louis
@ 2021-06-21 19:48 ` Christopher Dimech
2021-06-21 21:14 ` Jean Louis
2021-06-22 9:28 ` Tassilo Horn
2021-06-22 1:16 ` Yuchen Pei
1 sibling, 2 replies; 13+ messages in thread
From: Christopher Dimech @ 2021-06-21 19:48 UTC (permalink / raw)
To: Jean Louis; +Cc: Help GNU Emacs
Felicitations Jean,
The way you say it sounds very good. I wonder how it works with orderless
and other completion styles such as partial-completion and initials. Or does
aggressive-completion have such capability?
> Sent: Tuesday, June 22, 2021 at 7:30 AM
> From: "Jean Louis" <bugs@gnu.support>
> To: "Help GNU Emacs" <help-gnu-emacs@gnu.org>
> Subject: Useful completion package in GNU ELPA
>
>
> Today I have started using the GNU ELPA package
> `aggressive-completion'.
>
> It speeds up my workflow. It cuts down the time of work to 30% of what
> was before.
>
> Jean
>
> Take action in Free Software Foundation campaigns:
> https://www.fsf.org/campaigns
>
> In support of Richard M. Stallman
> https://stallmansupport.org/
>
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Useful completion package in GNU ELPA
2021-06-21 19:48 ` Christopher Dimech
@ 2021-06-21 21:14 ` Jean Louis
2021-06-21 21:24 ` Christopher Dimech
2021-06-22 9:28 ` Tassilo Horn
1 sibling, 1 reply; 13+ messages in thread
From: Jean Louis @ 2021-06-21 21:14 UTC (permalink / raw)
To: Christopher Dimech; +Cc: Help GNU Emacs
* Christopher Dimech <dimech@gmx.com> [2021-06-21 22:49]:
> Felicitations Jean,
>
> The way you say it sounds very good. I wonder how it works with orderless
> and other completion styles such as partial-completion and initials. Or does
> aggressive-completion have such capability?
Try it out.
Myself, I was heavy user of helm, now almost never. Ivy almost
never. This is because the default completion works often faster.
The package aggressive-completion makes it even faster, illusion is
that it thinks for me. It removes a need for TABs.
--
Jean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
In support of Richard M. Stallman
https://stallmansupport.org/
^ permalink raw reply [flat|nested] 13+ messages in thread
* Useful completion package in GNU ELPA
2021-06-21 21:14 ` Jean Louis
@ 2021-06-21 21:24 ` Christopher Dimech
0 siblings, 0 replies; 13+ messages in thread
From: Christopher Dimech @ 2021-06-21 21:24 UTC (permalink / raw)
To: Jean Louis; +Cc: Help GNU Emacs
The orderless style is working as expected. Have played with it a bit and I like it.
Have not used helm but was using ivy. I much preferred have something else that
is not so big.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Useful completion package in GNU ELPA
2021-06-21 19:30 Useful completion package in GNU ELPA Jean Louis
2021-06-21 19:48 ` Christopher Dimech
@ 2021-06-22 1:16 ` Yuchen Pei
2021-06-22 9:24 ` Tassilo Horn
1 sibling, 1 reply; 13+ messages in thread
From: Yuchen Pei @ 2021-06-22 1:16 UTC (permalink / raw)
To: Jean Louis; +Cc: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 683 bytes --]
Jean Louis <bugs@gnu.support> writes:
> Today I have started using the GNU ELPA package
> `aggressive-completion'.
>
> It speeds up my workflow. It cuts down the time of work to 30%
> of what
> was before.
Thanks for the recommendation. I gave it a try, got frustrated by
the lack of cycling in the minibuffer, and then discovered (emacs
builtin?) icomplete-mode, which I'm now using instead of the
aggressive-completion-mode :)
Best,
Yuchen
>
> Jean
>
> Take action in Free Software Foundation campaigns:
> https://www.fsf.org/campaigns
>
> In support of Richard M. Stallman
> https://stallmansupport.org/
--
PGP Key: 47F9 D050 1E11 8879 9040 4941 2126 7E93 EF86 DFD0
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 243 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Useful completion package in GNU ELPA
2021-06-22 1:16 ` Yuchen Pei
@ 2021-06-22 9:24 ` Tassilo Horn
2021-06-22 15:32 ` [External] : " Drew Adams
2021-06-22 15:47 ` Jean Louis
0 siblings, 2 replies; 13+ messages in thread
From: Tassilo Horn @ 2021-06-22 9:24 UTC (permalink / raw)
To: Yuchen Pei; +Cc: help-gnu-emacs, Jean Louis
Yuchen Pei <hi@ypei.me> writes:
Hi Yuchen,
>> Today I have started using the GNU ELPA package
>> `aggressive-completion'. It speeds up my workflow. It cuts down the
>> time of work to 30% of what was before.
>
> Thanks for the recommendation. I gave it a try, got frustrated by the
> lack of cycling in the minibuffer, and then discovered (emacs
> builtin?) icomplete-mode, which I'm now using instead of the
> aggressive-completion-mode :)
aggressive-completion-mode basically hits TAB for you and then it is
obvious that it must disable cycling. Otherwise, it would cycle after
every command if the remaining completions are below
completion-cycle-threshold.
But it disabled cycling only during its own stuff, so you can still TAB
yourself and get cycling depending on your setting of
completion-cycle-threshold.
Bye,
Tassilo
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Useful completion package in GNU ELPA
2021-06-21 19:48 ` Christopher Dimech
2021-06-21 21:14 ` Jean Louis
@ 2021-06-22 9:28 ` Tassilo Horn
2021-06-22 10:19 ` Christopher Dimech
2021-06-22 12:26 ` Jean Louis
1 sibling, 2 replies; 13+ messages in thread
From: Tassilo Horn @ 2021-06-22 9:28 UTC (permalink / raw)
To: Christopher Dimech; +Cc: help-gnu-emacs, Jean Louis
Christopher Dimech <dimech@gmx.com> writes:
Hi Christopher,
> The way you say it sounds very good. I wonder how it works with
> orderless and other completion styles such as partial-completion and
> initials. Or does aggressive-completion have such capability?
It is agnostic of the used completion-styles but works best for those
where minibuffer-complete (or rather
aggressive-completion-auto-complete-fn) can complete the current
candidate further. That's the case for styles whose candidates usually
have a common prefix which can then be completed.
With orderless, because of the orderlessiness, that's less common, e.g.,
with input fo most styles would have as candidates foo-bar, foo-quux,
foo-baz and aggressive-completion could complete to foo-. With
orderless, baz-foo would also be a canditate so there is no common
prefix which could be completed. (Maybe it could complete at least
"foo" and then it's the users choice if she wants to complete at the
front or at the end by moving point...).
Similar arguments hold for the flex completion style.
So all in all, I'd say aggressive-completion works very good for the
styles basic, partial-completion, and substring and less good for more
"open and flexible" styles.
Bye,
Tassilo
^ permalink raw reply [flat|nested] 13+ messages in thread
* Useful completion package in GNU ELPA
2021-06-22 9:28 ` Tassilo Horn
@ 2021-06-22 10:19 ` Christopher Dimech
2021-06-22 10:21 ` Tassilo Horn
2021-06-22 12:26 ` Jean Louis
1 sibling, 1 reply; 13+ messages in thread
From: Christopher Dimech @ 2021-06-22 10:19 UTC (permalink / raw)
To: Tassilo Horn; +Cc: help-gnu-emacs, Jean Louis
> Sent: Tuesday, June 22, 2021 at 9:28 PM
> From: "Tassilo Horn" <tsdh@gnu.org>
> To: "Christopher Dimech" <dimech@gmx.com>
> Cc: "Jean Louis" <bugs@gnu.support>, help-gnu-emacs@gnu.org
> Subject: Re: Useful completion package in GNU ELPA
>
> Christopher Dimech <dimech@gmx.com> writes:
>
> Hi Christopher,
>
> > The way you say it sounds very good. I wonder how it works with
> > orderless and other completion styles such as partial-completion and
> > initials. Or does aggressive-completion have such capability?
>
> It is agnostic of the used completion-styles but works best for those
> where minibuffer-complete (or rather
> aggressive-completion-auto-complete-fn) can complete the current
> candidate further. That's the case for styles whose candidates usually
> have a common prefix which can then be completed.
>
> With orderless, because of the orderlessiness, that's less common, e.g.,
> with input fo most styles would have as candidates foo-bar, foo-quux,
> foo-baz and aggressive-completion could complete to foo-. With
> orderless, baz-foo would also be a canditate so there is no common
> prefix which could be completed. (Maybe it could complete at least
> "foo" and then it's the users choice if she wants to complete at the
> front or at the end by moving point...).
>
> Similar arguments hold for the flex completion style.
>
> So all in all, I'd say aggressive-completion works very good for the
> styles basic, partial-completion, and substring and less good for more
> "open and flexible" styles.
Have not seen a problem but you seem to have tested it more thoroughly.
Will do some more tests.
> Bye,
> Tassilo
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Useful completion package in GNU ELPA
2021-06-22 10:19 ` Christopher Dimech
@ 2021-06-22 10:21 ` Tassilo Horn
2021-06-22 10:51 ` Christopher Dimech
0 siblings, 1 reply; 13+ messages in thread
From: Tassilo Horn @ 2021-06-22 10:21 UTC (permalink / raw)
To: Christopher Dimech; +Cc: help-gnu-emacs
Christopher Dimech <dimech@gmx.com> writes:
>> So all in all, I'd say aggressive-completion works very good for the
>> styles basic, partial-completion, and substring and less good for
>> more "open and flexible" styles.
>
> Have not seen a problem but you seem to have tested it more
> thoroughly.
Kind of, I wrote it. ;-)
Bye,
Tassilo
^ permalink raw reply [flat|nested] 13+ messages in thread
* Useful completion package in GNU ELPA
2021-06-22 10:21 ` Tassilo Horn
@ 2021-06-22 10:51 ` Christopher Dimech
0 siblings, 0 replies; 13+ messages in thread
From: Christopher Dimech @ 2021-06-22 10:51 UTC (permalink / raw)
To: Tassilo Horn; +Cc: help-gnu-emacs
> Sent: Tuesday, June 22, 2021 at 10:21 PM
> From: "Tassilo Horn" <tsdh@gnu.org>
> To: "Christopher Dimech" <dimech@gmx.com>
> Cc: help-gnu-emacs@gnu.org
> Subject: Re: Useful completion package in GNU ELPA
>
> Christopher Dimech <dimech@gmx.com> writes:
>
> >> So all in all, I'd say aggressive-completion works very good for the
> >> styles basic, partial-completion, and substring and less good for
> >> more "open and flexible" styles.
> >
> > Have not seen a problem but you seem to have tested it more
> > thoroughly.
>
> Kind of, I wrote it. ;-)
Hat off then. It's good work. Had a look on who wrote it but I get
a lot of mail.
> Bye,
> Tassilo
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Useful completion package in GNU ELPA
2021-06-22 9:28 ` Tassilo Horn
2021-06-22 10:19 ` Christopher Dimech
@ 2021-06-22 12:26 ` Jean Louis
1 sibling, 0 replies; 13+ messages in thread
From: Jean Louis @ 2021-06-22 12:26 UTC (permalink / raw)
To: Tassilo Horn; +Cc: Christopher Dimech, help-gnu-emacs
* Tassilo Horn <tsdh@gnu.org> [2021-06-22 12:39]:
> Christopher Dimech <dimech@gmx.com> writes:
>
> Hi Christopher,
>
> > The way you say it sounds very good. I wonder how it works with
> > orderless and other completion styles such as partial-completion and
> > initials. Or does aggressive-completion have such capability?
>
> It is agnostic of the used completion-styles but works best for those
> where minibuffer-complete (or rather
> aggressive-completion-auto-complete-fn) can complete the current
> candidate further. That's the case for styles whose candidates usually
> have a common prefix which can then be completed.
I use the wild card * to find entries with matches in the middle of
string.
Like input of `*mail' would find result like: libreplanet mailing list
xJean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
In support of Richard M. Stallman
https://stallmansupport.org/
^ permalink raw reply [flat|nested] 13+ messages in thread
* RE: [External] : Re: Useful completion package in GNU ELPA
2021-06-22 9:24 ` Tassilo Horn
@ 2021-06-22 15:32 ` Drew Adams
2021-06-22 15:47 ` Jean Louis
1 sibling, 0 replies; 13+ messages in thread
From: Drew Adams @ 2021-06-22 15:32 UTC (permalink / raw)
To: Tassilo Horn, Yuchen Pei; +Cc: help-gnu-emacs@gnu.org, Jean Louis
> > Thanks for the recommendation. I gave it a try, got frustrated by the
> > lack of cycling in the minibuffer...
>
> aggressive-completion-mode basically hits TAB for you and then it is
> obvious that it must disable cycling. Otherwise, it would cycle after
> every command if the remaining completions are below
> completion-cycle-threshold.
>
> But it disabled cycling only during its own stuff, so you can still TAB
> yourself and get cycling depending on your setting of
> completion-cycle-threshold.
Dunno about agressive-*, and certainly yet another
completion mechanism is welcome.
But showing completions initially, which I guess is at
least part of what you mean by "hits TAB for you", is
(or can be) independent of using TAB to cycle.
Icicles, for instance, has no trouble showing completions
at the outset and letting you use TAB to cycle. It also
has no trouble letting you use TAB to show completions
(if you don't want them shown automatically) and yet also
use TAB to cycle.
And I'm sure Icicles is not the only such example by now.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Useful completion package in GNU ELPA
2021-06-22 9:24 ` Tassilo Horn
2021-06-22 15:32 ` [External] : " Drew Adams
@ 2021-06-22 15:47 ` Jean Louis
1 sibling, 0 replies; 13+ messages in thread
From: Jean Louis @ 2021-06-22 15:47 UTC (permalink / raw)
To: Tassilo Horn; +Cc: help-gnu-emacs, Yuchen Pei
* Tassilo Horn <tsdh@gnu.org> [2021-06-22 12:28]:
> aggressive-completion-mode basically hits TAB for you and then it is
> obvious that it must disable cycling. Otherwise, it would cycle
> after every command if the remaining completions are below
> completion-cycle-threshold.
It has good use to me, seems like I cannot without it. Thanks for
writing it.
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2021-06-22 15:47 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-21 19:30 Useful completion package in GNU ELPA Jean Louis
2021-06-21 19:48 ` Christopher Dimech
2021-06-21 21:14 ` Jean Louis
2021-06-21 21:24 ` Christopher Dimech
2021-06-22 9:28 ` Tassilo Horn
2021-06-22 10:19 ` Christopher Dimech
2021-06-22 10:21 ` Tassilo Horn
2021-06-22 10:51 ` Christopher Dimech
2021-06-22 12:26 ` Jean Louis
2021-06-22 1:16 ` Yuchen Pei
2021-06-22 9:24 ` Tassilo Horn
2021-06-22 15:32 ` [External] : " Drew Adams
2021-06-22 15:47 ` Jean Louis
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.