view lispref/locals.texi @ 62412:6ac7ed8e212b

(makefile-dependency-regex): Turn it into a var, and refine it to mask one more level of nested vars. (makefile-rule-action-regex): Turn it into a var, and refine it so it recognizes backslashed continuation lines as belonging to the same command. (makefile-macroassign-regex): Refine it so it recognizes backslashed continuation lines as belonging to the same command. (makefile-var-use-regex): Don't look at the next char, because it might be the same one to be skipped by the initial [^$], leading to an overlooked variable use. (makefile-make-font-lock-keywords): Remove two parameters, which are now variables that some of the modes set locally. Handle dependency and rule action matching through functions, because regexps alone match too often. Dependency matching now comes last, so it can check, whether a colon already matched something else. (makefile-mode): Inform that font-lock improves makefile parsing capabilities. (makefile-match-dependency, makefile-match-action): New functions.
author Daniel Pfeiffer <occitan@esperanto.org>
date Mon, 16 May 2005 20:13:09 +0000
parents da652d3d778e
children 4daccd802437 fb79180b618d
line wrap: on
line source

@c -*-texinfo-*-
@c This is part of the GNU Emacs Lisp Reference Manual.
@c Copyright (C) 1990, 1991, 1992, 1993, 1999 Free Software Foundation, Inc.
@c See the file elisp.texi for copying conditions.
@setfilename ../info/locals
@node Standard Buffer-Local Variables, Standard Keymaps, Standard Errors, Top
@appendix Buffer-Local Variables
@c The title "Standard Buffer-Local Variables" is too long for
@c smallbook. --rjc 30mar92

  The table below lists the general-purpose Emacs variables that
automatically become buffer-local in each buffer.  Most become
buffer-local only when set; a few of them are always local in every
buffer.  Many Lisp packages define such variables for their internal
use, but we don't try to list them all here.

@table @code
@item abbrev-mode
@xref{Abbrevs}.

@item auto-fill-function
@xref{Auto Filling}.

@item buffer-auto-save-file-format
@xref{Format Conversion}.

@item buffer-auto-save-file-name
@xref{Auto-Saving}.

@item buffer-backed-up
@xref{Backup Files}.

@item buffer-display-count
@xref{Displaying Buffers}.

@item buffer-display-table
@xref{Display Tables}.

@item buffer-display-time
@xref{Buffers and Windows}.

@item buffer-file-coding-system
@xref{Encoding and I/O}.

@item buffer-file-format
@xref{Format Conversion}.

@item buffer-file-name
@xref{Buffer File Name}.

@item buffer-file-number
@xref{Buffer File Name}.

@item buffer-file-truename
@xref{Buffer File Name}.

@item buffer-file-type
@xref{MS-DOS File Types}.

@item buffer-invisibility-spec
@xref{Invisible Text}.

@item buffer-offer-save
@xref{Saving Buffers}.

@item buffer-read-only
@xref{Read Only Buffers}.

@item buffer-saved-size
@xref{Point}.

@item buffer-undo-list
@xref{Undo}.

@item cache-long-line-scans
@xref{Text Lines}.

@item case-fold-search
@xref{Searching and Case}.

@item ctl-arrow
@xref{Usual Display}.

@item cursor-type
@xref{Window Frame Parameters}.

@item comment-column
@xref{Comments,,, emacs, The GNU Emacs Manual}.

@item default-directory
@xref{File Name Expansion}.

@item defun-prompt-regexp
@xref{List Motion}.

@item desktop-save-buffer
@xref{Desktop Save Mode}.

@ignore
@item direction-reversed
Does not work yet.
@end ignore

@item enable-multibyte-characters
@ref{Non-ASCII Characters}.

@item fill-column
@xref{Auto Filling}.

@item fringes-outside-margins
@xref{Fringes}.

@item goal-column
@xref{Moving Point,,, emacs, The GNU Emacs Manual}.

@item header-line-format
@xref{Mode Line Data}.

@item indicate-buffer-boundaries
@xref{Usual Display}.

@item indicate-empty-lines
@xref{Usual Display}.

@item left-fringe-width
@xref{Fringes}.

@item left-margin
@xref{Indentation}.

@item left-margin-width
@xref{Display Margins}.

@item line-spacing
@xref{Line Height}.

@item local-abbrev-table
@xref{Abbrevs}.

@item major-mode
@xref{Mode Help}.

@item mark-active
@xref{The Mark}.

@item mark-ring
@xref{The Mark}.

@item mode-line-buffer-identification
@xref{Mode Line Variables}.

@item mode-line-format
@xref{Mode Line Data}.

@item mode-line-modified
@xref{Mode Line Variables}.

@item mode-line-process
@xref{Mode Line Variables}.

@item mode-name
@xref{Mode Line Variables}.

@item overwrite-mode
@xref{Insertion}.

@item point-before-scroll
Used for communication between mouse commands and scroll-bar commands.

@item right-fringe-width
@xref{Fringes}.

@item right-margin-width
@xref{Display Margins}.

@item scroll-bar-width
@xref{Scroll Bars}.

@item scroll-down-aggressively
@xref{Textual Scrolling}.

@item scroll-up-aggressively
@xref{Textual Scrolling}.

@item selective-display
@xref{Selective Display}.

@item selective-display-ellipses
@xref{Selective Display}.

@item tab-width
@xref{Usual Display}.

@item truncate-lines
@xref{Truncation}.

@item vc-mode
@xref{Mode Line Variables}.

@item vertical-scroll-bar
@xref{Scroll Bars}.
@end table

@ignore
   arch-tag: 6baae835-b667-4447-91e2-9829ae1cf543
@end ignore