From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: Introducing 'unrecognized and 'ignored Date: Sun, 06 Jan 2008 02:37:18 -0800 Message-ID: <200801061037.m06AbIRD004966@oogie-boogie.ics.uci.edu> 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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199616047 15267 80.91.229.12 (6 Jan 2008 10:40:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Jan 2008 10:40:47 +0000 (UTC) Cc: harsanyi@mac.com, emacs-devel@gnu.org, rms@gnu.org, monnier@iro.umontreal.ca To: esr@thyrsus.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 06 11:41:07 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 1JBSwA-0002Pk-TE for ged-emacs-devel@m.gmane.org; Sun, 06 Jan 2008 11:41:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBSvl-0007tq-Lu for ged-emacs-devel@m.gmane.org; Sun, 06 Jan 2008 05:40:37 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JBSvZ-0007sV-7c for emacs-devel@gnu.org; Sun, 06 Jan 2008 05:40:25 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JBSvS-0007mh-3J for emacs-devel@gnu.org; Sun, 06 Jan 2008 05:40:24 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBSvR-0007mJ-PH for emacs-devel@gnu.org; Sun, 06 Jan 2008 05:40:17 -0500 Original-Received: from oogie-boogie.ics.uci.edu ([128.195.1.41]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JBSv8-0005vN-9K; Sun, 06 Jan 2008 05:39:59 -0500 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by oogie-boogie.ics.uci.edu (8.13.6/8.13.6) with ESMTP id m06AbIRD004966; Sun, 6 Jan 2008 02:37:18 -0800 (PST) In-Reply-To: <20080105143415.GG30869@thyrsus.com> (Eric S. Raymond's message of "Sat, 5 Jan 2008 09:34:15 -0500") Original-Lines: 41 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-kernel: by monty-python.gnu.org: Solaris 9 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:86306 Archived-At: "Eric S. Raymond" writes: > Dan Nicolaescu : > > > Are custom displays needed? What would you want to use them for? > > > > I believe so. One use for displaying no-file related information: > > repository name, branch name, the command that is being executed (all > > done by PCL-CVS). > > > > In the future we might want to add some widgets to select the branch to > > display. Or to the repository to connect to. Maybe display a short > > version of the logs for the last commits in the repository for the files > > that need merging. > > Dan, there are parts of the VC design about which I feel some > territoriality, but this is absolutely not one of them. The > performance of the VC-Dired code is not where I want it to be, your > arguments seem sound, and you seem well motivated to do a good job. > If you think you can rip VC-Dired out and replace it with a better and > faster ewoc-based display layer, you may do so with my blessing and > support. > > I say this partly because the code structure should make this experiment > easy to back out if it fails. But I'm not expecting it to. I checked in some code to do that. I whipped it out quickly, so it's not complete in any way. It provides a M-x vc-status command which is the replacement for vc-dired. It can only be used with Mercurial for now. You can mark/unmark files, and vc-deduce-fileset knows about them. So you can run C-x v commands in the *vc status* buffer and they will take into consideration the selected files. (I only tested vc-diff). As you see the code is very simple. Adding faces, more key bindings and more fancy display should be straight forward. Now, I cannot lead this development, I don't have the time to do it at the moment. But I am happy to help further.