unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David PONCE <david.ponce@wanadoo.fr>
Subject: read-key-sequence bug?
Date: Thu,  1 Dec 2005 14:58:04 +0100 (CET)	[thread overview]
Message-ID: <12264761.1133445484471.JavaMail.www@wwinf1525> (raw)

Hi,

In GNU Emacs 22.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.6.10)
 of 2005-12-01 on localhost
X server distributor `The X.Org Foundation', version 11.0.60802000
configured using
`configure '--with-gtk' 'CFLAGS=-g -O2 -Wno-pointer-sign''

I noticed this with radio button menu items, which I don't think it's a normal
behavior.  Here is a scenario:

emacs -Q (the scroll-bar is on the left by default)
C-h k
Select menu "Options", "Show/hide", "Scroll-bar", "On the Right"
The scroll bar is actually moved on the right!
And the help buffer displays:

----- <menu-bar> <options> <showhide> <showhide-scroll-bar> <left>
runs the command menu-bar-left-scroll-bar
   which is an interactive compiled Lisp function in `menu-bar.el'.
It is bound to <menu-bar> <options> <showhide> <showhide-scroll-bar>
<left>.
(menu-bar-left-scroll-bar)

Display scroll bars on the left of each window.
-----

I tried the same scenario with `read-key-sequence'.  It runs the
radio-button menu item command too, and returns the currently selected
radio-button item instead of the one selected on the menu, that is
 [(menu-bar) options showhide showhide-scroll-bar left]
instead of
 [(menu-bar) options showhide showhide-scroll-bar right]

When selecting a menu item which is not a radio-button, describe-key
and read-key-sequence seem to work as expected.

Do others observe that? 

Sincerely,
David

             reply	other threads:[~2005-12-01 13:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-01 13:58 David PONCE [this message]
2005-12-01 15:49 ` read-key-sequence bug? Jason Rumney
2005-12-01 19:38   ` David Ponce
  -- strict thread matches above, loose matches on Subject: below --
2005-12-12 10:20 David PONCE

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=12264761.1133445484471.JavaMail.www@wwinf1525 \
    --to=david.ponce@wanadoo.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).