all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sohom Bhattacharjee <soham.bhattacharjee15@gmail.com>
To: 31328@debbugs.gnu.org
Subject: [bug#31328] Add emacs-noflet
Date: Tue, 1 May 2018 13:49:04 +0530	[thread overview]
Message-ID: <20180501081904.GA17160@sam> (raw)

[-- Attachment #1: Type: text/plain, Size: 117 bytes --]

This came up as a test dependency for emacs-dumb-jump (31036)

I am sending this as a separate patch.

Thank You :-)

[-- Attachment #2: 0001-gnu-Add-emacs-noflet.patch --]
[-- Type: text/plain, Size: 1373 bytes --]

From 0d228d05f456c59e189e181b940d6c27c47b3d7c Mon Sep 17 00:00:00 2001
From: Sohom Bhattacharjee <soham.bhattacharjee15@gmail.com>
Date: Tue, 1 May 2018 13:42:43 +0530
Subject: [PATCH] gnu: Add emacs-noflet.

* gnu/packages/emacs.scm (emacs-noflet): New Variable.
---
 gnu/packages/emacs.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 963fc37c4..79c99db80 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -8002,3 +8002,24 @@ Emacs.")
 in @code{emacs-lisp-mode}, together with an elisp equivalent of
 @code{slime-describe-symbol}.")
     (license license:gpl3+)))
+
+(define-public emacs-noflet
+  (package
+  (name "emacs-noflet")
+  (version "20141102.654")
+  (source
+    (origin
+      (method url-fetch)
+      (uri (string-append "https://melpa.org/packages/noflet-"
+             version ".el"))
+      (sha256
+        (base32
+          "1a1wxb9zhrhj2iv1abjqpggyh5gwg13gwyz1052dqq4fbpbrwa0y"))))
+  (build-system emacs-build-system)
+  (home-page "https://github.com/nicferrier/emacs-noflet")
+  (synopsis "Locally override functions")
+  (description
+    "This let's you locally override functions, in the manner of
+@command{flet}, but with access to the original function through the symbol:
+@command{this-fn}.")
+  (license license:gpl3+)))
-- 
2.17.0


             reply	other threads:[~2018-05-01  8:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-01  8:19 Sohom Bhattacharjee [this message]
2018-05-03 18:13 ` bug#31328: Add emacs-noflet Arun Isaac

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=20180501081904.GA17160@sam \
    --to=soham.bhattacharjee15@gmail.com \
    --cc=31328@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.