all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* locals.texi
@ 2006-06-28 22:49 Nick Roberts
  2006-06-29 17:57 ` locals.texi Richard Stallman
  0 siblings, 1 reply; 7+ messages in thread
From: Nick Roberts @ 2006-06-28 22:49 UTC (permalink / raw)



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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-07-07  3:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-28 22:49 locals.texi Nick Roberts
2006-06-29 17:57 ` locals.texi Richard Stallman
2006-07-04 16:31   ` locals.texi Stefan Monnier
2006-07-04 20:53     ` locals.texi Richard Stallman
2006-07-04 23:33       ` locals.texi Nick Roberts
2006-07-05 17:01         ` locals.texi Richard Stallman
2006-07-07  3:55         ` locals.texi Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.