From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alex Hutcheson Newsgroups: gmane.emacs.bugs Subject: bug#25496: 25.1.91; INSIDE_EMACS env variable is not set in eshell Date: Fri, 20 Jan 2017 17:32:44 -0500 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yes X-Trace: blaine.gmane.org 1484951596 30189 195.159.176.226 (20 Jan 2017 22:33:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 20 Jan 2017 22:33:16 +0000 (UTC) To: 25496@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 20 23:33:11 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cUhk1-0006sH-03 for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Jan 2017 23:33:05 +0100 Original-Received: from localhost ([::1]:57636 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cUhk6-0006MI-1N for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Jan 2017 17:33:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35785) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cUhjz-0006M2-Vd for bug-gnu-emacs@gnu.org; Fri, 20 Jan 2017 17:33:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cUhjy-0008Aj-Ob for bug-gnu-emacs@gnu.org; Fri, 20 Jan 2017 17:33:04 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38523) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cUhjy-0008AS-LM for bug-gnu-emacs@gnu.org; Fri, 20 Jan 2017 17:33:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cUhjy-0007dX-FQ for bug-gnu-emacs@gnu.org; Fri, 20 Jan 2017 17:33:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alex Hutcheson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 Jan 2017 22:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 25496 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.148495157929344 (code B ref -1); Fri, 20 Jan 2017 22:33:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 Jan 2017 22:32:59 +0000 Original-Received: from localhost ([127.0.0.1]:36722 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cUhju-0007dE-VH for submit@debbugs.gnu.org; Fri, 20 Jan 2017 17:32:59 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:44778) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <3DJCCWA0KDQEbmfyivudiftpohpphmf.dpncvh-hov-fnbdthov.psh@flex--alexhutcheson.bounces.google.com>) id 1cUhjt-0007d2-TA for submit@debbugs.gnu.org; Fri, 20 Jan 2017 17:32:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <3DJCCWA0KDQEbmfyivudiftpohpphmf.dpncvh-hov-fnbdthov.psh@flex--alexhutcheson.bounces.google.com>) id 1cUhjn-00082r-DB for submit@debbugs.gnu.org; Fri, 20 Jan 2017 17:32:52 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:35107) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <3DJCCWA0KDQEbmfyivudiftpohpphmf.dpncvh-hov-fnbdthov.psh@flex--alexhutcheson.bounces.google.com>) id 1cUhjn-00082c-9i for submit@debbugs.gnu.org; Fri, 20 Jan 2017 17:32:51 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35748) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <3DJCCWA0KDQEbmfyivudiftpohpphmf.dpncvh-hov-fnbdthov.psh@flex--alexhutcheson.bounces.google.com>) id 1cUhjl-0006Lt-OJ for bug-gnu-emacs@gnu.org; Fri, 20 Jan 2017 17:32:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <3DJCCWA0KDQEbmfyivudiftpohpphmf.dpncvh-hov-fnbdthov.psh@flex--alexhutcheson.bounces.google.com>) id 1cUhjk-00080m-4q for bug-gnu-emacs@gnu.org; Fri, 20 Jan 2017 17:32:49 -0500 Original-Received: from mail-yb0-x24a.google.com ([2607:f8b0:4002:c09::24a]:35711) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <3DJCCWA0KDQEbmfyivudiftpohpphmf.dpncvh-hov-fnbdthov.psh@flex--alexhutcheson.bounces.google.com>) id 1cUhjj-0007zT-Vi for bug-gnu-emacs@gnu.org; Fri, 20 Jan 2017 17:32:48 -0500 Original-Received: by mail-yb0-x24a.google.com with SMTP id 188so733079ybe.2 for ; Fri, 20 Jan 2017 14:32:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:message-id:mime-version:subject:from:to; bh=hvgifvo57gjE7ScKXEUuuEArysBjrMPcBn+NBlG1vhw=; b=pmKEBuIrecbL9ZclsDWONDzk3FgewZFi2ZRSMiMhTph4bBJr9sEdxsqp3CZPYhqLHU VoK545L/49qvnqgf9eZaDQgS1va3rbEfXLN04SNwSnM7J9sVJ15QwI2Y5V3WkcHbhLk9 snWbE6CdvxIJjSzhAWGAm09jrhDOhcGGQq2G+xIcLHAdAN+21ZMLc1WQewT6sXZyMLTQ v04uaRvVzKzmM2K8QsqrBI1m7IZV482oq81iUrfcpnjOzImcZh2yqAlGFGhbiy0M0ztk gUsYbtKswAl/2Nf36eqM1dWFZuVCG28aUxnupYmVOTWmKFngYXma53l/Ly6epvny15Gr iZRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:mime-version:subject:from:to; bh=hvgifvo57gjE7ScKXEUuuEArysBjrMPcBn+NBlG1vhw=; b=jOUqFHmJC95sAlBkzqQod6lPbCAEq5SubkImIfiME3vupqlvfwguCYmdJffj1m8nq+ zwK8useWuvSKY5bpw7mTcS0jbYBTCPN+WsnI/mKBxYDF65a2LNvBqKI5dtf9Mf1hl5x7 2pWE/Nq7RX0ZyICL0oQ3bxB5T6bsxB502JYy3mNZf+JQqR6iJBqrIjZctsSVn9H5ONtd DmBNPWAQ+cOjH60Da/FbO8WdxJs4PhL0FvAZIoDNmQUMkHovPvcQiVs1eGdFLPHOEc1P wiSut78rottGjDA80br3FIhF6iN55Gl+rN9T0CFOvxehq4pUSA33RfqR7tzQ9ynlu5V8 b8Iw== X-Gm-Message-State: AIkVDXIRk3DUKY5ewY9k77t9HKEUNxVPII2lsjyasyXS83ebZ/8d3pPtDVoIvoiR0V3OUDXGbFjmWE1DmATTYVCkaQ9960uFIsZUDvedTvU9MvjaOfryCZKQFfRv+sBiTjIp1nBq1cwjXx1hFYp8Lt64nNXMvL4YR9TaOojU45XYvFWbXUOJuochh51dComgHsW7ZwY8aA== X-Received: by 10.129.124.196 with SMTP id x187mr5375506ywc.139.1484951564933; Fri, 20 Jan 2017 14:32:44 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:128282 Archived-At: The INSIDE_EMACS environmental variable is set for comint processes, including M-x shell and ansi-term. However, it's not set for eshell or for processes launched by eshell. This makes it difficult for scripts to detect whether or not they are being run inside eshell. The INSIDE_EMACS env variable should be set within eshell, or should at least be set for processes launched by eshell. In GNU Emacs 25.1.91.1 (x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars), modified by Debian Windowing system distributor 'The X.Org Foundation', version 11.0.11501000 System Description: Ubuntu 14.04 LTS Configured using: 'configure --build x86_64-linux-gnu --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/google-emacs:/etc/emacs:/usr/local/share/emacs/25.1.91+gg1+1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/25.1.91+gg1+1/site-lisp:/usr/share/emacs/site-lisp --with-crt-dir=/usr/lib/x86_64-linux-gnu --disable-build-details --disable-silent-rules --with-modules GOOGLE_VERSION=25.1.91+gg1+1 --with-x=yes --with-x-toolkit=lucid --with-toolkit-scroll-bars --without-gconf --without-gsettings build_alias=x86_64-linux-gnu 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-fuse-ld=gold,--export-dynamic-symbol=__google_auxv' 'CPPFLAGS=-D_FORTIFY_SOURCE=2 -DGOOGLE_EMACS_DEFINE_AUXV'' Configured features: XAW3D XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS LUCID X11 MODULES Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message dired format-spec rfc822 mml mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu cl-loaddefs pcase cl-lib mail-prsvr mail-utils time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting font-render-setting x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 87104 6318) (symbols 48 19929 0) (miscs 40 51 110) (strings 32 15098 4711) (string-bytes 1 425436) (vectors 16 11832) (vector-slots 8 435700 4672) (floats 8 168 31) (intervals 56 262 0) (buffers 976 19) (heap 1024 12629 768))