From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MMH3Ly1dgmDkEAEAgWs5BA (envelope-from ) for ; Fri, 23 Apr 2021 07:37:49 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id kOWzKy1dgmCdDgAA1q6Kng (envelope-from ) for ; Fri, 23 Apr 2021 05:37:49 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 56A17226F3 for ; Fri, 23 Apr 2021 07:37:49 +0200 (CEST) Received: from localhost ([::1]:59704 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZoVg-0002D8-EX for larch@yhetil.org; Fri, 23 Apr 2021 01:37:48 -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 Content-Type: multipart/mixed; boundary="=-=-=" 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619156269; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=4X3CAYvfIEbw5zqhHCz+tw6SwO4XnrJfrtZYkpO7BhQ=; b=hkZAcgrc5NmHs+6OdG7PV94mULlOfjr9FFsoCrVR+NWXuM/2loVHLkZx375N+2XS15rgLp IXK0TdINX4wIyPW05cWx1/hR+W7oQ8f/T9tFQ4zeySBItHNdU77uuzQz0SXKmVXBKz7jqo nT/JHc1XDpHOVB/Lr25VLwSevOXvB4wQTDQcdzL60Ro2lvHabL1uInBC6iJtNnaQQ+qMM8 Ymnt/U2phg8nL7fnG2hVij6kQWZ4lKESMeBxGtuVGrXhzfSTppQPNm0+EWWmrIVKhZhJ4J iBGbSA5RLMhmvqWcAs4fF0YP/XvhNUvmCJDMey8IN725y1r/PhjrXERRFOx2aQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619156269; a=rsa-sha256; cv=none; b=JDRrm3TbIabq4WNVcaKtxbio0fGEwBI0e8XJSTZgz6ACqFfK5uOaj6xqQnjDEm0Wwg1XmB C46F4n1nTveAwEgv9aQ5Yp6+nhwlV882MlywGVmvneCN/udB30FR5bHngAAKwett5OAc8N dUWN/VLeZ20l497acnTDmlhAtWwhvId2DbdEJoyobxNRKK/Mxd6e1jQ4gBDqY0SLFGQwtH 362GD1TiUm6OHcp1stbuBaJAESsvETa2H+UQpj0JaflhgqYhu52FpQvXvJbGd9CooKPp7p y87P73Wkb+HTL/AvsCH7oIqJLR0r0PZ8P5gn4rMC7Eygy+pVZJjiOQ8lQLrd3w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.org header.s=2017 header.b=AYxcTM5j; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.org (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 0.15 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.org header.s=2017 header.b=AYxcTM5j; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.org (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 56A17226F3 X-Spam-Score: 0.15 X-Migadu-Scanner: scn0.migadu.com X-TUID: hiMmFnFphQ/r --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-emacs-nameless.patch Content-Transfer-Encoding: quoted-printable >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 =E2=80=8B=E2=80=8Bhidden by a col= on (@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+))) --=20 2.31.1 --=-=-= Content-Type: text/plain -- Alexandr Vityazev --=-=-=--