cape VS marginalia

Compare cape vs marginalia and see what are their differences.

cape

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

marginalia

:scroll: marginalia.el - Marginalia in the minibuffer (by minad)
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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
cape marginalia
17 27
543 708
- -
8.8 7.2
25 days ago about 1 month ago
Emacs Lisp Emacs Lisp
GNU General Public License v3.0 only GNU General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

cape

Posts with mentions or reviews of cape. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-23.
  • Why does elpaca make emacs startup so much faster?
    9 projects | /r/emacs | 23 Apr 2023
    Wow, interesting that my response is getting down voted. It seems not enough that I give away my work for free. Nevertheless I appreciate support from the community, as other Emacs package developers. The support is actually helpful. To clarify, publishing my configuration would translate into quite a bit of work, requiring separation of private and public bits.
  • Is there a package or something for code completion in org mode files for src blocks?
    3 projects | /r/emacs | 20 Apr 2023
    At least for Elisp source block one can use font locking to create a custom Capf. Add cape-elisp-block from my Cape package to completion-at-point-functions. Even if you don't want to use Cape you could just copy it to your config. It is a short function.
  • Corfu + Consult History?
    1 project | /r/emacs | 19 Apr 2023
    You can use cape-history from my Cape package. This is similar to consult-history only utilizing completion-in-region instead of completing-read.
  • How to configure corfu for arbitrary orderless matching?
    2 projects | /r/emacs | 31 Mar 2023
    Haven't tried configuring it accordingly, but here's the docs: https://github.com/minad/cape
  • Emacs lags when making the auto completion pop-up with corfu
    2 projects | /r/emacs | 17 Mar 2023
    corfu is blazingly fast. Orderless is as well. What is not always blazingly fast is your completion providing backend. You didn't mention where your slow completions are coming from. An LSP server? Dabbrev? Maybe a remote machine? Have you combined results from various backends (e.g. using cape?). Some completions backends are unavoidably slow, others are just not well optimized.
  • Replacing strings with Unicode symbols.
    9 projects | /r/emacs | 14 Mar 2023
    The most straight forward solution is probably the package company-math. (that's what I use but with corfu and cape)
  • Emacs bankruptcy
    17 projects | /r/emacs | 3 Mar 2023
    Some time I'll add a mixin for Cape which would make the completion stuff really nice.
  • Simplest way to add strings to be used for autocompletion?
    1 project | /r/emacs | 30 Jan 2023
    If you're set on using the completion system (M-TAB) for this, you could install Cape and use the cape-abbrev command to complete your abbrevs.
  • Like company-org-block, but for completion-at-point, corfu, and friends…
    6 projects | /r/emacs | 22 Jan 2023
    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!
  • Sane company completion setup?
    1 project | /r/emacs | 12 Jan 2023

marginalia

Posts with mentions or reviews of marginalia. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-04.
  • Emacs Commands I Got by with for Years
    7 projects | news.ycombinator.com | 4 Jan 2024
    Check out marginalia[1]. Whenever you press M-x, it will pop up a buffer showing all the commands (with most recent ones on top) along with their keybindings and a brief description of what they do.

    Embark[2] is also cool. It will show all the possible commands relevant to where the cursor is at that moment. I bind it to C-c a.

    [1] https://github.com/minad/marginalia

  • Packages that you would like to be in emacs core ?
    10 projects | /r/emacs | 11 Dec 2023
    Then there is Marginalia which is IMO essential
  • Emacs Advent Calendar 7: ordeless, embark 1.0 and some bric-a-brac
    9 projects | /r/emacs | 7 Dec 2023
    marginalia. Informative annotations for minibuffer completion candidates, co-written with u/minad-emacs.
  • Why does elpaca make emacs startup so much faster?
    9 projects | /r/emacs | 23 Apr 2023
    Wow, interesting that my response is getting down voted. It seems not enough that I give away my work for free. Nevertheless I appreciate support from the community, as other Emacs package developers. The support is actually helpful. To clarify, publishing my configuration would translate into quite a bit of work, requiring separation of private and public bits.
  • Doom -> vanilla emacs 29
    8 projects | /r/emacs | 14 Apr 2023
    marginalia for extra info in the minibuffer
  • (void-variable string-width) error by consult-buffer
    2 projects | /r/emacs | 10 Apr 2023
    There seems to be some problem with straight not correctly installing or updating compat. See these issues on Marginalia and Embark where straight seems to not install Compat.
  • What does Vertico offer over icomplete-vertical?
    2 projects | /r/emacs | 24 Feb 2023
    Note that I contribute to Emacs core itself from time to time but the process is discussion-heavy and thus time consuming. If you are familiar with the completing-read API, you may know the annotation-function of completion tables. The name already tells that this function just adds annotations to the completion candidates. The Marginalia package (written by /u/oantolin and me) provides such annotations. A similar function is the group-function, which groups candidates in subsets and adds titles above the subsets. I wrote the patch which added this feature to Emacs. It is now supported by default completion, Icomplete, Vertico and maybe other UIs. The initial implementation was done in the earlier Selectrum package, and a little later in Vertico.
  • [ANN] Vertico 1.0 and Marginalia 1.0
    3 projects | /r/emacs | 22 Dec 2022
    At the end of the year, I am happy to announce the stable Vertico 1.0 and Marginalia 1.0 releases. Vertico is a minimalist, yet flexible and responsive vertical completion UI. Marginalia provides helpful annotations for many completion contexts. Both packages have been solid for a while but I rather let things mature slowly. These releases finally put the stamp "stable" on these two packages. I expect the other members of the package suite to follow soon after. Both packages have been updated recently to support the newest Emacs 29 features. They are compatible with Emacs 27, 28 and the upcoming 29.
  • org-cc: Custom completions for Org (WIP)
    9 projects | /r/emacs | 22 Nov 2022
    I) I started out trying to implement this using marginalia, like the consult commands, but quickly concluded that this wasn't the way to go here... please correct me if I'm wrong and there is more from these packages I could make use of. I also try to make use of as much of the citar codebase as possible, but have found it difficult so far: a lot seems too specific for bibliographic entries.
  • Idea/Question: Using "feature-full" packages (e.g. dired) for completion?
    2 projects | /r/emacs | 8 Sep 2022
    I can't find anything that seems to discuss them in detail, but Marginalia is a package that applies them widely in completion. And here is a simple example for customized file completion.

What are some alternatives?

When comparing cape and marginalia you can also consider the following projects:

consult-yasnippet

embark - Emacs Mini-Buffer Actions Rooted in Keymaps

lsp-mode - Emacs client/library for the Language Server Protocol

org-remark - Highlight & annotate text, EWW, Info, and EPUB

emacs-bedrock - [Mirror] Stepping stones to a better Emacs experience

corfu - :desert_island: corfu.el - COmpletion in Region FUnction

eglot - A client for Language Server Protocol servers

tempel - :classical_building: TempEl - Simple templates for Emacs

emacs-libvterm - Emacs libvterm integration

lean4-mode - Emacs major mode for Lean 4

vertico - :dizzy: vertico.el - VERTical Interactive COmpletion