From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Brown Newsgroups: gmane.emacs.bugs Subject: bug#13112: 24.2.90; The cygw32 build should disable X11 Date: Sat, 08 Dec 2012 07:23:44 -0500 Message-ID: <50C33150.2060007@cornell.edu> References: <50C1E941.2080609@cornell.edu> <87k3stiutx.fsf@Rainer.invalid> <87boe5iscr.fsf@Rainer.invalid> <50C2605F.4000207@cornell.edu> <87pq2k7pe8.fsf@Rainer.invalid> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1354969491 15255 80.91.229.3 (8 Dec 2012 12:24:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Dec 2012 12:24:51 +0000 (UTC) Cc: 13112@debbugs.gnu.org To: Achim Gratz Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 08 13:25:03 2012 Return-path: Envelope-to: geb-bug-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 1ThJSj-0002yp-UZ for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Dec 2012 13:24:58 +0100 Original-Received: from localhost ([::1]:49515 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ThJSX-0005uO-EH for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Dec 2012 07:24:45 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:40915) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ThJSU-0005uH-Be for bug-gnu-emacs@gnu.org; Sat, 08 Dec 2012 07:24:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ThJSQ-0007gk-Cr for bug-gnu-emacs@gnu.org; Sat, 08 Dec 2012 07:24:42 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49744) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ThJSQ-0007gg-9B for bug-gnu-emacs@gnu.org; Sat, 08 Dec 2012 07:24:38 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1ThJSo-0006Mf-1B for bug-gnu-emacs@gnu.org; Sat, 08 Dec 2012 07:25:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ken Brown Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 Dec 2012 12:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13112 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 13112-submit@debbugs.gnu.org id=B13112.135496946524423 (code B ref 13112); Sat, 08 Dec 2012 12:25:01 +0000 Original-Received: (at 13112) by debbugs.gnu.org; 8 Dec 2012 12:24:25 +0000 Original-Received: from localhost ([127.0.0.1]:59995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ThJSC-0006Ls-Jl for submit@debbugs.gnu.org; Sat, 08 Dec 2012 07:24:24 -0500 Original-Received: from limestone3.mail.cornell.edu ([128.253.83.163]:43062) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ThJSA-0006Lj-2h for 13112@debbugs.gnu.org; Sat, 08 Dec 2012 07:24:23 -0500 X-CornellRouted: This message has been Routed already. Original-Received: from soapstone1.mail.cornell.edu (soapstone1.mail.cornell.edu [128.253.83.143]) by limestone3.mail.cornell.edu (8.14.4/8.14.4) with ESMTP id qB8CNpfq013971 for <13112@debbugs.gnu.org>; Sat, 8 Dec 2012 07:23:51 -0500 (EST) Original-Received: from authusersmtp.mail.cornell.edu (granite2.mail.cornell.edu [128.253.83.142]) by soapstone1.mail.cornell.edu (8.14.4/8.14.4) with ESMTP id qB8CO2Dh016470 for <13112@debbugs.gnu.org>; Sat, 8 Dec 2012 07:24:02 -0500 (EST) Original-Received: from [192.168.1.2] (cpe-67-249-194-47.twcny.res.rr.com [67.249.194.47]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id qB8CNteP015908 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 8 Dec 2012 07:23:56 -0500 (EST) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120824 Thunderbird/15.0 In-Reply-To: <87pq2k7pe8.fsf@Rainer.invalid> X-PMX-CORNELL-SPAM-CHECKED: Pawpaw X-PMX-Version: 5.5.9.395186, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2012.12.8.121224 X-Original-Sender: kbrown@cornell.edu - Sat Dec 8 07:23:56 2012 X-PMX-CORNELL-REASON: CU_White_List_Override X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:68185 Archived-At: On 12/8/2012 6:29 AM, Achim Gratz wrote: > Ken Brown writes: >> So let's start from scratch. Can you give a detailed, step-by-step >> procedure for reproducing the problem? I'd like to see if I can >> reproduce it. > > I'm not near any system running Windows, so I can't test it myself, but > I hope the following will do: > > 1. Nix all configuration files, then start emacs-X11 and set the default > font to "DejaVu Sans Mono" and "Save Options". Check that it got saved in > the "(custom-set-faces" section in the appropriate init file. I've done that, and I now have a ~/.emacs with the following contents: (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. ) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(default ((t (:family "DejaVu Sans Mono" :foundry "unknown" :slant normal :weight normal :height 113 :width normal))))) And I've moved ~/.Xdefaults and /usr/share/emacs/site-lisp out of the way. ps shows no processes except mintty and bash. > 2. Do not start X11 or dbus. From a freshly started mintty, start > emacs-w32 so that it reads the configuration file with the default font. > It should start with whatever font is the first one in your Windows font > list instead of the default monospace font it would use when started > with "-Q". Now try to select File->Open from the menu bar. $ emacs-w32 & emacs-w32 opens in a new window. Options -> Set Default Font shows that emacs is using DejaVu Sans Mono-11. File -> Open works fine. I wonder why emacs-w32 finds DejaVu Sans Mono on my system but not on yours? I guess that's not really relevant to this bug, but it does mean that I can't currently reproduce the problem and so I can't debug it. If you can consistently reproduce it, I think you might have to do it under gdb (or attach gdb when emacs hangs) and see if you can figure out what's going on. I did reproduce the hang two nights ago (with different steps), but I was tired and making mistakes, and I don't remember exactly what I did. I know from previous discussions that you use tcsh as your shell. Could there be something in your tcsh configuration files that's interfering? Or is there anything in your environment that could explain this? Maybe you should try this from a bash shell and a clean environment. If you want to send me your cygcheck output off list, I can see if I spot any obvious differences between your system and mine. Ken