all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.