[Pidgin] #3713: Emacs keybinding: Ctrl-F behaviour in conversation window

Pidgin trac at pidgin.im
Fri Oct 26 12:20:59 EDT 2007


#3713: Emacs keybinding: Ctrl-F behaviour in conversation window
---------------------------+------------------------------------------------
  Reporter:  codelad       |       Owner:  lschiere
      Type:  defect        |      Status:  closed  
  Priority:  minor         |   Milestone:          
 Component:  unclassified  |     Version:  2.2.2   
Resolution:  invalid       |    Keywords:          
   Pending:  0             |  
---------------------------+------------------------------------------------
Comment (by deryni):

 I considered mentioning that in my original post but decided not to in
 case you never ran into it. That is a bug in the default GTK+ emacs key
 theme. They bind to an incorrect function (for whatever reason) and I've
 never bothered attempting to submit a bug report about it. If you add

 binding "ctrl_f_fix"
 {
 # The default emacs binding uses (logical-positions, 1, 0) which doesn't
 seem to let you actually get to past the last character for some reason,
 this does.
         bind "<ctrl>f" {"move-cursor" (visual-positions, 1, 0)}
 }
 widget "*" binding "ctrl_f_fix"

 to your ~/.gtkrc-2.0 file or the ~/.purple/gtkrc-2.0 file (for pidgin only
 usage) you will get the 'correct' ctrl-f behaviour.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/3713#comment:5>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list