From: Alexandr Vityazev <avityazev@posteo.org>
To: 47965@debbugs.gnu.org
Subject: [bug#47965] [PATCH] gnu: Add emacs-nameless
Date: Fri, 23 Apr 2021 05:35:55 +0000 [thread overview]
Message-ID: <875z0def5w.fsf@posteo.net> (raw)
[-- Attachment #1: 0001-gnu-Add-emacs-nameless.patch --]
[-- Type: text/x-patch, Size: 1907 bytes --]
From cbfba4d515fb27c304ec92da0641bf1947ddaf67 Mon Sep 17 00:00:00 2001
From: Alexandr Vityazev <avityazev@posteo.org>
Date: Fri, 23 Apr 2021 00:17:18 +0300
Subject: [PATCH] gnu: Add emacs-nameless.
---
gnu/packages/emacs-xyz.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 5214ad3852..95a3222123 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -27692,3 +27692,35 @@ shorter than usual, using mostly unprefixed keys.")
vc root directory, and for displaying and/or sorting by the vc
status of listed files.")
(license license:gpl3+)))
+
+(define-public emacs-nameless
+ (package
+ (name "emacs-nameless")
+ (version "1.0.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Malabarba/Nameless")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "107q1rximjnag9r9vgwh0iv687i3rsscbdnjc46f8l16j6vi4n7d"))))
+ (build-system emacs-build-system)
+ (home-page
+ "https://github.com/Malabarba/nameless")
+ (synopsis
+ "Hide package namespace in your emacs-lisp code")
+ (description
+ "This package provides a @code{nameless-mode} minor mode
+in which the package namespace prefix is hidden by a colon (@code{:}).
+
+To use this package add the following configuration to your Emacs
+init file: @code{(add-hook 'emacs-lisp-mode-hook #'nameless-mode)}.
+
+You can configure a string to use instead of @code{:} by setting the
+@code{nameless-prefix}, and the name of the face used is `nameless-face'.
+While the mode is active, the @key{C-c C--} key inserts the package
+namespace if appropriate.")
+ (license license:gpl2+)))
--
2.31.1
[-- Attachment #2: Type: text/plain, Size: 24 bytes --]
--
Alexandr Vityazev
next reply other threads:[~2021-04-23 5:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-23 5:35 Alexandr Vityazev [this message]
2021-04-23 9:17 ` bug#47965: [PATCH] gnu: Add emacs-nameless Nicolas Goaziou
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=875z0def5w.fsf@posteo.net \
--to=avityazev@posteo.org \
--cc=47965@debbugs.gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.