From unknown Fri Aug 15 03:57:35 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4025: 23.1.50; VC shows bazaar files as modified on modeline Reply-To: =?UTF-8?Q?(=C3=93scar?= Fuentes), 4025@debbugs.gnu.org Resent-From: =?UTF-8?Q?(=C3=93scar?= Fuentes) Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 03 Aug 2009 21:35:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 4025 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.124933487010010 (code B ref -1); Mon, 03 Aug 2009 21:35:05 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 3 Aug 2009 21:27:50 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n73LRjNf010005 for ; Mon, 3 Aug 2009 14:27:46 -0700 Received: from mx10.gnu.org ([199.232.76.166]:54351) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MY54K-0004Ny-Jf for emacs-pretest-bug@gnu.org; Mon, 03 Aug 2009 17:27:44 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MY54F-0006rt-RC for emacs-pretest-bug@gnu.org; Mon, 03 Aug 2009 17:27:42 -0400 Received: from outmailhost.telefonica.net ([213.4.149.242]:5605 helo=ctsmtpout3.frontal.correo) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MY548-0006rE-Me for emacs-pretest-bug@gnu.org; Mon, 03 Aug 2009 17:27:35 -0400 Received: from qcore (83.38.73.8) by ctsmtpout3.frontal.correo (7.3.118.4) (authenticated as 981711563$telefonica.net) id 4A5EF6870055FD1F for emacs-pretest-bug@gnu.org; Mon, 3 Aug 2009 23:27:30 +0200 From: =?UTF-8?Q?(=C3=93scar?= Fuentes) To: emacs-pretest-bug@gnu.org Date: Mon, 03 Aug 2009 23:27:29 +0200 Message-ID: <87tz0osi4e.fsf@telefonica.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: When visiting a file which is versioned with bazaar, on a pristine branch, the modeline indicates that it is locally modified (shows Bzr:700). After M-x vc-revert, it shows its right state (Bzr-700) and keeps doing so for subsequent emacs sessions. One workaround is to execute `bzr revert` for the whole branch. If there is a modified file, VC will keep showing it as locally modified even after executing `bzr revert` on a shell and doing a M-x revert-buffer. Using bzr 1.17 If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /usr/local/share/emacs/23.1.50/etc/DEBUG for instructions. In GNU Emacs 23.1.50.3 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars) of 2009-07-31 on qcore Windowing system distributor `The X.Org Foundation', version 11.0.10600000 configured using `configure '--with-x-toolkit=lucid'' 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: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t tool-bar-mode: t mouse-wheel-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 line-number-mode: t transient-mark-mode: t Recent input: Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. From unknown Fri Aug 15 03:57:35 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4025: 23.1.50; VC shows bazaar files as modified on modeline Reply-To: =?UTF-8?Q?=C3=93scar?= Fuentes , 4025@debbugs.gnu.org Resent-From: =?UTF-8?Q?=C3=93scar?= Fuentes Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 04 Aug 2009 02:20:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 4025 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 4025-submit@emacsbugs.donarmstrong.com id=B4025.12493520014151 (code B ref 4025); Tue, 04 Aug 2009 02:20:04 +0000 Received: (at 4025) by emacsbugs.donarmstrong.com; 4 Aug 2009 02:13:21 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.4 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ctsmtpout4.frontal.correo (outmailhost.telefonica.net [213.4.149.242]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n742DFRX004144 for <4025@emacsbugs.donarmstrong.com>; Mon, 3 Aug 2009 19:13:17 -0700 Received: from qcore (83.38.73.8) by ctsmtpout4.frontal.correo (7.2.056.6) (authenticated as 981711563$telefonica.net) id 4A4B30EA009254DB for 4025@emacsbugs.donarmstrong.com; Tue, 4 Aug 2009 04:13:05 +0200 From: =?UTF-8?Q?=C3=93scar?= Fuentes To: 4025@debbugs.gnu.org References: <87tz0osi4e.fsf@telefonica.net> Date: Tue, 04 Aug 2009 04:13:04 +0200 In-Reply-To: (Emacs bug Tracking System's message of "Mon, 03 Aug 2009 21:35:06 +0000") Message-ID: <87prbcs4wf.fsf_-_@telefonica.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii The problem is in vc-bzr-state-heuristic. It doesn't notice that the heuristics used for checking the state doesn't work and returns some garbage instead of crashing and hence invoke vc-bzr-state through the `error` form at the end. From unknown Fri Aug 15 03:57:35 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4025: 23.1.50; VC shows bazaar files as modified on modeline Reply-To: =?UTF-8?Q?=C3=93scar?= Fuentes , 4025@debbugs.gnu.org Resent-From: =?UTF-8?Q?=C3=93scar?= Fuentes Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 04 Aug 2009 02:55:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 4025 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 4025-submit@emacsbugs.donarmstrong.com id=B4025.12493539496865 (code B ref 4025); Tue, 04 Aug 2009 02:55:07 +0000 Received: (at 4025) by emacsbugs.donarmstrong.com; 4 Aug 2009 02:45:49 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.2 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ctsmtpout3.frontal.correo (outmailhost.telefonica.net [213.4.149.242]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n742jif1006860 for <4025@emacsbugs.donarmstrong.com>; Mon, 3 Aug 2009 19:45:46 -0700 Received: from qcore (83.38.73.8) by ctsmtpout3.frontal.correo (7.3.118.4) (authenticated as 981711563$telefonica.net) id 4A5EF6870057485D for 4025@emacsbugs.donarmstrong.com; Tue, 4 Aug 2009 04:45:39 +0200 From: =?UTF-8?Q?=C3=93scar?= Fuentes To: 4025@debbugs.gnu.org References: <87tz0osi4e.fsf@telefonica.net> Date: Tue, 04 Aug 2009 04:45:38 +0200 In-Reply-To: (Emacs bug Tracking System's message of "Mon, 03 Aug 2009 21:35:06 +0000") Message-ID: <87k51ks3e5.fsf_-_@telefonica.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Another workaround is to execute `bzr status` for the branch on a shell. VC will detect the correct state afterwards. From unknown Fri Aug 15 03:57:35 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4025: 23.1.50; VC shows bazaar files as modified on modeline Reply-To: Dan Nicolaescu , 4025@debbugs.gnu.org Resent-From: Dan Nicolaescu Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 04 Aug 2009 06:45:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 4025 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 4025-submit@emacsbugs.donarmstrong.com id=B4025.124936779027414 (code B ref 4025); Tue, 04 Aug 2009 06:45:04 +0000 Received: (at 4025) by emacsbugs.donarmstrong.com; 4 Aug 2009 06:36:30 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-7.0 required=4.0 tests=AWL,HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from sallyv2.ics.uci.edu (sallyv2.ics.uci.edu [128.195.1.120]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n746aQRU027409 for <4025@emacsbugs.donarmstrong.com>; Mon, 3 Aug 2009 23:36:27 -0700 Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by sallyv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n746a7OV009964; Mon, 3 Aug 2009 23:36:07 -0700 (PDT) Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n746a6tr022494; Mon, 3 Aug 2009 23:36:06 -0700 (PDT) Date: Mon, 3 Aug 2009 23:36:06 -0700 (PDT) Message-Id: <200908040636.n746a6tr022494@godzilla.ics.uci.edu> From: Dan Nicolaescu To: =?UTF-8?Q?=C3=93scar?= Fuentes Cc: 4025@debbugs.gnu.org References: <87tz0osi4e.fsf@telefonica.net> <87prbcs4wf.fsf_-_@telefonica.net> In-Reply-To: <87prbcs4wf.fsf_-_@telefonica.net> =?UTF-8?Q?("=C3=93scar?= Fuentes"'s message of "Tue, 04 Aug 2009 04:13:04 +0200") Lines: 14 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n746a7OV009964 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_BZ 0.08) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu =C3=93scar Fuentes writes: > The problem is in vc-bzr-state-heuristic. It doesn't notice that the > heuristics used for checking the state doesn't work and returns some > garbage instead of crashing and hence invoke vc-bzr-state through the > `error` form at the end. vc-bzr-state-heuristic looks for some very specific things to try to guess the state, if none of the match it returns 'edited, which is what you see. You can try looking at the entry in .bzr/checkout/dirstate for the file in question in both the branch and the repository. Check the difference between the two and try to find out why vc-bzr-state-heuristic fails. From unknown Fri Aug 15 03:57:35 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4025: 23.1.50; VC shows bazaar files as modified on modeline Reply-To: =?UTF-8?Q?=C3=93scar?= Fuentes , 4025@debbugs.gnu.org Resent-From: =?UTF-8?Q?=C3=93scar?= Fuentes Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Sun, 18 Oct 2009 03:15:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 4025 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 4025-submit@emacsbugs.donarmstrong.com id=B4025.1255835423673 (code B ref 4025); Sun, 18 Oct 2009 03:15:07 +0000 Received: (at 4025) by emacsbugs.donarmstrong.com; 18 Oct 2009 03:10:23 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.8 required=4.0 tests=AWL,FAKE_REPLY_C, HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from IMPaqm3.telefonica.net (impaqm3.telefonica.net [213.4.138.3]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9I3ALvP000666 for <4025@emacsbugs.donarmstrong.com>; Sat, 17 Oct 2009 20:10:22 -0700 Received: from IMPmailhost5.adm.correo ([10.20.102.126]) by IMPaqm3.telefonica.net with bizsmtp id u2Cl1c00U2jdgqJ3P3AKPi; Sun, 18 Oct 2009 05:10:20 +0200 Received: from qcore ([83.38.72.194]) by IMPmailhost5.adm.correo with BIZ IMP id u3AJ1c0054BWJyT1l3AJ5r; Sun, 18 Oct 2009 05:10:19 +0200 X-TE-authinfo: authemail="981711563$telefonica.net" |auth_email="981711563@telefonica.net" X-TE-AcuTerraCos: auth_cuTerraCos="cosuitnetc01" From: =?UTF-8?Q?=C3=93scar?= Fuentes To: 4025@debbugs.gnu.org Date: Sun, 18 Oct 2009 05:10:18 +0200 Message-ID: <87y6n9xuqt.fsf@telefonica.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii For the record, this issue is fixed. From cyd@stupidchicken.com Sat Oct 17 20:27:44 2009 Received: (at control) by emacsbugs.donarmstrong.com; 18 Oct 2009 03:27:44 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.5 required=4.0 tests=AWL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from pantheon-po42.its.yale.edu (pantheon-po42.its.yale.edu [130.132.50.101]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9I3Rg40003213 for ; Sat, 17 Oct 2009 20:27:44 -0700 Received: from furry (adsl-99-69-50-113.dsl.wlfrct.sbcglobal.net [99.69.50.113]) (authenticated bits=0) by pantheon-po42.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id n9I3RVG2016425 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 17 Oct 2009 23:27:37 -0400 Received: by furry (Postfix, from userid 1000) id 09334C070; Sat, 17 Oct 2009 23:27:30 -0400 (EDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: close 4025 Date: Sat, 17 Oct 2009 23:27:30 -0400 Message-ID: <873a5h5ql9.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) close 4025 close 4746 thanks