[Top][All Lists]

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

Is there something between `prin1-to-string' and `princ'?

From: Thorsten Jolitz
Subject: Is there something between `prin1-to-string' and `princ'?
Date: Wed, 25 Sep 2013 12:33:54 +0200
User-agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.3 (gnu/linux)

Hi List, 

using `prin1-to-string' on a property list gives me:

| ... :CATEGORY "tmp2" :title (#("C2 " 0 3 (:parent nil))) ...

using `princ' gives me:

| ... :CATEGORY tmp2 :title (C2) ...

but what I want is either

| ... :CATEGORY "tmp2" :title (C2) ...

or even better

| ... :CATEGORY "tmp2" :title ("C2") ...

but there seems to be no print command or configuration option that
gives me strings quoted, but text without properties at the same time?

this is not about `buffer-substring-no-properties' or so, its about how
to print out a *given* property list in a certain format.


reply via email to

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