unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* decode-coding-string and consing
@ 2003-02-10 16:47 Jesper Harder
  2003-02-10 20:01 ` Eli Zaretskii
       [not found] ` <mailman.1748.1044907500.21513.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 5+ messages in thread
From: Jesper Harder @ 2003-02-10 16:47 UTC (permalink / raw)


,----[ C-h f decode-coding-string RET ]
| decode-coding-string is a built-in function.
| (decode-coding-string STRING CODING-SYSTEM &optional NOCOPY)
| 
| Decode STRING which is encoded in CODING-SYSTEM, and return the result.
| Optional arg NOCOPY non-nil means it is OK to return STRING itself
| if the decoding operation is trivial.
`----

Under what conditions is the decoding operation "trivial"?

I was hoping that something like:

  (decode-coding-string "abc" 'us-ascii t) or
  (decode-coding-string "abc" 'latin-1 t)

wouldn't cons a new string; but unfortunaley it does.

^ permalink raw reply	[flat|nested] 5+ messages in thread
[parent not found: <mailman.1774.1044945196.21513.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2003-02-11 17:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-10 16:47 decode-coding-string and consing Jesper Harder
2003-02-10 20:01 ` Eli Zaretskii
     [not found] ` <mailman.1748.1044907500.21513.help-gnu-emacs@gnu.org>
2003-02-10 21:53   ` Jesper Harder
2003-02-11  6:32     ` Eli Zaretskii
     [not found] <mailman.1774.1044945196.21513.help-gnu-emacs@gnu.org>
2003-02-11 17:26 ` Jesper Harder

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