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: Sun, 20 Jan 2008 14:24:57 -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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1200857113 19602 80.91.229.12 (20 Jan 2008 19:25:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 20 Jan 2008 19:25:13 +0000 (UTC) Cc: Dan Nicolaescu , emacs-devel@gnu.org To: Thien-Thi Nguyen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 20 20:25:30 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 1JGfnO-0002Rx-6A for ged-emacs-devel@m.gmane.org; Sun, 20 Jan 2008 20:25:30 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGfmy-0002Cd-Qf for ged-emacs-devel@m.gmane.org; Sun, 20 Jan 2008 14:25:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JGfmv-0002BS-Jl for emacs-devel@gnu.org; Sun, 20 Jan 2008 14:25:01 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JGfmt-00028U-MJ for emacs-devel@gnu.org; Sun, 20 Jan 2008 14:25:01 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGfmt-00028J-Hh for emacs-devel@gnu.org; Sun, 20 Jan 2008 14:24:59 -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 1JGfmt-0000PJ-Fj for emacs-devel@gnu.org; Sun, 20 Jan 2008 14:24:59 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ah4FABcvk0fO+J4pUGdsb2JhbACQDAEBJxKbBX4 X-IronPort-AV: E=Sophos;i="4.25,224,1199682000"; d="scan'208";a="12973887" Original-Received: from smtp.pppoe.ca ([65.39.196.238]) by ironport2-out.pppoe.ca with ESMTP; 20 Jan 2008 14:24:57 -0500 Original-Received: from pastel.home ([206.248.158.41]) by smtp.pppoe.ca (Internet Mail Server v1.0) with ESMTP id AUS80457; Sun, 20 Jan 2008 14:24:57 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 5CF177F61; Sun, 20 Jan 2008 14:24:57 -0500 (EST) In-Reply-To: <87sl0tbn1m.fsf@ambire.localdomain> (Thien-Thi Nguyen's message of "Sat, 19 Jan 2008 21:03:33 +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:87116 Archived-At: > (defun vc-process-sentinel (p s) > (let ((previous (process-get p 'vc-previous-sentinel))) > + (setq mode-line-process > + (let ((status (process-status p))) > + (unless (eq 'exit status) > + (format " (%s)" status)))) This can't be right: we have no idea what buffer we're in at this point. > + (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. Also the habit is to use something like ":run" or ":%s". Stefan