emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lispref/os.texi


From: Luc Teirlinck
Subject: [Emacs-diffs] Changes to emacs/lispref/os.texi
Date: Sat, 07 Aug 2004 20:03:59 -0400

Index: emacs/lispref/os.texi
diff -c emacs/lispref/os.texi:1.64 emacs/lispref/os.texi:1.65
*** emacs/lispref/os.texi:1.64  Wed Jul  7 01:12:49 2004
--- emacs/lispref/os.texi       Sun Aug  8 00:00:07 2004
***************
*** 1686,1697 ****
  @code{function-key-map}.
  
  @item
! @code{key-translation-map} overrides actual key bindings.  For example,
! if @kbd{C-x f} has a binding in @code{key-translation-map}, that
! translation takes effect even though @kbd{C-x f} also has a key binding
! in the global map.
  @end itemize
  
  The intent of @code{key-translation-map} is for users to map one
  character set to another, including ordinary characters normally bound
  to @code{self-insert-command}.
--- 1686,1703 ----
  @code{function-key-map}.
  
  @item
! Non-prefix bindings in @code{key-translation-map} override actual key
! bindings.  For example, if @kbd{C-x f} has a non-prefix binding in
! @code{key-translation-map}, that translation takes effect even though
! @kbd{C-x f} also has a key binding in the global map.
  @end itemize
  
+ Note however that actual key bindings can have an effect on
+ @code{key-translation-map}, even though they are overridden by it.
+ Indeed, actual key bindings override @code{function-key-map} and thus
+ may alter the key sequence that @code{key-translation-map} receives.
+ Clearly, it is better to avoid to avoid this type of situation.
+ 
  The intent of @code{key-translation-map} is for users to map one
  character set to another, including ordinary characters normally bound
  to @code{self-insert-command}.




reply via email to

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