From: Oleg Pykhalov <go.wigust@gmail.com>
To: 28126@debbugs.gnu.org
Subject: [bug#28126] [PATCH 1/1] gnu: Add emacs-browse-at-remote.
Date: Thu, 17 Aug 2017 21:20:12 +0300 [thread overview]
Message-ID: <87a82yxdib.fsf@gmail.com> (raw)
In-Reply-To: <87mv6yxdqj.fsf@gmail.com>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: [PATCH 1/1] gnu: Add emacs-browse-at-remote. --]
[-- Type: text/x-patch, Size: 3211 bytes --]
From 32a917cb337dbb25010d687f21b3d305eb01a852 Mon Sep 17 00:00:00 2001
From: Oleg Pykhalov <go.wigust@gmail.com>
Date: Thu, 17 Aug 2017 20:35:43 +0300
Subject: [PATCH 1/1] gnu: Add emacs-browse-at-remote.
* gnu/packages/emacs.scm (emacs-browse-at-remote): New variable.
---
gnu/packages/emacs.scm | 51 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 1728b5b92..faa131812 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -5380,3 +5380,54 @@ enables you to easily define search engines, bind them to keybindings, and
query them from the comfort of your editor.")
(home-page "https://github.com/hrs/engine-mode")
(license license:gpl3+)))
+
+(define-public emacs-browse-at-remote
+ (let ((commit "b5cff7971ca8bbb966e3acd9b7e5c4c007f94215")
+ (revision "1"))
+ (package
+ (name "emacs-browse-at-remote")
+ (version (string-append "0.9.0-" revision "."
+ (string-take commit 7)))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/rmuslimov/browse-at-remote.git")
+ (commit commit)))
+ (file-name (string-append name "-" version "-checkout"))
+ (sha256
+ (base32
+ "16ms9703m15dfxg6ap4mdw7msf8z5rzsdhba51dwivfpjxg7n52c"))))
+ (build-system emacs-build-system)
+ (propagated-inputs
+ `(("emacs-f" ,emacs-f)
+ ("emacs-s" ,emacs-s)
+ ("emacs-dash" ,emacs-dash)))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'install 'check
+ (lambda* (#:key inputs #:allow-other-keys)
+ (zero? (system* "emacs" "--batch" "-L" "."
+ "-L" (string-append
+ (assoc-ref inputs "emacs-f")
+ "/share/emacs/site-lisp/guix.d/f-"
+ ,(package-version emacs-f))
+ "-L" (string-append
+ (assoc-ref inputs "emacs-s")
+ "/share/emacs/site-lisp/guix.d/s-"
+ ,(package-version emacs-s))
+ "-L" (string-append
+ (assoc-ref inputs "emacs-dash")
+ "/share/emacs/site-lisp/guix.d/dash-"
+ ,(package-version emacs-dash))
+ "-l" "test/api-basic-test.el"
+ "-f" "ert-run-tests-batch-and-exit")))))))
+ (home-page "https://github.com/rmuslimov/browse-at-remote")
+ (synopsis
+ "Open github/gitlab/bitbucket/stash page from Emacs")
+ (description
+ "Easily open target page on github/gitlab (or bitbucket) from Emacs by
+calling @code{browse-at-remote} function. Support dired buffers and opens
+them in tree mode at destination.
+")
+ (license license:gpl3+))))
--
2.14.1
next prev parent reply other threads:[~2017-08-17 18:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-17 18:00 [bug#28126] [PATCH 0/1] gnu: Add emacs-browse-at-remote Oleg Pykhalov
2017-08-17 18:20 ` Oleg Pykhalov [this message]
2017-09-02 19:43 ` bug#28126: [PATCH 1/1] " Alex Kost
2017-09-04 8:39 ` [bug#28126] " Oleg Pykhalov
2017-09-04 19:49 ` bug#28126: " Alex Kost
2017-09-02 19:42 ` [bug#28126] [PATCH 0/1] " Alex Kost
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a82yxdib.fsf@gmail.com \
--to=go.wigust@gmail.com \
--cc=28126@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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).