From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Copy/paste issue. Date: Sat, 31 Mar 2012 18:15:30 +0200 Message-ID: <5947D170-0A85-4525-8074-C9F86485E526@Web.DE> References: <20120331154408.40E7F180CAB@neo.msri.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1333210545 425 80.91.229.3 (31 Mar 2012 16:15:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 31 Mar 2012 16:15:45 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Silvio Levy Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 31 18:15:44 2012 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 1SE0xp-0006O9-IY for geh-help-gnu-emacs@m.gmane.org; Sat, 31 Mar 2012 18:15:41 +0200 Original-Received: from localhost ([::1]:58200 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SE0xo-0007iY-S1 for geh-help-gnu-emacs@m.gmane.org; Sat, 31 Mar 2012 12:15:40 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51544) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SE0xj-0007iM-O6 for help-gnu-emacs@gnu.org; Sat, 31 Mar 2012 12:15:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SE0xi-00082z-00 for help-gnu-emacs@gnu.org; Sat, 31 Mar 2012 12:15:35 -0400 Original-Received: from fmmailgate04.web.de ([217.72.192.242]:48413) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SE0xh-00082t-QW for help-gnu-emacs@gnu.org; Sat, 31 Mar 2012 12:15:33 -0400 Original-Received: from moweb001.kundenserver.de (moweb001.kundenserver.de [172.19.20.114]) by fmmailgate04.web.de (Postfix) with ESMTP id 563EE745F889 for ; Sat, 31 Mar 2012 18:15:32 +0200 (CEST) Original-Received: from peter-dyballas-macbook-pro.fritz.box ([88.153.242.186]) by smtp.web.de (mrweb002) with ESMTPA (Nemesis) id 0MgfXb-1RqAr63bSJ-00NBXl; Sat, 31 Mar 2012 18:15:32 +0200 In-Reply-To: <20120331154408.40E7F180CAB@neo.msri.org> X-Mailer: Apple Mail (2.1084) X-Provags-ID: V02:K0:/gpx6hxgqXmn90lvQMBihGQQ0p73RteNKvf5r5I2u9Q 6qnOsSlTPSgzGf5llbYwj+A1S+BRZ9sE0xJHmE+AD8nJJ06IWw j1RecsqdnRMJbpVeeFBddYowMZqwmUOzvIUckTGaBdQpKzs85M ZfQ1jstaOaXQ/DgmvPvsQnuMafYEFDrtChWhrab64QnmzakjaO fR+gYseohVzkbT32kh5qA== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.242 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:84232 Archived-At: Am 31.3.2012 um 17:44 schrieb Silvio Levy: > At the simplest level, cutting a file in half typically cuts it in the > middle of a function. Even if the functions are short and it's easy to > break between functions, the remaining code may depend on the omitted > code, so the division introduces new errors that have to be debugged. That's indeed a hard problem to solve. I tend to think of that and = organise my init file(s) in a way that things depending on some variable = are close together. And (do)commented! And I have a block at the = beginning which is kind of proven that it does not introduce errors =96 = maybe a bit special. Another obstacle, for me, is the support of = different GNU Emacs versions and variants (on Mac OS X one can have a = real zoo) handled with if etc. Some are quite large, but since it's = merely kind of customisation I can comment out such blocks. Out-sourcing things into files should make bisecting rather easy. You = can switch their use off and on find the "culprit" file. One learns from bisecting... -- Greetings Pete =3D=3D=3D -Q =3D=3D<__/% >> _____________(_)____@_____________________________