[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Autogen in Emacs Shell
From: |
Alexander Shukaev |
Subject: |
Re: Autogen in Emacs Shell |
Date: |
Fri, 1 May 2015 18:08:38 +0200 |
So I found out that the "/etc/post-install/05-home-dir.post" script changes
to `HOME' depending on `CHERE_INVOKING' (sick stuff I must say). Setting
(setenv "CHERE_INVOKING" "1")
solves the problem with unintentional change to `HOME' when "--login" is
present. Now I can finally invoke 'bash' with
(defun bash
(&optional buffer)
(interactive)
(let ((explicit-shell-file-name "bash")
(explicit-bash-args '("--noediting" "-l" "-i")))
(setq buffer (my-call shell buffer)))
(with-current-buffer buffer
(when (equal (buffer-name) "*shell*")
(rename-buffer "*bash*" t))))
So far so good. Now onto the original problem since even with "-l" those
issues with 'bsdtar' and inability to find 'automake' by 'autogen.sh' still
remain. I'm currently looking at the diff between the two `set' commands
from ConEmu and Emacs. There are of course quite some differences, I don't
want to post all of them not to overwhelm you. But here are probably the
most interesting ones:
ConEmu:
LANG=en_US.UTF-8
PKG_CONFIG_PATH=
PROMPT=
SESSIONNAME=
SHELL=/usr/bin/bash
Emacs:
LANG=ENU
PKG_CONFIG_PATH='C:\Tools\x64\MSYS2\mingw64\lib\pkgconfig;'
PROMPT='$P$G'
SESSIONNAME=Console
SHELL=C:/Tools/x64/MSYS2/mingw64/libexec/emacs/25.0.50/x86_64-w64-mingw32/cmdproxy.exe
What do you think guys?
- Re: Autogen in Emacs Shell, tomas, 2015/05/01
- Re: Autogen in Emacs Shell, Alexander Shukaev, 2015/05/01
- Re: Autogen in Emacs Shell, Alexander Shukaev, 2015/05/01
- Re: Autogen in Emacs Shell, tomas, 2015/05/01
- Re: Autogen in Emacs Shell,
Alexander Shukaev <=
- Re: Autogen in Emacs Shell, Alexander Shukaev, 2015/05/01
- Re: Autogen in Emacs Shell, Eli Zaretskii, 2015/05/01
- Re: Autogen in Emacs Shell, Alexander Shukaev, 2015/05/01
- Re: Autogen in Emacs Shell, Eli Zaretskii, 2015/05/01
- Re: Autogen in Emacs Shell, Alexander Shukaev, 2015/05/01
- Re: Autogen in Emacs Shell, Alexander Shukaev, 2015/05/01
- Re: Autogen in Emacs Shell, Eli Zaretskii, 2015/05/01
- Re: Autogen in Emacs Shell, Eli Zaretskii, 2015/05/01
- Re: Autogen in Emacs Shell, Alexander Shukaev, 2015/05/01
- Re: Autogen in Emacs Shell, Eli Zaretskii, 2015/05/02