From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: MON KEY Newsgroups: gmane.emacs.devel Subject: RE: question about "Making change-major-mode-hook buffer-local while locally let-bound!" Date: Sun, 20 Jun 2010 16:38:46 -0400 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1277066336 26146 80.91.229.12 (20 Jun 2010 20:38:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 20 Jun 2010 20:38:56 +0000 (UTC) Cc: emacs-devel@gnu.org To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 20 22:38:55 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 1OQRI6-000606-2k for ged-emacs-devel@m.gmane.org; Sun, 20 Jun 2010 22:38:54 +0200 Original-Received: from localhost ([127.0.0.1]:45098 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OQRI5-0005p6-HT for ged-emacs-devel@m.gmane.org; Sun, 20 Jun 2010 16:38:53 -0400 Original-Received: from [140.186.70.92] (port=42726 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OQRI0-0005o1-F6 for emacs-devel@gnu.org; Sun, 20 Jun 2010 16:38:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OQRHz-0005L1-Cl for emacs-devel@gnu.org; Sun, 20 Jun 2010 16:38:48 -0400 Original-Received: from mail-gy0-f169.google.com ([209.85.160.169]:53501) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OQRHz-0005Ko-6f for emacs-devel@gnu.org; Sun, 20 Jun 2010 16:38:47 -0400 Original-Received: by gyg4 with SMTP id 4so2413013gyg.0 for ; Sun, 20 Jun 2010 13:38:46 -0700 (PDT) Original-Received: by 10.150.234.21 with SMTP id g21mr3571706ybh.329.1277066326052; Sun, 20 Jun 2010 13:38:46 -0700 (PDT) Original-Received: by 10.151.10.5 with HTTP; Sun, 20 Jun 2010 13:38:46 -0700 (PDT) X-Google-Sender-Auth: -wMWMIghdJ8MhpFYbcNYzP4gJI8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:126276 Archived-At: > Also, out of curiosity, where is `change-major-mode-hook' being made > buffer-local? Grepping the lisp sources shows only these hits that > seem to involve making it local: Maybe something to do with the `lisp-mode-variables' form in the derived-mode definition of `emacs-lisp-mode' in emacs-lisp/lisp-mode.el ?? ,---- (documentation 'lisp-mode-variables)) | | {...} | | The LISP-SYNTAX argument is used by code in inf-lisp.el and is | (uselessly) passed from pp.el, chistory.el, gnus-kill.el and | score-mode.el. | `---- -- /s_P\