From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#5493: 23.1.91; Visiting a versioned file while bzr is running signals an error Date: Fri, 29 Jan 2010 14:42:50 +0200 Message-ID: <83mxzxrsj9.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1264770689 13621 80.91.229.12 (29 Jan 2010 13:11:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Jan 2010 13:11:29 +0000 (UTC) To: 5493@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 29 14:11:26 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 1NaqdA-0005E6-5q for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 Jan 2010 14:11:24 +0100 Original-Received: from localhost ([127.0.0.1]:43552 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Naqd9-00005e-9w for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 Jan 2010 08:11:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Naqbw-0007zY-0p for bug-gnu-emacs@gnu.org; Fri, 29 Jan 2010 08:10:08 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Naqbr-0007vI-2m for bug-gnu-emacs@gnu.org; Fri, 29 Jan 2010 08:10:07 -0500 Original-Received: from [199.232.76.173] (port=45241 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Naqbq-0007v8-Tw for bug-gnu-emacs@gnu.org; Fri, 29 Jan 2010 08:10:02 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44929) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Naqbq-0002mk-HN for bug-gnu-emacs@gnu.org; Fri, 29 Jan 2010 08:10:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NaqDe-000760-VB; Fri, 29 Jan 2010 07:45:03 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 29 Jan 2010 12:45:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: report 5493 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: X-Debbugs-Original-To: emacs-pretest-bug@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.126476907927247 (code B ref -1); Fri, 29 Jan 2010 12:45:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 Jan 2010 12:44:39 +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 1NaqDF-00075Q-KV for submit@debbugs.gnu.org; Fri, 29 Jan 2010 07:44:38 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NaqDD-00075H-9A for submit@debbugs.gnu.org; Fri, 29 Jan 2010 07:44:35 -0500 Original-Received: from mx10.gnu.org ([199.232.76.166]:53856) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NaqD8-0002vl-6J for emacs-pretest-bug@gnu.org; Fri, 29 Jan 2010 07:44:30 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NaqD4-0003sA-EQ for emacs-pretest-bug@gnu.org; Fri, 29 Jan 2010 07:44:29 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:43406) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NaqD3-0003r0-Q0 for emacs-pretest-bug@gnu.org; Fri, 29 Jan 2010 07:44:26 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0KX000E00DZ4FW00@a-mtaout20.012.net.il> for emacs-pretest-bug@gnu.org; Fri, 29 Jan 2010 14:42:51 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.127.180.161]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KX0009YPDZD6AJ0@a-mtaout20.012.net.il> for emacs-pretest-bug@gnu.org; Fri, 29 Jan 2010 14:42:50 +0200 (IST) X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) X-Spam-Score: -4.3 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list X-Spam-Score: -4.4 (----) Resent-Date: Fri, 29 Jan 2010 07:45:02 -0500 X-detected-operating-system: by monty-python.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:34798 Archived-At: On the command line, start some prolonged bzr command, like "log -n0". While that is running, type this in the bzr-controlled tree: emacs -Q C-x C-f lisp/files.el You will see this error message: Error: (error Running bzr status files.el...FAILED (status 3)) This happens because a running bzr command locks the `dirstate' file. The .bzr.log file shows this: LockContention: Could not acquire lock "D:/gnu/bzr/emacs/trunk/.bzr/checkout/dirstate": (32, 'CreateFileW', 'The process cannot access the file because it is being used by another process.') (This is not limited to MS-Windows, btw.) The result of this is that the version of the file is not displayed on the modeline, and the error message itself is annoying enough as well. Bazaar docs says that "bzr info" can be used to show what locks are open. I couldn't get this to work (will ask on the Bazaar list), but if it indeed works, then perhaps we could produce a more useful message, and maybe even fire up a timer to "bzr status" the file later, when the lock is relinquished. In GNU Emacs 23.1.91.1 (i386-mingw-nt5.1.2600) of 2009-12-31 on HOME-C4E4A596F7 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4)' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU value of $XMODIFIERS: nil locale-coding-system: cp1255 default enable-multibyte-characters: t Major mode: Mail Minor modes in effect: shell-dirtrack-mode: t flyspell-mode: t desktop-save-mode: t show-paren-mode: t display-time-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t temp-buffer-resize-mode: t line-number-mode: t abbrev-mode: t Recent input: h a n SPC 1 2 8 . SPC SPC J a s o n , SPC d o SPC y o u SPC a g r e e ? SPC SPC J u a n m a , SPC c a n SPC y o u SPC c h e c k SPC t h a t SPC r e m o v i n g SPC t h a t SPC d o e s SPC n o t SPC c a u s e SPC t r o u b l e SPC i n SPC y o u r SPC u s e - c a s e ? C-c C-s C-x C-s C-x b * s c C-SPC M-w C-x b M-1 g SPC SPC SPC d SPC d d SPC SPC d SPC SPC SPC d SPC SPC d SPC SPC d d d SPC d C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z d d C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z M-z C-z M-z d C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z d SPC C-x C-s M-x r e p o r t - e m a Recent messages: Mark set Getting mail from d:/usr/eli/data/mail.new... Counting new messages...done (15) Saving file d:/usr/eli/rmail/INBOX... Wrote d:/usr/eli/rmail/INBOX Computing summary lines...done 15 new messages read Mark set Saving file d:/usr/eli/rmail/INBOX... Wrote d:/usr/eli/rmail/INBOX Load-path shadows: None found. Features: (shadow emacsbug vc-dispatcher tramp-imap epa derived epg epg-config imap-hash imap assoc tramp-gw tramp-fish tramp-cache tramp-ftp tramp-cmds tramp shell format-spec tramp-compat trampver rmailout auth-source message ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums nnheader gnus-util netrc mm-util mail-prsvr gmm-utils wid-edit mailheader canlock hashcash smtpmail multi-isearch help-mode view dabbrev mailalias conf-mode newcomment ld-script sh-script executable dired-x dired-aux dired tcl generic nxml-uchnm rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok sgml-mode arc-mode archive-mode jka-compr make-mode parse-time vc-cvs python-21 python comint ring org-wl org-w3m org-vm org-rmail org-mhe org-mew org-irc org-jsinfo org-infojs org-html org-exp org-exp-blocks org-agenda org-info org-gnus org-bibtex org-bbdb org byte-opt bytecomp byte-compile advice help-fns advice-preload org-footnote org-src org-list org-faces org-compat org-macs time-date noutline outline easy-mmode info vc-bzr sha1 hex-util cc-mode cc-fonts easymenu cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs mailabbrev flyspell ispell sendmail regexp-opt rmailsum rmail mail-utils desktop server filecache saveplace generic-x paren battery time tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs)