On Mon, Oct 24, 2011 at 9:31 AM, Jason Grout
<jason-s...@creativetrax.com> wrote:
> On 10/24/11 11:14 AM, John Cremona wrote:
>>>
>>> To me, it's annoying to have the cursor jump back to column 0 when
>>> scrolling
>>> down through the function.  I think that is the only situation where I
>>> get
>>> annoyed with my emacs settings of deleting trailing whitespace.
>>>
>>> Thanks,
>>>
>>> Jason
>>>
>>
>> If you tell me how to make emacs do that, I'll stop being a repeat
>> offender (just as I no longer -- I think -- submit patches with tabs
>> in!)
>
>
> Here is what is in my .emacs:
>
> ;; trailing whitespace
> (setq-default show-trailing-whitespace t)
> ;(add-hook 'before-save-hook 'delete-trailing-whitespace)
>
>
> The first line shows trailing whitespace in a big bold red font.  The second
> automatically deletes it.  I commented out the second line because:
>
> 1. It was adding too much noise to existing patches (deleting all trailing
> whitespace in a file)
>
> 2. the annoying issue with an all-whitespace line, pointed out in my message
> above.
>

Putting the above (emacs code + discussion) in the Developer's Guide
would be very useful.

William

> Thanks,
>
> jason
>
>
> --
> 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
>



-- 
William Stein
Professor of Mathematics
University of Washington
http://wstein.org

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