GNU bug report logs - #195
menu bar misbehavior during (ispell-buffer)

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: "Nathaniel Cunningham" <nathaniel.cunningham@HIDDEN>; dated Wed, 7 May 2008 15:30:04 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Severity set to `wishlist' from `normal' Request was from Chong Yidong <cyd@HIDDEN> to control@HIDDEN. Full text available.

Message received at (unknown):


Received: (at unknown) by unknown; unknown
X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02
	(2007-08-08) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Status: No, score=-3.7 required=4.0 tests=AWL,BAYES_00,FOURLA
	autolearn=no version=3.2.3-bugs.debian.org_2005_01_02
Received: (at 195) by emacsbugs.donarmstrong.com; 6 Sep 2008 20:11:10 +0000
Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24])
	by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m86KB7rT000333
	for <195@HIDDEN>; Sat, 6 Sep 2008 13:11:08 -0700
Received: by cyd.mit.edu (Postfix, from userid 1000)
	id 040A957E2BF; Sat,  6 Sep 2008 16:13:50 -0400 (EDT)
From: Chong Yidong <cyd@HIDDEN>
To: "Nathaniel Cunningham" <nathaniel.cunningham@HIDDEN>
Cc: 195 <at> debbugs.gnu.org
Subject: Re: menu bar misbehavior during (ispell-buffer)
Date: Sat, 06 Sep 2008 16:13:50 -0400
Message-ID: <87sksdqbgh.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii

> When (ispell-buffer) is underway in one frame, and the displayed
> buffer in another frame has different/additional menu bar items,
> selecting that second frame doesn't update the menu bar.  However,
> clicking on the menu bar *does* trigger a change to the menu bar
> categories, which means you may click on the wrong item!  (i.e. the
> menu bar item under the mouse pointer may not be the same with or
> without mouse-1)

I checked in code to cause ispell to quit if the user enters a
frame-switch event or clicks in another frame.

This fix isn't perfect: it doesn't kick in if the user clicks directly
on a GTK menu (though it does cause quit when the user later leaves the
menu).  However, this may be a limitation of our GTK support, and OTOH I
don't see how to make it work.




Acknowledgement sent to Chong Yidong <cyd@HIDDEN>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs@HIDDEN>. Full text available.
Information forwarded to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
bug#195; Package emacs. Full text available.

Message received at (unknown):


Received: (at unknown) by unknown; unknown
X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02
	(2007-08-08) on rzlab.ucr.edu
X-Spam-Level: ***
X-Spam-Status: No, score=3.2 required=4.0 tests=FOURLA,HTML_MESSAGE,
	NORMAL_HTTP_TO_IP autolearn=no version=3.2.3-bugs.debian.org_2005_01_02
Received: (at submit) by emacsbugs.donarmstrong.com; 7 May 2008 15:22:37 +0000
Received: from mercure.iro.umontreal.ca (mercure.iro.umontreal.ca [132.204.24.67])
	by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m47FMSv3029618
	for <submit@HIDDEN>; Wed, 7 May 2008 08:22:29 -0700
Received: by mercure.iro.umontreal.ca (Postfix, from userid 20848)
	id C2EB62CFD57; Wed,  7 May 2008 11:22:27 -0400 (EDT)
X-Original-To: monnier@HIDDEN
Received: from pinpin.iro.umontreal.ca (pinpin.iro.umontreal.ca [132.204.24.52])
	by mercure.iro.umontreal.ca (Postfix) with ESMTP id B99AE2CFD05
	for <monnier@HIDDEN>; Wed,  7 May 2008 11:22:27 -0400 (EDT)
Received: from lists.gnu.org (lists.gnu.org [199.232.76.165])
	by pinpin.iro.umontreal.ca (Postfix) with ESMTP id EA7613B8AA7
	for <monnier@HIDDEN>; Wed,  7 May 2008 11:22:18 -0400 (EDT)
Received: from localhost ([127.0.0.1]:37721 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1JtlTG-0005J8-MJ
	for monnier@HIDDEN; Wed, 07 May 2008 11:22:18 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1JtlPG-0002RB-8O
	for emacs-devel@HIDDEN; Wed, 07 May 2008 11:18:10 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1JtlPF-0002Qi-R5
	for emacs-devel@HIDDEN; Wed, 07 May 2008 11:18:09 -0400
Received: from [199.232.76.173] (port=49005 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1JtlPF-0002QV-2Z
	for emacs-devel@HIDDEN; Wed, 07 May 2008 11:18:09 -0400
Received: from fencepost.gnu.org ([140.186.70.10])
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <nathaniel.cunningham@HIDDEN>) id 1JtlPE-0005NR-Lu
	for emacs-devel@HIDDEN; Wed, 07 May 2008 11:18:08 -0400
Received: from mail.gnu.org ([199.232.76.166]:47156 helo=mx10.gnu.org)
	by fencepost.gnu.org with esmtp (Exim 4.67)
	(envelope-from <nathaniel.cunningham@HIDDEN>) id 1JtlOa-0004lo-Ff
	for emacs-pretest-bug@HIDDEN; Wed, 07 May 2008 11:17:28 -0400
Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim
	4.60) (envelope-from <nathaniel.cunningham@HIDDEN>)
	id 1JtlPA-0005Mm-WD
	for emacs-pretest-bug@HIDDEN; Wed, 07 May 2008 11:18:08 -0400
