From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#18924: 25.0.50; visiting files in Bazaar workarea Date: Mon, 11 Nov 2019 15:22:01 +0100 Message-ID: <87tv7apk6u.fsf@marxist.se> References: <874mui8jfr.fsf@deb.home.net> <87bnoq6mmp.fsf@deb.home.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="15532"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Michael Albinus , Stefan Monnier , 18924@debbugs.gnu.org To: Bernardo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 11 15:23:25 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iUAbA-0003mV-BB for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Nov 2019 15:23:20 +0100 Original-Received: from localhost ([::1]:53574 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iUAb9-0001E9-9f for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Nov 2019 09:23:19 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54062) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iUAav-0001Dp-4R for bug-gnu-emacs@gnu.org; Mon, 11 Nov 2019 09:23:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iUAat-0000jK-2c for bug-gnu-emacs@gnu.org; Mon, 11 Nov 2019 09:23:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44536) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iUAas-0000jE-OH for bug-gnu-emacs@gnu.org; Mon, 11 Nov 2019 09:23:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iUAas-0003W9-Hv for bug-gnu-emacs@gnu.org; Mon, 11 Nov 2019 09:23:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Nov 2019 14:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18924 X-GNU-PR-Package: emacs Original-Received: via spool by 18924-submit@debbugs.gnu.org id=B18924.157348213813456 (code B ref 18924); Mon, 11 Nov 2019 14:23:02 +0000 Original-Received: (at 18924) by debbugs.gnu.org; 11 Nov 2019 14:22:18 +0000 Original-Received: from localhost ([127.0.0.1]:53357 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iUAa8-0003Uw-Hk for submit@debbugs.gnu.org; Mon, 11 Nov 2019 09:22:18 -0500 Original-Received: from host.gofardesign.uk ([208.79.239.190]:53741) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iUAa4-0003Uc-5K for 18924@debbugs.gnu.org; Mon, 11 Nov 2019 09:22:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=VSxcCQuIxmL2Icgs4aoPwNfXX1QeRWdTb+hlYp0uZw8=; b=SJi+F++CYWNUX83hm9NgsbpGwy 6oKDuNMcz/0hWI2XwhiXpN+2xrv3lZJCiQXKmRccCI+Qy6PZeXXSitFfVjs2Yu/bVQEXNoZn/jGL6 JDAd3QtHTaxFs5qjsN/SzEcss8iWAO5CUVYbqIjdhUXxDDfiml+Er3Cm6szPr6kGzA/k=; Original-Received: from h-70-69.a785.priv.bahnhof.se ([155.4.70.69]:38412 helo=localhost) by host.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1iUAZv-0002yN-Bu; Mon, 11 Nov 2019 08:22:03 -0600 In-Reply-To: <87bnoq6mmp.fsf@deb.home.net> (Bernardo's message of "Sun, 02 Nov 2014 19:18:54 +1100") X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: host.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: host.gofardesign.uk: stefan@marxist.se X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:171425 Archived-At: Hi Michael, See below a bug report related to Tramp. AFAICT, you never replied in this discussion, so I'm not sure if it's on your radar or not. Best regards, Stefan Kangas Bernardo writes: > hi, > >> >> If you (setq debug-on-error t debug-on-quit t) and hit C-g during this, >> do you get a backtrace? If so, can you show it to us? >> > > sure, see below for the backtrace; however, i've got some clues about > what's going on and if i'm right it's not really Emacs' problem but my > dodgy practice of copying the workareas around > > so the wider picture is like this - at work we have a project with a > Bazaar repository sitting on a LAN PC and most of people using > 'lightweight' Bazaar checkout (i.e. no local history of changes). > > to complicate things further the application builds under both GNU/Linux > and Windows so people will have two checkouts in their respective OSes > > i don't have access to office LAN from home and sometimes i zip the > whole workarea in order to (mostly) read code living in the dark corners > of the project that i know very little about; well i was convinced i've > zipped up the GNU/Linux workarea, but that's probably not the case; once > unzipped on my home Debian PC the .bzr points to a badly formed path > (i.e. starting with Windows drive letter + the ':' character which is > mapped to a network drive/directory) to the Bazaar repository; well, it > looks like this confuses the hell out of 'tramp' when trying to look at > this repository; > > i'm fairly confident this is the cause of the problem; apologies for all > the confusion caused > > i forgot all about the 'lightweight' checkout (it was fist performed > years ago when the project started) until Eli mentioned it in the > Emacs-Help group/list > > not sure if you guys want to address this "issue" but here's the > backtrace as requested > > Debugger entered--Lisp error: (quit) > signal(quit nil) > tramp-maybe-open-connection([#("scp" 0 3 (tramp-default t)) nil "H" "/Bzr/Apple/Application/.bzr/branch/format" nil]) > tramp-send-command([#("scp" 0 3 (tramp-default t)) nil "H" "/Bzr/Apple/Application/.bzr/branch/format" nil] "test 0 2>/dev/null; echo tramp_exit_status $?") > tramp-send-command-and-check([#("scp" 0 3 (tramp-default t)) nil "H" "/Bzr/Apple/Application/.bzr/branch/format" nil] "test 0") > tramp-get-test-command([#("scp" 0 3 (tramp-default t)) nil "H" "/Bzr/Apple/Application/.bzr/branch/format" nil]) > tramp-find-file-exists-command([#("scp" 0 3 (tramp-default t)) nil "H" "/Bzr/Apple/Application/.bzr/branch/format" nil]) > tramp-get-file-exists-command([#("scp" 0 3 (tramp-default t)) nil "H" "/Bzr/Apple/Application/.bzr/branch/format" nil]) > tramp-sh-handle-file-exists-p(#("/scp:H:/Bzr/Apple/Application/.bzr/branch/format" 1 4 (tramp-default t))) > apply(tramp-sh-handle-file-exists-p #("/scp:H:/Bzr/Apple/Application/.bzr/branch/format" 1 4 (tramp-default t))) > tramp-sh-file-name-handler(file-exists-p #("/scp:H:/Bzr/Apple/Application/.bzr/branch/format" 1 4 (tramp-default t))) > apply(tramp-sh-file-name-handler file-exists-p #("/scp:H:/Bzr/Apple/Application/.bzr/branch/format" 1 4 (tramp-default t))) > tramp-file-name-handler(file-exists-p #("/scp:H:/Bzr/Apple/Application/.bzr/branch/format" 1 4 (tramp-default t))) > file-exists-p(#("/scp:H:/Bzr/Apple/Application/.bzr/branch/format" 1 4 (tramp-default t))) > vc-bzr-working-revision("/home/one/Projects/Apple/Application/readme.txt") > apply(vc-bzr-working-revision "/home/one/Projects/Apple/Application/readme.txt") > vc-call-backend(Bzr working-revision "/home/one/Projects/Apple/Application/readme.txt") > vc-working-revision("/home/one/Projects/Apple/Application/readme.txt" Bzr) > vc-default-mode-line-string(Bzr "/home/one/Projects/Apple/Application/readme.txt") > apply(vc-default-mode-line-string Bzr "/home/one/Projects/Apple/Application/readme.txt") > vc-call-backend(Bzr mode-line-string "/home/one/Projects/Apple/Application/readme.txt") > vc-mode-line("/home/one/Projects/Apple/Application/readme.txt" Bzr) > vc-find-file-hook() > run-hooks(find-file-hook) > after-find-file(nil t) > find-file-noselect-1(# "~/Projects/Apple/Application/readme.txt" nil nil "~/Projects/Apple/Application/readme.txt" (8653796 2065)) > find-file-noselect("/home/one/Projects/Apple/Application/readme.txt" nil nil nil) > find-file("/home/one/Projects/Apple/Application/readme.txt") > command-line-1(("--eval" "(setq debug-on-error t debug-on-quit t)" "readme.txt")) > command-line() > normal-top-level() > > > -- > Rgds, Bernardo