From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.bugs Subject: bug#4124: 23.1; mwheel in --daemon mode Date: Tue, 11 Aug 2009 11:22:51 -0700 (PDT) Message-ID: <200908111822.n7BIMpS1009185@godzilla.ics.uci.edu> References: <200908111727.n7BHRmJn008727@godzilla.ics.uci.edu> Reply-To: Dan Nicolaescu , 4124@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1250016503 28524 80.91.229.12 (11 Aug 2009 18:48:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Aug 2009 18:48:23 +0000 (UTC) Cc: "4124@emacsbugs.donarmstrong.com" <4124@emacsbugs.donarmstrong.com> To: John Prevost Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 11 20:48:16 2009 Return-path: Envelope-to: geb-bug-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 1MawOM-00055R-Kg for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Aug 2009 20:48:14 +0200 Original-Received: from localhost ([127.0.0.1]:57911 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MawOL-0006Jp-3V for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Aug 2009 14:48:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MawN6-0005yy-Mg for bug-gnu-emacs@gnu.org; Tue, 11 Aug 2009 14:46:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MawN2-0005ye-2Q for bug-gnu-emacs@gnu.org; Tue, 11 Aug 2009 14:46:56 -0400 Original-Received: from [199.232.76.173] (port=48929 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MawN1-0005yb-U3 for bug-gnu-emacs@gnu.org; Tue, 11 Aug 2009 14:46:51 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:33941) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MawN1-0000tv-C8 for bug-gnu-emacs@gnu.org; Tue, 11 Aug 2009 14:46:51 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7BIknkA011388; Tue, 11 Aug 2009 11:46:49 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n7BIU4tN009549; Tue, 11 Aug 2009 11:30:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Dan Nicolaescu Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 11 Aug 2009 18:30:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4124 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4124-submit@emacsbugs.donarmstrong.com id=B4124.12500149878925 (code B ref 4124); Tue, 11 Aug 2009 18:30:04 +0000 Original-Received: (at 4124) by emacsbugs.donarmstrong.com; 11 Aug 2009 18:23:07 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from barrelv2.ics.uci.edu (barrelv2.ics.uci.edu [128.195.1.114]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7BIN63k008917; Tue, 11 Aug 2009 11:23:07 -0700 Original-Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by barrelv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n7BIMqiq015681; Tue, 11 Aug 2009 11:22:52 -0700 (PDT) Original-Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n7BIMpS1009185; Tue, 11 Aug 2009 11:22:51 -0700 (PDT) In-Reply-To: (John Prevost's message of "Tue, 11 Aug 2009 14:13:10 -0400") Original-Lines: 30 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n7BIMqiq015681 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Tue, 11 Aug 2009 14:46:56 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:30112 Archived-At: John Prevost writes: > Dan Nicolaescu writes: > > > In emacs-23 uses of window-system to initialize variables are most of > > the time bugs because window-system is not a constant anymore. Its > > value depends of the frame it is used in, and we can have TTY and GUI > > frames in the same emacs sessions, so... > > That was my assumption, yup. > > > w32 does not use the daemon mode, nor can it use TTY and w32 frames at > > the same time, so it should not matter. > > Hmm. Is it not possible to start emacs in --daemon mode and use > emacsclient to open a file in w32? I thought I had tested this and that > it had worked. No, it does not, from emacs/src/emacs.c: #else /* DOS_NT */ fprintf (stderr, "This platform does not support the -daemon flag.\n"); exit (1); #endif /* DOS_NT */ > In any case, it's clear that this is a problem in mwheel, and I do have > a short-term workaround. It would be good if someone would look at mwheel.el and fix it properly...