Hi All (and welcome back, Edward!).
I have muttered about this before but now think I have a concrete example to show. The behaviour of defined commands seems to change according to outline being edited...
I have muttered about this before but now think I have a concrete example to show. The behaviour of defined commands seems to change according to outline being edited...
I have just closed #4371 because the primary complaint is invalid. But your confusion is understandable. By default, `@button` and `@command` nodes are local to myLeoSettings.leo. You define common `@button` nodes as follows:@settings
@buttons
@button test @key=f3My apologies for not setting you straight earlier.
PS: I'm on a different machine without Leo ATM, but I think I am right in saying that in case (2),and in the new outline, I can use the minibuffer to execute 'test_cmd1' and 'test_cmd2', even though the shortcuts don't appear to be in effect.
Leo Log Window
Leo 6.8.5-devel, main branch, build d5f0d03178
2025-05-16 08:51:35 -0500
Python 3.9.5, PyQt version 6.7.3
linux
Thank you. Apologies if it has taken me a while to provide the necessary information.
Fixing this buglet may not be straightforward.
PS: Just realised/remembered - one reason for preferring the @shortcuts node method is that only it AFAIK allows the use of 'body', 'tree' etc. modifiers...