bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: 'buffer-substring' returns rubbish


From: Juanma Barranquero
Subject: Re: 'buffer-substring' returns rubbish
Date: Thu, 18 Jan 2001 13:12:48 -0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 18 Jan 2001 16:59:31 +0200 (IST), Eli Zaretskii
<eliz@is.elta.co.il> wrote:

> I thought I said (above): use buffer-substring-no-properties. 
> Doesn't  that work?

Please note my example: I'm trying to copy a string with properties,
not text from a buffer. buffer-substring(-no-properties) do copy from
a buffer.

> There's also remove-text-properties, in case you need that.

Yes, that can work. Thanks, I didn't know that one.

Still, it is strange there's no substring-no-properties. I suggest
adding it.

                                                               Juanma

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>

iQA/AwUBOmcHRP4C0a0jUw5YEQKH1QCfUDQIw0lKmZ2gQmuYwgrFS9ZEUcwAniqe
NDwWndLwGczx9+QWMMtPEkC1
=GcXE
-----END PGP SIGNATURE-----


                                                           /L/e/k/t/u



reply via email to

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