all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Roehler <andreas.roehler@easy-emacs.de>
Cc: Richard Stallman <rms@gnu.org>, emacs-devel <emacs-devel@gnu.org>
Subject: Re: text.texi - `buffer-substring'
Date: Fri, 23 Jun 2006 09:18:45 +0200	[thread overview]
Message-ID: <449B95D5.3080200@easy-emacs.de> (raw)
In-Reply-To: <buok678wept.fsf@dhapc248.dev.necel.com>

Miles Bader schrieb:
> Andreas Roehler <andreas.roehler@online.de> writes:
>> (buffer-substring 1 10)#("This is t" 0 1 (fontified t) 1 9 (fontified t))
>>
>> ie text-properties are copied as a kind of comment
>> behind, not solely `along' as the info says. (Reading
>> the info I would understand, that the chars copied into
>> the returned string are propertized as the original
>> one, as it seems the case altogether.)
>
> No, you are still confusing the _printed representation_ of the return
> value of buffer-substring with the actual return value.
>
> Try this:
>
>   (type-of (buffer-substring 1 10))
>
> It returns `string', showing that the return value of buffer-substring
> is really a string.
>
> -Miles
Sorry, thanks.

__
Andreas Roehler

  reply	other threads:[~2006-06-23  7:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-23  6:47 text.texi - `buffer-substring' Andreas Roehler
2006-06-23  6:47 ` Miles Bader
2006-06-23  7:18   ` Andreas Roehler [this message]
2006-06-23  7:50 ` Eli Zaretskii
2006-06-24  8:31 ` Richard Stallman

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=449B95D5.3080200@easy-emacs.de \
    --to=andreas.roehler@easy-emacs.de \
    --cc=emacs-devel@gnu.org \
    --cc=rms@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.