On Friday, 30 July 2010, at 08:22:25 (+0900),
Carsten Haitzler wrote:
> then you wrap at 85.. then you say "but if we made it a little wider
> it'd be nicer" so it become 90, then "if its a bit wider" 95.. and
> so on. it doesn't end until you cease wrapping entirely. i think
> trying to stick to 80 wide is good. it's the standard term
> width. it's not a magic number invented for efl coding. uncrustify
> needs to be able to handle the above case properly. the only
> question is... how to do it?
I've mentioned this before, but I'll do so again. Most terminals have
the ability to toggle between 80-column and 132-column mode via a menu
option or escape sequence. I set all my emacs windows to be 132
columns wide for this reason, and wrap my source at 132 columns
instead of 80. The result is significantly more readable.
xterm and Eterm both support it. You can do it manually using:
echo -e "\e[?40;3h"
or (in Eterm) bind it to a menu item. To toggle back, change the 'h'
to an 'l' (that's a lowercase L).
Michael
--
Michael Jennings (a.k.a. KainX) http://www.kainx.org/ <[email protected]>
Linux Server/Cluster Admin, LBL.gov Author, Eterm (www.eterm.org)
-----------------------------------------------------------------------
"A woman broke up with me and sent me pictures of her and her new
boyfriend in bed together. Solution? I sent them to her dad."
-- Christopher Case
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel