From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: How to quit? Date: Fri, 27 Feb 2015 20:09:42 +0100 Organization: Aioe.org NNTP Server Message-ID: <878ufjmart.fsf@debian.uxu> References: <87y4nm3svs.fsf@wmi.amu.edu.pl> <874mq89nur.fsf@debian.uxu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1425064639 18354 80.91.229.3 (27 Feb 2015 19:17:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Feb 2015 19:17:19 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 27 20:17:19 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YRQPS-0001z4-9a for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Feb 2015 20:17:14 +0100 Original-Received: from localhost ([::1]:38655 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YRQPR-0002Xn-F1 for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Feb 2015 14:17:13 -0500 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 48 Original-NNTP-Posting-Host: feB02bRejf23rfBm51Mt7Q.user.speranza.aioe.org Original-X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-Notice: Filtered by postfilter v. 0.8.2 Cancel-Lock: sha1:71zw52HI5aqSe384yACez0ucf6o= Mail-Copies-To: never Original-Xref: usenet.stanford.edu gnu.emacs.help:210650 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:102925 Archived-At: Drew Adams 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 file. -- underground experts united