[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] fill_column_indicator 595ff28 4/9: Added fill-column-indic
From: |
Jimmy Aguilar Mena |
Subject: |
[Emacs-diffs] fill_column_indicator 595ff28 4/9: Added fill-column-indicator manual documentation |
Date: |
Wed, 17 Apr 2019 06:48:56 -0400 (EDT) |
branch: fill_column_indicator
commit 595ff288a86011dac02b8004851c4a5afc3a6254
Author: Jimmy Aguilar Mena <address@hidden>
Commit: Jimmy Aguilar Mena <address@hidden>
Added fill-column-indicator manual documentation
*etc/NEWS: reduced the comments about fill-column-indicator
*doc/emacs/display.texi: Added documentation for fill-column-indicator
---
doc/emacs/display.texi | 45 +++++++++++++++++++++++++++++++++++++++++++++
etc/NEWS | 37 ++-----------------------------------
2 files changed, 47 insertions(+), 35 deletions(-)
diff --git a/doc/emacs/display.texi b/doc/emacs/display.texi
index f464a3a..62a4b62 100644
--- a/doc/emacs/display.texi
+++ b/doc/emacs/display.texi
@@ -1141,6 +1141,51 @@ right-to-left paragraphs.
@node Displaying Boundaries
@section Displaying Boundaries
address@hidden mode, fill-column-indicator
address@hidden display-fill-column-indicator-mode
address@hidden global-display-fill-column-indicator-mode
+ Emacs can add an indicator to display a fill column position. The
+fill column indicator is a useful functionality specially in
+prog-mode to indicate the position of an specific column.
+
+ You can set the buffer-local variables @code{display-fill-column-indicator}
+and @code{display-fill-column-indicator-character} to activate the
+indicator and controls how the indicator looks.
+
+Alternatively you can type @kbd{M-x display-fill-column-indicator-mode} or
address@hidden global-display-fill-column-indicator-mode} which enables the
indicator
+locally and globally respectively and also chooses the character to
+use if none is set. It is possible to use the first one to activate the
+indicator in a hook or the second one to enable it globally.
+
+There are 2 new buffer local variables and 1 face to customize this
+mode:
+
address@hidden @code
address@hidden display-fill-column-indicator-column
address@hidden display-fill-column-indicator-column
+Is the column number where the indicator should be set. It can take
+positive numerical values for the column or the special value t which
+means that the variable 'fill-column' will be used.
+
+Any other value disables the indicator. The default value is t.
+
address@hidden display-fill-column-indicator-char
address@hidden display-fill-column-indicator-char
+Is the character used for the indicator. This character can be any
+valid char including unicode ones if the actual font supports them.
+
+When the mode is enabled throw the functions
address@hidden or
address@hidden, the initialization
+functions check if this variable is non-nil, otherwise the
+initialization tries to set it to U+2502 or '|'.
+
address@hidden fill-column-face
+Is the face used to display the indicator it inherits its default
+values from shadow and the default face.
address@hidden table
+
@vindex indicate-buffer-boundaries
On graphical displays, Emacs can indicate the buffer boundaries in
the fringes. If you enable this feature, the first line and the last
diff --git a/etc/NEWS b/etc/NEWS
index 56980c5..2aecbc2 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -317,49 +317,16 @@ longer.
** Emacs now optionally displays a fill column indicator.
-The fill column indicator is a usefull functionality specially in
-prog-mode to indicate the position of a specific column. This is
-similar to what 'fill-column-indicator' package provides, but much
-faster and compatible with show-trailing-whitespace.
+This is similar to what 'fill-column-indicator' package provides, but
+much faster and compatible with show-trailing-whitespace.
Customize the buffer-local variables 'display-fill-column-indicator'
and 'display-fill-column-indicator-character' to activate the
indicator.
-Alternatively you can use the modes
-'display-fill-column-indicator-mode' or the global
-'global-display-fill-column-indicator-mode' which enables it locally
-and globally respectively and also chooses the character to use if no
-one is set.
-
The indicators is not displayed at all in minibuffer windows and
in tooltips, as it is not useful there.
-There are 2 new buffer local variables and 1 face to customize this
-mode:
-
-*** 'display-fill-column-indicator-column' is the column where the
- indicator should be set. It can take positive numerical values for
- the column or the special value t. Any other value disables the
- indicator. The default value is t.
-
- When the value is t it means that the variable 'fill-column' will
- be used.
-
-*** 'display-fill-column-indicator-char' is the character used for the
- indicator. This character can be any valid char including unicode
- ones if the user's font supports them.
-
- When the mode is enabled throw the functions
- 'display-fill-column-indicator-mode' and
- 'global-display-fill-column-indicator-mode', they check if there
- is a value non-nil for this variable, otherwise the initialization
- tries to set it to U+2502 or '|'.
-
-*** 'fill-column-face' is the face used to display the indicator it
- inherits it default values from shadow and the default faces.
-
-
* Editing Changes in Emacs 27.1
- [Emacs-diffs] branch fill_column_indicator created (now c077628), Jimmy Aguilar Mena, 2019/04/17
- [Emacs-diffs] fill_column_indicator 4a6b6f2 3/9: Fixed fill-column-indicator for continuation lines, Jimmy Aguilar Mena, 2019/04/17
- [Emacs-diffs] fill_column_indicator a01966a 7/9: display-fill-column-indicator interface corrections, Jimmy Aguilar Mena, 2019/04/17
- [Emacs-diffs] fill_column_indicator 595ff28 4/9: Added fill-column-indicator manual documentation,
Jimmy Aguilar Mena <=
- [Emacs-diffs] fill_column_indicator 0fb5c73 2/9: Display-fill-column-indicator NEWS and t value for column value, Jimmy Aguilar Mena, 2019/04/17
- [Emacs-diffs] fill_column_indicator c077628 9/9: *src/xdisp.c: Fixed fill column indicator position in terminal mode., Jimmy Aguilar Mena, 2019/04/17
- [Emacs-diffs] fill_column_indicator 73dc737 6/9: Small changes in the documentation, Jimmy Aguilar Mena, 2019/04/17
- [Emacs-diffs] fill_column_indicator 15b41c1 5/9: Added correction in the texinfo manual., Jimmy Aguilar Mena, 2019/04/17
- [Emacs-diffs] fill_column_indicator f50a7d8 8/9: display-fill-column-indicator.el condition, Jimmy Aguilar Mena, 2019/04/17
- [Emacs-diffs] fill_column_indicator 813a593 1/9: display-fill-column-indicator-mode implementation., Jimmy Aguilar Mena, 2019/04/17