GNU bug report logs - #9879
23.3; making script executable with tramp

Previous Next

Package: emacs;

Reported by: Dan Gildea <gildea <at> pobox.com>

Date: Wed, 26 Oct 2011 19:05:02 UTC

Severity: normal

Found in version 23.3

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Dan Gildea <gildea <at> pobox.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.3; making script executable with tramp
Date: Wed, 26 Oct 2011 14:48:31 -0400
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





This bug report was last modified 13 years and 191 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.