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

Previous Next

Package: emacs;

Reported by: Anders Lindgren <andlind <at> gmail.com>

Date: Mon, 24 Jan 2011 06:23:02 UTC

Severity: minor

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 7902 in the body.
You can then email your comments to 7902 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7902; Package emacs. (Mon, 24 Jan 2011 06:23:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Anders Lindgren <andlind <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 24 Jan 2011 06:23:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Anders Lindgren <andlind <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Buffer->Frames->xxx don't work when "msb-mode" is enabled, also menu
	does not include all frames
Date: Mon, 24 Jan 2011 07:30:55 +0100
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)




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7902; Package emacs. (Thu, 27 Jan 2011 07:51:02 GMT) Full text and rfc822 format available.

Message #8 received at 7902 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Anders Lindgren <andlind <at> gmail.com>
Cc: 7902 <at> debbugs.gnu.org
Subject: Re: bug#7902: Buffer->Frames->xxx don't work when "msb-mode" is
	enabled, also menu does not include all frames
Date: Thu, 27 Jan 2011 02:58:58 -0500
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 <at> gnu.org:
bug#7902; Package emacs. (Thu, 27 Jan 2011 08:37:02 GMT) Full text and rfc822 format available.

Message #11 received at 7902 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Anders Lindgren <andlind <at> gmail.com>
Cc: 7902 <at> debbugs.gnu.org
Subject: Re: bug#7902: Buffer->Frames->xxx don't work when "msb-mode" is
	enabled, also menu does not include all frames
Date: Thu, 27 Jan 2011 03:44:39 -0500
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 bug-gnu-emacs <at> gnu.org:
bug#7902; Package emacs. (Sun, 18 Jul 2021 00:35:02 GMT) Full text and rfc822 format available.

Message #14 received at 7902 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Anders Lindgren <andlind <at> gmail.com>
Cc: 7902 <at> debbugs.gnu.org
Subject: Re: bug#7902: Buffer->Frames->xxx don't work when "msb-mode" is
 enabled, also menu does not include all frames
Date: Sun, 18 Jul 2021 02:34:39 +0200
Anders Lindgren <andlind <at> gmail.com> writes:

> 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*

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

I tried reproducing this with Emacs 28 on Macos, but everything seems to
work fine for me, so I'm closing this bug report.  If you're still
seeing this in recent Emacs versions, please respond to the debbugs
address and we'll reopen.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug closed, send any further explanations to 7902 <at> debbugs.gnu.org and Anders Lindgren <andlind <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 18 Jul 2021 00:35:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 15 Aug 2021 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 248 days ago.

Previous Next


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