elisp: Fringe Size/Pos

 
 37.13.1 Fringe Size and Position
 --------------------------------
 
 The following buffer-local variables control the position and width of
 fringes in windows showing that buffer.
 
  -- Variable: fringes-outside-margins
      The fringes normally appear between the display margins and the
      window text.  If the value is non-‘nil’, they appear outside the
      display margins.  SeeDisplay Margins.
 
  -- Variable: left-fringe-width
      This variable, if non-‘nil’, specifies the width of the left fringe
      in pixels.  A value of ‘nil’ means to use the left fringe width
      from the window’s frame.
 
  -- Variable: right-fringe-width
      This variable, if non-‘nil’, specifies the width of the right
      fringe in pixels.  A value of ‘nil’ means to use the right fringe
      width from the window’s frame.
 
    Any buffer which does not specify values for these variables uses the
 values specified by the ‘left-fringe’ and ‘right-fringe’ frame
 parameters (SeeLayout Parameters).
 
    The above variables actually take effect via the function
 ‘set-window-buffer’ (SeeBuffers and Windows), which calls
 ‘set-window-fringes’ as a subroutine.  If you change one of these
 variables, the fringe display is not updated in existing windows showing
 the buffer, unless you call ‘set-window-buffer’ again in each affected
 window.  You can also use ‘set-window-fringes’ to control the fringe
 display in individual windows.
 
  -- Function: set-window-fringes window left &optional right
           outside-margins
      This function sets the fringe widths of window WINDOW.  If WINDOW
      is ‘nil’, the selected window is used.
 
      The argument LEFT specifies the width in pixels of the left fringe,
      and likewise RIGHT for the right fringe.  A value of ‘nil’ for
      either one stands for the default width.  If OUTSIDE-MARGINS is
      non-‘nil’, that specifies that fringes should appear outside of the
      display margins.
 
  -- Function: window-fringes &optional window
      This function returns information about the fringes of a window
      WINDOW.  If WINDOW is omitted or ‘nil’, the selected window is
      used.  The value has the form ‘(LEFT-WIDTH RIGHT-WIDTH
      OUTSIDE-MARGINS)’.