From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.emacs.bugs Subject: bug#19812: 24.4; suggest `shell-mode' not interactive Date: Sun, 08 Feb 2015 15:07:39 +1100 Message-ID: <87bnl5qc50.fsf@blah.blah> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1423368855 27721 80.91.229.3 (8 Feb 2015 04:14:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 8 Feb 2015 04:14:15 +0000 (UTC) To: 19812@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 08 05:14:11 2015 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 1YKJG7-0002ZX-5y for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Feb 2015 05:14:11 +0100 Original-Received: from localhost ([::1]:55495 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKJG6-0005LG-3q for geb-bug-gnu-emacs@m.gmane.org; Sat, 07 Feb 2015 23:14:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47949) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKJG2-0005Kj-3O for bug-gnu-emacs@gnu.org; Sat, 07 Feb 2015 23:14:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YKJFy-0008Lk-Te for bug-gnu-emacs@gnu.org; Sat, 07 Feb 2015 23:14:06 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45786) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKJFy-0008LF-RE for bug-gnu-emacs@gnu.org; Sat, 07 Feb 2015 23:14:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YKJFy-0007lF-Jd for bug-gnu-emacs@gnu.org; Sat, 07 Feb 2015 23:14:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Kevin Ryde Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 08 Feb 2015 04:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 19812 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.142336880329747 (code B ref -1); Sun, 08 Feb 2015 04:14:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Feb 2015 04:13:23 +0000 Original-Received: from localhost ([127.0.0.1]:37026 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKJFK-0007jj-Va for submit@debbugs.gnu.org; Sat, 07 Feb 2015 23:13:23 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:46196) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKJFI-0007jT-LK for submit@debbugs.gnu.org; Sat, 07 Feb 2015 23:13:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YKJFC-0008Ij-5m for submit@debbugs.gnu.org; Sat, 07 Feb 2015 23:13:15 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:39645) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKJFC-0008Id-39 for submit@debbugs.gnu.org; Sat, 07 Feb 2015 23:13:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47916) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKJFB-0005Fv-2S for bug-gnu-emacs@gnu.org; Sat, 07 Feb 2015 23:13:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YKJF7-0008IP-S4 for bug-gnu-emacs@gnu.org; Sat, 07 Feb 2015 23:13:13 -0500 Original-Received: from nm48.bullet.mail.bf1.yahoo.com ([216.109.114.64]:37684) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKJF7-0008IJ-OJ for bug-gnu-emacs@gnu.org; Sat, 07 Feb 2015 23:13:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.au; s=s2048; t=1423368789; bh=bBAvACeLxcr47O6W/0Q0/5XWrEeKIpmlTPPXTgZZxnE=; h=From:To:Subject:Date:From:Subject; b=Q3LfOZRwmpG46ddqFC9cPaKGZqez72OTvykBArHigavw1hm231UtqIJ2GRZmtdNgMR3W0OQ8564H7phWcSNbjG3OuGnuj1lpf1k6EQIbmwkH+dAOME69MFLnIF/RtydwmqtYeBXW8k9bqCXcRW1uWBde3qzlpY3+ls08dgtrwp1mJLlzQDnasphhDCpIHN++6jcoaD8zQbKdGqyKOEXaK1thxuoFN/7645GuBOhbmZH/RfIiaJoLW+Dc0RB7n5LPkN285S4l2roYSKs3TMg/EdPuXAeek0TXomxAYCvN6ToEowsHVtOk+yDc0RTFXs7rwc+ymR0O3U5ozDBEm6IIzQ== Original-Received: from [98.139.215.141] by nm48.bullet.mail.bf1.yahoo.com with NNFMP; 08 Feb 2015 04:13:09 -0000 Original-Received: from [98.139.213.13] by tm12.bullet.mail.bf1.yahoo.com with NNFMP; 08 Feb 2015 04:13:08 -0000 Original-Received: from [127.0.0.1] by smtp113.mail.bf1.yahoo.com with NNFMP; 08 Feb 2015 04:13:08 -0000 X-Yahoo-Newman-Id: 972327.18048.bm@smtp113.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: S2WPe9AVM1mCaxEPz6L2WVkd37G8RVltdYdhC5dlTW2nWKw nve3NAwFCtP2rgdPruYvslKtOIwK.CORb3DHeDIAN..k9JlbS73BBkHJoZp1 u9rGqsgtqMabzPdEktpP8jBYlXRH.7VJ1cdpk2yuG0mzqSqVHYnyvgRJjMlI swAphygaCZIAicZ7CkRNg_xfogG_P481ZPjOqDjNCqKVE363hCFVXTPqqJ0k 5e99eQleDXVScvx.5eZL0sXO0MYXWCAn7aYc5evf5Zsvau5vvX44TT3nZ0d5 k2MlXTN5.ng5kuV4Xldmon4HK0sIVniGb1eUP3pQiAg2qqY.Bo2y8.czXu_n XbiTpbcagYQ_3oR.F0TPvaxGlaZffzUCglw81KQXDxki7sDc7EXldgsXfQI1 sDniD93ra8XI3SRHwnyd8h9K8QUsbWZ45iig6Z1TGOeAdiTo3cmIbHxVgQzW 0U9r8uMafDMgreXa30iVdvGPwnVM0paRINs8C3wN37XPRv2bp3L0f5RC6sFe Pyqk0z9raQmptAWnQXF3KECOJXy8XfBnhmcNX8gW6hlErJznAR6vAC583PYV y_w7hCwk89RCUt2Ln.A-- X-Yahoo-SMTP: U8NKAo6swBAxDIMUovTitGGHebxdYQBZ5A-- User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:99156 Archived-At: Severity: wishlist The `shell-mode' function is interactive, but I think perhaps it should not be since it is not designed for use as M-x shell-mode in an arbitrary buffer, but only after the `shell' function makes various setups. I struck this when a brain fade confused me between shell-command, shell-mode and shell and I did M-x shell-mode in a file buffer and nearly made a big mess. The problem is only seen when shell.el has been loaded (for any reason) since shell-mode is not autoloaded. Similar could apply to other special modes, maybe even to most modes derived from `special-mode'. In GNU Emacs 24.4.1 (i586-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2014-12-20 on brahms, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11602901 Configured using: `configure --build i586-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/emacs24:/etc/emacs:/usr/local/share/emacs/24.4/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.4/site-lisp:/usr/share/emacs/site-lisp --build i586-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/emacs24:/etc/emacs:/usr/local/share/emacs/24.4/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.4/site-lisp:/usr/share/emacs/site-lisp --with-x=yes --with-x-toolkit=lucid --with-toolkit-scroll-bars --without-gconf --without-gsettings 'CFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-z,relro'