1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-01 08:17:38 +00:00
Commit Graph

126 Commits

Author SHA1 Message Date
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
Luc Teirlinck
7cefdf1d28 (Derived Modes): Correct typos. Add pxref. 2005-05-15 02:14:59 +00:00
Luc Teirlinck
302691abbc (Modes): Update Menu.
(Hooks):  Move to beginning of chapter.
(Major Modes): Update Menu.
(Major Mode Basics): New node, split off from `Major Modes'.
(Major Mode Conventions): Correct xref.  Explain how to handle
auto-mode-alist if the major mode command has an autoload cookie.
(Auto Major Mode): Major update.  Add magic-mode-alist.
(Derived Modes): Major update.
(Mode Line Format): Update Menu.
(Mode Line Basics): New node, split off from `Mode Line Format'.
2005-05-14 16:16:44 +00:00
Luc Teirlinck
c71f84bd99 (Hooks): Most minor modes run mode hooks too.
`add-hook' can handle void hooks or hooks whose value is a single function.
2005-05-14 15:25:38 +00:00
Richard M. Stallman
cbb8b77d19 (Defining Minor Modes): Define define-global-minor-mode. 2005-05-14 13:59:41 +00:00
Lute Kamstra
28e7aba4fd (Generic Modes): Update.
(Major Modes): Refer to node "Generic Modes".
2005-05-12 13:20:56 +00:00
Lute Kamstra
010a33862d (Generic Modes): New node.
(Major Modes): Add it to the menu.
(Derived Modes): Add "derived mode" to concept index.
2005-04-29 13:02:54 +00:00
Lute Kamstra
4f45f65edf (Defining Minor Modes): Fix previous change.
(Font Lock Mode): Simplify.
(Font Lock Basics): Say that font-lock-defaults is buffer-local
when set and that some parts are optional.  Add cross references.
(Search-based Fontification): Say how to specify font-lock-keywords.
Add cross references.  Add font-lock-multiline to index.  Move
font-lock-keywords-case-fold-search here from node "Other Font
Lock Variables".  Document font-lock-add-keywords and
font-lock-remove-keywords
(Other Font Lock Variables): Move font-lock-keywords-only,
font-lock-syntax-table, font-lock-beginning-of-syntax-function,
and font-lock-syntactic-face-function to node "Syntactic Font
Lock".  Move font-lock-keywords-case-fold-search to node
"Search-based Fontification".  Document font-lock-inhibit-thing-lock
and font-lock-{,un}fontify-{buffer,region}-function.
(Precalculated Fontification): Remove reference to deleted variable
font-lock-core-only.
(Faces for Font Lock): Add font-lock-comment-delimiter-face.
(Syntactic Font Lock): Add intro.  Move font-lock-keywords-only,
font-lock-syntax-table, font-lock-beginning-of-syntax-function,
and font-lock-syntactic-face-function here from node "Other Font
Lock Variables".  Move font-lock-syntactic-keywords to "Setting
Syntax Properties".  Add cross references.
(Setting Syntax Properties): New node.  Move
font-lock-syntactic-keywords here from "Syntactic Font Lock".
2005-04-28 11:32:54 +00:00
Richard M. Stallman
e54eeb4442 (Major Mode Conventions): Explain customizing ElDoc mode. 2005-04-26 10:57:21 +00:00
Richard M. Stallman
ed35c7368c (Search-based Fontification): Explain that
facespec is an expression to be evaluated.
2005-04-19 21:06:19 +00:00
Lute Kamstra
199bb209e6 (Search-based Fontification): Fix cross references.
Use consistent terminology.  Document anchored highlighting.
2005-04-08 09:28:33 +00:00
Lute Kamstra
bfa546681c (Defining Minor Modes): Document :group keyword argument and its
default value.
2005-04-05 15:22:50 +00:00
Luc Teirlinck
aaac12514d (Other Font Lock Variables): font-lock-fontify-block is now bound to M-o M-o. 2005-03-28 02:43:22 +00:00
Richard M. Stallman
3a05b1e422 (Other Font Lock Variables): Document font-lock-lines-before. 2005-03-21 17:52:30 +00:00
Richard M. Stallman
8caa135619 (Mode Line Format): Get rid of "Emacs 21".
(Mode Line Data, Properties in Mode, Header Lines): Likewise.
2005-03-06 18:20:49 +00:00
Lute Kamstra
f24be0a762 (Defining Minor Modes): Explain that INIT-VALUE, LIGHTER, and KEYMAP
can be omitted when KEYWORD-ARGS are used.
2005-02-24 14:20:14 +00:00
Lute Kamstra
8dc811d38a (Defining Minor Modes): define-minor-mode can be used to define global
minor modes as well.
2005-02-23 09:13:14 +00:00
Kim F. Storm
bf247b6ed0 Change release version from 21.4 to 22.1 throughout.
Change development version from 21.3.50 to 22.0.50.
2005-02-09 15:50:47 +00:00
Lute Kamstra
1f9ad95a99 (Example Major Modes): Fix typos. 2005-02-06 15:59:39 +00:00
Richard M. Stallman
ec9b08823d (Major Mode Conventions): Mention "system abbrevs".
Mode inheritance applies only when default-major-mode is nil.
Clarifications.
(Example Major Modes): Update Text mode and Lisp mode examples.
(Minor Mode Conventions): Mention define-minor-mode at top.
(Defining Minor Modes): In Hungry example, don't define C-M-DEL.
(Mode Line Format): Update mode line face display info.
(Properties in Mode): Mention effect of risky vars.
(Imenu): Define imenu-add-to-menubar.
(Font Lock Mode): Add descriptions to menu lines.
(Faces for Font Lock): Add font-lock-doc-face.
2005-02-06 10:49:35 +00:00
Kim F. Storm
f2dfc85629 (Emulating Mode Line): Update format-mode-line entry. 2005-01-13 09:39:32 +00:00
Richard M. Stallman
0fee24ae7c (Emulating Mode Line): Doc FACE arg in format-header-line. 2005-01-12 05:11:05 +00:00
Richard M. Stallman
0a54d76e11 (Emulating Mode Line): format-mode-line requires 1 arg. 2005-01-06 17:42:58 +00:00
Richard M. Stallman
4ac594cd84 (Emulating Mode Line): Document format's BUFFER arg. 2004-12-27 16:58:07 +00:00
Thien-Thi Nguyen
10980463d7 (Font Lock Basics): Fix typo. 2004-11-15 09:55:51 +00:00
Luc Teirlinck
a3ee0299ed Various minor changes in addition to:
(Major Mode Conventions): Final call to `run-mode-hooks' should
not be inside the `delay-mode-hooks' form.
(Mode Hooks): New node.
(Hooks): Delete obsolete example.
Move definitions of `run-mode-hooks' and `delay-mode-hooks' to new
node "Mode Hooks".
2004-09-25 02:21:51 +00:00
Richard M. Stallman
e0dbfecc41 (Major Mode Conventions): Discuss rebinding of standard key bindings. 2004-08-22 17:41:15 +00:00
Richard M. Stallman
4d3867280e (Minor Mode Conventions): (-) has no special meaning
as arg to a minor mode command.
2004-05-29 15:41:06 +00:00
Thien-Thi Nguyen
022cb16265 (Search-based Fontification): Fix typo. 2004-05-19 14:27:21 +00:00