Subject: Re: bug#9879: 23.3; making script executable with tramp

From: Glenn Morris <[email-masked]>
Date: Fri, 11 Nov 2011 15:44:07 -0500

Hi Michael,

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

Dan Gildea wrote:

> I am using the scpc method. The local machine is a Mac (10.7) and the
> remote machine is linux (fedora 15).
>
> Here is the backtrace:
>
> Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
>   logand(nil 73)
>   executable-make-buffer-file-executable-if-script-p()
>   run-hooks(after-save-hook)
>   basic-save-buffer()
>   save-buffer(1)
>   call-interactively(save-buffer nil nil)
>
> emacs version:
>
> GNU Emacs 23.3.1 (x86_64-apple-darwin11.2.0, GTK+ Version 2.24.6)