summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleg Pykhalov <go.wigust@gmail.com>2019-08-10 14:29:31 +0300
committerOleg Pykhalov <go.wigust@gmail.com>2019-08-10 14:31:02 +0300
commitf0d959d7d0501369f45f2df55c1aaee8246bf018 (patch)
treeeb6b8286a3ad24bc142a681c2cf92855651ae77f
parentguix: stumpwm-checkout: Use revert-xinerama2xrandr branch. (diff)
downloadguix-wigust-f0d959d7d0501369f45f2df55c1aaee8246bf018.tar.gz
guix: Add emacs-copy-as-format.
* guix/wigust/packages/emacs.scm (emacs-copy-as-format): New variable.
-rw-r--r--guix/wigust/packages/emacs.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/guix/wigust/packages/emacs.scm b/guix/wigust/packages/emacs.scm
index b62a57b..390e4e7 100644
--- a/guix/wigust/packages/emacs.scm
+++ b/guix/wigust/packages/emacs.scm
@@ -1284,3 +1284,33 @@ program instead of Emacs' own (often not up to date) whois client.
(lambda _
(substitute* "slack-message-buffer.el"
(("slack-conversations-view") "slack-conversations-history")))))))))))
+
+(define-public emacs-copy-as-format
+ (package
+ (name "emacs-copy-as-format")
+ (version "0.0.8")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/sshaw/copy-as-format.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0i158bkra7zgq75j08knq2camvlhbs2v8zrsxiyp0mc4q949xysd"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/sshaw/copy-as-format/")
+ (synopsis "Copy buffer locations as GitHub/Slack/JIRA as formatted code")
+ (description "Copy buffer locations as GitHub/Slack/JIRA/HipChat formatted
+code and add them to the kill ring. The buffer will not be modified.
+
+With a prefix argument prompt for the format. Defaults to
+@code{copy-as-format-default}.
+
+To add formats see @code{copy-as-format-format-alist}.
+
+For AsciiDoc customization see
+@code{copy-as-format-asciidoc-include-file-name} and
+@code{copy-as-format-asciidoc-language-alist}.")
+ (license license:gpl3+)))
+