[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: buffer-substring vs. buffer-substring-no-properties
From: |
Kim F. Storm |
Subject: |
Re: buffer-substring vs. buffer-substring-no-properties |
Date: |
15 Nov 2001 00:59:39 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 |
"Eli Zaretskii" <eliz@is.elta.co.il> writes:
> > Given that I have lots and lots of calls to buffer-substring that I
> > don't want to change to buffer-substring-no-properties, how do I
> > defontify a string?
>
> It's in NEWS: either use `copy-sequence' or `set-text-properties'.
Maybe we could add a new variable `print-properties' (default t)
while will control whether print, prin1, format, and friends
will include properties in strings or not.
That will be transparent for existing code (which is already working
on emacs-21), while it makes it straight-forward to modify old
code to get rid of unwanted properties by binding it to nil locally.
--
Kim F. Storm http://www.cua.dk
- Re: buffer-substring vs. buffer-substring-no-properties, (continued)
- Re: buffer-substring vs. buffer-substring-no-properties, Kevin Layer, 2001/11/14
- Re: buffer-substring vs. buffer-substring-no-properties, Per Abrahamsen, 2001/11/14
- Re: buffer-substring vs. buffer-substring-no-properties, Peter S Galbraith, 2001/11/14
- Re: buffer-substring vs. buffer-substring-no-properties, Kevin Layer, 2001/11/14
- Re: buffer-substring vs. buffer-substring-no-properties, Per Abrahamsen, 2001/11/15
- Re: buffer-substring vs. buffer-substring-no-properties, Kevin Layer, 2001/11/15
- Re: buffer-substring vs. buffer-substring-no-properties, Eli Zaretskii, 2001/11/14
- Re: buffer-substring vs. buffer-substring-no-properties,
Kim F. Storm <=
- Re: buffer-substring vs. buffer-substring-no-properties, Kevin Layer, 2001/11/15
- Re: buffer-substring vs. buffer-substring-no-properties, Eli Zaretskii, 2001/11/15
- Re: buffer-substring vs. buffer-substring-no-properties, Juanma Barranquero, 2001/11/15
- Re: buffer-substring vs. buffer-substring-no-properties, Stefan Monnier, 2001/11/14
- Re: buffer-substring vs. buffer-substring-no-properties, Kevin Layer, 2001/11/14
Re: buffer-substring vs. buffer-substring-no-properties, Ehud Karni, 2001/11/14
Re: buffer-substring vs. buffer-substring-no-properties, David Kastrup, 2001/11/14