From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Marco Parrone Newsgroups: gmane.emacs.help Subject: Re: timestamp in emacs Date: Wed, 05 May 2004 19:47:38 GMT Organization: TIN Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <871xlybrle.fsf@marc0.dyndns.org> References: <8765babs4u.fsf@marc0.dyndns.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0302613028==" X-Trace: sea.gmane.org 1083787572 14025 80.91.224.253 (5 May 2004 20:06:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 5 May 2004 20:06:12 +0000 (UTC) Keywords: timestamp, emacs, keywords substitution Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 05 22:06:07 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BLSec-00076n-00 for ; Wed, 05 May 2004 22:06:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BLSav-0001mh-58 for geh-help-gnu-emacs@m.gmane.org; Wed, 05 May 2004 16:02:17 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsmi-us.news.garr.it!newsmi-eu.news.garr.it!NewsITBone-GARR!feed.news.tiscali.de!newsfeed.stueberl.de!news-out.tin.it!news-in.tin.it!news4.tin.it.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help X-Language: en X-Accept-Language: it, en X-Country: Italy X-Attribution: marc0 X-Face: ]KIe+0@lNbQo2y\ey;]!*LKsR-0$V737yt[BnA*)c,)gu>IH>S}:"PPNWkV<}[ usLa_gJyB!BRUEC!~5OY;:`k1Tcv2g2<0|,'RI}ZhnPpaXC.,L^y?}R&FfrRiLE*b+AE, JY/a! `/ZN{E`NgLO_QV#s`!,#M%ppv@mcIb`K^/1``d^=o"AvteN1nNFyzU List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Mime-version: 1.0 Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:18282 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:18282 --===============0302613028== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Marco Parrone on Wed, 05 May 2004 19:35:54 GMT writes: > (defun substitute-keywords () > (interactive) > (save-excursion > (beginning-of-buffer) > (mapcar > (lambda (keyw/exp) > (replace-regexp (car keyw/exp) > (eval (cdr keyw/exp)))) > substitute-keywords-keywords/expressions-alist) > nil)) Sorry, the previous was wrong, this one should work. (defun substitute-keywords () (interactive) (save-excursion (mapcar (lambda (keyw/exp) (beginning-of-buffer) (replace-regexp (car keyw/exp) (eval (cdr keyw/exp)))) substitute-keywords-keywords/expressions-alist) nil)) -- Marco Parrone (marc0) [0x45070AD6] --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBAmUCci2MRZ0UHCtYRArEhAKDCYd9GjdBiCKVG/wPxWHXQvSpw1QCgkOvE EkwveEL1VIpo3KcpKEcMT4k= =5tLh -----END PGP SIGNATURE----- --=-=-=-- --===============0302613028== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://mail.gnu.org/mailman/listinfo/help-gnu-emacs --===============0302613028==--