help-emacs-windows
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[h-e-w] Emacs file-truename returning wrong path


From: Thomas Karolski
Subject: [h-e-w] Emacs file-truename returning wrong path
Date: Tue, 07 Oct 2008 13:31:35 +0200
User-agent: Thunderbird 2.0.0.17 (Windows/20080914)

I'm using GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-09-09 on LENNART-69DE564 (patched) with cygwin using cvs slime (last update: 04. Oct. 08) I noticed that by pressing "M-." (slime-edit-definition) all that happens is a new empty buffer appearing. This as it turns out is due to the fact that the buffer points to the wrong filename. Using trace-function I narrowed it down to emacs' file-truename function, which pretty much prepends the current working directory to the full path of the buffer.

For an example, here's the trace output:
======================================================================
1 -> slime-edit-definition: name="space.core:add-construction" where=nil
| 2 -> slime-edit-definition-cont: xrefs=(("(SPACE.CORE:ADD-CONSTRUCTION DEFGENERIC)" (:location (:file "/e/temp/Coden/_Lisp/space/core/construction-site.lisp") (:line 14 14) (:snippet "DEFGENERIC")))) name="space.core:add-construction" where=nil | | 3 -> slime-analyze-xrefs: xrefs=(("(SPACE.CORE:ADD-CONSTRUCTION DEFGENERIC)" (:location (:file "/e/temp/Coden/_Lisp/space/core/construction-site.lisp") (:line 14 14) (:snippet "DEFGENERIC")))) | | 3 <- slime-analyze-xrefs: (t ((#1="/e/temp/Coden/_Lisp/space/core/construction-site.lisp" ("(SPACE.CORE:ADD-CONSTRUCTION DEFGENERIC)" (:location (:file #1#) (:line 14 14) (:snippet "DEFGENERIC"))))))
| | 3 -> slime-push-definition-stack: marker=nil narrowing-configuration=nil
| | 3 <- slime-push-definition-stack: 8
| | 3 -> slime-pop-to-location: location=(:location (:file "/e/temp/Coden/_Lisp/space/core/construction-site.lisp") (:line 14 14) (:snippet "DEFGENERIC")) where=nil | | | 4 -> slime-goto-source-location: location=(:location (:file "/e/temp/Coden/_Lisp/space/core/construction-site.lisp") (:line 14 14) (:snippet "DEFGENERIC")) noerror=nil | | | | 5 -> slime-goto-location-buffer: buffer=(:file "/e/temp/Coden/_Lisp/space/core/construction-site.lisp") | | | | | 6 -> file-truename: filename="/e/temp/Coden/_Lisp/space/core/construction-site.lisp" counter=nil prev-dirs=nil | | | | | | 7 -> file-truename: filename="/e/temp/Coden/_Lisp/space/core" counter=nil prev-dirs=nil | | | | | | | 8 -> file-truename: filename="/e/temp/Coden/_Lisp/space" counter=nil prev-dirs=nil | | | | | | | | 9 -> file-truename: filename="/e/temp/Coden/_Lisp" counter=nil prev-dirs=nil | | | | | | | | | 10 -> file-truename: filename="/e/temp/Coden" counter=nil prev-dirs=nil | | | | | | | | | | 11 -> file-truename: filename="/e/temp" counter=nil prev-dirs=nil | | | | | | | | | | | 12 -> file-truename: filename="/e" counter=nil prev-dirs=nil | | | | | | | | | | | | 13 -> file-truename: filename="" counter=nil prev-dirs=nil
| | | | | | | | | | | | 13 <- file-truename: "e:/temp/Coden/_Lisp/space"
| | | | | | | | | | | 12 <- file-truename: "e:/temp/Coden/_Lisp/space/e"
| | | | | | | | | | 11 <- file-truename: "e:/temp/Coden/_Lisp/space/e/temp"
| | | | | | | | | 10 <- file-truename: "e:/temp/Coden/_Lisp/space/e/temp/Coden" | | | | | | | | 9 <- file-truename: "e:/temp/Coden/_Lisp/space/e/temp/Coden/_Lisp" | | | | | | | 8 <- file-truename: "e:/temp/Coden/_Lisp/space/e/temp/Coden/_Lisp/space" | | | | | | 7 <- file-truename: "e:/temp/Coden/_Lisp/space/e/temp/Coden/_Lisp/space/core" | | | | | 6 <- file-truename: "e:/temp/Coden/_Lisp/space/e/temp/Coden/_Lisp/space/core/construction-site.lisp" | | | | | 6 -> file-truename: filename="e:/temp/Coden/_Lisp/space/main.lisp" counter=nil prev-dirs=nil
| | | | | 6 <- file-truename: "e:/temp/Coden/_Lisp/space/main.lisp"
| | | | | 6 -> file-truename: filename="e:/temp/Coden/_Lisp/space/e/temp/Coden/_Lisp/space/core/construction-site.lisp" counter=nil prev-dirs=nil | | | | | | 7 -> file-truename: filename="e:/temp/Coden/_Lisp/space/e/temp/Coden/_Lisp/space/core" counter=nil prev-dirs=nil | | | | | | | 8 -> file-truename: filename="e:/temp/Coden/_Lisp/space/e/temp/Coden/_Lisp/space" counter=nil prev-dirs=nil | | | | | | | | 9 -> file-truename: filename="e:/temp/Coden/_Lisp/space/e/temp/Coden/_Lisp" counter=nil prev-dirs=nil | | | | | | | | | 10 -> file-truename: filename="e:/temp/Coden/_Lisp/space/e/temp/Coden" counter=nil prev-dirs=nil | | | | | | | | | | 11 -> file-truename: filename="e:/temp/Coden/_Lisp/space/e/temp" counter=nil prev-dirs=nil | | | | | | | | | | | 12 -> file-truename: filename="e:/temp/Coden/_Lisp/space/e" counter=nil prev-dirs=nil | | | | | | | | | | | | 13 -> file-truename: filename="e:/temp/Coden/_Lisp/space" counter=nil prev-dirs=nil
| | | | | | | | | | | | 13 <- file-truename: "e:/temp/Coden/_Lisp/space"
| | | | | | | | | | | 12 <- file-truename: "e:/temp/Coden/_Lisp/space/e"
| | | | | | | | | | 11 <- file-truename: "e:/temp/Coden/_Lisp/space/e/temp"
| | | | | | | | | 10 <- file-truename: "e:/temp/Coden/_Lisp/space/e/temp/Coden" | | | | | | | | 9 <- file-truename: "e:/temp/Coden/_Lisp/space/e/temp/Coden/_Lisp" | | | | | | | 8 <- file-truename: "e:/temp/Coden/_Lisp/space/e/temp/Coden/_Lisp/space" | | | | | | 7 <- file-truename: "e:/temp/Coden/_Lisp/space/e/temp/Coden/_Lisp/space/core" | | | | | 6 <- file-truename: "e:/temp/Coden/_Lisp/space/e/temp/Coden/_Lisp/space/core/construction-site.lisp" | | | | | 6 -> file-truename: filename="e:/temp/Coden/_Lisp/space/e/temp/Coden/_Lisp/space/core/construction-site.lisp" counter=nil prev-dirs=nil | | | | | | 7 -> file-truename: filename="e:/temp/Coden/_Lisp/space/e/temp/Coden/_Lisp/space/core" counter=nil prev-dirs=nil | | | | | | | 8 -> file-truename: filename="e:/temp/Coden/_Lisp/space/e/temp/Coden/_Lisp/space" counter=nil prev-dirs=nil | | | | | | | | 9 -> file-truename: filename="e:/temp/Coden/_Lisp/space/e/temp/Coden/_Lisp" counter=nil prev-dirs=nil | | | | | | | | | 10 -> file-truename: filename="e:/temp/Coden/_Lisp/space/e/temp/Coden" counter=nil prev-dirs=nil | | | | | | | | | | 11 -> file-truename: filename="e:/temp/Coden/_Lisp/space/e/temp" counter=nil prev-dirs=nil | | | | | | | | | | | 12 -> file-truename: filename="e:/temp/Coden/_Lisp/space/e" counter=nil prev-dirs=nil | | | | | | | | | | | | 13 -> file-truename: filename="e:/temp/Coden/_Lisp/space" counter=nil prev-dirs=nil
| | | | | | | | | | | | 13 <- file-truename: "e:/temp/Coden/_Lisp/space"
| | | | | | | | | | | 12 <- file-truename: "e:/temp/Coden/_Lisp/space/e"
| | | | | | | | | | 11 <- file-truename: "e:/temp/Coden/_Lisp/space/e/temp"
| | | | | | | | | 10 <- file-truename: "e:/temp/Coden/_Lisp/space/e/temp/Coden" | | | | | | | | 9 <- file-truename: "e:/temp/Coden/_Lisp/space/e/temp/Coden/_Lisp" | | | | | | | 8 <- file-truename: "e:/temp/Coden/_Lisp/space/e/temp/Coden/_Lisp/space" | | | | | | 7 <- file-truename: "e:/temp/Coden/_Lisp/space/e/temp/Coden/_Lisp/space/core" | | | | | 6 <- file-truename: "e:/temp/Coden/_Lisp/space/e/temp/Coden/_Lisp/space/core/construction-site.lisp" | | | | | 6 -> convert-standard-filename: filename="e:/temp/Coden/_Lisp/space/e/temp/Coden/_Lisp/space/core/#construction-site.lisp#" | | | | | 6 <- convert-standard-filename: "e:\\temp\\Coden\\_Lisp\\space\\e\\temp\\Coden\\_Lisp\\space\\core\\#construction-site.lisp#"
| | | | 5 <- slime-goto-location-buffer: 1
| | | 4 <- slime-goto-source-location: 1
| | 3 <- slime-pop-to-location: #<buffer construction-site.lisp>
| 2 <- slime-edit-definition-cont: #<buffer construction-site.lisp>
1 <- slime-edit-definition: #<buffer construction-site.lisp>
======================================================================

Is anyone having similar experiences?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]