From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kai Grossjohann Newsgroups: gmane.emacs.devel Subject: Re: Set modtime of a local file? Date: Sun, 14 Mar 2004 11:25:09 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <8765d720ai.fsf@emptyhost.emptydomain.de> References: <20040313234744.31A8860107@imf.math.ku.dk> <40541092.5090303@math.ku.dk> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1079261017 16617 80.91.224.253 (14 Mar 2004 10:43:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 14 Mar 2004 10:43:37 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Mar 14 11:43:32 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B2T5g-0003N2-00 for ; Sun, 14 Mar 2004 11:43:32 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1B2T5g-0006ks-00 for ; Sun, 14 Mar 2004 11:43:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B2Syw-0007Mm-F7 for emacs-devel@quimby.gnus.org; Sun, 14 Mar 2004 05:36:34 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B2SyR-0007MB-QQ for emacs-devel@gnu.org; Sun, 14 Mar 2004 05:36:03 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B2SrO-0005xX-82 for emacs-devel@gnu.org; Sun, 14 Mar 2004 05:29:18 -0500 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B2Snj-0005GS-M9 for emacs-devel@gnu.org; Sun, 14 Mar 2004 05:24:59 -0500 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1B2Snf-0000QZ-00 for ; Sun, 14 Mar 2004 11:24:55 +0100 Original-Received: from 213-203-244-156.kunde.vdserver.de ([213.203.244.156]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 14 Mar 2004 11:24:55 +0100 Original-Received: from kai by 213-203-244-156.kunde.vdserver.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 14 Mar 2004 11:24:55 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 14 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 213-203-244-156.kunde.vdserver.de User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.2 (gnu/linux) Cancel-Lock: sha1:+/2aZKZfMtRLFD+7Bh/z4doSR8o= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:20453 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:20453 Lars Hansen writes: >>After using write-region to write the buffer contents, >>what can I do to make the file on disk match the (remote) source file? > > Why not just make the existing function set_file_times (in sysdep.c) a > lisp primitive? That's a good idea. What do people think? (I wasn't aware that there is a C function already, I just noticed the lack of the Lisp function.) Kai