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: 20 Aug 2003 10:29:50 -0700 Organization: http://groups.google.com/ Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <227a55e9.0308200929.71f991de@posting.google.com> References: <227a55e9.0308110934.1eb23f37@posting.google.com> <84u18j2i16.fsf@slowfox.is.informatik.uni-duisburg.de> NNTP-Posting-Host: deer.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1061400979 14800 80.91.224.253 (20 Aug 2003 17:36:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 20 Aug 2003 17:36:19 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 20 19:36:17 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 19pWsb-0002su-00 for ; Wed, 20 Aug 2003 19:36:17 +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 19pWnv-0004uc-92 for geh-help-gnu-emacs@m.gmane.org; Wed, 20 Aug 2003 13:31:27 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 30 Original-NNTP-Posting-Host: 66.185.249.144 Original-X-Trace: posting.google.com 1061400591 15501 127.0.0.1 (20 Aug 2003 17:29:51 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: 20 Aug 2003 17:29:51 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:116024 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:11935 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:11935 kai.grossjohann@gmx.net (Kai Großjohann) wrote in message news:<84u18j2i16.fsf@slowfox.is.informatik.uni-duisburg.de>... > A completely wild speculation is that you actually want to set > sgml-indent-data to t to make it indent more often. Then you want to > set sgml-indent-step to 2 (which is the default, afaik). > > And for filling, maybe you want to turn on auto-fill mode? > > Does this help? > > If it doesn't, please explain in more detail what is happening. Solution found! The problem was that none of my changes were taking effect. I had redefined the variables in sgml-mode, but they were being ignored. Nothing was happening. Then while working on the command-line, trying to debug the .emacs init file, I found the problem: I had byte-compiled my .emacs file previously, but had not byte-compiled the .emacs file after I had changed and saved it. So Emacs was loading the older .emacs.elc file instead of the newer .emacs file. Solution was simple: byte-compile the new .emacs file and everything works. (*sigh*) How did I miss this one? Must have been the Sobig virus working on my brain. :) -- Eric Pement