From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.help Subject: Re: How to replace format-like codes in a string? Date: Sun, 13 Nov 2016 11:29:30 +0100 Message-ID: <874m3b65bp.fsf@fastmail.fm> References: <87mvh677a4.fsf@mbork.pl> <877f8afllx.fsf@fastmail.fm> <87k2ca6wf2.fsf@mbork.pl> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: blaine.gmane.org 1479033032 26169 195.159.176.226 (13 Nov 2016 10:30:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 13 Nov 2016 10:30:32 +0000 (UTC) User-Agent: mu4e 0.9.17; emacs 25.1.50.3 Cc: Help Gnu Emacs mailing list To: Marcin Borkowski Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 13 11:30:28 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c5s32-0003VZ-RW for geh-help-gnu-emacs@m.gmane.org; Sun, 13 Nov 2016 11:30:05 +0100 Original-Received: from localhost ([::1]:33124 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c5s36-0005nd-2r for geh-help-gnu-emacs@m.gmane.org; Sun, 13 Nov 2016 05:30:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49013) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c5s2g-0005nN-9n for help-gnu-emacs@gnu.org; Sun, 13 Nov 2016 05:29:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c5s2d-0002lh-4z for help-gnu-emacs@gnu.org; Sun, 13 Nov 2016 05:29:42 -0500 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]:34240) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c5s2c-0002lK-Vj for help-gnu-emacs@gnu.org; Sun, 13 Nov 2016 05:29:39 -0500 Original-Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 927AE204A2; Sun, 13 Nov 2016 05:29:37 -0500 (EST) Original-Received: from frontend2 ([10.202.2.161]) by compute7.internal (MEProxy); Sun, 13 Nov 2016 05:29:37 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h=cc :content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=xt5qXVGsFKi06PE5p1B+Gwt5kg0=; b=Lf5I2B VjEw6QTgtGoP3Y+xbuOUHNZxeuxeZP/jhoPa60WFnIMi58wFjt+stzCJ06S9T4SC n7DETpFMT7wRQQTDf+/FqxEvCYp6dvevHqjBy8V7k1YyyvomTyXzvh3T5OhXQvzX D3mSo+maStxzCbFPsPdpmvd/ZYNVYRXWNKqw4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=smtpout; bh=xt5qXVGsFKi06P E5p1B+Gwt5kg0=; b=LHqwePKSSqKc0BxJJAdvY9X90PfWI0eGbVSwLFoSw0AmvX x9O7BdIk/govEN+PQgjWaD1ie1X0P2NpsKmfNibGZxLH1PEC3UsBNznAK6LFbvso VsAIOaWrsgXv4TgfoxrvH87aVmCfRarweBrdQA81UK86NtIuCs+ZCeu0O5f0U= X-ME-Sender: X-Sasl-enc: IyjXy7M54xbzr5vJVhzv5X8Q+nxhYkOd6H4GjQEjTtK6 1479032977 Original-Received: from IdeaPad.messagingengine.com (x4d0af461.dyn.telefonica.de [77.10.244.97]) by mail.messagingengine.com (Postfix) with ESMTPA id DBCF42506A; Sun, 13 Nov 2016 05:29:36 -0500 (EST) In-reply-to: <87k2ca6wf2.fsf@mbork.pl> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 66.111.4.28 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:111717 Archived-At: On Fri, Nov 11 2016, Marcin Borkowski wrote: >> See `format-spec' and `format-spec-make'. > > Thanks a lot! That was exactly what I needed. (I mean, > `format-spec'; > I'm not sure why I would need `format-spec-make', assuming that > I can > just use backquote and comma.) Yes, I wondered the same thing. But I thought I'd mention it anyway. :-) -- Joost Kremers Life has its moments