Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/muffinmad/emacs-completions-frame

Show completions buffer in child frame
https://github.com/muffinmad/emacs-completions-frame

childframe completions emacs

Last synced: 3 months ago
JSON representation

Show completions buffer in child frame

Lists

README

        

[![License GPL 3](https://img.shields.io/badge/license-GPL_3-green.svg)](http://www.gnu.org/copyleft/gpl.html)
[![MELPA](https://melpa.org/packages/completions-frame-badge.svg)](https://melpa.org/#/completions-frame)

# Deprecated

This package is not working with recent Emacs version and there are no plans to support it. Please use awesome [corfu](https://github.com/minad/corfu) instead wich does the same thing but in more nicely way.

# emacs-completions-frame
Show \*Completions\* buffer in child frame.

Basically it's the function for `display-buffer-alist` with some child frame's position and size manipulation:
- Completions frame placed near the point;
- It is placed above or below point depending on completions frame height and available space around the point;
- Initial frame width is set to 1 so completion list is arranged in single column. This behavior can be configured via `completions-frame-width` variable.

## How it looks like



## Company

This package is mainly for those who prefer built-in `completion-at-point` for completions. Happy [company-mode](http://company-mode.github.io) users can take a look at [company-box](https://github.com/sebastiencs/company-box), [company-posframe](https://github.com/tumashu/company-posframe), etc. But `company-mode` users still may find this package useful: minibuffer completions are also shown in the child frame! Like this:



## Installation and usage

`completions-frame` is available on [MELPA](https://melpa.org/#/completions-frame).

Alternatively, you can download `completions-frame.el` and run:

M-x `package-install-file` RET `` RET

M-x `completions-frame-mode` RET