GNU bug report logs - #11890
24.1; (wrong-type-argument processp nil) in `shell-mode'

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Mon, 9 Jul 2012 15:43:02 UTC

Severity: wishlist

Tags: unreproducible

Found in version 24.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 11890 <at> debbugs.gnu.org (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Andreas Schwab'" <schwab <at> linux-m68k.org>
Cc: 11890 <at> debbugs.gnu.org
Subject: RE: bug#11890: 24.1;
	(wrong-type-argument processp nil) in `shell-mode'
Date: Mon, 9 Jul 2012 09:04:45 -0700
> 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)."





This bug report was last modified 9 years and 108 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.