[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: elisp question: format

From: Pascal Bourguignon
Subject: Re: elisp question: format
Date: Sun, 24 Jun 2007 11:00:59 +0200
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/22.1.50 (gnu/linux)

Aaron Maxwell <address@hidden> writes:
> Is there a way to direct the format function to use a single value
> repeatedly for several positional parameters?

No. This is not Common Lisp!

Well, you could use emacs-cl:

(load "load-cl")
(FORMAT nil "First: ~A ; Second: ~:*~A" 42)
--> "First: 42 ; Second: 42"

Yep, not only do I have (require 'cl) first thing in my ~/.emacs, but
I also have (load "load-cl") next...

__Pascal Bourguignon__           

NOTE: The most fundamental particles in this product are held
together by a "gluing" force about which little is currently known
and whose adhesive power can therefore not be permanently

reply via email to

[Prev in Thread] Current Thread [Next in Thread]