[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to quit?

From: Emanuel Berg
Subject: Re: How to quit?
Date: Fri, 27 Feb 2015 20:09:42 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Drew Adams <address@hidden> writes:

> As for confusion with "real" comments - no such
> problem. That's the point of `comment-region', which
> nests and unnests correctly.

The original, "real" comments give structure to the
code file - they are labels, often. When you comment
out a big block of code those labels aren't by far as
distinguishable because the code block "comment" gets
the same font color. So when those labels in part
disappear, your overall orientation of the document is
reduced. This makes it more difficult to navigate even
in the part that isn't commented out.

>> Besides many other advantages, in this specific
>> situation, one could load all the files from .emacs
>> (with `load-file') and then just comment out a
>> single line to not have a specific file loaded.
> Which single line? That's the point.
> Are you going to try each one in turn? Are you going
> to try to guess, based on your intelligent division
> of subject matter into sacks that are each
> "dedicated [to] a specific area of configuration
> and/or extention"?

Well, yes! The more organized you are, the better you
get at "guessing" and the more likely is it that your
shamanism works when you need it. Getting the files
organized isn't equal to getting an organized mind but
it is a good start...

On the other hand, having several files and loading
them don't rule out the "binary search" method. First
attempt, comment out the last half of the lines (those
that load files). Later, if you want to apply "binary
search" to the failing file as well, there will be a
lot less code to deal with compared to the proposed
several thousand line spaghetti bowl inti file.

There are also purely technical advantages like much
smaller compile time for a single error in a short

underground experts united

reply via email to

[Prev in Thread] Current Thread [Next in Thread]