diff options
Diffstat (limited to 'devdocs/elisp/fringe-cursors.html')
| -rw-r--r-- | devdocs/elisp/fringe-cursors.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/devdocs/elisp/fringe-cursors.html b/devdocs/elisp/fringe-cursors.html new file mode 100644 index 00000000..a7295149 --- /dev/null +++ b/devdocs/elisp/fringe-cursors.html @@ -0,0 +1,13 @@ + <h4 class="subsection">Fringe Cursors</h4> <p>When a line is exactly as wide as the window, Emacs displays the cursor in the right fringe instead of using two lines. Different bitmaps are used to represent the cursor in the fringe depending on the current buffer’s cursor type. </p> <dl> <dt id="overflow-newline-into-fringe">User Option: <strong>overflow-newline-into-fringe</strong> +</dt> <dd><p>If this is non-<code>nil</code>, lines exactly as wide as the window (not counting the final newline character) are not continued. Instead, when point is at the end of the line, the cursor appears in the right fringe. </p></dd> +</dl> <dl> <dt id="fringe-cursor-alist">Variable: <strong>fringe-cursor-alist</strong> +</dt> <dd> +<p>This variable specifies the mapping from logical cursor type to the actual fringe bitmaps displayed in the right fringe. The value is an alist where each element has the form <code>(<var>cursor-type</var> +. <var>bitmap</var>)</code>, which means to use the fringe bitmap <var>bitmap</var> to display cursors of type <var>cursor-type</var>. </p> <p>Each <var>cursor-type</var> should be one of <code>box</code>, <code>hollow</code>, <code>bar</code>, <code>hbar</code>, or <code>hollow-small</code>. The first four have the same meanings as in the <code>cursor-type</code> frame parameter (see <a href="cursor-parameters">Cursor Parameters</a>). The <code>hollow-small</code> type is used instead of <code>hollow</code> when the normal <code>hollow-rectangle</code> bitmap is too tall to fit on a specific display line. </p> <p>Each <var>bitmap</var> should be a symbol specifying the fringe bitmap to be displayed for that logical cursor type. See <a href="fringe-bitmaps">Fringe Bitmaps</a>. </p> <p>When <code>fringe-cursor-alist</code> has a buffer-local value, and there is no bitmap defined for a cursor type, the corresponding value from the default value of <code>fringes-indicator-alist</code> is used. </p> +</dd> +</dl><div class="_attribution"> + <p class="_attribution-p"> + Copyright © 1990-1996, 1998-2022 Free Software Foundation, Inc. <br>Licensed under the GNU GPL license.<br> + <a href="https://www.gnu.org/software/emacs/manual/html_node/elisp/Fringe-Cursors.html" class="_attribution-link">https://www.gnu.org/software/emacs/manual/html_node/elisp/Fringe-Cursors.html</a> + </p> +</div> |
