unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Please why ORDER of .emacs lines here matters.....
@ 2003-07-31 20:14 Christian Seberino
  2003-07-31 21:53 ` Kevin Rodgers
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Christian Seberino @ 2003-07-31 20:14 UTC (permalink / raw)


Notice the py-indent-offset line (2nd one) below.  If I move this
line further down then I don't
get 8 space idents anymore.  The order matters!!!! But why???



  (defun cs-python-mode()
      (setq-default  py-indent-offset        8            )
      (python-mode)
      (turn-on-font-lock)
      (setq-default  auto-fill-function      'do-auto-fill)
      (setq-default  py-python-command       "python2.2"  )
      (setq-default  py-continuation-offset  8            )
      (setq-default  py-smart-indentation    nil          )
      (setq-default  py-block-comment-prefix "#"          ))


P.S. This code gets run when I open a file with ".py" extension.  This
puts me into python-mode (along with my tweaks) for Python source code.

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

end of thread, other threads:[~2003-08-10 17:43 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-31 20:14 Please why ORDER of .emacs lines here matters Christian Seberino
2003-07-31 21:53 ` Kevin Rodgers
2003-08-01  5:36   ` Christian Seberino
2003-08-01 16:13     ` Kevin Rodgers
2003-08-01 20:50     ` Alan Mackenzie
2003-08-05  8:42     ` Thien-Thi Nguyen
2003-08-08  8:42       ` Alan Mackenzie
2003-08-01 20:48 ` Kai Großjohann
2003-08-10 17:43 ` Stefan Monnier

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).