Thanks, Rich. You are right. I changed the bookmark hotkeys, and the disabled 
message doesn't appeare any more.

By the way, I have another problem around hotkeys. I've created the \bind "M-8" 
"math-delim ( )" hotkey. I realized that after each starting of LyX it doesn't 
consider the first usage of Alt+8, it does only the further ones. It has been 
annoying me for a long time. But now I tried to set up this hotkey using the 
Shortcut Configuration dialog. It made visible the difference between the first 
and the rest presses of Alt+8.

To see it, go to modify the shortcut of some function just after starting LyX. 
When the Shortcut field is active press Alt+8 several times. First "Alt+?" 
appears but after it always "Alt+8" comes. I tried this on several computers 
with WinXP. All have the same problem.

Máté
  ----- Original Message ----- 
  From: rgheck 
  To: Máté Salát 
  Cc: Rich Shepard ; lyx-users@lists.lyx.org 
  Sent: Friday, August 01, 2008 6:52 PM
  Subject: Re: Command disabled


  Máté Salát wrote:
  > Rich,
  >
  > Actually I've specified the hotkey Ctrl+8 but I haven't specified the 
others like Ctrl+1, Crtl+2, ...
  > But as I said the reaction of LyX even for Ctrl+1 and Ctrl+8 is the same 
"Command disabled" text.
  >
  > Anyway, I use WinXP and LyX 1.6.0beta4 (Fri, Jul 11, 2008). If I want to 
specify a new hotkey I use the Shortcut Configuration dialog 
(http://wiki.lyx.org/LyX/NewInLyX16#toc20). The hotkeys made here by the user 
are stored in "C:\Documents and Settings\username\Application 
Data\lyx16\bind\user.bind". For example one line in it is: \bind "C-8" 
"math-delim ( )"
  >
  >   
  The issue may be that these are already declared, here:

  #
  # bookmarks
  #

  \bind "C-~S-1"            "bookmark-goto 1"
  \bind "C-~S-2"            "bookmark-goto 2"
  \bind "C-~S-3"            "bookmark-goto 3"
  \bind "C-~S-4"            "bookmark-goto 4"
  \bind "C-~S-5"            "bookmark-goto 5"
  \bind "C-~S-6"            "bookmark-goto 6"
  \bind "C-~S-7"            "bookmark-goto 7"
  \bind "C-~S-8"            "bookmark-goto 8"
  \bind "C-~S-9"            "bookmark-goto 9"
  \bind "C-M-~S-1"        "bookmark-save 1"
  \bind "C-M-~S-2"        "bookmark-save 2"
  \bind "C-M-~S-3"        "bookmark-save 3"
  \bind "C-M-~S-4"        "bookmark-save 4"
  \bind "C-M-~S-5"        "bookmark-save 5"
  \bind "C-M-~S-6"        "bookmark-save 6"
  \bind "C-M-~S-7"        "bookmark-save 7"
  \bind "C-M-~S-8"        "bookmark-save 8"
  \bind "C-M-~S-9"        "bookmark-save 9"

  The ~S thing means to ignore shift state. So you're getting the disabled 
  thing because the bookmark doesn't exist.

  If you want, you could redefine these to require shift:

  \bind "C-S-1"            "bookmark-goto 1"

  and then define C-1 etc as you wish.

  rh

Reply via email to