From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Emacs (HEAD) crash on M$ (XP) built with MinGW Date: Mon, 27 Oct 2008 22:09:40 +0200 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1225138196 17098 80.91.229.12 (27 Oct 2008 20:09:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Oct 2008 20:09:56 +0000 (UTC) Cc: lekktu@gmail.com, emacs-devel@gnu.org To: dhruva Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 27 21:10:58 2008 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KuYQT-00086C-78 for ged-emacs-devel@m.gmane.org; Mon, 27 Oct 2008 21:10:57 +0100 Original-Received: from localhost ([127.0.0.1]:35583 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KuYPL-0008QG-U0 for ged-emacs-devel@m.gmane.org; Mon, 27 Oct 2008 16:09:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KuYPG-0008PZ-RT for emacs-devel@gnu.org; Mon, 27 Oct 2008 16:09:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KuYPE-0008P4-Kz for emacs-devel@gnu.org; Mon, 27 Oct 2008 16:09:41 -0400 Original-Received: from [199.232.76.173] (port=46514 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KuYPE-0008P1-F5 for emacs-devel@gnu.org; Mon, 27 Oct 2008 16:09:40 -0400 Original-Received: from mtaout3.012.net.il ([84.95.2.7]:25850) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KuYPD-0001Ok-UI for emacs-devel@gnu.org; Mon, 27 Oct 2008 16:09:40 -0400 Original-Received: from HOME-C4E4A596F7 ([77.127.192.143]) by i_mtaout3.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0K9E000X1YQNXID1@i_mtaout3.012.net.il> for emacs-devel@gnu.org; Mon, 27 Oct 2008 22:11:12 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:105051 Archived-At: > Date: Mon, 27 Oct 2008 10:00:33 +0530 > From: dhruva > Cc: lekktu@gmail.com, emacs-devel@gnu.org > > >> I put the following lines in my .emacs, opened xdisp.c file and used > >> the arrow button to move down the lines. Once the cursor reached the > >> last visible line, the crash happens (before pulling the new lines > >> into visible frame). > >> > >> This crash does not happen with a different font though (like courier)! > >> > >> (setq inhibit-splash-screen t) > >> (setq *def-font > >> "-*-Lucida Sans Typewriter-normal-*-*-mono-13-*-*-*-c-*-*-*") > >> (if (boundp '*def-font) > >> (add-to-list 'default-frame-alist `(font . ,*def-font))) > >> > > > > The crash does not happen with (increased the font size by 1 point): > > (setq inhibit-splash-screen t) > > (setq *def-font > > "-*-Lucida Sans Typewriter-normal-*-*-mono-14-*-*-*-c-*-*-*") > > (if (boundp '*def-font) > > (add-to-list 'default-frame-alist `(font . ,*def-font))) > > Could anyone reproduce the crash? Due to lack of knowledge of the > display source code, I am not able to further analyze. Can you reproduce the crash if, instead of putting the above in .emacs, you put it in a file named foo.el and invoke Emacs like this: emacs -Q -l foo.el or maybe even "emacs -Q" and then "M-x load-file RET foo.el RET"? I'm asking because it's a hassle to move aside my .emacs and/or edit it. Doing this with a different file starting from "emacs -Q" is much more convenient.