all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
Cc: emacs-devel@gnu.org
Subject: Re: Tramp and file-precious-flag.
Date: Thu, 22 Jul 2004 22:35:37 +0200	[thread overview]
Message-ID: <87k6wvixuu.fsf@gmx.de> (raw)
In-Reply-To: 200407181951.i6IJp5a23381@raven.dms.auburn.edu

Luc Teirlinck <teirllm@dms.auburn.edu> writes:

> Sorry, what I meant was not that the modtime in `file-attributes'
> would get set to 0, what I meant was that (visited-file-modtime)
> returns 0 after a precious file is saved using Tramp.  I just double
> checked with emacs -q with a file made precious using:
>
> -*- file-precious-flag: t; -*-

OK, now I got. Fixed in Tramp CVS, sync with Emacs CVS will follow
next stable Tramp.

In fact, the problem was due to documentation vagueness of
`write-region'. It is said, that modtime of visited file must be
updated in case `visit' is equal t. Nothing is said if `visit' is a
string. But the code of `write-region' shows it must be updated always
when `visit' is not nil. Is it worth a documentation clarification?

> Sincerely,
>
> Luc.

Best regards, Michael.

  reply	other threads:[~2004-07-22 20:35 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-12 19:34 Tramp and file-precious-flag Luc Teirlinck
2004-07-18 19:25 ` Michael Albinus
2004-07-18 19:51   ` Luc Teirlinck
2004-07-22 20:35     ` Michael Albinus [this message]
2004-07-23  1:12       ` Luc Teirlinck
2004-07-23  8:00         ` Michael Albinus
2004-07-24  1:54           ` Luc Teirlinck
2004-07-24 18:49             ` Michael Albinus
2004-07-25  2:24               ` Luc Teirlinck
2004-07-25 11:06                 ` Michael Albinus
2004-07-24  3:02       ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k6wvixuu.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.