Go to the first, previous, next, last section, table of contents.


Operations that affect the buffer

(collection-buffer collection)
Return the buffer that collection is displayed in.
(collection-refresh collection)
Refresh all cookies in collection. The pretty-printer that was specified when the collection was created will be called for all cookies in collection. Note that tin-invalidate is more efficient if only a small number of cookies needs to be refreshed.
(tin-invalidate collection &rest tins)
Refresh some cookies. The pretty-printer for collection will be called for all tins.
(collection-set-goal-column collection goal)
Set goal-column for collection. goal-column is made buffer-local. This function will be obsoleted in the next release of Elib. Instead, there is going to be a function that given a cookie will return a position where the cursor should be stored. The details are not yet decided.
(tin-goto-previous collection pos arg)
Move point to the argth previous cookie. Don't move if we are at the first cookie, or if collection is empty. Returns the tin we move to.
(tin-goto-next collection pos arg)
Like tin-goto-previous, but move towards the end of the buffer instead.
(tin-goto collection tin)
Move point to tin.
(tin-locate collection pos &optional guess)
Return the tin that pos (a buffer position) is within. pos may be a marker or an integer. guess should be a tin that it is likely that pos is near. If pos points before the first cookie, the first cookie is returned. If pos points after the last cookie, the last cookie is returned. If collection is empty, nil is returned.


Go to the first, previous, next, last section, table of contents.