Received: from wf-out-1314.google.com ([209.85.200.168])
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <nathaniel.cunningham@HIDDEN>) id 1JtlPA-0005Jn-Gl
	for emacs-pretest-bug@HIDDEN; Wed, 07 May 2008 11:18:04 -0400
Received: by wf-out-1314.google.com with SMTP id 28so330083wfc.24
	for <emacs-pretest-bug@HIDDEN>; Wed, 07 May 2008 08:17:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type;
	bh=zX6Om4DU6qJnX0Yv1qjBX2AseO/V23D7b8vIuNuwtZg=;
	b=sx5X3g+uT+ZNL5/on8XDy+xiqkU8I6U8bHqR7WcY7e77t7djM+nUh+yvK78yhtqMwAkeFisswnN/RBdygWX4VDqrGxkNq8Fz8KVkDntMa2W8vyaY0feabxohNweN36dfA0TQb78YLvGPpcAZCBWQ1mStFoLDdt+TovmTcAJhSno=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=message-id:date:from:to:subject:mime-version:content-type;
	b=AFhPRqoqO6SRHmL32eCxjNXbmpUUQZ6lAW7tuq0rNO8WEznF+kcn910yn5rJRrXof01Zpq4GHST6Q/NSJOczgxmXeSzOp8iSIuXcxLxs8Le9Z2JQsEw0DdwR42OklRNPOt8OrFMC0xxBCBiYz2Uyyl1C4U2SoQBNg2wEaT0v/N4=
Received: by 10.142.79.15 with SMTP id c15mr925277wfb.105.1210173466197;
	Wed, 07 May 2008 08:17:46 -0700 (PDT)
Received: by 10.143.123.3 with HTTP; Wed, 7 May 2008 08:17:46 -0700 (PDT)
Message-ID: <20ecf6c70805070817l48d51df8s21bc0e4ef611269f@HIDDEN>
Date: Wed, 7 May 2008 10:17:46 -0500
From: "Nathaniel Cunningham" <nathaniel.cunningham@HIDDEN>
To: emacs-pretest-bug@HIDDEN
MIME-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_30696_8813306.1210173466212"
X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2)
X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4)
X-Mailman-Approved-At: Wed, 07 May 2008 11:22:01 -0400
Cc: 
Subject: menu bar misbehavior during (ispell-buffer)
X-BeenThere: emacs-devel@HIDDEN
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "Emacs development discussions." <emacs-devel.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/emacs-devel>,
	<mailto:emacs-devel-request@HIDDEN?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/emacs-devel>
List-Post: <mailto:emacs-devel@HIDDEN>
List-Help: <mailto:emacs-devel-request@HIDDEN?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/emacs-devel>,
	<mailto:emacs-devel-request@HIDDEN?subject=subscribe>
Sender: emacs-devel-bounces+monnier=iro.umontreal.ca@HIDDEN
Errors-To: emacs-devel-bounces+monnier=iro.umontreal.ca@HIDDEN
X-DIRO-MailScanner-Information: Please contact the ISP for more information
X-DIRO-MailScanner: Found to be clean
X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel,
	SpamAssassin (score=0.455, requis 5, BAYES_00 -2.60, HTML_20_30 0.23,
	HTML_MESSAGE 0.88, NORMAL_HTTP_TO_IP 1.22, RCVD_BY_IP 0.07,
	RECEIVED_FROM_NOUNK 0.66, SPF_HELO_PASS -0.00)
X-DIRO-MailScanner-From: emacs-devel-bounces+monnier=iro.umontreal.ca@HIDDEN


------=_Part_30696_8813306.1210173466212
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

When (ispell-buffer) is underway in one frame, and the displayed buffer in
another frame has different/additional menu bar items, selecting that second
frame doesn't update the menu bar.  However, clicking on the menu bar *does*
trigger a change to the menu bar categories, which means you may click on
the wrong item!  (i.e. the menu bar item under the mouse pointer may not be
the same with or without mouse-1)


In GNU Emacs 22.2.50.2 (i386-apple-darwin9.2.2, Carbon Version 1.6.0)
 of 2008-05-05 on plume.sr.unh.edu
Windowing system distributor `Apple Inc.', version 10.4.11
configured using `configure  '--without-x' '--prefix=/usr/local''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  locale-coding-system: iso-8859-1
  default-enable-multibyte-characters: t

Major mode: Emacs-Lisp

Minor modes in effect:
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t

