From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: Emacs 22 problems with split init file Date: Tue, 16 Jan 2007 08:50:55 +1100 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <87mz4kufgg.fsf@lion.rapttech.com.au> References: <87hcuurrfd.fsf@lion.rapttech.com.au> <87d55gssd8.fsf@lion.rapttech.com.au> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1168900868 7887 80.91.229.12 (15 Jan 2007 22:41:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 15 Jan 2007 22:41:08 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 15 23:41:04 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1H6aVk-0002ZY-2r for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Jan 2007 23:41:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H6aVk-0005zl-0M for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Jan 2007 17:41:04 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!sn-xt-sjc-03!sn-xt-sjc-08!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux) Cancel-Lock: sha1:LBC4ux3UBdiQR+sMJriRkjUI7eA= Original-X-Complaints-To: abuse@supernews.com Original-Lines: 43 Original-Xref: shelby.stanford.edu gnu.emacs.help:144739 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:40344 Archived-At: Peter Dyballa writes: > Am 15.01.2007 um 07:42 schrieb Tim X: > >> However, I do suspect it is something >> related to the customize stuff which is causeing the seg faults. > > How about putting > > (message "From custom file starts here") > (message "From custom file ends here") > > into your custom files? (You can also put some into ~/.emacs.) It's only > useful when you're able to to see the *Messages* buffer, so it could be a good > idea to comment the whole block of settings starting with > > (custom-set-variables > > and ending with ``)ยดยด and see whether this leads to no crashes. Then uncomment > the first and the last line of customisation, to have a valid ELisp statement, > and see whether it's still OK. Next comes a loop of binary dividing the > customisation, i.e., finding the increasingly smaller region with the faulty > setting in it ... > > -- Hi Pete, I've already tried that. The custom file (the correct one for the version of emacs i.e. 22) is getting loaded and all the customization seems correct. In fact, there don't seem to be any problems after starting emacs. However, when you go to do certain operations after emacs has booted, such as start a mail reading client, you will go to perform some operation and emacs crashes with the segfault error. As soon as you use just a single init file, there are no problems. I'll keep experimenting and see what happens. I have considerable amounts of custom stuff and eliminating them in a methodical way is time consuming. Tim -- tcross (at) rapttech dot com dot au