From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: CVS Emacs list-buffer-noselect calls set-window-buffer, displays every buffer briefly! Date: Thu, 09 Sep 2004 11:45:01 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <413F3168.8090502@yahoo.com> <18773.217.194.34.123.1094718218.squirrel@wwws.franken.de> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1094744724 6290 80.91.224.253 (9 Sep 2004 15:45:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 9 Sep 2004 15:45:24 +0000 (UTC) Cc: franl@world.std.com, ihs_4664@yahoo.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 09 17:45:12 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C5R6l-0005vT-00 for ; Thu, 09 Sep 2004 17:45:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C5RC5-0006ho-Q0 for ged-emacs-devel@m.gmane.org; Thu, 09 Sep 2004 11:50:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C5RBz-0006hj-KD for emacs-devel@gnu.org; Thu, 09 Sep 2004 11:50:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C5RBz-0006hX-6N for emacs-devel@gnu.org; Thu, 09 Sep 2004 11:50:35 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C5RBz-0006hU-2j for emacs-devel@gnu.org; Thu, 09 Sep 2004 11:50:35 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C5R6b-0007uZ-OH for emacs-devel@gnu.org; Thu, 09 Sep 2004 11:45:01 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1C5R6b-00017g-Cm; Thu, 09 Sep 2004 11:45:01 -0400 Original-To: "Stephan Stahl" In-reply-to: <18773.217.194.34.123.1094718218.squirrel@wwws.franken.de> (stahl@eos.franken.de) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:26933 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26933 Could you please try to verify if this really works? I tried the same thing but i did not get the right results. My testcase was M-x shell, M-x rename-uniquely, M-x shell, exit. Now i have two shell buffers, one running, one not. C-x C-b from the running shell adds ":run" to both buffers in the buffer-list. The same thing from the finished shell adds ":exit [0]" to both. I see why this does not work. It is because decode_mode_spec gets the buffer out of the window. It does not use the current buffer. I think I fixed that now.