From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: pemente@northpark.edu (Eric Pement) Newsgroups: gmane.emacs.help Subject: Re: problem getting hooks to be active Date: 12 Aug 2003 09:32:09 -0700 Organization: http://groups.google.com/ Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <227a55e9.0308120832.2269bcb3@posting.google.com> References: <227a55e9.0308110934.1eb23f37@posting.google.com> <87ptjc3x6r.fsf@lorien.concordia.ca> NNTP-Posting-Host: deer.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1060706848 19148 80.91.224.253 (12 Aug 2003 16:47:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 12 Aug 2003 16:47:28 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 12 18:47:26 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19mcIw-00080i-00 for ; Tue, 12 Aug 2003 18:47:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19mcIB-0007LM-Gj for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Aug 2003 12:46:39 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Original-NNTP-Posting-Host: 66.185.249.144 Original-X-Trace: posting.google.com 1060705929 6231 127.0.0.1 (12 Aug 2003 16:32:09 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: 12 Aug 2003 16:32:09 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:115833 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:11752 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:11752 Barry Margolin wrote in message news:... > In article <87ptjc3x6r.fsf@lorien.concordia.ca>, > Peter Solodov wrote: > >On 11 Aug 2003, Eric Pement wrote: > >> (add-hook 'sgml-mode-hook' > > > >That second quote is really there??? In this case you're adding to > >"sgml-mode-hook'", and not sgml-mode-hook. > > No he isn't. [ ... ] > But I agree that his layout suggests a serious misunderstanding of how Lisp > quoting works. > > >(add-hook 'sgml-mode-hook > > (lambda () > > ... I wonder if I should expect this? Three people respond to my question, all of them nitpicking about a quote mark that doesn't affect the failure or success of the code. Yes, the extra quote mark in 'sgml-mode-hook' was an ignorant mistake. I copied it off a sample ini file on www.dotemacs.de. Removing the trailing apostrophe does not fix the problem. So what should I have written instead that will change the variables while in sgml-mode?