all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* menu entries missing display of equivalent keyboard sequence
@ 2002-12-20 15:42 Andrew Maguire
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Maguire @ 2002-12-20 15:42 UTC (permalink / raw)


This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.2.1 (sparc-sun-solaris2.6, X toolkit)
 of 2002-07-11 on albany
configured using `configure  --libexecdir=/usr/local/lib'
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: en_GB.ISO8859-15
  value of $LC_CTYPE: en_GB.ISO8859-15
  value of $LC_MESSAGES: C
  value of $LC_MONETARY: en_GB.ISO8859-15
  value of $LC_NUMERIC: en_GB.ISO8859-15
  value of $LC_TIME: en_GB.ISO8859-15
  value of $LANG: en_GB.ISO8859-15
  locale-coding-system: iso-latin-9
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

The code I have defines various global keys, creates a couple of
menu-bar general entries and some major mode specific ones
but the menu entries do not show their equivalent keyboard shortcuts.
(Apart from one that is defined on f1.) I am just using the simple
method for defining menu entries i.e. I am not using (menu-item ...).

The problem alsoo occurs on the Windows build 21.2.1 on buffy.
The menu entries for the standard menus is there, Fil, Edit, Help etc.
It just seems that the is something up with the mechanism that
calculates the shortcut keys and the caching in the keymap definition.

My code is fine on Emacs 20.7.

Can I force a recalculation of the caching of keysequences?

Thanks in advance,

Andrew Maguire

Recent input:
<down> <return> <help-echo> <down-mouse-2> <help-echo> 
<mouse-2> <down-mouse-1> <mouse-1> <next> <next> <next> 
<prior> <prior> <C-home> <next> <next> <next> <next> 
<next> <next> <next> C-s c o n s C-s C-s C-s C-s C-s 
C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s <down> 
<next> C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s 
C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <help-echo> <down-mouse-1> <mouse-1> C-h C-g 
C-x b * i n <tab> <return> <prior> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <menu-bar> <help-menu> <report-emacs-b
ug>

Recent messages:
setq: Quit [2 times]
Starting gis version selection...

Type C-x 1 to remove help window.  C-M-v to scroll the help.
call-interactively: Quit
list: Quit
sw-half-scroll-down: Beginning of buffer
Mark set
Mark saved where search started [2 times]
Loading emacsbug...done

^ permalink raw reply	[flat|nested] 2+ messages in thread
* RE: menu entries missing display of equivalent keyboard sequence
@ 2002-12-20 17:29 andrew.maguire
  0 siblings, 0 replies; 2+ messages in thread
From: andrew.maguire @ 2002-12-20 17:29 UTC (permalink / raw)
  Cc: andrew.maguire

Here is some example lisp that works in 20.7 but not in 21.2

(defun andrew-fn ()
"Test"
(interactive)
(message "Hello"))


(progn
  (setq andrew-map (make-sparse-keymap "Andrew"))
  (put 'andrew-fn 'menu-enable t)
  ;(define-key andrew-map "F" nil)
  (define-key andrew-map [andrew-function] '("My function" . andrew-fn))
  (define-key global-map [menu-bar andrew] andrew-map)
  (define-key-after (lookup-key global-map [menu-bar]) [andrew]
    (cons "Andrew" andrew-map) 'dev)
  (setq f8-map (make-sparse-keymap))
  (fset 'f8-map f8-map)
  (define-key f8-map "d" 'andrew-fn)
  (define-key global-map [f8] 'f8-map)
)

> -----Original Message-----
> From: Andrew Maguire [mailto:Andrew.Maguire@Smallworld.co.uk]
> Sent: 20 December 2002 15:42
> To: bug-gnu-emacs@gnu.org; Maguire, Andrew (PS, GENS)
> Subject: menu entries missing display of equivalent keyboard sequence 
> 
> 
> This bug report will be sent to the Free Software Foundation,
> not to your local site managers!
> Please write in English, because the Emacs maintainers do not have
> translators to read other languages for them.
> 
> Your bug report will be posted to the bug-gnu-emacs@gnu.org 
> mailing list,
> and to the gnu.emacs.bug news group.
> 
> In GNU Emacs 21.2.1 (sparc-sun-solaris2.6, X toolkit)
>  of 2002-07-11 on albany
> configured using `configure  --libexecdir=/usr/local/lib'
> Important settings:
>   value of $LC_ALL: nil
>   value of $LC_COLLATE: en_GB.ISO8859-15
>   value of $LC_CTYPE: en_GB.ISO8859-15
>   value of $LC_MESSAGES: C
>   value of $LC_MONETARY: en_GB.ISO8859-15
>   value of $LC_NUMERIC: en_GB.ISO8859-15
>   value of $LC_TIME: en_GB.ISO8859-15
>   value of $LANG: en_GB.ISO8859-15
>   locale-coding-system: iso-latin-9
>   default-enable-multibyte-characters: t
> 
> Please describe exactly what actions triggered the bug
> and the precise symptoms of the bug:
> 
> The code I have defines various global keys, creates a couple of
> menu-bar general entries and some major mode specific ones
> but the menu entries do not show their equivalent keyboard shortcuts.
> (Apart from one that is defined on f1.) I am just using the simple
> method for defining menu entries i.e. I am not using (menu-item ...).
> 
> The problem alsoo occurs on the Windows build 21.2.1 on buffy.
> The menu entries for the standard menus is there, Fil, Edit, Help etc.
> It just seems that the is something up with the mechanism that
> calculates the shortcut keys and the caching in the keymap definition.
> 
> My code is fine on Emacs 20.7.
> 
> Can I force a recalculation of the caching of keysequences?
> 
> Thanks in advance,
> 
> Andrew Maguire
> 
> Recent input:
> <down> <return> <help-echo> <down-mouse-2> <help-echo> 
> <mouse-2> <down-mouse-1> <mouse-1> <next> <next> <next> 
> <prior> <prior> <C-home> <next> <next> <next> <next> 
> <next> <next> <next> C-s c o n s C-s C-s C-s C-s C-s 
> C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s <down> 
> <next> C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s 
> C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s <down> 
> <down> <down> <down> <down> <down> <down> <down> <down> 
> <down> <help-echo> <down-mouse-1> <mouse-1> C-h C-g 
> C-x b * i n <tab> <return> <prior> <help-echo> <help-echo> 
> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
> <help-echo> <menu-bar> <help-menu> <report-emacs-b
> ug>
> 
> Recent messages:
> setq: Quit [2 times]
> Starting gis version selection...
> 
> Type C-x 1 to remove help window.  C-M-v to scroll the help.
> call-interactively: Quit
> list: Quit
> sw-half-scroll-down: Beginning of buffer
> Mark set
> Mark saved where search started [2 times]
> Loading emacsbug...done
> 

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

end of thread, other threads:[~2002-12-20 17:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-20 15:42 menu entries missing display of equivalent keyboard sequence Andrew Maguire
  -- strict thread matches above, loose matches on Subject: below --
2002-12-20 17:29 andrew.maguire

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.