all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Konrad Hinsen <konrad.hinsen@fastmail.net>
To: 30797@debbugs.gnu.org
Subject: [bug#30797] [PATCH 1/2] gnu: Add emacs-exec-path-from-shell
Date: Tue, 13 Mar 2018 16:47:01 +0100	[thread overview]
Message-ID: <m1zi3c9dsi.fsf@fastmail.net> (raw)

* gnu/packages/emacs.scm (emacs-exec-path-from-shell): New variable.
---
 gnu/packages/emacs.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index c2c162c75..9c9c399fd 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -7361,3 +7361,31 @@ highlighting and indentation support.")
 @uref{https://www.terraform.io/, Terraform} configuration files.  Most of the
 functionality is inherited from @code{hcl-mode}.")
     (license license:gpl3+)))
+
+(define-public emacs-exec-path-from-shell
+  (package
+    (name "emacs-exec-path-from-shell")
+    (version "1.11")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://stable.melpa.org/packages/exec-path-from-shell-"
+             version
+             ".el"))
+       (sha256
+        (base32
+         "03qjgb81cq1l3j54lvlf98r75vmmgd06mj6qh5wa6mz4xzp4w26r"))))
+    (build-system emacs-build-system)
+    (home-page
+     "https://github.com/purcell/exec-path-from-shell")
+    (synopsis
+     "Get environment variables such as $PATH from the shell")
+    (description
+     "This library allows the user to set Emacs' @code{exec-path} and @code{$PATH}
+from the shell path, so that @code{shell-command}, @code{compile} and the
+like work as expected on systems on which Emacs is not guaranteed
+to inherit a login shell's environment variables.  It also allows other
+environment variables to be retrieved from the shell, so that Emacs will
+see the same values you get in a terminal.")
+    (license license:gpl3+)))
-- 
2.16.2

             reply	other threads:[~2018-03-13 15:50 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-13 15:47 Konrad Hinsen [this message]
2018-03-15  8:50 ` [bug#30797] [PATCH 1/2] gnu: Add emacs-exec-path-from-shell Oleg Pykhalov
2018-03-16 12:11   ` Konrad Hinsen
2018-03-16 14:13     ` bug#30797: " Oleg Pykhalov
2018-03-16 14:42       ` [bug#30797] " Konrad Hinsen
2018-03-16 15:05         ` Clément Lassieur
2018-03-16 15:28           ` Konrad Hinsen
2018-03-16 16:16             ` Oleg Pykhalov
2018-03-16 16:16         ` Oleg Pykhalov
2018-03-17 11:46         ` Andreas Enge

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=m1zi3c9dsi.fsf@fastmail.net \
    --to=konrad.hinsen@fastmail.net \
    --cc=30797@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.