all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Carsten Bormann <cabo@tzi.org>
Cc: 12148@debbugs.gnu.org
Subject: bug#12148: 24.1.50; Tramp has problems with Solaris server (test -e)
Date: Tue, 07 Aug 2012 10:51:20 +0200	[thread overview]
Message-ID: <87ehnjaxvb.fsf@gmx.de> (raw)
In-Reply-To: <2318D1E1-B7AD-4160-A10F-04666C5385C2@tzi.org>

Carsten Bormann <cabo@tzi.org> writes:

> This appears to get circumvented correctly once, but the .emacs.d/tramp
> written out from the first emacs says:
>
>   ("file-exists" "test -e")
>
> which is clearly wrong.
> So the next incarnation of emacs will no longer work correcly with that
> Solaris server.

Hmm. In `tramp-find-file-exists-command', it is correctly tested for
"test -e", "/bin/test -e" aso. But the cache seems to get the wrong value.

I would need to analyze the cache operations. Would you, please, apply
"M-x tramp-cleanup-all-connections" (this also removes cache settings),
set `tramp-verbose' to 9, and rerun the test? The resulting debug buffer
shall tell us more.

> (Because of the caching in .emacs.d/tramp and the behavior of writing out the tramp file during kill-emacs, this can be very confusing to debug.  It took me a while to understand that the "works/doesn't work/works/doesn't work" behavior can only be explained by to the tramp file written out with bad information.)

Maybe the Tramp info file shall be improved for recipes how to disable
the cache for debugging.

Best regards, Michael.





  reply	other threads:[~2012-08-07  8:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-06 15:23 bug#12148: 24.1.50; Tramp has problems with Solaris server (test -e) Carsten Bormann
2012-08-07  8:51 ` Michael Albinus [this message]
2012-08-07 16:23   ` Carsten Bormann
2012-08-08  6:47     ` Michael Albinus
2012-08-08  7:35       ` Carsten Bormann
2012-08-08  7:51         ` Michael Albinus
2012-08-08 13:45           ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ehnjaxvb.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=12148@debbugs.gnu.org \
    --cc=cabo@tzi.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.