> > i was trying to understand what are the LFUN_COMMAND_EXECUTE/PREFIX for
> > but neither experimenting with them through command buffer nor reading
> > bits of code didn't help me understand what exactly they should do.
> >
> > could anybody write few words about their purpose so i can doxyfy them?
> 
> As far as I understand them:
> 
> - LFUN_COMMAND_EXECUTE is what M-x is bound to. It allows to enter a
>   command in the minibuffer and execute it. I do not think it makes
>   much sense to try it in the minibuffer (only good for a binding)

are you sure? this is the only case i found in sources:

  case LFUN_COMMAND_EXECUTE: {                                          
                        bool const show_it = cmd.argument() != "off";   
                        d.toolbars_->showCommandBuffer(show_it);        
                        break;                                          
                }                                         


and showCommandBuffer turns into display("minibuffer", true/false); after all.
i fail to see how this relates to executing any command.


> - LFUN_COMMAND_PREFIX is used for emacs-like operation: when bound to
>   Esc, for example, it allows to type "Esc x" instead of Alt+x.

can not reproduce. can you give exact instructions?

pavel

Reply via email to