From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.bugs Subject: bug#6513: vc-mtn broken with monotone 0.48 (can't even open files) Date: Fri, 25 Jun 2010 17:34:17 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1277503197 30708 80.91.229.12 (25 Jun 2010 21:59:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 25 Jun 2010 21:59:57 +0000 (UTC) Cc: 6513@debbugs.gnu.org To: Julio Merino Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 25 23:59:55 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OSGwB-0002h7-RB for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Jun 2010 23:59:52 +0200 Original-Received: from localhost ([127.0.0.1]:43127 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OSGwB-0004Dk-31 for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Jun 2010 17:59:51 -0400 Original-Received: from [140.186.70.92] (port=44235 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OSGva-0003eO-8n for bug-gnu-emacs@gnu.org; Fri, 25 Jun 2010 17:59:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OSGvZ-000161-2Z for bug-gnu-emacs@gnu.org; Fri, 25 Jun 2010 17:59:14 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37002) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OSGvZ-00015x-03 for bug-gnu-emacs@gnu.org; Fri, 25 Jun 2010 17:59:13 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OSGYA-0003Zo-GX; Fri, 25 Jun 2010 17:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dan Nicolaescu Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 25 Jun 2010 21:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6513 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6513-submit@debbugs.gnu.org id=B6513.127750166513736 (code B ref 6513); Fri, 25 Jun 2010 21:35:02 +0000 Original-Received: (at 6513) by debbugs.gnu.org; 25 Jun 2010 21:34:25 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OSGXY-0003ZV-6f for submit@debbugs.gnu.org; Fri, 25 Jun 2010 17:34:24 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OSGXW-0003ZP-Db for 6513@debbugs.gnu.org; Fri, 25 Jun 2010 17:34:22 -0400 Original-Received: from dann by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1OSGXR-0002i7-RR; Fri, 25 Jun 2010 17:34:17 -0400 In-Reply-To: (Julio Merino's message of "Fri\, 25 Jun 2010 10\:16\:35 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 25 Jun 2010 17:35:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:38021 Archived-At: Julio Merino writes: > The vc-mtn emacs module in emacs 23.2.1 does not work with monotone > 0.48. This prevents editing *any* file tracked by monotone. Whenever > I attempt to open a file that is tracked by monotone, emacs spits out > the following in the minibuffer and fails to open the file: > > Wrong type argument: stringp, nil > > The problem is most likely related to some user interface changes that > happened in monotone 0.48: some commands such as 'mtn status' have > changed their output and thus the regular expressions bundled in > vc-mtn do not yield the correct matches. Yep, the regexp used by vc-mtn-workfile-branch no longer matches the mtn status output. > The fix is to stop using random mtn commands in vc-mtn and change the > code to *only* use subcommands of 'mtn automate'. 'automate' is The > interface to interact with monotone from other applications, because > it exposes a stable interface with well-defined intput/output > semantics.