From: Juanma Barranquero <lekktu@gmail.com>
To: Dan Nicolaescu <dann@ics.uci.edu>
Cc: emacs-devel@gnu.org
Subject: Re: make a pure string from a string literal
Date: Wed, 4 Nov 2009 19:41:26 +0100 [thread overview]
Message-ID: <f7ccd24b0911041041v7d377d93o68d85017db79fd90@mail.gmail.com> (raw)
In-Reply-To: <200911041601.nA4G1Ijj003807@godzilla.ics.uci.edu>
On Wed, Nov 4, 2009 at 17:01, Dan Nicolaescu <dann@ics.uci.edu> wrote:
> There are a few build_string("STRING LITERAL") calls in emacs/src/*.c
> The result is actually a constant string, so we could do:
> Fpurecopy (build_string ("STRING LITERAL"))
It is unlikely, but a build_string("STRING LITERAL") could have text
properties added later.
Juanma
next prev parent reply other threads:[~2009-11-04 18:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-04 16:01 make a pure string from a string literal Dan Nicolaescu
2009-11-04 18:41 ` Juanma Barranquero [this message]
2009-11-04 20:40 ` Stefan Monnier
2009-11-04 21:20 ` Dan Nicolaescu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f7ccd24b0911041041v7d377d93o68d85017db79fd90@mail.gmail.com \
--to=lekktu@gmail.com \
--cc=dann@ics.uci.edu \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.