[Top][All Lists]

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

Re: Insert character pairs

From: Juri Linkov
Subject: Re: Insert character pairs
Date: Sun, 09 May 2004 00:43:36 +0300
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:
> Why not just move the formatting part of pp-to-string out of pp-to-string
> into a new function pp-format or some such (and make pp-to-string call it)?
> That will also make pp-to-string more readable.

Actually, I started to implement the variant you described, but
abandoned it, because I thought that ability to format a string
in `pp-to-string' might be generally useful.  However, formatting
a string will be equally easy even with a separate function that
formats a buffer (by inserting that string into a temporary buffer).
So a separate function you described is ok (I'd name it `pp-buffer').

Juri Linkov

reply via email to

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