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

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 16 Nov 2011 21:57:01 +0000

Your bug report

#9879: 23.3; making script executable with tramp

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
9879: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9879
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#9879: 23.3; making script executable with tramp
From: Michael Albinus <[email-masked]>
To: Dan Gildea <[email-masked]>
Cc: Glenn Morris <[email-masked]>, [email-masked]
Date: Wed, 16 Nov 2011 22:55:14 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Dan Gildea <[email-masked]> writes:

> works like a charm, thank you!

I've committed the patches to the trunk. Will be available with Emacs 24.1.

> Dan

Thanks for testing, and best regards, Michael.

Subject: 23.3; making script executable with tramp
From: Dan Gildea <[email-masked]>
To: [email-masked]
Date: Wed, 26 Oct 2011 14:48:31 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

emacs -Q

(add-hook 'after-save-hook
'executable-make-buffer-file-executable-if-script-p)

open new remote file with tramp with name ending in .sh

add #!/bin/bash

save file

receive following error message:
executable-make-buffer-file-executable-if-script-p: Wrong type
argument: number-or-marker-p, nil