Hi folks,
I don't use that functionality very often, just happened to stumble
across a possible bug the other day.
Trying to switch to a buffer using the menu accelerator/shortcut key for
the corresponding line in the menubar's "Buffers" menu does not work.
Obviously that's because there's an additional blank character right in
front of the accelerator key (1, 2 .. 0, 9, a, b, etc.) making the
latter have no effect. The echo area shows a "1 not defined." (or
whatever accelerator key I try to use).
It happens only when complex-buffers-menu-p is nil. After enabling
"Multi-Operation Buffers Sub-Menus" in "Options" ->
"Menubars", the
accelerator keys in the "Buffers" menu are ok.
This is with 21.4.21 on Linux x86_64, but the behavior is the same with
21.5.28 and also with both versions on AIX.
I searched for the function that creates these menu entries and found in
menubar-items.el in lines 1944 ff.
(vector ""
(list buffers-menu-switch-to-buffer-function
(buffer-name buffer))
t line))))
As I suspected that the empty string here could be the culprit, I
swapped that one with "line", i.e.
(vector line
(list buffers-menu-switch-to-buffer-function
(buffer-name buffer))
t ""))))
and it in fact makes a difference. However, I don't know if this would
be the correct way of fixing it. Someone with more insight can surely tell.
Regards,
Markus
--
Markus Alt
IBM Lab Boeblingen, Germany
altmark(a)de.ibm.com
--------------------------------------------------
IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Erich Baier
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294
--------------------------------------------------
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta