bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#44167: 28.0.50; Menu Misbehavior


From: Lars Ingebrigtsen
Subject: bug#44167: 28.0.50; Menu Misbehavior
Date: Fri, 23 Oct 2020 13:46:41 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Rustom Mody <rustompmody@gmail.com> writes:

> I followed the recipe in this doc:
> https://www.gnu.org/software/emacs/manual/html_node/elisp/Menu-Bar.html#Menu-Bar
>
> ie
> Put that code consisting of 3 define-keys in a file and loaded it
> Emacs started as "-Q"
>
> The menu does not work
> (Actually the first couple of clicks show no response; then only the
> darker background of menu WITHOUT TEXT)
> See attached screenshot

I put the following in a file, "emacs -Q /tmp/file.el", `M-x
eval-buffer'.

(define-key global-map [menu-bar words]
  (cons "Words" (make-sparse-keymap "Words")))
(define-key global-map
  [menu-bar words forward]
  '("Forward word" . forward-word))
(define-key global-map
  [menu-bar words backward]
  '("Backward word" . backward-word))

And the menu works fine for me.  This is with:

In GNU Emacs 28.0.50 (build 124, x86_64-pc-linux-gnu, GTK+ Version 3.24.23, 
cairo version 1.16.0)
 of 2020-10-22 built on xo
Repository revision: 954a4decfcc8e41084789516773b22d0adc11d91
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12008000
System Description: Debian GNU/Linux bullseye/sid

So I'm unable to reproduce this bug.

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]