?

Log in

No account? Create an account
CVS commit to the 3.1 branch, including: - removal of GNOME… - LogJam [entries|archive|friends|userinfo]
LogJam

[ website | LogJam ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

[Jan. 22nd, 2002|11:55 pm]
LogJam
logjam
[evan]
CVS commit to the 3.1 branch, including:
- removal of GNOME dependency (GTK 2.0 does enough for me)
- removal of libhalfgnome (hopefully fixing the Solaris compile problems, too!)
- non-modal dialogs where appropriate, friends dialog now sorta works (needs a lot more time to get anywhere)
- beginning of change from tab to four spaces (!)
LinkReply

Comments:
From: evan
2002-01-23 12:04 am (UTC)
It's not too late to change my mind...

It seems any reasonable editor (emacs, vi) will be able to make the 4 spaces <-> tab translation internally, and for everybody else it'll format right too.
(Reply) (Parent) (Thread)
[User Picture]From: bradfitz
2002-01-23 12:05 am (UTC)
YES!

Spaces are da bomb.
(Reply) (Parent) (Thread)
From: evan
2002-01-23 12:09 am (UTC)

(I finally figured out how to make vim smart about it.)
(Reply) (Parent) (Thread)
[User Picture]From: bradfitz
2002-01-23 12:12 am (UTC)
Remember you laughed at me when I did C-x i in emacs to insert a whole file?

You said you didn't think vim had that, or you didn't know how.

It's like, :F or something. xb95 looked it up the other day.
(Reply) (Parent) (Thread)
[User Picture]From: midendian
2002-01-23 12:22 am (UTC)

You mean ":r filename"? (or more fun, ":r!command" to insert output from a command)
(Reply) (Parent) (Thread)
From: compwiz
2002-01-23 06:23 am (UTC)
yuck.
(Reply) (Parent) (Thread)
[User Picture]From: decklin
2002-01-23 07:43 am (UTC)
I agree with mid here. Tabs are for logical indentation levels, spaces are for physically lining things up.

It's easy enough to have vim play nice with 4-space indents, but if i want to *display* them as 2 or 8 and (a) still have things look ok (b) be able to submit patches, I'm SOL. I display tabs as 4 in all "code" filetypes, so this is somewhat moot for me, but still.
(Reply) (Parent) (Thread)
[User Picture]From: midendian
2002-01-23 09:23 am (UTC)

Exactly.

(I spent days arguing with coworkers about this so that we could standardize. We finally did settle on real tabs, displayed at 4 spaces. But I always use 8 anyway because that's Right. I then spent a week reformatting about forty thousand lines of C and C++.)
(Reply) (Parent) (Thread)
From: evan
2002-01-23 12:25 pm (UTC)
perl -npi 's/ /\t/g;' *.c *.h
(Reply) (Parent) (Thread)