1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-25 15:00:45 -08:00
Commit graph

154 commits

Author SHA1 Message Date
Richard M. Stallman
fd2adae323 (Syntactic Font Lock): Mention specific faces once again. 2006-08-31 23:04:42 +00:00
Stefan Monnier
931d878d50 (Syntactic Font Lock): Mention font-lock-syntactic-face-function.
Suggested by Richard Bielawski <RBielawski@moneygram.com>
2006-08-31 17:14:46 +00:00
Richard M. Stallman
02a2b2ad4f Clean up wording in previous change. 2006-08-08 17:39:08 +00:00
Chong Yidong
34e5974a22 * modes.texi (Hooks): Clarify.
(Major Mode Basics): Mention define-derived-mode explicitly.
	(Major Mode Conventions): Rebinding RET is OK for some modes.
	Mention change-major-mode-hook and after-change-major-mode-hook.
	(Example Major Modes): Moved to end of Modes section.
	(Mode Line Basics): Clarify.
	(Mode Line Data): Mention help-echo and local-map in strings.
	Explain reason for treatment of non-risky variables.
	(Properties in Mode): Clarify.
	(Faces for Font Lock): Add font-lock-negation-char-face.
2006-08-07 13:39:53 +00:00
Juanma Barranquero
e642d1fea7 Fix typo in markup. 2006-08-03 09:44:24 +00:00
Stefan Monnier
05a1066ff0 (font-lock-beg, font-lock-end, font-lock-extend-region-functions): New vars.
(font-lock-extend-region-multiline)
(font-lock-extend-region-wholelines): New functions.
(font-lock-default-fontify-region): Use them.
(font-lock-extend-jit-lock-region-after-change): Only round up
if font-lock-default-fontify-region will do it as well.
2006-08-03 07:14:39 +00:00
Stefan Monnier
ab0dd59ce7 (font-lock-extend-after-change-region-function):
Rename from font-lock-extend-region-function.
(font-lock-extend-region): Remove by inlining at call sites.
(font-lock-after-change-function): Don't needlessly round up to a whole
number of lines.
(font-lock-extend-jit-lock-region-after-change): Be more careful about
the boundary conditions and the interactions between the various ways
to extend the region.
2006-08-03 05:42:53 +00:00
Nick Roberts
c45ab038a4 (Minor Mode Conventions): Update link for add-to-list. 2006-07-31 10:56:25 +00:00
Stefan Monnier
94b3923963 (Multiline Font Lock): Can't use jit-lock-defer-multiline
to ensure correct identification.
2006-07-25 17:06:14 +00:00
Richard M. Stallman
0931b43ed5 (Keymaps and Minor Modes): List punct chars for minor modes. 2006-07-24 17:55:13 +00:00
Richard M. Stallman
827b7ee7c2 Put period and comma inside quotes. 2006-07-18 00:08:15 +00:00
Richard M. Stallman
90b80b6944 (Syntactic Font Lock): Give default for font-lock-syntax-table. 2006-07-17 20:56:18 +00:00
Eli Zaretskii
4d65ea9d33 (Defining Minor Modes, Header Lines): Remove @tindex. 2006-07-08 18:05:39 +00:00
Karl Berry
42b506849a fix overfull/underfull boxes 2006-07-05 14:13:24 +00:00
Juri Linkov
f202a77d98 (%-Constructs): Add %e, %z, %Z. 2006-05-25 20:55:20 +00:00
Richard M. Stallman
03475b051a (Multiline Font Lock): Renamed from Multi line Font Lock Elements.
Much clarification.
(Font Lock Multiline, Region to Fontify): Much clarification.
2006-04-30 02:35:35 +00:00
Stefan Monnier
830951b02a Improve the documentation of how to hilight multiline elements. 2006-04-29 15:11:38 +00:00
Stefan Monnier
50bfbe5fc0 Minor tweaks. 2006-04-26 05:33:11 +00:00
Stefan Monnier
b841df8f0b Add documentation about font-lock-multiline. 2006-04-24 06:35:58 +00:00
Richard M. Stallman
c759f47bfd (Imenu): Clarify what special items do. 2006-04-18 21:08:45 +00:00
Stefan Monnier
4ffc92c2d8 * font-lock.el (font-lock-lines-before): Delete variable, subsumed by
the new extend-region feature.
(font-lock-after-change-function): Update correspondingly.
* jit-lock.el (jit-lock-after-change): Update correspondingly.
* progmodes/grep.el (font-lock-lines-before): Don't disable.
* modes.texi (Region to Fontify): Remove font-lock-lines-before.
2006-03-15 22:26:09 +00:00
Alan Mackenzie
2fb936912f * modes.texi: New node, "Region to Fontify" (for Font Lock).
This describes font-lock-extend-region-function.
("Other Font Lock Variables"): move "font-lock-lines-before" to
the new node "Region to Fontify".
2006-03-14 18:30:48 +00:00
Juanma Barranquero
8392fe4a44 (%-Constructs): Remove obsolete info about `global-mode-string'. 2006-02-08 17:10:39 +00:00
Thien-Thi Nguyen
ceb4c4d303 Update years in copyright notice; nfc. 2006-02-06 12:31:40 +00:00
Eli Zaretskii
7fdc81ab35 Fix typos. 2006-01-07 18:41:50 +00:00
Luc Teirlinck
d1b6c8966f (Mode Line Format): Correct typo in menu. 2005-12-30 05:14:38 +00:00
Richard M. Stallman
94a867a62c (Mode Line Top): New node.
(Mode Line Data): Some text moved to new node.
Explain the data structure more concretely.
(Mode Line Basics): Clarifications.
(Mode Line Variables): Clarify intro paragraph.
(%-Constructs): Clarify intro paragraph.
(Mode Line Format): Update menu.
2005-12-30 03:43:06 +00:00
Romain Francoise
b158c851d4 (Customizing Keywords): Rename append' to how'.
Fix typo.
2005-12-14 11:21:51 +00:00
Stefan Monnier
16b4c38b1d (Minor Mode Conventions): Use custom-set-minor-mode.
(Minor Mode Conventions): Mention the use of a hook.
2005-11-16 18:11:34 +00:00
Stefan Monnier
cbad4a9ef8 (Minor Mode Conventions): Use custom-set-minor-mode. 2005-11-16 17:14:37 +00:00
Juri Linkov
3389865aa2 (Mode Hooks, Defining Minor Modes):
Replace `...' with `@dots{}' in `@defmac' and `@defspec'.
2005-10-17 06:48:00 +00:00
Chong Yidong
475aab0deb 2005-09-08 Chong Yidong <cyd@stupidchicken.com>
* locals.texi (Standard Buffer-Local Variables): Don't include
	mode variables for minor modes.
	Fix xrefs for buffer-display-count, buffer-display-table,
	buffer-offer-save, buffer-saved-size, cache-long-line-scans,
	enable-multibyte-characters, fill-column, header-line-format,
	left-fringe-width, left-margin, and right-fringe-width.

	* hooks.texi (Standard Hooks): All hooks should conform to the
	standard naming convention now.
	Fix xref for `echo-area-clear-hook'.

	* display.texi (Usual Display): Note that indicate-empty-lines and
	tab-width are buffer-local.

	* files.texi (Saving Buffers): Add xref to `Killing Buffers'.

	* modes.texi (Mode Help): Note that major-mode is buffer-local.

	* nonascii.texi (Encoding and I/O): Note that
	buffer-file-coding-system is buffer-local.

	* positions.texi (List Motion): Note that defun-prompt-regexp is
	buffer-local.

	* text.texi (Auto Filling): Note that auto-fill-function is
	buffer-local.
	(Undo): Note that buffer-undo-list is buffer-local.

	* windows.texi (Buffers and Windows): Document
	buffer-display-count.
