help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Incorporating new things into completions


From: Philip Kaludercic
Subject: Re: Incorporating new things into completions
Date: Sun, 04 Feb 2024 10:51:22 +0000

Psionic K <psionik@positron.solutions> writes:

> I want to augment `switch-to-buffer' candidates to contain a list of
> exotic fruits.  Presumably the downstream handler for buffers has no
> idea what to do with fruits, so I need to provide some alternative
> handler.

Is "exotic fruits" a metaphor, or do you really mean that you want
the `read-buffer-to-switch' function to extend the completions with a
literal list of exotic fruit names?  What should `switch-to-buffer' do
in that case?

> Has this infrastructure been built into Emacs or is it exclusive to
> completion packages at this time?   If Emacs provides facilities for
> this kind of thing, what vocabulary should I become familiar with?

It would be helpful to clarify what infrastructure or functionality you
are talking about here, perhaps with an illustrative example.

-- 
Philip Kaludercic



reply via email to

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