From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AC1811382C5 for ; Thu, 27 May 2021 06:06:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 65A28E14CD; Thu, 27 May 2021 06:06:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4BD6AE14CD for ; Thu, 27 May 2021 06:06:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C3E5133BE3F for ; Thu, 27 May 2021 06:06:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3EF2E737 for ; Thu, 27 May 2021 06:06:44 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1622095563.f96e0a809cbe035d4bf17474229691ea2b7cb1ec.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/transient/files/, app-emacs/transient/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emacs/transient/Manifest app-emacs/transient/files/50transient-gentoo.el app-emacs/transient/metadata.xml app-emacs/transient/transient-0.3.4.ebuild X-VCS-Directories: app-emacs/transient/files/ app-emacs/transient/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: f96e0a809cbe035d4bf17474229691ea2b7cb1ec X-VCS-Branch: master Date: Thu, 27 May 2021 06:06:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 263e9e55-3bbe-4a59-bb8e-ffb73463526b X-Archives-Hash: 9bd5ec479c5d5ce23d3a170db0a466f2 commit: f96e0a809cbe035d4bf17474229691ea2b7cb1ec Author: Hans de Graaff gentoo org> AuthorDate: Wed May 26 05:59:50 2021 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Thu May 27 06:06:03 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f96e0a80 app-emacs/transient: initial import of 0.3.4 New dependency for app-emacs/magit Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Hans de Graaff gentoo.org> app-emacs/transient/Manifest | 1 + app-emacs/transient/files/50transient-gentoo.el | 1 + app-emacs/transient/metadata.xml | 35 +++++++++++++++++++++++++ app-emacs/transient/transient-0.3.4.ebuild | 29 ++++++++++++++++++++ 4 files changed, 66 insertions(+) diff --git a/app-emacs/transient/Manifest b/app-emacs/transient/Manifest new file mode 100644 index 00000000000..d4b2135ea56 --- /dev/null +++ b/app-emacs/transient/Manifest @@ -0,0 +1 @@ +DIST transient-0.3.4.tar.gz 100193 BLAKE2B 0dd91cf1af22cfd6c3b6fefaa1b84ba3a241e269aef5165befa9408171f8b5477b04e2886e690cfd8d20af31e83fe669e05f0bf40c3391aab353d33a59345689 SHA512 feb24bf9045c9212a45cbc0a99805bdad6f4f5871279d44c64a883ad5d33a40128189525ee546d6cff14bf2d60d3c1e684cf8894fefc01860e363073eafea220 diff --git a/app-emacs/transient/files/50transient-gentoo.el b/app-emacs/transient/files/50transient-gentoo.el new file mode 100644 index 00000000000..431f7e90ae7 --- /dev/null +++ b/app-emacs/transient/files/50transient-gentoo.el @@ -0,0 +1 @@ +(add-to-list 'load-path "@SITELISP@") diff --git a/app-emacs/transient/metadata.xml b/app-emacs/transient/metadata.xml new file mode 100644 index 00000000000..f01b2556a6a --- /dev/null +++ b/app-emacs/transient/metadata.xml @@ -0,0 +1,35 @@ + + + + + gnu-emacs@gentoo.org + Gentoo GNU Emacs project + + + Taking inspiration from prefix keys and prefix arguments, Transient + implements a similar abstraction involving a prefix command, infix + arguments and suffix commands. We could call this abstraction a + "transient command", but because it always involves at least two + commands (a prefix and a suffix) we prefer to call it just a + "transient". + + When the user calls a transient prefix command, then a transient + (temporary) keymap is activated, which binds the transient's infix + and suffix commands, and functions that control the transient state + are added to `pre-command-hook' and `post-command-hook'. The + available suffix and infix commands and their state are shown in + the echo area until the transient is exited by invoking a suffix + command. + + Calling an infix command causes its value to be changed, possibly + by reading a new value in the minibuffer. + + Calling a suffix command usually causes the transient to be exited + but suffix commands can also be configured to not exit the + transient state. + + + + magit/transient + + diff --git a/app-emacs/transient/transient-0.3.4.ebuild b/app-emacs/transient/transient-0.3.4.ebuild new file mode 100644 index 00000000000..5f2eb4af6a9 --- /dev/null +++ b/app-emacs/transient/transient-0.3.4.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +NEED_EMACS=25 + +inherit elisp + +DESCRIPTION="Use the Emacsclient as the \$EDITOR of child processes" +HOMEPAGE="https://magit.vc/manual/transient" +SRC_URI="https://github.com/magit/transient/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" + +SITEFILE="50${PN}-gentoo.el" +ELISP_TEXINFO="docs/*.texi" +DOCS="README.md docs/transient.org" + +DEPEND="" +RDEPEND="${DEPEND}" +DEPEND="${DEPEND} sys-apps/texinfo" + +src_prepare() { + mv lisp/*.el . || die + + default +}