all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Glenn Morris <rgm@gnu.org>
Cc: 9879@debbugs.gnu.org, Dan Gildea <gildea@pobox.com>
Subject: bug#9879: 23.3; making script executable with tramp
Date: Sun, 13 Nov 2011 11:42:33 +0100	[thread overview]
Message-ID: <87vcqocnhi.fsf@gmx.de> (raw)
In-Reply-To: <31obwi8k4o.fsf@fencepost.gnu.org> (Glenn Morris's message of "Fri, 11 Nov 2011 15:44:07 -0500")

Glenn Morris <rgm@gnu.org> writes:

> Hi Michael,

Hi,

> Might this be an issue with Tramp's file-modes handler?

Tramp's file name handler is very short:

(defun tramp-handle-file-modes (filename)
  "Like `file-modes' for Tramp files."
  (let ((truename (or (file-truename filename) filename)))
    (when (file-exists-p truename)
      (tramp-mode-string-to-int (nth 8 (file-attributes truename))))))

Maybe there are unexpected results for `file-truename', who knows.

Dan, could you, please, set tramp-verbose to 9 and rerun the test? There
will be a debug buffer, which you could show us for analysis.

Best regards, Michael.





  reply	other threads:[~2011-11-13 10:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-26 18:48 bug#9879: 23.3; making script executable with tramp Dan Gildea
2011-10-27 23:17 ` Glenn Morris
2011-10-27 23:42   ` Dan Gildea
2011-11-11 20:44     ` Glenn Morris
2011-11-13 10:42       ` Michael Albinus [this message]
2011-11-13 14:15         ` Daniel Gildea
2011-11-13 16:14           ` Michael Albinus
2011-11-16 19:59             ` Michael Albinus
2011-11-16 20:26               ` Dan Gildea
2011-11-16 21:55                 ` 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=87vcqocnhi.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=9879@debbugs.gnu.org \
    --cc=gildea@pobox.com \
    --cc=rgm@gnu.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.