view doc/lispref/locals.texi @ 99806:8b9f58a19020

(hack-local-variables-confirm): Rename arg `project' to `dir-name'. Move `(or dir-name name)' to let-binding of `name'. (hack-local-variables-filter): Rename arg `project' to `dir-name'. (hack-local-variables): Rename call of `hack-project-variables' to `hack-dir-local-variables'. Change error text to "Directory-local variables error". (dir-locals-class-alist): Rename from `project-class-alist'. (dir-locals-directory-alist): Rename from `project-directory-alist'. (dir-locals-get-class-variables): Rename from `project-get-alist'. (dir-locals-collect-mode-variables): Rename from `project-collect-bindings-from-alist'. Rename arg `mode-alist' to `mode-variables', and arg `settings' to `variables'. (dir-locals-collect-variables): Rename from `project-collect-binding-list'. Rename arg `binding-list' to `class-variables', and arg `settings' to `variables'. (dir-locals-set-directory-class): Rename from `set-directory-project'. (dir-locals-set-class-variables): Rename from `define-project-bindings'. Rename arg `settings' to `variables'. (dir-locals-file): New defconst. (dir-locals-find-file): Rename from `project-find-settings-file'. Use `dir-locals-file'. Rename let-bound `settings' to `locals-file', and `pda' to `dir-elt'. (dir-locals-read-from-file): Rename from `project-define-from-project-file'. Rename arg `settings-file' to `file'. Rename let-bound `list' to `variables'. (hack-dir-local-variables): Rename from `hack-project-variables'. Rename let-bound `settings' to `variables-file', `root-dir' to `dir-name', and `bindings' to `variables'.
author Juri Linkov <juri@jurta.org>
date Sat, 22 Nov 2008 19:01:55 +0000
parents 107ccd98fa12
children cb5d2387102c
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, 2001, 2002, 2003, 2004,
@c   2005, 2006, 2007, 2008  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
@cindex buffer-local variables, general-purpose
@cindex standard buffer-local variables

  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.

  Every buffer-specific minor mode defines a buffer-local variable
named @samp{@var{modename}-mode}.  @xref{Minor Mode Conventions}.
Minor mode variables will not be listed here.

@table @code
@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{Making Backups}.

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

@item buffer-display-table
@xref{Active Display Table}.

@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{Killing Buffers}.

@item buffer-save-without-query
@xref{Killing Buffers}.

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

@item buffer-saved-size
@xref{Auto-Saving}.

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

@item cache-long-line-scans
@xref{Truncation}.

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

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

@item cursor-type
@xref{Cursor Parameters}.

@item cursor-in-non-selected-windows
@xref{Basic Windows}.

@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{Text Representations}.

@item fill-column
@xref{Margins}.

@item fill-prefix
@xref{Margins}.

@item font-lock-defaults
@xref{Font Lock Basics}.

@item fringe-cursor-alist
@xref{Fringe Cursors}.

@item fringe-indicator-alist
@xref{Fringe Indicators}.

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

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

@item header-line-format
@xref{Header Lines}.

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

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

@item left-fringe-width
@xref{Fringe Size/Pos}.

@item left-margin
@xref{Margins}.

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

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

@item local-abbrev-table
@xref{Standard Abbrev Tables}.

@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 point-before-scroll
Used for communication between mouse commands and scroll-bar commands.

@item right-fringe-width
@xref{Fringe Size/Pos}.

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

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

@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 vertical-scroll-bar
@xref{Scroll Bars}.

@item window-size-fixed
@xref{Resizing Windows}.

@item write-contents-functions
@xref{Saving Buffers}.
@end table


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