unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Pascal Bourguignon <pjb@informatimago.com>
To: help-gnu-emacs@gnu.org
Subject: Re: elisp question: format
Date: Sun, 24 Jun 2007 11:00:59 +0200	[thread overview]
Message-ID: <87ir9dhgl0.fsf@thalassa.lan.informatimago.com> (raw)
In-Reply-To: mailman.2558.1182668174.32220.help-gnu-emacs@gnu.org

Aaron Maxwell <amax@redsymbol.net> 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__                     http://www.informatimago.com/

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
guaranteed.

       reply	other threads:[~2007-06-24  9:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.2558.1182668174.32220.help-gnu-emacs@gnu.org>
2007-06-24  9:00 ` Pascal Bourguignon [this message]
2007-06-24 11:22 ` elisp question: format Daniel Jensen
2007-06-25  8:59   ` Aaron Maxwell
2007-06-24  6:56 Aaron Maxwell
2007-06-28  4:39 ` Kevin Rodgers
     [not found] ` <mailman.2722.1183005606.32220.help-gnu-emacs@gnu.org>
2007-06-29 13:26   ` Joel J. Adamson

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87ir9dhgl0.fsf@thalassa.lan.informatimago.com \
    --to=pjb@informatimago.com \
    --cc=help-gnu-emacs@gnu.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).