From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sebastian Tennant Newsgroups: gmane.emacs.bugs Subject: bug#1973: Bug in simple.el (Emacs version 22.2.1) Date: Thu, 22 Jan 2009 18:27:31 +0000 Message-ID: References: <63k9n3fx.fsf@vps203.linuxvps.org> Reply-To: Sebastian Tennant , 1973@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1232649830 16929 80.91.229.12 (22 Jan 2009 18:43:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 Jan 2009 18:43:50 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 22 19:45:03 2009 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 1LQ4Xw-0006sd-3a for geb-bug-gnu-emacs@m.gmane.org; Thu, 22 Jan 2009 19:44:56 +0100 Original-Received: from localhost ([127.0.0.1]:39752 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LQ4We-0002qK-R9 for geb-bug-gnu-emacs@m.gmane.org; Thu, 22 Jan 2009 13:43:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LQ4Wb-0002qF-2r for bug-gnu-emacs@gnu.org; Thu, 22 Jan 2009 13:43:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LQ4WZ-0002px-ID for bug-gnu-emacs@gnu.org; Thu, 22 Jan 2009 13:43:32 -0500 Original-Received: from [199.232.76.173] (port=55135 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LQ4WZ-0002pu-CP for bug-gnu-emacs@gnu.org; Thu, 22 Jan 2009 13:43:31 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:48648) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LQ4WY-0000uP-T4 for bug-gnu-emacs@gnu.org; Thu, 22 Jan 2009 13:43:31 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0MIhSb7001735; Thu, 22 Jan 2009 10:43:28 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n0MIZ3C8031903; Thu, 22 Jan 2009 10:35:03 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Sebastian Tennant Original-Sender: news Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 22 Jan 2009 18:35:02 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 1973 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123264876930614 (code B ref -1); Thu, 22 Jan 2009 18:35:02 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 22 Jan 2009 18:26:09 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0MIQ6AS030608 for ; Thu, 22 Jan 2009 10:26:07 -0800 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LQ4Fh-00041p-E5 for bug-gnu-emacs@gnu.org; Thu, 22 Jan 2009 13:26:05 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LQ4Fg-00041C-Vo for bug-gnu-emacs@gnu.org; Thu, 22 Jan 2009 13:26:05 -0500 Original-Received: from [199.232.76.173] (port=34939 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LQ4Fg-000411-LV for bug-gnu-emacs@gnu.org; Thu, 22 Jan 2009 13:26:04 -0500 Original-Received: from main.gmane.org ([80.91.229.2]:48815 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LQ4Fg-0007Gh-3l for bug-gnu-emacs@gnu.org; Thu, 22 Jan 2009 13:26:04 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LQ4FX-0008Vd-Mm for bug-gnu-emacs@gnu.org; Thu, 22 Jan 2009 18:25:55 +0000 Original-Received: from vps203.linuxvps.org ([91.186.7.203]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 22 Jan 2009 18:25:55 +0000 Original-Received: from sebyte by vps203.linuxvps.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 22 Jan 2009 18:25:55 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 34 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: vps203.linuxvps.org User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:z1VV6MSTgc1wHRzc0n1gVpIATh8= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 22 Jan 2009 13:43:32 -0500 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:24390 Archived-At: Quoth Sebastian Tennant : > Actually, this updated patch (attached) is what's required to fix the > problem here. > > It explicitly puts the buffer in comint-mode. (My last patch neglected > to do this). Correction. The patch does not requre a call to comint-mode. The problem is stranger still. With the first patch I provided (no comint-mode call) applied: $ emacs -Q M-! apt-get update & =| ^Ms abound M-x load-library RET simple.el RET => t M-! apt-get update & =| no ^Ms (in Shell mode) I removed simple.elc before performing the above test so that's not the problem. With the unpatched simple.el in place, loading it manually a second time does not fix the problem so my patch (with or without the call to comint-mode) is still required. Sebastian -- Emacs' AlsaPlayer - Music Without Jolts Lightweight, full-featured and mindful of your idyllic happiness. http://home.gna.org/eap