mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-26 07:33:47 +00:00
Document flymake fringe bitmaps
* doc/misc/flymake.texi (Customizable variables) (Highlighting erroneous lines): Mention flymake-error-bitmap, flymake-warning-bitmap, and flymake-fringe-indicator-position. * lisp/progmodes/flymake.el (flymake-error-bitmap) (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes. (flymake-error-bitmap, flymake-warning-bitmap): Fix :types. * etc/NEWS: Related markup.
This commit is contained in:
parent
a13e12f957
commit
24c38527d1
@ -1,3 +1,9 @@
|
||||
2012-11-12 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* flymake.texi (Customizable variables)
|
||||
(Highlighting erroneous lines): Mention flymake-error-bitmap,
|
||||
flymake-warning-bitmap, and flymake-fringe-indicator-position.
|
||||
|
||||
2012-11-09 Chong Yidong <cyd@gnu.org>
|
||||
|
||||
* url.texi (Introduction): Move url-configuration-directory to
|
||||
|
@ -337,6 +337,17 @@ been reported.
|
||||
A custom face for highlighting lines for which at least one warning
|
||||
and no errors have been reported.
|
||||
|
||||
@item flymake-error-bitmap
|
||||
A bitmap used in the fringe to mark lines for which an error has
|
||||
been reported.
|
||||
|
||||
@item flymake-warning-bitmap
|
||||
A bitmap used in the fringe to mark lines for which a warning has
|
||||
been reported.
|
||||
|
||||
@item flymake-fringe-indicator-position
|
||||
Which fringe (if any) should show the warning/error bitmaps.
|
||||
|
||||
@end table
|
||||
|
||||
@node Adding support for a new syntax check tool
|
||||
@ -718,6 +729,15 @@ are used: @code{flymake-errline} and
|
||||
@code{flymake-warnline}. Errors belonging outside the current
|
||||
buffer are considered to belong to line 1 of the current buffer.
|
||||
|
||||
@c This manual does not use vindex.
|
||||
@c @vindex flymake-fringe-indicator-position
|
||||
@c @vindex flymake-error-bitmap
|
||||
@c @vindex flymake-warning-bitmap
|
||||
If the option @code{flymake-fringe-indicator-position} is non-@code{nil},
|
||||
errors and warnings are also highlighted in the left or right fringe,
|
||||
using the bitmaps specified by @code{flymake-error-bitmap}
|
||||
and @code{flymake-warning-bitmap}.
|
||||
|
||||
@node Interaction with other modes
|
||||
@section Interaction with other modes
|
||||
@cindex Interaction with other modes
|
||||
|
1
etc/NEWS
1
etc/NEWS
@ -440,6 +440,7 @@ when you receive a private message or your nickname is mentioned.
|
||||
*** ERC will look up server/channel names via auth-source and use any
|
||||
channel keys found.
|
||||
|
||||
+++
|
||||
** Flymake uses fringe bitmaps to indicate errors and warnings.
|
||||
See `flymake-fringe-indicator-position', `flymake-error-bitmap' and
|
||||
`flymake-warning-bitmap'.
|
||||
|
@ -1,3 +1,9 @@
|
||||
2012-11-12 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* progmodes/flymake.el (flymake-error-bitmap)
|
||||
(flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
|
||||
(flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
|
||||
|
||||
2012-11-12 Dmitry Gutov <dgutov@yandex.ru>
|
||||
|
||||
* progmodes/ruby-mode.el (ruby-move-to-block): When moving
|
||||
|
@ -764,25 +764,39 @@ line number outside the file being compiled."
|
||||
(and (overlayp ov) (overlay-get ov 'flymake-overlay)))
|
||||
|
||||
(defcustom flymake-error-bitmap '(exclamation-mark error)
|
||||
"Bitmap used in the fringe for indicating errors.
|
||||
"Bitmap (a symbol) used in the fringe for indicating errors.
|
||||
The value may also be a list of two elements where the second
|
||||
element specifies the face for the bitmap."
|
||||
element specifies the face for the bitmap. For possible bitmap
|
||||
symbols, see `fringe-bitmaps'. See also `flymake-warning-bitmap'.
|
||||
|
||||
The option `flymake-fringe-indicator-position' controls how and where
|
||||
this is used."
|
||||
:group 'flymake
|
||||
:version "24.3"
|
||||
:type 'symbol)
|
||||
:type '(choice (symbol :tag "Bitmap")
|
||||
(list :tag "Bitmap and face"
|
||||
(symbol :tag "Bitmap")
|
||||
(face :tag "Face"))))
|
||||
|
||||
(defcustom flymake-warning-bitmap 'question-mark
|
||||
"Bitmap used in the fringe for indicating warnings.
|
||||
"Bitmap (a symbol) used in the fringe for indicating warnings.
|
||||
The value may also be a list of two elements where the second
|
||||
element specifies the face for the bitmap."
|
||||
element specifies the face for the bitmap. For possible bitmap
|
||||
symbols, see `fringe-bitmaps'. See also `flymake-error-bitmap'.
|
||||
|
||||
The option `flymake-fringe-indicator-position' controls how and where
|
||||
this is used."
|
||||
:group 'flymake
|
||||
:version "24.3"
|
||||
:type 'symbol)
|
||||
:type '(choice (symbol :tag "Bitmap")
|
||||
(list :tag "Bitmap and face"
|
||||
(symbol :tag "Bitmap")
|
||||
(face :tag "Face"))))
|
||||
|
||||
(defcustom flymake-fringe-indicator-position 'left-fringe
|
||||
"The position to put flymake fringe indicator.
|
||||
The value can be nil, left-fringe or right-fringe.
|
||||
Fringe indicators are disabled if nil."
|
||||
The value can be nil (do not use indicators), `left-fringe' or `right-fringe'.
|
||||
See `flymake-error-bitmap' and `flymake-warning-bitmap'."
|
||||
:group 'flymake
|
||||
:version "24.3"
|
||||
:type '(choice (const left-fringe)
|
||||
|
Loading…
Reference in New Issue
Block a user