From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Introducing 'unrecognized and 'ignored Date: Mon, 21 Jan 2008 10:18:02 -0500 Message-ID: References: <17EA38DF-BCC1-4565-8510-5DD10DD667E3@mac.com> <20071229114551.GD9794@thyrsus.com> <20080102021907.GA15494@thyrsus.com> <200801020445.m024jWU2008538@oogie-boogie.ics.uci.edu> <200801031805.m03I5SBf022748@oogie-boogie.ics.uci.edu> <200801050901.m0591mQj011970@oogie-boogie.ics.uci.edu> <20080105143415.GG30869@thyrsus.com> <200801061037.m06AbIRD004966@oogie-boogie.ics.uci.edu> <200801182346.m0INkiEg022130@sallyv1.ics.uci.edu> <200801191705.m0JH5WOU026943@sallyv1.ics.uci.edu> <87sl0tbn1m.fsf@ambire.localdomain> <87myr0qlyp.fsf@ambire.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1200928728 25861 80.91.229.12 (21 Jan 2008 15:18:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Jan 2008 15:18:48 +0000 (UTC) Cc: emacs-devel@gnu.org To: Thien-Thi Nguyen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 21 16:19:06 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JGyQ8-0000sH-Lk for ged-emacs-devel@m.gmane.org; Mon, 21 Jan 2008 16:18:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGyPi-00013K-UG for ged-emacs-devel@m.gmane.org; Mon, 21 Jan 2008 10:18:18 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JGyPW-0000rm-PM for emacs-devel@gnu.org; Mon, 21 Jan 2008 10:18:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JGyPU-0000nh-Lp for emacs-devel@gnu.org; Mon, 21 Jan 2008 10:18:06 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGyPU-0000nT-Fe for emacs-devel@gnu.org; Mon, 21 Jan 2008 10:18:04 -0500 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JGyPU-0002Wy-C2 for emacs-devel@gnu.org; Mon, 21 Jan 2008 10:18:04 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAANGlEfO+IHadGdsb2JhbACQGgEwmjp+ X-IronPort-AV: E=Sophos;i="4.25,227,1199682000"; d="scan'208";a="12995467" Original-Received: from smtp.pppoe.ca ([65.39.196.238]) by ironport2-out.pppoe.ca with ESMTP; 21 Jan 2008 10:18:03 -0500 Original-Received: from pastel.home ([206.248.129.218]) by smtp.pppoe.ca (Internet Mail Server v1.0) with ESMTP id BQN18703; Mon, 21 Jan 2008 10:18:03 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id A1CBD7F61; Mon, 21 Jan 2008 10:18:02 -0500 (EST) In-Reply-To: <87myr0qlyp.fsf@ambire.localdomain> (Thien-Thi Nguyen's message of "Sun, 20 Jan 2008 21:30:06 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:87213 Archived-At: > This can't be right: we have no idea what buffer we're in at this point. > you're right. i have just installed a `with-current-buffer' wrapper. >> + (setq mode-line-process " (background)") > The problem with this is that it's not necessarily clear that we're > changing mode-line-process in the right buffer either, here. > PROC is taken from (current-buffer). is that not reliable? It's reliable in that we know which buffer it is, but that doesn't mean it's the right buffer. Isn't it often a hidden buffer like *vc* rather than the vc-status buffer itself? Stefan