From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#11890: 24.1; (wrong-type-argument processp nil) in `shell-mode' Date: Mon, 9 Jul 2012 09:04:45 -0700 Message-ID: <07B28F5ABD0546EC8A39BD037E08FB76@us.oracle.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1341849959 28083 80.91.229.3 (9 Jul 2012 16:05:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 9 Jul 2012 16:05:59 +0000 (UTC) Cc: 11890@debbugs.gnu.org To: "'Andreas Schwab'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 09 18:05:58 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SoGTD-0003hA-My for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Jul 2012 18:05:55 +0200 Original-Received: from localhost ([::1]:35568 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoGTC-00048x-Nm for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Jul 2012 12:05:54 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45976) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoGT9-000487-9x for bug-gnu-emacs@gnu.org; Mon, 09 Jul 2012 12:05:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SoGT4-0008VS-Cv for bug-gnu-emacs@gnu.org; Mon, 09 Jul 2012 12:05:50 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48771) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoGT4-0008VJ-9Y for bug-gnu-emacs@gnu.org; Mon, 09 Jul 2012 12:05:46 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SoGY9-0005sn-Km for bug-gnu-emacs@gnu.org; Mon, 09 Jul 2012 12:11:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 09 Jul 2012 16:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11890 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11890-submit@debbugs.gnu.org id=B11890.134185020722549 (code B ref 11890); Mon, 09 Jul 2012 16:11:01 +0000 Original-Received: (at 11890) by debbugs.gnu.org; 9 Jul 2012 16:10:07 +0000 Original-Received: from localhost ([127.0.0.1]:58317 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SoGXG-0005rd-Ma for submit@debbugs.gnu.org; Mon, 09 Jul 2012 12:10:07 -0400 Original-Received: from rcsinet15.oracle.com ([148.87.113.117]:51151) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SoGXE-0005rV-Nd for 11890@debbugs.gnu.org; Mon, 09 Jul 2012 12:10:05 -0400 Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by rcsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q69G4lHs016160 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 9 Jul 2012 16:04:48 GMT Original-Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q69G4kkI010612 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 9 Jul 2012 16:04:47 GMT Original-Received: from abhmt117.oracle.com (abhmt117.oracle.com [141.146.116.69]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q69G4khq030647; Mon, 9 Jul 2012 11:04:46 -0500 Original-Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 09 Jul 2012 09:04:46 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: Ac1d6udsSjN+uP0LSzWs2Gx/u3MI5QAACvdQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:61761 Archived-At: > If you want sh-mode, then use it. shell-mode isn't it. Fine, but OT. This is bug-gnu-emacs, not help-gnu-emacs. That is not the point of the bug report, which states clearly "Yes, I imagine that that is not an expected user interaction.". What I meant to type was `M-x shell'. FYI - Prior to Emacs 24, until you loaded some shell-related library, command `shell-mode' was simply not recognized. But once you did load it, if you used `M-x shell-mode' in an inappropriate context (e.g. buffer foo.el), you got the same error. If `shell-mode' is a command that is intended only for certain contexts then it should control/manage that. It should issue a proper error message when the context is inappropriate. It should not simply barf with a wrong-type arg error. That is the point of the bug report, as was stated clearly at the outset: "Still, the error message shown does not seem appropriate (low-level)."