From: Alexander Shukaev <haroogan@gmail.com>
To: tomas@tuxteam.de
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: Autogen in Emacs Shell
Date: Fri, 1 May 2015 18:08:38 +0200 [thread overview]
Message-ID: <CAKu-7WxjcUODBd6RQtfJgB+OCVWkOEgrZjUOW_dpUMkqOzAjDg@mail.gmail.com> (raw)
In-Reply-To: <20150501150340.GB30776@tuxteam.de>
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?
next prev parent reply other threads:[~2015-05-01 16:08 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-29 2:36 Autogen in Emacs Shell Alexander Shukaev
2015-04-29 8:31 ` tomas
2015-04-29 15:51 ` Eli Zaretskii
2015-04-30 18:14 ` Alexander Shukaev
2015-04-30 19:26 ` Eli Zaretskii
2015-04-30 19:44 ` Alexander Shukaev
2015-04-30 19:54 ` Eli Zaretskii
2015-05-01 9:26 ` tomas
2015-05-01 14:33 ` Alexander Shukaev
2015-05-01 14:46 ` Alexander Shukaev
2015-05-01 15:03 ` tomas
2015-05-01 16:08 ` Alexander Shukaev [this message]
2015-05-01 17:06 ` Alexander Shukaev
2015-05-01 17:49 ` Eli Zaretskii
2015-05-01 18:35 ` Alexander Shukaev
2015-05-01 18:51 ` Eli Zaretskii
2015-05-01 19:05 ` Alexander Shukaev
2015-05-01 19:07 ` Alexander Shukaev
2015-05-01 19:26 ` Eli Zaretskii
2015-05-01 19:38 ` Eli Zaretskii
2015-05-01 19:46 ` Alexander Shukaev
2015-05-02 6:31 ` Eli Zaretskii
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=CAKu-7WxjcUODBd6RQtfJgB+OCVWkOEgrZjUOW_dpUMkqOzAjDg@mail.gmail.com \
--to=haroogan@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=tomas@tuxteam.de \
/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/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.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.