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


View this message in rfc822 format

From: Dan Gildea <gildea <at> pobox.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 9879 <at> debbugs.gnu.org
Subject: bug#9879: 23.3; making script executable with tramp
Date: Thu, 27 Oct 2011 19:42:09 -0400
On Thu, October 27, 2011 at  7:17PM, Glenn Morris wrote:
>I am unable to reproduce this using Emacs 23.3 and Tramp's scpc method.
>The file is correctly made executable. Perhaps you could give more
>details about what Tramp method you are using, etc. Also perhaps do M-x
>toggle-debug-on-error, repeat the process, and post the resulting
>backtrace. Though I guess the error can only be due to file-modes
>returning nil.

Thanks for looking into this.  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)





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.