all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nick Roberts <nickrob@snap.net.nz>
Subject: locals.texi
Date: Thu, 29 Jun 2006 10:49:01 +1200	[thread overview]
Message-ID: <17571.1885.899074.211162@kahikatea.snap.net.nz> (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

             reply	other threads:[~2006-06-28 22:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-28 22:49 Nick Roberts [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=17571.1885.899074.211162@kahikatea.snap.net.nz \
    --to=nickrob@snap.net.nz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.