Questions tagged [environment]

A set of dynamic variables that can affect the running processes.

14 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2 votes
2 answers
3k views

How to use doom emacs as a golang ide quickly?

I installed the newest doom emacs on macOS. Also configed language packages as $ emacs ~/.doom.d/init.el :lang (go +lsp) :tools lsp $ ~/.emacs.d/bin/doom sync When I open a .go file, the code became ...
warmwinter's user avatar
2 votes
0 answers
184 views

indent items in auctex

What I would like to achieve is a deeper indentation of lines in items in Auctex. \begin{itemize} \item This is what I would like to achieve. The beginning of the second line aligns with ...
user52366's user avatar
  • 131
1 vote
0 answers
109 views

.bashrc environment variables not picked up by Spacemacs?

I've added a few environment variables to my .bashrc file, some of these are paths to customized bin/programs, such as: export MY_ENV_PATH_VAR=/home/user/path/to/bin I've refreshed spacemacs' ....
stigma's user avatar
  • 113
1 vote
0 answers
125 views

Use conda environment in ansi-term

I would like to be able to use conda activate to switch between environments in ansi-term. I am running bash in ansi-term from Emacs 27.1 on MacOS Catalina. Currently, executing conda activate <...
RyanM's user avatar
  • 11
1 vote
0 answers
131 views

How to not display environment variable in org-babel src block?

I want the effect of this: #+BEGIN_SRC shell :dir src CC=gcc-9 make #+END_SRC But I don't want CC=gcc-9 to show up in the output. Is there a way to somehow include the environment variable in the ...
Alex Shroyer's user avatar
1 vote
1 answer
102 views

Emacs on Windows sets DISPLAY to w32

I stumbled upon the fact that Emacs on Windows sets the environment variable DISPLAY to w32 (if the variable is not already set). This causes problems for example with OpenSSH. What is the use case ...
theldoria's user avatar
  • 1,835
1 vote
0 answers
213 views

problems with rbenv integration

I recently changed from rvm to rbenv to manage my ruby environments and gems with bundle instead of rvm gemsets. It worked well and I'm quite happy with the change. The only big problem is to manage ...
anquegi's user avatar
  • 749
1 vote
0 answers
42 views

Storing and Loading Non-Static/Multiple Configs

I'm writing an emacs wrapper to a set of scripts that require a lot of config settings to run. These can be variously environment variables, command line parameters and so forth. They should be user ...
Phil's user avatar
  • 535
1 vote
0 answers
101 views

Emacs doesn't use macOS's /etc/launchd.conf env variables

Emacs doesn't use macOS's /etc/launchd.conf env variables. I have the following there: function addToPATH { case ":$PATH:" in *":$1:"*) :;; # already there *) PATH="$1:$PATH";; # ...
HappyFace's user avatar
  • 830
1 vote
0 answers
611 views

load environment variables of virtual environment in emacs

What is the best way to load in emacs the environment variables of a virtualenv? I seem to have got virtualenvwrapper.el working. For example, after using venv-workon my_venv, then M-! printenv ...
mmw's user avatar
  • 111
0 votes
0 answers
33 views

Shell Environment in emacs sessions

I noticed that terminal-based emacs and GUI emacs seems to work differently in terms of shell environment, even if they are started in the same terminal session. For example, I'm working with roslisp ...
Herman He's user avatar
0 votes
1 answer
204 views

How to make inferior shell inherit environment variable?

I would like to set the environment variables defined within Emacs available to inferior shells launched afterwards. My use-case is to be able to switch Python (conda) environment within Emacs. If I ...
ldc's user avatar
  • 221
0 votes
0 answers
207 views

open file specified via environment variable

Environment variables that points to specific location are of common occurrence. $HOME, $XDG_CACHE_HOME, %LOCALAPPDATA% and many more. It is pretty convenient to open files (and directories) just by ...
ivan golotin's user avatar
0 votes
0 answers
460 views

How to set English as the default input method?

For some reason I cannot set english, only british as the input method. I am writing a function to switch language from spanish-postfix to english, but english is not working, only british. I have ...
HenryBwoii's user avatar