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 ‘modename-mode’. See Minor Mode Conventions. Minor mode variables will not be listed here.
auto-fill-functionbuffer-auto-save-file-formatbuffer-auto-save-file-namebuffer-backed-upbuffer-display-countbuffer-display-tablebuffer-display-timebuffer-file-coding-systembuffer-file-formatbuffer-file-namebuffer-file-numberbuffer-file-truenamebuffer-file-typebuffer-invisibility-specbuffer-offer-savebuffer-save-without-querybuffer-read-onlybuffer-saved-sizebuffer-undo-listcache-long-line-scanscase-fold-searchcomment-columnctl-arrowcursor-in-non-selected-windowscursor-typedefault-directorydefun-prompt-regexpdesktop-save-bufferenable-multibyte-charactersfill-columnfill-prefixfont-lock-defaultsfringe-cursor-alistfringe-indicator-alistfringes-outside-marginsgoal-columnheader-line-formatindicate-buffer-boundariesindicate-empty-linesleft-fringe-widthleft-marginleft-margin-widthline-spacinglocal-abbrev-tablemajor-modemark-activemark-ringmode-line-buffer-identificationmode-line-formatmode-line-modifiedmode-line-processmode-namepoint-before-scrollright-fringe-widthright-margin-widthsave-buffer-coding-systemscroll-bar-widthscroll-down-aggressivelyscroll-up-aggressivelyselective-displayselective-display-ellipsestab-widthtruncate-linesvertical-scroll-barwindow-size-fixedwrite-contents-functions