GNU bug report logs - #47965
[PATCH] gnu: Add emacs-nameless

Previous Next

Package: guix-patches;

Reported by: Alexandr Vityazev <avityazev <at> posteo.org>

Date: Fri, 23 Apr 2021 05:36:02 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 47965 in the body.
You can then email your comments to 47965 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#47965; Package guix-patches. (Fri, 23 Apr 2021 05:36:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Alexandr Vityazev <avityazev <at> posteo.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 23 Apr 2021 05:36:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Alexandr Vityazev <avityazev <at> posteo.org>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add emacs-nameless
Date: Fri, 23 Apr 2021 05:35:55 +0000
[0001-gnu-Add-emacs-nameless.patch (text/x-patch, inline)]
From cbfba4d515fb27c304ec92da0641bf1947ddaf67 Mon Sep 17 00:00:00 2001
From: Alexandr Vityazev <avityazev <at> 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

[Message part 2 (text/plain, inline)]
-- 

Alexandr Vityazev

Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Fri, 23 Apr 2021 09:18:02 GMT) Full text and rfc822 format available.

Notification sent to Alexandr Vityazev <avityazev <at> posteo.org>:
bug acknowledged by developer. (Fri, 23 Apr 2021 09:18:02 GMT) Full text and rfc822 format available.

Message #10 received at 47965-done <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Alexandr Vityazev <avityazev <at> posteo.org>
Cc: 47965-done <at> debbugs.gnu.org
Subject: Re: [bug#47965] [PATCH] gnu: Add emacs-nameless
Date: Fri, 23 Apr 2021 11:17:10 +0200
Hello,

Alexandr Vityazev <avityazev <at> posteo.org> writes:

> Subject: [PATCH] gnu: Add emacs-nameless.

Thank you.

I fixed the commit message: it was not including the name of the file
being modified.  See commit log for details.

> +    (home-page
> +     "https://github.com/Malabarba/nameless")
> +    (synopsis
> +     "Hide package namespace in your emacs-lisp code")

Line breaks are not necessary above.

> +    (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.")

I removed some parts of the description, when I felt they belonged to
a manual instead.

> +    (license license:gpl2+)))

Note upstream license is odd. There is a GPL2 LICENSE file, but the
library is licensed gpl3+. I think gpl2+ is fine, but stil…

Applied.

Regards,
-- 
Nicolas Goaziou




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 21 May 2021 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 333 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.