2005-09-08 22:00:58 +00:00
Stefan Monnier
34b5077644 (Other Font Lock Variables): Sync the default of font-lock-lines-before. 2005-09-02 18:48:45 +00:00
Juri Linkov
c29a63fd64 (Mode Line Data): Fix xref to Standard Faces. 2005-08-22 21:32:08 +00:00
Richard M. Stallman
abd10ce8ae (Auto Major Mode): interpreter-mode-alist is not a regexp. 2005-08-15 02:06:09 +00:00
Thien-Thi Nguyen
651f374c99 Update years in copyright notice; nfc. 2005-08-10 14:29:01 +00:00
Richard M. Stallman
8deadbd403 (%-Constructs): Fix xref. 2005-08-09 23:30:43 +00:00
Richard M. Stallman
32808f8356 (Defining Minor Modes): Explain when init-value can be non-nil. 2005-08-09 12:09:14 +00:00
Luc Teirlinck
e890842c41 (Defining Minor Modes): The keyword for the initial value is
:init-value, not :initial-value.
2005-07-27 15:30:42 +00:00
Juri Linkov
2cde13e4c2 (Defining Minor Modes): Delete duplicate words. 2005-07-18 15:39:33 +00:00
Richard M. Stallman
342fd6cd64 Fix formatting ugliness. 2005-06-18 13:57:17 +00:00
Richard M. Stallman
03de439911 (Mode Line Data): Minor cleanup.
(Customizing Keywords): Node split out of Search-based Fontification.
Add example of using font-lock-add-keywords from a hook.
Clarify when MODE should be non-nil, and when nil.
2005-06-08 15:32:01 +00:00
Luc Teirlinck
fbc6ab1a4d (Mode Hooks): Fix typo. 2005-05-29 15:58:27 +00:00
Luc Teirlinck
01f52a8797 (Major Mode Conventions): A derived mode only needs to put the call to
the parent mode inside `delay-mode-hooks'.
2005-05-29 14:44:08 +00:00
Richard M. Stallman
801f0dc37d (Mode Hooks): Explain that after-change-major-mode-hook is
new, and what that implies.  Clarify.
2005-05-29 08:28:51 +00:00
Lute Kamstra
3c8572f598 (Font Lock Basics, Syntactic Font Lock): Recommend
syntax-begin-function over font-lock-beginning-of-syntax-function.
2005-05-23 12:01:32 +00:00
Luc Teirlinck
a217fa213f (Derived Modes): Clarify :group keyword. 2005-05-21 22:24:04 +00:00
Luc Teirlinck
b4a83bb86f (Hooks): Delete confusing and unnecessary sentence.
(Major Mode Conventions): Refer to `Auto Major Mode' in more
appropriate place.
(Derived Modes): Small clarifications.
(Minor Mode Conventions, Keymaps and Minor Modes): Replace
references to nodes with references to anchors.
(Mode Line Data): Warn that `(:eval FORM)' should not load any files.
Clarify description of lists whose first element is an integer.
(Mode Line Variables): Add anchor.
(%-Constructs): Clarify description of integer after %.
(Emulating Mode Line): Describe nil value for FACE.
2005-05-19 23:35:18 +00:00
Luc Teirlinck
703ba947f5 (Derived Modes): Correct references to non-existing variable
standard-syntax-table.
2005-05-18 16:50:23 +00:00
Lute Kamstra
82ecc38a3b (Defining Minor Modes): Mention the mode hook. 2005-05-17 15:21:33 +00:00