tramp-devel
[Top][All Lists]
Advanced

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

Re: tramp (); doesn't automatically switch to buffer of found file.


From: Adam Stallard
Subject: Re: tramp (); doesn't automatically switch to buffer of found file.
Date: Fri, 13 Dec 2002 07:27:41 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0

Short specs:

Emacs  : GNU Emacs 21.2.1 (i386-msvc-nt5.1.2600)
of 2002-03-19 on buffy
Package: tramp ()

Kai Großjohann wrote:
Adam Stallard <address@hidden> writes:

  
When I find a file on a remote machine, emacs will store it in a buffer,
but it doesn't automatically switch to that buffer.

It gives this error message:

apply: Wrong type argument: listp, 2579
    

This was reported just a couple of days ago, but I haven't had time
to look into it.  You're getting an error message, that's a promising
start for debugging.  Could you please do the following:

- Load tramp.el instead of tramp.elc (with M-x load-library RET
  tramp.el RET, for example).
- C-u 1 M-x toggle-debug-on-error RET to turn on debugging.
- Reproduce the problem.

You should now get a backtrace.  Please post it.
Rainer Thiel <address@hidden> writes:

  
> At 23:31 05.12.2002, Kai Großjohann wrote:
    
>>I've released 2.0.27 even though it only has a couple of changes
      
>
> Unless that should depend on the Windows version (which I think is
> improbable), the bug that Tramp failed to display the buffer created
> for a newly loaded remote file in the foreground has been removed in
> 2.0.27.  At least I am unable to reproduce it on my notebook that runs
> under Windows xp.
I also run Windows xp.  This happens when I find a file that is on a remote machine.  The remote machine is running SunOs 2.6 if that makes any difference.  The file is brought over fine and I can make changes to it, the only problem I have seen is that it doesn't switch to the buffer that holds it like I would expect.
  I hope this will be true of my desktop computer
> running under Win98 as well, where the problem persisted until
> v. 2.0.26.
    

=8-O

I can't believe it.  Anyhow, if it works, fine, but I'm REALLY
surprised.

I'll wait for further reports from others...

I installed version 2.0.27 and I still get the same error and a backtrace that is identical as far as I can tell:

  car(43595)
  (> 0 (car (tramp-time-diff ... ...)))
  (if (and (not ...) (not ...)) (> 0 (car ...)) (unless (and ... ...) (signal ... ...)) (with-parsed-tramp-file-name file1 v1 (with-parsed-tramp-file-name file2 v2 ... ... ...)))
  (let ((fa1 ...) (fa2 ...)) (if (and ... ...) (> 0 ...) (unless ... ...) (with-parsed-tramp-file-name file1 v1 ...)))
  (save-excursion (let (... ...) (if ... ... ... ...)))
  (cond ((not ...) nil) ((not ...) t) (t (save-excursion ...)))
  tramp-handle-file-newer-than-file-p("c:/#2#" "/mysite.net:/www/htdocs/adam/www/home.cc")
  apply(tramp-handle-file-newer-than-file-p ("c:/#2#" "/mysite.net:/www/htdocs/adam/www/home.cc"))
  (cond (foreign (apply foreign operation args)) (fn (apply ... args)) (t (tramp-run-real-handler operation args)))
  (let* ((fn ...) (filename ...) (foreign ...)) (cond (foreign ...) (fn ...) (t ...)))
  (progn (let* (... ... ...) (cond ... ... ...)))
  (unwind-protect (progn (let* ... ...)) (set-match-data save-match-data-internal))
  (let ((save-match-data-internal ...)) (unwind-protect (progn ...) (set-match-data save-match-data-internal)))
  (save-match-data (let* (... ... ...) (cond ... ... ...)))
  tramp-file-name-handler(file-newer-than-file-p "c:/#2#" "/mysite.net:/www/htdocs/adam/www/home.cc")
  file-newer-than-file-p("c:\\#2#" "/mysite.net:/www/htdocs/adam/www/home.cc")
  after-find-file(nil t)
  find-file-noselect-1(#<buffer home.cc> "/mysite.net:/www/htdocs/adam/www/home.cc" nil nil "/mysite.net:/www/htdocs/adam/www/home.cc" ((5 . 20342) (128 24)))
  find-file-noselect("/mysite.net:/www/htdocs/adam/www/home.cc" nil nil nil)
  find-file("/mysite.net:/www/htdocs/adam/www/home.cc")
  recentf-find-file("/mysite.net:/www/htdocs/adam/www/home.cc")
  menu-function-5()
* call-interactively(menu-function-5)

--Adam


reply via email to

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