How to Install and Uninstall elpa-inheritenv Package on Kali Linux
Last updated: November 07,2024
1. Install "elpa-inheritenv" package
This is a short guide on how to install elpa-inheritenv on Kali Linux
$
sudo apt update
Copied
$
sudo apt install
elpa-inheritenv
Copied
2. Uninstall "elpa-inheritenv" package
Please follow the step by step instructions below to uninstall elpa-inheritenv on Kali Linux:
$
sudo apt remove
elpa-inheritenv
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the elpa-inheritenv package on Kali Linux
Package: elpa-inheritenv
Source: inheritenv
Version: 0.2-3
Installed-Size: 35
Maintainer: Debian Emacsen team
Architecture: all
Depends: dh-elpa-helper, emacsen-common
Recommends: emacs (>= 46.0)
Enhances: emacs
Size: 5836
SHA256: f0ec35491249e4ce9e3eccc3947ee672992202edd91bf0eb66497c4c7a27b033
SHA1: b217e28cb4be327a43a00e275e2af33f873f73d3
MD5sum: e54b17e316152211e9d52b84760e563d
Description: Make temp buffers inherit buffer-local environment variables
Environment variables in Emacs can be set buffer-locally, like many
Emacs preferences, which allows users to have different buffer-local
paths for executables in different projects, specified by a
".dir-locals.el" file or via a "direnv" integration like
envrc (see https://github.com/purcell/envrc).
.
However, there's a fairly common pitfall when Emacs libraries run
background processes on behalf of a user: many such libraries run
processes in temporary buffers that do not inherit the calling
buffer's environment. This can result in executables not being found,
or the wrong versions of executables being picked up.
.
An example is the Emacs built-in command
`shell-command-to-string'. Whatever buffer-local `process-environment'
(or `exec-path') the user has set, that command will always use the
Emacs-wide default. This is *specified* behaviour, but not *expected*
or *helpful*.
.
`inheritenv' provides a couple of tools for dealing with this
issue:
.
1. Library authors can wrap code that plans to execute processes in
temporary buffers with the `inheritenv' macro.
2. End users can modify commands like `shell-command-to-string' using
the `inheritenv-add-advice' macro.
Description-md5:
Homepage: https://github.com/purcell/inheritenv
Section: editors
Priority: optional
Filename: pool/main/i/inheritenv/elpa-inheritenv_0.2-3_all.deb
Source: inheritenv
Version: 0.2-3
Installed-Size: 35
Maintainer: Debian Emacsen team
Architecture: all
Depends: dh-elpa-helper, emacsen-common
Recommends: emacs (>= 46.0)
Enhances: emacs
Size: 5836
SHA256: f0ec35491249e4ce9e3eccc3947ee672992202edd91bf0eb66497c4c7a27b033
SHA1: b217e28cb4be327a43a00e275e2af33f873f73d3
MD5sum: e54b17e316152211e9d52b84760e563d
Description: Make temp buffers inherit buffer-local environment variables
Environment variables in Emacs can be set buffer-locally, like many
Emacs preferences, which allows users to have different buffer-local
paths for executables in different projects, specified by a
".dir-locals.el" file or via a "direnv" integration like
envrc (see https://github.com/purcell/envrc).
.
However, there's a fairly common pitfall when Emacs libraries run
background processes on behalf of a user: many such libraries run
processes in temporary buffers that do not inherit the calling
buffer's environment. This can result in executables not being found,
or the wrong versions of executables being picked up.
.
An example is the Emacs built-in command
`shell-command-to-string'. Whatever buffer-local `process-environment'
(or `exec-path') the user has set, that command will always use the
Emacs-wide default. This is *specified* behaviour, but not *expected*
or *helpful*.
.
`inheritenv' provides a couple of tools for dealing with this
issue:
.
1. Library authors can wrap code that plans to execute processes in
temporary buffers with the `inheritenv' macro.
2. End users can modify commands like `shell-command-to-string' using
the `inheritenv-add-advice' macro.
Description-md5:
Homepage: https://github.com/purcell/inheritenv
Section: editors
Priority: optional
Filename: pool/main/i/inheritenv/elpa-inheritenv_0.2-3_all.deb