On Sat, Jan 23, 2010 at 08:58:28PM +0000, John Cremona wrote:
> Some of those might have come from me since I use emacs and I edited
> some combinat docstrings recently (they were giveing errors when
> building the docs).

Those we just fixed were from someone else :-)

> I would like to have emacs automatically replace tabs by spaces, and
> if the 3 lines you supply will do that (after being inserted in my
> .emacs) then I'll use them right away.

That should do the job for new / reindented lines.

> I already have to use emacs's untabify command after editing .pyx
> files since they don't compile at all if they have tabs.  (So the
> .emacs will need to know to apply this to .pyx files and not just
> .py files).

I have this in my .emacs to put .pyx files in sage-mode instead of
pyrex-mode.

(setq auto-mode-alist (cons '("\\.pyx\\'" . sage-mode) auto-mode-alist)) 

Cheers,
                                Nicolas
--
Nicolas M. ThiƩry "Isil" <nthi...@users.sf.net>
http://Nicolas.Thiery.name/

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to