On Wed, Jul 17, 2002 at 10:25:31AM +0200, Jean-Marc Lasgouttes wrote:

> John> o what use is show_sc param to verboseDispatch() ? If it is
> John> false, all it will do is add a ' ', iff there is no dispatch
> John> result message. Can I remove it ?
> 
> when it is true, the keyboard shortcut for the command is displayed in
> minibuffer (useful for toolbar, menus). Otherwise no shortcut is shown
> (useful for lyxserver and invokation via keyboard). 

Read the 3rd verboseDispatch(). As I said, if it's false, all it does is
add a ' '.

I see if you call the void LyXFunc::verboseDispatch(string const & s, bool show_sc)
with show_sc == false, /there/ is the difference: you will get "Unknown
function (blah)". If you were to just call "dispatch" directly in each
place you call verboseDispatch() with show_sc == false, then instead you
would get "Unknown function".

This seems like a very small difference to make all the show_sc
shenanigans worth it. What am I missing ?

I am advocating replacing all verboseDispatch(blah, false) with direct
calls to dispatch, that's all.

> Please do not remove things you do not understand.

I would have thought me asking on the list would be good enough evidence
I'm not planning to remove it until I understand it ...

regards
john

-- 
"i am sorey I cant reads yuor emale because my emale box has filtar on it
 whitch says, "NO EMALES FROM PEOAPAL UNDER IQ OF 1"
        - jeffk

Reply via email to