all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Marco Parrone <marc0@autistici.org>
Subject: Re: timestamp in emacs
Date: Wed, 05 May 2004 19:47:38 GMT	[thread overview]
Message-ID: <871xlybrle.fsf@marc0.dyndns.org> (raw)
In-Reply-To: 8765babs4u.fsf@marc0.dyndns.org


[-- Attachment #1.1: Type: text/plain, Size: 716 bytes --]

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) <marc0@autistici.org> [0x45070AD6]

[-- Attachment #1.2: Type: application/pgp-signature, Size: 188 bytes --]

[-- Attachment #2: Type: text/plain, Size: 151 bytes --]

_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnu-emacs

  reply	other threads:[~2004-05-05 19:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-05 16:21 timestamp in emacs Antonio Garcia
2004-05-05 19:35 ` Marco Parrone
2004-05-05 19:47   ` Marco Parrone [this message]
2004-05-05 20:01 ` Martin Stemplinger
2004-05-05 21:00 ` Stefan Monnier

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

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

  git send-email \
    --in-reply-to=871xlybrle.fsf@marc0.dyndns.org \
    --to=marc0@autistici.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.