GNU bug report logs - #7902
Buffer->Frames->xxx don't work when "msb-mode" is enabled, also menu does not include all frames

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: minor; Reported by: Anders Lindgren <andlind@HIDDEN>; dated Mon, 24 Jan 2011 06:23:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 7902 <at> debbugs.gnu.org:


Received: (at 7902) by debbugs.gnu.org; 27 Jan 2011 08:36:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 27 03:36:37 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1PiNLJ-0006dy-Ji
	for submit <at> debbugs.gnu.org; Thu, 27 Jan 2011 03:36:37 -0500
Received: from fencepost.gnu.org ([140.186.70.10])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <rgm@HIDDEN>) id 1PiNLI-0006dl-7D
	for 7902 <at> debbugs.gnu.org; Thu, 27 Jan 2011 03:36:36 -0500
Received: from localhost ([127.0.0.1]:56066)
	by fencepost.gnu.org with esmtp (Exim 4.69)
	(envelope-from <rgm@HIDDEN>)
	id 1PiNT6-00062E-Om; Thu, 27 Jan 2011 03:44:41 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <19777.12407.808917.866443@HIDDEN>
Date: Thu, 27 Jan 2011 03:44:39 -0500
From: Glenn Morris <rgm@HIDDEN>
To: Anders Lindgren <andlind@HIDDEN>
Subject: Re: bug#7902: Buffer->Frames->xxx don't work when "msb-mode" is
	enabled, also menu does not include all frames
In-Reply-To: <AANLkTikx6qseYq-0iEPu=v3f26R9_rCN8760UfCT04=u@HIDDEN>
References: <AANLkTikc0ztjLqU9uXxQzUqFwM0Nqab2mbWCnSe91B2f@HIDDEN>
	<kmxmm3hh9.fsf@HIDDEN>
	<AANLkTikx6qseYq-0iEPu=v3f26R9_rCN8760UfCT04=u@HIDDEN>
X-Spam-Score: -6.3 (------)
X-Debbugs-Envelope-To: 7902
Cc: 7902 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -6.3 (------)


Please include 7902 @ debbugs in all replies.

Anders Lindgren wrote (on Thu, 27 Jan 2011 at 09:33 +0100):

> Thanks for looking into this!
> 
> The "one item" problem could either be related to Emacs 24 (did you
> check it?), or related to NS. If you can't repeat it in your
> environment, I suggest that you pass it along to the NS team (if there
> is such a thing).

Yes, I checked the trunk.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:
bug#7902; Package emacs. Full text available.

Message received at 7902 <at> debbugs.gnu.org:


Received: (at 7902) by debbugs.gnu.org; 27 Jan 2011 07:50:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 27 02:50:59 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1PiMd9-0005fh-51
	for submit <at> debbugs.gnu.org; Thu, 27 Jan 2011 02:50:59 -0500
Received: from fencepost.gnu.org ([140.186.70.10])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <rgm@HIDDEN>) id 1PiMd7-0005fW-HL
	for 7902 <at> debbugs.gnu.org; Thu, 27 Jan 2011 02:50:57 -0500
Received: from localhost ([127.0.0.1]:52474)
	by fencepost.gnu.org with esmtp (Exim 4.69)
	(envelope-from <rgm@HIDDEN>)
	id 1PiMkt-00043k-8O; Thu, 27 Jan 2011 02:58:59 -0500
To: Anders Lindgren <andlind@HIDDEN>
Subject: Re: bug#7902: Buffer->Frames->xxx don't work when "msb-mode" is
	enabled, also menu does not include all frames
References: <AANLkTikc0ztjLqU9uXxQzUqFwM0Nqab2mbWCnSe91B2f@HIDDEN>
From: Glenn Morris <rgm@HIDDEN>
X-Spook: Mantis bullion War on Terrorism Ft. Meade Commecen
X-Ran: ~A8dh$J~A</dS==DR]t-<@Id6(:?I||#':$YX&9kkrasmp3;U5|vhVgQ7ZW$?2hk"uoTk\
X-Hue: black
X-Debbugs-No-Ack: yes
X-Attribution: GM
Date: Thu, 27 Jan 2011 02:58:58 -0500
In-Reply-To: <AANLkTikc0ztjLqU9uXxQzUqFwM0Nqab2mbWCnSe91B2f@HIDDEN>
	(Anders Lindgren's message of "Mon\,
	24 Jan 2011 07\:30\:55 +0100")
Message-ID: <kmxmm3hh9.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: -6.3 (------)
X-Debbugs-Envelope-To: 7902
Cc: 7902 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -6.3 (------)

Anders Lindgren wrote:

>     Wrong type argument: commandp, menu-bar-select-frame

Fixed in emacs-23 branch.

> In addition, if the same buffer is the selected window in two frames,
> only one of them is included in the menu.

I don't see it. With your example:

> Emacs -Q
> C-x 5 2
> M-x msb-mode RET
> Select Buffers->Frames->*scratch*

my Buffers menu, even in an unfixed Emacs, contains:

Frames (2) -> *scratch*
              *scratch*

> In GNU Emacs 24.0.50.20 (x86_64-apple-darwin10.5.0, NS apple-appkit-1038.35)
>  of 2011-01-23 on macpro.local

(But I am not using the NS build.)




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:
bug#7902; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 24 Jan 2011 06:23:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 24 01:23:00 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1PhFpM-0005Ua-FD
	for submit <at> debbugs.gnu.org; Mon, 24 Jan 2011 01:23:00 -0500
Received: from eggs.gnu.org ([140.186.70.92])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <andlind@HIDDEN>) id 1PhFpK-0005UO-Kj
	for submit <at> debbugs.gnu.org; Mon, 24 Jan 2011 01:22:59 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <andlind@HIDDEN>) id 1PhFx4-0006ep-Sf
	for submit <at> debbugs.gnu.org; Mon, 24 Jan 2011 01:30:59 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_DNSWL_LOW,T_DKIM_INVALID,
	T_TO_NO_BRKTS_FREEMAIL autolearn=no version=3.3.1
