From patchwork Fri Apr 23 05:35:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Aleksandr Vityazev X-Patchwork-Id: 28816 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1E09027BC7D; Fri, 23 Apr 2021 06:37:47 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A131A27BC7C for ; Fri, 23 Apr 2021 06:37:46 +0100 (BST) Received: from localhost ([::1]:59704 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZoVd-0002D8-Qp for patchwork@mira.cbaines.net; Fri, 23 Apr 2021 01:37:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56052) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZoTy-0001sb-Kj for guix-patches@gnu.org; Fri, 23 Apr 2021 01:36:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52702) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lZoTy-0001vM-DO for guix-patches@gnu.org; Fri, 23 Apr 2021 01:36:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lZoTy-0003o5-As for guix-patches@gnu.org; Fri, 23 Apr 2021 01:36:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47965] [PATCH] gnu: Add emacs-nameless Resent-From: Alexandr Vityazev Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 23 Apr 2021 05:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47965 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47965@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161915614914610 (code B ref -1); Fri, 23 Apr 2021 05:36:02 +0000 Received: (at submit) by debbugs.gnu.org; 23 Apr 2021 05:35:49 +0000 Received: from localhost ([127.0.0.1]:36015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZoTl-0003na-6J for submit@debbugs.gnu.org; Fri, 23 Apr 2021 01:35:49 -0400 Received: from lists.gnu.org ([209.51.188.17]:60492) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZoTj-0003nT-FS for submit@debbugs.gnu.org; Fri, 23 Apr 2021 01:35:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56026) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZoTj-0001ov-8c for guix-patches@gnu.org; Fri, 23 Apr 2021 01:35:47 -0400 Received: from mout01.posteo.de ([185.67.36.65]:34687) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZoTg-0001cC-MO for guix-patches@gnu.org; Fri, 23 Apr 2021 01:35:47 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id DD40C240026 for ; Fri, 23 Apr 2021 07:35:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.org; s=2017; t=1619156140; bh=v1S2hJ3syzJgtmBSMtBmQYLrVlKoR/BBpD3V09nwyW0=; h=From:To:Subject:Date:From; b=AYxcTM5jNeDTzfgxWwdPdwISFLsXObxf/X4k5l2qBiZjRT8x6YDBW1YrQqF5KnSQS 2nVANKMz+kq3MWhmfNgPx/ovwpQ4mVqgHU6IyXNNAZMgDVQYOUzbRONgWh5ytkJVzG /ewQ2Q2dvFGOvvRlhvmbvw2FFiilU4AeRcM8a0dIc2CIh2tzr7Qf+MyNRZLuAA4baF RyRcqDNVWyXRkSDlmYhtVWIUKldtv2cLFimC4hVhY85vlO0gIYlcf1RVplcprnWVQl zAEoI5F8YwHtgbD3kmsrz9M+sdGyH9WW1HZsoh+nquXKRySIy8vwAx/gRoAZSKeSEH txgCmLCJ521qQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FRNL35kWKz6tmJ for ; Fri, 23 Apr 2021 07:35:39 +0200 (CEST) From: Alexandr Vityazev Date: Fri, 23 Apr 2021 05:35:55 +0000 Message-ID: <875z0def5w.fsf@posteo.net> MIME-Version: 1.0 Received-SPF: pass client-ip=185.67.36.65; envelope-from=avityazev@posteo.org; helo=mout01.posteo.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From cbfba4d515fb27c304ec92da0641bf1947ddaf67 Mon Sep 17 00:00:00 2001 From: Alexandr Vityazev 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