unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Protesilaos Stavrou <info@protesilaos.com>
To: "emacs-devel" <emacs-devel@gnu.org>
Cc: Philip Kaludercic <philipk@posteo.net>,
	James Norman Vladimir Cash <james.cash@occasionallycogent.com>
Subject: ELPA: add mct.el
Date: Tue, 09 Nov 2021 19:45:29 +0200	[thread overview]
Message-ID: <87pmr9dxza.fsf@protesilaos.com> (raw)

[-- 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


             reply	other threads:[~2021-11-09 17:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-09 17:45 Protesilaos Stavrou [this message]
2021-11-11 10:25 ` ELPA: add mct.el Theodor Thornhill
2021-11-11 15:34   ` Philip Kaludercic
2021-11-14  0:00     ` Philip Kaludercic
2021-11-14  4:57       ` Protesilaos Stavrou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pmr9dxza.fsf@protesilaos.com \
    --to=info@protesilaos.com \
    --cc=emacs-devel@gnu.org \
    --cc=james.cash@occasionallycogent.com \
    --cc=philipk@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).