From patchwork Mon Feb 7 15:04:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Tropin X-Patchwork-Id: 37068 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 9008727BBEA; Mon, 7 Feb 2022 15:51:47 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0C31427BBE9 for ; Mon, 7 Feb 2022 15:51:47 +0000 (GMT) Received: from localhost ([::1]:55156 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nH6Is-0000ek-1z for patchwork@mira.cbaines.net; Mon, 07 Feb 2022 10:51:46 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41472) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nH5Zh-0004Ut-6s for guix-patches@gnu.org; Mon, 07 Feb 2022 10:05:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:49305) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nH5Zf-0004qk-BY for guix-patches@gnu.org; Mon, 07 Feb 2022 10:05:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nH5Zf-0000MJ-6Y for guix-patches@gnu.org; Mon, 07 Feb 2022 10:05:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53812] [PATCH] gnu: Add emacs-mct. Resent-From: Andrew Tropin Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Feb 2022 15:05:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53812 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Nicolas Goaziou Cc: 53812@debbugs.gnu.org, Protesilaos Stavrou Received: via spool by 53812-submit@debbugs.gnu.org id=B53812.16442462801300 (code B ref 53812); Mon, 07 Feb 2022 15:05:03 +0000 Received: (at 53812) by debbugs.gnu.org; 7 Feb 2022 15:04:40 +0000 Received: from localhost ([127.0.0.1]:43191 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nH5ZH-0000Ks-Hk for submit@debbugs.gnu.org; Mon, 07 Feb 2022 10:04:39 -0500 Received: from mail-lj1-f169.google.com ([209.85.208.169]:45822) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nH5ZE-0000Kb-Sq for 53812@debbugs.gnu.org; Mon, 07 Feb 2022 10:04:38 -0500 Received: by mail-lj1-f169.google.com with SMTP id k18so8013437lji.12 for <53812@debbugs.gnu.org>; Mon, 07 Feb 2022 07:04:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trop-in.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=c3gluNdQqEsM2rBWz0uTPsuO9lSGxFRtYL/ateUV028=; b=kZS7yicLfdXHE3Go5XkFM7IZoozvE1peEs4C9xDAq6MBm/zu9OGSo5ofPqxxyuEEqE e917C0hGjeyPUTdiODkeNSm1GtTIzUUu7d3JorKJdhIjXzzfu0OLeh7sJsuph9iVZeTR ytDRXpgCHI/TCm/mWOnPCQOsDM+XWYZn8mJOYg9HZNO0Dmzd+ElMwUeZsUluzdKNxuaT EDtFgEbqc7gyqfm8YvJRa9SPA03Xfh06VUK6hgZAKHIoyjxSSAJ8RR0EIrJhk1eUxayH r8bx449kBt5W07yBQcq6omPoWyg1c49s0t78Wh4eXIJP7ta+bupiMMnR6QCESV783Ct1 OWXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=c3gluNdQqEsM2rBWz0uTPsuO9lSGxFRtYL/ateUV028=; b=JVZD2onXjc5rUqPSX1TyKrK6Ynzenzc6U1Js9D83NoKtLngHXA4l/IbwAKKhJsF+Vw BssK0Xdv74/dB5ntOEXbkJ1ZnZf70Di69rcu8Gmxke9bM01gAmMOFlZJNQ+igvSHkjnD IHEpllF1Q5+BqXvYcYi+IUvYECLhFRtxoNVpENgwDBHVxadQt4JE1bw0zyRg01U7nEGm ZXlmrbqtq34pZkE8vXtKmDupcGgqoG2hxkBwJXZd8MKl2n38I1bDVI/51M8yxtorkYez T6z0ACevf6aIqspEBNFswY0oUVUj+bRRnjW2OH3RG+UfnjzDnBA3Z1SEDwgCHc+qeq5p P20Q== X-Gm-Message-State: AOAM531X34gRbK46vPEfb4JK7bnHoOSFlksy9pD36pS8KI6PV1wbDxBw JRBTRtYgf5BswS3ANQ/n7y2zPQ== X-Google-Smtp-Source: ABdhPJwPkjVu34daQbv1cTXkQVrc1/unMDHVa+LStef9XBuA4pyb98vpeS40EMKPI9ShhE6sV3C86Q== X-Received: by 2002:a2e:b808:: with SMTP id u8mr8994557ljo.332.1644246270299; Mon, 07 Feb 2022 07:04:30 -0800 (PST) Received: from localhost (109-252-135-33.dynamic.spd-mgts.ru. [109.252.135.33]) by smtp.gmail.com with ESMTPSA id bp37sm1295189lfb.86.2022.02.07.07.04.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Feb 2022 07:04:29 -0800 (PST) From: Andrew Tropin In-Reply-To: <878runhden.fsf@nicolasgoaziou.fr> References: <87y22o8unq.fsf@trop.in> <878runhden.fsf@nicolasgoaziou.fr> Date: Mon, 07 Feb 2022 18:04:26 +0300 Message-ID: <8735ku90qt.fsf@trop.in> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches On 2022-02-06 22:51, Nicolas Goaziou wrote: > Hello, > > Andrew Tropin writes: > >> * gnu/packages/emacs-xyz.scm (emacs-mct): New variable. > > Thank you. > >> +(define-public emacs-mct >> + (package >> + (name "emacs-mct") >> + (version "0.4.2") >> + (source (origin >> + (method git-fetch) >> + (uri (git-reference >> + (url "https://gitlab.com/protesilaos/mct.git") >> + (commit version))) >> + (sha256 >> + (base32 "0sj9hyxpighspwrm2yimqkdxlhw2yiznaj69ysn2sjd6jn2aqpc6")) >> + (file-name (git-file-name name version)))) >> + (build-system emacs-build-system) >> + (license license:gpl3+) >> + (home-page "https://protesilaos.com/emacs/mct") >> + (synopsis "Enhancement of the default Emacs minibuffer completion UI.") > > Synopsis may not end with a period. You may want to run "guix lint" on > your package definition. > >> + (description "Minibuffer and Completions in Tandem, also known as >> +mct, or mct.el, is a package that enhances the default minibuffer and >> +*Completions* buffer of Emacs 27 (or higher) so that they work >> +together as part of a unified framework. The idea is to make the >> +presentation and overall functionality be consistent with other >> +popular, vertically aligned completion UIs while leveraging built-in >> +functionality."))) > > Sentences in description should be separated with two spaces. > > Nitpick: license field usually comes last. > > Note that upstream mentions this is an Emacs 28+ package, and Guix > provides only Emacs 27.2. Would it be a bit early to provide this > package? > > Regards, Attaching v2, seems all the issues and questions are addressed. From b4878a8adcbae7dd988df4741a39b0e0c27fb92b Mon Sep 17 00:00:00 2001 From: Andrew Tropin Date: Sat, 5 Feb 2022 20:19:52 +0300 Subject: [PATCH v2] gnu: Add emacs-mct. * gnu/packages/emacs-xyz.scm (emacs-mct): New variable. --- gnu/packages/emacs-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 444b761116..d7faf6ea6f 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -30090,3 +30090,26 @@ (define-public emacs-fennel-mode "Fennel mode provides font-lock, indentation, navigation, and REPL for Fennel code within Emacs.") (license license:gpl3+))) + +(define-public emacs-mct + (package + (name "emacs-mct") + (version "0.4.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/protesilaos/mct.git") + (commit version))) + (sha256 + (base32 "0sj9hyxpighspwrm2yimqkdxlhw2yiznaj69ysn2sjd6jn2aqpc6")) + (file-name (git-file-name name version)))) + (build-system emacs-build-system) + (home-page "https://protesilaos.com/emacs/mct") + (synopsis "Enhancement of the default Emacs minibuffer completion UI") + (description "Minibuffer and Completions in Tandem, also known as mct, or +mct.el, is a package that enhances the default minibuffer and *Completions* +buffer of Emacs 27 (or higher) so that they work together as part of a unified +framework. The idea is to make the presentation and overall functionality be +consistent with other popular, vertically aligned completion UIs while +leveraging built-in functionality.") + (license license:gpl3+))) -- 2.34.0