Recent input:
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
C-x C-f D e s k <tab> i s p e <tab> <return> C-x 5
2 <switch-frame> <help-echo> <help-echo> C-_ C-_ C-x
C-f ~ / D o c u <tab> [ r <backspace> <backspace> p
r o g r a m <tab> a s p e <tab> t e s t <tab> t e s
t <tab> <return> <switch-frame> <help-echo> <switch-frame>
<help-echo> <menu-bar> <tools> <spell> <ispell-buffer>
<switch-frame> <help-echo> <help-echo> <help-echo>
<switch-frame> <menu-bar> <help-menu> <send-emacs-bug-report>
q <help-echo> <help-echo> <menu-bar> <help-menu> <
send-emacs-bug-report>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Undo!
undo-more: No further undo information
testspell.txt has auto save data; consider M-x recover-this-file
Loading ispell...done
Loading regexp-opt...done
Starting new Ispell process [default] ...
Spell checking testspell.txt using aspell with default dictionary...
Ispell process killed
Loading emacsbug...done

------=_Part_30696_8813306.1210173466212
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

When (ispell-buffer) is underway in one frame, and the displayed buffer in another frame has different/additional menu bar items, selecting that second frame doesn&#39;t update the menu bar.&nbsp; However, clicking on the menu bar *does* trigger a change to the menu bar categories, which means you may click on the wrong item!&nbsp; (i.e. the menu bar item under the mouse pointer may not be the same with or without mouse-1)<br>
<br><br>In GNU Emacs <a href="http://22.2.50.2"><font color="red"><b>MailScanner warning: numerical links are often malicious:</b></font> 22.2.50.2</a> (i386-apple-darwin9.2.2, Carbon Version 1.6.0)<br>&nbsp;of 2008-05-05 on <a href="http://plume.sr.unh.edu">plume.sr.unh.edu</a><br>Windowing system distributor `Apple Inc.&#39;, version 10.4.11<br>
configured using `configure&nbsp; &#39;--without-x&#39; &#39;--prefix=/usr/local&#39;&#39;<br><br>Important settings:<br>&nbsp; value of $LC_ALL: nil<br>&nbsp; value of $LC_COLLATE: nil<br>&nbsp; value of $LC_CTYPE: nil<br>&nbsp; value of $LC_MESSAGES: nil<br>
&nbsp; value of $LC_MONETARY: nil<br>&nbsp; value of $LC_NUMERIC: nil<br>&nbsp; value of $LC_TIME: nil<br>&nbsp; value of $LANG: nil<br>&nbsp; locale-coding-system: iso-8859-1<br>&nbsp; default-enable-multibyte-characters: t<br><br>Major mode: Emacs-Lisp<br>
<br>Minor modes in effect:<br>&nbsp; tooltip-mode: t<br>&nbsp; tool-bar-mode: t<br>&nbsp; mouse-wheel-mode: t<br>&nbsp; menu-bar-mode: t<br>&nbsp; file-name-shadow-mode: t<br>&nbsp; global-font-lock-mode: t<br>&nbsp; font-lock-mode: t<br>&nbsp; blink-cursor-mode: t<br>
&nbsp; unify-8859-on-encoding-mode: t<br>&nbsp; utf-translate-cjk-mode: t<br>&nbsp; auto-compression-mode: t<br>&nbsp; line-number-mode: t<br><br>Recent input:<br>&lt;help-echo&gt; &lt;help-echo&gt; &lt;help-echo&gt; &lt;help-echo&gt; &lt;help-echo&gt; <br>
C-x C-f D e s k &lt;tab&gt; i s p e &lt;tab&gt; &lt;return&gt; C-x 5 <br>2 &lt;switch-frame&gt; &lt;help-echo&gt; &lt;help-echo&gt; C-_ C-_ C-x <br>C-f ~ / D o c u &lt;tab&gt; [ r &lt;backspace&gt; &lt;backspace&gt; p <br>
r o g r a m &lt;tab&gt; a s p e &lt;tab&gt; t e s t &lt;tab&gt; t e s <br>t &lt;tab&gt; &lt;return&gt; &lt;switch-frame&gt; &lt;help-echo&gt; &lt;switch-frame&gt; <br>&lt;help-echo&gt; &lt;menu-bar&gt; &lt;tools&gt; &lt;spell&gt; &lt;ispell-buffer&gt; <br>
&lt;switch-frame&gt; &lt;help-echo&gt; &lt;help-echo&gt; &lt;help-echo&gt; <br>&lt;switch-frame&gt; &lt;menu-bar&gt; &lt;help-menu&gt; &lt;send-emacs-bug-report&gt; <br>q &lt;help-echo&gt; &lt;help-echo&gt; &lt;menu-bar&gt; &lt;help-menu&gt; &lt;<br>
send-emacs-bug-report&gt;<br><br>Recent messages:<br>For information about GNU Emacs and the GNU system, type C-h C-a.<br>Undo!<br>undo-more: No further undo information<br>testspell.txt has auto save data; consider M-x recover-this-file<br>
Loading ispell...done<br>Loading regexp-opt...done<br>Starting new Ispell process [default] ...<br>Spell checking testspell.txt using aspell with default dictionary...<br>Ispell process killed<br>Loading emacsbug...done<br>

------=_Part_30696_8813306.1210173466212--






Acknowledgement sent to "Nathaniel Cunningham" <nathaniel.cunningham@HIDDEN>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs@HIDDEN>. Full text available.
Report forwarded to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
bug#195; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.