From unknown Sat Sep 06 20:03:20 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#5078: 23.1.50; vc broken Reply-To: Leo , 5078@debbugs.gnu.org Resent-From: Leo Original-Sender: "Leo, Shidai Liu" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Mon, 30 Nov 2009 11:50:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 5078 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12595814801511 (code B ref -1); Mon, 30 Nov 2009 11:50:03 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 30 Nov 2009 11:44:40 +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.2 required=4.0 tests=AWL,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 nAUBicD5001508 for ; Mon, 30 Nov 2009 03:44:40 -0800 Received: from mx10.gnu.org ([199.232.76.166]:37066) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1NF4gI-00006U-9E for emacs-pretest-bug@gnu.org; Mon, 30 Nov 2009 06:44:38 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NF4gH-00033u-2X for emacs-pretest-bug@gnu.org; Mon, 30 Nov 2009 06:44:38 -0500 Received: from ppsw-6.csi.cam.ac.uk ([131.111.8.136]:44355) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NF4gG-00033Z-Pa for emacs-pretest-bug@gnu.org; Mon, 30 Nov 2009 06:44:36 -0500 X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Received: from lapwing-gw-1.csx.cam.ac.uk ([131.111.1.66]:62719 helo=victoria.local) by ppsw-6.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.156]:587) with esmtpsa (PLAIN:sl392) (TLSv1:DHE-RSA-AES128-SHA:128) id 1NF4gE-0004oI-KY (Exim 4.70) for emacs-pretest-bug@gnu.org (return-path ); Mon, 30 Nov 2009 11:44:34 +0000 From: Leo To: emacs-pretest-bug@gnu.org Date: Mon, 30 Nov 2009 11:44:32 +0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: "Leo, Shidai Liu" X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Please describe exactly what actions triggered the bug and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': For files that are placed in a subdirectory (where there's no .git) of a git repo, vc now thinks a file unchanged even if there are changes. 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'. For information about debugging Emacs, please read the file /Applications/Emacs.app/Contents/Resources/etc/DEBUG. In GNU Emacs 23.1.50.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54) of 2009-11-27 on victoria.local Windowing system distributor `Apple', version 10.3.949 configured using `configure '--with-ns'' 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: nil value of $XMODIFIERS: nil locale-coding-system: nil default enable-multibyte-characters: t From unknown Sat Sep 06 20:03:20 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#5078: 23.1.50; vc broken Reply-To: Dan Nicolaescu , 5078@debbugs.gnu.org Resent-From: Dan Nicolaescu Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Mon, 30 Nov 2009 16:55:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 5078 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 5078-submit@emacsbugs.donarmstrong.com id=B5078.12595995921360 (code B ref 5078); Mon, 30 Nov 2009 16:55:06 +0000 Received: (at 5078) by emacsbugs.donarmstrong.com; 30 Nov 2009 16:46:32 +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=-5.8 required=4.0 tests=AWL,GMAIL,HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from colin-baker-v0.ics.uci.edu (colin-baker-v0.ics.uci.edu [128.195.1.153]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAUGkVwH001357 for <5078@emacsbugs.donarmstrong.com>; Mon, 30 Nov 2009 08:46:32 -0800 Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by colin-baker-v0.ics.uci.edu (8.13.8/8.13.8) with ESMTP id nAUGkIbk022717 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 30 Nov 2009 08:46:18 -0800 Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id nAUGkHKB014645; Mon, 30 Nov 2009 08:46:17 -0800 (PST) Date: Mon, 30 Nov 2009 08:46:17 -0800 (PST) Message-Id: <200911301646.nAUGkHKB014645@godzilla.ics.uci.edu> From: Dan Nicolaescu To: Leo Cc: 5078@debbugs.gnu.org References: In-Reply-To: (Leo's message of "Mon, 30 Nov 2009 11:44:32 +0000") Lines: 11 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please send mail to helpdesk@ics.uci.edu or more information X-ICS-MailScanner-ID: nAUGkIbk022717 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu Leo writes: > Please describe exactly what actions triggered the bug > and the precise symptoms of the bug. If you can, give > a recipe starting from `emacs -Q': > > For files that are placed in a subdirectory (where there's no .git) of a > git repo, vc now thinks a file unchanged even if there are changes. Can you please send a detailed recipe starting from emacs -Q of how to reproduce this? From unknown Sat Sep 06 20:03:20 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#5078: 23.1.50; vc broken Reply-To: Leo , 5078@debbugs.gnu.org Resent-From: Leo Original-Sender: "Leo, Shidai Liu" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Mon, 30 Nov 2009 19:15:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 5078 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 5078-submit@emacsbugs.donarmstrong.com id=B5078.125960813315255 (code B ref 5078); Mon, 30 Nov 2009 19:15:05 +0000 Received: (at 5078) by emacsbugs.donarmstrong.com; 30 Nov 2009 19:08:53 +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.0 required=4.0 tests=AWL,GMAIL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ppsw-5.csi.cam.ac.uk (ppsw-5.csi.cam.ac.uk [131.111.8.135]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAUJ8ptY015252 for <5078@emacsbugs.donarmstrong.com>; Mon, 30 Nov 2009 11:08:53 -0800 X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Received: from cpc2-cmbg15-2-0-cust694.5-4.cable.virginmedia.com ([86.26.14.183]:65024 helo=victoria.local) by ppsw-5.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.155]:587) with esmtpsa (PLAIN:sl392) (TLSv1:DHE-RSA-AES128-SHA:128) id 1NFBcA-0005dM-I5 (Exim 4.70) for 5078@emacsbugs.donarmstrong.com (return-path ); Mon, 30 Nov 2009 19:08:50 +0000 From: Leo To: 5078@debbugs.gnu.org References: <200911301646.nAUGkHKB014645@godzilla.ics.uci.edu> Date: Mon, 30 Nov 2009 19:08:50 +0000 In-Reply-To: <200911301646.nAUGkHKB014645@godzilla.ics.uci.edu> (Dan Nicolaescu's message of "Mon, 30 Nov 2009 08:46:17 -0800 (PST)") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: "Leo, Shidai Liu" On 2009-11-30 16:46 +0000, Dan Nicolaescu wrote: > Leo writes: > > > Please describe exactly what actions triggered the bug > > and the precise symptoms of the bug. If you can, give > > a recipe starting from `emacs -Q': > > > > For files that are placed in a subdirectory (where there's no .git) of a > > git repo, vc now thinks a file unchanged even if there are changes. > > Can you please send a detailed recipe starting from emacs -Q of how to > reproduce this? I think I am seeing an odd bug. There's a file in one of my projects that Emacs (with -Q) VC can't see its changes. However, I can use magit to see its changes without any problem. I tried to reproduce this problem with a newly created git repo but with no luck. Could you let me know how I can debug this further? Thanks. Leo From unknown Sat Sep 06 20:03:20 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#5078: 23.1.50; vc broken Reply-To: Dan Nicolaescu , 5078@debbugs.gnu.org Resent-From: Dan Nicolaescu Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Mon, 30 Nov 2009 20:10:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 5078 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 5078-submit@emacsbugs.donarmstrong.com id=B5078.125961121019737 (code B ref 5078); Mon, 30 Nov 2009 20:10:05 +0000 Received: (at 5078) by emacsbugs.donarmstrong.com; 30 Nov 2009 20:00:10 +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=-5.8 required=4.0 tests=AWL,GMAIL,HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from paul-mcgann-v0.ics.uci.edu (paul-mcgann-v0.ics.uci.edu [128.195.1.147]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAUK087V019633 for <5078@emacsbugs.donarmstrong.com>; Mon, 30 Nov 2009 12:00:09 -0800 Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by paul-mcgann-v0.ics.uci.edu (8.13.8/8.13.8) with ESMTP id nAUJxuH9011372 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 30 Nov 2009 11:59:56 -0800 Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id nAUJxuNO016161; Mon, 30 Nov 2009 11:59:56 -0800 (PST) Date: Mon, 30 Nov 2009 11:59:56 -0800 (PST) Message-Id: <200911301959.nAUJxuNO016161@godzilla.ics.uci.edu> From: Dan Nicolaescu To: Leo Cc: 5078@debbugs.gnu.org References: <200911301646.nAUGkHKB014645@godzilla.ics.uci.edu> In-Reply-To: (Leo's message of "Mon, 30 Nov 2009 19:08:50 +0000") Lines: 29 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please send mail to helpdesk@ics.uci.edu or more information X-ICS-MailScanner-ID: nAUJxuH9011372 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu Leo writes: > On 2009-11-30 16:46 +0000, Dan Nicolaescu wrote: > > Leo writes: > > > > > Please describe exactly what actions triggered the bug > > > and the precise symptoms of the bug. If you can, give > > > a recipe starting from `emacs -Q': > > > > > > For files that are placed in a subdirectory (where there's no .git) of a > > > git repo, vc now thinks a file unchanged even if there are changes. > > > > Can you please send a detailed recipe starting from emacs -Q of how to > > reproduce this? > > I think I am seeing an odd bug. > > There's a file in one of my projects that Emacs (with -Q) VC can't see > its changes. However, I can use magit to see its changes without any > problem. I tried to reproduce this problem with a newly created git repo > but with no luck. > > Could you let me know how I can debug this further? Thanks. With the file that you have problems with in the current buffer, try to debug: M-: (vc-git-state (buffer-file-name)) RET From unknown Sat Sep 06 20:03:20 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#5078: 23.1.50; vc broken Reply-To: Leo , 5078@debbugs.gnu.org Resent-From: Leo Original-Sender: "Leo, Shidai Liu" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Mon, 30 Nov 2009 23:40:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 5078 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 5078-submit@emacsbugs.donarmstrong.com id=B5078.12596239866839 (code B ref 5078); Mon, 30 Nov 2009 23:40:06 +0000 Received: (at 5078) by emacsbugs.donarmstrong.com; 30 Nov 2009 23:33:06 +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.2 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ppsw-0.csi.cam.ac.uk (ppsw-0.csi.cam.ac.uk [131.111.8.130]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAUNX4V9006836 for <5078@emacsbugs.donarmstrong.com>; Mon, 30 Nov 2009 15:33:05 -0800 X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Received: from cpc2-cmbg15-2-0-cust694.5-4.cable.virginmedia.com ([86.26.14.183]:65309 helo=victoria.local) by ppsw-0.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.150]:587) with esmtpsa (PLAIN:sl392) (TLSv1:DHE-RSA-AES128-SHA:128) id 1NFFjr-0002wM-1d (Exim 4.70) (return-path ); Mon, 30 Nov 2009 23:33:03 +0000 From: Leo To: Dan Nicolaescu Cc: 5078@debbugs.gnu.org References: <200911301646.nAUGkHKB014645@godzilla.ics.uci.edu> <200911301959.nAUJxuNO016161@godzilla.ics.uci.edu> Date: Mon, 30 Nov 2009 23:33:02 +0000 In-Reply-To: <200911301959.nAUJxuNO016161@godzilla.ics.uci.edu> (Dan Nicolaescu's message of "Mon, 30 Nov 2009 11:59:56 -0800 (PST)") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: "Leo, Shidai Liu" On 2009-11-30 19:59 +0000, Dan Nicolaescu wrote: [...] > > I think I am seeing an odd bug. > > > > There's a file in one of my projects that Emacs (with -Q) VC can't see > > its changes. However, I can use magit to see its changes without any > > problem. I tried to reproduce this problem with a newly created git repo > > but with no luck. > > > > Could you let me know how I can debug this further? Thanks. > > > With the file that you have problems with in the current buffer, try to debug: > > M-: (vc-git-state (buffer-file-name)) RET That returns: up-to-date while the difference is: @@ -27,7 +27,7 @@ -\DeclareSymbolFont{numbers}{OT1}{cmr}{m}{n} + dkdk\DeclareSymbolFont{numbers}{OT1}{cmr}{m}{n} Leo From unknown Sat Sep 06 20:03:20 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#5078: 23.1.50; vc broken Reply-To: Dan Nicolaescu , 5078@debbugs.gnu.org Resent-From: Dan Nicolaescu Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Tue, 01 Dec 2009 00:15:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 5078 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 5078-submit@emacsbugs.donarmstrong.com id=B5078.125962603210690 (code B ref 5078); Tue, 01 Dec 2009 00:15:04 +0000 Received: (at 5078) by emacsbugs.donarmstrong.com; 1 Dec 2009 00:07:12 +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=-5.8 required=4.0 tests=AWL,GMAIL,HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from colin-baker-v0.ics.uci.edu (colin-baker-v0.ics.uci.edu [128.195.1.153]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB107BQW010687 for <5078@emacsbugs.donarmstrong.com>; Mon, 30 Nov 2009 16:07:12 -0800 Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by colin-baker-v0.ics.uci.edu (8.13.8/8.13.8) with ESMTP id nB1071dn002729 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 30 Nov 2009 16:07:02 -0800 Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id nB1071f9018012; Mon, 30 Nov 2009 16:07:01 -0800 (PST) Date: Mon, 30 Nov 2009 16:07:01 -0800 (PST) Message-Id: <200912010007.nB1071f9018012@godzilla.ics.uci.edu> From: Dan Nicolaescu To: Leo Cc: 5078@debbugs.gnu.org References: <200911301646.nAUGkHKB014645@godzilla.ics.uci.edu> <200911301959.nAUJxuNO016161@godzilla.ics.uci.edu> In-Reply-To: (Leo's message of "Mon, 30 Nov 2009 23:33:02 +0000") Lines: 29 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please send mail to helpdesk@ics.uci.edu or more information X-ICS-MailScanner-ID: nB1071dn002729 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu Leo writes: > On 2009-11-30 19:59 +0000, Dan Nicolaescu wrote: > [...] > > > I think I am seeing an odd bug. > > > > > > There's a file in one of my projects that Emacs (with -Q) VC can't see > > > its changes. However, I can use magit to see its changes without any > > > problem. I tried to reproduce this problem with a newly created git repo > > > but with no luck. > > > > > > Could you let me know how I can debug this further? Thanks. > > > > > > With the file that you have problems with in the current buffer, try to debug: > > > > M-: (vc-git-state (buffer-file-name)) RET > > That returns: up-to-date Please try to debug that function and figure out why it returns 'up-to-date. > while the difference is: > > @@ -27,7 +27,7 @@ > -\DeclareSymbolFont{numbers}{OT1}{cmr}{m}{n} > + dkdk\DeclareSymbolFont{numbers}{OT1}{cmr}{m}{n} > > Leo From unknown Sat Sep 06 20:03:20 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#5078: 23.1.50; vc broken Reply-To: Leo , 5078@debbugs.gnu.org Resent-From: Leo Original-Sender: "Leo, Shidai Liu" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Tue, 01 Dec 2009 01:30:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 5078 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 5078-submit@emacsbugs.donarmstrong.com id=B5078.125963029820018 (code B ref 5078); Tue, 01 Dec 2009 01:30:07 +0000 Received: (at 5078) by emacsbugs.donarmstrong.com; 1 Dec 2009 01:18:18 +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.9 required=4.0 tests=AWL,FOURLA,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ppsw-5.csi.cam.ac.uk (ppsw-5.csi.cam.ac.uk [131.111.8.135]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB11IGxK020013 for <5078@emacsbugs.donarmstrong.com>; Mon, 30 Nov 2009 17:18:18 -0800 X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Received: from cpc2-cmbg15-2-0-cust694.5-4.cable.virginmedia.com ([86.26.14.183]:49714 helo=victoria.local) by ppsw-5.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.155]:587) with esmtpsa (PLAIN:sl392) (TLSv1:DHE-RSA-AES128-SHA:128) id 1NFHNg-0005Fc-Gj (Exim 4.70) (return-path ); Tue, 01 Dec 2009 01:18:16 +0000 From: Leo To: Dan Nicolaescu Cc: 5078@debbugs.gnu.org References: <200911301646.nAUGkHKB014645@godzilla.ics.uci.edu> <200911301959.nAUJxuNO016161@godzilla.ics.uci.edu> <200912010007.nB1071f9018012@godzilla.ics.uci.edu> Date: Tue, 01 Dec 2009 01:18:14 +0000 In-Reply-To: <200912010007.nB1071f9018012@godzilla.ics.uci.edu> (Dan Nicolaescu's message of "Mon, 30 Nov 2009 16:07:01 -0800 (PST)") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: "Leo, Shidai Liu" On 2009-12-01 00:07 +0000, Dan Nicolaescu wrote: > Please try to debug that function and figure out why it returns 'up-to-date. I set vc-git-state with edebug and then made some changes to the file. The following are some return values inside vc-git-state. Does it give a clue? 1. (vc-git--call nil "add" "--refresh" "--" (file-relative-name file)) returns result: 128 (#o200, #x80, ?\200) 2. (vc-git--run-command-string file "diff-index" "-z" "HEAD" "--") returns empty string "" If I clone the repo, the problem goes away. Best, Leo From unknown Sat Sep 06 20:03:20 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#5078: 23.1.50; vc broken Reply-To: Dan Nicolaescu , 5078@debbugs.gnu.org Resent-From: Dan Nicolaescu Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Tue, 01 Dec 2009 02:05:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 5078 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 5078-submit@emacsbugs.donarmstrong.com id=B5078.125963281730960 (code B ref 5078); Tue, 01 Dec 2009 02:05:04 +0000 Received: (at 5078) by emacsbugs.donarmstrong.com; 1 Dec 2009 02:00:17 +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=-5.7 required=4.0 tests=AWL,FOURLA,GMAIL, HAS_BUG_NUMBER,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from paul-mcgann-v0.ics.uci.edu (paul-mcgann-v0.ics.uci.edu [128.195.1.147]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB120GLY030877 for <5078@emacsbugs.donarmstrong.com>; Mon, 30 Nov 2009 18:00:17 -0800 Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by paul-mcgann-v0.ics.uci.edu (8.13.8/8.13.8) with ESMTP id nB1205oM005301 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 30 Nov 2009 18:00:06 -0800 Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id nB1205lE018903; Mon, 30 Nov 2009 18:00:05 -0800 (PST) Date: Mon, 30 Nov 2009 18:00:05 -0800 (PST) Message-Id: <200912010200.nB1205lE018903@godzilla.ics.uci.edu> From: Dan Nicolaescu To: Leo Cc: 5078@debbugs.gnu.org References: <200911301646.nAUGkHKB014645@godzilla.ics.uci.edu> <200911301959.nAUJxuNO016161@godzilla.ics.uci.edu> <200912010007.nB1071f9018012@godzilla.ics.uci.edu> In-Reply-To: (Leo's message of "Tue, 01 Dec 2009 01:18:14 +0000") Lines: 28 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please send mail to helpdesk@ics.uci.edu or more information X-ICS-MailScanner-ID: nB1205oM005301 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu Leo writes: > On 2009-12-01 00:07 +0000, Dan Nicolaescu wrote: > > Please try to debug that function and figure out why it returns 'up-to-date. > > > I set vc-git-state with edebug and then made some changes to the file. > The following are some return values inside vc-git-state. Does it give a > clue? > > 1. (vc-git--call nil "add" "--refresh" "--" (file-relative-name file)) > > returns result: 128 (#o200, #x80, ?\200) > > 2. (vc-git--run-command-string file "diff-index" "-z" "HEAD" "--") > > returns empty string "" It seems that git thinks there's no change, if you change that line to: (vc-git--run-command-string file "diff-index" "-p" "-z" "HEAD" "--") does it return the diff you've shown in a previous message? > If I clone the repo, the problem goes away. Maybe something is corrupted in your tree, maybe comparing the 2 .git directories could give some clues. From unknown Sat Sep 06 20:03:20 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Leo Subject: bug#5078 closed by Leo (Re: bug#5078: 23.1.50; vc broken) Message-ID: References: X-Emacs-PR-Message: they-closed 5078 X-Emacs-PR-Package: emacs Reply-To: 5078@debbugs.gnu.org Date: Tue, 01 Dec 2009 15:05:09 +0000 Content-Type: multipart/mixed; boundary="----------=_1259679909-8493-1" This is a multi-part message in MIME format... ------------=_1259679909-8493-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #5078: 23.1.50; vc broken It has been closed by Leo . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Leo by replying to this email. --=20 5078: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D5078 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1259679909-8493-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 5078-done) by emacsbugs.donarmstrong.com; 1 Dec 2009 14:56:54 +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.3 required=4.0 tests=AWL,FOURLA,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ppsw-0.csi.cam.ac.uk (ppsw-0.csi.cam.ac.uk [131.111.8.130]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB1EuqpO007909 for <5078-done@emacsbugs.donarmstrong.com>; Tue, 1 Dec 2009 06:56:54 -0800 X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Received: from lapwing-gw-1.csx.cam.ac.uk ([131.111.1.66]:50448 helo=victoria.local) by ppsw-0.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.150]:587) with esmtpsa (PLAIN:sl392) (TLSv1:DHE-RSA-AES128-SHA:128) id 1NFU9s-00043F-0T (Exim 4.70) (return-path ); Tue, 01 Dec 2009 14:56:52 +0000 From: Leo To: Dan Nicolaescu Cc: 5078-done@debbugs.gnu.org Subject: Re: bug#5078: 23.1.50; vc broken References: <200911301646.nAUGkHKB014645@godzilla.ics.uci.edu> <200911301959.nAUJxuNO016161@godzilla.ics.uci.edu> <200912010007.nB1071f9018012@godzilla.ics.uci.edu> <200912010200.nB1205lE018903@godzilla.ics.uci.edu> Date: Tue, 01 Dec 2009 14:56:50 +0000 In-Reply-To: <200912010200.nB1205lE018903@godzilla.ics.uci.edu> (Dan Nicolaescu's message of "Mon, 30 Nov 2009 18:00:05 -0800 (PST)") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: "Leo, Shidai Liu" On 2009-12-01 02:00 +0000, Dan Nicolaescu wrote: > > I set vc-git-state with edebug and then made some changes to the file. > > The following are some return values inside vc-git-state. Does it give a > > clue? > > > > 1. (vc-git--call nil "add" "--refresh" "--" (file-relative-name file)) > > > > returns result: 128 (#o200, #x80, ?\200) > > > > 2. (vc-git--run-command-string file "diff-index" "-z" "HEAD" "--") > > > > returns empty string "" > > It seems that git thinks there's no change, if you change that line to: > > (vc-git--run-command-string file "diff-index" "-p" "-z" "HEAD" "--") > > does it return the diff you've shown in a previous message? It returns the empty string "" as well. > > If I clone the repo, the problem goes away. > > Maybe something is corrupted in your tree, maybe comparing the 2 .git > directories could give some clues. I think it might be due to incompatibility between git 1.4.x and 1.5.x as all new repos do not have this problem. This bug can be closed. Thank you very much for your help along the way. Best, Leo ------------=_1259679909-8493-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 30 Nov 2009 11:44:40 +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.2 required=4.0 tests=AWL,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 nAUBicD5001508 for ; Mon, 30 Nov 2009 03:44:40 -0800 Received: from mx10.gnu.org ([199.232.76.166]:37066) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1NF4gI-00006U-9E for emacs-pretest-bug@gnu.org; Mon, 30 Nov 2009 06:44:38 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NF4gH-00033u-2X for emacs-pretest-bug@gnu.org; Mon, 30 Nov 2009 06:44:38 -0500 Received: from ppsw-6.csi.cam.ac.uk ([131.111.8.136]:44355) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NF4gG-00033Z-Pa for emacs-pretest-bug@gnu.org; Mon, 30 Nov 2009 06:44:36 -0500 X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Received: from lapwing-gw-1.csx.cam.ac.uk ([131.111.1.66]:62719 helo=victoria.local) by ppsw-6.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.156]:587) with esmtpsa (PLAIN:sl392) (TLSv1:DHE-RSA-AES128-SHA:128) id 1NF4gE-0004oI-KY (Exim 4.70) for emacs-pretest-bug@gnu.org (return-path ); Mon, 30 Nov 2009 11:44:34 +0000 From: Leo To: emacs-pretest-bug@gnu.org Subject: 23.1.50; vc broken Date: Mon, 30 Nov 2009 11:44:32 +0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: "Leo, Shidai Liu" X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Please describe exactly what actions triggered the bug and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': For files that are placed in a subdirectory (where there's no .git) of a git repo, vc now thinks a file unchanged even if there are changes. 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'. For information about debugging Emacs, please read the file /Applications/Emacs.app/Contents/Resources/etc/DEBUG. In GNU Emacs 23.1.50.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54) of 2009-11-27 on victoria.local Windowing system distributor `Apple', version 10.3.949 configured using `configure '--with-ns'' 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: nil value of $XMODIFIERS: nil locale-coding-system: nil default enable-multibyte-characters: t ------------=_1259679909-8493-1--