Like company-org-block, but for completion-at-point, corfu, and friends…

This page summarizes the projects mentioned and recommended in the original post on /r/emacs

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • org-block-capf

  • I have an open PR with that and not sure if that gets merge or we'll end up with another setup recommendation.

  • tempel

    :classical_building: TempEl - Simple templates for Emacs

  • Regarding template integration, I was also wondering what org-block-capf/company offers on top. Maybe you can implement some special interactions? I use Tempel with templates like the following configured for org-mode:

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • corfu

    :desert_island: corfu.el - COmpletion in Region FUnction

  • Some background history: I (meliache on mastodon/github) asked xenodium on mastodon why company-org-block needs company as a dependency. Back in the day, company was the de-facto completion backend used by most emacs users and many completions were implemented as company backends. But now the emacs builtin completion-at-point,which uses completion-at-point-functions (capf'​​s​), has become more mature and there are packages like corfu that extend that functionality. Most new packages therefore add completions as capfs, which remain compatible with company via thecompany-capf backend. Previously, I had used cape-company-to-capf to convert the company-org-blockbackend to a capf and used that, which worked, but it meant that I still had a company dependency in my setup.

  • cape

    🦸cape.el - Completion At Point Extensions (by minad)

  • Oh, of course your efforts are valuable. I didn't mean to sound discouraging in any way. The point made by /u/xenodium is good - if you have a special candidate source with special behavior, it makes sense to provide a separate lightweight Capf. In contrast, using Tempel for this purpose doesn't make much use of the actual template functionality. Tempel is only a good fit for Org blocks if you use it already anyway, as I do. There is also value in having reference Capfs around, which will be helpful when developers create their own new completion functions. This was also the intention when I created my Cape package, which comes with many simple Capfs. It is always interesting to see what other Emacs users come up with. I am thankful for such efforts - it is inspiring!

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts