Michael Albinus <[EMAIL PROTECTED]> writes:

> Ferenc Wagner <[EMAIL PROTECTED]> writes:
>
>> if I leave my editor idle for a while, I start getting a beep every 30
>> seconds accompanied with the message
>>
>> tramp-set-auto-save-file-modes: Wrong type argument: integerp, nil
>>
>> in my *Messages* buffer.
>
> Could you, please, evaluate (setq debug-on-error t)
> Then run the same test, and provide me with the backtrace.

Debugger entered--Lisp error: (wrong-type-argument integerp nil)
  set-file-modes("/tmp/#diag.txt#" nil)
  tramp-set-auto-save-file-modes()
  run-hooks(auto-save-hook)

And really,

set-file-modes is a built-in function.
(set-file-modes FILENAME MODE)

Set mode bits of file named FILENAME to MODE (an integer).
Only the 12 low bits of MODE are used.

> Another useful test would be (file-modes "name.of.the.tramp.file")

(file-modes "diag.txt") => nil
(file-modes "/tmp/#diag.txt#") => 436

-rw-rw-r--  1 wferi wferi 0 2005-04-28 15:03 /tmp/#diag.txt#

I'm glad to supply more information if needed.
-- 
Feri.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to