From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Small change in image-dired.el Date: Sat, 29 Mar 2008 17:38:57 -0400 Message-ID: References: <7dbe73ed0803291308o2c127601k6ceeb3351d3a1f83@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1206826755 31847 80.91.229.12 (29 Mar 2008 21:39:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Mar 2008 21:39:15 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Mathias Dahl" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 29 22:39:46 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JfimA-0006hZ-2p for ged-emacs-devel@m.gmane.org; Sat, 29 Mar 2008 22:39:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JfilY-0002M8-FA for ged-emacs-devel@m.gmane.org; Sat, 29 Mar 2008 17:39:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JfilR-0002KR-Az for emacs-devel@gnu.org; Sat, 29 Mar 2008 17:39:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JfilP-0002Jj-Ny for emacs-devel@gnu.org; Sat, 29 Mar 2008 17:39:00 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JfilP-0002JX-Dx for emacs-devel@gnu.org; Sat, 29 Mar 2008 17:38:59 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182] helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JfilP-0007CC-BF for emacs-devel@gnu.org; Sat, 29 Mar 2008 17:38:59 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ag4FAA5U7kfO+LLN/2dsb2JhbACBWqdF X-IronPort-AV: E=Sophos;i="4.25,576,1199682000"; d="scan'208";a="17136771" Original-Received: from smtp.pppoe.ca (HELO smtp.teksavvy.com) ([65.39.196.238]) by ironport2-out.teksavvy.com with ESMTP; 29 Mar 2008 17:38:58 -0400 Original-Received: from pastel.home ([206.248.178.205]) by smtp.teksavvy.com (Internet Mail Server v1.0) with ESMTP id JYP17158; Sat, 29 Mar 2008 17:38:58 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id BAFD47FDF; Sat, 29 Mar 2008 17:38:57 -0400 (EDT) In-Reply-To: (Reiner Steib's message of "Sat, 29 Mar 2008 22:27:47 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:93838 Archived-At: >>> When cleaning my mailbox I found an old request from Stefan Reich=F6r >>> asking if tumme (as it was called back then) could preserve the >>> timestamp of rotated original files. [...] >> What is the rationale for such a "feature"?=20=20 > When a picture from a digital camera has the wrong orientation, it > might be useful to preserve the time stamp when fixing it. Not all > programs honor the EXIF info or the camera might do it wrong (due to > misconfiguration?). If the program doesn't honor the EXIF info and uses the file's timestamp as "the time the photo was taken", then there's not much we can do and the time will often be wrong for whatever reason (e.g. you copied the files). So what we should do is check the EXIF info: if the photo's date is missing, we should take the file's timestamp and put it as the photo's date. Then we can go on and change the file's time stamp all we want. Stefan