From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: Option to customize the -m message flag of cvs? Date: Tue, 30 Dec 2008 08:26:26 +0100 Message-ID: <4959CD22.7090306@gmx.at> References: <49590470.4080306@gmx.at> <49593E94.4030501@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1230622154 6770 80.91.229.12 (30 Dec 2008 07:29:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Dec 2008 07:29:14 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 30 08:30: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 1LHZ3W-0003XH-Iz for ged-emacs-devel@m.gmane.org; Tue, 30 Dec 2008 08:30:22 +0100 Original-Received: from localhost ([127.0.0.1]:52733 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LHZ2I-0007Sk-Va for ged-emacs-devel@m.gmane.org; Tue, 30 Dec 2008 02:29:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LHZ18-00079B-OV for emacs-devel@gnu.org; Tue, 30 Dec 2008 02:27:54 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LHZ17-00077L-0e for emacs-devel@gnu.org; Tue, 30 Dec 2008 02:27:54 -0500 Original-Received: from [199.232.76.173] (port=35374 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LHZ16-00076r-FM for emacs-devel@gnu.org; Tue, 30 Dec 2008 02:27:52 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]:48274) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LHZ15-0003Ft-Mb for emacs-devel@gnu.org; Tue, 30 Dec 2008 02:27:52 -0500 Original-Received: (qmail invoked by alias); 30 Dec 2008 07:27:48 -0000 Original-Received: from 62-47-42-6.adsl.highway.telekom.at (EHLO [62.47.42.6]) [62.47.42.6] by mail.gmx.net (mp062) with SMTP; 30 Dec 2008 08:27:48 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18HxOo445oHyAt6M7uLREqjEuh00LBLEIVwGmGjcm dZaAqtaUgikKUI User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) In-Reply-To: X-Y-GMX-Trusted: 0 X-FuHaFi: 0.57 X-detected-operating-system: 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:107409 Archived-At: >> is not able to handle `vc-dir'. > > Why not? what feature(s) is/are missing? That's what I asked _you_ in a mail on 2008-12-08. Unfortunately, I never got a response. The problem is that when I do `vc-dir' in my Emacs directory I get - on Windows XP - a *vc-dir* buffer looking like -------------------------------------------------------- VC backend : CVS Working dir: c:/Programme/Emacs-trunk/ Repository : m061211@cvs.savannah.gnu.org:/sources/emacs Module : emacs ./ -------------------------------------------------------- and nothing that would populate that buffer with modified, unknown or up-to-date entries. cvs.exe starts doing something but dies quickly. Doing `g' in the *vc-dir* buffer doesn't do anything. I traced the problem back to `vc-do-command' where (let* ((files (mapcar (lambda (f) (file-relative-name (expand-file-name f))) (if (listp file-or-list) file-or-list (list file-or-list)))) sets `files' to ("./"). Apparently, my cvs.exe doesn't like that. I found a comment in `cvs-mode-run' saying ;; Some w32 versions of CVS don't like an explicit . too much. so I conclude that's the problem. Indeed, when in `vc-do-command' I assign `squeezed' as follows (when (and files (not (equal files (list "./")))) (setq squeezed (nconc squeezed files))) `vc-dir' works as expected. Since changing `vc-do-command' as sketched above doesn't strike me as very digestible for most people here, I finally decided to get myself a more subservient cvs client. The one I found is CVSNT which has just one drawback. With "-m" it inserts an advert in my commits ... martin