Received: from lists.gnu.org ([199.232.76.165]:44413)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <andlind@HIDDEN>) id 1PhFx4-0006ek-Q2
	for submit <at> debbugs.gnu.org; Mon, 24 Jan 2011 01:30:58 -0500
Received: from [140.186.70.92] (port=33914 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1PhFx3-0003rk-FT
	for bug-gnu-emacs@HIDDEN; Mon, 24 Jan 2011 01:30:58 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <andlind@HIDDEN>) id 1PhFx2-0006eL-8m
	for bug-gnu-emacs@HIDDEN; Mon, 24 Jan 2011 01:30:57 -0500
Received: from mail-gx0-f169.google.com ([209.85.161.169]:41696)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <andlind@HIDDEN>) id 1PhFx2-0006eG-61
	for bug-gnu-emacs@HIDDEN; Mon, 24 Jan 2011 01:30:56 -0500
Received: by gxk5 with SMTP id 5so1358526gxk.0
	for <bug-gnu-emacs@HIDDEN>; Sun, 23 Jan 2011 22:30:55 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:mime-version:date:message-id:subject:from:to
	:content-type; bh=Iw9WRpyHWgOTJwwkAER3GR19wELiODKupZ9NSXHxQu0=;
	b=F0ZrU+OBUE7bPzPuy5cj4iPsGgNAoow5MX3ZAsyeQTX/0cKevhzJxLWHAwFIT84qEr
	sYwcQ06+Ek083XEUan+m7tj3dIjNQz9iPy4zfddwV/a+ypyJQ+4ooJM/jYJKRjOu+iUK
	oXq+U0tlTTkyuGgAURZiXtaKAq4qmuta1klwg=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:date:message-id:subject:from:to:content-type;
	b=sZ/RlWvwj1oXB5mdJ6lxEJ468Bhgpy0snMuH5+fYCw2Cy4Q6L5N/cl9dhYybpLevsr
	Re443pFL3NUWKJEH/COMwDtmHpCQzYiYt86FQv1jgISNHgjv4iYggIutVKB3dFtwRQs7
	zq6+Q32I1YQpqqRU9zBmcBdCxqIICmtkc65vs=
MIME-Version: 1.0
Received: by 10.150.215.1 with SMTP id n1mr3747027ybg.90.1295850655071; Sun,
	23 Jan 2011 22:30:55 -0800 (PST)
Received: by 10.151.108.17 with HTTP; Sun, 23 Jan 2011 22:30:55 -0800 (PST)
Date: Mon, 24 Jan 2011 07:30:55 +0100
Message-ID: <AANLkTikc0ztjLqU9uXxQzUqFwM0Nqab2mbWCnSe91B2f@HIDDEN>
Subject: Buffer->Frames->xxx don't work when "msb-mode" is enabled, also menu
	does not include all frames
From: Anders Lindgren <andlind@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Content-Type: text/plain; charset=ISO-8859-1
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -4.0 (----)

Hi!

When using "msb-mode", the Buffers->Frames->xxx menu item does not
work. Emacs simply responds:

    Wrong type argument: commandp, menu-bar-select-frame

In addition, if the same buffer is the selected window in two frames,
only one of them is included in the menu.

Steps to repeat:

Emacs -Q
C-x 5 2
M-x msb-mode RET
Select Buffers->Frames->*scratch*

The above demonstrates both problems.

    -- Anders Lindgren

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
/Users/anders/build/emacs/trunk/nextstep/Emacs.app/Contents/Resources/etc/DEBUG.


In GNU Emacs 24.0.50.20 (x86_64-apple-darwin10.5.0, NS apple-appkit-1038.35)
 of 2011-01-23 on macpro.local
Windowing system distributor `Apple', version 10.3.1038
configured using `configure  '--with-ns''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: UTF-8
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  msb-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
C-x 5 2 <menu-bar> <buffer> <frames> C-@ <menu-bar>
<buffer> <frames> C-a <escape> x m s b - m o <tab>
<return> <menu-bar> <buffer> <frame> "*scratch*" C-x
5 2 C-x b * s <tab> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
M e s s <tab> <return> <wheel-up> <menu-bar> <buffer>
<frame> "*scratch*" <menu-bar> <buffer> <frame> "*Messages*"
<menu-bar> <help-menu> <send-emacs-bug-report>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Msb mode enabled
Wrong type argument: commandp, menu-bar-select-frame
byte-code: Beginning of buffer
Wrong type argument: commandp, menu-bar-select-frame
Wrong type argument: commandp, menu-bar-select-frame

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr message rfc822 mml easymenu mml-sec
mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader
emacsbug cus-start cus-load msb tooltip ediff-hook vc-hooks
lisp-float-type mwheel ns-win tool-bar dnd fontset image fringe
lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
loaddefs button minibuffer faces cus-face files text-properties overlay
md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process ns multi-tty
emacs)




Acknowledgement sent to Anders Lindgren <andlind@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:
bug#7902; 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.