svn commit: r561515 - in head/devel: . transient
Joseph Mingrone
jrm at FreeBSD.org
Wed Jan 13 22:23:12 UTC 2021
Author: jrm
Date: Wed Jan 13 22:23:10 2021
New Revision: 561515
URL: https://svnweb.freebsd.org/changeset/ports/561515
Log:
New port, devel/transient: Emacs key and popup interface
PR: 251146
Submitted by: Yasuhiro Kimura <yasu at utahime.org> (maintainer)
Added:
head/devel/transient/
head/devel/transient/Makefile (contents, props changed)
head/devel/transient/distinfo (contents, props changed)
head/devel/transient/pkg-descr (contents, props changed)
head/devel/transient/pkg-plist (contents, props changed)
Modified:
head/devel/Makefile (contents, props changed)
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Wed Jan 13 22:12:05 2021 (r561514)
+++ head/devel/Makefile Wed Jan 13 22:23:10 2021 (r561515)
@@ -6855,6 +6855,7 @@
SUBDIR += tpasm
SUBDIR += tradcpp
SUBDIR += transwarp
+ SUBDIR += transient
SUBDIR += treepy.el
SUBDIR += trellis
SUBDIR += trio
Added: head/devel/transient/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/transient/Makefile Wed Jan 13 22:23:10 2021 (r561515)
@@ -0,0 +1,42 @@
+# $FreeBSD$
+
+PORTNAME= transient
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.2.0-75
+DISTVERSIONSUFFIX= -g7811dcf
+CATEGORIES= devel elisp
+PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
+
+MAINTAINER= yasu at utahime.org
+COMMENT= Emacs key and popup interface for complex keybindings
+
+LICENSE= GPLv3+
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= emacs gmake makeinfo
+USE_GITHUB= yes
+GH_ACCOUNT= magit
+
+ALL_TARGET= lisp info
+
+NO_ARCH= yes
+
+INFO= transient
+
+PORTDOCS= CHANGELOG README.md
+
+OPTIONS_DEFINE= DOCS
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
+ ${INSTALL_DATA} ${WRKSRC}/lisp/*.el* \
+ ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
+ ${INSTALL_DATA} ${WRKSRC}/docs/*.info \
+ ${STAGEDIR}${PREFIX}/${INFO_PATH}
+
+do-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/docs/CHANGELOG ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
Added: head/devel/transient/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/transient/distinfo Wed Jan 13 22:23:10 2021 (r561515)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1610572736
+SHA256 (magit-transient-v0.2.0-75-g7811dcf_GH0.tar.gz) = 31a9974c062619762d9458cd92716e2ea9ca0fdc41e1d0c8aa19dad775f4fe5a
+SIZE (magit-transient-v0.2.0-75-g7811dcf_GH0.tar.gz) = 98530
Added: head/devel/transient/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/transient/pkg-descr Wed Jan 13 22:23:10 2021 (r561515)
@@ -0,0 +1,21 @@
+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 a popup buffer
+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.
+
+WWW: https://github.com/magit/transient
Added: head/devel/transient/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/transient/pkg-plist Wed Jan 13 22:23:10 2021 (r561515)
@@ -0,0 +1,3 @@
+%%EMACS_VERSION_SITE_LISPDIR%%/transient-autoloads.el
+%%EMACS_VERSION_SITE_LISPDIR%%/transient.el
+%%EMACS_VERSION_SITE_LISPDIR%%/transient.elc
More information about the svn-ports-all
mailing list