From owner-ntemacs-users@june  Tue Nov 12 12:38:07 1996
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Tue" "12" "November" "1996" "20:46:42" "+0100" "Dag Nummedal" "Dag.Nummedal@unimed.sintef.no" nil "14" "Using menubar kills emacs" "^From:" nil nil "11" nil nil nil nil]
	nil)
Received: from joker.cs.washington.edu (joker.cs.washington.edu [128.95.1.42]) by june.cs.washington.edu (8.7.6/7.2ju) with SMTP id MAA11003 for <voelker@june.cs.washington.edu>; Tue, 12 Nov 1996 12:37:42 -0800
Received: from june.cs.washington.edu (june.cs.washington.edu [128.95.1.4]) by joker.cs.washington.edu (8.6.12/7.2ws+) with ESMTP id MAA24103 for <voelker@joker.cs.washington.edu>; Tue, 12 Nov 1996 12:37:35 -0800
Received: from halvan.trd.sintef.no (halvan.trd.sintef.no [129.241.224.23]) by june.cs.washington.edu (8.7.6/7.2ju) with ESMTP id LAA03067 for <ntemacs-users@cs.washington.edu>; Tue, 12 Nov 1996 11:49:33 -0800
Received: from umpc085 (um-dhcp-75.unimed.sintef.no [129.241.242.75]) by halvan.trd.sintef.no (8.7.6/8.7.3) with SMTP id UAA14416 for <ntemacs-users@cs.washington.edu>; Tue, 12 Nov 1996 20:49:32 +0100 (MET)
Message-Id: <2.2.32.19961112194642.0031d028@mail.trd.sintef.no>
X-Sender: dagn@mail.trd.sintef.no
X-Mailer: Windows Eudora Pro Version 2.2 (32)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
From: Dag Nummedal <Dag.Nummedal@unimed.sintef.no>
To: ntemacs-users@cs.washington.edu
Subject: Using menubar kills emacs
Date: Tue, 12 Nov 1996 20:46:42 +0100

It seems there is a bug in the menuhandling during startup.

1. If I show a menu and deselect it before .emacs finishes, emacs is fine.

2. If I select a menuitem, such as "Select all buffer", or "Open file", the
command will execute when .emacs etc. has finishec.

3. If any popupmenu is selected when the processing my .emacs file finishes,
emacs will hang.  

The .emacs I used contained only (sleep-for 10), no other changes from default.
I tested with emacs version 19.34 and 19.31.

Dag.Nummedal@unimed.sintef.no

From owner-ntemacs-users@june  Tue Nov 12 16:26:15 1996
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Tue" "12" "November" "1996" "17:28:16" "CST" "Douglas Gray Stephens" "gray@austin.apc.slb.com" nil "47" "Re: Using menubar kills emacs" "^From:" nil nil "11" nil nil nil nil]
	nil)
Received: from joker.cs.washington.edu (joker.cs.washington.edu [128.95.1.42]) by june.cs.washington.edu (8.7.6/7.2ju) with SMTP id QAA00435 for <voelker@june.cs.washington.edu>; Tue, 12 Nov 1996 16:26:14 -0800
Received: from june.cs.washington.edu (june.cs.washington.edu [128.95.1.4]) by joker.cs.washington.edu (8.6.12/7.2ws+) with ESMTP id QAA24224 for <voelker@joker.cs.washington.edu>; Tue, 12 Nov 1996 16:26:13 -0800
Received: from austin.asc.slb.com (PIGPEN-CLEAR.AUSTIN.ASC.SLB.COM [163.185.74.6]) by june.cs.washington.edu (8.7.6/7.2ju) with SMTP id PAA25848 for <ntemacs-users@cs.washington.edu>; Tue, 12 Nov 1996 15:28:34 -0800
Received: from ICE-APC ([163.185.66.176]) by austin.asc.slb.com (4.1/relay.951226a) 	id AA11301 for <ntemacs-users@cs.washington.edu>; Tue, 12 Nov 96 17:28:17 CST
Message-Id: <9611122328.AA11301@austin.asc.slb.com>
X-Mailer: emacs 19.33.1 (via feedmail 3 I) 
In-Reply-To: <2.2.32.19961112194642.0031d028@mail.trd.sintef.no> (Dag.Nummedal@unimed.sintef.no)
References: <2.2.32.19961112194642.0031d028@mail.trd.sintef.no>
From: gray@austin.apc.slb.com (Douglas Gray Stephens)
To: ntemacs-users@cs.washington.edu
Subject: Re: Using menubar kills emacs
Date: Tue, 12 Nov 96 17:28:16 CST


Hi,

I've also experience similar problems:

At 20:46 on 12-November-1996, Dag Nummedal wrote:
 > It seems there is a bug in the menuhandling during startup.
 > 
 > 1. If I show a menu and deselect it before .emacs finishes, emacs is fine.
 > 
 > 2. If I select a menuitem, such as "Select all buffer", or "Open file", the
 > command will execute when .emacs etc. has finishec.
 > 
 > 3. If any popupmenu is selected when the processing my .emacs file finishes,
 > emacs will hang.  
 > 
 > The .emacs I used contained only (sleep-for 10), no other changes from default.
 > I tested with emacs version 19.34 and 19.31.

