From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Newsgroups: gmane.emacs.help Subject: Re: Modify text appearance (put spaces after commas just for display) Date: Tue, 26 Sep 2017 11:32:55 +0200 Message-ID: <20170926093255.GD1556@tuxteam.de> References: <87tvzpx1qo.fsf@eps142.cdf.udc.es> <861smt3j24.fsf@zoho.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1506418464 1339 195.159.176.226 (26 Sep 2017 09:34:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 26 Sep 2017 09:34:24 +0000 (UTC) User-Agent: Mutt/1.5.21 (2010-09-15) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 26 11:34:19 2017 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 1dwmFs-0008LO-Hv for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Sep 2017 11:34:16 +0200 Original-Received: from localhost ([::1]:46357 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dwmFz-0006It-Pl for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Sep 2017 05:34:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60851) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dwmEq-0005yN-Ae for help-gnu-emacs@gnu.org; Tue, 26 Sep 2017 05:33:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dwmEm-0004Y0-Ln for help-gnu-emacs@gnu.org; Tue, 26 Sep 2017 05:33:11 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:38281 helo=tomasium.tuxteam.de) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dwmEm-0004Su-Ew for help-gnu-emacs@gnu.org; Tue, 26 Sep 2017 05:33:08 -0400 Original-Received: from tomas by tomasium.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1dwmEZ-0000qS-95 for help-gnu-emacs@gnu.org; Tue, 26 Sep 2017 11:32:55 +0200 In-Reply-To: <861smt3j24.fsf@zoho.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 5.199.139.25 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:114410 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, Sep 26, 2017 at 11:28:35AM +0200, Emanuel Berg wrote: > Alberto Luaces wrote: [...] > ... you mean in code that is already written? > > Do it by hand, or use `replace-regexp'. > > (replace-regexp "," ", ") I think the OP didn't want to change the text itself, but just its display/appearance. Like with display properties. Regards - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlnKHscACgkQBcgs9XrR2kbLgQCeL5N7P1g2joPQouMs06G1ecJ6 qQEAn1GZFT/QVilhNhlAKYZVuEcNra0v =UCKe -----END PGP SIGNATURE-----