unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#7902: Buffer->Frames->xxx don't work when "msb-mode" is enabled, also menu does not include all frames
@ 2011-01-24  6:30 Anders Lindgren
  2011-01-27  7:58 ` Glenn Morris
  2021-07-18  0:34 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 4+ messages in thread
From: Anders Lindgren @ 2011-01-24  6:30 UTC (permalink / raw)
  To: 7902

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)





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#7902: Buffer->Frames->xxx don't work when "msb-mode" is enabled, also menu does not include all frames
  2011-01-24  6:30 bug#7902: Buffer->Frames->xxx don't work when "msb-mode" is enabled, also menu does not include all frames Anders Lindgren
@ 2011-01-27  7:58 ` Glenn Morris
       [not found]   ` <AANLkTikx6qseYq-0iEPu=v3f26R9_rCN8760UfCT04=u@mail.gmail.com>
  2021-07-18  0:34 ` Lars Ingebrigtsen
  1 sibling, 1 reply; 4+ messages in thread
From: Glenn Morris @ 2011-01-27  7:58 UTC (permalink / raw)
  To: Anders Lindgren; +Cc: 7902

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.)





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#7902: Buffer->Frames->xxx don't work when "msb-mode" is enabled, also menu does not include all frames
       [not found]   ` <AANLkTikx6qseYq-0iEPu=v3f26R9_rCN8760UfCT04=u@mail.gmail.com>
@ 2011-01-27  8:44     ` Glenn Morris
  0 siblings, 0 replies; 4+ messages in thread
From: Glenn Morris @ 2011-01-27  8:44 UTC (permalink / raw)
  To: Anders Lindgren; +Cc: 7902


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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#7902: Buffer->Frames->xxx don't work when "msb-mode" is enabled, also menu does not include all frames
  2011-01-24  6:30 bug#7902: Buffer->Frames->xxx don't work when "msb-mode" is enabled, also menu does not include all frames Anders Lindgren
  2011-01-27  7:58 ` Glenn Morris
@ 2021-07-18  0:34 ` Lars Ingebrigtsen
  1 sibling, 0 replies; 4+ messages in thread
From: Lars Ingebrigtsen @ 2021-07-18  0:34 UTC (permalink / raw)
  To: Anders Lindgren; +Cc: 7902

Anders Lindgren <andlind@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





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-07-18  0:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-24  6:30 bug#7902: Buffer->Frames->xxx don't work when "msb-mode" is enabled, also menu does not include all frames Anders Lindgren
2011-01-27  7:58 ` Glenn Morris
     [not found]   ` <AANLkTikx6qseYq-0iEPu=v3f26R9_rCN8760UfCT04=u@mail.gmail.com>
2011-01-27  8:44     ` Glenn Morris
2021-07-18  0:34 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).