unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Mathias Dahl" <mathias.dahl@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Small change in image-dired.el
Date: Sat, 29 Mar 2008 16:27:28 -0400	[thread overview]
Message-ID: <jwv3aq9s2hf.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <7dbe73ed0803291308o2c127601k6ceeb3351d3a1f83@mail.gmail.com> (Mathias Dahl's message of "Sat, 29 Mar 2008 21:08:21 +0100")

> When cleaning my mailbox I found an old request from Stefan Reichör
> asking if tumme (as it was called back then) could preserve the
> timestamp of rotated original files. He sent a patch which I
> implemented (although slightly changed) today. I made it customizable
> and by default it works as before, i.e. not preserving timestamp.

What is the rationale for such a "feature"?  Generally, modifying a file
and then changing its timestamp back to what it was is a good way to get
in trouble (many programs assume that if the timestamp hasn't changed,
then the file hasn't changed).

Maybe some other feature can provide the same end result?  E.g. maybe
the file's content should hold the timestamp (in its metadata) instead?

> If people are OK with the change, could someone check this in for me
> (it was a long time since I did any CVS commit and I don't want to
> mess up)?

I'm not necessarily opposed to it, but I'd first like a compelling
evidence that this is really the right way to solve the
original problem.


        Stefan




  reply	other threads:[~2008-03-29 20:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-29 20:08 Small change in image-dired.el Mathias Dahl
2008-03-29 20:27 ` Stefan Monnier [this message]
2008-03-29 21:27   ` Reiner Steib
2008-03-29 21:38     ` Stefan Monnier
2008-03-30  0:55   ` Mathias Dahl

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=jwv3aq9s2hf.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=mathias.dahl@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).