emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

locals.texi


From: Nick Roberts
Subject: locals.texi
Date: Thu, 29 Jun 2006 10:49:01 +1200

Here's an update to the list of buffer local variables.  Most are new to Emacs
22 (fill-prefix and font-lock-defaults are two exceptions.  I guess the notion
of standard is a bit arbitrary but I've roughly assumed if that if it's
mentioned in the manual then it's standard.  If some of the variables that
I've added aren't appropriate then I'll move then to the @ignore section at
the end so that, in future, everyone can see that their omission is deliberate.

To clarfiy the concept of buffer local variables for myself:

In gdb-ui.el (as in many other files, I often just copy current practice), I
have constructs like

  (set (make-local-variable 'font-lock-defaults)
       '(gdb-memory-font-lock-keywords))

but I could just do

  (setq font-lock-defaults '(gdb-memory-font-lock-keywords))

?

-- 
Nick                                           http://www.inet.net.nz/~nickrob


*** locals.texi 07 Feb 2006 10:14:44 +1300      1.23
--- locals.texi 29 Jun 2006 10:35:36 +1200      
*************** mode variables will not be listed here.
*** 65,70 ****
--- 65,73 ----
  @item buffer-offer-save
  @xref{Killing Buffers}.
  
+ @item buffer-save-without-query
+ @xref{Killing Buffers}.
+ 
  @item buffer-read-only
  @xref{Read Only Buffers}.
  
*************** mode variables will not be listed here.
*** 86,91 ****
--- 89,97 ----
  @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}.
  
*************** Does not work yet.
*** 109,114 ****
--- 115,132 ----
  @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}.
  
*************** Used for communication between mouse com
*** 172,177 ****
--- 190,198 ----
  @item right-margin-width
  @xref{Display Margins}.
  
+ @item save-buffer-coding-system
+ @xref{Encoding and I/O}.
+ 
  @item scroll-bar-width
  @xref{Scroll Bars}.
  
*************** Used for communication between mouse com
*** 195,202 ****
--- 216,238 ----
  
  @item vertical-scroll-bar
  @xref{Scroll Bars}.
+ 
+ @item window-size-fixed
+ @xref{Resizing Windows}.
+ 
+ @item write-contents-functions
+ @xref{Saving Buffers}.
  @end table
  
  @ignore
+ Buffer local variables mentioned in manual but not considered worth
+ mentioning here:
+ 
+ left-fringe-width
+ right-fringe-width
+ @end ignore
+ 
+ 
+ @ignore
     arch-tag: 6baae835-b667-4447-91e2-9829ae1cf543
  @end ignore




reply via email to

[Prev in Thread] Current Thread [Next in Thread]