Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Nov 2025 05:03:58 GMT
From:      Joseph Mingrone <jrm@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 9ef1f2298961 - main - editors/marginalia.el: Marginalia in the Emacs minibuffer
Message-ID:  <202511170503.5AH53wqF009579@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by jrm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9ef1f22989612f1f4bdcb36a19f42a36d83a2b22

commit 9ef1f22989612f1f4bdcb36a19f42a36d83a2b22
Author:     Pat Maddox <pat@patmaddox.com>
AuthorDate: 2025-10-25 00:32:18 +0000
Commit:     Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2025-11-17 04:38:26 +0000

    editors/marginalia.el: Marginalia in the Emacs minibuffer
    
    This package provides marginalia-mode which adds marginalia to the
    minibuffer completions. Marginalia are marks or annotations placed at
    the margin of the page of a book or in this case helpful colorful
    annotations placed at the margin of the minibuffer for your completion
    candidates. Marginalia can only add annotations to the completion
    candidates. It cannot modify the appearance of the candidates
    themselves, which are shown unaltered as supplied by the original
    command.
    
    WWW:    https://github.com/minad/marginalia
    PR:     290540
---
 editors/Makefile                |  1 +
 editors/marginalia.el/Makefile  | 33 +++++++++++++++++++++++++++++++++
 editors/marginalia.el/distinfo  |  3 +++
 editors/marginalia.el/pkg-descr | 14 ++++++++++++++
 editors/marginalia.el/pkg-plist |  2 ++
 5 files changed, 53 insertions(+)

diff --git a/editors/Makefile b/editors/Makefile
index 2d8c704e82f5..121db90746ab 100644
--- a/editors/Makefile
+++ b/editors/Makefile
@@ -202,6 +202,7 @@
     SUBDIR += lite
     SUBDIR += lite-xl
     SUBDIR += marker
+    SUBDIR += marginalia.el
     SUBDIR += mg
     SUBDIR += mickey
     SUBDIR += micro
diff --git a/editors/marginalia.el/Makefile b/editors/marginalia.el/Makefile
new file mode 100644
index 000000000000..f07533b574d9
--- /dev/null
+++ b/editors/marginalia.el/Makefile
@@ -0,0 +1,33 @@
+PORTNAME=	marginalia.el
+PORTVERSION=	2.4
+CATEGORIES=	editors elisp
+PKGNAMESUFFIX=	${EMACS_PKGNAMESUFFIX}
+
+MAINTAINER=	pat@patmaddox.com
+COMMENT=	Marginalia in the Emacs minibuffer
+WWW=		https://github.com/minad/marginalia
+
+LICENSE=	GPLv3+
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	compat.el${EMACS_PKGNAMESUFFIX}>=30.1.0.0:misc/compat.el@${EMACS_FLAVOR}
+
+USES=		emacs
+USE_GITHUB=	yes
+GH_ACCOUNT=	minad
+GH_PROJECT=	marginalia
+
+NO_ARCH=	yes
+NO_BUILD=	yes
+
+OPTIONS_DEFINE=	DOCS
+
+do-install:
+	@${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}
+	${INSTALL_DATA} ${WRKSRC}/marginalia.el ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}
+
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.org ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/editors/marginalia.el/distinfo b/editors/marginalia.el/distinfo
new file mode 100644
index 000000000000..537a3fefaab9
--- /dev/null
+++ b/editors/marginalia.el/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1761352288
+SHA256 (minad-marginalia-2.4_GH0.tar.gz) = 5fb093865e9fd30cb19dee8eef2332eaa2d909b6357d8e5a24d2a06e01d28acd
+SIZE (minad-marginalia-2.4_GH0.tar.gz) = 33176
diff --git a/editors/marginalia.el/pkg-descr b/editors/marginalia.el/pkg-descr
new file mode 100644
index 000000000000..f4389327c1e0
--- /dev/null
+++ b/editors/marginalia.el/pkg-descr
@@ -0,0 +1,14 @@
+This package provides marginalia-mode which adds marginalia to the
+minibuffer completions. Marginalia are marks or annotations placed at
+the margin of the page of a book or in this case helpful colorful
+annotations placed at the margin of the minibuffer for your completion
+candidates. Marginalia can only add annotations to the completion
+candidates. It cannot modify the appearance of the candidates
+themselves, which are shown unaltered as supplied by the original
+command.
+
+The annotations are added based on the completion category. For
+example find-file reports the file category and M-x reports the
+command category. You can cycle between more or less detailed
+annotators or even disable the annotator with command
+marginalia-cycle.
diff --git a/editors/marginalia.el/pkg-plist b/editors/marginalia.el/pkg-plist
new file mode 100644
index 000000000000..934eb13d8a5b
--- /dev/null
+++ b/editors/marginalia.el/pkg-plist
@@ -0,0 +1,2 @@
+%%EMACS_SITE_LISPDIR%%/marginalia.el
+%%PORTDOCS%%%%DOCSDIR%%/README.org


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202511170503.5AH53wqF009579>