view doc/lispref/locals.texi @ 92109:4d9fc08769fa

Consolidate the image_cache to the terminal struct. * termhooks.h (P_): Remove redundant def. (struct terminal): New field `image_cache'. * frame.h (FRAME_IMAGE_CACHE): New macro. Use it everywhere in place of FRAME_X_IMAGE_CACHE. * xterm.h (struct x_display_info): Remove image_cache field. (FRAME_X_IMAGE_CACHE): Remove. Use FRAME_IMAGE_CACHE instead. * w32term.h (struct w32_display_info): Remove image_cache field. (FRAME_X_IMAGE_CACHE): Remove. Use FRAME_IMAGE_CACHE instead. * macterm.h (struct mac_display_info): Remove image_cache field. (FRAME_X_IMAGE_CACHE): Remove. Use FRAME_IMAGE_CACHE instead. * xterm.c (x_term_init): * w32term.c (w32_term_init): * macterm.c (mac_term_init): Set the image_cache in the terminal. * dispextern.h (clear_image_cache, forall_images_in_image_cache): Remove declarations. (clear_image_caches, mark_image_cache): New declarations. * xfaces.c (clear_face_cache): * xdisp.c (redisplay_internal): Use clear_image_caches. * image.c (clear_image_cache): Don't check that a frame is on a window-system before checking if it shares the same cache. (clear_image_caches): New function. (Fclear_image_cache): Use it. (mark_image): Move from allo.c. (mark_image_cache): Move from alloc.c and forall_images_in_image_cache. * alloc.c (mark_image, mark_image_cache): Move to image.c. (mark_object): Don't call mark_image_cache for frames. (mark_terminals): Call mark_image_cache.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 22 Feb 2008 17:42:09 +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