Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!ll-xn!mit-eddie!ultra.UUCP!wayne From: wayne@ultra.UUCP (Wayne Hathaway) Newsgroups: comp.emacs Subject: Can somebody help with TABS? Message-ID: <8706032338.AA03020@lear.ultra.com> Date: Wed, 3-Jun-87 19:38:07 EDT Article-I.D.: lear.8706032338.AA03020 Posted: Wed Jun 3 19:38:07 1987 Date-Received: Sun, 7-Jun-87 05:09:12 EDT Sender: daemon@eddie.MIT.EDU Lines: 42 Sorry to bother both Emacs lists with this, but it can't be as hard a problem as it seems to ... All I'm trying to do is produce a C program that can be run through vgrind with reasonable-looking output. Unfortunately, my experiments with 'tabify' and 'edit-tab-stops' and the like have been total disasters so far, and I have had zero luck making things line up for vgrind. I am sure it is because of my total lack of understanding of tabs in Emacs, because things like the following continue to puzzle me: I create a program file, with tab stops every 4 spaces. (Verified by 'describe-variable tab-stop-list'.) There really seem to be tabs, since the cursor jumps on C-f. I save the file and grep for tabs; sure enough, there they are. I 'untabify' the entire program, and the tabs seem to go away (cursor moves smoothly). I save the file again, grep for tabs, and -- oops, still got tabs! A second "experiment": I set tabs every 4 spaces over to column 40, and none after that. I 'tabify' the region, and -- again oops, there are still tabs being used past column 40. In my weak little voice, I cry "Help?". Seriously, thanx muchly to anybody who can point me to the right documentation, mode, oracle, ... And by the way, I am using GNU Emacs 18.44 on a diskless Sun 3/50. Thanx! Wayne Hathaway ultra!wayne@ames.arpa Ultra Corporation 2140 Bering Drive San Jose, CA 95131 408-922-0100