Qeustion in Compiling

J

Jirka Klaue

jacob navia wrote:
....
As I explained in another message in this thread, the
interface of make in this respect is awful since there
is NO way to see the spaces or the tabulations in a computer
screen!!!!!

Use syntax highlighting. E.g., vi[m] can be configured to colour
the tabs.

Jirka
 
D

Dan Pop

In said:
jacob navia wrote:
...
As I explained in another message in this thread, the
interface of make in this respect is awful since there
is NO way to see the spaces or the tabulations in a computer
screen!!!!!

Use syntax highlighting. E.g., vi[m] can be configured to colour
the tabs.

vim can, vi certainly cannot (it was designed back when colour terminals
were practically unheard of).

Whenever in doubt, use the cursor right function of your editor to
see if dealing with two or more spaces or a tab character. The test
doesn't work for what appears to be a single space character, so simply
delete it and insert a tab instead, to be sure that you have a tab where
a tab is expected.

I agree that making tabs semantically different from spaces was a gross
design mistake, but we have to live with it. It usually bites when people
cut and paste from one makefile to another, because tabs usually get
converted to spaces during this operation.

Dan
 
K

Kenneth Brody

Dan said:
In said:
jacob navia wrote:
...
As I explained in another message in this thread, the
interface of make in this respect is awful since there
is NO way to see the spaces or the tabulations in a computer
screen!!!!!

Use syntax highlighting. E.g., vi[m] can be configured to colour
the tabs.

vim can, vi certainly cannot (it was designed back when colour terminals
were practically unheard of).
[...]

vi does, however, have ":set list", which will make tabs appear as "^I".
(Along with changing other things about the display, such as marking the
end of every line with "$" to let you see trailing spaces.)
 
M

Monkey-Mind

John said:
If no helpful answer is called for, just ignore it for Christ's sake and
save bandwidth. If this ng isn't about being helpful, there is no reason
for its existence. Being rude to naive posters won't stop OT posting (or
clulessness). It's Dan Pop's habitual bad manners that are
inappropriate. He needs to get laid, or take a valium, or something...
Yeap theres a lot of people on here who need to get laid and unplug
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,145
Messages
2,570,826
Members
47,371
Latest member
Brkaa

Latest Threads

Top