From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: Can a variable be both a defcustom and buffer local? Date: Thu, 23 Sep 2010 14:04:19 -0700 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1285275880 32727 80.91.229.12 (23 Sep 2010 21:04:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 23 Sep 2010 21:04:40 +0000 (UTC) To: "'Lennart Borgman'" , "'Emacs-Devel devel'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 23 23:04:39 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Oysy4-0005Rm-Jo for ged-emacs-devel@m.gmane.org; Thu, 23 Sep 2010 23:04:36 +0200 Original-Received: from localhost ([127.0.0.1]:54077 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oysy4-0000uy-5K for ged-emacs-devel@m.gmane.org; Thu, 23 Sep 2010 17:04:36 -0400 Original-Received: from [140.186.70.92] (port=41607 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oysxw-0000u9-L7 for emacs-devel@gnu.org; Thu, 23 Sep 2010 17:04:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oysxv-0006wl-5Q for emacs-devel@gnu.org; Thu, 23 Sep 2010 17:04:28 -0400 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]:31043) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oysxv-0006vv-0Z for emacs-devel@gnu.org; Thu, 23 Sep 2010 17:04:27 -0400 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o8NL4LAQ002472 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 23 Sep 2010 21:04:22 GMT Original-Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o8NL4Gih007447; Thu, 23 Sep 2010 21:04:21 GMT Original-Received: from abhmt012.oracle.com by acsmt353.oracle.com with ESMTP id 625251351285275859; Thu, 23 Sep 2010 14:04:19 -0700 Original-Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 23 Sep 2010 14:04:19 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 Thread-Index: ActbX2ezNcC8nvZOTmm6SKUujWMNcgAAXbqA X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:130704 Archived-At: > Can a variable be both a defcustom and buffer local? Of course. > ispell-local-dictionary is that. Likewise auto-hscroll-mode, compilation-disable-input, compilation-error-regexp-alist, emacs-lisp-mode-hook, ffap-inhibit-ffap-flag, font-lock-verbose, line-move-ignore-invisible, lisp-indent-function, mode-line-format, search-whitespace-regexp, transient-mark-mode, truncate-lines,... And those are just those that grep shows in my own code. Grep the vanilla sources if you want to see more.