Romain Francoise <[EMAIL PROTECTED]> writes:

> Whoops, looks like Tramp 2.0.50 broke compatibility with emacs20, I
> think this change is the culprit:
>
>       (tramp-set-auto-save-file-modes): Use octal integer code #o600
>       instead of octal character code ?\600.  The latter resulted in a
>       syntax error with XEmacs.

Oops, indeed. As workaround you can apply the following patch (will
appear upstream with Tramp 2.0.51):

***************
*** 6949,6955 ****
        ;; auto-saved file belonging to another original file.  This could
        ;; be a security threat.
        (set-file-modes buffer-auto-save-file-name
!                     (or (file-modes bfn) #o600)))))
  
  (unless (or (> emacs-major-version 21)
            (and (featurep 'xemacs)
--- 6949,6955 ----
        ;; auto-saved file belonging to another original file.  This could
        ;; be a security threat.
        (set-file-modes buffer-auto-save-file-name
!                     (or (file-modes bfn) (tramp-octal-to-decimal "0600"))))))
  
  (unless (or (> emacs-major-version 21)
            (and (featurep 'xemacs)

Best regards, Michael.


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

Reply via email to