On Fri, May 15, 2009 at 05:57:53PM -0700, Nick Alexander wrote:
> Hmm.  What is M-; bound to for you?  For me, it's `comment-dwim',  
> which is the greatest thing since sliced bread -- it really does do  
> what I mean!  In a docstring, if you're on a line with non-comment  
> text, it adds a comment to the end of the line.  Save for the spaces,  
> that's exactly what you want.  But: you can (setq comment-column 60)  
> to get whatever column you want!  This is very cool, occasionally I  
> want this myself.

Thanks much for the tip! This probably is exactly what I needed :-)

> If you remember, please let me know that everything's good.  I have  
> some fixes to pyrex mode to make for David Roe and I'd like to release  
> a 0.6.1 sometime soon.

Still delighting on it tonight :-)

Btw: for me, C-c C-j triggers a "end of buffer" on the following lines:

------------------------------------------------------------------------------
                sage: class broken(UniqueRepresentation, Parent):
                ...    def __init__(self):
                ...        Parent.__init__(self, category = EnumeratedSets())
                ...
------------------------------------------------------------------------------

Speaking of C-c C-j: could it be made to jump to the next sage prompt
if not currently on one?

Also (since you requested feature requests): I am still dreaming of a
variant of C-c C-j which would send all the doctests from the top of
the file down to the current point.

Thanks!

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

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

Reply via email to