unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* ELPA: add mct.el
@ 2021-11-09 17:45 Protesilaos Stavrou
  2021-11-11 10:25 ` Theodor Thornhill
  0 siblings, 1 reply; 5+ messages in thread
From: Protesilaos Stavrou @ 2021-11-09 17:45 UTC (permalink / raw)
  To: emacs-devel; +Cc: Philip Kaludercic, James Norman Vladimir Cash

[-- Attachment #1: Type: text/plain, Size: 1983 bytes --]

Hello everyone,

I have a package called "Minibuffer and Completions in Tandem" (MCT,
mct, mct.el, ...) that I want to submit to GNU ELPA.  Patch attached.

It is meant to be a thin layer of interactivity on top of the default
minibuffer and the Completions' buffer.

At its core, mct adds commands that treat the minibuffer and the
Completions as a unified space.  So you can cycle between the two with
C-n, C-p, etc. when mct-mode is enabled.

It also implements a "live completions" paradigm, where the Completions'
buffer (optionally) pops up and gets updated to match the user's input.

There are several user options on offer to control the layout of the
Completions, when/if to do live updates, what the delay should be, as
well as a passlist and blocklist that can target specific commands for
the purposes of live updating.

The project's manual describes those in further detail.


Notes
-----

+ I have made mct depend on Emacs 28, as that has the 'one-column' style
  for the 'completions-format'.  However the cyclic motions have been
  designed to work with the grid layouts as well.  Can I keep it that
  way or must I make it depend on Emacs 27?

+ I have received patches from James Norman Vladimir Cash and Philip
  Kaludercic (both in Cc).  Philip is covered in terms of copyright
  assignment to the FSF.  James has signed the CLA for Emacs.  Is that
  sufficient?

+ Some code is adapted from GPL'd code by Omar Antolín Camarena (the
  author of Embark on GNU ELPA).

+ A tiny helper function is taken from Daniel Mendler's Vertico
  documentation (also on GNU ELPA).

+ One function, mct--add-stripes, is adapted from code that Štěpán Němec
  maintains in stripes.el:
  <https://gitlab.com/stepnem/stripes-el/-/blob/master/stripes.el>.  The
  file says it belongs to the public domain.

What do you think?

All the best,
Protesilaos (or simply "Prot")

-- 
Protesilaos Stavrou
https://protesilaos.com

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-elpa-packages-mct-Add-package.patch --]
[-- Type: text/x-patch, Size: 846 bytes --]

From 9549b5c908ad53f14f31735bdaed06bb421b9514 Mon Sep 17 00:00:00 2001
Message-Id: <9549b5c908ad53f14f31735bdaed06bb421b9514.1636477772.git.info@protesilaos.com>
From: Protesilaos Stavrou <info@protesilaos.com>
Date: Tue, 9 Nov 2021 19:09:25 +0200
Subject: [PATCH] * elpa-packages (mct): Add package

---
 elpa-packages | 1 +
 1 file changed, 1 insertion(+)

diff --git a/elpa-packages b/elpa-packages
index e26a428c25..ba45381cf9 100644
--- a/elpa-packages
+++ b/elpa-packages
@@ -307,6 +307,7 @@
  ("math-symbol-lists" 	:url "https://github.com/vspinu/math-symbol-lists.git")
  ("memory-usage"	:url nil)
  ("metar"		:url nil)
+ ("mct" :url "https://gitlab.com/protesilaos/mct" :main-file "mct.el" :doc "README.org")
  ("midi-kbd"		:url nil)
  ("mines"		:url "https://github.com/calancha/Minesweeper")
  ("minibuffer-line"	:url nil)
-- 
2.33.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-11-14  4:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-09 17:45 ELPA: add mct.el Protesilaos Stavrou
2021-11-11 10:25 ` Theodor Thornhill
2021-11-11 15:34   ` Philip Kaludercic
2021-11-14  0:00     ` Philip Kaludercic
2021-11-14  4:57       ` Protesilaos Stavrou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).