I'm using emacs 19.33.1 with NT 4.0.

If I start emacs, and move the window before the initialisation has
completed, the emacs session freezes, with only the pull down menus
function (that is they pull down, but then do not do the expected
thing (e.g. open a new frame)).  I have the same experience if I open
a new frame (e.g. when vm mail starts up and opens a new window).

I've learnt to be patient, but a better solution would be nice!


Thanks,

Douglas.

-- 

================================
Douglas GRAY STEPHENS        
Schlubmerger Austin Product Centre,
8311 North FM 620,
AUSTIN,
TX 78726

Phone +1 512 331 3717
Fax   +1 512 331 3760
Email DGrayStephens@slb.com
================================

From andrewi@harlequin.co.uk  Fri Jul  5 07:43:34 1996
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Fri" " 5" "July" "1996" "15:43:13" "+0100" "Andrew Innes" "andrewi@harlequin.co.uk" nil "75" "Re: [kfs@olicom.dk: The EDIT / Select-and-Paste menu item is not updated correctly.]" "^From:" nil nil "7" nil nil nil nil]
	nil)
Received: from holly.cam.harlequin.co.uk (holly.cam.harlequin.co.uk [193.128.4.58]) by june.cs.washington.edu (8.7.5/7.2ju) with SMTP id HAA03386 for <voelker@cs.washington.edu>; Fri, 5 Jul 1996 07:43:32 -0700
Received: from propos.long.harlequin.co.uk by holly.cam.harlequin.co.uk; Fri, 5 Jul 1996 15:43:16 +0100
Received: from woozle.long.harlequin.co.uk (woozle [193.128.93.77]) by propos.long.harlequin.co.uk (8.6.12/8.6.12) with SMTP id PAA08458; Fri, 5 Jul 1996 15:43:13 +0100
Message-Id: <199607051443.PAA08458@propos.long.harlequin.co.uk>
In-Reply-To: <199606122054.QAA09193@psilocin.gnu.ai.mit.edu> (message from 	Richard Stallman on Wed, 12 Jun 1996 16:54:15 -0400)
From: Andrew Innes <andrewi@harlequin.co.uk>
To: rms@gnu.ai.mit.edu
Cc: voelker@cs.washington.edu, kfs@olicom.dk
Subject: Re: [kfs@olicom.dk: The EDIT / Select-and-Paste menu item is not updated correctly.]
Date: Fri, 5 Jul 1996 15:43:13 +0100

On Wed, 12 Jun 1996 16:54:15 -0400, Richard Stallman <rms@gnu.ai.mit.edu> said:
>Could you please look at why this fails on Windows?
>It does not fail in Emacs on GNU/Linux using X.

I can't be positive, but I strongly suspect this doesn't work on Windows
because the various menu-activate hook functions don't get called when
the user actually clicks on the menu bar.  Thus the change in menu state
doesn't become apparent until something else causes the hook functions
to be called - I would guess that recenter has that effect, as does
clicking in the minibuffer?

If so, this would be fixed by making the Windows menu code work more
like the X menu code, using lazy evaluation.

AndrewI

>------- Start of forwarded message -------
>Date: Wed, 12 Jun 1996 09:52:28 +0100
>From: "Kim F. Storm" <kfs@olicom.dk>
>Organization: Olicom A/S
>Mime-Version: 1.0
>To: bug-gnu-emacs@prep.ai.mit.edu
>Subject: The EDIT / Select-and-Paste menu item is not updated correctly.
>Content-Type: text/plain; charset=us-ascii
>Content-Transfer-Encoding: 7bit
>
>* emacs-version returns:
>
>GNU Emacs 19.31.1 (i386-*-win954.0) - that is on Windows 95
>
>Configure is not used to build emacs on Windows 95.
>
>  * The precise commands needed to type to reproduce the bug.
>
>1) Start a new emacs
>
>2) Check that the EDIT/Select-and-paste menu is empty
>
>3) Insert a line of text in the scratch buffer.
>
>4) Do either of the following to get the entered line into
>   the kill-ring:
>
>   a) Copy the line via drag-mouse-1
>
>   b) Kill the line (e.g. via C-a C-k)
>
>5) Check the EDIT/Select-and-paste menu.
>
>   *** THIS IS THE BUG *** 
>
>   The menu is still empty!
>
>6) To get the select-and-paste menu updated do one of the
>   following things:
>
>   a) Redraw the screen (C-l)
>
>   b) Click with the mouse in the mini-buffer
>      (Gives "Minibuffer window is not active" message)
>
>7) Check the EDIT/Select-and-paste menu.
>
>   The copied/killed text is now there.
>
>***
>I know you don't like speculations in a bug report, but if the
>select-and-paste menu is updated correctly when using X, this
>is most likely a Windows 95 specific bug, since the Windows 95
>support code has "duplicated" a lot of X code - including the
>menu bar support.
>
>- --
>Kim F. Storm <storm@olicom.dk>
>------- End of forwarded message -------

