Mats Lidell writes:
Function: position-bytes position
Return the byte-position corresponding to buffer position position
in the current buffer.
This doesn't make sense in XEmacs since bytes are never exposed to
Lisp. I'd have to see the use cases to figure out how we would handle
So for example: if you stream out a buffer to an external program
can point to the right spot in the stream for it to start whatever it
wants to do. Sounds a bit dirty though.
More than a bit.
How should we deal with elisp using position-bytes? Can we support
I don't know. I think we should avoid it if at all possible. As far
as I can see it can't be used for anything that can't be done
otherwise. It's purely a dangerous optimization.
XEmacs-Beta mailing list