/[emacs]/emacs/lispref/windows.texi
ViewVC logotype

Diff of /emacs/lispref/windows.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.77 by rms, Fri Dec 3 11:27:53 2004 UTC revision 1.78 by kfstorm, Sun Jan 23 13:30:22 2005 UTC
# Line 1345  non-@code{nil} anyway.  @xref{Horizontal Line 1345  non-@code{nil} anyway.  @xref{Horizontal
1345  If @var{position} is visible, @code{pos-visible-in-window-p} returns  If @var{position} is visible, @code{pos-visible-in-window-p} returns
1346  @code{t} if @var{partially} is @code{nil}; if @var{partially} is  @code{t} if @var{partially} is @code{nil}; if @var{partially} is
1347  non-@code{nil}, it returns a list of the form @code{(@var{x} @var{y}  non-@code{nil}, it returns a list of the form @code{(@var{x} @var{y}
1348  @var{fully})}, where @var{x} and @var{y} are the pixel coordinates  @var{partial})}, where @var{x} and @var{y} are the pixel coordinates
1349  relative to the top left corner of the window, and @var{fully} is  relative to the top left corner of the window, and @var{partial} is
1350  @code{t} if the character after @var{position} is fully visible and  @code{nil} if the character after @var{position} is fully visible;
1351  @code{nil} otherwise.  otherwise it is a cons @code{(@var{rtop} . @var{rbot})} where the
1352    @var{rtop} and @var{rbot} specify the number of invisible pixels at
1353    the top and bottom of the row at @var{position}.
1354    
1355  Here is an example:  Here is an example:
1356    
# Line 1397  names that fit the user's point of view. Line 1399  names that fit the user's point of view.
1399  buffer is different from the buffer that is displayed in the selected  buffer is different from the buffer that is displayed in the selected
1400  window.  @xref{Current Buffer}.  window.  @xref{Current Buffer}.
1401    
1402      If the window contains a row which is taller than the height of the
1403    window (for example in the presense of a large image), the scroll
1404    functions will adjust the window vscroll to scroll the partially
1405    visible row.  To disable this feature, Lisp code may bind the variable
1406    `auto-window-vscroll' to @code{nil} (@pxref{Vertical Scrolling}).
1407    
1408  @deffn Command scroll-up &optional count  @deffn Command scroll-up &optional count
1409  This function scrolls the text in the selected window upward  This function scrolls the text in the selected window upward
1410  @var{count} lines.  If @var{count} is negative, scrolling is actually  @var{count} lines.  If @var{count} is negative, scrolling is actually
# Line 1622  If @var{pixels-p} is non-@code{nil}, @va Line 1630  If @var{pixels-p} is non-@code{nil}, @va
1630  pixels.  In this case, the return value is @var{lines}.  pixels.  In this case, the return value is @var{lines}.
1631  @end defun  @end defun
1632    
1633    @defvar auto-window-vscroll
1634    If this variable is non-@code{nil}, the line-move, scroll-up, and
1635    scroll-down functions will automatically modify the window vscroll to
1636    scroll through display rows that are taller that the height of the
1637    window, for example in the presense of large images.
1638    @end defvar
1639    
1640  @node Horizontal Scrolling  @node Horizontal Scrolling
1641  @section Horizontal Scrolling  @section Horizontal Scrolling
1642  @cindex horizontal scrolling  @cindex horizontal scrolling

Legend:
Removed from v.1.77  
changed lines
  Added in v.1.78

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26