[climacs-devel] Re: Point - buffer or pane?
John Q Splittist
splittist at yahoo.com
Sat May 7 10:51:29 UTC 2005
John Q Splittist wrote:
> Absolutely. I'll do this [follow Robert's advice] then.
Herewith a patch adding a point slot to climacs-buffer (initialized from
low-mark). When a pane is created, or gets a new buffer, the pane's
point slot is cloned from the buffer's point. When a buffer is buried,
the buffer's point is cloned from the pane's point. When a pane is
split, the buffer's point is cloned from the existing pane's point so
that the new pane is initialized with the existing point.
This has the effect that a buffer keeps its point when buried and
unburied (ie. you can C-x b in peace), but different panes on the same
buffer have their own independent point (ie. you can C-x [23] in peace).
JQS
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: buffer-pointer.patch
URL: <https://mailman.common-lisp.net/pipermail/climacs-devel/attachments/20050507/c1e06561/attachment.ksh>
More information about the climacs-devel
mailing list