From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Boyd Adamson" Newsgroups: gmane.emacs.bugs Subject: Documentation error re INSIDE_EMACS Date: Wed, 10 Oct 2007 08:40:38 +1000 Message-ID: <2d0f097e0710091540p50a90bdbwa662ff9aa1aac392@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1192015002 17384 80.91.229.12 (10 Oct 2007 11:16:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 10 Oct 2007 11:16:42 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 10 13:16:40 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IfZYM-0006TM-Lg for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Oct 2007 13:16:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IfZYG-0007on-II for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Oct 2007 07:16:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IfNkq-00017Y-Nu for bug-gnu-emacs@gnu.org; Tue, 09 Oct 2007 18:40:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IfNkp-00016b-W8 for bug-gnu-emacs@gnu.org; Tue, 09 Oct 2007 18:40:44 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IfNkp-00016F-Od for bug-gnu-emacs@gnu.org; Tue, 09 Oct 2007 18:40:43 -0400 Original-Received: from wa-out-1112.google.com ([209.85.146.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IfNkp-0006rR-CU for bug-gnu-emacs@gnu.org; Tue, 09 Oct 2007 18:40:43 -0400 Original-Received: by wa-out-1112.google.com with SMTP id k34so17730wah for ; Tue, 09 Oct 2007 15:40:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; bh=6090njuPExyUB9PkzADtWBsgX3J93LAGN/xno+zcE3A=; b=F0QITfnytNryLmp7CLEJMp7luuBwgeCeMmnVmgdGUhN/DvT5B53OGF9FaVgwWE6ZxdZCOjTJ1PW8oMqZW56/eanYExvjLu7VgCQHRpDtpNJCqMvHnLkkY2Lc9jxZlTqlzDYhFCnWnKzUs4OZqXdh9DsPnfvinfZH1LNWs5p0Qeo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=rpc9PwTeiBsObidZ7CeeLGHzlmC6z79bz+m3443rs/RQ/kdJGoElpzFzd6SLkAP2VC3W7NI0pBPT7r9Sq28OhOZsWKD1NwbhYarRp5LlQd1czKpjTG8yPoNjpSLpMnK4X1ocQp1S64PSnwo6sv5drLwSPDkJ4O2dJl91H4hlCtA= Original-Received: by 10.114.94.1 with SMTP id r1mr18772wab.1191969638567; Tue, 09 Oct 2007 15:40:38 -0700 (PDT) Original-Received: by 10.114.234.5 with HTTP; Tue, 9 Oct 2007 15:40:38 -0700 (PDT) Content-Disposition: inline X-Google-Sender-Auth: 0c63b4f3bdb8976b X-Detected-Kernel: Linux 2.6 (newer, 2) X-Mailman-Approved-At: Wed, 10 Oct 2007 07:16:31 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16716 Archived-At: There is a mismatch between the code and the documentation in relation to INSIDE_EMACS in the inferior shell. doc/emacs/misc.texi : ---- @cindex @env{INSIDE_EMACS} environment variable Emacs sets the envitonment variable @env{INSIDE_EMACS} to @code{t} in the subshell. Programs can check this variable to determine whether they are running inside an Emacs subshell. ---- In fact, lisp/comint.el : ---- (list (format "INSIDE_EMACS=%s,comint" emacs-version)) ---- Also, the paragraph in the documentation above has a typo ("envitonment"). Boyd