From owner-ntemacs-users@trout  Wed May 28 07:42:54 1997
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Wed" "28" "May" "1997" "14:38:57" "+0100" "Francis J. Wright" "F.J.Wright@qmw.ac.uk" nil "45" "Re: Bugs with Emacs version 19.34.1 (Aug 29, 1996)" "^From:" nil nil "5" nil nil nil nil]
	nil)
Received: from joker.cs.washington.edu (joker.cs.washington.edu [128.95.1.42]) by june.cs.washington.edu (8.8.5+CS/7.2ju) with SMTP id HAA09082 for <voelker@june.cs.washington.edu>; Wed, 28 May 1997 07:42:54 -0700
Received: from trout.cs.washington.edu (trout.cs.washington.edu [128.95.1.178]) by joker.cs.washington.edu (8.6.12/7.2ws+) with ESMTP id HAA20284 for <voelker@joker.cs.washington.edu>; Wed, 28 May 1997 07:42:53 -0700
Received: from june.cs.washington.edu (june.cs.washington.edu [128.95.1.4]) by trout.cs.washington.edu (8.8.5+CS/7.2ws+) with ESMTP id GAA29847 for <ntemacs-users@trout.cs.washington.edu>; Wed, 28 May 1997 06:39:29 -0700 (PDT)
Received: from gamma.qmw.ac.uk (gamma.qmw.ac.uk [138.37.6.8]) by june.cs.washington.edu (8.8.5+CS/7.2ju) with SMTP id GAA05838 for <ntemacs-users@cs.washington.edu>; Wed, 28 May 1997 06:39:22 -0700
Received: from laplace.maths.qmw.ac.uk by gamma.qmw.ac.uk with SMTP-QMW;           Wed, 28 May 1997 14:38:45 +0100
Received: from dirac.maths.qmw.ac.uk by laplace.maths.qmw.ac.uk;           Wed, 28 May 97 14:38:47 BST
Received: from centaur.maths.qmw.ac.uk (centaur [138.37.80.58])	by dirac.maths.qmw.ac.uk (8.8.5/8.8.5)            with SMTP id OAA09034;	Wed, 28 May 1997 14:38:24 +0100 (BST)
Message-Id: <338C3571.4BB1@Maths.QMW.ac.uk>
Reply-To: F.J.Wright@qmw.ac.uk
Organization: Mathematical Sciences, Queen Mary - University of London
X-Mailer: Mozilla 3.0Gold (Win95; I)
References: <1955-Tue27May1997084536-0700-wolfe@ocean.ucsb.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
From: "Dr Francis J. Wright" <F.J.Wright@qmw.ac.uk>
To: "Stephen R.Wolfe" <wolfe@ocean.ucsb.edu>
Cc: demers@iro.umontreal.ca, ntemacs-users@cs.washington.edu
Subject: Re: Bugs with Emacs version 19.34.1 (Aug 29, 1996)
Date: Wed, 28 May 1997 14:38:57 +0100

Stephen R.Wolfe wrote:
> 
> I have been meaning to raise this question for quite some time
> myself. I try to avoid the menus because I noticed the same
> pattern. I'm using GNU Emacs 19.34.1 (i386-*-nt4.0) of Mon Apr 21 1997
> on ESME.
> 
>    From: demers@IRO.UMontreal.CA (Francois-Nicola Demers)
> 
>    Many times per week my Emacs crashes badly on Windows 95. It says that
>    the program Explorer has made a general failure from the module
>    Krnl386.exe (and other times from User.exe).  Then Windows says that a
>    fatal error occurred .  I have to reboot.  It seems to me that it occurres
>    always when the menu is used with the mouse...

That's strange.  I use the menus a lot and I have not seen this
problem.  I did have a run of problems a while ago with Explorer
crashing on one of my machines, which is running Windows 95b, but I
don't think it was due to Emacs and it seems to have gone away by
itself.

Maybe you both have something non-standard in your setup, like a
third-party mouse driver?

However, I have noticed a couple of mild Emacs mouse/menu problems (with
version 19.34.1).  (1) Menus tend to disappear of their own accord in a
way that Windows menus do not normally (and I think should not) do.  I
suspect that this happens when Emacs is doing some regular update, such
as a mode-line update.  (2) If I select a region in an Emacs-Lisp buffer
using mouse triple-click and drag then the option to comment out the
region in the mode-specific menu is not enabled, whereas if I select a
region is some other way then the option is enabled.  After this problem
has occurred it can be hard to re-enable this option at all, but
eventually it comes back to life.  Maybe these are mild versions of the
problem causing crashes?

Francis

-- 

Dr Francis J. Wright  (Senior Tutor for Mathematics)
School of Mathematical Sciences   | Email:     F.J.Wright@QMW.ac.uk
Queen Mary & Westfield College    | Telephone: +44 171-975 5453 (direct)
Mile End Road, London E1 4NS, UK  | Fax:       +44 181-981 9587 (dept.)
      World Wide Web Home Page URL: http://www.maths.qmw.ac.uk/~fjw/

