[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
buffer-substring vs. buffer-substring-no-properties
From: |
Kevin Layer |
Subject: |
buffer-substring vs. buffer-substring-no-properties |
Date: |
13 Nov 2001 15:10:18 -0800 |
User-agent: |
Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7 |
Can someone tell me if there is a way to make buffer-substring behave
like it used to, and prevent me from having to change a zillion
instances of buffer-substring to my-buffer-substring? (I can't just
change them to buffer-substring-no-properties because I support
xemacs, too.)
That is, seeing a value returned from buffer-substring of
#("(def" 0 1 (fontified t) 1 4 (face font-lock-keyword-face fontified t))
instead of "(def" is freaking out the software I'm "porting" to emacs
21.
I really don't understand why buffer-substring wasn't left alone, and
a new function, buffer-substring-properties created to do what people
want. (The vast majority (327 of 308) calls to buffer-substring in the
lisp/*.el files are to buffer-substring-no-properties.) Sorry, but
this change has me more than a little cranky.
Kevin
- buffer-substring vs. buffer-substring-no-properties,
Kevin Layer <=
- Re: buffer-substring vs. buffer-substring-no-properties, Kevin Layer, 2001/11/13
- Re: buffer-substring vs. buffer-substring-no-properties, Eli Zaretskii, 2001/11/14
- Re: buffer-substring vs. buffer-substring-no-properties, Kevin Layer, 2001/11/14
- Re: buffer-substring vs. buffer-substring-no-properties, Miles Bader, 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/14
- 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/15
- Re: buffer-substring vs. buffer-substring-no-properties, Miles Bader, 2001/11/15
- Re: buffer-substring vs. buffer-substring-no-properties, Kevin Layer, 2001/11/14