From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Update time stamps of different kind Date: Wed, 15 Jul 2009 17:46:49 +0200 Message-ID: References: <878wiq6n55.fsf@siart.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1247674878 21945 80.91.229.12 (15 Jul 2009 16:21:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 15 Jul 2009 16:21:18 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Uwe Siart Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 15 18:21:11 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MR7E4-00026W-VJ for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Jul 2009 18:21:01 +0200 Original-Received: from localhost ([127.0.0.1]:53621 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MR7E4-0006qU-7A for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Jul 2009 12:21:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MR6h9-0005RW-2Q for help-gnu-emacs@gnu.org; Wed, 15 Jul 2009 11:46:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MR6h4-0005Hw-7T for help-gnu-emacs@gnu.org; Wed, 15 Jul 2009 11:46:57 -0400 Original-Received: from [199.232.76.173] (port=59863 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MR6h3-0005Hb-GV for help-gnu-emacs@gnu.org; Wed, 15 Jul 2009 11:46:53 -0400 Original-Received: from fmmailgate03.web.de ([217.72.192.234]:46775) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MR6h3-0004ED-3E for help-gnu-emacs@gnu.org; Wed, 15 Jul 2009 11:46:53 -0400 Original-Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate03.web.de (Postfix) with ESMTP id E8B4E105DC1F6; Wed, 15 Jul 2009 17:46:50 +0200 (CEST) Original-Received: from [91.35.242.75] (helo=[192.168.1.2]) by smtp06.web.de with asmtp (WEB.DE 4.110 #277) id 1MR6h0-00015V-00; Wed, 15 Jul 2009 17:46:50 +0200 In-Reply-To: <878wiq6n55.fsf@siart.de> X-Mailer: Apple Mail (2.753.1) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX18haa1jKAbIV3SnezjwbKmBEDAcGC7IbtKpP80n vEuk461Q2yyJgysQKxTHHXokGWePPiqqIIvBhYSOZk4PBtiIVD YoZyO61HIJSWQDze0MfA== X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:66116 Archived-At: Am 15.07.2009 um 16:23 schrieb Uwe Siart: > Is it also possible to instruct Emacs to update a line like > > > > (Dublin Core meta data in XHTML) in the same way? I presume only the date of the content clause needs updates=85 For this a variable exists which you can customise: time-stamp-format is a variable defined in `time-stamp.el'. Its value is "%:y-%02m-%02d %02H:%02M:%02S %u" =09 This variable is safe as a file local variable if its value satisfies the predicate `stringp'. Making it a file local variable you can have as global setting =20 something else. For you "%:y-%02m-%02d" might be right! The time =20 stamp needs to be in the first few lines of a file. -- Mit friedvollen Gr=FC=DFen Pete Atheism is a non prophet organization.