From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Eric S. Raymond" Newsgroups: gmane.emacs.devel Subject: Introducing 'unrecognized and 'ignored Date: Fri, 28 Dec 2007 12:45:12 -0500 (EST) Message-ID: <20071228174512.66834830BC9@snark.thyrsus.com> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1198863926 16424 80.91.229.12 (28 Dec 2007 17:45:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Dec 2007 17:45:26 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 28 18:45:40 2007 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 1J8JH7-00086V-VA for ged-emacs-devel@m.gmane.org; Fri, 28 Dec 2007 18:45:38 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J8JGm-0002O4-Oy for ged-emacs-devel@m.gmane.org; Fri, 28 Dec 2007 12:45:16 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J8JGj-0002NE-0n for emacs-devel@gnu.org; Fri, 28 Dec 2007 12:45:13 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J8JGh-0002Lv-45 for emacs-devel@gnu.org; Fri, 28 Dec 2007 12:45:12 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J8JGg-0002Ln-TZ for emacs-devel@gnu.org; Fri, 28 Dec 2007 12:45:10 -0500 Original-Received: from static-71-162-243-5.phlapa.fios.verizon.net ([71.162.243.5] helo=snark.thyrsus.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J8JGg-0002eG-LX for emacs-devel@gnu.org; Fri, 28 Dec 2007 12:45:10 -0500 Original-Received: by snark.thyrsus.com (Postfix, from userid 23) id 66834830BC9; Fri, 28 Dec 2007 12:45:12 -0500 (EST) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:85553 Archived-At: I've spent the last couple of hours looking at this issue. A reminder: the payoff for getting it right would be another significant speedup in (vc-dired-hook), which would translate to a faster C-x v d display. Remarkably, it looks as if the code does not actually depend in any significant way on the nil return from (vc-state file) meaning that FILE is unregistered. Tests that might have used this method use vc-backend instead. So introducing an 'unregistered state shouldn't actually break anything. Alex Harsanyi: A cvs-ignorable-file-p would actually be useful, if you're still interested. Under later systems it's faster to get this by doing a bit of estra parsing of rge status report. -- Eric S. Raymond The kind of charity you can force out of people nourishes about as much as the kind of love you can buy --- and spreads even nastier diseases. 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: Fri, 28 Dec 2007 15:01:25 -0800 Message-ID: <200712282301.lBSN1SBg007890@oogie-boogie.ics.uci.edu> References: <20071228174512.66834830BC9@snark.thyrsus.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1198883004 5693 80.91.229.12 (28 Dec 2007 23:03:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Dec 2007 23:03:24 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Eric S. Raymond" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 29 00:03:37 2007 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 1J8OEm-0005f1-64 for ged-emacs-devel@m.gmane.org; Sat, 29 Dec 2007 00:03:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J8OEQ-0006So-Q6 for ged-emacs-devel@m.gmane.org; Fri, 28 Dec 2007 18:03:10 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J8OEN-0006RD-Sd for emacs-devel@gnu.org; Fri, 28 Dec 2007 18:03:07 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J8OEM-0006Ne-75 for emacs-devel@gnu.org; Fri, 28 Dec 2007 18:03:07 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J8OEM-0006NT-2g for emacs-devel@gnu.org; Fri, 28 Dec 2007 18:03:06 -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 1J8OEL-00030M-Ly for emacs-devel@gnu.org; Fri, 28 Dec 2007 18:03:05 -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 lBSN1SBg007890; Fri, 28 Dec 2007 15:01:28 -0800 (PST) In-Reply-To: <20071228174512.66834830BC9@snark.thyrsus.com> (Eric S. Raymond's message of "Fri, 28 Dec 2007 12:45:12 -0500 (EST)") Original-Lines: 17 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:85570 Archived-At: "Eric S. Raymond" writes: > I've spent the last couple of hours looking at this issue. > A reminder: the payoff for getting it right would be another > significant speedup in (vc-dired-hook), which would translate to > a faster C-x v d display. Thanks for dealing with this! > Remarkably, it looks as if the code does not actually depend > in any significant way on the nil return from (vc-state file) meaning > that FILE is unregistered. Tests that might have used this method > use vc-backend instead. So introducing an 'unregistered state > shouldn't actually break anything. vc-hg-registered depended on vc-hg-state returning nil for unregistered and ignored files. I fixed it. From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alexandru Harsanyi Newsgroups: gmane.emacs.devel Subject: Re: Introducing 'unrecognized and 'ignored Date: Sat, 29 Dec 2007 11:48:58 +0900 Message-ID: <17EA38DF-BCC1-4565-8510-5DD10DD667E3@mac.com> References: <20071228174512.66834830BC9@snark.thyrsus.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1198896554 1729 80.91.229.12 (29 Dec 2007 02:49:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Dec 2007 02:49:14 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eric S. Raymond Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 29 03:49:27 2007 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 1J8RlN-0005dh-Py for ged-emacs-devel@m.gmane.org; Sat, 29 Dec 2007 03:49:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J8Rl2-0006nl-JG for ged-emacs-devel@m.gmane.org; Fri, 28 Dec 2007 21:49:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J8Rky-0006lD-GB for emacs-devel@gnu.org; Fri, 28 Dec 2007 21:49:00 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J8Rkx-0006jG-Gk for emacs-devel@gnu.org; Fri, 28 Dec 2007 21:48:59 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J8Rkw-0006ie-W1 for emacs-devel@gnu.org; Fri, 28 Dec 2007 21:48:59 -0500 Original-Received: from hosted06.westnet.com.au ([203.10.1.221]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J8Rkw-0005XD-9M for emacs-devel@gnu.org; Fri, 28 Dec 2007 21:48:58 -0500 Original-Received: from hosted06.westnet.com.au (hosted06.westnet.com.au [127.0.0.1]) by hosted06.westnet.com.au (Postfix) with SMTP id 721092DFEC0; Sat, 29 Dec 2007 11:48:54 +0900 (WST) Original-Received: from [10.0.1.4] (dsl-58-7-169-97.wa.westnet.com.au [58.7.169.97]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by hosted06.westnet.com.au (Postfix) with ESMTP id EDB4C2DF9F6; Sat, 29 Dec 2007 11:48:52 +0900 (WST) In-Reply-To: <20071228174512.66834830BC9@snark.thyrsus.com> X-Mailer: Apple Mail (2.753) X-PMX-Branch: TNG-Outgoing X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:85582 Archived-At: On 29 Dec 2007, at 2:45 AM, Eric S. Raymond wrote: > I've spent the last couple of hours looking at this issue. > A reminder: the payoff for getting it right would be another > significant speedup in (vc-dired-hook), which would translate to > a faster C-x v d display. > > Remarkably, it looks as if the code does not actually depend > in any significant way on the nil return from (vc-state file) meaning > that FILE is unregistered. Tests that might have used this method > use vc-backend instead. So introducing an 'unregistered state > shouldn't actually break anything. > > Alex Harsanyi: A cvs-ignorable-file-p would actually be useful, if > you're still interested. Under later systems it's faster to get this > by doing a bit of estra parsing of rge status report. > I had a look at the problem last night and wrote the code to load a cvsignore file and produce a regexp to match the ignored files, however the whole mechanism required by `vc-BACKEND-ignorable-file-p' is quite tricky to implement corectly (in a way that both Emacs and the backend agree 100% on what files are ignored). Here are two of the problems I found when I looked at an implementation for CVS: * CVS will ignore a file only if it is unregistered. For example .o files are ignored from a CVS status listing, but if an .o file is registered than that file will show up in the listing. This requires checking whether a file is registered or not, a thing which we try to avoid. * There's a 'per-repository' cvsignore file at $CVSROOT/CVSROOT/ cvsignore which Emacs cannot access directly for remote repositories. With extended vc-state states I don't think there is a need for `vc- ignorable-file-p' at all: `vc-BACKEND-dir-state' should set the state for each registered file and for files it can register. `vc- dired-hook' can than simply look for the vc-state property and if it is missing it can assume that the file is ignored. Best Regards, Alex. From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Eric S. Raymond" Newsgroups: gmane.emacs.devel Subject: Re: Introducing 'unrecognized and 'ignored Date: Sat, 29 Dec 2007 06:45:51 -0500 Organization: Eric Conspiracy Secret Labs Message-ID: <20071229114551.GD9794@thyrsus.com> References: <20071228174512.66834830BC9@snark.thyrsus.com> <17EA38DF-BCC1-4565-8510-5DD10DD667E3@mac.com> Reply-To: esr@thyrsus.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1198928773 5102 80.91.229.12 (29 Dec 2007 11:46:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Dec 2007 11:46:13 +0000 (UTC) Cc: "Eric S. Raymond" , emacs-devel@gnu.org To: Alexandru Harsanyi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 29 12:46:28 2007 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 1J8a95-0001gR-Mo for ged-emacs-devel@m.gmane.org; Sat, 29 Dec 2007 12:46:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J8a8k-0008RB-Fa for ged-emacs-devel@m.gmane.org; Sat, 29 Dec 2007 06:46:06 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J8a8g-0008R3-9B for emacs-devel@gnu.org; Sat, 29 Dec 2007 06:46:02 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J8a8d-0008Qr-SM for emacs-devel@gnu.org; Sat, 29 Dec 2007 06:46:01 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J8a8d-0008Qo-M9 for emacs-devel@gnu.org; Sat, 29 Dec 2007 06:45:59 -0500 Original-Received: from static-71-162-243-5.phlapa.fios.verizon.net ([71.162.243.5] helo=snark.thyrsus.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J8a8d-00011s-8q for emacs-devel@gnu.org; Sat, 29 Dec 2007 06:45:59 -0500 Original-Received: by snark.thyrsus.com (Postfix, from userid 23) id 630D8830B99; Sat, 29 Dec 2007 06:45:51 -0500 (EST) Content-Disposition: inline In-Reply-To: <17EA38DF-BCC1-4565-8510-5DD10DD667E3@mac.com> X-Eric-Conspiracy: There is no conspiracy User-Agent: Mutt/1.5.15+20070412 (2007-04-11) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:85599 Archived-At: Alexandru Harsanyi : > I had a look at the problem last night and wrote the code to load a > cvsignore file and produce a regexp to match the ignored files, however the > whole mechanism required by `vc-BACKEND-ignorable-file-p' is quite tricky > to implement corectly (in a way that both Emacs and the backend agree 100% > on what files are ignored). Here are two of the problems I found when I > looked at an implementation for CVS: > > * CVS will ignore a file only if it is unregistered. For example .o files > are ignored from a CVS status listing, but if an .o file is registered than > that file will show up in the listing. That is actually sensible behavior. From CVS, surprisingly so :-) > This requires checking whether a > file is registered or not, a thing which we try to avoid. Not necessarily. See below. > * There's a 'per-repository' cvsignore file at $CVSROOT/CVSROOT/cvsignore > which Emacs cannot access directly for remote repositories. That, on the other hand, is kind of a showstopper. > With extended vc-state states I don't think there is a need for > `vc-ignorable-file-p' at all: `vc-BACKEND-dir-state' should set the state > for each registered file and for files it can register. `vc-dired-hook' > can than simply look for the vc-state property and if it is missing it can > assume that the file is ignored. Thinking about it, you're right. We should consider that what dir-state does is update the state properties for as many files as it can, which means we can call (vc-state) on every file in the dired listing and only get expensive operations for the ones dir-state didn't report a status on. Then the problem of speeding up vc-dired-hook will reduce to a simpler one -- how to make the individual directory-status commands in each VCS return information for as many files as possible? Ideally, we want them to return status on *all* files beneath the current directory. Some VCSes will make this easy. Mercurial, for example, has hg status -A, which is documented to return status flags for all files. Now that we have 'unregistered and 'ignored, this means that the individual vc-state calls will never have to do their own check. Mercurial is going to be really fast. Some make it hard; CVS, for example. I don't know any way to make its dir-state set 'ignored files, and it will set 'unregistered only if the stay-local-p test fails and dir-state goes down the path that parses vc-status output (something we want to avoid because it's dog-slow). Most are in between. There is probably a way to beat Subversion into reporting status on all files, but I don't know what it is yet. I'll tackle this for Subversion -- would you look at making the CVS dir-state better? The goal is to get it to somehow set 'ignored and 'unregistered whenever appropriate. There is also a minor can of worms near 'added. It's not really a fully-supported state yet. It should be. And 'removed, too. -- Eric S. Raymond 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: Tue, 01 Jan 2008 21:02:13 -0500 Message-ID: References: <20071228174512.66834830BC9@snark.thyrsus.com> <17EA38DF-BCC1-4565-8510-5DD10DD667E3@mac.com> <20071229114551.GD9794@thyrsus.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199239351 8841 80.91.229.12 (2 Jan 2008 02:02:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Jan 2008 02:02:31 +0000 (UTC) Cc: "Eric S. Raymond" , emacs-devel@gnu.org, Alexandru Harsanyi To: esr@thyrsus.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 02 03:02:49 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 1J9swN-0006Wd-2b for ged-emacs-devel@m.gmane.org; Wed, 02 Jan 2008 03:02:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J9sw1-0006uP-BR for ged-emacs-devel@m.gmane.org; Tue, 01 Jan 2008 21:02:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J9svx-0006se-M4 for emacs-devel@gnu.org; Tue, 01 Jan 2008 21:02:17 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J9svv-0006qm-HX for emacs-devel@gnu.org; Tue, 01 Jan 2008 21:02:17 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J9svv-0006qc-E8 for emacs-devel@gnu.org; Tue, 01 Jan 2008 21:02:15 -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 1J9svu-0004Mm-V7 for emacs-devel@gnu.org; Tue, 01 Jan 2008 21:02:15 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAKJ/ekfO+IaddGdsb2JhbACQEQEwlWU X-IronPort-AV: E=Sophos;i="4.24,231,1196658000"; d="scan'208";a="12171286" Original-Received: from smtp.pppoe.ca ([65.39.196.238]) by ironport2-out.pppoe.ca with ESMTP; 01 Jan 2008 21:02:14 -0500 Original-Received: from pastel.home ([206.248.134.157]) by smtp.pppoe.ca (Internet Mail Server v1.0) with ESMTP id IDE60913; Tue, 01 Jan 2008 21:02:13 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 3BC9884AE; Tue, 1 Jan 2008 21:02:13 -0500 (EST) In-Reply-To: <20071229114551.GD9794@thyrsus.com> (Eric S. Raymond's message of "Sat, 29 Dec 2007 06:45:51 -0500") 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:85835 Archived-At: > Then the problem of speeding up vc-dired-hook will reduce to a simpler > one -- how to make the individual directory-status commands in each > VCS return information for as many files as possible? Ideally, we want > them to return status on *all* files beneath the current directory. I disagree. VC should not do any tree traversal itself. It shouldn't "call the backend to do tree traversal to fill some data and then do tree traversal again hoping to only hit files that were already found". Instead, the `dir-state' function should somehow return the list of files found and VC-dired should only display those (at first). By default, I'd suggest that the dir-state function only returns the "interesting files" (the ones that are not just uptodate or ignored). I.e. just present the result of "cvs -n update" rather than try to do something more clever. The user may want to request the output of "cvs status" as well, although in any non-trivial project, this is too long to be of any use, so it needs to be applicable to just a single subdir (or even a single file). Stefan From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Eric S. Raymond" Newsgroups: gmane.emacs.devel Subject: Re: Introducing 'unrecognized and 'ignored Date: Tue, 1 Jan 2008 21:19:07 -0500 Organization: Eric Conspiracy Secret Labs Message-ID: <20080102021907.GA15494@thyrsus.com> References: <20071228174512.66834830BC9@snark.thyrsus.com> <17EA38DF-BCC1-4565-8510-5DD10DD667E3@mac.com> <20071229114551.GD9794@thyrsus.com> Reply-To: esr@thyrsus.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199240377 10781 80.91.229.12 (2 Jan 2008 02:19:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Jan 2008 02:19:37 +0000 (UTC) Cc: "Eric S. Raymond" , emacs-devel@gnu.org, Alexandru Harsanyi To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 02 03:19:55 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 1J9tD1-0000og-76 for ged-emacs-devel@m.gmane.org; Wed, 02 Jan 2008 03:19:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J9tCf-0001cE-7i for ged-emacs-devel@m.gmane.org; Tue, 01 Jan 2008 21:19:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J9tC5-00019J-8P for emacs-devel@gnu.org; Tue, 01 Jan 2008 21:18:57 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J9tC2-00016f-S0 for emacs-devel@gnu.org; Tue, 01 Jan 2008 21:18:56 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J9tC2-00016V-Lr for emacs-devel@gnu.org; Tue, 01 Jan 2008 21:18:54 -0500 Original-Received: from static-71-162-243-5.phlapa.fios.verizon.net ([71.162.243.5] helo=snark.thyrsus.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J9tC2-0006dk-Cc for emacs-devel@gnu.org; Tue, 01 Jan 2008 21:18:54 -0500 Original-Received: by snark.thyrsus.com (Postfix, from userid 23) id 9237D830B84; Tue, 1 Jan 2008 21:19:07 -0500 (EST) Content-Disposition: inline In-Reply-To: X-Eric-Conspiracy: There is no conspiracy User-Agent: Mutt/1.5.15+20070412 (2007-04-11) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:85837 Archived-At: Stefan Monnier : > > Then the problem of speeding up vc-dired-hook will reduce to a simpler > > one -- how to make the individual directory-status commands in each > > VCS return information for as many files as possible? Ideally, we want > > them to return status on *all* files beneath the current directory. > > I disagree. VC should not do any tree traversal itself. There's no way to avoid this. We have a choice between two different sets of circumstances under which tree traversal will be needed: 1) We can take svn and later systems as a model. Their status commands recurse naturally, so none of those backend status commands has to traverse trees itself. If we do this, the CVS and MCVS backend status commands have to do tree traversal to match the behavior of the SVN and later ones. 2) We can take CVS as the model. In that case we have to tell the backend status commands for later VCSes not to recurse -- and somewhere in the upper-level calling logic for all backends, *it* has to recurse down trees. Right now VC is doing the first alternative. -- Eric S. Raymond 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: Tue, 01 Jan 2008 23:16:52 -0500 Message-ID: References: <20071228174512.66834830BC9@snark.thyrsus.com> <17EA38DF-BCC1-4565-8510-5DD10DD667E3@mac.com> <20071229114551.GD9794@thyrsus.com> <20080102021907.GA15494@thyrsus.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199247425 24761 80.91.229.12 (2 Jan 2008 04:17:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Jan 2008 04:17:05 +0000 (UTC) Cc: "Eric S. Raymond" , emacs-devel@gnu.org, Alexandru Harsanyi To: esr@thyrsus.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 02 05:17:24 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 1J9v2h-0005uE-RU for ged-emacs-devel@m.gmane.org; Wed, 02 Jan 2008 05:17:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J9v2L-0006wa-Q0 for ged-emacs-devel@m.gmane.org; Tue, 01 Jan 2008 23:17:01 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J9v2G-0006sJ-Ck for emacs-devel@gnu.org; Tue, 01 Jan 2008 23:16:56 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J9v2E-0006p7-Eq for emacs-devel@gnu.org; Tue, 01 Jan 2008 23:16:55 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J9v2E-0006or-8r for emacs-devel@gnu.org; Tue, 01 Jan 2008 23:16:54 -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 1J9v2E-00053A-7Y for emacs-devel@gnu.org; Tue, 01 Jan 2008 23:16:54 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAANOeekfO+IaddGdsb2JhbACQEQEwlXo X-IronPort-AV: E=Sophos;i="4.24,232,1196658000"; d="scan'208";a="12173465" Original-Received: from smtp.pppoe.ca ([65.39.196.238]) by ironport2-out.pppoe.ca with ESMTP; 01 Jan 2008 23:16:52 -0500 Original-Received: from pastel.home ([206.248.134.157]) by smtp.pppoe.ca (Internet Mail Server v1.0) with ESMTP id IFS64052; Tue, 01 Jan 2008 23:16:52 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 4D09985A6; Tue, 1 Jan 2008 23:16:52 -0500 (EST) In-Reply-To: <20080102021907.GA15494@thyrsus.com> (Eric S. Raymond's message of "Tue, 1 Jan 2008 21:19:07 -0500") 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:85849 Archived-At: >> > Then the problem of speeding up vc-dired-hook will reduce to a simpler >> > one -- how to make the individual directory-status commands in each >> > VCS return information for as many files as possible? Ideally, we want >> > them to return status on *all* files beneath the current directory. >> >> I disagree. VC should not do any tree traversal itself. > There's no way to avoid this. Of course there is. > We have a choice between two different sets of circumstances under > which tree traversal will be needed: > 1) We can take svn and later systems as a model. Their status commands > recurse naturally, so none of those backend status commands has to traverse > trees itself. If we do this, the CVS and MCVS backend status commands have > to do tree traversal to match the behavior of the SVN and later ones. I don't understand: CVS's status command recurses just fine and so does MetaCVS's (not that it matters since this backend can be dropped any day AFAICT). The only backends which might need to do tree traversal manually (AFAIK) are RCS and SCCS, of course, but I think it's fine for them to do the traversal by hand in the backend code. > Right now VC is doing the first alternative. Maybe we're not talking about the same "tree traversal". But AFAICT, vc-dired uses `ls' somewhere, where I think it should neither use `ls' nor `directory-files' nor anything equivalent in the generic code. That would also allow us to get rid of vc-directory-exclusion-list. Stefan 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: Tue, 01 Jan 2008 20:45:31 -0800 Message-ID: <200801020445.m024jWU2008538@oogie-boogie.ics.uci.edu> References: <20071228174512.66834830BC9@snark.thyrsus.com> <17EA38DF-BCC1-4565-8510-5DD10DD667E3@mac.com> <20071229114551.GD9794@thyrsus.com> <20080102021907.GA15494@thyrsus.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199249322 28030 80.91.229.12 (2 Jan 2008 04:48:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Jan 2008 04:48:42 +0000 (UTC) Cc: esr@thyrsus.com, "Eric S. Raymond" , Alexandru Harsanyi , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 02 05:49:01 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 1J9vXI-0002R0-7j for ged-emacs-devel@m.gmane.org; Wed, 02 Jan 2008 05:49:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J9vWw-0004L7-1d for ged-emacs-devel@m.gmane.org; Tue, 01 Jan 2008 23:48:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J9vWq-0004GE-Sl for emacs-devel@gnu.org; Tue, 01 Jan 2008 23:48:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J9vWp-0004C9-Cw for emacs-devel@gnu.org; Tue, 01 Jan 2008 23:48:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J9vWo-0004Bo-Vm for emacs-devel@gnu.org; Tue, 01 Jan 2008 23:48:31 -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 1J9vWo-0000oJ-N9 for emacs-devel@gnu.org; Tue, 01 Jan 2008 23:48:30 -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 m024jWU2008538; Tue, 1 Jan 2008 20:45:32 -0800 (PST) In-Reply-To: (Stefan Monnier's message of "Tue, 01 Jan 2008 23:16:52 -0500") Original-Lines: 47 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-0.763, required 5, autolearn=disabled, ALL_TRUSTED -1.44, J_CHICKENPOX_32 0.60, TW_SV 0.08) 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:85853 Archived-At: Stefan Monnier writes: > >> > Then the problem of speeding up vc-dired-hook will reduce to a simpler > >> > one -- how to make the individual directory-status commands in each > >> > VCS return information for as many files as possible? Ideally, we want > >> > them to return status on *all* files beneath the current directory. > >> > >> I disagree. VC should not do any tree traversal itself. > > > There's no way to avoid this. > > Of course there is. > > > We have a choice between two different sets of circumstances under > > which tree traversal will be needed: > > > 1) We can take svn and later systems as a model. Their status commands > > recurse naturally, so none of those backend status commands has to traverse > > trees itself. If we do this, the CVS and MCVS backend status commands have > > to do tree traversal to match the behavior of the SVN and later ones. > > I don't understand: CVS's status command recurses just fine and so does > MetaCVS's (not that it matters since this backend can be dropped any day > AFAICT). > > The only backends which might need to do tree traversal manually (AFAIK) > are RCS and SCCS, of course, but I think it's fine for them to do the > traversal by hand in the backend code. > > > Right now VC is doing the first alternative. > > Maybe we're not talking about the same "tree traversal". But AFAICT, > vc-dired uses `ls' somewhere, where I think it should neither use `ls' > nor `directory-files' nor anything equivalent in the generic code. > That would also allow us to get rid of vc-directory-exclusion-list. I would go one step further: vc-dired should not be based on dired at all. 99% of the dired key bindings and functionality are not useful in vc-dired. Plus that forces use to use the "v" prefix instead of using simple key bindings. vc-dired could instead use something based on ewocs. Looking at git.el, implementing the status display using ewocs looks simple enough. Sort term using dired is fine because it provide the much needed multiple file commit functionality. But medium term it should be nuked and replaced. From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Eric S. Raymond" Newsgroups: gmane.emacs.devel Subject: Re: Introducing 'unrecognized and 'ignored Date: Wed, 2 Jan 2008 06:46:14 -0500 Organization: Eric Conspiracy Secret Labs Message-ID: <20080102114614.GA17588@thyrsus.com> References: <20071228174512.66834830BC9@snark.thyrsus.com> <17EA38DF-BCC1-4565-8510-5DD10DD667E3@mac.com> <20071229114551.GD9794@thyrsus.com> <20080102021907.GA15494@thyrsus.com> Reply-To: esr@thyrsus.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199274378 25512 80.91.229.12 (2 Jan 2008 11:46:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Jan 2008 11:46:18 +0000 (UTC) Cc: "Eric S. Raymond" , emacs-devel@gnu.org, Alexandru Harsanyi To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 02 12:46:36 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 1JA23J-0007Mh-DD for ged-emacs-devel@m.gmane.org; Wed, 02 Jan 2008 12:46:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JA22x-0003kA-6q for ged-emacs-devel@m.gmane.org; Wed, 02 Jan 2008 06:46:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JA22t-0003iH-Kz for emacs-devel@gnu.org; Wed, 02 Jan 2008 06:46:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JA22s-0003fr-2Z for emacs-devel@gnu.org; Wed, 02 Jan 2008 06:46:03 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JA22r-0003fk-Oh for emacs-devel@gnu.org; Wed, 02 Jan 2008 06:46:01 -0500 Original-Received: from static-71-162-243-5.phlapa.fios.verizon.net ([71.162.243.5] helo=snark.thyrsus.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JA22r-0003Le-Cm for emacs-devel@gnu.org; Wed, 02 Jan 2008 06:46:01 -0500 Original-Received: by snark.thyrsus.com (Postfix, from userid 23) id C6E56830B84; Wed, 2 Jan 2008 06:46:14 -0500 (EST) Content-Disposition: inline In-Reply-To: X-Eric-Conspiracy: There is no conspiracy User-Agent: Mutt/1.5.15+20070412 (2007-04-11) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:85882 Archived-At: Stefan Monnier : > I don't understand: CVS's status command recurses just fine and so does > MetaCVS's (not that it matters since this backend can be dropped any day > AFAICT). Hm. On inspection, you're right. Looking at the history, I used to have it doing tree traversal, then discovered I could get rid of that necessity by removing the -l option from the command. > The only backends which might need to do tree traversal manually (AFAIK) > are RCS and SCCS, of course, but I think it's fine for them to do the > traversal by hand in the backend code. And now they are in fact the only backends doing that. > Maybe we're not talking about the same "tree traversal". But AFAICT, > vc-dired uses `ls' somewhere, where I think it should neither use `ls' > nor `directory-files' nor anything equivalent in the generic code. I think this is no longer true. I looked for directory-files throughout the VC files; none of the uses are within vc-dired-hook anymore, except in Arch where they're necessary because of the odd way Arch represents working-directory state. So I think we've actually achieved what you want. > That would also allow us to get rid of vc-directory-exclusion-list. Not unless we want to wire an equivalent back into speedbar.el. It's also genuinely needed in vc-next-action. -- Eric S. Raymond From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Eric S. Raymond" Newsgroups: gmane.emacs.devel Subject: Re: Introducing 'unrecognized and 'ignored Date: Wed, 2 Jan 2008 06:50:35 -0500 Organization: Eric Conspiracy Secret Labs Message-ID: <20080102115035.GB17588@thyrsus.com> References: <20071228174512.66834830BC9@snark.thyrsus.com> <17EA38DF-BCC1-4565-8510-5DD10DD667E3@mac.com> <20071229114551.GD9794@thyrsus.com> <20080102021907.GA15494@thyrsus.com> <200801020445.m024jWU2008538@oogie-boogie.ics.uci.edu> Reply-To: esr@thyrsus.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199274632 27196 80.91.229.12 (2 Jan 2008 11:50:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Jan 2008 11:50:32 +0000 (UTC) Cc: "Eric S. Raymond" , Alexandru Harsanyi , Stefan Monnier , emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 02 12:50:50 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 1JA27W-0008KB-A4 for ged-emacs-devel@m.gmane.org; Wed, 02 Jan 2008 12:50:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JA27A-0008Bs-AZ for ged-emacs-devel@m.gmane.org; Wed, 02 Jan 2008 06:50:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JA276-0008BR-7H for emacs-devel@gnu.org; Wed, 02 Jan 2008 06:50:24 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JA274-0008BF-SG for emacs-devel@gnu.org; Wed, 02 Jan 2008 06:50:22 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JA274-0008BC-Nd for emacs-devel@gnu.org; Wed, 02 Jan 2008 06:50:22 -0500 Original-Received: from static-71-162-243-5.phlapa.fios.verizon.net ([71.162.243.5] helo=snark.thyrsus.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JA274-0003vr-BD for emacs-devel@gnu.org; Wed, 02 Jan 2008 06:50:22 -0500 Original-Received: by snark.thyrsus.com (Postfix, from userid 23) id B8162830B84; Wed, 2 Jan 2008 06:50:35 -0500 (EST) Content-Disposition: inline In-Reply-To: <200801020445.m024jWU2008538@oogie-boogie.ics.uci.edu> X-Eric-Conspiracy: There is no conspiracy User-Agent: Mutt/1.5.15+20070412 (2007-04-11) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:85883 Archived-At: Dan Nicolaescu : > vc-dired could instead use something based on ewocs. Looking at git.el, > implementing the status display using ewocs looks simple enough. Where is ewocs? I don't find anything including that string in the name in the CVS tree. > Sort term using dired is fine because it provide the much needed > multiple file commit functionality. But medium term it should be nuked > and replaced. I'm not attached to retaining dired. But there are other things that need to happen first. I still have more speed tuning to do. -- Eric S. Raymond 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: Wed, 02 Jan 2008 09:31:23 -0800 Message-ID: <200801021731.m02HVOsr026279@oogie-boogie.ics.uci.edu> References: <20071228174512.66834830BC9@snark.thyrsus.com> <17EA38DF-BCC1-4565-8510-5DD10DD667E3@mac.com> <20071229114551.GD9794@thyrsus.com> <20080102021907.GA15494@thyrsus.com> <200801020445.m024jWU2008538@oogie-boogie.ics.uci.edu> <20080102115035.GB17588@thyrsus.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199295244 2804 80.91.229.12 (2 Jan 2008 17:34:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Jan 2008 17:34:04 +0000 (UTC) Cc: "Eric S. Raymond" , Alexandru Harsanyi , Stefan Monnier , emacs-devel@gnu.org To: esr@thyrsus.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 02 18:34:22 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 1JA7Tv-0002qU-AI for ged-emacs-devel@m.gmane.org; Wed, 02 Jan 2008 18:34:19 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JA7TZ-0001K5-AK for ged-emacs-devel@m.gmane.org; Wed, 02 Jan 2008 12:33:57 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JA7TU-0001GR-EV for emacs-devel@gnu.org; Wed, 02 Jan 2008 12:33:52 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JA7TS-0001ED-8A for emacs-devel@gnu.org; Wed, 02 Jan 2008 12:33:51 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JA7TS-0001Ds-26 for emacs-devel@gnu.org; Wed, 02 Jan 2008 12:33:50 -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 1JA7TR-0001Wu-Jw for emacs-devel@gnu.org; Wed, 02 Jan 2008 12:33:49 -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 m02HVOsr026279; Wed, 2 Jan 2008 09:31:24 -0800 (PST) In-Reply-To: <20080102115035.GB17588@thyrsus.com> (Eric S. Raymond's message of "Wed, 2 Jan 2008 06:50:35 -0500") Original-Lines: 57 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=0.86, required 5, autolearn=disabled, ALL_TRUSTED -1.44, FM_MULTI_ODD2 1.10, J_CHICKENPOX_32 0.60, J_CHICKENPOX_46 0.60) 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:85928 Archived-At: "Eric S. Raymond" writes: > Dan Nicolaescu : > > vc-dired could instead use something based on ewocs. Looking at git.el, > > implementing the status display using ewocs looks simple enough. > > Where is ewocs? I don't find anything including that string in the name > in the CVS tree. Because you looked for plural "ewocs" :-). See emacs-lisp/ewoc.el In fact, here's a quick hack that shows how ewocs can be used. To be minimally usable for vc-dired it would just need code to mark/unmark files and to return the list of marked entries. (require 'ewoc) (defvar my-vc-status-cookie nil "") (defun my-vc-status-insert-headers () (insert "Repository : Blah Blah\n") (insert "Working dir: ~/WORKING DIR\n\n\n")) (defun my-vc-status-printer (fileentry) (insert fileentry)) (defun my-vc-dir-state (dir) "The VC dir-state functions should return a list of file+states like this." '(("one" . up-to-date) ("two" . added) ("three" . unregistered))) (defun my-vc-status () "Prototype for a replacement for vc-dired." (interactive) (let (buffer-read-only) (erase-buffer) (set (make-local-variable 'my-vc-status-cookie) (ewoc-create #'my-vc-status-printer)) (my-vc-status-insert-headers) (dolist (elem (my-vc-dir-state "ignored")) (ewoc-enter-last my-vc-status-cookie (format " %-20s %s" (cdr elem) (car elem))))) (goto-char (point-min)) (setq buffer-read-only t)) > > Sort term using dired is fine because it provide the much needed > > multiple file commit functionality. But medium term it should be nuked > > and replaced. > > I'm not attached to retaining dired. But there are other things that need > to happen first. I still have more speed tuning to do. Understood. Some of the speed tuning would not be needed if not using dired though... 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: Wed, 02 Jan 2008 15:38:55 -0500 Message-ID: References: <20071228174512.66834830BC9@snark.thyrsus.com> <17EA38DF-BCC1-4565-8510-5DD10DD667E3@mac.com> <20071229114551.GD9794@thyrsus.com> <20080102021907.GA15494@thyrsus.com> <20080102114614.GA17588@thyrsus.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199306357 9179 80.91.229.12 (2 Jan 2008 20:39:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Jan 2008 20:39:17 +0000 (UTC) Cc: "Eric S. Raymond" , emacs-devel@gnu.org, Alexandru Harsanyi To: esr@thyrsus.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 02 21:39:34 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 1JAAN8-0006j0-O6 for ged-emacs-devel@m.gmane.org; Wed, 02 Jan 2008 21:39:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JAAMm-00029E-J6 for ged-emacs-devel@m.gmane.org; Wed, 02 Jan 2008 15:39:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JAAMc-00020v-UC for emacs-devel@gnu.org; Wed, 02 Jan 2008 15:38:58 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JAAMb-0001yu-8x for emacs-devel@gnu.org; Wed, 02 Jan 2008 15:38:58 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JAAMa-0001ye-Um for emacs-devel@gnu.org; Wed, 02 Jan 2008 15:38:56 -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 1JAAMa-0004Gr-Tx for emacs-devel@gnu.org; Wed, 02 Jan 2008 15:38:57 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAPmEe0fO+KWs/2dsb2JhbACoJg X-IronPort-AV: E=Sophos;i="4.24,236,1196658000"; d="scan'208";a="12199854" Original-Received: from smtp.pppoe.ca ([65.39.196.238]) by ironport2-out.pppoe.ca with ESMTP; 02 Jan 2008 15:38:56 -0500 Original-Received: from pastel.home ([206.248.165.172]) by smtp.pppoe.ca (Internet Mail Server v1.0) with ESMTP id IVO26556; Wed, 02 Jan 2008 15:38:56 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id D39A27F08; Wed, 2 Jan 2008 15:38:55 -0500 (EST) In-Reply-To: <20080102114614.GA17588@thyrsus.com> (Eric S. Raymond's message of "Wed, 2 Jan 2008 06:46:14 -0500") 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:85940 Archived-At: >> Maybe we're not talking about the same "tree traversal". But AFAICT, >> vc-dired uses `ls' somewhere, where I think it should neither use `ls' >> nor `directory-files' nor anything equivalent in the generic code. > I think this is no longer true. I looked for directory-files throughout > the VC files; none of the uses are within vc-dired-hook anymore, vc-directory calls dired-internal-noselect which does the directory listing (typically using `ls'). > So I think we've actually achieved what you want. Not yet. >> That would also allow us to get rid of vc-directory-exclusion-list. > Not unless we want to wire an equivalent back into speedbar.el. That's a good idea in any case: speedbar shouldn't need to rely on VC for that. > It's also genuinely needed in vc-next-action. I don't see it used there. Stefan From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Eric S. Raymond" Newsgroups: gmane.emacs.devel Subject: Re: Introducing 'unrecognized and 'ignored Date: Wed, 2 Jan 2008 17:11:30 -0500 Organization: Eric Conspiracy Secret Labs Message-ID: <20080102221130.GA3400@thyrsus.com> References: <20071228174512.66834830BC9@snark.thyrsus.com> <17EA38DF-BCC1-4565-8510-5DD10DD667E3@mac.com> <20071229114551.GD9794@thyrsus.com> <20080102021907.GA15494@thyrsus.com> <20080102114614.GA17588@thyrsus.com> Reply-To: esr@thyrsus.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199311887 28900 80.91.229.12 (2 Jan 2008 22:11:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Jan 2008 22:11:27 +0000 (UTC) Cc: "Eric S. Raymond" , emacs-devel@gnu.org, Alexandru Harsanyi To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 02 23:11:47 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 1JABoQ-0004yX-9n for ged-emacs-devel@m.gmane.org; Wed, 02 Jan 2008 23:11:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JABo3-00061o-TX for ged-emacs-devel@m.gmane.org; Wed, 02 Jan 2008 17:11:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JABnz-0005zG-Dc for emacs-devel@gnu.org; Wed, 02 Jan 2008 17:11:19 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JABnx-0005wD-MY for emacs-devel@gnu.org; Wed, 02 Jan 2008 17:11:19 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JABnx-0005vi-Gw for emacs-devel@gnu.org; Wed, 02 Jan 2008 17:11:17 -0500 Original-Received: from static-71-162-243-5.phlapa.fios.verizon.net ([71.162.243.5] helo=snark.thyrsus.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JABnx-0003Qn-7s for emacs-devel@gnu.org; Wed, 02 Jan 2008 17:11:17 -0500 Original-Received: by snark.thyrsus.com (Postfix, from userid 23) id 02C2F830B03; Wed, 2 Jan 2008 17:11:30 -0500 (EST) Content-Disposition: inline In-Reply-To: X-Eric-Conspiracy: There is no conspiracy User-Agent: Mutt/1.5.15+20070412 (2007-04-11) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:85944 Archived-At: Stefan Monnier : > vc-directory calls dired-internal-noselect which does the directory > listing (typically using `ls'). Oh, so we can only get rid of that by no longer using dired at all. Right. That may be a way to go in the future. Dan's idea of using ewoc may work well, I'm going to make time to look into it. > >> That would also allow us to get rid of vc-directory-exclusion-list. > > > Not unless we want to wire an equivalent back into speedbar.el. > > That's a good idea in any case: speedbar shouldn't need to rely on VC > for that. But the alternative is for speedbar and all other modes that have to be VCS-aware to have their own separate lists of special version-control directories. This seems wrong to me, violating what database people call the SPOT (Single Point Of Truth) rule. I think it's better to have that list be in vc-hooks where speedbar.el and other things can see it. That way they will automatically get smarter whenever the code that manages VCSes becomes aware of another one. > > It's also genuinely needed in vc-next-action. > > I don't see it used there. Sorry, seems I misread a grep hit. -- Eric S. Raymond 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: Wed, 02 Jan 2008 18:06:39 -0500 Message-ID: References: <20071228174512.66834830BC9@snark.thyrsus.com> <17EA38DF-BCC1-4565-8510-5DD10DD667E3@mac.com> <20071229114551.GD9794@thyrsus.com> <20080102021907.GA15494@thyrsus.com> <20080102114614.GA17588@thyrsus.com> <20080102221130.GA3400@thyrsus.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199315234 7486 80.91.229.12 (2 Jan 2008 23:07:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Jan 2008 23:07:14 +0000 (UTC) Cc: "Eric S. Raymond" , emacs-devel@gnu.org, Alexandru Harsanyi To: esr@thyrsus.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 03 00:07:32 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 1JACgO-0005MF-AT for ged-emacs-devel@m.gmane.org; Thu, 03 Jan 2008 00:07:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JACg2-0005nh-2h for ged-emacs-devel@m.gmane.org; Wed, 02 Jan 2008 18:07:10 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JACfy-0005ml-T5 for emacs-devel@gnu.org; Wed, 02 Jan 2008 18:07:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JACft-0005hz-VJ for emacs-devel@gnu.org; Wed, 02 Jan 2008 18:07:06 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JACft-0005hs-Pu for emacs-devel@gnu.org; Wed, 02 Jan 2008 18:07:01 -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 1JACft-0002dr-IV for emacs-devel@gnu.org; Wed, 02 Jan 2008 18:07:01 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAB6oe0fO+KWs/2dsb2JhbACoJg X-IronPort-AV: E=Sophos;i="4.24,236,1196658000"; d="scan'208";a="12207651" Original-Received: from smtp.pppoe.ca ([65.39.196.238]) by ironport2-out.pppoe.ca with ESMTP; 02 Jan 2008 18:06:40 -0500 Original-Received: from pastel.home ([206.248.165.172]) by smtp.pppoe.ca (Internet Mail Server v1.0) with ESMTP id IYI31240; Wed, 02 Jan 2008 18:06:40 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id D69817F08; Wed, 2 Jan 2008 18:06:39 -0500 (EST) In-Reply-To: <20080102221130.GA3400@thyrsus.com> (Eric S. Raymond's message of "Wed, 2 Jan 2008 17:11:30 -0500") 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:85947 Archived-At: >> vc-directory calls dired-internal-noselect which does the directory >> listing (typically using `ls'). > Oh, so we can only get rid of that by no longer using dired at all. Right. > > That's a good idea in any case: speedbar shouldn't need to rely on VC > > for that. > But the alternative is for speedbar and all other modes that have to > be VCS-aware to have their own separate lists of special > version-control directories. speedbar doesn't actually want a list of "admin dirs used by VCS". Instead it wants a list of "directories not to show in speedbar", e.g. "dirs used for things like meta-data". VCS are probably the most common users of meta-data directories, but not the only ones. E.g. SML/NJ's "CM" subdirectories are others I've had to live with. > This seems wrong to me, violating what database people call the SPOT > (Single Point Of Truth) rule. Just because it's not in VC doesn't mean it can't be put in a single spot, right? ;-) Stefan 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: Wed, 02 Jan 2008 15:13:46 -0800 Message-ID: <200801022313.m02NDkTc017210@oogie-boogie.ics.uci.edu> References: <20071228174512.66834830BC9@snark.thyrsus.com> <17EA38DF-BCC1-4565-8510-5DD10DD667E3@mac.com> <20071229114551.GD9794@thyrsus.com> <20080102021907.GA15494@thyrsus.com> <20080102114614.GA17588@thyrsus.com> <20080102221130.GA3400@thyrsus.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199315772 9214 80.91.229.12 (2 Jan 2008 23:16:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Jan 2008 23:16:12 +0000 (UTC) Cc: "Eric S. Raymond" , Alexandru Harsanyi , Stefan Monnier , emacs-devel@gnu.org To: esr@thyrsus.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 03 00:16: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 1JACp1-0007tH-FY for ged-emacs-devel@m.gmane.org; Thu, 03 Jan 2008 00:16:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JACof-0002sC-8O for ged-emacs-devel@m.gmane.org; Wed, 02 Jan 2008 18:16:05 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JACob-0002rw-E1 for emacs-devel@gnu.org; Wed, 02 Jan 2008 18:16:01 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JACoZ-0002rF-Po for emacs-devel@gnu.org; Wed, 02 Jan 2008 18:16:00 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JACoZ-0002r9-MF for emacs-devel@gnu.org; Wed, 02 Jan 2008 18:15:59 -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 1JACoZ-0004Eb-9V for emacs-devel@gnu.org; Wed, 02 Jan 2008 18:15: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 m02NDkTc017210; Wed, 2 Jan 2008 15:13:46 -0800 (PST) In-Reply-To: <20080102221130.GA3400@thyrsus.com> (Eric S. Raymond's message of "Wed, 2 Jan 2008 17:11:30 -0500") Original-Lines: 24 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-0.84, required 5, autolearn=disabled, ALL_TRUSTED -1.44, J_CHICKENPOX_82 0.60) 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:85948 Archived-At: "Eric S. Raymond" writes: > Stefan Monnier : > > vc-directory calls dired-internal-noselect which does the directory > > listing (typically using `ls'). > > Oh, so we can only get rid of that by no longer using dired at all. > Right. That may be a way to go in the future. Dan's idea of using > ewoc may work well, I'm going to make time to look into it. > > > >> That would also allow us to get rid of vc-directory-exclusion-list. > > > > > Not unless we want to wire an equivalent back into speedbar.el. > > > > That's a good idea in any case: speedbar shouldn't need to rely on VC > > for that. > > But the alternative is for speedbar and all other modes that have to > be VCS-aware to have their own separate lists of special > version-control directories. This seems wrong to me, violating what > database people call the SPOT (Single Point Of Truth) rule. Unfortunately we have another violation of that: grep-find-ignored-directories :-( From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Eric S. Raymond" Newsgroups: gmane.emacs.devel Subject: Re: Introducing 'unrecognized and 'ignored Date: Wed, 2 Jan 2008 18:29:15 -0500 Organization: Eric Conspiracy Secret Labs Message-ID: <20080102232915.GB4431@thyrsus.com> References: <20071228174512.66834830BC9@snark.thyrsus.com> <17EA38DF-BCC1-4565-8510-5DD10DD667E3@mac.com> <20071229114551.GD9794@thyrsus.com> <20080102021907.GA15494@thyrsus.com> <20080102114614.GA17588@thyrsus.com> <20080102221130.GA3400@thyrsus.com> Reply-To: esr@thyrsus.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199316609 11675 80.91.229.12 (2 Jan 2008 23:30:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Jan 2008 23:30:09 +0000 (UTC) Cc: "Eric S. Raymond" , emacs-devel@gnu.org, Alexandru Harsanyi To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 03 00:30:27 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 1JAD2V-0004Zt-Gw for ged-emacs-devel@m.gmane.org; Thu, 03 Jan 2008 00:30:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JAD29-0007mt-7A for ged-emacs-devel@m.gmane.org; Wed, 02 Jan 2008 18:30:01 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JAD1O-0007Ug-0a for emacs-devel@gnu.org; Wed, 02 Jan 2008 18:29:14 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JAD1L-0007TD-JJ for emacs-devel@gnu.org; Wed, 02 Jan 2008 18:29:13 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JAD1L-0007T6-E4 for emacs-devel@gnu.org; Wed, 02 Jan 2008 18:29:11 -0500 Original-Received: from static-71-162-243-5.phlapa.fios.verizon.net ([71.162.243.5] helo=snark.thyrsus.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JAD1J-0005oh-CK for emacs-devel@gnu.org; Wed, 02 Jan 2008 18:29:11 -0500 Original-Received: by snark.thyrsus.com (Postfix, from userid 23) id BF2A4830B03; Wed, 2 Jan 2008 18:29:15 -0500 (EST) Content-Disposition: inline In-Reply-To: X-Eric-Conspiracy: There is no conspiracy User-Agent: Mutt/1.5.15+20070412 (2007-04-11) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:85951 Archived-At: Stefan Monnier : > speedbar doesn't actually want a list of "admin dirs used by VCS". > Instead it wants a list of "directories not to show in speedbar", > e.g. "dirs used for things like meta-data". VCS are probably the most > common users of meta-data directories, but not the only ones. Right. If those other classes of metadata directories have elisp packages that naturally own them, them I think speedbar ought to refer back to those packages. > > This seems wrong to me, violating what database people call the SPOT > > (Single Point Of Truth) rule. > > Just because it's not in VC doesn't mean it can't be put in a single > spot, right? ;-) Certainly not. But, since VC needs the information anyway, where else would you put them? -- Eric S. Raymond From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Eric S. Raymond" Newsgroups: gmane.emacs.devel Subject: Re: Introducing 'unrecognized and 'ignored Date: Wed, 2 Jan 2008 18:33:11 -0500 Organization: Eric Conspiracy Secret Labs Message-ID: <20080102233311.GC4431@thyrsus.com> References: <20071228174512.66834830BC9@snark.thyrsus.com> <17EA38DF-BCC1-4565-8510-5DD10DD667E3@mac.com> <20071229114551.GD9794@thyrsus.com> <20080102021907.GA15494@thyrsus.com> <20080102114614.GA17588@thyrsus.com> <20080102221130.GA3400@thyrsus.com> <200801022313.m02NDkTc017210@oogie-boogie.ics.uci.edu> Reply-To: esr@thyrsus.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199316789 12198 80.91.229.12 (2 Jan 2008 23:33:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Jan 2008 23:33:09 +0000 (UTC) Cc: "Eric S. Raymond" , Alexandru Harsanyi , Stefan Monnier , emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 03 00:33:27 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 1JAD5R-0005XQ-Ru for ged-emacs-devel@m.gmane.org; Thu, 03 Jan 2008 00:33:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JAD55-0001Ai-Mt for ged-emacs-devel@m.gmane.org; Wed, 02 Jan 2008 18:33:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JAD50-00019U-V7 for emacs-devel@gnu.org; Wed, 02 Jan 2008 18:32:59 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JAD50-00018O-5q for emacs-devel@gnu.org; Wed, 02 Jan 2008 18:32:58 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JAD4z-000185-Sw for emacs-devel@gnu.org; Wed, 02 Jan 2008 18:32:57 -0500 Original-Received: from static-71-162-243-5.phlapa.fios.verizon.net ([71.162.243.5] helo=snark.thyrsus.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JAD4z-0006Op-NL for emacs-devel@gnu.org; Wed, 02 Jan 2008 18:32:57 -0500 Original-Received: by snark.thyrsus.com (Postfix, from userid 23) id 695FB830B03; Wed, 2 Jan 2008 18:33:11 -0500 (EST) Content-Disposition: inline In-Reply-To: <200801022313.m02NDkTc017210@oogie-boogie.ics.uci.edu> X-Eric-Conspiracy: There is no conspiracy User-Agent: Mutt/1.5.15+20070412 (2007-04-11) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:85953 Archived-At: Dan Nicolaescu : > > But the alternative is for speedbar and all other modes that have to > > be VCS-aware to have their own separate lists of special > > version-control directories. This seems wrong to me, violating what > > database people call the SPOT (Single Point Of Truth) rule. > > Unfortunately we have another violation of that: > grep-find-ignored-directories :-( Thanks for the tip; I'll fix it. Note to Stefan: this fix is a good idea even if we move vc-directory-exclusion-list out of vc-hooks. -- Eric S. Raymond From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Introducing 'unrecognized and 'ignored Date: Thu, 03 Jan 2008 04:50:13 -0500 Message-ID: References: <20071228174512.66834830BC9@snark.thyrsus.com> <17EA38DF-BCC1-4565-8510-5DD10DD667E3@mac.com> <20071229114551.GD9794@thyrsus.com> <20080102021907.GA15494@thyrsus.com> <200801020445.m024jWU2008538@oogie-boogie.ics.uci.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1199354172 1132 80.91.229.12 (3 Jan 2008 09:56:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Jan 2008 09:56:12 +0000 (UTC) Cc: esr@thyrsus.com, esr@snark.thyrsus.com, emacs-devel@gnu.org, monnier@iro.umontreal.ca, harsanyi@mac.com To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 03 10:56:32 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 1JAMoR-0000r0-PF for ged-emacs-devel@m.gmane.org; Thu, 03 Jan 2008 10:56:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JAMo5-000166-Fr for ged-emacs-devel@m.gmane.org; Thu, 03 Jan 2008 04:56:09 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JAMiO-0005VR-G6 for emacs-devel@gnu.org; Thu, 03 Jan 2008 04:50:16 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JAMiM-0005Tw-AV for emacs-devel@gnu.org; Thu, 03 Jan 2008 04:50:15 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JAMiL-0005To-VF for emacs-devel@gnu.org; Thu, 03 Jan 2008 04:50:14 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JAMiL-0000lV-Ka; Thu, 03 Jan 2008 04:50:13 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1JAMiL-00089Q-9i; Thu, 03 Jan 2008 04:50:13 -0500 In-reply-to: <200801020445.m024jWU2008538@oogie-boogie.ics.uci.edu> (message from Dan Nicolaescu on Tue, 01 Jan 2008 20:45:31 -0800) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:85974 Archived-At: I would go one step further: vc-dired should not be based on dired at all. 99% of the dired key bindings and functionality are not useful in vc-dired. Unifying them is a big advantag There may be reasons to separate them which outweigh the advantage of unification, but we should see them presented and weigh them before going in that direction. 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: Thu, 03 Jan 2008 09:30:13 -0500 Message-ID: References: <20071228174512.66834830BC9@snark.thyrsus.com> <17EA38DF-BCC1-4565-8510-5DD10DD667E3@mac.com> <20071229114551.GD9794@thyrsus.com> <20080102021907.GA15494@thyrsus.com> <20080102114614.GA17588@thyrsus.com> <20080102221130.GA3400@thyrsus.com> <20080102232915.GB4431@thyrsus.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199372549 30336 80.91.229.12 (3 Jan 2008 15:02:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Jan 2008 15:02:29 +0000 (UTC) Cc: "Eric S. Raymond" , emacs-devel@gnu.org, Alexandru Harsanyi To: esr@thyrsus.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 03 16:02:45 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 1JARai-00017f-IU for ged-emacs-devel@m.gmane.org; Thu, 03 Jan 2008 16:02:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JARaL-00066E-WD for ged-emacs-devel@m.gmane.org; Thu, 03 Jan 2008 10:02:18 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JARaH-00064q-0v for emacs-devel@gnu.org; Thu, 03 Jan 2008 10:02:13 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JARaE-00062p-VO for emacs-devel@gnu.org; Thu, 03 Jan 2008 10:02:12 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JARaE-00062D-Hg for emacs-devel@gnu.org; Thu, 03 Jan 2008 10:02:10 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JARaD-0005gn-Rf for emacs-devel@gnu.org; Thu, 03 Jan 2008 10:02:09 -0500 Original-Received: from 206-248-165-172.dsl.teksavvy.com ([206.248.165.172] helo=ceviche.home) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JAR6A-00038D-Si for emacs-devel@gnu.org; Thu, 03 Jan 2008 09:31:07 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 4AA13B42DA; Thu, 3 Jan 2008 09:30:12 -0500 (EST) In-Reply-To: <20080102232915.GB4431@thyrsus.com> (Eric S. Raymond's message of "Wed, 2 Jan 2008 18:29:15 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 3) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:85994 Archived-At: >> speedbar doesn't actually want a list of "admin dirs used by VCS". >> Instead it wants a list of "directories not to show in speedbar", >> e.g. "dirs used for things like meta-data". VCS are probably the most >> common users of meta-data directories, but not the only ones. > Right. If those other classes of metadata directories have elisp packages > that naturally own them, them I think speedbar ought to refer back to those > packages. >> > This seems wrong to me, violating what database people call the SPOT >> > (Single Point Of Truth) rule. >> >> Just because it's not in VC doesn't mean it can't be put in a single >> spot, right? ;-) > Certainly not. But, since VC needs the information anyway, where else > would you put them? VC doesn't really need the info. It only uses it because of its original mistake to use dired (and hence `ls'). Once this mistake is corrected it won't need it any more. Where else, then? In simple.el or subr.el or some other global file. Then VC backends can add to that variable and so can any other elisp package. This way speedbar doesn't need to refer to any of those packages. Stefan From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Eric S. Raymond" Newsgroups: gmane.emacs.devel Subject: Re: Introducing 'unrecognized and 'ignored Date: Thu, 3 Jan 2008 12:41:58 -0500 Organization: Eric Conspiracy Secret Labs Message-ID: <20080103174158.GA23630@thyrsus.com> References: <20071229114551.GD9794@thyrsus.com> <20080102021907.GA15494@thyrsus.com> <20080102114614.GA17588@thyrsus.com> <20080102221130.GA3400@thyrsus.com> <20080102232915.GB4431@thyrsus.com> Reply-To: esr@thyrsus.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199382135 965 80.91.229.12 (3 Jan 2008 17:42:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Jan 2008 17:42:15 +0000 (UTC) Cc: "Eric S. Raymond" , emacs-devel@gnu.org, Alexandru Harsanyi To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 03 18:42:33 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 1JAU5O-0003JS-CO for ged-emacs-devel@m.gmane.org; Thu, 03 Jan 2008 18:42:30 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JAU52-00054O-6f for ged-emacs-devel@m.gmane.org; Thu, 03 Jan 2008 12:42:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JAU4t-00051u-Am for emacs-devel@gnu.org; Thu, 03 Jan 2008 12:41:59 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JAU4p-00050X-S5 for emacs-devel@gnu.org; Thu, 03 Jan 2008 12:41:58 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JAU4p-00050Q-Ja for emacs-devel@gnu.org; Thu, 03 Jan 2008 12:41:55 -0500 Original-Received: from static-71-162-243-5.phlapa.fios.verizon.net ([71.162.243.5] helo=snark.thyrsus.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JAU4p-0007ks-Da for emacs-devel@gnu.org; Thu, 03 Jan 2008 12:41:55 -0500 Original-Received: by snark.thyrsus.com (Postfix, from userid 23) id 13732830697; Thu, 3 Jan 2008 12:41:59 -0500 (EST) Content-Disposition: inline In-Reply-To: X-Eric-Conspiracy: There is no conspiracy User-Agent: Mutt/1.5.15+20070412 (2007-04-11) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:86001 Archived-At: Stefan Monnier : > VC doesn't really need the info. It only uses it because of its > original mistake to use dired (and hence `ls'). Once this mistake is > corrected it won't need it any more. > > Where else, then? In simple.el or subr.el or some other global file. > Then VC backends can add to that variable and so can any other > elisp package. This way speedbar doesn't need to refer to any of > those packages. I'm not opposed to this, but it's conditional on changing VC so it doesn't use Dired any more. RMS is opposed to that; I'd like to know why before I make a decision. -- Eric S. Raymond 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: Thu, 03 Jan 2008 10:05:25 -0800 Message-ID: <200801031805.m03I5SBf022748@oogie-boogie.ics.uci.edu> References: <20071228174512.66834830BC9@snark.thyrsus.com> <17EA38DF-BCC1-4565-8510-5DD10DD667E3@mac.com> <20071229114551.GD9794@thyrsus.com> <20080102021907.GA15494@thyrsus.com> <200801020445.m024jWU2008538@oogie-boogie.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199383672 7029 80.91.229.12 (3 Jan 2008 18:07:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Jan 2008 18:07:52 +0000 (UTC) Cc: esr@thyrsus.com, esr@snark.thyrsus.com, emacs-devel@gnu.org, monnier@iro.umontreal.ca, harsanyi@mac.com To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 03 19:08:11 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 1JAUUB-0005I4-FK for ged-emacs-devel@m.gmane.org; Thu, 03 Jan 2008 19:08:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JAUTp-000192-6x for ged-emacs-devel@m.gmane.org; Thu, 03 Jan 2008 13:07:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JAUSy-0000AT-Qe for emacs-devel@gnu.org; Thu, 03 Jan 2008 13:06:52 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JAUSy-00009H-1u for emacs-devel@gnu.org; Thu, 03 Jan 2008 13:06:52 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JAUSx-00008w-Nk for emacs-devel@gnu.org; Thu, 03 Jan 2008 13:06:51 -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 1JAUSu-00043z-1d; Thu, 03 Jan 2008 13:06:48 -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 m03I5SBf022748; Thu, 3 Jan 2008 10:05:28 -0800 (PST) In-Reply-To: (Richard Stallman's message of "Thu, 03 Jan 2008 04:50:13 -0500") Original-Lines: 28 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:86002 Archived-At: Richard Stallman writes: > I would go one step further: vc-dired should not be based on dired at > all. 99% of the dired key bindings and functionality are not useful in > vc-dired. > > Unifying them is a big advantag > > There may be reasons to separate them which outweigh the advantage > of unification, but we should see them presented and weigh them > before going in that direction. The disadvantages or using dired: - performance -- the difference is HUGE - clutter - dired has 4 top level menus that are mostly useless in the VC context - availability of simple key bindings: dired takes most single key bindings, forcing vc-dired to use the "v" prefix - display flexibility -- it is much easier to do custom displays as needed by VC using ewocs than to retrofit it into dired. Just look at the PCL-CVS display and compare it with vc-dired. - future extensibility - VC systems are evolving at a fast pace nowadays, being able to easily make changes to accommodate new features is very important. So IMO, there's no reason to cling onto dired. From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Eric S. Raymond" Newsgroups: gmane.emacs.devel Subject: Re: Introducing 'unrecognized and 'ignored Date: Thu, 3 Jan 2008 13:19:55 -0500 Organization: Eric Conspiracy Secret Labs Message-ID: <20080103181955.GA23938@thyrsus.com> References: <20071228174512.66834830BC9@snark.thyrsus.com> <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> Reply-To: esr@thyrsus.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199384435 9905 80.91.229.12 (3 Jan 2008 18:20:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Jan 2008 18:20:35 +0000 (UTC) Cc: esr@snark.thyrsus.com, harsanyi@mac.com, emacs-devel@gnu.org, rms@gnu.org, monnier@iro.umontreal.ca To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 03 19:20:54 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 1JAUgW-0001OB-5K for ged-emacs-devel@m.gmane.org; Thu, 03 Jan 2008 19:20:52 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JAUg9-0006ZO-SS for ged-emacs-devel@m.gmane.org; Thu, 03 Jan 2008 13:20:29 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JAUfR-0006M4-5A for emacs-devel@gnu.org; Thu, 03 Jan 2008 13:19:45 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JAUfQ-0006Li-Gt for emacs-devel@gnu.org; Thu, 03 Jan 2008 13:19:44 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JAUfQ-0006Le-CZ for emacs-devel@gnu.org; Thu, 03 Jan 2008 13:19:44 -0500 Original-Received: from static-71-162-243-5.phlapa.fios.verizon.net ([71.162.243.5] helo=snark.thyrsus.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JAUfM-0006sn-Ul; Thu, 03 Jan 2008 13:19:41 -0500 Original-Received: by snark.thyrsus.com (Postfix, from userid 23) id 14867830697; Thu, 3 Jan 2008 13:19:55 -0500 (EST) Content-Disposition: inline In-Reply-To: <200801031805.m03I5SBf022748@oogie-boogie.ics.uci.edu> X-Eric-Conspiracy: There is no conspiracy User-Agent: Mutt/1.5.15+20070412 (2007-04-11) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:86003 Archived-At: Dan Nicolaescu : > So IMO, there's no reason to cling onto dired. I think there are some things pushing in the other direction -- consistency of interface, mainly. I really want to hear RMS's reasons for wanting to retain VC-Dired; it's possible he has some compelling argument I haven't thought of. Myself, I'm pretty near neutral on this one and willing to be persuaded either way. -- Eric S. Raymond From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Introducing 'unrecognized and 'ignored Date: Sat, 05 Jan 2008 00:54:06 -0500 Message-ID: References: <20071229114551.GD9794@thyrsus.com> <20080102021907.GA15494@thyrsus.com> <20080102114614.GA17588@thyrsus.com> <20080102221130.GA3400@thyrsus.com> <20080102232915.GB4431@thyrsus.com> <20080103174158.GA23630@thyrsus.com> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1199512463 20894 80.91.229.12 (5 Jan 2008 05:54:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Jan 2008 05:54:23 +0000 (UTC) Cc: esr@snark.thyrsus.com, harsanyi@mac.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: esr@thyrsus.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 05 06:54:41 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 1JB1zU-0007Ip-Cq for ged-emacs-devel@m.gmane.org; Sat, 05 Jan 2008 06:54:40 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JB1z7-00025W-QI for ged-emacs-devel@m.gmane.org; Sat, 05 Jan 2008 00:54:17 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JB1z0-00025J-MJ for emacs-devel@gnu.org; Sat, 05 Jan 2008 00:54:10 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JB1yy-000256-7m for emacs-devel@gnu.org; Sat, 05 Jan 2008 00:54:09 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JB1yx-000253-Ta for emacs-devel@gnu.org; Sat, 05 Jan 2008 00:54:07 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JB1yx-0003YH-P7; Sat, 05 Jan 2008 00:54:07 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1JB1yw-00061X-Ua; Sat, 05 Jan 2008 00:54:06 -0500 In-reply-to: <20080103174158.GA23630@thyrsus.com> (esr@thyrsus.com) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:86106 Archived-At: I'm not opposed to this, but it's conditional on changing VC so it doesn't use Dired any more. RMS is opposed to that; I'd like to know why before I make a decision. I'm not dead-set against it. Dired and VC-Dired are similar in general, so if the implementations are totally different, that would mean (1) two different implementations of the same thing, and (2) a tendency for the user interfaces to become incompatible. It is possible for sufficiently strong reasons to outweigh that one. From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Introducing 'unrecognized and 'ignored Date: Sat, 05 Jan 2008 00:54:12 -0500 Message-ID: References: <20071228174512.66834830BC9@snark.thyrsus.com> <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> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1199512536 21012 80.91.229.12 (5 Jan 2008 05:55:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Jan 2008 05:55:36 +0000 (UTC) Cc: esr@thyrsus.com, esr@snark.thyrsus.com, emacs-devel@gnu.org, monnier@iro.umontreal.ca, harsanyi@mac.com To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 05 06:55:52 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 1JB20d-0007VH-Du for ged-emacs-devel@m.gmane.org; Sat, 05 Jan 2008 06:55:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JB20H-0002O3-0W for ged-emacs-devel@m.gmane.org; Sat, 05 Jan 2008 00:55:29 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JB1z5-000267-H1 for emacs-devel@gnu.org; Sat, 05 Jan 2008 00:54:15 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JB1z3-00025R-Az for emacs-devel@gnu.org; Sat, 05 Jan 2008 00:54:14 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JB1z3-00025O-6C for emacs-devel@gnu.org; Sat, 05 Jan 2008 00:54:13 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JB1z3-0003ZA-3V; Sat, 05 Jan 2008 00:54:13 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1JB1z2-00062N-94; Sat, 05 Jan 2008 00:54:12 -0500 In-reply-to: <200801031805.m03I5SBf022748@oogie-boogie.ics.uci.edu> (message from Dan Nicolaescu on Thu, 03 Jan 2008 10:05:25 -0800) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:86107 Archived-At: The disadvantages or using dired: Several of these are not persuasive (at least based on what you've said so far). - performance -- the difference is HUGE What is the connection between using dired and this slowdown? - clutter - dired has 4 top level menus that are mostly useless in the VC context That is not a real problem. It is easy for a variant of Dired to override them. - availability of simple key bindings: dired takes most single key bindings, forcing vc-dired to use the "v" prefix That is not a real problem. vc-dired could rebind some Dired keys, and still preserve most of the advantage of commonality with Dired. - future extensibility - VC systems are evolving at a fast pace nowadays, being able to easily make changes to accommodate new features is very important. I see no point paying the price today for a benefit that may only possibly develop. I'd rather pay that price if and when there is a real benefit to be gained. It won't be more work then than it is today. On the other hand, this could be a significant reason: - display flexibility -- it is much easier to do custom displays as needed by VC using ewocs than to retrofit it into dired. Just look at the PCL-CVS display and compare it with vc-dired. If custom displays are needed, that probably requires splitting off. Are custom displays needed? What would you want to use them for? 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: Sat, 05 Jan 2008 01:01:48 -0800 Message-ID: <200801050901.m0591mQj011970@oogie-boogie.ics.uci.edu> References: <20071228174512.66834830BC9@snark.thyrsus.com> <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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199523849 10564 80.91.229.12 (5 Jan 2008 09:04:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Jan 2008 09:04:09 +0000 (UTC) Cc: esr@thyrsus.com, esr@snark.thyrsus.com, emacs-devel@gnu.org, monnier@iro.umontreal.ca, harsanyi@mac.com To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 05 10:04: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 1JB4x6-0004KB-Dj for ged-emacs-devel@m.gmane.org; Sat, 05 Jan 2008 10:04:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JB4wj-0007vI-Rl for ged-emacs-devel@m.gmane.org; Sat, 05 Jan 2008 04:04:01 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JB4wd-0007tz-NF for emacs-devel@gnu.org; Sat, 05 Jan 2008 04:03:55 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JB4wb-0007se-VY for emacs-devel@gnu.org; Sat, 05 Jan 2008 04:03:55 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JB4wb-0007sU-M7 for emacs-devel@gnu.org; Sat, 05 Jan 2008 04:03:53 -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 1JB4wX-0000Mo-B4; Sat, 05 Jan 2008 04:03:49 -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 m0591mQj011970; Sat, 5 Jan 2008 01:01:48 -0800 (PST) In-Reply-To: (Richard Stallman's message of "Sat, 05 Jan 2008 00:54:12 -0500") Original-Lines: 47 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:86122 Archived-At: Richard Stallman writes: > The disadvantages or using dired: > > Several of these are not persuasive (at least based on what > you've said so far). > > - performance -- the difference is HUGE > > What is the connection between using dired and this slowdown? It is much faster to ask the VCS about the status of the files and just display those results, rather than what it is done today: ask dired about all the files in a directory and the ask the VCS about the status. > - future extensibility - VC systems are evolving at a fast pace > nowadays, being able to easily make changes to accommodate new > features is very important. > > I see no point paying the price today for a benefit that may only > possibly develop. I'd rather pay that price if and when there is a > real benefit to be gained. It won't be more work then than it is > today. It would be, tweaking the dired display is much harder than implementing a better one from scratch using ewocs. Compare the PCL-CVS display with vc-dired, IMHO it looks better. > On the other hand, this could be a significant reason: > > - display flexibility -- it is much easier to do custom displays as > needed by VC using ewocs than to retrofit it into dired. Just look > at the PCL-CVS display and compare it with vc-dired. > > If custom displays are needed, that probably requires splitting off. > > 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. From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Eric S. Raymond" Newsgroups: gmane.emacs.devel Subject: Re: Introducing 'unrecognized and 'ignored Date: Sat, 5 Jan 2008 09:34:15 -0500 Organization: Eric Conspiracy Secret Labs Message-ID: <20080105143415.GG30869@thyrsus.com> 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> Reply-To: esr@thyrsus.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199543875 29561 80.91.229.12 (5 Jan 2008 14:37:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Jan 2008 14:37:55 +0000 (UTC) Cc: esr@snark.thyrsus.com, harsanyi@mac.com, emacs-devel@gnu.org, rms@gnu.org, monnier@iro.umontreal.ca To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 05 15:38:14 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 1JBAA6-0004Ih-Rw for ged-emacs-devel@m.gmane.org; Sat, 05 Jan 2008 15:38:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBA9k-0001zh-9g for ged-emacs-devel@m.gmane.org; Sat, 05 Jan 2008 09:37:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JBA69-0007ny-QV for emacs-devel@gnu.org; Sat, 05 Jan 2008 09:34:05 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JBA68-0007ly-2b for emacs-devel@gnu.org; Sat, 05 Jan 2008 09:34:05 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBA67-0007ll-R6 for emacs-devel@gnu.org; Sat, 05 Jan 2008 09:34:03 -0500 Original-Received: from static-71-162-243-5.phlapa.fios.verizon.net ([71.162.243.5] helo=snark.thyrsus.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JBA64-00068o-0Y; Sat, 05 Jan 2008 09:34:00 -0500 Original-Received: by snark.thyrsus.com (Postfix, from userid 23) id 685D041C316; Sat, 5 Jan 2008 09:34:15 -0500 (EST) Content-Disposition: inline In-Reply-To: <200801050901.m0591mQj011970@oogie-boogie.ics.uci.edu> X-Eric-Conspiracy: There is no conspiracy User-Agent: Mutt/1.5.15+20070412 (2007-04-11) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:86166 Archived-At: 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. -- Eric S. Raymond 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: Sat, 05 Jan 2008 17:25:09 -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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199571989 16921 80.91.229.12 (5 Jan 2008 22:26:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Jan 2008 22:26:29 +0000 (UTC) Cc: esr@snark.thyrsus.com, Dan Nicolaescu , emacs-devel@gnu.org, rms@gnu.org, harsanyi@mac.com To: esr@thyrsus.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 05 23:26:48 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 1JBHTX-0006EG-A6 for ged-emacs-devel@m.gmane.org; Sat, 05 Jan 2008 23:26:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBHSz-0003Mm-Uf for ged-emacs-devel@m.gmane.org; Sat, 05 Jan 2008 17:26:09 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JBHSv-0003MR-Kh for emacs-devel@gnu.org; Sat, 05 Jan 2008 17:26:05 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JBHSs-0003LR-17 for emacs-devel@gnu.org; Sat, 05 Jan 2008 17:26:05 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBHSr-0003LJ-KH for emacs-devel@gnu.org; Sat, 05 Jan 2008 17:26:01 -0500 Original-Received: from 206-248-175-132.dsl.teksavvy.com ([206.248.175.132] helo=ceviche.home) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JBHSh-00067D-PM; Sat, 05 Jan 2008 17:25:54 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 21073B40FE; Sat, 5 Jan 2008 17:25:08 -0500 (EST) In-Reply-To: <20080105143415.GG30869@thyrsus.com> (Eric S. Raymond's message of "Sat, 5 Jan 2008 09:34:15 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:86243 Archived-At: > 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. Note that there's a middle-way as well: use dired-mode, but fill the buffer manually from the list of files returned by the backend commands (probably using code from ls-lisp.el to properly format each lines), so we don't run `ls' or directory-files at all, but still preserve everything else. Stefan From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Introducing 'unrecognized and 'ignored Date: Sun, 06 Jan 2008 03:09:22 -0500 Message-ID: References: <20071228174512.66834830BC9@snark.thyrsus.com> <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> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1199607516 29308 80.91.229.12 (6 Jan 2008 08:18:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Jan 2008 08:18:36 +0000 (UTC) Cc: esr@thyrsus.com, esr@snark.thyrsus.com, emacs-devel@gnu.org, monnier@iro.umontreal.ca, harsanyi@mac.com To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 06 09:18:57 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 1JBQie-0001kD-9F for ged-emacs-devel@m.gmane.org; Sun, 06 Jan 2008 09:18:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBQiH-0004dr-FC for ged-emacs-devel@m.gmane.org; Sun, 06 Jan 2008 03:18:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JBQfa-0002jO-Fz for emacs-devel@gnu.org; Sun, 06 Jan 2008 03:15:46 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JBQfX-0002h4-QV for emacs-devel@gnu.org; Sun, 06 Jan 2008 03:15:44 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBQfX-0002gw-KR for emacs-devel@gnu.org; Sun, 06 Jan 2008 03:15:43 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JBQfX-0004IE-GX; Sun, 06 Jan 2008 03:15:43 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1JBQZO-0001X8-Kx; Sun, 06 Jan 2008 03:09:22 -0500 In-reply-to: <200801050901.m0591mQj011970@oogie-boogie.ics.uci.edu> (message from Dan Nicolaescu on Sat, 05 Jan 2008 01:01:48 -0800) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:86299 Archived-At: > - performance -- the difference is HUGE > > What is the connection between using dired and this slowdown? It is much faster to ask the VCS about the status of the files and just display those results, rather than what it is done today: ask dired about all the files in a directory and the ask the VCS about the status. If you don't want VC dired to show non-VCS-managed files, it could initialize the buffer contents based on the VCS output alone, and that would get the same speedup. So I think that speedup is not a factor in dciding whether to disconnect this from Dired. I think we concluded that we want to offer the user the option to show or not show the non-VCS-managed files. 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. Those sound like useful features. 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. From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Eric S. Raymond" Newsgroups: gmane.emacs.devel Subject: Re: Introducing 'unrecognized and 'ignored Date: Sun, 6 Jan 2008 10:57:04 -0500 Organization: Eric Conspiracy Secret Labs Message-ID: <20080106155704.GU30869@thyrsus.com> References: <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> Reply-To: esr@thyrsus.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199635024 5943 80.91.229.12 (6 Jan 2008 15:57:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Jan 2008 15:57:04 +0000 (UTC) Cc: harsanyi@mac.com, emacs-devel@gnu.org, rms@gnu.org, monnier@iro.umontreal.ca To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 06 16:57:24 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 1JBXsG-0003Df-Rg for ged-emacs-devel@m.gmane.org; Sun, 06 Jan 2008 16:57:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBXru-0001aN-55 for ged-emacs-devel@m.gmane.org; Sun, 06 Jan 2008 10:56:58 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JBXrq-0001Zz-41 for emacs-devel@gnu.org; Sun, 06 Jan 2008 10:56:54 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JBXro-0001Zf-Oq for emacs-devel@gnu.org; Sun, 06 Jan 2008 10:56:53 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBXro-0001Zc-K4 for emacs-devel@gnu.org; Sun, 06 Jan 2008 10:56:52 -0500 Original-Received: from static-71-162-243-5.phlapa.fios.verizon.net ([71.162.243.5] helo=snark.thyrsus.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JBXrk-000472-Ln; Sun, 06 Jan 2008 10:56:48 -0500 Original-Received: by snark.thyrsus.com (Postfix, from userid 23) id 0199241C316; Sun, 6 Jan 2008 10:57:04 -0500 (EST) Content-Disposition: inline In-Reply-To: <200801061037.m06AbIRD004966@oogie-boogie.ics.uci.edu> X-Eric-Conspiracy: There is no conspiracy User-Agent: Mutt/1.5.15+20070412 (2007-04-11) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:86335 Archived-At: Dan Nicolaescu : > 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. Noted. I'll carve out some time later today or tomorrow to look at it. -- Eric S. Raymond From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.devel Subject: Re: Introducing 'unrecognized and 'ignored Date: Sun, 06 Jan 2008 13:00:33 -0700 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> Reply-To: Tom Tromey NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199651505 27014 80.91.229.12 (6 Jan 2008 20:31:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Jan 2008 20:31:45 +0000 (UTC) Cc: esr@thyrsus.com, emacs-devel@gnu.org, rms@gnu.org, monnier@iro.umontreal.ca, harsanyi@mac.com To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 06 21:32:04 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 1JBcA5-0006FU-3x for ged-emacs-devel@m.gmane.org; Sun, 06 Jan 2008 21:32:01 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBc9i-0003C6-8D for ged-emacs-devel@m.gmane.org; Sun, 06 Jan 2008 15:31:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JBc9e-0003Bc-Pd for emacs-devel@gnu.org; Sun, 06 Jan 2008 15:31:34 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JBc9d-0003BQ-Qp for emacs-devel@gnu.org; Sun, 06 Jan 2008 15:31:34 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBc9d-0003BN-L1 for emacs-devel@gnu.org; Sun, 06 Jan 2008 15:31:33 -0500 Original-Received: from mx1.redhat.com ([66.187.233.31]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JBc9Z-00061H-Q4; Sun, 06 Jan 2008 15:31:29 -0500 Original-Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m06KVSkh016390; Sun, 6 Jan 2008 15:31:28 -0500 Original-Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m06KVSX9031876; Sun, 6 Jan 2008 15:31:28 -0500 Original-Received: from opsy.redhat.com (ton.yyz.redhat.com [10.15.16.15]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m06KVRGG004780; Sun, 6 Jan 2008 15:31:27 -0500 Original-Received: by opsy.redhat.com (Postfix, from userid 500) id E007F508021; Sun, 6 Jan 2008 13:00:33 -0700 (MST) X-Attribution: Tom In-Reply-To: <200801061037.m06AbIRD004966@oogie-boogie.ics.uci.edu> (Dan Nicolaescu's message of "Sun\, 06 Jan 2008 02\:37\:18 -0800") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (gnu/linux) X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:86384 Archived-At: >>>>> "Dan" == Dan Nicolaescu writes: Dan> I checked in some code to do that. I whipped it out quickly, so it's not Dan> complete in any way. It provides a M-x vc-status command which is the Dan> replacement for vc-dired. Dan> It can only be used with Mercurial for now. Appended is a patch to make it work with svn. This patch is kind of a hack in that, if vc-status ever wants to support "non-terse" mode, then the function will have to be rewritten (since "svn status" and "svn status -v" have different formats). I don't understand how the 'dir' argument works with the existing vc-hg-dir-status. The argument is never used in the function. When I tried vc-status on a mercurial working directory, I got results for the whole tree, not the particular subdirectory I requested, which is also weird. The resulting buffer is always called *vc-status*, which is unfriendly. Perhaps it should be named after the requested directory. I think it would be best to make vc-status work asynchronously from the very beginning. That is what pcl-cvs and psvn do, and it is nicer to use on larger trees. I think this is important to do first because it is simpler to redesign the back end hooks now, if needed. Tom 2008-01-06 Tom Tromey * vc-svn.el (vc-svn-dir-status): New function. *** vc-svn.el 02 Jan 2008 12:34:31 -0700 1.59 --- vc-svn.el 06 Jan 2008 12:39:14 -0700 *************** *** 1,6 **** ;;; vc-svn.el --- non-resident support for Subversion version-control ! ;; Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. ;; Author: FSF (see vc.el for full credits) ;; Maintainer: Stefan Monnier --- 1,6 ---- ;;; vc-svn.el --- non-resident support for Subversion version-control ! ;; Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. ;; Author: FSF (see vc.el for full credits) ;; Maintainer: Stefan Monnier *************** *** 157,162 **** --- 157,185 ---- (vc-svn-command t 0 nil "status" (if localp "-v" "-u")) (vc-svn-parse-status)))) + (defun vc-svn-dir-status (dir) + "Return a list of conses (FILE . STATE) for DIR." + (with-temp-buffer + (let ((default-directory (file-name-as-directory dir)) + (state-map '((?A . added) + (?C . edited) + (?D . removed) + (?I . ignored) + (?M . edited) + (?R . removed) + (?? . unregistered) + ;; This is what vc-svn-parse-status does. + (?~ . edited))) + result) + (vc-svn-command t 0 nil "status") + (goto-char (point-min)) + (while (re-search-forward "^\\(.\\)..... \\(.*\\)$" nil t) + (let ((state (cdr (assq (aref (match-string 1) 0) state-map))) + (filename (match-string 2))) + (when state + (setq result (cons (cons filename state) result))))) + result))) + (defun vc-svn-working-revision (file) "SVN-specific version of `vc-working-revision'." ;; There is no need to consult RCS headers under SVN, because we 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, 06 Jan 2008 16:03:25 -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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199653423 521 80.91.229.12 (6 Jan 2008 21:03:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Jan 2008 21:03:43 +0000 (UTC) Cc: esr@thyrsus.com, harsanyi@mac.com, Dan Nicolaescu , rms@gnu.org, emacs-devel@gnu.org To: Tom Tromey Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 06 22:04:03 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 1JBcf1-000633-3a for ged-emacs-devel@m.gmane.org; Sun, 06 Jan 2008 22:03:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBcee-0002C8-7i for ged-emacs-devel@m.gmane.org; Sun, 06 Jan 2008 16:03:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JBceb-0002Bv-NC for emacs-devel@gnu.org; Sun, 06 Jan 2008 16:03:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JBcea-0002Bj-8B for emacs-devel@gnu.org; Sun, 06 Jan 2008 16:03:33 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBcea-0002Bg-5R for emacs-devel@gnu.org; Sun, 06 Jan 2008 16:03:32 -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 1JBceW-00025A-Jl; Sun, 06 Jan 2008 16:03:28 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAOPQgEfO+K+E/2dsb2JhbACmaQ X-IronPort-AV: E=Sophos;i="4.24,250,1196658000"; d="scan'208";a="12342474" Original-Received: from smtp.pppoe.ca ([65.39.196.238]) by ironport2-out.pppoe.ca with ESMTP; 06 Jan 2008 16:03:25 -0500 Original-Received: from pastel.home ([206.248.175.132]) by smtp.pppoe.ca (Internet Mail Server v1.0) with ESMTP id MWJ03926; Sun, 06 Jan 2008 16:03:26 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 867567F7C; Sun, 6 Jan 2008 16:03:25 -0500 (EST) In-Reply-To: (Tom Tromey's message of "Sun, 06 Jan 2008 13:00:33 -0700") 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:86393 Archived-At: > Appended is a patch to make it work with svn. This patch is kind of a > hack in that, if vc-status ever wants to support "non-terse" mode, > then the function will have to be rewritten (since "svn status" and > "svn status -v" have different formats). If we introduce a new non-dired thingy, I suggest we don't even try to provide a non-terse mode. There are so many more important features to add that we may as well decide from the get go that we'll never get to that one. Stefan 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 18:59:34 -0800 Message-ID: <200801070259.m072xY0s005194@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> <200801061037.m06AbIRD004966@oogie-boogie.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199674875 24507 80.91.229.12 (7 Jan 2008 03:01:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Jan 2008 03:01:15 +0000 (UTC) Cc: Tom Tromey , esr@thyrsus.com, emacs-devel@gnu.org, rms@gnu.org, harsanyi@mac.com To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 07 04:01:35 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 1JBiF4-0001dN-DB for ged-emacs-devel@m.gmane.org; Mon, 07 Jan 2008 04:01:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBiEh-000674-NL for ged-emacs-devel@m.gmane.org; Sun, 06 Jan 2008 22:01:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JBiEe-00066t-Gy for emacs-devel@gnu.org; Sun, 06 Jan 2008 22:01:08 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JBiEa-00065Y-Px for emacs-devel@gnu.org; Sun, 06 Jan 2008 22:01:08 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBiEa-00065Q-MB for emacs-devel@gnu.org; Sun, 06 Jan 2008 22:01:04 -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 1JBiEW-0001K6-KX; Sun, 06 Jan 2008 22:01:00 -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 m072xY0s005194; Sun, 6 Jan 2008 18:59:34 -0800 (PST) In-Reply-To: (Stefan Monnier's message of "Sun, 06 Jan 2008 16:03:25 -0500") Original-Lines: 13 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:86415 Archived-At: Stefan Monnier writes: > > Appended is a patch to make it work with svn. This patch is kind of a > > hack in that, if vc-status ever wants to support "non-terse" mode, > > then the function will have to be rewritten (since "svn status" and > > "svn status -v" have different formats). > > If we introduce a new non-dired thingy, I suggest we don't even try to > provide a non-terse mode. There are so many more important features to > add that we may as well decide from the get go that we'll never get to > that one. 100% agreement. 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 19:22:44 -0800 Message-ID: <200801070322.m073MiNR005963@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> <200801061037.m06AbIRD004966@oogie-boogie.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199676315 27896 80.91.229.12 (7 Jan 2008 03:25:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Jan 2008 03:25:15 +0000 (UTC) Cc: esr@thyrsus.com, harsanyi@mac.com, rms@gnu.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Tom Tromey Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 07 04:25:36 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 1JBicJ-0006ON-2E for ged-emacs-devel@m.gmane.org; Mon, 07 Jan 2008 04:25:35 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBibv-00019d-KN for ged-emacs-devel@m.gmane.org; Sun, 06 Jan 2008 22:25:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JBibq-00016K-16 for emacs-devel@gnu.org; Sun, 06 Jan 2008 22:25:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JBibn-00010N-1z for emacs-devel@gnu.org; Sun, 06 Jan 2008 22:25:05 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBibm-000105-OS for emacs-devel@gnu.org; Sun, 06 Jan 2008 22:25:02 -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 1JBibi-00046x-UU; Sun, 06 Jan 2008 22:24: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 m073MiNR005963; Sun, 6 Jan 2008 19:22:44 -0800 (PST) In-Reply-To: (Tom Tromey's message of "Sun, 06 Jan 2008 13:00:33 -0700") Original-Lines: 24 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.363, required 5, autolearn=disabled, ALL_TRUSTED -1.44, TW_SV 0.08) 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:86417 Archived-At: Tom Tromey writes: > I don't understand how the 'dir' argument works with the existing > vc-hg-dir-status. The argument is never used in the function. When I > tried vc-status on a mercurial working directory, I got results for > the whole tree, not the particular subdirectory I requested, which is > also weird. It's a bug in vc-hg-dir-status (and in vc-hg-dir-state). I fixed it. Thanks! > The resulting buffer is always called *vc-status*, which is > unfriendly. Perhaps it should be named after the requested directory. No opinion here. PCL-CVS calls it *cvs*, and it does not seem like a big issue when using it. > I think it would be best to make vc-status work asynchronously from the > very beginning. That is what pcl-cvs and psvn do, and it is nicer to > use on larger trees. I think this is important to do first because it > is simpler to redesign the back end hooks now, if needed. Good idea. Not sure what is the best way to do this. Feel free to change it. From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Eric S. Raymond" Newsgroups: gmane.emacs.devel Subject: Re: Introducing 'unrecognized and 'ignored Date: Sun, 6 Jan 2008 22:26:49 -0500 Organization: Eric Conspiracy Secret Labs Message-ID: <20080107032649.GD9473@thyrsus.com> References: <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> <200801070259.m072xY0s005194@oogie-boogie.ics.uci.edu> Reply-To: esr@thyrsus.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199676405 28064 80.91.229.12 (7 Jan 2008 03:26:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Jan 2008 03:26:45 +0000 (UTC) Cc: Tom Tromey , emacs-devel@gnu.org, Stefan Monnier , rms@gnu.org, harsanyi@mac.com To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 07 04:27:05 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 1JBidl-0006a7-0O for ged-emacs-devel@m.gmane.org; Mon, 07 Jan 2008 04:27:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBidO-0002VE-4h for ged-emacs-devel@m.gmane.org; Sun, 06 Jan 2008 22:26:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JBidK-0002UK-8m for emacs-devel@gnu.org; Sun, 06 Jan 2008 22:26:38 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JBidI-0002Sq-Tj for emacs-devel@gnu.org; Sun, 06 Jan 2008 22:26:37 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBidI-0002Sj-K7 for emacs-devel@gnu.org; Sun, 06 Jan 2008 22:26:36 -0500 Original-Received: from static-71-162-243-5.phlapa.fios.verizon.net ([71.162.243.5] helo=snark.thyrsus.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JBidE-0004Lg-SA; Sun, 06 Jan 2008 22:26:32 -0500 Original-Received: by snark.thyrsus.com (Postfix, from userid 23) id A2CE741C316; Sun, 6 Jan 2008 22:26:49 -0500 (EST) Content-Disposition: inline In-Reply-To: <200801070259.m072xY0s005194@oogie-boogie.ics.uci.edu> X-Eric-Conspiracy: There is no conspiracy User-Agent: Mutt/1.5.15+20070412 (2007-04-11) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:86418 Archived-At: Dan Nicolaescu : > Stefan Monnier writes: > > > > Appended is a patch to make it work with svn. This patch is kind of a > > > hack in that, if vc-status ever wants to support "non-terse" mode, > > > then the function will have to be rewritten (since "svn status" and > > > "svn status -v" have different formats). > > > > If we introduce a new non-dired thingy, I suggest we don't even try to > > provide a non-terse mode. There are so many more important features to > > add that we may as well decide from the get go that we'll never get to > > that one. > > 100% agreement. Seems reasonable to me as well, except -- do we really want to show all uncontrolled files and have no option to suppress them? This is sticky, because we need them listed to select for register operations but typically *don't* want them listed at other times. -- Eric S. Raymond From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.devel Subject: Re: Introducing 'unrecognized and 'ignored Date: Sun, 06 Jan 2008 20:03:30 -0700 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> <200801070322.m073MiNR005963@oogie-boogie.ics.uci.edu> Reply-To: Tom Tromey NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199676884 29311 80.91.229.12 (7 Jan 2008 03:34:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Jan 2008 03:34:44 +0000 (UTC) Cc: esr@thyrsus.com, harsanyi@mac.com, rms@gnu.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 07 04:35:05 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 1JBilU-0007u6-G6 for ged-emacs-devel@m.gmane.org; Mon, 07 Jan 2008 04:35:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBil7-0000SZ-KV for ged-emacs-devel@m.gmane.org; Sun, 06 Jan 2008 22:34:41 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JBil3-0000SK-Ou for emacs-devel@gnu.org; Sun, 06 Jan 2008 22:34:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JBil2-0000S5-1h for emacs-devel@gnu.org; Sun, 06 Jan 2008 22:34:37 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBil1-0000S2-VR for emacs-devel@gnu.org; Sun, 06 Jan 2008 22:34:35 -0500 Original-Received: from mx1.redhat.com ([66.187.233.31]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JBiky-0005LA-Ac; Sun, 06 Jan 2008 22:34:32 -0500 Original-Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m073YV8S017970; Sun, 6 Jan 2008 22:34:31 -0500 Original-Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m073YVBD029041; Sun, 6 Jan 2008 22:34:31 -0500 Original-Received: from opsy.redhat.com (ton.yyz.redhat.com [10.15.16.15]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m073YU66005381; Sun, 6 Jan 2008 22:34:31 -0500 Original-Received: by opsy.redhat.com (Postfix, from userid 500) id 3B435508021; Sun, 6 Jan 2008 20:03:30 -0700 (MST) X-Attribution: Tom In-Reply-To: <200801070322.m073MiNR005963@oogie-boogie.ics.uci.edu> (Dan Nicolaescu's message of "Sun\, 06 Jan 2008 19\:22\:44 -0800") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (gnu/linux) X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:86420 Archived-At: >>>>> "Dan" == Dan Nicolaescu writes: Dan> No opinion here. PCL-CVS calls it *cvs*, and it does not seem like a big Dan> issue when using it. FWIW, pcl-cvs isn't super friendly here, but it does make numbered buffers when you have more than one. Tom 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 19:36:38 -0800 Message-ID: <200801070336.m073acDi006408@oogie-boogie.ics.uci.edu> References: <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> <200801070259.m072xY0s005194@oogie-boogie.ics.uci.edu> <20080107032649.GD9473@thyrsus.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199677032 29603 80.91.229.12 (7 Jan 2008 03:37:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Jan 2008 03:37:12 +0000 (UTC) Cc: Tom Tromey , emacs-devel@gnu.org, Stefan Monnier , rms@gnu.org, harsanyi@mac.com To: esr@thyrsus.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 07 04:37:32 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 1JBinq-0008Ry-9I for ged-emacs-devel@m.gmane.org; Mon, 07 Jan 2008 04:37:30 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBinT-0002QE-Ej for ged-emacs-devel@m.gmane.org; Sun, 06 Jan 2008 22:37:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JBinP-0002Q8-Dx for emacs-devel@gnu.org; Sun, 06 Jan 2008 22:37:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JBinO-0002Pv-Ul for emacs-devel@gnu.org; Sun, 06 Jan 2008 22:37:03 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBinO-0002Ps-Pt for emacs-devel@gnu.org; Sun, 06 Jan 2008 22:37:02 -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 1JBinK-0005cT-VJ; Sun, 06 Jan 2008 22:36: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 m073acDi006408; Sun, 6 Jan 2008 19:36:38 -0800 (PST) In-Reply-To: <20080107032649.GD9473@thyrsus.com> (Eric S. Raymond's message of "Sun, 6 Jan 2008 22:26:49 -0500") Original-Lines: 29 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:86421 Archived-At: "Eric S. Raymond" writes: > Dan Nicolaescu : > > Stefan Monnier writes: > > > > > > Appended is a patch to make it work with svn. This patch is kind of a > > > > hack in that, if vc-status ever wants to support "non-terse" mode, > > > > then the function will have to be rewritten (since "svn status" and > > > > "svn status -v" have different formats). > > > > > > If we introduce a new non-dired thingy, I suggest we don't even try to > > > provide a non-terse mode. There are so many more important features to > > > add that we may as well decide from the get go that we'll never get to > > > that one. > > > > 100% agreement. > > Seems reasonable to me as well, except -- do we really want to show all > uncontrolled files and have no option to suppress them? IMO we should show them. We might need to add a new back-end command to add the files to the ignored list. This is no different when using the VCS from the command line, as long as you don't explicitly ignore unregistered files (and they are not ignored by some default rule), they will should up in the output of many commands. 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, 06 Jan 2008 22:59:34 -0500 Message-ID: References: <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> <200801070259.m072xY0s005194@oogie-boogie.ics.uci.edu> <20080107032649.GD9473@thyrsus.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199678392 32148 80.91.229.12 (7 Jan 2008 03:59:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Jan 2008 03:59:52 +0000 (UTC) Cc: Tom Tromey , Dan Nicolaescu , emacs-devel@gnu.org, rms@gnu.org, harsanyi@mac.com To: esr@thyrsus.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 07 05:00:11 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 1JBj9m-0004C0-Ua for ged-emacs-devel@m.gmane.org; Mon, 07 Jan 2008 05:00:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBj9P-0000Dk-Tu for ged-emacs-devel@m.gmane.org; Sun, 06 Jan 2008 22:59:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JBj9L-0000DR-82 for emacs-devel@gnu.org; Sun, 06 Jan 2008 22:59:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JBj9J-0000DF-1N for emacs-devel@gnu.org; Sun, 06 Jan 2008 22:59:41 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBj9I-0000DC-UA for emacs-devel@gnu.org; Sun, 06 Jan 2008 22:59:40 -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 1JBj9E-00088k-Si; Sun, 06 Jan 2008 22:59:36 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAFIygUfO+K+E/2dsb2JhbACmTw X-IronPort-AV: E=Sophos;i="4.24,251,1196658000"; d="scan'208";a="12351597" Original-Received: from smtp.pppoe.ca ([65.39.196.238]) by ironport2-out.pppoe.ca with ESMTP; 06 Jan 2008 22:59:35 -0500 Original-Received: from pastel.home ([206.248.175.132]) by smtp.pppoe.ca (Internet Mail Server v1.0) with ESMTP id NEO51535; Sun, 06 Jan 2008 22:59:35 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id D3D407F7C; Sun, 6 Jan 2008 22:59:34 -0500 (EST) In-Reply-To: <20080107032649.GD9473@thyrsus.com> (Eric S. Raymond's message of "Sun, 6 Jan 2008 22:26:49 -0500") 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:86422 Archived-At: > Seems reasonable to me as well, except -- do we really want to show all > uncontrolled files and have no option to suppress them? I don't understand: every VCS I know has some way to label files as "to be ignored". So there is always an "option to suppress them". Stefan 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, 06 Jan 2008 23:01:27 -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> <200801070322.m073MiNR005963@oogie-boogie.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199678504 32489 80.91.229.12 (7 Jan 2008 04:01:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Jan 2008 04:01:44 +0000 (UTC) Cc: esr@thyrsus.com, harsanyi@mac.com, Dan Nicolaescu , rms@gnu.org, emacs-devel@gnu.org To: Tom Tromey Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 07 05:02:05 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 1JBjBY-0004W4-Hr for ged-emacs-devel@m.gmane.org; Mon, 07 Jan 2008 05:02:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBjBB-0000aT-R0 for ged-emacs-devel@m.gmane.org; Sun, 06 Jan 2008 23:01:37 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JBjB8-0000aO-6m for emacs-devel@gnu.org; Sun, 06 Jan 2008 23:01:34 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JBjB5-0000aC-QX for emacs-devel@gnu.org; Sun, 06 Jan 2008 23:01:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBjB5-0000a9-LH for emacs-devel@gnu.org; Sun, 06 Jan 2008 23:01:31 -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 1JBjB1-0008KO-Tv; Sun, 06 Jan 2008 23:01:28 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAFIygUfO+K+E/2dsb2JhbACmTw X-IronPort-AV: E=Sophos;i="4.24,251,1196658000"; d="scan'208";a="12351627" Original-Received: from smtp.pppoe.ca ([65.39.196.238]) by ironport2-out.pppoe.ca with ESMTP; 06 Jan 2008 23:01:27 -0500 Original-Received: from pastel.home ([206.248.175.132]) by smtp.pppoe.ca (Internet Mail Server v1.0) with ESMTP id NFI54627; Sun, 06 Jan 2008 23:01:27 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 1CBE97F7C; Sun, 6 Jan 2008 23:01:26 -0500 (EST) In-Reply-To: (Tom Tromey's message of "Sun, 06 Jan 2008 20:03:30 -0700") 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:86423 Archived-At: Dan> No opinion here. PCL-CVS calls it *cvs*, and it does not seem like a big Dan> issue when using it. > FWIW, pcl-cvs isn't super friendly here, but it does make numbered > buffers when you have more than one. Actually PCL-CVS makes significant efforts to do better than that, My PCL-CVS buffers are called "*cvs*" but they get uniquified like file buffers, so if I have more than 1 they get names like "*cvs* | emacs" and "*cvs* | haskell-mode" etc... Stefan From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Introducing 'unrecognized and 'ignored Date: Mon, 07 Jan 2008 06:30:54 -0500 Message-ID: References: <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> <200801070259.m072xY0s005194@oogie-boogie.ics.uci.edu> <20080107032649.GD9473@thyrsus.com> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1199705531 5857 80.91.229.12 (7 Jan 2008 11:32:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Jan 2008 11:32:11 +0000 (UTC) Cc: tromey@redhat.com, harsanyi@mac.com, dann@ics.uci.edu, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: esr@thyrsus.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 07 12:32:31 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 1JBqDX-0004AN-1M for ged-emacs-devel@m.gmane.org; Mon, 07 Jan 2008 12:32:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBqDA-0005fV-4R for ged-emacs-devel@m.gmane.org; Mon, 07 Jan 2008 06:32:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JBqC1-0004jy-T7 for emacs-devel@gnu.org; Mon, 07 Jan 2008 06:30:57 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JBqC0-0004iW-AX for emacs-devel@gnu.org; Mon, 07 Jan 2008 06:30:57 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBqC0-0004iM-4f for emacs-devel@gnu.org; Mon, 07 Jan 2008 06:30:56 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JBqC0-0002VX-7U; Mon, 07 Jan 2008 06:30:56 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1JBqBy-0004az-R4; Mon, 07 Jan 2008 06:30:54 -0500 In-reply-to: <20080107032649.GD9473@thyrsus.com> (esr@thyrsus.com) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:86455 Archived-At: > > If we introduce a new non-dired thingy, I suggest we don't even try to > > provide a non-terse mode. What does "non-terse mode" mean in this context? From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Eric S. Raymond" Newsgroups: gmane.emacs.devel Subject: Re: Introducing 'unrecognized and 'ignored Date: Mon, 7 Jan 2008 07:54:20 -0500 Organization: Eric Conspiracy Secret Labs Message-ID: <20080107125420.GC9920@thyrsus.com> References: <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> <200801070259.m072xY0s005194@oogie-boogie.ics.uci.edu> <20080107032649.GD9473@thyrsus.com> Reply-To: esr@thyrsus.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199710460 22049 80.91.229.12 (7 Jan 2008 12:54:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Jan 2008 12:54:20 +0000 (UTC) Cc: tromey@redhat.com, harsanyi@mac.com, dann@ics.uci.edu, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 07 13:54:41 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 1JBrUz-0000ml-VD for ged-emacs-devel@m.gmane.org; Mon, 07 Jan 2008 13:54:38 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBrUd-0006m3-37 for ged-emacs-devel@m.gmane.org; Mon, 07 Jan 2008 07:54:15 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JBrUX-0006hs-Rj for emacs-devel@gnu.org; Mon, 07 Jan 2008 07:54:09 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JBrUV-0006fE-QJ for emacs-devel@gnu.org; Mon, 07 Jan 2008 07:54:08 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBrUV-0006f5-IM for emacs-devel@gnu.org; Mon, 07 Jan 2008 07:54:07 -0500 Original-Received: from static-71-162-243-5.phlapa.fios.verizon.net ([71.162.243.5] helo=snark.thyrsus.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JBrUS-0000RO-7n; Mon, 07 Jan 2008 07:54:04 -0500 Original-Received: by snark.thyrsus.com (Postfix, from userid 23) id CC71A41C316; Mon, 7 Jan 2008 07:54:20 -0500 (EST) Content-Disposition: inline In-Reply-To: X-Eric-Conspiracy: There is no conspiracy User-Agent: Mutt/1.5.15+20070412 (2007-04-11) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:86469 Archived-At: Richard Stallman : > > > If we introduce a new non-dired thingy, I suggest we don't even try to > > > provide a non-terse mode. > > What does "non-terse mode" mean in this context? Showing unregistred files, basically. -- Eric S. Raymond From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Eric S. Raymond" Newsgroups: gmane.emacs.devel Subject: Re: Introducing 'unrecognized and 'ignored Date: Mon, 7 Jan 2008 07:56:19 -0500 Organization: Eric Conspiracy Secret Labs Message-ID: <20080107125619.GD9920@thyrsus.com> References: <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> <200801070259.m072xY0s005194@oogie-boogie.ics.uci.edu> <20080107032649.GD9473@thyrsus.com> Reply-To: esr@thyrsus.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199710578 22386 80.91.229.12 (7 Jan 2008 12:56:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Jan 2008 12:56:18 +0000 (UTC) Cc: Tom Tromey , Dan Nicolaescu , emacs-devel@gnu.org, rms@gnu.org, harsanyi@mac.com To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 07 13:56:39 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 1JBrWt-0001Iv-15 for ged-emacs-devel@m.gmane.org; Mon, 07 Jan 2008 13:56:35 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBrWW-00086y-3N for ged-emacs-devel@m.gmane.org; Mon, 07 Jan 2008 07:56:12 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JBrWR-00086h-TI for emacs-devel@gnu.org; Mon, 07 Jan 2008 07:56:07 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JBrWQ-00086V-I8 for emacs-devel@gnu.org; Mon, 07 Jan 2008 07:56:06 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBrWQ-00086S-Bx for emacs-devel@gnu.org; Mon, 07 Jan 2008 07:56:06 -0500 Original-Received: from static-71-162-243-5.phlapa.fios.verizon.net ([71.162.243.5] helo=snark.thyrsus.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JBrWN-0000kT-5V; Mon, 07 Jan 2008 07:56:03 -0500 Original-Received: by snark.thyrsus.com (Postfix, from userid 23) id D260B41C316; Mon, 7 Jan 2008 07:56:19 -0500 (EST) Content-Disposition: inline In-Reply-To: X-Eric-Conspiracy: There is no conspiracy User-Agent: Mutt/1.5.15+20070412 (2007-04-11) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:86470 Archived-At: Stefan Monnier : > > Seems reasonable to me as well, except -- do we really want to show all > > uncontrolled files and have no option to suppress them? > > I don't understand: every VCS I know has some way to label files as "to > be ignored". So there is always an "option to suppress them". Yes, but you sure don't want to have to set an ignore property by hand on every member of a huge tree you happen to have in your working directory and *don't* want to be in the repo. This case is already annoying me. -- Eric S. Raymond 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, 07 Jan 2008 10:31:32 -0500 Message-ID: References: <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> <200801070259.m072xY0s005194@oogie-boogie.ics.uci.edu> <20080107032649.GD9473@thyrsus.com> <20080107125619.GD9920@thyrsus.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199719918 24498 80.91.229.12 (7 Jan 2008 15:31:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Jan 2008 15:31:58 +0000 (UTC) Cc: Tom Tromey , Dan Nicolaescu , emacs-devel@gnu.org, rms@gnu.org, harsanyi@mac.com To: esr@thyrsus.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 07 16:32:18 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 1JBtxT-0001x2-MV for ged-emacs-devel@m.gmane.org; Mon, 07 Jan 2008 16:32:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBtx6-0006xw-LH for ged-emacs-devel@m.gmane.org; Mon, 07 Jan 2008 10:31:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JBtx3-0006xg-0i for emacs-devel@gnu.org; Mon, 07 Jan 2008 10:31:45 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JBtx0-0006xU-Jr for emacs-devel@gnu.org; Mon, 07 Jan 2008 10:31:43 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBtx0-0006xR-Ej for emacs-devel@gnu.org; Mon, 07 Jan 2008 10:31:42 -0500 Original-Received: from mercure.iro.umontreal.ca ([132.204.24.67]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JBtww-0003MC-Rt; Mon, 07 Jan 2008 10:31:38 -0500 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 746342CEF6E; Mon, 7 Jan 2008 10:31:38 -0500 (EST) Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 2878F3FE0; Mon, 7 Jan 2008 10:31:33 -0500 (EST) Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 136E86CAB6; Mon, 7 Jan 2008 10:31:33 -0500 (EST) In-Reply-To: <20080107125619.GD9920@thyrsus.com> (Eric S. Raymond's message of "Mon, 7 Jan 2008 07:56:19 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:86483 Archived-At: >> > Seems reasonable to me as well, except -- do we really want to show all >> > uncontrolled files and have no option to suppress them? >> >> I don't understand: every VCS I know has some way to label files as "to >> be ignored". So there is always an "option to suppress them". > Yes, but you sure don't want to have to set an ignore property by hand > on every member of a huge tree you happen to have in your working > directory and *don't* want to be in the repo. I don't see a problem here: you set the "ignore" property on the tree itself, of course, not on each individual file. In any case, I don't understand what this has to do with VC: no matter which front-end you're going to use, you'll hit the same problem, and the answer is always the same: use the "ignore" property. Stefan 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, 07 Jan 2008 10:32:16 -0500 Message-ID: References: <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> <200801070259.m072xY0s005194@oogie-boogie.ics.uci.edu> <20080107032649.GD9473@thyrsus.com> <20080107125420.GC9920@thyrsus.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199719962 24659 80.91.229.12 (7 Jan 2008 15:32:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Jan 2008 15:32:42 +0000 (UTC) Cc: tromey@redhat.com, harsanyi@mac.com, dann@ics.uci.edu, Richard Stallman , emacs-devel@gnu.org To: esr@thyrsus.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 07 16:33:00 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 1JBtyE-0002BC-O7 for ged-emacs-devel@m.gmane.org; Mon, 07 Jan 2008 16:32:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBtxr-0007Jj-PA for ged-emacs-devel@m.gmane.org; Mon, 07 Jan 2008 10:32:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JBtxl-0007Ig-Tn for emacs-devel@gnu.org; Mon, 07 Jan 2008 10:32:29 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JBtxk-0007IS-VY for emacs-devel@gnu.org; Mon, 07 Jan 2008 10:32:29 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBtxk-0007IM-QM for emacs-devel@gnu.org; Mon, 07 Jan 2008 10:32:28 -0500 Original-Received: from mercure.iro.umontreal.ca ([132.204.24.67]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JBtxh-0003Wm-7B; Mon, 07 Jan 2008 10:32:25 -0500 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 0FB5A2CEF6E; Mon, 7 Jan 2008 10:32:25 -0500 (EST) Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 01FC93FE0; Mon, 7 Jan 2008 10:32:17 -0500 (EST) Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id EE0706CAB6; Mon, 7 Jan 2008 10:32:16 -0500 (EST) In-Reply-To: <20080107125420.GC9920@thyrsus.com> (Eric S. Raymond's message of "Mon, 7 Jan 2008 07:54:20 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:86484 Archived-At: >> > > If we introduce a new non-dired thingy, I suggest we don't even try to >> > > provide a non-terse mode. >> >> What does "non-terse mode" mean in this context? > Showing unregistred files, basically. I thought "non-terse" mostly means to show "all" files, including the up-to-date ones. Stefan From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.devel Subject: PCL-CVS buffers (was: Introducing 'unrecognized and 'ignored) Date: Mon, 07 Jan 2008 22:15:01 +0100 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> <200801070322.m073MiNR005963@oogie-boogie.ics.uci.edu> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199740547 6642 80.91.229.12 (7 Jan 2008 21:15:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Jan 2008 21:15:47 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 07 22:16:08 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 1JBzKH-0003dd-AG for ged-emacs-devel@m.gmane.org; Mon, 07 Jan 2008 22:16:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBzJt-0007lS-UF for ged-emacs-devel@m.gmane.org; Mon, 07 Jan 2008 16:15:41 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JBzJr-0007lN-12 for emacs-devel@gnu.org; Mon, 07 Jan 2008 16:15:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JBzJo-0007lB-Rt for emacs-devel@gnu.org; Mon, 07 Jan 2008 16:15:37 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBzJo-0007l8-NI for emacs-devel@gnu.org; Mon, 07 Jan 2008 16:15:36 -0500 Original-Received: from mail.uni-ulm.de ([134.60.1.11]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JBzJo-0001Yy-88 for emacs-devel@gnu.org; Mon, 07 Jan 2008 16:15:36 -0500 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by mail.uni-ulm.de (8.14.2/8.14.2) with ESMTP id m07LFVSh008253; Mon, 7 Jan 2008 22:15:32 +0100 (MET) Original-Received: from localhost (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id C5CB612DF0; Mon, 7 Jan 2008 22:15:31 +0100 (CET) X-Face: :6KQZ[nyoS_edmB.%gw-=)BYth^|2+Y+^cu%I$FSx!&>-'om>3H7A|M&n(V7fIo3P.; yo.b yq4$p; ZaBtkv)\}biaiBQe"mD}iib1AA@99-fZ7i*bLhNRVC&0Wkxg9)SH?oWc@{ Mail-Followup-To: Stefan Monnier , emacs-devel@gnu.org In-Reply-To: (Stefan Monnier's message of "Sun, 06 Jan 2008 23:01:27 -0500") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) X-DCC-INFN-TO-Metrics: poseidon 1233; Body=2 Fuz1=2 Fuz2=2 X-Virus-Scanned: by amavisd-new 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:86516 Archived-At: On Mon, Jan 07 2008, Stefan Monnier wrote: >> FWIW, pcl-cvs isn't super friendly here, but it does make numbered >> buffers when you have more than one. > > Actually PCL-CVS makes significant efforts to do better than that, > My PCL-CVS buffers are called "*cvs*" but they get uniquified like file > buffers, so if I have more than 1 they get names like "*cvs* | emacs" > and "*cvs* | haskell-mode" etc... Hm, I do this by means of `uniquify-buffer-name-style'. Is there a (better?) facility in PCL-CVS for naming buffers? Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/ 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: PCL-CVS buffers Date: Mon, 07 Jan 2008 21:33:37 -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> <200801070322.m073MiNR005963@oogie-boogie.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199759628 31699 80.91.229.12 (8 Jan 2008 02:33:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Jan 2008 02:33:48 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 08 03:34:10 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 1JC4I5-0000Do-1o for ged-emacs-devel@m.gmane.org; Tue, 08 Jan 2008 03:34:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JC4Hh-0006kv-JY for ged-emacs-devel@m.gmane.org; Mon, 07 Jan 2008 21:33:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JC4Hd-0006jF-JJ for emacs-devel@gnu.org; Mon, 07 Jan 2008 21:33:41 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JC4Hb-0006gx-Dz for emacs-devel@gnu.org; Mon, 07 Jan 2008 21:33:40 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JC4Hb-0006gh-77 for emacs-devel@gnu.org; Mon, 07 Jan 2008 21:33:39 -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 1JC4Hb-0004qh-4X for emacs-devel@gnu.org; Mon, 07 Jan 2008 21:33:39 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAOhvgkfO+K+E/2dsb2JhbACoTw X-IronPort-AV: E=Sophos;i="4.24,255,1196658000"; d="scan'208";a="12396129" Original-Received: from smtp.pppoe.ca ([65.39.196.238]) by ironport2-out.pppoe.ca with ESMTP; 07 Jan 2008 21:33:37 -0500 Original-Received: from pastel.home ([206.248.175.132]) by smtp.pppoe.ca (Internet Mail Server v1.0) with ESMTP id ODP54637; Mon, 07 Jan 2008 21:33:37 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 262017F91; Mon, 7 Jan 2008 21:33:36 -0500 (EST) In-Reply-To: (Reiner Steib's message of "Mon, 07 Jan 2008 22:15:01 +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:86543 Archived-At: >>> FWIW, pcl-cvs isn't super friendly here, but it does make numbered >>> buffers when you have more than one. >> >> Actually PCL-CVS makes significant efforts to do better than that, >> My PCL-CVS buffers are called "*cvs*" but they get uniquified like file >> buffers, so if I have more than 1 they get names like "*cvs* | emacs" >> and "*cvs* | haskell-mode" etc... > Hm, I do this by means of `uniquify-buffer-name-style'. So do I. > Is there a (better?) facility in PCL-CVS for naming buffers? No, it's the same. But since PCL-CVS buffers aren't plain old file-buffers, uniquify needs some help from PCL-CVS. Stefan From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Introducing 'unrecognized and 'ignored Date: Tue, 08 Jan 2008 14:06:51 -0500 Message-ID: References: <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> <200801070259.m072xY0s005194@oogie-boogie.ics.uci.edu> <20080107032649.GD9473@thyrsus.com> <20080107125420.GC9920@thyrsus.com> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1199819266 21398 80.91.229.12 (8 Jan 2008 19:07:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Jan 2008 19:07:46 +0000 (UTC) Cc: tromey@redhat.com, harsanyi@mac.com, dann@ics.uci.edu, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: esr@thyrsus.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 08 20:08: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 1JCJnu-0004li-S8 for ged-emacs-devel@m.gmane.org; Tue, 08 Jan 2008 20:08:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JCJnX-0003yf-Hx for ged-emacs-devel@m.gmane.org; Tue, 08 Jan 2008 14:07:39 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JCJmn-0003Rl-BI for emacs-devel@gnu.org; Tue, 08 Jan 2008 14:06:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JCJmm-0003Qe-FR for emacs-devel@gnu.org; Tue, 08 Jan 2008 14:06:52 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JCJmm-0003QW-73 for emacs-devel@gnu.org; Tue, 08 Jan 2008 14:06:52 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JCJml-0001KN-TE; Tue, 08 Jan 2008 14:06:51 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1JCJml-0003ZQ-7L; Tue, 08 Jan 2008 14:06:51 -0500 In-reply-to: <20080107125420.GC9920@thyrsus.com> (esr@thyrsus.com) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:86571 Archived-At: > > > If we introduce a new non-dired thingy, I suggest we don't even try to > > > provide a non-terse mode. > > What does "non-terse mode" mean in this context? Showing unregistred files, basically. If this feature is disconnected from Dired, I guess there is no need to implement that mode. It follows there is an advantage in staying with Dired: continuing to offer that mode. From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: Introducing 'unrecognized and 'ignored Date: Wed, 09 Jan 2008 04:34:01 +0900 Message-ID: <87abngm7rq.fsf@catnip.gol.com> References: <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> <200801070259.m072xY0s005194@oogie-boogie.ics.uci.edu> <20080107032649.GD9473@thyrsus.com> <20080107125420.GC9920@thyrsus.com> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199820956 28025 80.91.229.12 (8 Jan 2008 19:35:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Jan 2008 19:35:56 +0000 (UTC) Cc: tromey@redhat.com, emacs-devel@gnu.org, esr@thyrsus.com, dann@ics.uci.edu, monnier@iro.umontreal.ca, harsanyi@mac.com To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 08 20:36:17 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 1JCKFD-0006QE-IN for ged-emacs-devel@m.gmane.org; Tue, 08 Jan 2008 20:36:15 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JCKEq-0006Yc-FR for ged-emacs-devel@m.gmane.org; Tue, 08 Jan 2008 14:35:52 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JCKDM-0005yS-4l for emacs-devel@gnu.org; Tue, 08 Jan 2008 14:34:20 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JCKDH-0005wg-HQ for emacs-devel@gnu.org; Tue, 08 Jan 2008 14:34:19 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JCKDH-0005wW-CJ for emacs-devel@gnu.org; Tue, 08 Jan 2008 14:34:15 -0500 Original-Received: from smtp02.dentaku.gol.com ([203.216.5.72]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JCKD9-0001Qq-RJ; Tue, 08 Jan 2008 14:34:08 -0500 Original-Received: from 203-216-100-219.dsl.gol.ne.jp ([203.216.100.219] helo=catnip.gol.com) by smtp02.dentaku.gol.com with esmtpa (Dentaku) id 1JCKD4-0004TR-Db; Wed, 09 Jan 2008 04:34:02 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id 490222FF7; Wed, 9 Jan 2008 04:34:01 +0900 (JST) System-Type: i686-pc-linux-gnu In-Reply-To: (Richard Stallman's message of "Tue, 08 Jan 2008 14:06:51 -0500") Original-Lines: 24 X-Abuse-Complaints: abuse@gol.com X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:86579 Archived-At: Richard Stallman writes: > Showing unregistred files, basically. > > If this feature is disconnected from Dired, I guess there is no need > to implement that mode. It follows there is an advantage in staying > with Dired: continuing to offer that mode. The thing is that purely using a "VCS-centric" view of what files are available is usually _much_ more efficient. The VCS usually can efficiently tell you about an "interesting subset" (non-ignored) of unregistered files, and I think that's enough -- there's no need to read the filesystem directly. [Indeed, reading the filesystem directly would both require a lot more programming effort, and probably be much, much slower (remember that one of the big problems with vc-dired historically is that it's so slow as to be basically unusable for non-trivial projects).] -Miles -- "Nah, there's no bigger atheist than me. Well, I take that back. I'm a cancer screening away from going agnostic and a biopsy away from full-fledged Christian." [Adam Carolla] 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: Fri, 18 Jan 2008 15:31:17 -0800 Message-ID: <200801182331.m0INVVMm017062@sallyv1.ics.uci.edu> References: <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> <20080106155704.GU30869@thyrsus.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1200699289 17861 80.91.229.12 (18 Jan 2008 23:34:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Jan 2008 23:34:49 +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 Sat Jan 19 00:35:02 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 1JG0jf-0006KA-Rm for ged-emacs-devel@m.gmane.org; Sat, 19 Jan 2008 00:34:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JG0jG-0000Qd-QG for ged-emacs-devel@m.gmane.org; Fri, 18 Jan 2008 18:34:30 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JG0jD-0000QT-8w for emacs-devel@gnu.org; Fri, 18 Jan 2008 18:34:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JG0jB-0000Pj-QD for emacs-devel@gnu.org; Fri, 18 Jan 2008 18:34:27 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JG0jB-0000Pf-JH for emacs-devel@gnu.org; Fri, 18 Jan 2008 18:34:25 -0500 Original-Received: from sallyv1.ics.uci.edu ([128.195.1.109]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1JG0j7-0000sG-Bv; Fri, 18 Jan 2008 18:34:21 -0500 X-ICS-MailScanner-Watermark: 1201303892.95633@5tXwIUFLTRVkn0YIoY2slA Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv1.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m0INVVMm017062; Fri, 18 Jan 2008 15:31:31 -0800 (PST) In-Reply-To: <20080106155704.GU30869@thyrsus.com> (Eric S. Raymond's message of "Sun, 6 Jan 2008 10:57:04 -0500") Original-Lines: 16 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 10 (beta) 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:87068 Archived-At: "Eric S. Raymond" writes: > Dan Nicolaescu : > > 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. > > Noted. I'll carve out some time later today or tomorrow to look at it. Have you had a chance to look at vc-status? It's in decent shape now. It needs more UI improvements, and polish, but the main functionality is there. Thanks --dan 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: Fri, 18 Jan 2008 15:46:39 -0800 Message-ID: <200801182346.m0INkiEg022130@sallyv1.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> <200801061037.m06AbIRD004966@oogie-boogie.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1200700100 20024 80.91.229.12 (18 Jan 2008 23:48:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Jan 2008 23:48:20 +0000 (UTC) Cc: esr@thyrsus.com, harsanyi@mac.com, rms@gnu.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Tom Tromey Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 19 00:48:38 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 1JG0wt-0001sA-7H for ged-emacs-devel@m.gmane.org; Sat, 19 Jan 2008 00:48:35 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JG0wU-00011H-89 for ged-emacs-devel@m.gmane.org; Fri, 18 Jan 2008 18:48:10 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JG0wQ-0000z5-0T for emacs-devel@gnu.org; Fri, 18 Jan 2008 18:48:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JG0wL-0000sL-Hl for emacs-devel@gnu.org; Fri, 18 Jan 2008 18:48:05 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JG0wL-0000sI-Cx for emacs-devel@gnu.org; Fri, 18 Jan 2008 18:48:01 -0500 Original-Received: from sallyv1.ics.uci.edu ([128.195.1.109]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1JG0wH-0003MR-ER; Fri, 18 Jan 2008 18:47:57 -0500 X-ICS-MailScanner-Watermark: 1201304804.53493@YYcrYiWuimu6bBOBiAed5g Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv1.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m0INkiEg022130; Fri, 18 Jan 2008 15:46:44 -0800 (PST) In-Reply-To: (Tom Tromey's message of "Sun, 06 Jan 2008 13:00:33 -0700") Original-Lines: 10 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.363, required 5, autolearn=disabled, ALL_TRUSTED -1.44, TW_SV 0.08) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) 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:87069 Archived-At: Tom Tromey writes: > 2008-01-06 Tom Tromey > > * vc-svn.el (vc-svn-dir-status): New function. Sorry, I was convinced that this was checked in, but it was not. It is now. But it needs to be updated to work with the asynchronous interface. Can you please do that? From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.devel Subject: Re: Introducing 'unrecognized and 'ignored Date: Fri, 18 Jan 2008 17:10:42 -0700 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> Reply-To: Tom Tromey NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1200703577 28556 80.91.229.12 (19 Jan 2008 00:46:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Jan 2008 00:46:17 +0000 (UTC) Cc: esr@thyrsus.com, harsanyi@mac.com, rms@gnu.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 19 01:46:35 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 1JG1r0-0008Vx-6Z for ged-emacs-devel@m.gmane.org; Sat, 19 Jan 2008 01:46:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JG1qb-0000Fp-74 for ged-emacs-devel@m.gmane.org; Fri, 18 Jan 2008 19:46:09 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JG1qW-0000Fk-IH for emacs-devel@gnu.org; Fri, 18 Jan 2008 19:46:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JG1qU-0000FG-4F for emacs-devel@gnu.org; Fri, 18 Jan 2008 19:46:03 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JG1qU-0000F5-0T for emacs-devel@gnu.org; Fri, 18 Jan 2008 19:46:02 -0500 Original-Received: from mx1.redhat.com ([66.187.233.31]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JG1qQ-0004C4-6u; Fri, 18 Jan 2008 19:45:58 -0500 Original-Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m0J0jqf4013971; Fri, 18 Jan 2008 19:45:52 -0500 Original-Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m0J0jpuQ010302; Fri, 18 Jan 2008 19:45:51 -0500 Original-Received: from opsy.redhat.com (ton.yyz.redhat.com [10.15.16.15]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m0J0jpsO029124; Fri, 18 Jan 2008 19:45:51 -0500 Original-Received: by opsy.redhat.com (Postfix, from userid 500) id 5B7673780F4; Fri, 18 Jan 2008 17:10:42 -0700 (MST) X-Attribution: Tom In-Reply-To: <200801182346.m0INkiEg022130@sallyv1.ics.uci.edu> (Dan Nicolaescu's message of "Fri\, 18 Jan 2008 15\:46\:39 -0800") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (gnu/linux) X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:87071 Archived-At: >>>>> "Dan" == Dan Nicolaescu writes: Dan> Sorry, I was convinced that this was checked in, but it was Dan> not. It is now. Thanks. I've been meaning to ping the list about all the patches I have sent but that have not been committed or reviewed. In GCC-land we tell people to ping after a week... what is the accepted time for Emacs? Dan> But it needs to be updated to work with the asynchronous Dan> interface. Can you please do that? I will try to get to it soon. BTW I noticed that the new dir-status back end hook is not documented. Tom 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: Fri, 18 Jan 2008 17:20:19 -0800 Message-ID: <200801190120.m0J1KNvj021970@sallyv1.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> <200801061037.m06AbIRD004966@oogie-boogie.ics.uci.edu> <200801182346.m0INkiEg022130@sallyv1.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1200705674 693 80.91.229.12 (19 Jan 2008 01:21:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Jan 2008 01:21:14 +0000 (UTC) Cc: esr@thyrsus.com, harsanyi@mac.com, rms@gnu.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Tom Tromey Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 19 02:21:31 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 1JG2On-0008E7-1l for ged-emacs-devel@m.gmane.org; Sat, 19 Jan 2008 02:21:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JG2ON-0001TO-TR for ged-emacs-devel@m.gmane.org; Fri, 18 Jan 2008 20:21:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JG2OK-0001TB-Pm for emacs-devel@gnu.org; Fri, 18 Jan 2008 20:21:00 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JG2OK-0001Sz-Aq for emacs-devel@gnu.org; Fri, 18 Jan 2008 20:21:00 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JG2OK-0001Sw-4P for emacs-devel@gnu.org; Fri, 18 Jan 2008 20:21:00 -0500 Original-Received: from sallyv1.ics.uci.edu ([128.195.1.109]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1JG2OG-0000X5-9P; Fri, 18 Jan 2008 20:20:56 -0500 X-ICS-MailScanner-Watermark: 1201310425.21553@fZqefjayoRDs5IuKpZWzgg Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv1.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m0J1KNvj021970; Fri, 18 Jan 2008 17:20:23 -0800 (PST) In-Reply-To: (Tom Tromey's message of "Fri, 18 Jan 2008 17:10:42 -0700") Original-Lines: 20 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 10 (beta) 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:87072 Archived-At: Tom Tromey writes: > >>>>> "Dan" == Dan Nicolaescu writes: > > Dan> Sorry, I was convinced that this was checked in, but it was > Dan> not. It is now. > > Thanks. > > I've been meaning to ping the list about all the patches I have sent > but that have not been committed or reviewed. In GCC-land we tell > people to ping after a week... what is the accepted time for Emacs? No idea if there's an official policy, but 1 week sounds reasonable. > BTW I noticed that the new dir-status back end hook is not > documented. Sort of intentional. Given that its still subject to change, just trying to minimize the effort put into this before the approach is accepted. From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.devel Subject: Re: Introducing 'unrecognized and 'ignored Date: Fri, 18 Jan 2008 23:00:06 -0700 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> Reply-To: Tom Tromey NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1200724545 2665 80.91.229.12 (19 Jan 2008 06:35:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Jan 2008 06:35:45 +0000 (UTC) Cc: esr@thyrsus.com, harsanyi@mac.com, rms@gnu.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 19 07:36:03 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 1JG7J9-0005pC-9F for ged-emacs-devel@m.gmane.org; Sat, 19 Jan 2008 07:35:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JG7Ik-0004hi-GK for ged-emacs-devel@m.gmane.org; Sat, 19 Jan 2008 01:35:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JG7Ie-0004fn-KV for emacs-devel@gnu.org; Sat, 19 Jan 2008 01:35:28 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JG7Ic-0004eP-In for emacs-devel@gnu.org; Sat, 19 Jan 2008 01:35:27 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JG7Ic-0004eG-9t for emacs-devel@gnu.org; Sat, 19 Jan 2008 01:35:26 -0500 Original-Received: from mx1.redhat.com ([66.187.233.31]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JG7IY-0001vn-C3; Sat, 19 Jan 2008 01:35:22 -0500 Original-Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m0J6ZL3p012340; Sat, 19 Jan 2008 01:35:21 -0500 Original-Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m0J6ZKFk018727; Sat, 19 Jan 2008 01:35:20 -0500 Original-Received: from opsy.redhat.com (ton.yyz.redhat.com [10.15.16.15]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m0J6ZKf8017777; Sat, 19 Jan 2008 01:35:20 -0500 Original-Received: by opsy.redhat.com (Postfix, from userid 500) id 2E65537811E; Fri, 18 Jan 2008 23:00:06 -0700 (MST) X-Attribution: Tom In-Reply-To: <200801182346.m0INkiEg022130@sallyv1.ics.uci.edu> (Dan Nicolaescu's message of "Fri\, 18 Jan 2008 15\:46\:39 -0800") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (gnu/linux) X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:87076 Archived-At: >>>>> "Dan" == Dan Nicolaescu writes: Dan> But it needs to be updated to work with the asynchronous Dan> interface. Can you please do that? Here's a patch. I'm not really sure about using generate-new-buffer-name here. Presumably each vc-status buffer should have a single vc "work" buffer as well. After trying this a couple times, I think the user needs an indication of whether anything is running. pcl-cvs puts this nicely in the buffer... anyway, if you run vc-status on a directory with no changes, it can be a little confusing as-is. Finally, I wonder if it makes sense to call the callback with partial results, and build up the buffer contents incrementally. With large directories, both pcl-cvs and psvn pause noticeably when "rendering". I suppose this would only help if the underlying tool works this way itself. Tom ChangeLog: 2008-01-19 Tom Tromey * vc-svn.el (vc-svn-after-dir-status): New function. (vc-svn-dir-status): Run svn asynchronously. Index: vc-svn.el =================================================================== RCS file: /sources/emacs/emacs/lisp/vc-svn.el,v retrieving revision 1.64 diff -u -r1.64 vc-svn.el --- vc-svn.el 18 Jan 2008 23:45:03 -0000 1.64 +++ vc-svn.el 19 Jan 2008 06:30:23 -0000 @@ -158,28 +158,34 @@ (vc-svn-command t 0 nil "status" (if localp "-v" "-u")) (vc-svn-parse-status)))) -(defun vc-svn-dir-status (dir) - "Return a list of conses (FILE . STATE) for DIR." - (with-temp-buffer - (let ((default-directory (file-name-as-directory dir)) - (state-map '((?A . added) - (?C . edited) - (?D . removed) - (?I . ignored) - (?M . edited) - (?R . removed) - (?? . unregistered) - ;; This is what vc-svn-parse-status does. - (?~ . edited))) - result) - (vc-svn-command t 0 nil "status") - (goto-char (point-min)) - (while (re-search-forward "^\\(.\\)..... \\(.*\\)$" nil t) - (let ((state (cdr (assq (aref (match-string 1) 0) state-map))) - (filename (match-string 2))) - (when state - (setq result (cons (cons filename state) result))))) - result))) +(defun vc-svn-after-dir-status (callback buffer) + (let ((state-map '((?A . added) + (?C . edited) + (?D . removed) + (?I . ignored) + (?M . edited) + (?R . removed) + (?? . unregistered) + ;; This is what vc-svn-parse-status does. + (?~ . edited))) + result) + (goto-char (point-min)) + (while (re-search-forward "^\\(.\\)..... \\(.*\\)$" nil t) + (let ((state (cdr (assq (aref (match-string 1) 0) state-map))) + (filename (match-string 2))) + (when state + (setq result (cons (cons filename state) result))))) + (funcall callback result buffer))) + +(defun vc-svn-dir-status (dir callback buffer) + "Run 'svn status' for DIR and update BUFFER via CALLBACK. +CALLBACK is called as (CALLBACK RESULT BUFFER), where +RESULT is a list of conses (FILE . STATE) for directory DIR." + (with-current-buffer (get-buffer-create + (generate-new-buffer-name " *vc svn status*")) + (vc-svn-command (current-buffer) 'async nil "status") + (vc-exec-after + `(vc-svn-after-dir-status (quote ,callback) ,buffer)))) (defun vc-svn-working-revision (file) "SVN-specific version of `vc-working-revision'." 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: Sat, 19 Jan 2008 09:05:24 -0800 Message-ID: <200801191705.m0JH5WOU026943@sallyv1.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> <200801061037.m06AbIRD004966@oogie-boogie.ics.uci.edu> <200801182346.m0INkiEg022130@sallyv1.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1200762629 29596 80.91.229.12 (19 Jan 2008 17:10:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Jan 2008 17:10:29 +0000 (UTC) Cc: esr@thyrsus.com, harsanyi@mac.com, rms@gnu.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Tom Tromey Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 19 18:10:46 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 1JGHDP-0007O8-2S for ged-emacs-devel@m.gmane.org; Sat, 19 Jan 2008 18:10:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGHCz-0001mF-L2 for ged-emacs-devel@m.gmane.org; Sat, 19 Jan 2008 12:10:17 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JGH92-0004RC-5H for emacs-devel@gnu.org; Sat, 19 Jan 2008 12:06:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JGH90-0004N2-0l for emacs-devel@gnu.org; Sat, 19 Jan 2008 12:06:11 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGH8z-0004MZ-Ny for emacs-devel@gnu.org; Sat, 19 Jan 2008 12:06:09 -0500 Original-Received: from sallyv1.ics.uci.edu ([128.195.1.109]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1JGH8v-0003tW-9e; Sat, 19 Jan 2008 12:06:05 -0500 X-ICS-MailScanner-Watermark: 1201367133.33988@jy7PSYvevA+2zxc8T56FaA Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv1.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m0JH5WOU026943; Sat, 19 Jan 2008 09:05:32 -0800 (PST) In-Reply-To: (Tom Tromey's message of "Fri, 18 Jan 2008 23:00:06 -0700") Original-Lines: 36 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 10 (beta) 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:87080 Archived-At: Tom Tromey writes: > >>>>> "Dan" == Dan Nicolaescu writes: > > Dan> But it needs to be updated to work with the asynchronous > Dan> interface. Can you please do that? > > Here's a patch. Thanks, checked in. > I'm not really sure about using generate-new-buffer-name here. > Presumably each vc-status buffer should have a single vc "work" buffer > as well. IMO yes. I did it that way for vc-hg. But it still needs some management: warn if the buffer already exist and refuse to start a new status command, remove the buffer after it has been processed. > After trying this a couple times, I think the user needs an indication > of whether anything is running. pcl-cvs puts this nicely in the > buffer... anyway, if you run vc-status on a directory with no changes, > it can be a little confusing as-is. Yep. vc-status-refresh and vc-update-vc-status-buffer can insert some start/end messages similar to PCL-CVS. It would be nice if we had something more general that is easily visible for buffers that use VC async commands. Something like changing the background of a mode-line entry for VC buffers that are waiting for a command to compile. This should make it very easy to spot a buffer that is still executing some command. log, diff and annotate could all use this functionality. 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: Sat, 19 Jan 2008 14:40:20 -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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1200771646 23945 80.91.229.12 (19 Jan 2008 19:40:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Jan 2008 19:40:46 +0000 (UTC) Cc: Tom Tromey , esr@thyrsus.com, harsanyi@mac.com, rms@gnu.org, emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 19 20:41:03 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 1JGJYo-0003E6-07 for ged-emacs-devel@m.gmane.org; Sat, 19 Jan 2008 20:40:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGJYO-0003Kd-SO for ged-emacs-devel@m.gmane.org; Sat, 19 Jan 2008 14:40:32 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JGJYK-0003Jb-AZ for emacs-devel@gnu.org; Sat, 19 Jan 2008 14:40:28 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JGJYI-0003I9-7r for emacs-devel@gnu.org; Sat, 19 Jan 2008 14:40:27 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGJYI-0003I1-2q for emacs-devel@gnu.org; Sat, 19 Jan 2008 14:40:26 -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 1JGJYE-0001Hf-7S; Sat, 19 Jan 2008 14:40:22 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CABrhkUfO+KVp/2dsb2JhbACtTX4 X-IronPort-AV: E=Sophos;i="4.25,221,1199682000"; d="scan'208";a="12951266" Original-Received: from smtp.pppoe.ca ([65.39.196.238]) by ironport2-out.pppoe.ca with ESMTP; 19 Jan 2008 14:40:20 -0500 Original-Received: from pastel.home ([206.248.165.105]) by smtp.pppoe.ca (Internet Mail Server v1.0) with ESMTP id ZUH77320; Sat, 19 Jan 2008 14:40:20 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 4F4B0800F; Sat, 19 Jan 2008 14:40:20 -0500 (EST) In-Reply-To: <200801191705.m0JH5WOU026943@sallyv1.ics.uci.edu> (Dan Nicolaescu's message of "Sat, 19 Jan 2008 09:05:24 -0800") 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:87085 Archived-At: >> I'm not really sure about using generate-new-buffer-name here. >> Presumably each vc-status buffer should have a single vc "work" buffer >> as well. > IMO yes. I did it that way for vc-hg. But it still needs some > management: warn if the buffer already exist and refuse to start a new > status command, remove the buffer after it has been processed. Yes, maybe Tom is right, sorry for telling you to always use a new buffer. Part of the PCL-CVS could probably be reused here because it shouldn't have any CVS dependency, but then again, it may not be worth the trouble. >> After trying this a couple times, I think the user needs an indication >> of whether anything is running. pcl-cvs puts this nicely in the >> buffer... anyway, if you run vc-status on a directory with no changes, >> it can be a little confusing as-is. > Yep. vc-status-refresh and vc-update-vc-status-buffer can insert some > start/end messages similar to PCL-CVS. > It would be nice if we had something more general that is easily > visible for buffers that use VC async commands. > Something like changing the background of a mode-line entry for VC > buffers that are waiting for a command to compile. This should make it > very easy to spot a buffer that is still executing some command. There's the mode-line-process entry, but it's not visible enough. Also the PCL-CVS way of putting the actual command in the buffer turned out to be very useful to double-check what it is doing (and even more so when several commands are running at the same time). > log, diff and annotate could all use this functionality. Indeed, they could use `mode-line-process'. As for on-the-fly updating rather than updating in the end. It's been on my todo list for PCL-CVS, but I never got to it. It'd probably be a good idea to add this from the beginning because it substantially changes the way things work: you have to use a process filter rather than a sentinel, you have to check whether the partial output you have is enough to parse it reliably or whether we need to way for more output, and you have to be able to update the display incrementally. Stefan From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.devel Subject: Re: Introducing 'unrecognized and 'ignored Date: Sat, 19 Jan 2008 21:03:33 +0100 Message-ID: <87sl0tbn1m.fsf@ambire.localdomain> 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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1200775365 2116 80.91.229.12 (19 Jan 2008 20:42:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Jan 2008 20:42:45 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 19 21:43:03 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 1JGKWs-0004kI-GC for ged-emacs-devel@m.gmane.org; Sat, 19 Jan 2008 21:43:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGKWT-0000rQ-Ap for ged-emacs-devel@m.gmane.org; Sat, 19 Jan 2008 15:42:37 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JGKWQ-0000po-2B for emacs-devel@gnu.org; Sat, 19 Jan 2008 15:42:34 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JGKWO-0000o3-IX for emacs-devel@gnu.org; Sat, 19 Jan 2008 15:42:33 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGKWO-0000nu-Fi for emacs-devel@gnu.org; Sat, 19 Jan 2008 15:42:32 -0500 Original-Received: from ppp-81-38.21-151.libero.it ([151.21.38.81] helo=ambire.localdomain) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JGKWO-0002vD-53 for emacs-devel@gnu.org; Sat, 19 Jan 2008 15:42:32 -0500 Original-Received: from ttn by ambire.localdomain with local (Exim 4.63) (envelope-from ) id 1JGJuf-0003UM-OX; Sat, 19 Jan 2008 21:03:33 +0100 In-Reply-To: <200801191705.m0JH5WOU026943@sallyv1.ics.uci.edu> (Dan Nicolaescu's message of "Sat, 19 Jan 2008 09:05:24 -0800") 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-Greylist: delayed 2193 seconds by postgrey-1.27 at monty-python; Sat, 19 Jan 2008 15:42:02 EST 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:87088 Archived-At: () Dan Nicolaescu () Sat, 19 Jan 2008 09:05:24 -0800 It would be nice if we had something more general that is easily visible for buffers that use VC async commands. we can use `mode-line-process'. below is a sketch. works for me. (would need to be adapted to latest vc.el, of course.) thi ________________________________________________________ *** vc.el.~1.513.~ Mon Jan 14 18:53:10 2008 --- vc.el Sat Jan 19 21:00:42 2008 *************** *** 958,963 **** --- 958,967 ---- (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)))) (if previous (funcall previous p s)) (with-current-buffer (process-buffer p) (let (vc-sentinel-movepoint) *************** *** 998,1003 **** --- 1002,1008 ---- (eval code)) ;; If a process is running, add CODE to the sentinel ((eq (process-status proc) 'run) + (setq mode-line-process " (background)") (let ((previous (process-sentinel proc))) (unless (eq previous 'vc-process-sentinel) (process-put proc 'vc-previous-sentinel previous)) From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.devel Subject: Re: Introducing 'unrecognized and 'ignored Date: Sat, 19 Jan 2008 22:01:32 +0100 Message-ID: <87k5m5bkcz.fsf@ambire.localdomain> 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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1200776612 5746 80.91.229.12 (19 Jan 2008 21:03:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Jan 2008 21:03:32 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 19 22:03:51 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 1JGKr0-000376-6D for ged-emacs-devel@m.gmane.org; Sat, 19 Jan 2008 22:03:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGKqb-0004FY-5Q for ged-emacs-devel@m.gmane.org; Sat, 19 Jan 2008 16:03:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JGKqX-0004FS-CI for emacs-devel@gnu.org; Sat, 19 Jan 2008 16:03:21 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JGKqV-0004FG-Ux for emacs-devel@gnu.org; Sat, 19 Jan 2008 16:03:21 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGKqV-0004FD-TF for emacs-devel@gnu.org; Sat, 19 Jan 2008 16:03:19 -0500 Original-Received: from ppp-81-38.21-151.libero.it ([151.21.38.81] helo=ambire.localdomain) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JGKqV-00069q-7v for emacs-devel@gnu.org; Sat, 19 Jan 2008 16:03:19 -0500 Original-Received: from ttn by ambire.localdomain with local (Exim 4.63) (envelope-from ) id 1JGKom-0003YM-2h; Sat, 19 Jan 2008 22:01:32 +0100 In-Reply-To: (Stefan Monnier's message of "Sat, 19 Jan 2008 14:40:20 -0500") 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:87090 Archived-At: () Stefan Monnier () Sat, 19 Jan 2008 14:40:20 -0500 There's the mode-line-process entry, but it's not visible enough. with this, it is quite visibile (to me): (setq mode-line-process (propertize " (incomplete / in progress)" 'face 'compilation-warning)) (in vc-exec-after, see my other message in this thread.) thi 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, 20 Jan 2008 09:08:51 -0800 Message-ID: <200801201708.m0KH8utF020932@sallyv1.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> <200801061037.m06AbIRD004966@oogie-boogie.ics.uci.edu> <200801182346.m0INkiEg022130@sallyv1.ics.uci.edu> <200801191705.m0JH5WOU026943@sallyv1.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1200849189 24231 80.91.229.12 (20 Jan 2008 17:13:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 20 Jan 2008 17:13:09 +0000 (UTC) Cc: Tom Tromey , esr@thyrsus.com, harsanyi@mac.com, rms@gnu.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 20 18:13:27 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 1JGdjY-0003aj-3L for ged-emacs-devel@m.gmane.org; Sun, 20 Jan 2008 18:13:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGdj8-0006l9-L8 for ged-emacs-devel@m.gmane.org; Sun, 20 Jan 2008 12:12:58 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JGdiL-0006B2-Ez for emacs-devel@gnu.org; Sun, 20 Jan 2008 12:12:09 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JGdiK-0006AN-Un for emacs-devel@gnu.org; Sun, 20 Jan 2008 12:12:09 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGdiK-0006AJ-J3 for emacs-devel@gnu.org; Sun, 20 Jan 2008 12:12:08 -0500 Original-Received: from sallyv1.ics.uci.edu ([128.195.1.109]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1JGdiG-0007Iw-6g; Sun, 20 Jan 2008 12:12:04 -0500 X-ICS-MailScanner-Watermark: 1201453740.16631@hfkIWjzWyHzGGk9sg3wStg Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv1.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m0KH8utF020932; Sun, 20 Jan 2008 09:08:56 -0800 (PST) In-Reply-To: (Stefan Monnier's message of "Sat, 19 Jan 2008 14:40:20 -0500") Original-Lines: 49 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 10 (beta) 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:87107 Archived-At: Stefan Monnier writes: > > log, diff and annotate could all use this functionality. > > Indeed, they could use `mode-line-process'. > > As for on-the-fly updating rather than updating in the end. It's been > on my todo list for PCL-CVS, but I never got to it. It'd probably be > a good idea to add this from the beginning because it substantially > changes the way things work: you have to use a process filter rather than > a sentinel, you have to check whether the partial output you have is > enough to parse it reliably or whether we need to way for more output, > and you have to be able to update the display incrementally. For doing incremental updates the needed changes for vc.el changes are quite small. Just pass to the `dir-status' backend function another function that is called when the asynchronous process finishes. AFAICT vc-update-vc-status-buffer can work incrementally, the backend just needs to call it with partial results when they are available. Like this: --- vc.el.~1.516.~ Fri Jan 18 15:05:37 2008 +++ vc.el Sun Jan 20 08:52:48 2008 @@ -2627,6 +2627,11 @@ (vc-status-create-fileinfo (cdr entry) (car entry)))) (ewoc-goto-node vc-status (ewoc-nth vc-status 0)))) +(defun vc-status-command-finished (successp buffer) + ;; This is called when dir-status finished processing the + ;; asynchronous output from the status command. + ) + (defun vc-status-refresh () "Refresh the contents of the VC status buffer." (interactive) @@ -2639,7 +2644,8 @@ ;; the results. (vc-call-backend backend 'dir-status default-directory - #'vc-update-vc-status-buffer (current-buffer)))) + #'vc-update-vc-status-buffer #'vc-status-command-finished + (current-buffer)))) (defun vc-status-next-line (arg) "Go to the next line. The backend changes to use a process filter are probably a bit more complex, patches showing how to do that would be most welcome! 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, 20 Jan 2008 09:18:04 -0800 Message-ID: <200801201718.m0KHI4il023740@sallyv1.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> <200801061037.m06AbIRD004966@oogie-boogie.ics.uci.edu> <200801182346.m0INkiEg022130@sallyv1.ics.uci.edu> <200801191705.m0JH5WOU026943@sallyv1.ics.uci.edu> <87k5m5bkcz.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 1200849689 25896 80.91.229.12 (20 Jan 2008 17:21:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 20 Jan 2008 17:21:29 +0000 (UTC) Cc: Stefan Monnier , 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 18:21:47 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 1JGdrX-00066t-GC for ged-emacs-devel@m.gmane.org; Sun, 20 Jan 2008 18:21:39 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGdr7-0004i6-Uk for ged-emacs-devel@m.gmane.org; Sun, 20 Jan 2008 12:21:14 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JGdr2-0004gR-L0 for emacs-devel@gnu.org; Sun, 20 Jan 2008 12:21:08 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JGdqx-0004bs-Bi for emacs-devel@gnu.org; Sun, 20 Jan 2008 12:21:07 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGdqx-0004bi-1U for emacs-devel@gnu.org; Sun, 20 Jan 2008 12:21:03 -0500 Original-Received: from sallyv1.ics.uci.edu ([128.195.1.109]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1JGdqw-0001J1-KP for emacs-devel@gnu.org; Sun, 20 Jan 2008 12:21:02 -0500 X-ICS-MailScanner-Watermark: 1201454285.16998@9k6m7rVOuwj4mjG04OMcow Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv1.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m0KHI4il023740; Sun, 20 Jan 2008 09:18:04 -0800 (PST) In-Reply-To: <87k5m5bkcz.fsf@ambire.localdomain> (Thien-Thi Nguyen's message of "Sat, 19 Jan 2008 22:01:32 +0100") Original-Lines: 18 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 10 (beta) 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:87108 Archived-At: Thien-Thi Nguyen writes: > () Stefan Monnier > () Sat, 19 Jan 2008 14:40:20 -0500 > > There's the mode-line-process entry, but it's not visible enough. > > with this, it is quite visibile (to me): > > (setq mode-line-process > (propertize " (incomplete / in progress)" > 'face 'compilation-warning)) > > > (in vc-exec-after, see my other message in this thread.) Thanks Thi, this seems to be the right thing to do. If it works, why not check it in? 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.devel Subject: Re: Introducing 'unrecognized and 'ignored Date: Sun, 20 Jan 2008 12:08:19 -0700 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> Reply-To: Tom Tromey NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1200858318 23192 80.91.229.12 (20 Jan 2008 19:45:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 20 Jan 2008 19:45:18 +0000 (UTC) Cc: esr@thyrsus.com, harsanyi@mac.com, Dan Nicolaescu , rms@gnu.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 20 20:45:36 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 1JGg6o-0008CT-A1 for ged-emacs-devel@m.gmane.org; Sun, 20 Jan 2008 20:45:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGg6O-0003BK-SB for ged-emacs-devel@m.gmane.org; Sun, 20 Jan 2008 14:45:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JGg5b-00026g-U4 for emacs-devel@gnu.org; Sun, 20 Jan 2008 14:44:20 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JGg5Z-00022a-Tb for emacs-devel@gnu.org; Sun, 20 Jan 2008 14:44:18 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGg5Z-000223-CR for emacs-devel@gnu.org; Sun, 20 Jan 2008 14:44:17 -0500 Original-Received: from mx1.redhat.com ([66.187.233.31]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JGg5V-0005Rq-Jb; Sun, 20 Jan 2008 14:44:13 -0500 Original-Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m0KJi7sS014191; Sun, 20 Jan 2008 14:44:07 -0500 Original-Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m0KJi6CA008600; Sun, 20 Jan 2008 14:44:06 -0500 Original-Received: from opsy.redhat.com (ton.yyz.redhat.com [10.15.16.15]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m0KJi6gv025470; Sun, 20 Jan 2008 14:44:06 -0500 Original-Received: by opsy.redhat.com (Postfix, from userid 500) id CE32688826D; Sun, 20 Jan 2008 12:08:19 -0700 (MST) X-Attribution: Tom In-Reply-To: (Stefan Monnier's message of "Sat\, 19 Jan 2008 14\:40\:20 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (gnu/linux) X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:87118 Archived-At: >>>>> "Stefan" == Stefan Monnier writes: Stefan> There's the mode-line-process entry, but it's not visible enough. Stefan> Also the PCL-CVS way of putting the actual command in the buffer turned Stefan> out to be very useful to double-check what it is doing (and even more Stefan> so when several commands are running at the same time). Yes, I agree. I rather like the PCL-CVS approach. I've got a patch to do this for vc-status, I'll send it after I test it a bit more. I hook into vc-do-command... I'm not sure if that is really a good idea. I guess that's why we have patch review :-) Stefan> As for on-the-fly updating rather than updating in the end. Stefan> It's been on my todo list for PCL-CVS, but I never got to it. Stefan> It'd probably be a good idea to add this from the beginning Stefan> because it substantially changes the way things work: you have Stefan> to use a process filter rather than a sentinel, you have to Stefan> check whether the partial output you have is enough to parse Stefan> it reliably or whether we need to way for more output, and you Stefan> have to be able to update the display incrementally. Yeah. I think it is probably worth doing -- we know it is a potential problem, and we have few dependencies to rewrite right now. It is also worth considering if we really want to clear the ewoc before re-running 'status' (or, eventually, 'update'). I suspect we don't want to. This seems to be what PCL-CVS does, and it has the nice effect of preserving the user's marks and point during operations. I think that means we need a nice way to insert a new element into the proper position in the ewoc; maybe a new ewoc method is needed. (This is different than updating the display incrementally, since right now we just assume the back end hook provides the files in the right order and we just insert them into the ewoc in that order.) Tom 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 15:14:22 -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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1200860083 28606 80.91.229.12 (20 Jan 2008 20:14:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 20 Jan 2008 20:14:43 +0000 (UTC) Cc: esr@thyrsus.com, harsanyi@mac.com, Dan Nicolaescu , rms@gnu.org, emacs-devel@gnu.org To: Tom Tromey Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 20 21:15:01 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 1JGgZH-0000Mu-4h for ged-emacs-devel@m.gmane.org; Sun, 20 Jan 2008 21:14:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGgYr-0007w6-Mb for ged-emacs-devel@m.gmane.org; Sun, 20 Jan 2008 15:14:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JGgYo-0007vc-0c for emacs-devel@gnu.org; Sun, 20 Jan 2008 15:14:30 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JGgYm-0007vQ-Ky for emacs-devel@gnu.org; Sun, 20 Jan 2008 15:14:29 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGgYm-0007vJ-Ck for emacs-devel@gnu.org; Sun, 20 Jan 2008 15:14:28 -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 1JGgYj-0003Gq-1i; Sun, 20 Jan 2008 15:14:25 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ah4FAM86k0fO+J4pUGdsb2JhbACQDgEBOZpwfg X-IronPort-AV: E=Sophos;i="4.25,224,1199682000"; d="scan'208";a="12974629" Original-Received: from smtp.pppoe.ca ([65.39.196.238]) by ironport2-out.pppoe.ca with ESMTP; 20 Jan 2008 15:14:23 -0500 Original-Received: from pastel.home ([206.248.158.41]) by smtp.pppoe.ca (Internet Mail Server v1.0) with ESMTP id AVI25723; Sun, 20 Jan 2008 15:14:23 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id B3F967F61; Sun, 20 Jan 2008 15:14:22 -0500 (EST) In-Reply-To: (Tom Tromey's message of "Sun, 20 Jan 2008 12:08:19 -0700") 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:87121 Archived-At: > I hook into vc-do-command... I'm not sure if that is really a good idea. > I guess that's why we have patch review :-) I general it doesn't sound like a bad idea, but I'll reserve my judgment until I see the code. > It is also worth considering if we really want to clear the ewoc > before re-running 'status' (or, eventually, 'update'). I suspect we > don't want to. This seems to be what PCL-CVS does, and it has the > nice effect of preserving the user's marks and point during > operations. PCL-CVS used to clear the ewoc, so I obviously believe it's worth the effort to not clear it, so as to preserve mark and such. Also because you want to work on parts of a vc-status display (some backends don't like it as much as CVS, but it's still pretty common). > I think that means we need a nice way to insert a new element into the > proper position in the ewoc; maybe a new ewoc method is needed. (This > is different than updating the display incrementally, since right now > we just assume the back end hook provides the files in the right order > and we just insert them into the ewoc in that order.) Can't remember how I do it in PCL-CVS. Stefan From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.devel Subject: Re: Introducing 'unrecognized and 'ignored Date: Sun, 20 Jan 2008 12:45:37 -0700 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> Reply-To: Tom Tromey NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1200860506 29779 80.91.229.12 (20 Jan 2008 20:21:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 20 Jan 2008 20:21:46 +0000 (UTC) Cc: esr@thyrsus.com, harsanyi@mac.com, Dan Nicolaescu , rms@gnu.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 20 21:22:04 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 1JGgg5-0002Lk-L1 for ged-emacs-devel@m.gmane.org; Sun, 20 Jan 2008 21:22:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGgfg-0006cl-2V for ged-emacs-devel@m.gmane.org; Sun, 20 Jan 2008 15:21:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JGgfb-0006cf-Di for emacs-devel@gnu.org; Sun, 20 Jan 2008 15:21:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JGgfa-0006cL-51 for emacs-devel@gnu.org; Sun, 20 Jan 2008 15:21:30 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGgfa-0006cC-22 for emacs-devel@gnu.org; Sun, 20 Jan 2008 15:21:30 -0500 Original-Received: from mx1.redhat.com ([66.187.233.31]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JGgfW-0004YY-Kn; Sun, 20 Jan 2008 15:21:26 -0500 Original-Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m0KKLP4i026812; Sun, 20 Jan 2008 15:21:25 -0500 Original-Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m0KKLP99021272; Sun, 20 Jan 2008 15:21:25 -0500 Original-Received: from opsy.redhat.com (ton.yyz.redhat.com [10.15.16.15]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m0KKLOhr031534; Sun, 20 Jan 2008 15:21:25 -0500 Original-Received: by opsy.redhat.com (Postfix, from userid 500) id C18AF5089A4; Sun, 20 Jan 2008 12:45:37 -0700 (MST) X-Attribution: Tom In-Reply-To: (Stefan Monnier's message of "Sun\, 20 Jan 2008 15\:14\:22 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (gnu/linux) X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:87123 Archived-At: >> I hook into vc-do-command... I'm not sure if that is really a good idea. >> I guess that's why we have patch review :-) Stefan> I general it doesn't sound like a bad idea, but I'll reserve Stefan> my judgment until I see the code. Here's the patch I've got. Note there is a bug fix to vc-update-vc-status-buffer in here... this should go in even if the rest of the patch does not. You can see this bug by running vc-status in a directory with no modifications and no unrecognized files. Stefan> PCL-CVS used to clear the ewoc, so I obviously believe it's Stefan> worth the effort to not clear it, so as to preserve mark and Stefan> such. Yeah. In general I think vc-status should follow PCL-CVS unless there is a really good reason to be different. Tom 2008-01-20 Tom Tromey * vc.el (vc-status-report-buffer): New variable. (vc-do-command): Display command in vc-status buffer. (vc-status-headers): Add 'command' argument. (vc-status-footers): New function. (vc-status-mode): Create footer. (vc-status-refresh): Bind vc-status-report-buffer. (vc-status-start-command): New function. (vc-status-command-finished): Likewise. (vc-update-vc-status-buffer): Avoid error if no nodes in ewoc. Index: vc.el =================================================================== RCS file: /sources/emacs/emacs/lisp/vc.el,v retrieving revision 1.516 diff -u -c -r1.516 vc.el cvs diff: conflicting specifications of output style *** vc.el 18 Jan 2008 23:32:57 -0000 1.516 --- vc.el 20 Jan 2008 20:11:34 -0000 *************** *** 1020,1025 **** --- 1020,1028 ---- ;; FIXME what about file names with spaces? (if (not filelist) "." (mapconcat 'identity filelist " "))) + ;; This is let-bound when vc-do-command should report the command. + (defvar vc-status-report-buffer nil) + ;;;###autoload (defun vc-do-command (buffer okstatus command file-or-list &rest flags) "Execute a VC command, notifying user and checking for errors. *************** *** 1050,1055 **** --- 1053,1064 ---- " " (vc-delistify (mapcar (lambda (s) (if (> (length s) 20) (concat (substring s 0 2) "...") s)) flags)) " " (vc-delistify files)))) + ;; Update the vc-status buffer, if requested. Only do this for + ;; async commands; for synchronous commands the normal message is + ;; enough. + (if (and vc-status-report-buffer (eq okstatus 'async)) + (with-current-buffer vc-status-report-buffer + (vc-status-start-command full-command))) (save-current-buffer (unless (or (eq buffer t) (and (stringp buffer) *************** *** 1091,1097 **** (set-process-filter proc 'vc-process-filter) (vc-exec-after `(if vc-command-messages ! (message "Running %s in background... done" ',full-command)))) ;; Run synchrously (if vc-command-messages (message "Running %s in foreground..." full-command)) --- 1100,1110 ---- (set-process-filter proc 'vc-process-filter) (vc-exec-after `(if vc-command-messages ! (message "Running %s in background... done" ',full-command))) ! (if vc-status-report-buffer ! (vc-exec-after ! `(with-current-buffer ,vc-status-report-buffer ! (vc-status-command-finished))))) ;; Run synchrously (if vc-command-messages (message "Running %s in foreground..." full-command)) *************** *** 2543,2553 **** (defvar vc-status nil) ! (defun vc-status-headers (backend dir) (concat (format "VC backend : %s\n" backend) "Repository : The repository goes here\n" ! (format "Working dir: %s\n" dir))) (defun vc-status-printer (fileentry) "Pretty print FILEENTRY." --- 2558,2579 ---- (defvar vc-status nil) ! (defun vc-status-headers (backend dir command) (concat (format "VC backend : %s\n" backend) "Repository : The repository goes here\n" ! (format "Working dir: %s\n" dir) ! "\n" ! (if command (concat "-- Running: " command " ...") ! "") ! "\n")) ! ! (defun vc-status-footers (command) ! (concat ! "\n--------------------- End ---------------------\n" ! (if command (concat "-- Last command: " command " --") ! "") ! "\n")) (defun vc-status-printer (fileentry) "Pretty print FILEENTRY." *************** *** 2615,2621 **** (erase-buffer) (set (make-local-variable 'vc-status) (ewoc-create #'vc-status-printer ! (vc-status-headers backend default-directory))) (vc-status-refresh))) (put 'vc-status-mode 'mode-class 'special) --- 2641,2648 ---- (erase-buffer) (set (make-local-variable 'vc-status) (ewoc-create #'vc-status-printer ! (vc-status-headers backend default-directory nil) ! (vc-status-footers nil))) (vc-status-refresh))) (put 'vc-status-mode 'mode-class 'special) *************** *** 2625,2638 **** (dolist (entry entries) (ewoc-enter-last vc-status (vc-status-create-fileinfo (cdr entry) (car entry)))) ! (ewoc-goto-node vc-status (ewoc-nth vc-status 0)))) (defun vc-status-refresh () "Refresh the contents of the VC status buffer." (interactive) ;; This is not very efficient; ewoc could use a new function here. (ewoc-filter vc-status (lambda (node) nil)) ! (let ((backend (vc-responsible-backend default-directory))) ;; Call the dir-status backend function. dir-status is supposed to ;; be asynchronous. It should compute the results and call the ;; function passed as a an arg to update the vc-status buffer with --- 2652,2668 ---- (dolist (entry entries) (ewoc-enter-last vc-status (vc-status-create-fileinfo (cdr entry) (car entry)))) ! (let ((node (ewoc-nth vc-status 0))) ! (if node ! (ewoc-goto-node vc-status node))))) (defun vc-status-refresh () "Refresh the contents of the VC status buffer." (interactive) ;; This is not very efficient; ewoc could use a new function here. (ewoc-filter vc-status (lambda (node) nil)) ! (let ((backend (vc-responsible-backend default-directory)) ! (vc-status-report-buffer (current-buffer))) ;; Call the dir-status backend function. dir-status is supposed to ;; be asynchronous. It should compute the results and call the ;; function passed as a an arg to update the vc-status buffer with *************** *** 2641,2646 **** --- 2671,2691 ---- backend 'dir-status default-directory #'vc-update-vc-status-buffer (current-buffer)))) + (defun vc-status-start-command (command) + "Update the vc-status header with the current back-end command." + (let ((backend (vc-responsible-backend default-directory))) + (set (make-local-variable 'vc-running-command) command) + (ewoc-set-hf vc-status + (vc-status-headers backend default-directory command) + (vc-status-footers nil)))) + + (defun vc-status-command-finished () + "Update the vc-status footer with previous command, and clear the header." + (let ((backend (vc-responsible-backend default-directory))) + (ewoc-set-hf vc-status + (vc-status-headers backend default-directory nil) + (vc-status-footers vc-running-command)))) + (defun vc-status-next-line (arg) "Go to the next line. If a prefix argument is given, move by that many lines." From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.devel Subject: Re: Introducing 'unrecognized and 'ignored Date: Sun, 20 Jan 2008 21:24:24 +0100 Message-ID: <87r6gcqm87.fsf@ambire.localdomain> 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> <87k5m5bkcz.fsf@ambire.localdomain> <200801201718.m0KHI4il023740@sallyv1.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1200911116 29170 80.91.229.12 (21 Jan 2008 10:25:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Jan 2008 10:25:16 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 21 11:25:35 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 1JGtqR-0004E0-0T for ged-emacs-devel@m.gmane.org; Mon, 21 Jan 2008 11:25:35 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGtq1-0003Ad-Ak for ged-emacs-devel@m.gmane.org; Mon, 21 Jan 2008 05:25:09 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JGtot-0002pA-7J for emacs-devel@gnu.org; Mon, 21 Jan 2008 05:23:59 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JGtoo-0002mg-Uz for emacs-devel@gnu.org; Mon, 21 Jan 2008 05:23:57 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGtoo-0002m9-1D for emacs-devel@gnu.org; Mon, 21 Jan 2008 05:23:54 -0500 Original-Received: from ppp-100-38.21-151.libero.it ([151.21.38.100] helo=ambire.localdomain) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JGton-0000jP-OV for emacs-devel@gnu.org; Mon, 21 Jan 2008 05:23:54 -0500 Original-Received: from ttn by ambire.localdomain with local (Exim 4.63) (envelope-from ) id 1JGgiO-00046p-B8 for emacs-devel@gnu.org; Sun, 20 Jan 2008 21:24:24 +0100 In-Reply-To: <200801201718.m0KHI4il023740@sallyv1.ics.uci.edu> (Dan Nicolaescu's message of "Sun, 20 Jan 2008 09:18:04 -0800") 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:87202 Archived-At: () Dan Nicolaescu () Sun, 20 Jan 2008 09:18:04 -0800 seems to be the right thing to do. If it works, why not check it in? i have now checked it in. thi From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.devel Subject: Re: Introducing 'unrecognized and 'ignored Date: Sun, 20 Jan 2008 21:30:06 +0100 Message-ID: <87myr0qlyp.fsf@ambire.localdomain> 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 1200911298 29701 80.91.229.12 (21 Jan 2008 10:28:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Jan 2008 10:28:18 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 21 11:28:37 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 1JGttM-0004zi-Uq for ged-emacs-devel@m.gmane.org; Mon, 21 Jan 2008 11:28:37 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGtsx-0003iS-B5 for ged-emacs-devel@m.gmane.org; Mon, 21 Jan 2008 05:28:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JGtos-0002og-Kn for emacs-devel@gnu.org; Mon, 21 Jan 2008 05:23:59 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JGtoo-0002mC-G0 for emacs-devel@gnu.org; Mon, 21 Jan 2008 05:23:55 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGtol-0002lU-Sa for emacs-devel@gnu.org; Mon, 21 Jan 2008 05:23:53 -0500 Original-Received: from ppp-100-38.21-151.libero.it ([151.21.38.100] helo=ambire.localdomain) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JGtol-0000ZU-MH for emacs-devel@gnu.org; Mon, 21 Jan 2008 05:23:51 -0500 Original-Received: from ttn by ambire.localdomain with local (Exim 4.63) (envelope-from ) id 1JGgnu-00047D-3d for emacs-devel@gnu.org; Sun, 20 Jan 2008 21:30:06 +0100 In-Reply-To: (Stefan Monnier's message of "Sun, 20 Jan 2008 14:24:57 -0500") 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-Greylist: delayed 1245 seconds by postgrey-1.27 at monty-python; Mon, 21 Jan 2008 05:23:22 EST 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:87204 Archived-At: () Stefan Monnier () Sun, 20 Jan 2008 14:24:57 -0500 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? thi 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 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: Mon, 21 Jan 2008 07:30:53 -0800 Message-ID: <200801211530.m0LFUxpZ004358@sallyv1.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> <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 1200929605 29289 80.91.229.12 (21 Jan 2008 15:33:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Jan 2008 15:33:25 +0000 (UTC) Cc: Thien-Thi Nguyen , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 21 16:33:44 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 1JGyeb-0006Ax-O9 for ged-emacs-devel@m.gmane.org; Mon, 21 Jan 2008 16:33:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGyeC-00067V-9D for ged-emacs-devel@m.gmane.org; Mon, 21 Jan 2008 10:33:16 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JGye7-00063n-La for emacs-devel@gnu.org; Mon, 21 Jan 2008 10:33:11 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JGye5-0005yu-5z for emacs-devel@gnu.org; Mon, 21 Jan 2008 10:33:10 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGye4-0005yB-Ne for emacs-devel@gnu.org; Mon, 21 Jan 2008 10:33:08 -0500 Original-Received: from sallyv1.ics.uci.edu ([128.195.1.109]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1JGye4-0008Ii-35 for emacs-devel@gnu.org; Mon, 21 Jan 2008 10:33:08 -0500 X-ICS-MailScanner-Watermark: 1201534265.88982@UqI/klZgRjppVRNrMBrFSw Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv1.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m0LFUxpZ004358; Mon, 21 Jan 2008 07:30:59 -0800 (PST) In-Reply-To: (Stefan Monnier's message of "Mon, 21 Jan 2008 10:18:02 -0500") Original-Lines: 21 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 10 (beta) 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:87214 Archived-At: Stefan Monnier writes: > > 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? Yep, this seems to work for things like log, diff, annotate, but for vc-status it does not, because as you say, the status command does not run in vc-status buffer, but in a hidden temporary buffer. It seems that a different mechanism is needed for that case. From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.devel Subject: Re: Introducing 'unrecognized and 'ignored Date: Mon, 21 Jan 2008 16:34:43 +0100 Message-ID: <87bq7fnqek.fsf@ambire.localdomain> 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 1200929904 32638 80.91.229.12 (21 Jan 2008 15:38:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Jan 2008 15:38:24 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 21 16:38:43 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 1JGyjL-0007pb-8H for ged-emacs-devel@m.gmane.org; Mon, 21 Jan 2008 16:38:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGyiv-00087n-KB for ged-emacs-devel@m.gmane.org; Mon, 21 Jan 2008 10:38:09 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JGyhR-0007Jd-MZ for emacs-devel@gnu.org; Mon, 21 Jan 2008 10:36:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JGyhN-0007Ho-5c for emacs-devel@gnu.org; Mon, 21 Jan 2008 10:36:37 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGyhM-0007Hi-S0 for emacs-devel@gnu.org; Mon, 21 Jan 2008 10:36:32 -0500 Original-Received: from ppp-100-38.21-151.libero.it ([151.21.38.100] helo=ambire.localdomain) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JGyhM-00018q-Jg for emacs-devel@gnu.org; Mon, 21 Jan 2008 10:36:32 -0500 Original-Received: from ttn by ambire.localdomain with local (Exim 4.63) (envelope-from ) id 1JGyfb-0006KL-Dl for emacs-devel@gnu.org; Mon, 21 Jan 2008 16:34:43 +0100 In-Reply-To: (Stefan Monnier's message of "Mon, 21 Jan 2008 10:18:02 -0500") 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:87215 Archived-At: () Stefan Monnier () Mon, 21 Jan 2008 10:18:02 -0500 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? I don't know. I tested w/ vc.el using `C-x v g' so there was no vc-status buffer. (Am i missing something?) What is the scenario where there is a vc-status buffer to worry about? The change is checked in; please try it and let me know w/ a concrete (non-hypothetical) test case, for problems you encounter. Note that the most recent change (checking liveness in then sentinel) should have nothing to do w/ the original setq mode-line-process. thi 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:56:23 -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> <200801211530.m0LFUxpZ004358@sallyv1.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1200931140 24972 80.91.229.12 (21 Jan 2008 15:59:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Jan 2008 15:59:00 +0000 (UTC) Cc: Thien-Thi Nguyen , emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 21 16:59:18 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 1JGz3L-0007CC-Fo for ged-emacs-devel@m.gmane.org; Mon, 21 Jan 2008 16:59:15 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGz2w-0004JY-3g for ged-emacs-devel@m.gmane.org; Mon, 21 Jan 2008 10:58:50 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JGz0c-0002iS-2o for emacs-devel@gnu.org; Mon, 21 Jan 2008 10:56:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JGz0b-0002hq-7M for emacs-devel@gnu.org; Mon, 21 Jan 2008 10:56:25 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGz0b-0002hf-3g for emacs-devel@gnu.org; Mon, 21 Jan 2008 10:56:25 -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 1JGz0a-0008O6-RP for emacs-devel@gnu.org; Mon, 21 Jan 2008 10:56:25 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAGxPlEfO+IHadGdsb2JhbACQGgEwmkx+ X-IronPort-AV: E=Sophos;i="4.25,227,1199682000"; d="scan'208";a="12997340" Original-Received: from smtp.pppoe.ca ([65.39.196.238]) by ironport2-out.pppoe.ca with ESMTP; 21 Jan 2008 10:56:23 -0500 Original-Received: from pastel.home ([206.248.129.218]) by smtp.pppoe.ca (Internet Mail Server v1.0) with ESMTP id BQZ95323; Mon, 21 Jan 2008 10:56:23 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 6D7317F61; Mon, 21 Jan 2008 10:56:23 -0500 (EST) In-Reply-To: <200801211530.m0LFUxpZ004358@sallyv1.ics.uci.edu> (Dan Nicolaescu's message of "Mon, 21 Jan 2008 07:30:53 -0800") 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:87218 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? > Yep, this seems to work for things like log, diff, annotate, but for > vc-status it does not, because as you say, the status command does not > run in vc-status buffer, but in a hidden temporary buffer. > It seems that a different mechanism is needed for that case. Yes, I guess the change is fine, and just needs to be supplemented with some special code for vc-status. Stefan 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: Mon, 21 Jan 2008 17:35:47 -0800 Message-ID: <200801220135.m0M1ZwEE010855@sallyv1.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> <200801061037.m06AbIRD004966@oogie-boogie.ics.uci.edu> <200801182346.m0INkiEg022130@sallyv1.ics.uci.edu> <200801191705.m0JH5WOU026943@sallyv1.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1200965788 19402 80.91.229.12 (22 Jan 2008 01:36:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 22 Jan 2008 01:36:28 +0000 (UTC) Cc: esr@thyrsus.com, harsanyi@mac.com, Stefan Monnier , rms@gnu.org, emacs-devel@gnu.org To: Tom Tromey Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 22 02:36:45 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 1JH84B-0000EC-Td for ged-emacs-devel@m.gmane.org; Tue, 22 Jan 2008 02:36:44 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JH83l-0000jA-To for ged-emacs-devel@m.gmane.org; Mon, 21 Jan 2008 20:36:17 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JH83h-0000j4-UD for emacs-devel@gnu.org; Mon, 21 Jan 2008 20:36:13 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JH83g-0000in-7k for emacs-devel@gnu.org; Mon, 21 Jan 2008 20:36:12 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JH83g-0000ik-2d for emacs-devel@gnu.org; Mon, 21 Jan 2008 20:36:12 -0500 Original-Received: from sallyv1.ics.uci.edu ([128.195.1.109]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1JH83c-0007V5-1Z; Mon, 21 Jan 2008 20:36:08 -0500 X-ICS-MailScanner-Watermark: 1201570559.87281@fIcmw5Mi80cZG6DmbKEq+Q Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv1.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m0M1ZwEE010855; Mon, 21 Jan 2008 17:35:58 -0800 (PST) In-Reply-To: (Tom Tromey's message of "Sun, 20 Jan 2008 12:45:37 -0700") Original-Lines: 33 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 10 (beta) 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:87271 Archived-At: Tom Tromey writes: > >> I hook into vc-do-command... I'm not sure if that is really a good idea. > >> I guess that's why we have patch review :-) > > Stefan> I general it doesn't sound like a bad idea, but I'll reserve > Stefan> my judgment until I see the code. > > Here's the patch I've got. > > Note there is a bug fix to vc-update-vc-status-buffer in here... this > should go in even if the rest of the patch does not. You can see this > bug by running vc-status in a directory with no modifications and no > unrecognized files. > > Stefan> PCL-CVS used to clear the ewoc, so I obviously believe it's > Stefan> worth the effort to not clear it, so as to preserve mark and > Stefan> such. > > Yeah. In general I think vc-status should follow PCL-CVS unless there > is a really good reason to be different. IMHO displaying the command that is running is overkill. I don't think VC users would care about it, they just want to see that something is happening. Generic messages like Updating/Committing/Reading Status should be enough. (PCL-CVS does print the command, but I personally never payed attention to what it prints there...). Coupled with something that displays the running status in the mode-line (like it is now done for diff/log/annotate). About the footer message: I am afraid that it would get the same opposition as the text at the end of vc-diff recently got.