unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* problem getting hooks to be active
@ 2003-08-11 17:34 Eric Pement
  2003-08-11 17:45 ` Peter Solodov
  2003-08-15 12:59 ` Kai Großjohann
  0 siblings, 2 replies; 11+ messages in thread
From: Eric Pement @ 2003-08-11 17:34 UTC (permalink / raw)


I'm trying to customize a few variables in sgml-mode (xml-mode), but
the settings I want are not being obeyed. I don't know why, so I
thought I'd post my .emacs snippet here and maybe someone could tell
me what I'm doing wrong:

   (add-hook 'sgml-mode-hook'
        (lambda ()
          (setq tab-width 2)
          (setq indent-tabs-mode nil)
	  (setq fill-column 85)
   ))

What I want should be obvious. When editing XML files, I want to
change my tab width, fill column, and intent-tabs-mode behavior. But
my alterations aren't being obeyed. I've tried adding --debug-init on
the command line, but it doesn't bring up the debugger at all. I've
tried doing M-x eval-buffer while editing my .emacs file, and
eval-last-sexp after the function above, and gotten no error messages
that I can detect. Any advice?

I'm running GNU Emacs version 21.1.1 on Windows 2000 Pro, with 4NT as
the basic shell.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2003-08-24 12:58 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-11 17:34 problem getting hooks to be active Eric Pement
2003-08-11 17:45 ` Peter Solodov
2003-08-11 18:26   ` Johan Bockgård
2003-08-11 18:30   ` Barry Margolin
2003-08-12 16:32     ` Eric Pement
2003-08-12 16:54       ` Peter Solodov
2003-08-15 14:54         ` Eric Pement
2003-08-15 12:59 ` Kai Großjohann
2003-08-20 15:46   ` Eric Pement
2003-08-24 12:58     ` Kai Großjohann
2003-08-20 17:29   ` Eric Pement

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).